GNOME Bugzilla – Bug 172882
crash in gtk_widget_unparent
Last modified: 2005-10-02 18:50:56 UTC
<reinouts> chpe: click the screenshot on http://www.datux.nl/ <reinouts> then close the window <reinouts> => segfault .. <reinouts> chpe: yes but it's different, the window auto-closes when I move the cursor, and ephy only crashes when I do Ctrl+W backtrace: Backtrace was generated from '/usr/bin/epiphany' (no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1224150368 (LWP 20775)] [New Thread -1294304336 (LWP 20782)] [New Thread -1285915728 (LWP 20781)] [New Thread -1277527120 (LWP 20780)] [New Thread -1269138512 (LWP 20779)] [New Thread -1259492432 (LWP 20778)] [New Thread -1250993232 (LWP 20777)] [New Thread -1234519120 (LWP 20776)] 0xb7c3dfc1 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
+ Trace 57811
Thread 1 (Thread -1224150368 (LWP 20775))
Comments are for CVS HEAD + FF backend + focus patch applied. The problem seems to be relative to onblur event where the javascript try to close the window after catching a focus-out event. See http://bugzilla.gnome.org/show_bug.cgi?id=172878 for a testcase. Other ways to crash epiphany in the same context are: - Ctrl+T to open a new tab, - Ctrl-W to close the window A side effect too: if the sidebar is showed, try to use the combo box to switch sidebars => crash. And a random crash to close the comments: Backtrace was generated from '/usr/local/bin/epiphany' Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1208940864 (LWP 16440)] [New Thread 78678960 (LWP 16516)] [Thread debugging using libthread_db enabled] [New Thread -1208940864 (LWP 16440)] [New Thread 78678960 (LWP 16516)] [Thread debugging using libthread_db enabled] [New Thread -1208940864 (LWP 16440)] [New Thread 78678960 (LWP 16516)] [New Thread -1222775888 (LWP 16508)] [New Thread 58145712 (LWP 16442)] [New Thread -1211389008 (LWP 16441)] 0x00e907a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+ Trace 57861
Thread 1 (Thread -1208940864 (LWP 16440))
Created attachment 47665 [details] [review] proposed fix This patch seems to fix all crash/warning on tab/window close issues. Tested extensively with the galeon popup testcases; more testing appreciated.
*** Bug 313425 has been marked as a duplicate of this bug. ***
Fixed on HEAD and gnome-2-12.