[BUG]: deadlock with [LONG] bt



	Hi all,
for some reason my mail did not make it to the maintainers list so I post it here. It is a lok BT of a deadlock while doing IMAP+POP3+opening/playing with other local mboxes (yeah I know I am nasty ;-)
HTH
Bye
Manu
(gdb) thread apply all bt full

Thread 6 (Thread -154244176 (LWP 3699)):
#0  0x0059a7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x008b721e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x008b3ddb in _L_mutex_lock_144 () from /lib/tls/libpthread.so.0
No symbol table info available.
#3  0x00000093 in ?? ()
No symbol table info available.
#4  0xf6ce5de8 in ?? ()
No symbol table info available.
#5  0x08522018 in ?? ()
No symbol table info available.
#6  0x00001083 in ?? ()
No symbol table info available.
#7  0x00000001 in ?? ()
No symbol table info available.
#8  0xf6ce5de8 in ?? ()
No symbol table info available.
#9  0x080c85c9 in libbalsa_unlock_mailbox (mailbox=0x81163e0) at libbalsa.c:735
        self = 4294967292
#10 0x080c85c9 in libbalsa_unlock_mailbox (mailbox=0x1) at libbalsa.c:735
---Type <return> to continue, or q <return> to quit---
        self = 4294967292
#11 0x080cddfe in libbalsa_mailbox_search_iter_step (mailbox=0x8522018,
    search_iter=0x8611608, iter=0xf6ce5e70, forward=3699, stop_msgno=0)
    at mailbox.c:3494
        msgno = 4294967292
        node = (GNode *) 0x1
        retval = 1
        total = 9138718
#12 0x0807465d in bndx_search_iter (index=0x85a2e00, search_iter=0x8611608,
    iter=0xf6ce5e70, direction=BNDX_SEARCH_DIRECTION_NEXT,
    viewable=BNDX_SEARCH_VIEWABLE_ONLY, stop_msgno=0) at balsa-index.c:1152
        path = (GtkTreePath *) 0x8796258
        found = 140127744
#13 0x08074dcb in bndx_changed_find_row (index=0x85a2e00) at balsa-index.c:2177
        tmp = 0x8796258
        iter = {stamp = 2049360587, user_data = 0x8697884,
  user_data2 = 0x86b5d10, user_data3 = 0x87a7de}
#14 0x08075651 in bndx_selection_changed (selection=0x84efc38, data=0x85a2e00)
    at balsa-index.c:642
        path = (GtkTreePath *) 0x8a9dbc
        msgno = 0
        index = (BalsaIndex *) 0x85a2e00
        model = (GtkTreeModel *) 0x85d75e8
---Type <return> to continue, or q <return> to quit---
        mailbox = (LibBalsaMailbox *) 0x8522018
        sci = {msgno = 4228, current_msgno = 0, current_selected = 0,
  selected = 0x85d75e8, new_selected = 0x85d7688}
        have_selected = 1
        deselected = (GArray *) 0x0
        i = 140342760
        current_depth = 0
#15 0x008903ae in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0x00878347 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0x0088eae1 in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0x0088fcbc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x0088ff5a in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x02ba72ce in gtk_tree_selection_select_range ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x02bbada0 in gtk_tree_view_scroll_to_cell ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x02bc20dd in gtk_tree_view_set_cursor_on_cell ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x02bc2290 in gtk_tree_view_set_cursor () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x08072784 in bndx_select_row (index=0x85a2e00, path=0x86ab148)
    at balsa-index.c:2222
No locals.
#25 0x080750c8 in balsa_index_scroll_on_open (index=0x85a2e00)
    at balsa-index.c:879
        mailbox = (LibBalsaMailbox *) 0x8522018
        iter = {stamp = 2049360587, user_data = 0x8796258,
  user_data2 = 0xf6ce63e8, user_data3 = 0x80c91ce}
        path = (GtkTreePath *) 0x86ab148
        msgno = 9158644
#26 0x080964c2 in real_open_mbnode (info=0x85a9f28) at main-window.c:2253
        index = (BalsaIndex *) 0x85a2e00
        label = (GtkWidget *) 0x8522018
        scroll = (GtkWidget *) 0x8796d18
        page_num = -4
        failurep = 139599896
---Type <return> to continue, or q <return> to quit---
        err = (GError *) 0x0
        open_lock = {__m_reserved = 2, __m_count = 0, __m_owner = 0xe73,
  __m_kind = 0, __m_lock = {__status = 1, __spinlock = 0}}
        __PRETTY_FUNCTION__ = "real_open_mbnode"
