GNOME Bugzilla – Bug 597372
[GIT-BISECT] gtk+-2.18.1 causes firefox-3.5 to crash in gmail (bug first appeared in 2.17.10)
Last modified: 2009-11-20 08:15:07 UTC
Created attachment 144758 [details] backtrace (thread apply all bt full) gtk+-2.18.0 and gtk+-2.18.1 cause firefox-3.5.3 to crash after logging in to gmail.com Specifically, after: 1. creating a new firefox profile 2. installing the extensions https://addons.mozilla.org/en-US/firefox/addon/139 and https://addons.mozilla.org/en-US/firefox/addon/433 3. opening two tabs (gmail.com in one tab and http://news.bbc.co.uk/2/hi/south_asia/8289200.stm in another tab) 4. restarting firefox (so that it restores the two tabs) 5. logging in to gmail in the first tab firefox crashes with a SIGBUS or SIGSEGV: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff28ff0ff in IA__g_type_check_instance_cast (type_instance=0x7fffc637d300, iface_type=140737333860672) at gtype.c:3729 3729 gtype.c: No such file or directory. in gtype.c Current language: auto; currently c But with gtk+-2.16.6 (both with glib-2.20.* and 2.22.1), firefox is stable does not crash. Also reported in Gentoo bugzilla at http://bugs.gentoo.org/show_bug.cgi?id=287687 Backtrace is attached.
Tried gtk+-2.18.2 and glib-2.20.2; I still get an identical crash with an identical backtrace.
Tried running firefox with GDK_NATIVE_WINDOWS=1 but I still get the same crash.
Found the guilty commit using git bisect: 6b7fef09ca588ce6e24bb76284adf3fee576f6a5 is the first bad commit commit 6b7fef09ca588ce6e24bb76284adf3fee576f6a5 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Sep 4 20:34:09 2009 -0400 Don't forget to set the client window on the slave :040000 040000 670736654da7970d79784649a60a34708319979a a411a3c6bc4d038f8c33c0056116ba7b78fc303f M gtk This commit causes firefox to segfault soon after opening gmail given the following 2 conditions: 1. a UIM input method is active; and 2. adobe flash is installed. Reverting this commit causes firefox to function correctly. Verified with gtk+-2.18.0 and 2.18.3.
(In reply to comment #3) > Found the guilty commit using git bisect: [...] > Reverting this commit causes firefox to function correctly. Verified with > gtk+-2.18.0 and 2.18.3. I don't think this is a bug in gtk+. See http://bugs.freedesktop.org/show_bug.cgi?id=25139 Alexandre, could you try the fix (http://bugs.freedesktop.org/attachment.cgi?id=31304) for uim 1.5.6?
(In reply to comment #4) > Alexandre, could you try the fix > (http://bugs.freedesktop.org/attachment.cgi?id=31304) for uim 1.5.6? It works. With the above patch to uim-1.5.6, and with vanilla gtk+-2.18.3, I do not get any crashes in firefox. Thank you very much for tracking this down. I am going to resolve this bug as NOTGNOME, since it seems that the error was in uim, not gtk+.