WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
55865
[EFL] Crash on quit when the Web Inspector debugger is paused
https://bugs.webkit.org/show_bug.cgi?id=55865
Summary
[EFL] Crash on quit when the Web Inspector debugger is paused
Mikołaj Małecki
Reported
2011-03-07 02:13:55 PST
The crash happens when Web Inspector is on and javascript is paused. In this case, the debugger calls WebCore::ScriptDebugServer::pauseIfNeeded(), and inside it enters another level of event loop. The problem is that once the loop is exited, the state of data, especially *page->group()->pages().begin(), is unstable, and this page is probably during destruction process or it may even be a dangling pointer. This way, when setJavaScriptPaused with this page results in crash. I suspect the system doesn't predict that the event loop may happen to be exited in this function instead of the main event loop in the application that uses webkit. This behavior can be reproduced with WebKit-efl, as well as with Arora [Webkit-Qt] (although I haven't observed it with Rekonq [Webkit-KDE]): 1. Run Arora with any page (preferably under gdb because without it the crash may be unable to be observed) 2. Open Web Inspector 3. Click "Scripts" and pause javascript (make sure that you can see the backtrace) 4. Close the Arora window I know you can think that it's insignificant that a crash happens when you close the program. The problem is, though, that this problem occurs also when you close a widget realized by WRT engine, and in this case the whole WRT engine crashes, not only the widget being closed.
Attachments
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2011-03-18 19:32:29 PDT
*** This bug has been marked as a duplicate of
bug 44230
***
Timothy Hatcher
Comment 2
2011-04-01 13:54:24 PDT
I don't think this is a dupe of
bug 44230
, that bug is about Mac and about closign the window. This is abotu EFL and Qt in Arora.
Timothy Hatcher
Comment 3
2011-04-01 13:55:46 PDT
Reopening.
Blaze Burg
Comment 4
2014-01-25 16:00:13 PST
Is this still an issue? Migrating to new component.
Radar WebKit Bug Importer
Comment 5
2014-01-25 16:00:44 PST
<
rdar://problem/15909919
>
Michael Catanzaro
Comment 6
2017-03-11 10:35:48 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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug