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 697016 - Evolution is frozen after 1-2 days when using GPG keys
Evolution is frozen after 1-2 days when using GPG keys
Status: RESOLVED DUPLICATE of bug 691966
Product: evolution
Classification: Applications
Component: Mailer
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2013-04-01 04:50 UTC by James
Modified: 2015-03-12 10:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description James 2013-04-01 04:50:42 UTC
Hi there,

Approximately every 1-2 days, I find my evolution mailer is frozen. I suspect that this is because of GPG. Whenever I write an email (after first startup), I get prompted with the "remember your gpg password" dialog, when I sign my first outgoing message.

Debugging evolution, is definitely not my strength, but I was hoping you could either:

1) Run evolution for a few days with your gpg keys in memory and see if it's easily reproducible for you.

and/or

2) Suggest if there is a safe/easy way for me to run it with some debug flags to hopefully see the last message before I find it dead, and hopefully this can help you find this deadlock (if it's even actually a deadlock)? I say safe, because I'd rather not have my GPG keys in a log :P

Cheers,
James
Comment 1 André Klapper 2013-04-04 22:03:29 UTC
I'd recommend installing relevant debug packages (evolution, evolution-data-server, glib2, gtk3), run evolution in gdb by entering "gdb evolution" and then "run" in a terminal, make it freeze, hit Ctrl+C in the terminal if there is no prompt, and then enter "thread apply all bt".
Comment 2 James 2013-04-05 06:45:53 UTC
(In reply to comment #1)
> I'd recommend installing relevant debug packages (evolution,
> evolution-data-server, glib2, gtk3), run evolution in gdb by entering "gdb
> evolution" and then "run" in a terminal, make it freeze, hit Ctrl+C in the
> terminal if there is no prompt, and then enter "thread apply all bt".

Okay, progress so far:

1) Enabled debuginfo repository.
2) sudo yum install {evolution,evolution-data-server,glib2,gtk3}-debuginfo
3) gdb evolution (lots of crc errors...)
4) hmmm... Ah enabled updates - debuginfo repository...
5) gdb evolution (output below)

So it's running now, there are already a number of "warnings". I don't know if these are issues to be fixed or not, but I'm sure they're not unique to my system.

As a side note, every time I run evolution, I get a "defunct" evolution on close: example:
$ ps auxww | grep evolution | grep defunct
james     7758  0.6  0.0      0     0 ?        Z    Apr04   7:15 [evolution] <defunct>
james    15426  0.1  0.0      0     0 ?        Z    Mar31  11:10 [evolution] <defunct>
james    22479  2.2  0.0      0     0 ?        Z    Apr02  99:23 [evolution] <defunct>
$ uptime
 02:44:56 up 14 days, 12:15, 12 users,  load average: 0.60, 0.62, 0.58
$

Maybe that's a bug that needs reporting too?

I'll let you know how the rest goes.

James


