Re: balsa lockup problem identified&resolved(?)



On Tue, Apr 03 2001 11:35:00 Pawel Salek wrote:
> This is important information for those of you who experienced balsa
> lockup: I have just identified one problem connected with MT-enabled
> mailbox opening. Hopefully, it was the only one (although I am not quite
> sure). if you have a chance, try the CVS version to verify it (make sure
> there is an entry with 2001-04-03 date).
> 
> /Pawel

I still see balsa lockup.  I built balsa today from CVS where the
latest Changelog entry was:

2001-04-03  Pawel Salek  <pawsa@theochem.kth.se>

        * src/main-window.c: lock GDK in balsa_window_progress_timeout().

Balsa still locked up when I clicked on a mailbox to open it, here
are the gdb traces for all active threads:


(gdb) info threads
  8 Thread 17170  0x40217913 in gtk_emission_check (emission=0x812f2d4,
    object=0x81b5ee8, signal_id=138) at gtksignal.c:1878
* 2 Thread 17158 (initial thread)  0x402178ad in gtk_emission_remove (
    emissions=0x402762ac, object=0x816ccf8, signal_id=18) at gtksignal.c:1854
  1 Thread 17159 (manager thread)  0x407abf30 in __poll (fds=0x81937b0,
    nfds=1, timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:45
(gdb) thread 1
[Switching to thread 1 (Thread 17159 (manager thread))]
#0  0x407abf30 in __poll (fds=0x81937b0, nfds=1, timeout=2000)
    at ../sysdeps/unix/sysv/linux/poll.c:45
45      in ../sysdeps/unix/sysv/linux/poll.c
(gdb) where
#0  0x407abf30 in __poll (fds=0x81937b0, nfds=1, timeout=2000)
    at ../sysdeps/unix/sysv/linux/poll.c:45
#1  0x40424915 in __pthread_manager (arg=0xb) at manager.c:128
(gdb) thread 2
[Switching to thread 2 (Thread 17158 (initial thread))]
#0  0x402178ad in gtk_emission_remove (emissions=0x402762ac, object=0x816ccf8,
    signal_id=18) at gtksignal.c:1854
1854    in gtksignal.c
(gdb) where
#0  0x402178ad in gtk_emission_remove (emissions=0x402762ac, object=0x816ccf8,
    signal_id=18) at gtksignal.c:1854
#1  0x40216fb4 in gtk_signal_real_emit (object=0x816ccf8, signal_id=18,
    params=0xbfffeda4) at gtksignal.c:1533
#2  0x40214f35 in gtk_signal_emit (object=0x816ccf8, signal_id=18)
    at gtksignal.c:552
#3  0x402494a8 in gtk_widget_size_allocate (widget=0x816ccf8,
    allocation=0x816cd18) at gtkwidget.c:2493
#4  0x401a9a95 in gtk_container_resize_children (container=0x8139a30)
    at gtkcontainer.c:1087
#5  0x40252913 in gtk_window_move_resize (window=0x8139a30) at gtkwindow.c:1724
#6  0x40252246 in gtk_window_check_resize (container=0x8139a30)
    at gtkwindow.c:1440
#7  0x401ea25d in gtk_marshal_NONE__NONE (object=0x8139a30,
    func=0x402521a0 <gtk_window_check_resize>, func_data=0x0, args=0xbffff1ec)
    at gtkmarshal.c:312
#8  0x40216e6b in gtk_signal_real_emit (object=0x8139a30, signal_id=63,
    params=0xbffff1ec) at gtksignal.c:1492
#9  0x40214f35 in gtk_signal_emit (object=0x8139a30, signal_id=63)
    at gtksignal.c:552
#10 0x401a97c8 in gtk_container_check_resize (container=0x8139a30)
    at gtkcontainer.c:928
#11 0x401a94bf in gtk_container_idle_sizer (data=0x0) at gtkcontainer.c:847
#12 0x40409179 in g_idle_dispatch (source_data=0x401a9460,
    dispatch_time=0xbffff520, user_data=0x0) at gmain.c:1365
#13 0x404081b6 in g_main_dispatch (dispatch_time=0xbffff520) at gmain.c:656
#14 0x40408781 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
#15 0x40408921 in g_main_run (loop=0x80e5760) at gmain.c:935
#16 0x401e8919 in gtk_main () at gtkmain.c:476
#17 0x807a6d5 in main (argc=1, argv=0xbffff5cc) at main.c:402
(gdb) thread 8
[Switching to thread 8 (Thread 17170)]
#0  0x40217913 in gtk_emission_check (emission=0x812f2d4, object=0x81b5ee8,
    signal_id=138) at gtksignal.c:1878
1878    in gtksignal.c
(gdb) where
#0  0x40217913 in gtk_emission_check (emission=0x812f2d4, object=0x81b5ee8,
    signal_id=138) at gtksignal.c:1878
#1  0x40216c10 in gtk_signal_real_emit (object=0x81b5ee8, signal_id=138,
    params=0xbedff6a4) at gtksignal.c:1417
#2  0x40215259 in gtk_signal_emit_by_name (object=0x81b5ee8,
    name=0x4025697f "changed") at gtksignal.c:618
#3  0x4019e402 in adjust_adjustments (clist=0x8222c88, block_resize=0)
    at gtkclist.c:6077
#4  0x4019e0be in clist_refresh (clist=0x8222c88) at gtkclist.c:5997
#5  0x40194e56 in real_resize_column (clist=0x8222c88, column=0, width=22)
    at gtkclist.c:1874
#6  0x401ea1e9 in gtk_marshal_NONE__INT_INT (object=0x8222c88,
    func=0x40194d20 <real_resize_column>, func_data=0x0, args=0xbedffa58)
    at gtkmarshal.c:284
#7  0x40216e6b in gtk_signal_real_emit (object=0x8222c88, signal_id=154,
    params=0xbedffa58) at gtksignal.c:1492
#8  0x40214f35 in gtk_signal_emit (object=0x8222c88, signal_id=154)
    at gtksignal.c:552
#9  0x40194988 in gtk_clist_set_column_width (clist=0x8222c88, column=0,
    width=22) at gtkclist.c:1736
#10 0x8064d80 in balsa_index_init (bindex=0x8222058) at balsa-index.c:297
#11 0x4023d201 in gtk_type_new (type=66069) at gtktypeutils.c:399
#12 0x8065001 in balsa_index_new () at balsa-index.c:365
#13 0x807707b in real_open_mbnode (mbnode=0x8133808) at main-window.c:1062
#14 0x40424b85 in pthread_start_thread (arg=0xbedffe40) at manager.c:241


I hope this helps,
~Jason

-- 
/--------------------------------------------------------------------\
| Jason A. Smith                     E-mail:  smithj4_rpi@yahoo.com  |
| Physics Department                 Phone:   (518)276-2050          |
| Rensselaer Polytechnic Institute   FAX:     (518)276-6680          |
| Troy, NY 12180-3590                WWW:          N/A               |
\--------------------------------------------------------------------/




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