Bug 134344

Summary: [EFL]Web Inspector: Crash in launch of Web Inspector from minibrowser context menu
Product: WebKit Reporter: Tanay <tanay.c>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bunhere, cdumez, commit-queue, graouts, gyuyoung.kim, inspector-bugzilla-changes, mcatanzaro, ryuan.choi, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Tanay 2014-06-26 02:05:06 PDT
Web Inspector crashes when launched from the Minibrowser Context menu multiple times. i.e. Launched it from same page 2 after some interval and it crashed
Could get the following logs for now - 

Showing context menu at (109, 256).
Selected context menu item: Inspect Element.
ERR<7310>:evas_main lib/evas/canvas/evas_main.c:239 _destructor() obj(0x2314470, EWK2_View) ref count(2) is bigger than 0. This object couldn't be deleted
ERR<7310>:eo lib/eo/eo.c:1547 eo_manual_free() Tried deleting the object 0x800000a5e0000530 while still referenced(2).
ERR<7310>:eo lib/eo/eo.c:1547 eo_manual_free() Tried deleting the object 0x800000a600000531 while still referenced(1).
ERR<7310>:eo lib/eo/eo.c:1547 eo_manual_free() Tried deleting the object 0x800000a620000532 while still referenced(1).
Showing context menu at (134, 246).
Selected context menu item: Reload.
Showing context menu at (181, 244).
Showing context menu at (85, 315).
Selected context menu item: Inspect Element.
ERR<7310>:eo lib/eo/eo_ptr_indirection.x:275 _eo_obj_pointer_get() obj_id 0x800000a5e0000530 is not pointing to a valid object. Maybe it has already been freed.
Error receiving IPC message on socket 31 in process 7323: Connection reset by peer
Segmentation fault
Comment 1 Timothy Hatcher 2014-06-26 14:45:53 PDT
What platform?
Comment 2 Radar WebKit Bug Importer 2014-06-26 14:46:32 PDT
<rdar://problem/17474507>
Comment 3 Tanay 2014-06-26 21:52:10 PDT
(In reply to comment #1)
> What platform?
This is for EFL platform. 
Revision details 
170422
Comment 4 Tanay 2014-06-30 22:08:18 PDT
(In reply to comment #3)
> (In reply to comment #1)
> > What platform?
> This is for EFL platform. 
> Revision details 
> 170422
Comment 5 Tanay 2014-07-08 03:27:20 PDT
Created attachment 234555 [details]
Patch
Comment 6 Tanay 2014-07-08 03:33:43 PDT
(In reply to comment #5)
> Created an attachment (id=234555) [details]
> Patch

With the above patch the crashes are not occuring. However, Since we are not freeing the Ecore_Evas object it could lead to some other leaks. Please let me know any observations
Comment 7 Gyuyoung Kim 2014-07-08 05:02:03 PDT
(In reply to comment #6)
> (In reply to comment #5)
> > Created an attachment (id=234555) [details] [details]
> > Patch
> 
> With the above patch the crashes are not occuring. However, Since we are not freeing the Ecore_Evas object it could lead to some other leaks. Please let me know any observations

I think this will make a memory leak. According to logs, m_inspectorWindow looks still be referenced from somewhere. I think we should find it first.
Comment 8 Michael Catanzaro 2017-03-11 10:39:35 PST
Closing this bug because the EFL port has been removed from trunk.

If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.