#27 0x008b21d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#28 0x00ec02da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 5 (Thread -164926544 (LWP 3701)):
#0  0x0059a7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x008b721e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x008b3dcf in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread -175416400 (LWP 3702)):
#0  0x0059a7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x008b721e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2  0x008b3dcf in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.

Thread 3 (Thread -185906256 (LWP 3778)):
#0  0x0059a7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x008b4ac6 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x080c851c in libbalsa_lock_mailbox (mailbox=0x84c3b40) at libbalsa.c:703
        count = 0
        thread_id = 4109061040
#3  0x080cd97c in libbalsa_mailbox_copy_message (message=0x87949d0,
    dest=0x84c3b40, err=0xf4eb3c28) at mailbox.c:1405
        __t = 4294967292
        __r = -4
        retval = 140342980
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_copy_message"
#4  0x080cdd4f in libbalsa_mailbox_real_messages_copy (mailbox=0x875daf0,
    msgnos=0x85d76c4, dest=0x84c3b40, err=0xf4eb3c28) at mailbox.c:783
---Type <return> to continue, or q <return> to quit---
        message = (LibBalsaMessage *) 0x87949d0
        retval = 1
        i = 0
#5  0x080cac55 in libbalsa_mailbox_messages_copy (mailbox=0x875daf0,
    msgnos=0x85d76c4, dest=0x84c3b40, err=0xf4eb3c28) at mailbox.c:1623
        retval = 140342980
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_messages_copy"
#6  0x080cb12a in libbalsa_mailbox_messages_move (mailbox=0x875daf0,
    msgnos=0x85d76c4, dest=0x84c3b40, err=0xf4eb3c28) at mailbox.c:1642
        retval = 141941488
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_messages_move"
#7  0x080dc200 in fetch_async_cb (prc=4294967292, arg=0x8788908)
    at mailbox_pop3.c:207
        messages = (GArray *) 0x85d76c4
        last_update = 1115388442
        current_time = 1115388442
        batch_cnt = 2059
        threadbuf = "Réception de 76 ko sur 154\000 sur 20\000!\uffff\uffff\000\uffff\207\uffff\uffff\uffff\uffff\uffff\000\uffff\uffff\uffff\000\000\000\000\000\uffffEv\b8\004\000\000\uffff\ufffft\b\uffffEv\b\uffff<\uffff\uffff\024j\017\b\uffffEv\b8\004\000\000\000\000\000\000\000\000\000\000\uffff\uffff\uffff\000\000\uffff\uffff\000\uffffev\b\000 \000\000\032\000\000\000\001\000\001\000\uffffev\b\uffff=\uffff\uffff\uffff\ufffft\b4\001\000\000\uffff<\uffff\uffff:l\017\b\uffff\ufffft\b\t\000\000\000\001\000\000\000\000\000\000"
#8  0x080f5d04 in pop_complete_pending_requests (pop=0x875e918) at pop3.c:716
---Type <return> to continue, or q <return> to quit---
        i = 0
        __PRETTY_FUNCTION__ = "pop_complete_pending_requests"
#9  0x080dc763 in libbalsa_mailbox_pop3_check (mailbox=0x84bf1e0)
    at mailbox_pop3.c:628
        fd = (struct fetch_data *) 0xfffffffc
        msg_path = 0x8789ff8 "/tmp/pop-HbNpls/12"
        msg_size = 14091
        tmp_path = (gchar *) 0x875e2b8 "/tmp/pop-HbNpls"
        dest_path = (gchar *) 0x875e2b8 "/tmp/pop-HbNpls"
        uid_prefix = (gchar *) 0x0
        tmp_file = -4
        tmp_mailbox = (LibBalsaMailbox *) 0x875daf0
        m = (LibBalsaMailboxPop3 *) 0x84bf1e0
        server = (LibBalsaServer *) 0x84bf260
        msgbuf = (gchar *) 0x0
        mhs = (gchar *) 0x8750ea8 "/tmp/pop-HbNpls/.mh_sequences"
        err = (GError *) 0x0
        msgcnt = 20
        i = 12
        uids = (GHashTable *) 0x0
        current_uids = (GHashTable *) 0x0
        mode = (const struct PopDownloadMode *) 0x8115170
        current_pos = 82252
---Type <return> to continue, or q <return> to quit---
        total_size = 158581
        tls_mode = 12
        pop = (PopHandle *) 0x875e918
