Bug 726915

Summary: Evolution completely fails to start
Product: [Fedora] Fedora Reporter: Paul F. Johnson <paul>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lucilanga, luigi.vtt, mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-3.1.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-03 20:28:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul F. Johnson 2011-07-30 19:35:20 UTC
Description of problem:
Evolution will not start from either the launcher or from the commandline

Version-Release number of selected component (if applicable):
3.1.4-1

How reproducible:
Always

Steps to Reproduce:
1. Click on the icon or attempt to start via the command line
2.
3.
  
Actual results:
evolution gives the following from the command line

[paul@PB3 ~]$ evolution

(evolution:4292): evolution-shell-CRITICAL **: shell_settings_pspec_for_key: assertion `schema_name != NULL' failed

(evolution:4292): evolution-shell-CRITICAL **: shell_settings_pspec_for_key: assertion `schema_name != NULL' failed

(evolution:4292): GLib-GObject-WARNING **: cannot register existing type `CompEditor'

(evolution:4292): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(evolution:4292): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(evolution:4292): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(evolution:4292): GLib-GObject-WARNING **: cannot register existing type `EMeetingStore'

(evolution:4292): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(evolution:4292): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(evolution:4292): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(evolution:4292): GLib-GObject-WARNING **: cannot register existing type `EMeetingTimeSelector'

(evolution:4292): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(evolution:4292): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(evolution:4292): GLib-GObject-WARNING **: cannot register existing type `ECalModel'

(evolution:4292): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(evolution:4292): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(evolution:4292): GLib-GObject-WARNING **: cannot register existing type `ECalendarView'

(evolution:4292): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(evolution:4292): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(evolution:4292): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
Rspam Plugin enabled (evolution 3.2, evolution-rspam 0.3.0)

It then says it has terminated with a time out being reached

Expected results:
Evolution starts

Additional info:

Comment 1 Milan Crha 2011-08-01 06:30:56 UTC
> (evolution:4292): GLib-GObject-WARNING **: cannot register existing
> type `CompEditor'

Thanks for a bug report. Based on the above error I suppose there's some issue with linking, or something similar, because I cannot recall what was the issue when I saw it the last time, which is quite long time ago, with evolution-exchange and/or camel.

Comment 2 Paul F. Johnson 2011-08-01 06:46:18 UTC
Is it easy to fix? I seriously hate having to access everything via webmail...

Comment 3 Milan Crha 2011-08-01 07:13:03 UTC
I'm not sure. I can invoke a rebuild of test packages for you, and we'll see. Are you using rawhide or F16 branch?

Comment 4 Milan Crha 2011-08-01 09:59:54 UTC
I see this when I run my local copy of evolution git master under valgrind, but nothing I can see in the code on the first look, except of the ';' being used in comp-editor.c in the G_DEFINE_TYPE_WITH_CODE, but changing it doesn't fix the issue:

 Invalid read of size 1
    at 0x4A079B1: strcmp (mc_replace_strmem.c:538)
    by 0x3A98662C98: g_str_equal (in /lib64/libglib-2.0.so.0.2800.8)
    by 0x3A98631CDD: g_hash_table_lookup (in /lib64/libglib-2.0.so.0.2800.8)
    by 0x3A9862948D: g_intern_static_string (in /lib64/libglib-2.0.so.0.2800.8)
    by 0x17F97705: comp_editor_get_type (comp-editor.c:210)
    by 0x17C89AD2: cal_config_comp_editor_class_init (e-cal-config-comp-editor.c:89)
    by 0x3A9962F382: g_type_class_ref (in /lib64/libgobject-2.0.so.0.2800.8)
    by 0x64DB326: extensible_load_extension (e-extensible.c:94)
    by 0x64F07D1: e_type_traverse (e-util.c:526)
    by 0x64DB4B5: e_extensible_load_extensions (e-extensible.c:142)
    by 0x64DB5A9: e_extensible_list_extensions (e-extensible.c:172)
    by 0x4C27299: e_shell_load_modules (e-shell.c:1336)
    by 0x4032EB: main (main.c:664)
  Address 0x13200a2a is 6 bytes before a block of size 24 free'd
    at 0x4A055FE: free (vg_replace_malloc.c:366)
    by 0x3A98649742: g_free (in /lib64/libglib-2.0.so.0.2800.8)
    by 0x3A9865E85E: g_slice_free1 (in /lib64/libglib-2.0.so.0.2800.8)
    by 0x3A98663149: g_string_free (in /lib64/libglib-2.0.so.0.2800.8)
    by 0x3A98630F47: g_build_filename (in /lib64/libglib-2.0.so.0.2800.8)
    by 0x3AA731C287: ensure_valid_themes (gtkicontheme.c:1091)
    by 0x3AA731C415: choose_icon (gtkicontheme.c:1241)
    by 0x3AA731CF31: gtk_icon_theme_lookup_icon (gtkicontheme.c:1416)
    by 0x59E5B7B: preferences_window_load_pixbuf (e-preferences-window.c:109)
    by 0x59E6A19: e_preferences_window_add_page (e-preferences-window.c:418)
    by 0x10A5540A: mail_shell_backend_constructed (e-mail-shell-backend.c:404)
    by 0x3A996131F2: g_object_newv (in /lib64/libgobject-2.0.so.0.2800.8)
    by 0x3A99613B15: g_object_new_valist (in /lib64/libgobject-2.0.so.0.2800.8)
    by 0x3A99613E23: g_object_new (in /lib64/libgobject-2.0.so.0.2800.8)
    by 0x64DB369: extensible_load_extension (e-extensible.c:100)
    by 0x64F07D1: e_type_traverse (e-util.c:526)
    by 0x64F07A8: e_type_traverse (e-util.c:520)
    by 0x64F07A8: e_type_traverse (e-util.c:520)
    by 0x64DB4B5: e_extensible_load_extensions (e-extensible.c:142)
    by 0x64DB5A9: e_extensible_list_extensions (e-extensible.c:172)
    by 0x4C27299: e_shell_load_modules (e-shell.c:1336)
    by 0x4032EB: main (main.c:664)

Comment 5 Milan Crha 2011-08-01 13:02:25 UTC
There is a similar upstream bug too [1], there with spam assassin, but also with an extension. The extension framework seems to be broken for some reason. My memory is very poor, thus maybe it's not an issue with linking but with something else.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=655507

Comment 6 Milan Crha 2011-08-03 13:52:29 UTC
I'm sorry for a longer delay, but I got to this just recently. I built a test package [2] which has incorporated a proposed fix from the upstream bug report mentioned above. Could you give it a try, and report back, whether it helped you, please?

[2] http://koji.fedoraproject.org/koji/taskinfo?taskID=3249560

Comment 7 Paul F. Johnson 2011-08-03 20:28:18 UTC
Seems to have nailed the problem. Evolution is working happily again :)

Comment 8 Milan Crha 2011-08-04 05:41:26 UTC
Thanks for the update. I'm committing the patch into upstream sources, and the fix will be widely available in 3.1.5 release.

Comment 9 Milan Crha 2011-08-19 05:32:47 UTC
*** Bug 731592 has been marked as a duplicate of this bug. ***