Crash when accesing Courier IMAPS server



Hi all,

I (try to) use Balsa 2.3.5 at work on a regular P4 workstation. I've
compiled from source (all necessary libraries were installed with
"apt-get builddep balsa") on a Debian 3.1 Sarge (stable). The
"configure" flags used were ./configure --with-ssl --with-gtkhtml
--with-gpgme=gpgme-config --with-gnome --enable-smime

I have no problems accessing two other IMAPS servers, both of them are
Courier, one of them set up by me at home. However, I have problems
connecting to the Courier IMAPS server at work. I am able to create the
IMAPS account, but it crashes immediately after I try to connect to it.
Any subsequent start of Balsa is doomed to crash and I have to remove
the work account in order to use Balsa locally and with the other two
IMAPS servers. This issue affects both Balsa 2.3.4 and 2.3.5

I've collected some debugging information (if fact bug-buddy did it
automatically):



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

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 29193)]
[New Thread 32769 (LWP 29198)]
[New Thread 16386 (LWP 29199)]
0x40f9ac0b in waitpid () from /lib/libpthread.so.0
#0  0x40f9ac0b in waitpid () from /lib/libpthread.so.0
#1  0x401b033c in ?? () from /usr/lib/libgnomeui-2.so.0
#2  0x00000000 in ?? ()
#3  0x40170dae in libgnomeui_module_info_get () from
/usr/lib/libgnomeui-2.so.0
#4  0x40f99825 in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x00000000 in ?? ()
#7  0x0811243b in imap_check_server_identity (ssl=0x8328a70,
host=0x8314820 "mail.avira.local",
    user_cb=0x8102c70 <libbalsa_server_user_cb>, user_arg=0xbf7ff820) at
imap-tls.c:270
#8  0x081125bf in imap_setup_ssl (sio=0xbf7ff820, host=0xbf7ff820
"0§3\bĂ°\024ĂŚ °ùü@\b\005Ă˜ J",
    ssl=0x8328a70, user_cb=0x8102c70 <libbalsa_server_user_cb>,
user_arg=0x82bc4b8) at imap-tls.c:338
#9  0x0810bda5 in imap_mbox_connect (handle=0x83146b8) at
imap-handle.c:541
#10 0x0810b8e8 in imap_mbox_handle_connect (ret=0x83146b8,
host=0x82bc368 "mail.avira.local", over_ssl=1)
    at imap-handle.c:384
#11 0x080db4b0 in libbalsa_imap_server_get_handle
(imap_server=0x82bc4b8, err=0xbf7ff820)
    at imap-server.c:570
#12 0x080e463e in libbalsa_mailbox_imap_get_handle (mimap=0x82bc2d8,
err=0x8339bd8) at mailbox_imap.c:556
#13 0x080e5b56 in lbm_imap_check (mailbox=0x82bc2d8) at
mailbox_imap.c:1150
#14 0x080e5cce in libbalsa_mailbox_imap_check (mailbox=0x82bc2d8) at
mailbox_imap.c:1187
#15 0x080dec21 in libbalsa_mailbox_check (mailbox=0x82bc2d8) at
mailbox.c:591
#16 0x0809d34d in balsa_window_mailbox_check (mailbox=0x82bc2d8) at
main-window.c:2876
#17 0x40d0327f in g_slist_foreach () from /usr/lib/libglib-2.0.so.0
#18 0x0809d488 in check_messages_thread (list=0x8307168) at
main-window.c:2894
#19 0x40f93e51 in pthread_start_thread () from /lib/libpthread.so.0
#20 0x410ba92a in clone () from /lib/libc.so.6

Thread 3 (Thread 16386 (LWP 29199)):
#0  0x40f9ac0b in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x401b033c in ?? () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x40170dae in libgnomeui_module_info_get () from
/usr/lib/libgnomeui-2.so.0
No symbol table info available.
#4  0x40f99825 in __pthread_sighandler () from /lib/libpthread.so.0
No symbol table info available.
#5  <signal handler called>
No symbol table info available.
#6  0x00000000 in ?? ()
No symbol table info available.
#7  0x0811243b in imap_check_server_identity (ssl=0x8328a70,
host=0x8314820 "mail.avira.local",
    user_cb=0x8102c70 <libbalsa_server_user_cb>, user_arg=0xbf7ff820) at
imap-tls.c:270
	data = (unsigned char *) 0x833a730 "0?\207\004\n\002"
	val = (STACK *) 0x0
	nval = (CONF_VALUE *) 0xbf7ff820
	meth = (X509V3_EXT_METHOD *) 0x40f86ee0
	vfy_result = -1082132448
	cert = (X509 *) 0x8339828
	subj = (X509_NAME *) 0xbf7ff820
	ok = 0
	extcount = 13
	i = 8
	j = 1090023136
	stack_len = 137602800
	host_len = 16
#8  0x081125bf in imap_setup_ssl (sio=0xbf7ff820, host=0xbf7ff820
"0§3\bĂ°\024ĂŚ °ùü@\b\005Ă˜ J",
    ssl=0x8328a70, user_cb=0x8102c70 <libbalsa_server_user_cb>,
user_arg=0x82bc4b8) at imap-tls.c:338
No locals.
#9  0x0810bda5 in imap_mbox_connect (handle=0x83146b8) at
imap-handle.c:541
	ssl = (SSL *) 0x8339bd8
	SIO_BUFSZ = 8192
	resp = 137599960
	service = 0x811b5bd "imaps"
#10 0x0810b8e8 in imap_mbox_handle_connect (ret=0x83146b8,
host=0x82bc368 "mail.avira.local", over_ssl=1)
    at imap-handle.c:384
	rc = 3212834848
