Re: gtk3 imap connection issue
- From: Pawel Salek <pawsa0 gmail com>
- To: balsa-list gnome org
- Subject: Re: gtk3 imap connection issue
- Date: Thu, 28 Jun 2012 00:06:45 +0200
On 06/27/2012 05:10:38 PM, Peter Bloomfield wrote:
Hi Carlos,
On 06/27/2012 10:13:49 AM Wed, Carlos Franke wrote:
I wrote:
They are repeatable, a stack trace is pasted below. Note:
– This is from the commit
d28ad8a95ae96f4d8117df6bf1fdc09957289757 (June 19th). I am building
the latest one right now and will let you know it it behaves
differently.
It does. First, the output of "balsa D" is different, it goes one
step further than "3 OK Completed.":
That difference in behavior may be related to opening INBOX initially
instead of manually, rather than to the more recent commits.
Both stack traces suggest that it's a locking issue: main thread
holding lock A and asking for lock B, while a subthread holds lock B
and asks for lock A. Identifying A and B is difficult, however,
because the traces have no debugging information from Balsa. Could
you rebuild Balsa to include it? Perhaps 'make CFLAGS="-g -O2"'?
I get following stack trace:
Thread 3 (Thread 0x7fdc78a69700 (LWP 1662)):
#0 0x00000033b38e8eef in poll () from /lib64/libc.so.6
#1 0x00000033b50479b4 in ?? () from /lib64/libglib-2.0.so.0
#2 0x00000033b5047e12 in g_main_loop_run () from
/lib64/libglib-2.0.so.0
#3 0x00000033b78c9266 in ?? () from /lib64/libgio-2.0.so.0
#4 0x00000033b506a345 in ?? () from /lib64/libglib-2.0.so.0
#5 0x00000033b3c07d14 in start_thread () from /lib64/libpthread.so.0
#6 0x00000033b38f199d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7fdc5bfff700 (LWP 3051)):
#0 0x00000033b3c0b595 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x00000033b508396f in g_cond_wait () from /lib64/libglib-2.0.so.0
#2 0x0000000000427b9b in balsa_find_url (url=<optimized out>) at
balsa-app.c:791
#3 balsa_find_url (url=<optimized out>) at balsa-app.c:777
#4 0x0000000000427be6 in balsa_find_mailbox_by_url (url=<optimized
out>) at balsa-app.c:824
#5 0x000000000048cd7a in libbalsa_filter_mailbox_messages
(filt=filt@entry=0xbbba70, mailbox=mailbox@entry=0xf53a20,
msgnos=msgnos@entry=0x7fdc5c2a4630) at filter.c:302
#6 0x000000000049ee10 in libbalsa_mailbox_run_filters_on_reception
(mailbox=mailbox@entry=0xf53a20) at mailbox.c:904
#7 0x00000000004a4c67 in libbalsa_mailbox_imap_open (mailbox=0xf53a20,
err=<optimized out>) at mailbox_imap.c:1120
#8 0x000000000049d586 in libbalsa_mailbox_open
(mailbox=mailbox@entry=0xf53a20, err=err@entry=0xc70720) at
mailbox.c:593
#9 0x00000000004297e9 in bndx_open_mailbox (info=0xc70710) at
balsa-index.c:1106
#10 0x00000033b3c07d14 in start_thread () from /lib64/libpthread.so.0
#11 0x00000033b38f199d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fdc78a6ba00 (LWP 1661)):
#0 0x00000033b3c0b595 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x000000000049600f in libbalsa_lock_mailbox
(mailbox=mailbox@entry=0xf53a20) at libbalsa.c:709
#2 0x000000000049d228 in libbalsa_mailbox_set_threading
(mailbox=0xf53a20, thread_type=LB_MAILBOX_THREADING_FLAT) at
mailbox.c:2501
#3 0x000000000042ed82 in bmbl_open_mailbox (mailbox=0xf53a20,
set_current=1) at balsa-mblist.c:1150
#4 0x000000000042fa3a in balsa_mblist_open_mailbox (mailbox=<optimized
out>) at balsa-mblist.c:1163
#5 0x000000000042fce8 in bmbl_select_mailbox (selection=0xe11a30,
data=<optimized out>) at balsa-mblist.c:935
#6 0x00000033b600f943 in ?? () from /lib64/libgobject-2.0.so.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]