Re: Strange behavior while accessing Gmail Inbox thought Imap



Hi,

I've remarked some problems, maybe related to this thread.

I've setup imap for my gmail account.

The various labelled messages appears as subfolders named after the
label, which is fine.
If I open a folder with only few messages, averything is fine.
I tried to open "all the messages"
balsa was unresponsive during a quite long time (there are 598MB in my
gmail account so I think this can be a normal behaviour.
But after a while, It crashed.

I got a bug-buddy report.

Please find attached this report.

Regards

Jean-Luc

2008/5/5 Bruno Miguel <brunoalexandremiguel gmail com>:
> I've ran valgrid with the options --leak-check=full
> --leak-resolution=high. After 15+ minutes, I stopped valgrid.
> I don't know if the debug completed or not. But I send the result, anyway.
>
> On Sun, May 4, 2008 at 10:58 PM, Bruno Miguel
> <brunoalexandremiguel gmail com> wrote:
>> Any recommended options I should use with valgrind?
>>
>>
>>
>>  On Sun, May 4, 2008 at 10:50 PM, Pawel Salek <pawsa theochem kth se> wrote:
>>  > On 05/04/2008 10:53:32 PM, Bruno Miguel wrote:
>>  >  > I've deactivated the Persistent Cache option, but the same situation
>>  >  > occurs.
>>  >  > I don't know if this is related - probably it is -, but the Inbox
>>  >  > folder that I try to access has more than 1GB of emails.
>>  >
>>  >  Well, you could run balsa through valgrind...
>>  >
>>  >  For what is worth, I use balsa with 700MB IMAP mailboxes and this
>>  >  causes no obvious trouble (it uses 36MB of resident memory)... But it
>>  >  may be specific to my configuration.
>>  >
>>  >  Pawel
>>  >  _______________________________________________
>>  >  balsa-list mailing list
>>  >  balsa-list gnome org
>>  >  http://mail.gnome.org/mailman/listinfo/balsa-list
>>  >
>>
>
> _______________________________________________
> balsa-list mailing list
> balsa-list gnome org
> http://mail.gnome.org/mailman/listinfo/balsa-list
>
>
System: Linux 2.6.25-k8-1 #1 SMP PREEMPT Mon Apr 28 15:21:38 CEST 2008 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Nuvola

Memory status: size: 401731584 vsize: 401731584 resident: 38199296 share: 18546688 rss: 38199296 rss_rlim: 18446744073709551615
CPU usage: start_time: 1210234768 rtime: 612 utime: 559 stime: 53 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/balsa'

[Thread debugging using libthread_db enabled]
[New Thread 0x7fcf1d0cb7a0 (LWP 6598)]
[New Thread 0x42784950 (LWP 31048)]
[New Thread 0x42f85950 (LWP 12927)]
0x00007fcf17f17d04 in __lll_lock_wait () from /lib/libpthread.so.0
#0  0x00007fcf17f17d04 in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00007fcf17f13918 in _L_lock_104 () from /lib/libpthread.so.0
#2  0x00007fcf17f13280 in pthread_mutex_lock () from /lib/libpthread.so.0
#3  0x00000000004946fc in libbalsa_threads_enter () at libbalsa.c:739
#4  0x00007fcf1b1e2cbe in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x00007fcf18baa967 in g_main_context_prepare ()
   from /usr/lib/libglib-2.0.so.0
#6  0x00007fcf18bab028 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0x00007fcf18bab657 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8  0x00007fcf1b578b63 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x0000000000458602 in main (argc=1, argv=0x7fff252270a8) at main.c:874

Thread 3 (Thread 0x42f85950 (LWP 12927)):
#0  0x00007fcf17f17d04 in __lll_lock_wait () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fcf17f13918 in _L_lock_104 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00007fcf17f13280 in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00000000004c5ab4 in imap_mbox_select (handle=0x12197f0, 
    mbox=0x1237e80 "[Gmail]/Tous les messages", readonly_mbox=0x0)
    at imap-commands.c:192
	cmd = <value optimized out>
	mbx7 = <value optimized out>
	rc = <value optimized out>
#4  0x00000000004c9c98 in imap_mbox_handle_reconnect (h=0x12197f0, 
    readonly=0x0) at imap-handle.c:573
	rc = IMAP_SUCCESS
#5  0x000000000049db48 in mi_reconnect (h=0x12197f0) at mailbox_imap.c:530
	icm = (struct ImapCacheManager *) 0x12e9370
	r = <value optimized out>
	old_cnt = 67857
	old_next = 78240
#6  0x000000000049f943 in libbalsa_mailbox_imap_set_threading (
    mailbox=0xc427b0, thread_type=LB_MAILBOX_THREADING_JWZ)
    at mailbox_imap.c:3027
	trials = 2
	mimap = (LibBalsaMailboxImap *) 0xc427b0
	new_tree = <value optimized out>
	msgno = <value optimized out>
	filter = (ImapSearchKey *) 0x1191630
	rc = IMR_SEVERED
	__PRETTY_FUNCTION__ = "libbalsa_mailbox_imap_set_threading"
#7  0x0000000000499ebb in lbm_set_threading (mailbox=0xc427b0, 
    thread_type=128) at mailbox.c:2113
No locals.
#8  0x0000000000499f45 in libbalsa_mailbox_set_threading (mailbox=0xc427b0, 
    thread_type=LB_MAILBOX_THREADING_JWZ) at mailbox.c:2138
	__PRETTY_FUNCTION__ = "libbalsa_mailbox_set_threading"
