GNOME Bugzilla – Bug 704494
EStockRequest calls into GTK+ from worker thread
Last modified: 2013-07-25 09:19:49 UTC
Evolution 3.8.3 on F19, IMAP+ account. $:andre\> gdb evolution GNU gdb (GDB) Fedora (7.6-30.fc19) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/evolution...Reading symbols from /usr/lib/debug/usr/bin/evolution.debug...done. done. (gdb) run Starting program: /usr/bin/evolution [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3600.3-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace [New Thread 0xb7bf9b40 (LWP 4513)] [New Thread 0xb71ffb40 (LWP 4514)] ** (evolution:4508): CRITICAL **: categories_icon_theme_hack: assertion `filename != NULL && *filename != '\0'' failed [New Thread 0xb67ffb40 (LWP 4515)] [New Thread 0xb5dffb40 (LWP 4516)] Detaching after fork from child process 4519. [New Thread 0xaf6d8b40 (LWP 4527)] [New Thread 0xaeed7b40 (LWP 4528)] [New Thread 0xae6d6b40 (LWP 4529)] [New Thread 0xaded5b40 (LWP 4530)] [New Thread 0xad6d4b40 (LWP 4531)] [New Thread 0xaced3b40 (LWP 4532)] [New Thread 0xac6d2b40 (LWP 4533)] [New Thread 0xabed1b40 (LWP 4534)] [New Thread 0xab6d0b40 (LWP 4535)] [New Thread 0xaaecfb40 (LWP 4536)] [New Thread 0xaa6ceb40 (LWP 4538)] [New Thread 0xa9ecdb40 (LWP 4539)] [New Thread 0xa96ccb40 (LWP 4540)] [Thread 0xaeed7b40 (LWP 4528) exited] [Thread 0xabed1b40 (LWP 4534) exited] [Thread 0xab6d0b40 (LWP 4535) exited] [Thread 0xaced3b40 (LWP 4532) exited] [Thread 0xad6d4b40 (LWP 4531) exited] [Thread 0xac6d2b40 (LWP 4533) exited] [Thread 0xa96ccb40 (LWP 4540) exited] [Thread 0xa9ecdb40 (LWP 4539) exited] [New Thread 0xa9ecdb40 (LWP 4545)] [New Thread 0xa96ccb40 (LWP 4546)] [New Thread 0xac6d2b40 (LWP 4547)] [Thread 0xaded5b40 (LWP 4530) exited] [New Thread 0xaded5b40 (LWP 4548)] [Thread 0xaf6d8b40 (LWP 4527) exited] [Thread 0xaaecfb40 (LWP 4536) exited] No bp log location saved, using default. [000:000] Browser XEmbed support present: 1 [000:006] Browser toolkit is Gtk2. [000:007] Using Gtk2 toolkit No bp log location saved, using default. [001:333] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [001:333] No bp log location saved, using default. [001:333] Browser XEmbed support present: 1 [001:333] Browser toolkit is Gtk2. [001:333] Using Gtk2 toolkit [000:000] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:000] No bp log location saved, using default. Detaching after fork from child process 4551. [New Thread 0xaaecfb40 (LWP 4553)] [New Thread 0xaf6d8b40 (LWP 4554)] [New Thread 0xad6d4b40 (LWP 4555)] [Thread 0xae6d6b40 (LWP 4529) exited] java version "1.7.0_25" OpenJDK Runtime Environment (fedora-2.3.10.4.fc19-i386) OpenJDK Server VM (build 23.7-b01, mixed mode) [New Thread 0xae6d6b40 (LWP 4568)] [Thread 0xaa6ceb40 (LWP 4538) exited] [New Thread 0xaa6ceb40 (LWP 4570)] [New Thread 0xa71ffb40 (LWP 4571)] [New Thread 0xa69feb40 (LWP 4572)] [New Thread 0xa61fdb40 (LWP 4573)] [New Thread 0xa59fcb40 (LWP 4574)] [Thread 0xa71ffb40 (LWP 4571) exited] [New Thread 0xa71ffb40 (LWP 4575)] [New Thread 0xa4dfbb40 (LWP 4576)] [New Thread 0xa45fab40 (LWP 4577)] [New Thread 0xa3df9b40 (LWP 4578)] [New Thread 0xa35f8b40 (LWP 4579)] [New Thread 0xa2df7b40 (LWP 4580)] [New Thread 0xa25f6b40 (LWP 4581)] [New Thread 0xa1df5b40 (LWP 4582)] [New Thread 0xa15f4b40 (LWP 4583)] [Thread 0xa2df7b40 (LWP 4580) exited] [Thread 0xa3df9b40 (LWP 4578) exited] [Thread 0xa35f8b40 (LWP 4579) exited] [Thread 0xa4dfbb40 (LWP 4576) exited] [Thread 0xa25f6b40 (LWP 4581) exited] [Thread 0xa71ffb40 (LWP 4575) exited] [Thread 0xa45fab40 (LWP 4577) exited] [Thread 0xa15f4b40 (LWP 4583) exited] [Thread 0xa1df5b40 (LWP 4582) exited] [New Thread 0xa15f4b40 (LWP 4586)] [Thread 0xa15f4b40 (LWP 4586) exited] [New Thread 0xa15f4b40 (LWP 4587)] [Thread 0xa15f4b40 (LWP 4587) exited] [Thread 0xae6d6b40 (LWP 4568) exited] [New Thread 0xae6d6b40 (LWP 4594)] [New Thread 0xa15f4b40 (LWP 4595)] [Thread 0xa15f4b40 (LWP 4595) exited] [New Thread 0xa15f4b40 (LWP 4597)] [New Thread 0xa1df5b40 (LWP 4598)] [Thread 0xa1df5b40 (LWP 4598) exited] [Thread 0xa15f4b40 (LWP 4597) exited] [New Thread 0xa15f4b40 (LWP 4600)] [New Thread 0xa1df5b40 (LWP 4601)] [New Thread 0xa45fab40 (LWP 4602)] [New Thread 0xa3df9b40 (LWP 4603)] [New Thread 0xa35f8b40 (LWP 4604)] [New Thread 0xa2df7b40 (LWP 4605)] [New Thread 0xa25f6b40 (LWP 4606)] [New Thread 0xa0df3b40 (LWP 4609)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xae6d6b40 (LWP 4594)] icon_info_uncached (icon_info=0x0) at gtkicontheme.c:730 730 GtkIconTheme *icon_theme = icon_info->in_cache; (gdb) thread apply all bt
+ Trace 232266
Thread 48 (Thread 0xa1df5b40 (LWP 4601))
Thread 47 (Thread 0xa15f4b40 (LWP 4600))
Thread 43 (Thread 0xae6d6b40 (LWP 4594))
Thread 1 (Thread 0xb7fbf900 (LWP 4508))
(gdb) list 725 726 /* The icon info was removed from the icon_info_hash hash table */ 727 static void 728 icon_info_uncached (GtkIconInfo *icon_info) 729 { 730 GtkIconTheme *icon_theme = icon_info->in_cache; 731 732 DEBUG_CACHE (("removing %p (%s %d 0x%x) from cache (icon_them: %p) (cache size %d)\n", 733 icon_info, 734 g_strjoinv (",", icon_info->key.icon_names), (gdb)
EStockRequest calling GtkIconTheme functions from a worker thread. That's a bad one. I'm surprised we're not getting a lot more crashes from that.
Fixed for Evolution 3.9.5 and 3.8.4: https://git.gnome.org/browse/evolution/commit/?id=09065c723916b05eb509d535cb8069d18c01c50c https://git.gnome.org/browse/evolution/commit/?h=gnome-3-8&id=77e583d0a345c90207b770e055010f0005a753ca
*** Bug 704781 has been marked as a duplicate of this bug. ***