Balsa hangs when turning off SSL for IMAP



I have SSL turned on (port 993) in the config for my IMAP server.
I turned it off to be able to tcpdump the session, and that
made balsa 2.2.3 hang (2.0.17 doesn't have this problem).

Settings -> Preferences -> Mail servers -> IMAP server -> Modify ->
Remote IMAP folder -> Advanced -> Use SSL on/off -> Update -> Hang

This is where it hangs. Could it be that SSL was turned off on the
_current_ connection, so that balsa tries to talk plaintext over
the existing SSL session ? See #8 ..


(gdb) where
#0  0x414c9d15 in poll () from /lib/tls/libc.so.6
#1  0x0810bfd8 in raw_read (sio=0x85b69c8,
   buf=0x85c7d78 "..RA..RA", '.' <repeats 192 times>..., len=8192)
   at siobuf.c:509
#2  0x0810c05a in sio_fill (sio=0x85b69c8) at siobuf.c:530
#3  0x0810c1a2 in sio_read (sio=0x85b69c8, bufp=0xbfffe277, buflen=1)
   at siobuf.c:582
#4  0x0810c201 in sio_getc (sio=0xfffffffc) at siobuf.c:588
#5  0x08103fbf in imap_cmd_get_tag (sio=0x85b69c8, tag=0xbfffe2d0 "\033",
   len=7) at imap-handle.c:501
#6  0x08105398 in imap_cmd_step (handle=0x85c5cb0, lastcmd=0)
   at imap-handle.c:1088
#7  0x08103cc5 in imap_mbox_connect (handle=0x85c5cb0) at imap-handle.c:424
#8  0x0810395c in imap_mbox_handle_connect (ret=0x85c5cb0,
   host=0x827b178 "imap.cistron-office.nl:993", over_ssl=0)
   at imap-handle.c:257
#9  0x080fd86b in libbalsa_imap_server_get_handle (imap_server=0x827aef8,
   err=0xfffffffc) at imap-server.c:540
#10 0x080d3c23 in libbalsa_scanner_imap_dir (rnode=0x827d5e0,
   server=0x827aef8, path=0x827e458 "", subscribed=1, list_inbox=0,
   check_imap_path=0xfffffffc, mark_imap_path=0xfffffffc,
   handle_imap_path=0x8096e30 <handle_imap_path>, cb_data=0xbfffe430,
   error=0xbfffe42c) at folder-scanners.c:376
---Type <return> to continue, or q <return> to quit---
#11 0x08094d2e in imap_dir_cb_real (r=0x827d5e0) at mailbox-node.c:409
#12 0x41048121 in g_cclosure_marshal_VOID__VOID ()
  from /usr/lib/libgobject-2.0.so.0
#13 0x41033c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x41047c25 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#15 0x41046be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x41046ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x08095662 in balsa_mailbox_node_append_subtree (mn=0xfffffffc)
   at mailbox-node.c:614
#18 0x0808e3db in folder_conf_clicked_ok (fcw=0x85ce8b8) at folder-conf.c:224
#19 0x0808e026 in folder_conf_response (dialog=0x85ba868, response=-5,
   cdd=0x85ce8b8) at folder-conf.c:111
#20 0x4104845e in g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0
#21 0x41033c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0x41047c25 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#23 0x41046be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0x41046ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0x40be855c in gtk_dialog_response () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x40be7bdc in gtk_dialog_new_with_buttons ()
  from /usr/lib/libgtk-x11-2.0.so.0
#27 0x41048121 in g_cclosure_marshal_VOID__VOID ()
  from /usr/lib/libgobject-2.0.so.0
#28 0x41033c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#29 0x41047c25 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#30 0x41046be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#31 0x41046ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#32 0x40b9c075 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x40b9d08b in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x41048121 in g_cclosure_marshal_VOID__VOID ()
  from /usr/lib/libgobject-2.0.so.0
#35 0x41033fb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#36 0x41033c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#37 0x4104744e in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#38 0x41046be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#39 0x41046ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#40 0x40b9bfc5 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#41 0x40b9cf0b in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#42 0x40c58b64 in _gtk_marshal_BOOLEAN__BOXED ()
  from /usr/lib/libgtk-x11-2.0.so.0
#43 0x41033fb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#44 0x41033c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#45 0x41047655 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#46 0x410469be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#47 0x41046ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#48 0x40d57427 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#49 0x40c57102 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#50 0x40c55e56 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#51 0x40f60175 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#52 0x4108c902 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#53 0x4108d9f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0x4108dd30 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0x4108e373 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#56 0x40c55713 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#57 0x0809fc6e in main (argc=1, argv=0xbffffac4) at main.c:612
(gdb)






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