RESOLVED FIXED44497
[EFL] Crash while hiding popup
https://bugs.webkit.org/show_bug.cgi?id=44497
Summary [EFL] Crash while hiding popup
Krzysztof Czech
Reported 2010-08-24 00:13:11 PDT
Created attachment 65221 [details] Patch corrects a crash while calling PopupMenuEfl destructor The attached patch prevents crash when PopupMenuEfl's destructor is called. It was noticed that in some circumstances popup menu is not shown and while destroying it, destructor tries to use undefined view to hide popup
Attachments
Patch corrects a crash while calling PopupMenuEfl destructor (1001 bytes, patch)
2010-08-24 00:13 PDT, Krzysztof Czech
no flags
This patch corrects crash while hiding popup (1.09 KB, patch)
2010-08-24 01:21 PDT, Krzysztof Czech
no flags
Gyuyoung Kim
Comment 1 2010-08-24 00:42:27 PDT
You have to write bug's title, url and summary in Changelog as below, 2010-08-22 Rafael Antognolli <antognolli@profusion.mobi> 2 3 Reviewed by Antonio Gomes. 4 5 [EFL] Remove duplicated include entry from default theme. 6 https://bugs.webkit.org/show_bug.cgi?id=44345 7 8 This used to create the group webkit/widget/entry twice in 9 the theme. It's leading to a bug with the newer versions of 10 EFL. 11 12 * DefaultTheme/default.edc: Please add "[EFL]" prefix to this bug's title.
Krzysztof Czech
Comment 2 2010-08-24 01:21:47 PDT
Created attachment 65230 [details] This patch corrects crash while hiding popup
Lucas De Marchi
Comment 3 2010-08-25 07:35:35 PDT
(In reply to comment #2) > Created an attachment (id=65230) [details] > This patch corrects crash while hiding popup As far as I remember, there's no way to destroy the Popup with no view defined (or the behavior changed in WebCore since its implementation). Could you provide a stack trace when it crashes?
Krzysztof Czech
Comment 4 2010-08-25 08:01:58 PDT
The trace is as follows: 1. Load www.wikipedia.org 2. Input text in search box (it was emphasized that "test" should be written), but it happens in any other 3. press "->" button next to the search This is a part of debug backtrace: #0 0x4069b90c in WebCore::PopupMenu::hide() () from /usr/lib/libewebkit.so.0 #1 0x4069b938 in WebCore::PopupMenu::~PopupMenu() () from /usr/lib/libewebkit.so.0 #2 0x4065ab18 in WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine() () from /usr/lib/libewebkit.so.0 #3 0x406339d0 in WebCore::RenderObject::arenaDelete(WebCore::RenderArena*, void*) () from /usr/lib/libewebkit.so.0 #4 0x403195e0 in WebCore::Node::detach() () from /usr/lib/libewebkit.so.0 #5 0x40305208 in WebCore::Element::detach() () from /usr/lib/libewebkit.so.0 ...
Lucas De Marchi
Comment 5 2010-08-25 12:49:59 PDT
(In reply to comment #4) > The trace is as follows: > 1. Load www.wikipedia.org > 2. Input text in search box (it was emphasized that "test" should be written), but it happens in any other > 3. press "->" button next to the search > > This is a part of debug backtrace: > #0 0x4069b90c in WebCore::PopupMenu::hide() () from /usr/lib/libewebkit.so.0 > #1 0x4069b938 in WebCore::PopupMenu::~PopupMenu() () > from /usr/lib/libewebkit.so.0 > #2 0x4065ab18 in WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine() () from /usr/lib/libewebkit.so.0 > #3 0x406339d0 in WebCore::RenderObject::arenaDelete(WebCore::RenderArena*, void*) () from /usr/lib/libewebkit.so.0 > #4 0x403195e0 in WebCore::Node::detach() () from /usr/lib/libewebkit.so.0 > #5 0x40305208 in WebCore::Element::detach() () from /usr/lib/libewebkit.so.0 > ... Humn... maybe it's something related to bug 43324. I'm not a reviewer, just a informal r+. I'm CCing some reviewers.
WebKit Commit Bot
Comment 6 2010-08-25 14:28:09 PDT
Comment on attachment 65230 [details] This patch corrects crash while hiding popup Clearing flags on attachment: 65230 Committed r66042: <http://trac.webkit.org/changeset/66042>
WebKit Commit Bot
Comment 7 2010-08-25 14:28:14 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 8 2010-08-25 15:24:55 PDT
http://trac.webkit.org/changeset/66042 might have broken Qt Linux Release The following changes are on the blame list: http://trac.webkit.org/changeset/66041 http://trac.webkit.org/changeset/66042
Note You need to log in before you can comment on or make changes to this bug.