On 09/25/2007 11:01:58 PM, Pawel Salek wrote:
> On 09/25/2007 01:30:16 PM, Mario Mikocevic wrote:
> > [snip]
> >
> > Recently I noticed one peculiar thing - I can almost reliably
> > reproduce that
> > popup box hang if I force balsa process into swap file (or partition).
> > Wrote almost because of 5 attempts it hung 3 times ..
> >
> > Any problems with balsa threads and swap ?
> 
> Not that I know of - but it is an interesting piece of information.
> Maybe there is some timing race that gets exposed when the process
> needs to be swapped in. Do you think you could run balsa under the
> debugger and when it stops working as expected, press Ctrl-C
> and then type:
> 
> thread apply all where

Doh, _finally_ caught it ->

..
working with balsa as ususal (only run from gdb)
..
lotsa of
[New Thread -1248515184 (LWP 18954)]
[Thread -1248515184 (LWP 18954) exited]
[New Thread -1248515184 (LWP 18955)]
[Thread -1248515184 (LWP 18955) exited]
[Thread -1259005040 (LWP 18920) exited]
..
a lot of time passed by
..
see footnote (1)
click on 'Check' button - popup froze with only option 'Hide'
..
after that I can read existing messages in open folders but any new click on  
'Check' produces ->
Already Checking Mail!

so at that moment I did -

Program received signal SIGINT, Interrupt.
[Switching to Thread -1208236320 (LWP 17644)]
0x003d7402 in __kernel_vsyscall ()
(gdb) thread apply all where

Thread 404 (Thread -1269101680 (LWP 18885)):
#0  0x003d7402 in __kernel_vsyscall ()
#1  0x0027a206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x080ddfc6 in libbalsa_lock_mailbox ()
#3  0x080e438e in libbalsa_mailbox_check ()
#4  0x080a13b2 in ?? ()
#5  0x03bd6651 in g_slist_foreach () from /lib/libglib-2.0.so.0
#6  0x080a158c in ?? ()
#7  0x0027644b in start_thread () from /lib/libpthread.so.0
#8  0x00d5180e in clone () from /lib/libc.so.6

Thread 399 (Thread -1248121968 (LWP 18855)):
#0  0x003d7402 in __kernel_vsyscall ()
#1  0x0027a206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x080ddfc6 in libbalsa_lock_mailbox ()
#3  0x080ede9e in ?? ()
#4  0x0027644b in start_thread () from /lib/libpthread.so.0
#5  0x00d5180e in clone () from /lib/libc.so.6

Thread 397 (Thread -1311061104 (LWP 18853)):
#0  0x003d7402 in __kernel_vsyscall ()
#1  0x0027a206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x080ddfc6 in libbalsa_lock_mailbox ()
#3  0x080ee1a3 in ?? ()
#4  0x0027644b in start_thread () from /lib/libpthread.so.0
#5  0x00d5180e in clone () from /lib/libc.so.6

Thread 1 (Thread -1208236320 (LWP 17644)):
#0  0x003d7402 in __kernel_vsyscall ()
#1  0x00d47a43 in poll () from /lib/libc.so.6
#2  0x03bc1803 in ?? () from /lib/libglib-2.0.so.0
#3  0x03bc1b79 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4  0x06142f44 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#5  0x080a21ed in main ()
(gdb)

footnote (1)

prior checking new mail I was replying to one mail and when I clicked send,
compose window was closed, mail (hopefuly) sent but I noticed one peculiar
thing at that very moment. All windows were refreshed, two new emails appeared
in inbox folder _BUT_ email I was replying on did not get 'reply done' icon.


-- 
T-Com
Sektor za profesionalne usluge i poslovna rješenja za IP /
/ Professional Services and IP Business Solutions Department
Mario Mikočević
Draškovićeva 26, Zagreb, 10000
+385  1 4913 800
+385  1 4913 860 (fax)
+385 98  470 801 (GSM)
mario dot mikocevic at t-com dot hr
http://www.t-com.hr
_______________________________________________
balsa-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/balsa-list

Reply via email to