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 624705 - IMAPX : Deadlock while quiting evolution
IMAPX : Deadlock while quiting evolution
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
2.32.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[imapx]
Depends on:
Blocks:
 
 
Reported: 2010-07-19 07:20 UTC by Akhil Laddha
Modified: 2013-09-14 16:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
eds patch (1.69 KB, patch)
2010-09-02 10:40 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2010-07-19 07:20:20 UTC
evolution 2.31.6

Network connection went down suddenly but came up soon. Later i wasn't able to quit evolution, UI didn't hang.

gdb traces of evolution 

evolution-shell-Message: Network disconnected.  Forced offline.
[New Thread 0xa5eefb70 (LWP 15912)]
[New Thread 0xa3affb70 (LWP 15913)]
[Thread 0xa3affb70 (LWP 15913) exited]
[New Thread 0xa3affb70 (LWP 15914)]
[New Thread 0xac45ab70 (LWP 15915)]
[Thread 0xac45ab70 (LWP 15915) exited]
[New Thread 0xac45ab70 (LWP 15916)]
[Thread 0xac45ab70 (LWP 15916) exited]
[Thread 0xa5eefb70 (LWP 15912) exited]
[New Thread 0xa5eefb70 (LWP 15929)]
[New Thread 0xac45ab70 (LWP 15930)]
[New Thread 0xa32feb70 (LWP 15931)]
evolution-shell-Message: Connection established.  Going online.
[Thread 0xa5eefb70 (LWP 15929) exited]
[New Thread 0xa5eefb70 (LWP 16223)]
[Thread 0xa5eefb70 (LWP 16223) exited]
^C
Program received signal SIGINT, Interrupt.
0xffffe430 in __kernel_vsyscall ()
(gdb) t a a bt

Thread 18 (Thread 0xb23feb70 (LWP 15540))

  • #0 __kernel_vsyscall
  • #1 __lll_lock_wait
    from /lib/libpthread.so.0
  • #2 _L_lock_790
    from /lib/libpthread.so.0
  • #3 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #4 g_static_rec_mutex_lock
    at gthread.c line 1424
  • #5 imapx_conn_shutdown
    at camel-imapx-conn-manager.c line 121
  • #6 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #7 g_closure_invoke
    at gclosure.c line 766
  • #8 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #9 g_signal_emit_valist
  • #10 g_signal_emit
    at gsignal.c line 3040
  • #11 imapx_parser_thread
    at camel-imapx-server.c line 4715
  • #12 g_thread_create_proxy
    at gthread.c line 1897
  • #13 start_thread
    from /lib/libpthread.so.0
  • #14 clone
    from /lib/libc.so.6

Comment 1 Milan Crha 2010-09-02 09:35:57 UTC
Trace with updated line numbers to today's master:

Thread 5 (Thread 0xacff3b70 (LWP 23870))

  • #0 __kernel_vsyscall
  • #1 __lll_lock_wait
    at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S line 142
  • #2 _L_lock_798
    from /lib/libpthread.so.0
  • #3 __pthread_mutex_lock
    at pthread_mutex_lock.c line 61
  • #4 g_static_rec_mutex_lock
    at gthread.c line 1424
  • #5 imapx_conn_shutdown
    at camel-imapx-conn-manager.c line 120
  • #6 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #7 g_closure_invoke
    at gclosure.c line 766
  • #8 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #9 g_signal_emit_valist
    at gsignal.c line 2983
  • #10 g_signal_emit
    at gsignal.c line 3040
  • #11 imapx_parser_thread
    at camel-imapx-server.c line 4692
  • #12 g_thread_create_proxy
    at gthread.c line 1897
  • #13 start_thread
    at pthread_create.c line 297
  • #14 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Comment 2 Milan Crha 2010-09-02 10:40:25 UTC
Created attachment 169345 [details] [review]
eds patch

for evolution-data-server;

I cannot think of anything better at the moment, so this is sort-of-patch. Let's have it there until someone else makes it better, but as noone noticed for few months... :)
Comment 3 Milan Crha 2010-09-02 10:41:52 UTC
Created commit 515990b in eds master (2.31.92+)