After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 391204 - Crash in Evolution: GTK_IS_CHECK_MENU_ITEM assert fails (commented)
Crash in Evolution: GTK_IS_CHECK_MENU_ITEM assert fails (commented)
Status: RESOLVED DUPLICATE of bug 382860
Product: evolution
Classification: Applications
Component: general
unspecified
Other All
: High critical
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-12-31 05:41 UTC by Tomasz Sterna
Modified: 2007-01-05 15:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Tomasz Sterna 2006-12-31 05:41:00 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 ()

Thread 1 (Thread -1481275680 (LWP 12401))

  • #0 __kernel_vsyscall
  • #1 ??
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 870
  • #3 <signal handler called>
  • #4 IA__g_logv
    at gmessages.c line 503
  • #5 IA__g_log
    at gmessages.c line 517
  • #6 IA__g_return_if_fail_warning
  • #7 IA__gtk_check_menu_item_set_active
    at gtkcheckmenuitem.c line 193
  • #8 e_search_bar_set_item_menu
    at e-search-bar.c line 1381
  • #9 set_property
    at e-filter-bar.c line 752
  • #10 IA__g_object_set_valist
    at gobject.c line 697
  • #11 IA__g_object_set
    at gobject.c line 1207
  • #12 emfb_set_folder
    at em-folder-browser.c line 1888
  • #13 emfv_got_folder
    at em-folder-view.c line 691
  • #14 get_folder_got
    at mail-ops.c line 1230
  • #15 mail_msgport_replied
    at mail-mt.c line 473
  • #16 g_io_unix_dispatch
    at giounix.c line 162
  • #17 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #18 g_main_context_iterate
    at gmain.c line 2677
  • #19 IA__g_main_loop_run
    at gmain.c line 2881
  • #20 bonobo_main
    at bonobo-main.c line 311
  • #21 main
    at main.c line 617
  • #0 __kernel_vsyscall


----------- .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)
--------------------------------------------------
Comment 1 Tomasz Sterna 2007-01-02 00:33:26 UTC
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.
Comment 2 Tomasz Sterna 2007-01-02 07:40:44 UTC
Well... After I commented-out widgets/misc/e-search-bar.c lines 1380-1381, Evolution stopped crashing right after start.
Comment 3 palfrey 2007-01-05 15:36:16 UTC
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 ***