#10 0x080ccb9e in libbalsa_mailbox_check (mailbox=0x84bf1e0) at mailbox.c:584
        __t = 4294967292
        __r = -4
        id = 4294967292
        unthreaded = (GSList *) 0x0
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_check"
#11 0x08092548 in check_messages_thread (list=0x8652e28) at main-window.c:2596
        threadmessage = (MailThreadMessage *) 0x875e808
#12 0x008b21d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#13 0x00ec02da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 2 (Thread -196396112 (LWP 3821)):
#0  0x0059a7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x008b721e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x008b3ddb in _L_mutex_lock_144 () from /lib/tls/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#3  0x00e5be21 in _int_free () from /lib/tls/libc.so.6
No symbol table info available.
#4  0x080d70a0 in lbm_mbox_mime_stream_lock (mbox=0x81163e0)
    at mailbox_mbox.c:261
        thread_id = 9138718
#5  0x080d71fa in lbm_mbox_seek_to_message (mbox=0x84c3b40, offset=27679052)
    at mailbox_mbox.c:313
        retval = 27679052
#6  0x080d726b in libbalsa_mailbox_mbox_get_message_stream (mailbox=0x8599ea8,
    msgno=3821) at mailbox_mbox.c:334
        __t = 4294967292
        __r = -4
        msg_info = (struct message_info *) 0xeed
        mbox = (LibBalsaMailboxMbox *) 0x84c3b40
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_mbox_get_message_stream"
#7  0x080dec27 in libbalsa_message_stream (message=0x84efa68) at message.c:1208
        __t = 4294967292
        __r = -4
        mailbox = (LibBalsaMailbox *) 0xfffffffc
        mime_stream = (GMimeStream *) 0x87d4018
        __PRETTY_FUNCTION__ = "libbalsa_message_stream"
#8  0x080d6afd in libbalsa_mailbox_maildir_add_message (mailbox=0x85106a8,
    message=0x84efa68, err=0xf44b32c8) at mailbox_maildir.c:909
---Type <return> to continue, or q <return> to quit---
        path = 0x8510547 "/home/manu/mail/mythtv-dev"
        tmp = 0x877e138 "/home/manu/mail/mythtv-dev/tmp/manu-3648-1"
        out_stream = (GMimeStream *) 0x85321f0
        tmp_stream = (GMimeStream *) 0x87d4018
        in_stream = (GMimeStream *) 0x877e138
        crlffilter = (GMimeFilter *) 0x87d4018
        new_filename = 0x877e138 "/home/manu/mail/mythtv-dev/tmp/manu-3648-1"
        msg_info = (struct message_info *) 0x87d4018
        retval = 142074168
#9  0x080cd994 in libbalsa_mailbox_copy_message (message=0x84efa68,
    dest=0x85106a8, err=0xf44b32c8) at mailbox.c:1408
        __t = 4294967292
        __r = -4
        retval = 140342960
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_copy_message"
#10 0x080cdd4f in libbalsa_mailbox_real_messages_copy (mailbox=0x84c3b40,
    msgnos=0x85d76b0, dest=0x85106a8, err=0xf44b32c8) at mailbox.c:783
        message = (LibBalsaMessage *) 0x84efa68
        retval = 1
        i = 0
#11 0x080cac55 in libbalsa_mailbox_messages_copy (mailbox=0x84c3b40,
    msgnos=0x85d76b0, dest=0x85106a8, err=0xf44b32c8) at mailbox.c:1623
        retval = 140342960
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_messages_copy"
#12 0x080cb12a in libbalsa_mailbox_messages_move (mailbox=0x84c3b40,
    msgnos=0x85d76b0, dest=0x85106a8, err=0xf44b32c8) at mailbox.c:1642
        retval = 140342960
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_messages_move"
#13 0x080c1442 in libbalsa_filter_mailbox_messages (filt=0x833d578,
    mailbox=0x84c3b40, msgnos=0x85d76b0) at filter.c:304
        result = 0
        mbox = (LibBalsaMailbox *) 0x85106a8
        err = (GError *) 0x0
