Bug 151 - Crash on fetching mail with wrong accountdata
: Crash on fetching mail with wrong accountdata
Status: RESOLVED FIXED
: Sylpheed-Claws (GTK1)
POP3
: 0.9.0
: PC Linux
: P3 minor
Assigned To:
:
:
:
  Show dependency treegraph
 
Reported: 2003-05-16 12:26 by
Modified: 2003-07-23 19:06 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-05-16 12:26:10
When I quit my old Compuserve accoount recently, I discovered that the current 
CVS crashes reliabely when trying to connect to the no longer existing account. (I 
wanted to make sure the account was closed). 
 
The mail fetching log shows as last messages: 
'Failed to open .... ' 
'Failure on authentication' 
 
I hope the following valgrind output may be helpful. 
 
==23303== Invalid read of size 4 
==23303==    at 0x4044D86C: trecurse (in /lib/libc.so.6) 
==23303==    by 0x4044D8A5: trecurse (in /lib/libc.so.6) 
==23303==    by 0x4044D907: __twalk (in /lib/libc.so.6) 
==23303==    by 0x4039D32E: __gconv_release_shlib (in /lib/libc.so.6) 
==23303==    by 0x40395A7A: __gconv_release_step (in /lib/libc.so.6) 
==23303==    by 0x40396729: __gconv_close_transform (in /lib/libc.so.6) 
==23303==    by 0x403956FC: __gconv_close (in /lib/libc.so.6) 
==23303==    by 0x403A1E8A: _nl_free_domain_conv (in /lib/libc.so.6) 
==23303==    by 0x403A22B0: _nl_unload_domain (in /lib/libc.so.6) 
==23303==    by 0x403A1BCD: free_mem (in /lib/libc.so.6) 
==23303==    by 0x403EF523: __libc_freeres (in /lib/libc.so.6) 
==23303==    by 0x40168A5B: vgPlain___libc_freeres_wrapper (in 
/usr/lib/valgrind/valgrind.so) 
==23303==    by 0x403A8047: exit (in /lib/libc.so.6) 
==23303==    by 0x806E114: clean_quit (main.c:539) 
==23303==    by 0x814180B: crash_handler (crash.c:510) 
==23303==    by 0x4017EC7F: (within /usr/lib/valgrind/valgrind.so) 
==23303==    by 0x406400ED: g_io_channel_read (giochannel.c:75) 
==23303==    by 0x815BE78: session_recv_msg (session.c:372) 
==23303==    by 0x815CAF3: session_child_input (session.c:833) 
==23303==    by 0x815B8EB: session_connect (session.c:175) 
==23303==    Address 0x41E1C560 is 4 bytes inside a block of size 16 free'd 
==23303==    at 0x4016810F: free (in /usr/lib/valgrind/valgrind.so) 
==23303==    by 0x4044D953: tdestroy_recurse (in /lib/libc.so.6) 
==23303==    by 0x4044D934: tdestroy_recurse (in /lib/libc.so.6) 
==23303==    by 0x4044D981: __tdestroy (in /lib/libc.so.6) 
==23303==    by 0x4039D3A8: free_mem (in /lib/libc.so.6) 
==23303==    by 0x403EF523: __libc_freeres (in /lib/libc.so.6) 
==23303==    by 0x40168A5B: vgPlain___libc_freeres_wrapper (in 
/usr/lib/valgrind/valgrind.so) 
==23303==    by 0x403A8047: exit (in /lib/libc.so.6) 
==23303==    by 0x806E114: clean_quit (main.c:539) 
==23303==    by 0x814180B: crash_handler (crash.c:510) 
==23303==    by 0x4017EC7F: (within /usr/lib/valgrind/valgrind.so) 
==23303==    by 0x406400ED: g_io_channel_read (giochannel.c:75) 
==23303==    by 0x815BE78: session_recv_msg (session.c:372) 
==23303==    by 0x815CAF3: session_child_input (session.c:833) 
==23303==    by 0x815B8EB: session_connect (session.c:175) 
==23303==    by 0x810D9F5: inc_pop3_session_do (inc.c:704) 
==23303==    by 0x810D2FB: inc_start (inc.c:511) 
==23303==    by 0x810CB2D: inc_account_mail (inc.c:255) 
==23303==    by 0x810C9E2: inc_mail (inc.c:197) 
==23303==    by 0x813E8D7: inc_mail_cb (toolbar.c:1993) 
 
 
inc.c:1131:added timer = 261 
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown). 
==23176== 
==23176== Invalid read of size 4 
==23176==    at 0x40395A46: __gconv_release_step (in /lib/libc.so.6) 
==23176==    by 0x40396729: __gconv_close_transform (in /lib/libc.so.6) 
==23176==    by 0x403956FC: __gconv_close (in /lib/libc.so.6) 
==23176==    by 0x403A1E8A: _nl_free_domain_conv (in /lib/libc.so.6) 
==23176==    by 0x403A22B0: _nl_unload_domain (in /lib/libc.so.6) 
==23176==    by 0x403A1BCD: free_mem (in /lib/libc.so.6) 
==23176==    by 0x403EF523: __libc_freeres (in /lib/libc.so.6) 
==23176==    by 0x40168A5B: vgPlain___libc_freeres_wrapper (in 
/usr/lib/valgrind/valgrind.so) 
==23176==    by 0x403A8047: exit (in /lib/libc.so.6) 
==23176==    by 0x4060528A: gdk_x_io_error (gdk.c:1141) 
==23176==    by 0x40694F54: _XIOError (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40692133: _XFlushInt (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40691FDB: _XFlush (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x406921CE: _XEventsQueued (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x406871D6: XPending (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40611921: gdk_event_prepare (gdkevents.c:2080) 
==23176==    by 0x40641F52: g_main_iterate (gmain.c:771) 
==23176==    by 0x4064243B: g_main_run (gmain.c:935) 
==23176==    by 0x4055D7AB: gtk_main (gtkmain.c:524) 
==23176==    by 0x806DA27: main (main.c:359) 
==23176==    Address 0x41E1BF6C is 64 bytes inside a block of size 112 free'd 
==23176==    at 0x4016810F: free (in /usr/lib/valgrind/valgrind.so) 
==23176==    by 0x40395A14: free_derivation (in /lib/libc.so.6) 
==23176==    by 0x4044D94A: tdestroy_recurse (in /lib/libc.so.6) 
==23176==    by 0x4044D981: __tdestroy (in /lib/libc.so.6) 
==23176==    by 0x4039682D: free_mem (in /lib/libc.so.6) 
==23176==    by 0x403EF523: __libc_freeres (in /lib/libc.so.6) 
==23176==    by 0x40168A5B: vgPlain___libc_freeres_wrapper (in 
/usr/lib/valgrind/valgrind.so) 
==23176==    by 0x403A8047: exit (in /lib/libc.so.6) 
==23176==    by 0x4060528A: gdk_x_io_error (gdk.c:1141) 
==23176==    by 0x40694F54: _XIOError (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40692133: _XFlushInt (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40691FDB: _XFlush (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x406921CE: _XEventsQueued (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x406871D6: XPending (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40611921: gdk_event_prepare (gdkevents.c:2080) 
==23176==    by 0x40641F52: g_main_iterate (gmain.c:771) 
==23176==    by 0x4064243B: g_main_run (gmain.c:935) 
==23176==    by 0x4055D7AB: gtk_main (gtkmain.c:524) 
==23176==    by 0x806DA27: main (main.c:359) 
==23176==    by 0x403947ED: __libc_start_main (in /lib/libc.so.6) 
==23176== 
==23176== Invalid write of size 4 
==23176==    at 0x40395A4C: __gconv_release_step (in /lib/libc.so.6) 
==23176==    by 0x40396729: __gconv_close_transform (in /lib/libc.so.6) 
==23176==    by 0x403956FC: __gconv_close (in /lib/libc.so.6) 
==23176==    by 0x403A1E8A: _nl_free_domain_conv (in /lib/libc.so.6) 
==23176==    by 0x403A22B0: _nl_unload_domain (in /lib/libc.so.6) 
==23176==    by 0x403A1BCD: free_mem (in /lib/libc.so.6) 
==23176==    by 0x403EF523: __libc_freeres (in /lib/libc.so.6) 
==23176==    by 0x40168A5B: vgPlain___libc_freeres_wrapper (in 
/usr/lib/valgrind/valgrind.so) 
==23176==    by 0x403A8047: exit (in /lib/libc.so.6) 
==23176==    by 0x4060528A: gdk_x_io_error (gdk.c:1141) 
==23176==    by 0x40694F54: _XIOError (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40692133: _XFlushInt (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40691FDB: _XFlush (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x406921CE: _XEventsQueued (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x406871D6: XPending (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40611921: gdk_event_prepare (gdkevents.c:2080) 
==23176==    by 0x40641F52: g_main_iterate (gmain.c:771) 
==23176==    by 0x4064243B: g_main_run (gmain.c:935) 
==23176==    by 0x4055D7AB: gtk_main (gtkmain.c:524) 
==23176==    by 0x806DA27: main (main.c:359) 
==23176==    Address 0x41E1BF6C is 64 bytes inside a block of size 112 free'd 
==23176==    at 0x4016810F: free (in /usr/lib/valgrind/valgrind.so) 
==23176==    by 0x40395A14: free_derivation (in /lib/libc.so.6) 
==23176==    by 0x4044D94A: tdestroy_recurse (in /lib/libc.so.6) 
==23176==    by 0x4044D981: __tdestroy (in /lib/libc.so.6) 
==23176==    by 0x4039682D: free_mem (in /lib/libc.so.6) 
==23176==    by 0x403EF523: __libc_freeres (in /lib/libc.so.6) 
==23176==    by 0x40168A5B: vgPlain___libc_freeres_wrapper (in 
/usr/lib/valgrind/valgrind.so) 
==23176==    by 0x403A8047: exit (in /lib/libc.so.6) 
==23176==    by 0x4060528A: gdk_x_io_error (gdk.c:1141) 
==23176==    by 0x40694F54: _XIOError (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40692133: _XFlushInt (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40691FDB: _XFlush (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x406921CE: _XEventsQueued (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x406871D6: XPending (in /usr/X11R6/lib/libX11.so.6.2) 
==23176==    by 0x40611921: gdk_event_prepare (gdkevents.c:2080) 
==23176==    by 0x40641F52: g_main_iterate (gmain.c:771) 
==23176==    by 0x4064243B: g_main_run (gmain.c:935) 
==23176==    by 0x4055D7AB: gtk_main (gtkmain.c:524) 
==23176==    by 0x806DA27: main (main.c:359) 
==23176==    by 0x403947ED: __libc_start_main (in /lib/libc.so.6) 
 
Regards, Martin
------- Comment #1 From 2003-05-17 06:21:53 -------
How do you connect to a no longer existing account?

Anyway the
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown). 
looks like bug 102. You should have added your sylpheed version to the bug report.
------- Comment #2 From 2003-05-25 13:44:42 -------
Indeed: Is it reproducable with 0.9.0claws? 
------- Comment #3 From 2003-07-23 07:48:32 -------
no reponse to this bug report for a long time, can't reproduce it, and so
closing it now.

Martin, reopen this bug report if you still have the problem
------- Comment #4 From 2003-07-23 19:06:10 -------
Sorry for not answering to the comments. I don't know why I missed them. I can 
no longer reproduce the problem. So Paul you were right to close it.