$ gdb evolution
GNU gdb (GDB) Fedora (7.5.1-37.fc18)
Copyright (C) 2012 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 "x86_64-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 "/lib64/libthread_db.so.1".
[New Thread 0x7fffef5dd700 (LWP 30320)]
[New Thread 0x7fffee346700 (LWP 30321)]
warning: cannot close "/usr/lib64/gio/modules/libgsettingsgconfbackend.so": Invalid operation
warning: cannot close "/lib64/libgconf-2.so.4": Invalid operation
[New Thread 0x7fffed8fe700 (LWP 30322)]
[New Thread 0x7fffed0fd700 (LWP 30323)]
[New Thread 0x7fffd3896700 (LWP 30324)]
Detaching after fork from child process 30325.
[New Thread 0x7fffd1b5f700 (LWP 30327)]
[New Thread 0x7fffd135e700 (LWP 30328)]
[New Thread 0x7fffd0b5d700 (LWP 30329)]
[New Thread 0x7fffc7f35700 (LWP 30330)]
[New Thread 0x7fffc7734700 (LWP 30331)]
[New Thread 0x7fffc6f33700 (LWP 30332)]
[New Thread 0x7fffc6732700 (LWP 30333)]
[New Thread 0x7fffc5f31700 (LWP 30334)]
[New Thread 0x7fffc5730700 (LWP 30335)]
[New Thread 0x7fffc4f2f700 (LWP 30336)]
[New Thread 0x7fffa7fff700 (LWP 30337)]
[New Thread 0x7fffa77fe700 (LWP 30338)]
[Thread 0x7fffa77fe700 (LWP 30338) exited]
[New Thread 0x7fffa77fe700 (LWP 30340)]
[New Thread 0x7fffa6ffd700 (LWP 30343)]
[New Thread 0x7fffa67fc700 (LWP 30344)]
warning: cannot close "/usr/lib64/gio/modules/libgiognomeproxy.so": Invalid operation
warning: cannot close "/usr/lib64/gio/modules/libgiolibproxy.so": Invalid operation
warning: cannot close "/lib64/libproxy.so.1": Invalid operation
warning: cannot close "/lib64/libmodman.so.1": Invalid operation
[Thread 0x7fffc7f35700 (LWP 30330) exited]
[Thread 0x7fffd3896700 (LWP 30324) exited]
warning: cannot close "/lib64/libfam.so.0": Invalid operation
[Thread 0x7fffa77fe700 (LWP 30340) exited]
[Thread 0x7fffc4f2f700 (LWP 30336) exited]
[Thread 0x7fffc5f31700 (LWP 30334) exited]
[Thread 0x7fffc5730700 (LWP 30335) exited]
[New Thread 0x7fffc5730700 (LWP 30349)]
[New Thread 0x7fffc5f31700 (LWP 30350)]
No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:069] Using Gtk2 toolkit
[000:132] Warning(logging.cc:215): Slow log: took 62ms to write 29 bytes.
[Thread 0x7fffc7734700 (LWP 30331) exited]
[Thread 0x7fffa7fff700 (LWP 30337) exited]
[Thread 0x7fffc6732700 (LWP 30333) exited]
No bp log location saved, using default.
[Thread 0x7fffd0b5d700 (LWP 30329) exited]
[Thread 0x7fffc6f33700 (LWP 30332) exited]
[New Thread 0x7fffc6f33700 (LWP 30353)]
[New Thread 0x7fffd0b5d700 (LWP 30354)]
[New Thread 0x7fffc6732700 (LWP 30355)]
[Thread 0x7fffc6732700 (LWP 30355) exited]
[...]
Comment 3 André Klapper 2013-04-05 09:24:54 UTC
(In reply to comment #2)
> 5) gdb evolution (output below)
> [...]

gdb output is only interesting after getting a freeze or crash, and following the steps in comment 1.
Comment 4 James 2013-04-08 04:17:03 UTC
For some reason, this didn't seem to freeze as fast as it usually does. But it did eventually. I think this one looks like:
https://bugzilla.gnome.org/show_bug.cgi?id=691966
however please let me know if it's different. The reason I think I have a different crasher is because, usually ABRT sends me over to the above bugzilla link, but a lot of the time it crashes but it doesn't make a peep.

HTH,
James


