GNOME Bugzilla – Bug 391204
Crash in Evolution: GTK_IS_CHECK_MENU_ITEM assert fails (commented)
Last modified: 2007-01-05 15:36:16 UTC
Version: 2.10.x What were you doing when the application crashed? Distribution: Gentoo Base System version 1.12.8 Gnome Release: 2.17.2 2006-12-20 (Gentoo) BugBuddy Version: 2.17.3 System: Linux 2.6.16-suspend2-r13 #4 PREEMPT Wed Dec 20 23:29:00 CET 2006 i686 X Vendor: The X.Org Foundation X Vendor Release: 70000000 Selinux: No Accessibility: Enabled Memory status: size: 421679104 vsize: 0 resident: 421679104 share: 0 rss: 33947648 rss_rlim: 0 CPU usage: start_time: 1167543561 rtime: 0 utime: 170 stime: 0 cutime:151 cstime: 0 timeout: 19 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/bin/evolution-2.10' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1481275680 (LWP 12401)] [New Thread -1856033904 (LWP 12428)] [New Thread -1706034288 (LWP 12427)] [New Thread -1855374448 (LWP 12426)] [New Thread -1695990896 (LWP 12417)] [New Thread -1687598192 (LWP 12416)] [New Thread -1679205488 (LWP 12415)] [New Thread -1670812784 (LWP 12414)] [New Thread -1662420080 (LWP 12413)] [New Thread -1653040240 (LWP 12412)] [New Thread -1644299376 (LWP 12409)] [New Thread -1635906672 (LWP 12408)] [New Thread -1630860400 (LWP 12404)] [New Thread -1630778480 (LWP 12403)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 98200
Thread 1 (Thread -1481275680 (LWP 12401))
----------- .xsession-errors (15 sec old) --------------------- Watching directory /home/smoku/bin/LHMK-adv-2.5/units/settings_printer (total watches = 1461) Watching directory /home/smoku/bin/LHMK-adv-2.5/units/mail_serv_receive (total watches = 1462) Watching directory /home/smoku/bin/LHMK-adv-2.5/units/role (total watches = 1463) Watching directory /home/smoku/bin/LHMK-adv-2.5/units/help (total watches = 1464) Watching directory /home/smoku/bin/LHMK-adv-2.5/units/exit (total watches = 1465) Watching directory /home/smoku/bin/LHMK-adv-2.5/units/city (total watches = 1466) Watching directory /home/smoku/bin/LHMK-adv-2.5/units/bill (total watches = 1467) Watching directory /home/smoku/bin/LHMK-adv-2.5/help/crm_eng (total watches = 1468) Watching directory /home/smoku/bin/LHMK-adv-2.5/help/help (total watches = 1469) Watching directory /home/smoku/bin/LHMK-adv-2.5/help/crm (total watches = 1470) Watching directory /home/smoku/bin/LHMK-adv-2.5/help/st (total watches = 1471) Watching directory /home/smoku/bin/LHMK-adv-2.5/help/mk (total watches = 1472) Watching directory /home/smoku/bin/LHMK-adv-2.5/help/fk (total watches = 1473) Watching directory /home/smoku/bin/LHMK-adv-2.5/lib/plugins (total watches = 1474) Watching directory /home/smoku/bin/LHMK-adv-2.5/FB/scripts (total watches = 1475) --------------------------------------------------
I was debugging it and found that it "crashes" on assertion: Gtk-CRITICAL **: gtk_check_menu_item_set_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed It's caused by widgets/misc/e-search-bar.c:1381 : gtk_check_menu_item_set_active ((GtkCheckMenuItem *)item, TRUE); According to: ~/.evolution/mail/local/Inbox.cmeta : evolution:search_state <?xml version="1.0"?><state><search-bar text="" item_id="0" searchscope="-7" view_id="0"/></state> item_id to activate is 0 (in the above stacktrace it's 1, but it really does not matter here), but mail/em-folder-browser.c:165 defines first filter menuitem as: static ESearchBarItem emfb_search_items[] = { E_FILTERBAR_ADVANCED, { NULL, 0, 0 }, E_FILTERBAR_SAVE, E_FILTERBAR_EDIT, [...] which is "Advanced search..." menu item, which definetly isn't an GTK_CHECK_MENU_ITEM. Assert fails, application crashes. * * * There is one thing though... When I remove ~/.evolution/mail/local folder and run Evolution cleanly, it doesn't try to activate items on freshly created folders. When I show filter menu, I see some standard filters, a separator, an "Advanced search..." item, but no "Filterbar save" and following from emfb_search_items[]. This makes me wonder if I'm on the right track in the above comment. But all the bugtracking shows it's like I've explained above. Hope that helps.
Well... After I commented-out widgets/misc/e-search-bar.c lines 1380-1381, Evolution stopped crashing right after start.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 382860 ***