Balsa 2.2.3 hangs



I just tried the 2.2 series (was still at 2.0). At startup, balsa
hangs. It shows the "checking local mail" dialog, then it's
completely frozen.

If I run it under gdb, it appears to work just fine... heisenbug :(
So I ran it and attached gdb to it. This is what it shows, but it
makes no sense: imap-server.c:517 doesn't do anything with mutexes.

[loading symbols ...]
0x413ed266 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
(gdb) info threads
  2 Thread 1106762672 (LWP 20974)  0x413eb115 in pthread_cond_wait@@GLIBC_2.3.2
    () from /lib/tls/libpthread.so.0
  1 Thread 1097430016 (LWP 20971)  0x413ed266 in __lll_mutex_lock_wait ()
   from /lib/tls/libpthread.so.0
(gdb) thread 1
[Switching to thread 1 (Thread 1097430016 (LWP 20971))]#0  0x413ed266 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
(gdb) where
#0  0x413ed266 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#1  0x413ea745 in _L_mutex_lock_24 () from /lib/tls/libpthread.so.0
#2  0x08279a78 in ?? ()
#3  0x00000001 in ?? ()
#4  0x0827b708 in ?? ()
#5  0x00000000 in ?? ()
#6  0x0827b708 in ?? ()
#7  0x00000000 in ?? ()
#8  0x080fd93c in libbalsa_imap_server_get_handle (imap_server=0x51eb,
    err=0xfffffffc) at imap-server.c:517
#9  0x080d3bb3 in libbalsa_scanner_imap_dir (rnode=0x827ddf0,
    server=0x827b708, path=0x827e9c8 "", subscribed=1, list_inbox=0,
    check_imap_path=0xfffffffc, mark_imap_path=0xfffffffc,
    handle_imap_path=0x8096dc0 <handle_imap_path>, cb_data=0xbffff490,
    error=0xbffff48c) at folder-scanners.c:376
#10 0x08094d2e in imap_dir_cb_real (r=0x827ddf0) at mailbox-node.c:409
#11 0x41048121 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#12 0x41033c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0x41047c25 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#14 0x41046be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#15 0x41046ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0x080955f2 in balsa_mailbox_node_append_subtree (mn=0xfffffffc)
    at mailbox-node.c:605
#17 0x0809f5da in scan_mailboxes_idle_cb () at main.c:417
#18 0x4108fcc3 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#19 0x4108c902 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#20 0x4108d9f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x4108dd30 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x4108e373 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#23 0x40c55713 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x0809fbfe in main (argc=1, argv=0xbffffac4) at main.c:612
(gdb) thread 2
[Switching to thread 2 (Thread 1106762672 (LWP 20974))]#0  0x413eb115 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
(gdb) where
#0  0x413eb115 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0x080710c3 in ask_password_mt (server=0xfffffffc, mbox=0xfffffffc)
    at balsa-app.c:149
#2  0x080d96ad in libbalsa_POINTER__OBJECT (closure=0x827b2e0,
    return_value=0x41f7d500, n_param_values=4294967292,
    param_values=0x41f7d560, invocation_hint=0x41f7d458, marshal_data=0x0)
    at libbalsa-marshal.c:206
#3  0x41033c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4  0x41047c25 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#5  0x410469be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#6  0x41046ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#7  0x080fc111 in libbalsa_server_get_password (server=0x41062bc8, mbox=0x0)
    at server.c:231
#8  0x080fc779 in libbalsa_server_user_cb (ue=1106761588, arg=0xfffffffc)
    at server.c:362
#9  0x0810ce4a in imap_auth_login (handle=0x8393968) at imap-auth.c:83
#10 0x0810cc45 in imap_authenticate (handle=0x8393968) at imap-auth.c:53
#11 0x080fd7cb in libbalsa_imap_server_get_handle (imap_server=0x827b708,
    err=0xfffffffc) at imap-server.c:540
#12 0x080e0c0e in libbalsa_mailbox_imap_get_handle (mimap=0x827d640, err=0x0)
    at mailbox_imap.c:497
#13 0x080e1fcd in lbm_imap_check (mailbox=0xfffffffc) at mailbox_imap.c:1010
#14 0x080e20be in libbalsa_mailbox_imap_check (mailbox=0x827d640)
    at mailbox_imap.c:1035
#15 0x080daccf in libbalsa_mailbox_check (mailbox=0x827d640) at mailbox.c:618
#16 0x0809a1e7 in mailbox_check_func (model=0xfffffffc, path=0x83927b0,
    iter=0xfffffffc) at main-window.c:2539
#17 0x40d163db in gtk_tree_model_rows_reordered ()
   from /usr/lib/libgtk-x11-2.0.so.0
#18 0x40d164fd in gtk_tree_model_foreach () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x0809aa68 in check_messages_thread (data=0x0) at main-window.c:2779
#20 0x413e89b4 in start_thread () from /lib/tls/libpthread.so.0
#21 0x00000000 in ?? ()

Mike.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]