#14 0x080cd762 in libbalsa_mailbox_run_filters_on_reception (mailbox=0x84c3b40)
    at mailbox.c:728
        filter = (LibBalsaFilter *) 0x833d578
        search_iter = (LibBalsaMailboxSearchIter *) 0x8763968
        msgno = 0
        msgnos = (GArray *) 0x85d76b0
        filters = (GSList *) 0x85dc660
        lst = (GSList *) 0x85dc4e0
        cond_and = {negate = 0, type = CONDITION_AND, match = {string = {
      fields = 139700224, string = 0x833cd40 "", user_header = 0x0}, regex = {
      fields = 139700224}, date = {date_low = 139700224,
      date_high = 137612608}, flags = 139700224, andor = {left = 0x853a800,
      right = 0x833cd40}}}
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_run_filters_on_reception"
#15 0x080d43d3 in libbalsa_mailbox_local_load_messages (mailbox=0x84c3b40,
    msgno=482) at mailbox_local.c:613
        __t = 4294967292
        __r = -4
        new_messages = 11
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_local_load_messages"
#16 0x080d8113 in libbalsa_mailbox_mbox_check (mailbox=0x84c3b40)
    at mailbox_mbox.c:755
        st = {st_dev = 769, __pad1 = 0, st_ino = 1061861, st_mode = 33200,
  st_nlink = 1, st_uid = 500, st_gid = 12, st_rdev = 0, __pad2 = 0,
  st_size = 27685864, st_blksize = 4096, st_blocks = 54152,
  st_atime = 1115388438, st_atimensec = 578240240, st_mtime = 1115388438,
  st_mtimensec = 578240240, st_ctime = 1115388438, st_ctimensec = 578240240,
  __unused4 = 0, __unused5 = 0}
        path = (const gchar *) 0x84c38bf "/var/spool/mail/manu"
        mbox = (LibBalsaMailboxMbox *) 0x8532128
        msgno = 470
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_mbox_check"
#17 0x080ccb9e in libbalsa_mailbox_check (mailbox=0x84c3b40) at mailbox.c:584
        __t = 4294967292
        __r = -4
        id = 4294967292
---Type <return> to continue, or q <return> to quit---
        unthreaded = (GSList *) 0x8652e50
        __PRETTY_FUNCTION__ = "libbalsa_mailbox_check"
#18 0x080cd8d2 in lbm_check_real (mailbox=0x84c3b40) at mailbox.c:3412
No locals.
#19 0x008b21d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#20 0x00ec02da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -151123296 (LWP 3648)):
#0  0x0059a7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x008b721e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x008b3dcf in _L_mutex_lock_32 () from /lib/tls/libpthread.so.0
No symbol table info available.
#3  0x08110294 in ?? ()
No symbol table info available.
#4  0xfee79f08 in ?? ()
No symbol table info available.
#5  0xf6fe0aa0 in ?? ()
No symbol table info available.
#6  0xf6fe0aa0 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#7  0x084c3b40 in ?? ()
No symbol table info available.
#8  0xfee79f18 in ?? ()
No symbol table info available.
#9  0x080c861d in libbalsa_threads_enter () at libbalsa.c:753
        self = 135357760
#10 0x080c861d in libbalsa_threads_enter () at libbalsa.c:753
        self = 139213632
#11 0x00c24518 in gdk_threads_enter () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#12 0x080c8527 in libbalsa_lock_mailbox (mailbox=0xe40) at libbalsa.c:705
        count = 0
        thread_id = 9138718
#13 0x080cdd6c in libbalsa_mailbox_search_iter_step (mailbox=0x84c3b40,
    search_iter=0x8531c58, iter=0xfee79fd0, forward=1, stop_msgno=0)
    at mailbox.c:3468
        node = (GNode *) 0x857cfa8
        retval = 139972520
        total = 139532096
#14 0x0807465d in bndx_search_iter (index=0x8511740, search_iter=0x8531c58,
    iter=0xfee79fd0, direction=BNDX_SEARCH_DIRECTION_NEXT,
    viewable=BNDX_SEARCH_VIEWABLE_ONLY, stop_msgno=0) at balsa-index.c:1152
---Type <return> to continue, or q <return> to quit---
        path = (GtkTreePath *) 0x857cfa8
        found = 139532096
#15 0x08074dcb in bndx_changed_find_row (index=0x8511740) at balsa-index.c:2177
        tmp = 0x857cfa8
        iter = {stamp = 511552531, user_data = 0x857cfa8,
  user_data2 = 0x8787e08, user_data3 = 0xfee79f98}
#16 0x08075179 in bndx_mailbox_changed_idle (arg=0x877d9b0)
    at balsa-index.c:1407
No locals.
#17 0x00818b5a in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0x008157bb in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#19 0x00817242 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#20 0x008174ef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#21 0x02ae1f97 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x08097ade in main (argc=1, argv=0xfee7a2a4) at main.c:664
        snd = (BalsaSendmsg *) 0x0
        lst = (GSList *) 0x0
        window = (GtkWidget *) 0x844aea8
---Type <return> to continue, or q <return> to quit---
        client = (GnomeClient *) 0x0
        default_icon = (gchar *) 0x0



Attachment: pgpwULNA8SeV5.pgp
Description: PGP signature



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