[Thread 0x7fff3c72e700 (LWP 3413) exited]
[New Thread 0x7fff3c72e700 (LWP 3416)]
[New Thread 0x7fff3df31700 (LWP 3417)]
[New Thread 0x7fff48fee700 (LWP 3418)]
[New Thread 0x7fff49ff0700 (LWP 3419)]
[New Thread 0x7fff43fff700 (LWP 3420)]
Detaching after fork from child process 3423.
[Thread 0x7fff3df31700 (LWP 3417) exited]
[Thread 0x7fff49ff0700 (LWP 3419) exited]
[Thread 0x7fff43fff700 (LWP 3420) exited]
**
camel:ERROR:camel-imapx-server.c:1782:imapx_untagged_fetch: code should not be reached

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff3c72e700 (LWP 3416)]
0x0000003da9035ba5 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install GConf2-3.2.5-3.fc18.x86_64 PackageKit-gtk3-module-0.8.7-1.fc18.x86_64 adwaita-gtk3-theme-3.6.5-1.fc18.x86_64 at-spi2-atk-2.6.2-1.fc18.x86_64 at-spi2-core-2.6.3-1.fc18.x86_64 atk-2.6.0-1.fc18.x86_64 cairo-1.12.14-1.fc18.x86_64 cairo-gobject-1.12.14-1.fc18.x86_64 cyrus-sasl-lib-2.1.23-37.fc18.x86_64 dbus-glib-0.100-1.fc18.x86_64 dbus-libs-1.6.8-2.fc18.x86_64 dconf-0.14.1-3.fc18.x86_64 enchant-1.6.0-5.fc18.x86_64 evolution-ews-3.6.4-1.fc18.x86_64 expat-2.1.0-4.fc18.x86_64 fontconfig-2.10.2-2.fc18.x86_64 freetype-2.4.10-4.fc18.x86_64 gamin-0.1.10-13.fc18.x86_64 gcr-3.6.2-3.fc18.x86_64 gdk-pixbuf2-2.26.5-1.fc18.x86_64 geoclue-0.12.99-1.fc18.x86_64 glib-networking-2.34.2-1.fc18.x86_64 glibc-2.16-30.fc18.x86_64 gnome-desktop3-3.6.3-1.fc18.x86_64 gnome-online-accounts-3.6.3-1.fc18.x86_64 gnome-shell-3.6.3.1-1.fc18.x86_64 google-talkplugin-3.17.0.0-1.x86_64 graphite2-1.1.1-4.fc18.x86_64 gstreamer1-1.0.6-1.fc18.x86_64 gstreamer1-plugins-base-1.0.6-1.fc18.x86_64 gtk2-2.24.16-1.fc18.x86_64 gtkhtml3-4.6.4-1.fc18.x86_64 gvfs-1.14.2-3.fc18.x86_64 harfbuzz-0.9.12-2.fc18.x86_64 hunspell-1.3.2-10.fc18.x86_64 ibus-gtk3-1.5.1-2.fc18.x86_64 ibus-libs-1.5.1-2.fc18.x86_64 json-glib-0.15.2-1.fc18.x86_64 keyutils-libs-1.5.5-3.fc18.x86_64 krb5-libs-1.10.3-14.fc18.x86_64 libICE-1.0.8-2.fc18.x86_64 libSM-1.2.1-2.fc18.x86_64 libX11-1.5.0-3.fc18.x86_64 libXau-1.0.6-4.fc18.x86_64 libXcomposite-0.4.3-4.fc18.x86_64 libXcursor-1.1.13-2.fc18.x86_64 libXdamage-1.1.3-4.fc18.x86_64 libXext-1.3.1-2.fc18.x86_64 libXfixes-5.0-3.fc18.x86_64 libXi-1.6.2-1.fc18.x86_64 libXinerama-1.1.2-2.fc18.x86_64 libXrandr-1.4.0-1.fc18.x86_64 libXrender-0.9.7-2.fc18.x86_64 libXt-1.1.3-1.fc18.x86_64 libXxf86vm-1.1.2-2.fc18.x86_64 libbluray-0.2.3-1.fc18.x86_64 libcanberra-0.30-2.fc18.x86_64 libcanberra-gtk3-0.30-2.fc18.x86_64 libcom_err-1.42.5-1.fc18.x86_64 libcroco-0.6.8-1.fc18.x86_64 libcurl-7.27.0-7.fc18.x86_64 libdb-5.3.21-3.fc18.x86_64 libdrm-2.4.42-1.fc18.x86_64 libffi-3.0.10-3.fc18.x86_64 libgcc-4.7.2-8.fc18.x86_64 libgcrypt-1.5.0-8.fc18.x86_64 libgdata-0.13.1-2.fc18.x86_64 libgnome-keyring-3.6.0-1.fc18.x86_64 libgpg-error-1.10-3.fc18.x86_64 libgweather-3.6.2-1.fc18.x86_64 libical-0.48-3.fc18.x86_64 libicu-49.1.1-8.fc18.x86_64 libidn-1.26-1.fc18.x86_64 libjpeg-turbo-1.2.90-1.fc18.x86_64 libmodman-2.0.1-5.fc18.x86_64 libnotify-0.7.5-3.fc18.x86_64 liboauth-0.9.7-1.fc18.x86_64 libogg-1.3.0-2.fc18.x86_64 libpng-1.5.13-1.fc18.x86_64 libproxy-0.4.11-1.fc18.x86_64 libquvi-0.4.1-2.fc18.x86_64 librsvg2-2.36.4-1.fc18.x86_64 libselinux-2.1.12-7.3.fc18.x86_64 libsoup-2.40.3-1.fc18.x86_64 libssh2-1.4.3-1.fc18.x86_64 libstdc++-4.7.2-8.fc18.x86_64 libtdb-1.2.11-1.fc18.x86_64 libtool-ltdl-2.4.2-7.fc18.x86_64 libuuid-2.22.2-6.fc18.x86_64 libvorbis-1.3.3-3.fc18.x86_64 libwayland-client-1.0.5-1.fc18.x86_64 libwayland-server-1.0.5-1.fc18.x86_64 libxcb-1.9-1.fc18.x86_64 libxkbfile-1.0.8-2.fc18.x86_64 libxml2-2.9.0-3.fc18.x86_64 libxslt-1.1.27-2.fc18.x86_64 libytnef-1.5-9.fc18.x86_64 lua-5.1.4-11.fc18.x86_64 mesa-libEGL-9.1-3.fc18.x86_64 mesa-libGL-9.1-3.fc18.x86_64 mesa-libgbm-9.1-3.fc18.x86_64 mesa-libglapi-9.1-3.fc18.x86_64 nspr-4.9.5-2.fc18.x86_64 nss-3.14.3-1.fc18.x86_64 nss-softokn-3.14.3-1.fc18.x86_64 nss-softokn-freebl-3.14.3-1.fc18.x86_64 nss-sysinit-3.14.3-1.fc18.x86_64 nss-util-3.14.3-1.fc18.x86_64 openldap-2.4.34-1.fc18.x86_64 openssl-libs-1.0.1e-4.fc18.x86_64 orc-0.4.16-7.fc18.x86_64 p11-kit-0.14-1.fc18.x86_64 pango-1.32.3-1.fc18.x86_64 pcre-8.31-4.fc18.x86_64 pixman-0.28.0-1.fc18.x86_64 rhythmbox-2.98-4.fc18.x86_64 sqlite-3.7.13-2.fc18.x86_64 systemd-libs-197-1.fc18.2.x86_64 totem-mozplugin-3.6.3-2.fc18.x86_64 totem-pl-parser-3.4.3-1.fc18.x86_64 webkitgtk3-1.10.2-3.fc18.x86_64 xz-libs-5.1.2-2alpha.fc18.x86_64 zlib-1.2.7-9.fc18.x86_64
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) ^CQuit
(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff6556a00 (LWP 30316))

  • #0 g_quark_to_string
    at gquark.c line 260
  • #1 g_datalist_get_data
    at gdataset.c line 1031
  • #2 g_object_get_data
    at gobject.c line 3294
  • #3 _gtk_widget_captured_event
    at gtkwidget.c line 5991
  • #4 propagate_event_down
    at gtkmain.c line 2451
  • #5 propagate_event
    at gtkmain.c line 2505
  • #6 _gtk_propagate_captured_event
    at gtkmain.c line 2548
  • #7 gtk_main_do_event
    at gtkmain.c line 1719
  • #8 gdk_event_source_dispatch
    at gdkeventsource.c line 358
  • #9 g_main_dispatch
    at gmain.c line 2715
  • #10 g_main_context_dispatch
    at gmain.c line 3219
  • #11 g_main_context_iterate
    at gmain.c line 3290
  • #12 g_main_loop_run
    at gmain.c line 3484
  • #13 gtk_main
    at gtkmain.c line 1160
  • #14 main
    at main.c line 711

Comment 5 James 2013-04-09 01:38:35 UTC
(In reply to comment #1)
> I'd recommend installing relevant debug packages (evolution,
> evolution-data-server, glib2, gtk3), run evolution in gdb by entering "gdb
> evolution" and then "run" in a terminal, make it freeze, hit Ctrl+C in the
> terminal if there is no prompt, and then enter "thread apply all bt".

I have another one. I create a separate bug because it felt different. Trace attached:
https://bugzilla.gnome.org/show_bug.cgi?id=697598
Comment 6 Milan Crha 2015-03-12 10:50:27 UTC
The backtrace in comment #4 shows the same issue as bug #691966, thus I mark this as a duplicate of it.

*** This bug has been marked as a duplicate of bug 691966 ***