#11 0x080db4b0 in libbalsa_imap_server_get_handle
(imap_server=0x82bc4b8, err=0xbf7ff820)
    at imap-server.c:570
	server = (LibBalsaServer *) 0x82bc4b8
	info = (struct handle_info *) 0x8318288
	rc = 137599960
#12 0x080e463e in libbalsa_mailbox_imap_get_handle (mimap=0x82bc2d8,
err=0x8339bd8) at mailbox_imap.c:556
	server = (LibBalsaServer *) 0x82bc4b8
	imap_server = (LibBalsaImapServer *) 0xbf7ff820
#13 0x080e5b56 in lbm_imap_check (mailbox=0x82bc2d8) at
mailbox_imap.c:1150
	mimap = (LibBalsaMailboxImap *) 0x82bc2d8
	server = (LibBalsaServer *) 0x82bc4b8
	handle = (ImapMboxHandle *) 0x82bc2d8
	id = 137086136
#14 0x080e5cce in libbalsa_mailbox_imap_check (mailbox=0x82bc2d8) at
mailbox_imap.c:1187
No locals.
#15 0x080dec21 in libbalsa_mailbox_check (mailbox=0x82bc2d8) at
mailbox.c:591
	id = 3212834848
	unthreaded = (GSList *) 0x0
#16 0x0809d34d in balsa_window_mailbox_check (mailbox=0x82bc2d8) at
main-window.c:2876
	threadmessage = (MailThreadMessage *) 0x8319570
	string = (gchar *) 0x8317a50 "lsub-response"
#17 0x40d0327f in g_slist_foreach () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0x0809d488 in check_messages_thread (list=0x8307168) at
main-window.c:2894
	threadmessage = (MailThreadMessage *) 0x8319570
#19 0x40f93e51 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#20 0x410ba92a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread 32769 (LWP 29198)):
#0  0x410b1ada in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x40f93b50 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x410ba92a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 16384 (LWP 29193)):
#0  0x410b4081 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x40361d28 in ?? () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#2  0x0815b7c8 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.
#5  0x402ceea2 in _XPollfdCacheDel () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#6  0x402cfe11 in _XRead () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#7  0x402d0973 in _XReply () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#8  0x402cbdb4 in XSync () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#9  0x40baebd3 in gdk_flush () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#10 0x40b8aad8 in gdk_image_get_colormap () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#11 0x40b8abf8 in _gdk_image_get_scratch () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#12 0x40b957a2 in gdk_rgb_find_color () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#13 0x40b95a87 in gdk_draw_rgb_image_dithalign () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#14 0x40b86aec in gdk_drawable_get_visible_region () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#15 0x40bab8ec in _gdk_x11_convert_to_format () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#16 0x40b858c9 in gdk_draw_pixbuf () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#17 0x40b8fef1 in gdk_pixmap_get_type () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#18 0x40b858c9 in gdk_draw_pixbuf () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#19 0x40b9bdae in gdk_window_clear_area_e () from
/usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#20 0x40b858c9 in gdk_draw_pixbuf () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#21 0x4130d8d7 in g_module_check_init () from
/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
No symbol table info available.
#22 0x4130e4e3 in theme_pixbuf_render () from
/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
No symbol table info available.
#23 0x4130afac in ?? () from
/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
No symbol table info available.
#24 0x081db140 in ?? ()
No symbol table info available.
#25 0x08312a38 in ?? ()
No symbol table info available.
#26 0x00000000 in ?? ()
No symbol table info available.
#27 0xbffff4cc in ?? ()
No symbol table info available.
#28 0x000001ff in ?? ()
No symbol table info available.
#29 0x00000000 in ?? ()
No symbol table info available.
#30 0x00000000 in ?? ()
No symbol table info available.
#31 0x00000000 in ?? ()
No symbol table info available.
#32 0x000003ea in ?? ()
No symbol table info available.
#33 0x00000035 in ?? ()
No symbol table info available.
#34 0x40017028 in ?? ()
No symbol table info available.
#35 0x413103cc in ?? () from
/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
No symbol table info available.
#36 0x4026d2ba in ?? () from /usr/lib/libbonoboui-2.so.0
No symbol table info available.
#37 0x4130f965 in ?? () from
/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
No symbol table info available.
#38 0xbfffef68 in ?? ()
No symbol table info available.
#39 0x4130bfb9 in ?? () from
/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
No symbol table info available.
#40 0x082c0258 in ?? ()
No symbol table info available.
#41 0x08312a38 in ?? ()
No symbol table info available.
#42 0xbffff4cc in ?? ()
No symbol table info available.
#43 0x08287280 in ?? ()
No symbol table info available.
#44 0xbfffef30 in ?? ()
No symbol table info available.
#45 0x00000001 in ?? ()
No symbol table info available.
#46 0x00000001 in ?? ()
No symbol table info available.
#47 0x00000000 in ?? ()
No symbol table info available.
#48 0x00000000 in ?? ()
No symbol table info available.
#49 0x000003ea in ?? ()
No symbol table info available.
#50 0x00000035 in ?? ()
No symbol table info available.
#51 0x40cb27e1 in g_type_check_instance_is_a () from
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#0  0x40f9ac0b in waitpid () from /lib/libpthread.so.0



If there's anything I can do (provide more information, test patches
etc.) just let me know. I've tried different combos of settings when
creating the IMAPS work account, but failed to come up with a working
combination.

Thanks,

-- 
    .
/^)/_/(/
    '

Attachment: signature.asc
Description: OpenPGP digital signature



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