GNOME Bugzilla – Bug 703991
Crash when using -fstack-protector-strong
Last modified: 2013-09-21 13:35:22 UTC
Evo 3.9.4 in rawhide crashes on initial setup. Steps: 1) Remove all existing data: rm -rf ~/.local/share/evolution ~/.cache/evolution ~/.config/evolution evolution --force-shutdown 2) Start Evolution Stdout: *** stack smashing detected ***: evolution terminated ======= Backtrace: ========= /lib64/libc.so.6[0x3d6d47898f] /lib64/libc.so.6(__fortify_fail+0x37)[0x3d6d50ba97] /lib64/libc.so.6(__fortify_fail+0x0)[0x3d6d50ba60] /usr/lib64/evolution/3.10/modules/module-mail-config.so(+0x6bd5)[0x7f26ef3a4bd5] /usr/lib64/evolution/3.10/libevolution-mail.so(e_mail_config_service_page_add_scratch_source+0x344)[0x7f26f730af64] /usr/lib64/evolution/3.10/libevolution-mail.so(+0x46394)[0x7f26f72fd394] /usr/lib64/evolution/3.10/modules/module-startup-wizard.so(+0x486b)[0x7f26f4c5086b] /lib64/libgobject-2.0.so.0(+0x1592a)[0x7f271015992a] /lib64/libgobject-2.0.so.0(g_object_new_valist+0x354)[0x7f271015bb64] /lib64/libgobject-2.0.so.0(g_object_new+0xf1)[0x7f271015bf61] /usr/lib64/evolution/3.10/modules/module-startup-wizard.so(+0x43ca)[0x7f26f4c503ca] /lib64/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7f27101543a8] /lib64/libgobject-2.0.so.0(+0x22f4d)[0x7f2710166f4d] /lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xeab)[0x7f271016f11b] /lib64/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f271016f3bf] evolution(main+0x527)[0x404197] /lib64/libc.so.6(__libc_start_main+0xf5)[0x3d6d421fa5] evolution[0x4046a9] Gdb trace:
+ Trace 232222
Thread 1 (Thread 0x7ffff3194a40 (LWP 2760))
Versions: evolution-3.9.4-1.fc20.x86_64 evolution-data-server-3.9.4-1.fc20.x86_64 glibc-2.17.90-3.fc20.x86_64
Works fine here, and the code it's tripping over hasn't changed since March.
Testing here points to the rawhide change between -fstack-prtector -> -fstack-protector-strong
Is this evolution unrelated then?
It's likely that stack protector strong is turning up a latent bug in Evolution. My group inside Red Hat pushed for this change, we're investigating and will update this bug with our findings. Thanks.
The offending code line seems to be "modules/mail-config/e-mail-config-smtp-backend.c +242" which is, g_object_get (G_OBJECT (settings), "port", &port, NULL); Note that "port" is defined as "guint16 port" earlier. After commenting this line out, evolution is able to launch (at least).
Good catch. Fixed for Evolution 3.9.5 and 3.8.4 in: https://git.gnome.org/browse/evolution/commit/?id=edf24cc3dae97d27aea997d71d8263bdb6f135ef https://git.gnome.org/browse/evolution/commit/?h=gnome-3-8&id=29986df668e62063ab4f33cb71edd6f6811ce95f