Re: Balsa's thread handling very buggy.



On 2003.07.17 17:04, Peter Bloomfield wrote:
> On 07/17/2003, Miquel van Smoorenburg wrote:
> [ snip ]
> > Same goes when a new message arrives as a reply to an existing  
> > message- a thread is created in collapsed mode. This should, IMHO,  
> > follow the setting in preferences -> display -> threading
> > 
> > Mike.
> 
> Fixed in cvs.

As soon as a new message arrives in an existing thread, balsa crashes. Trace
below, ignore 0-5 since that is the crash handler (even though I run balsa
with --disable-crash-dialog):


#0  0x4103aaf9 in wait4 () from /lib/libc.so.6
#1  0x410adf60 in sys_sigabbrev () from /lib/libc.so.6
#2  0x40e2b061 in waitpid () from /lib/libpthread.so.0
#3  0x4006c9fa in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
#4  0x40e2c75a in __pthread_sighandler () from /lib/libpthread.so.0
#5  0x40fc79c8 in sigaction () from /lib/libc.so.6

* segv here *

#6  0x0806ea59 in bndx_find_row (index=0x836dcc0, pos=0x0, reverse_search=0,
    flag=0, op=FILTER_NOOP, conditions=0x0, exclude=0x0) at balsa-index.c:1039
#7  0x08071410 in bndx_changed_find_row (index=0x836dcc0) at balsa-index.c:2615
#8  0x0806e24f in bndx_tree_expand_cb (tree_view=0xbffff450, iter=0x8488c30,
    path=0x83eb748, user_data=0x0) at balsa-index.c:685
#9  0x40a3f3e4 in _gtk_marshal_VOID__BOXED_BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x40c9c956 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0x40cac2c4 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#12 0x40cab562 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0x40cab75b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0x40ae8663 in gtk_tree_view_expand_to_path ()
   from /usr/lib/libgtk-x11-2.0.so.0
#15 0x40ae87ff in gtk_tree_view_expand_row () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x08070bc6 in bndx_copy_tree (index=0x836dcc0, node=0x83e2cdc,
    parent_iter=0xbffff980) at balsa-index.c:2382
#17 0x0807099c in balsa_index_move_subtree (index=0x836dcc0, root=0x83e2cdc,
    new_parent=0x8431268) at balsa-index.c:2317
#18 0x0806d08e in check_parent (ti=0xbffffa90, parent=0x8483ee0,
    child=0x8481e68) at balsa-index-threading.c:353
#19 0x0806d125 in construct (node=0xbffff0e0, ti=0xbffffa90)
    at balsa-index-threading.c:365
#20 0x40cefa63 in g_node_max_height () from /usr/lib/libglib-2.0.so.0
#21 0x40cefa1e in g_node_max_height () from /usr/lib/libglib-2.0.so.0
#22 0x40cefa1e in g_node_max_height () from /usr/lib/libglib-2.0.so.0
#23 0x0806cd09 in threading_jwz (index=0x836dcc0)
    at balsa-index-threading.c:119
#24 0x0806f4fd in bndx_messages_add (bindex=0x836dcc0, messages=0x841872c)
    at balsa-index.c:1495
#25 0x0806f5f5 in mailbox_messages_func_idle (arg=0x8484e20)
    at balsa-index.c:1531
#26 0x40ce9be8 in g_timeout_add () from /usr/lib/libglib-2.0.so.0
#27 0x40ce744f in g_get_current_time () from /usr/lib/libglib-2.0.so.0
#28 0x40ce8369 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x40ce866f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x40ce8cbe in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0x40a3cc97 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x0808da3e in main (argc=2, argv=0xbffffcc4) at main.c:439

(gdb) up
#6  0x0806ea59 in bndx_find_row (index=0x836dcc0, pos=0x0, reverse_search=0,
    flag=0, op=FILTER_NOOP, conditions=0x0, exclude=0x0) at balsa-index.c:1039
1039                found = bndx_find_row_func(message, flag, conditions, op, exclude,
(gdb) l
1034                if (first_time)
1035                    first_time = FALSE;
1036                else
1037                    break;
1038            } else
1039                found = bndx_find_row_func(message, flag, conditions, op, exclude,
1040                                           bndx_row_is_viewable(index, path));
1041        } while (!found &&
1042                 (reverse_search ? bndx_find_prev(tree_view, path, &iter)
1043                  : bndx_find_next(tree_view, path, &iter, wrap)));




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