[Bug 383263] New: groupwise/IMAP auth failure hang ...
https://bugzilla.novell.com/show_bug.cgi?id=383263 Summary: groupwise/IMAP auth failure hang ... Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Evolution AssignedTo: bnc-team-evolution@forge.provo.novell.com ReportedBy: mmeeks@novell.com QAContact: lakhil@novell.com Found By: --- I authenticate badly to the groupwise server (though why I have no idea - I did 'forget passwords' and so on already); then I get: Thread 12 (Thread 0xb15cfb90 (LWP 6581)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb72ee7a9 in __lll_lock_wait () from /lib/libpthread.so.0 #2 0xb72e9c66 in _L_lock_89 () from /lib/libpthread.so.0 #3 0xb72e9572 in __pthread_mutex_lock (mutex=0x85d5d74) at pthread_mutex_lock.c:86 #4 0xb68b1ad1 in IA__g_static_rec_mutex_lock (mutex=0x85d5d70) at gthread.c:313 #5 0xb25e1e13 in imap_refresh_info (folder=0x8693298, ex=0x86b2194) at camel-imap-folder.c:582 #6 0xb7e23796 in disco_refresh_info (folder=0x8693298, ex=0x86b2194) at camel-disco-folder.c:269 #7 0xb7e356ce in camel_folder_refresh_info (folder=0x8693298, ex=0x86b2194) at camel-folder.c:301 #8 0xb3184967 in refresh_folder_exec (m=0x86b2180) at mail-ops.c:1554 #9 0xb3181929 in mail_msg_proxy (msg=0x86b2180) at mail-mt.c:523 #10 0xb68b31f6 in g_thread_pool_thread_proxy (data=0x85e3588) at gthreadpool.c:265 #11 0xb68b1b8f in g_thread_create_proxy (data=0x87179b8) at gthread.c:635 #12 0xb72e8175 in start_thread (arg=0xb15cfb90) at pthread_create.c:297 #13 0xb67afdde in clone () from /lib/libc.so.6 Thread 4 (Thread 0xb25d1b90 (LWP 6521)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb67a61d7 in *__GI___poll (fds=0xb25d08d8, nfds=2, timeout=240000) at ./sysdeps/unix/sysv/linux/poll.c:87 #2 0xb7ba668c in _pr_poll_with_poll (pds=0xb25d0b1c, npds=2, timeout=240000) at ptio.c:3895 #3 0xb7e5027f in stream_read (stream=0x86001c0, buffer=0x88ea800 "A00003 NO LOGIN GroupWise login failed\r\nULIST XGWDISPMODE XGWMOVE XGWUNDELETE XGWRETENTION\r\nerver Ready\r\n", n=1024) at camel-tcp-stream-ssl.c:387 #4 0xb7bfd66d in camel_stream_read (stream=0x86001c0, buffer=0x88ea800 "A00003 NO LOGIN GroupWise login failed\r\nULIST XGWDISPMODE XGWMOVE XGWUNDELETE XGWRETENTION\r\nerver Ready\r\n", n=1024) at camel-stream.c:98 #5 0xb7bfa89a in camel_stream_buffer_gets (sbf=0x88a9d60, buf=0xb25d0ca8 "", max=1024) at camel-stream-buffer.c:411 #6 0xb25e48f0 in camel_imap_store_readline (store=0x85d6000, dest=0xb25d1128, ex=0x85dcf50) at camel-imap-store.c:3050 #7 0xb25d9ccd in camel_imap_command_response (store=0x85d6000, response=0xb25d1178, ex=0x85dcf50) at camel-imap-command.c:300 #8 0xb25da4d0 in imap_read_response (store=0x85d6000, ex=0x85dcf50) at camel-imap-command.c:376 #9 0xb25db0fa in camel_imap_command (store=0x85d6000, folder=0x0, ex=0x85dcf50, fmt=0xb25f04fe "LOGIN %S %S") at camel-imap-command.c:118 #10 0xb25ea258 in imap_connect_online (service=0x85d6000, ex=0x85dcf50) at camel-imap-store.c:1416 #11 0xb7e24c8f in disco_connect (service=0x85d6000, ex=0x85dcf50) at camel-disco-store.c:162 #12 0xb7e4578f in camel_service_connect (service=0x85d6000, ex=0x85dcf50) at camel-service.c:371 #13 0xb25e46ba in camel_imap_store_connected (store=0x85d6000, ex=0x85dcf50) at camel-imap-store.c:3010 #14 0xb25e6383 in refresh_refresh (session=0x810fd50, msg=0x85dcf20) at camel-imap-store.c:2660 #15 0xb7e471f2 in session_thread_proxy (msg=0x85dcf20, session=0x810fd50) at camel-session.c:587 #16 0xb68b31f6 in g_thread_pool_thread_proxy (data=0x85dd660) at gthreadpool.c:265 #17 0xb68b1b8f in g_thread_create_proxy (data=0x85dd698) at gthread.c:635 #18 0xb72e8175 in start_thread (arg=0xb25d1b90) at pthread_create.c:297 #19 0xb67afdde in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb65a7720 (LWP 6509)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb67a61d7 in *__GI___poll (fds=0x882b208, nfds=10, timeout=124) at ./sysdeps/unix/sysv/linux/poll.c:87 #2 0xb688b232 in g_main_context_iterate (context=0x80954c0, block=1, dispatch=1, self=0x8068290) at gmain.c:2951 #3 0xb688b86a in IA__g_main_loop_run (loop=0x812fe40) at gmain.c:2850 #4 0xb73df0a3 in bonobo_main () at bonobo-main.c:311 #5 0x0805e1b5 in main (argc=1, argv=Cannot access memory at address 0xe ) at main.c:782 (gdb) t 4 [Switching to thread 4 (Thread 0xb25d1b90 (LWP 6521))]#0 0xffffe430 in __kernel_vsyscall () (gdb) c Continuing. Thread 4 is hung - waiting for something that doesn't come ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=383263
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383263#c1
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=383263
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383263#c2
--- Comment #2 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=383263
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383263#c3
--- Comment #3 from Sankar P
It looks -very- odd to me that camel_stream_buffer_gets has not returned given the (apparent) number of new-lines in the buffer it is reading into [ or is that old data ]. If old data, it'd be good to have some code to quickly wipe the buffer before reading into it, to aid debugging.
It is old data. but we use the same buffer with varying index locations etc. It seems dangerous.
If not - clearly we need to do some intense code-reading to see what error paths that could be going through (?).
I will do that and will get back with a fix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=383263
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=383263
User psankar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383263#c4
Sankar P
https://bugzilla.novell.com/show_bug.cgi?id=383263
Kandepu Prasad
https://bugzilla.novell.com/show_bug.cgi?id=383263
User sragavan@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383263#c5
Srinivasa Ragavan V
https://bugzilla.novell.com/show_bug.cgi?id=383263
User lakhil@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383263#c6
Akhil Laddha
participants (1)
-
bugzilla_noreply@novell.com