#9  0x0000000000457080 in bw_real_open_mbnode (info=0x11e9cd0)
    at main-window.c:2285
	index = <value optimized out>
	label = (GtkWidget *) 0xdf6380
	scroll = <value optimized out>
	page_num = 9
	failurep = <value optimized out>
	err = (GError *) 0x0
	message = <value optimized out>
	view_filter = (LibBalsaCondition *) 0xe58560
	mailbox = (LibBalsaMailbox *) 0xc427b0
	open_lock = {__data = {__lock = 1, __count = 0, __owner = 12927, 
    __nusers = 1, __kind = 0, __spins = 0, __list = {__prev = 0x0, 
      __next = 0x0}}, 
  __size = "\001\000\000\000\000\000\000\000\1772\000\000\001", '\0' <repeats 26 times>, __align = 1}
	__PRETTY_FUNCTION__ = "bw_real_open_mbnode"
#10 0x00007fcf17f11017 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0x00007fcf15c825bd in clone () from /lib/libc.so.6
No symbol table info available.
#12 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x42784950 (LWP 31048)):
#0  0x00007fcf17f18edf in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fcf18bdb5a6 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007fcf18bdb8b8 in g_spawn_command_line_sync ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007fcf101294b3 in ?? ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#4  <signal handler called>
No symbol table info available.
#5  0x00000000004d08e2 in bnio_poll (sio=0xdd1f60, 
    want_read=<value optimized out>, want_write=<value optimized out>, fast=0)
    at siobuf.c:303
	npoll = 1
	status = 0
	rval = <value optimized out>
	pollfd = {{fd = 32, events = 1, revents = 0}, {fd = 1115176855, 
    events = 0, revents = 0}}
	__PRETTY_FUNCTION__ = "bnio_poll"
#6  0x00000000004d0a62 in bnio_fill (sio=0xdd1f60) at siobuf.c:522
	__PRETTY_FUNCTION__ = "bnio_fill"
#7  0x00000000004d0d2b in bnio_read (sio=0x616c736157696e64, bufp=0x1, 
    buflen=2) at siobuf.c:592
	buf = 0x1 <Address 0x1 out of bounds>
	count = <value optimized out>
	total = <value optimized out>
	__PRETTY_FUNCTION__ = "bnio_read"
#8  0x00000000004d0d53 in bnio_getc (sio=0x616c736157696e64) at siobuf.c:618
	ch = 0 '\0'
#9  0x00000000004c978a in imap_cmd_step (handle=0x12197f0, lastcmd=55)
    at imap-handle.c:797
	tag = "ñ³\"H\000\000"
	rc = <value optimized out>
	cmdno = <value optimized out>
	ci = <value optimized out>
	__PRETTY_FUNCTION__ = "imap_cmd_step"
	__FUNCTION__ = "imap_cmd_step"
#10 0x00000000004c9ec4 in imap_cmd_exec_cmdno (handle=0x12197f0, 
    cmd=0x4f3232 "NOOP", ret_cmdno=0x0) at imap-handle.c:1988
	cmdno = 55
	rc = <value optimized out>
	__PRETTY_FUNCTION__ = "imap_cmd_exec_cmdno"
#11 0x00000000004c5c42 in imap_mbox_handle_noop (handle=0x12197f0)
    at imap-commands.c:158
	rc = IMR_OK
#12 0x0000000000492bf5 in lb_imap_server_cleanup (imap_server=0xba82c0)
    at imap-server.c:377
	info = (struct handle_info *) 0xfb23e0
	idle_marker = 1210233841
	list = (GList *) 0x11b0e40
#13 0x00007fcf17f11017 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x00007fcf15c825bd in clone () from /lib/libc.so.6
No symbol table info available.
#15 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7fcf1d0cb7a0 (LWP 6598)):
#0  0x00007fcf17f17d04 in __lll_lock_wait () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fcf17f13918 in _L_lock_104 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00007fcf17f13280 in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00000000004946fc in libbalsa_threads_enter () at libbalsa.c:739
	self = 140527522330528
#4  0x00007fcf1b1e2cbe in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#5  0x00007fcf18baa967 in g_main_context_prepare ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00007fcf18bab028 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#7  0x00007fcf18bab657 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x00007fcf1b578b63 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x0000000000458602 in main (argc=1, argv=0x7fff252270a8) at main.c:874
	window = (GtkWidget *) 0x9ba000
	client = (GnomeClient *) 0x750840
	default_icon = <value optimized out>
#0  0x00007fcf17f17d04 in __lll_lock_wait () from /lib/libpthread.so.0
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (281 sec old) ---------------------
opening Boîte de réception..
set_max_connections: set to 20
Server will NOT use IDLE
No cache for gmail - quitting.
Saving mailbox node gmail with group folder-2
Saving 0 children
** Message: init gpgme version 1.1.6
** Message: protocol OpenPGP: engine /usr/bin/gpg2 (home (null), version 2.0.9)
** Message: protocol CMS: engine /usr/bin/gpgsm (home (null), version 2.0.9)
** (balsa:6598): WARNING **: no name for stock_id "balsa_trash_empty"
(balsa:6598): GLib-CRITICAL **: g_key_file_set_string_list: assertion `list != NULL' failed
(balsa:6598): GLib-CRITICAL **: g_key_file_set_string_list: assertion `list != NULL' failed
--------------------------------------------------


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