On Mon, 10 Mar 2003 00:42:27 +0100 (Romance Standard Time) Vadim Zeitlin <[EMAIL
PROTECTED]> wrote:
> On Sun, 9 Mar 2003 14:26:16 -0800 (PST) Michael A Chase
> <[EMAIL PROTECTED]> wrote:
>
> MAC> When I right click on a POP folder to change that preference, the
> MAC> preferences dialog appears and I can change the use TLS value, but
> MAC> when I close the dialog Mahogany tries to get messages from the
> MAC> server and dies.
>
> Do you mean dies as in "crashes"? If so, could you please run it under
> debugger and send here the backtrace? Alternatively, does anyone have an
> account available for testing on Courier (Nerijus, didn't you have one?)
> with STARTTLS support? I only have access to UW-IMAPd and Cyrus (another
> one which it would be nice to have access to is MS Exchange BTW).
A dialog box titled "Fatal application error" appears and the program
exits when I press the 'OK' button in the dialog box. The log ends
with the line "Mail log: +OK Begin TLS negotiations". This is the
same thing that happens when I just select the folder to open it.
I compiled both wxWindows and M with and without debugging options.
The configure commands for the versions in the backtrace were
../wxWindows-2.4/configure --enable-debug --enable-debug_gdb \
--disable-threads --disable-joystick --with-gtk
and
../M/configure --with-modules=static -enable-debug --with-wxdebug
respectively. I also have a backtrace from the non-debugging version
if you are interested.
The attached files are from a run where I just selected the
'MyReal POP' folder after the program started.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
[EMAIL PROTECTED] .M]$ gdb ~/projects/Mahogany/Linux-debug/src/M
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) r
Starting program: /home/mchase/projects/Mahogany/Linux-debug/src/M
### Selected folder 'MyReal POP'
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x082133b9 in SSL_CTX_ctrl (ctx=0x856dcb8, cmd=-1073752720,
larg=268435456, parg=0x8567a98 ": 0") at .src/util/ssl.cpp:115
#2 0x082a6c94 in ssl_start_work (stream=0x856dcb8,
host=0xbfffd570 "pop3.myrealbox.com", flags=268435456) at osdep.c:409
#3 0x082a6acf in ssl_start (tstream=0x0,
host=0xbfffd570 "pop3.myrealbox.com", flags=268435456) at osdep.c:352
#4 0x082d2865 in pop3_auth (stream=0x8516b68, mb=0xbfffd570,
pwd=0xbfffdd10 "P���Q\177", usr=0xbfffd910 "") at pop3.c:468
#5 0x082d1bb9 in pop3_open (stream=0x8516b68) at pop3.c:334
#6 0x082abe23 in mail_open (stream=0x8516b68,
name=0x856a314 "{pop3.myrealbox.com/user=mchase/pop3}", options=138257792)
at mail.c:1080
#7 0x081e7528 in MailOpen (stream=0x0,
mailbox=0x856a314 "{pop3.myrealbox.com/user=mchase/pop3}", options=1)
at .src/mail/MailFolderCC.cpp:281
#8 0x081dce83 in MailFolderCC::Open(MailFolder::OpenMode) (this=0x856b780,
openmode=Normal) at .src/mail/MailFolderCC.cpp:2212
#9 0x081dc074 in MailFolderCC::OpenFolder(MFolder const*, wxString const&, wxString
const&, MailFolder::OpenMode, wxFrame*) (folder=0x8511bb8,
[EMAIL PROTECTED], [EMAIL PROTECTED], openmode=Normal, frame=0x84d05d0)
at .src/mail/MailFolderCC.cpp:1873
#10 0x081fe232 in MFDriver::OpenFolder(MFolder const*, wxString const&, wxString
const&, MailFolder::OpenMode, wxFrame*) (this=0x845e560, folder=0x8511bb8,
[EMAIL PROTECTED], [EMAIL PROTECTED], mode=Normal, frame=0x84d05d0)
at /home/mchase/projects/Mahogany/M/include/mail/Driver.h:134
#11 0x081f2506 in MailFolder::OpenFolder(MFolder const*, MailFolder::OpenMode,
wxFrame*) (folder=0x8511bb8, mode=Normal, frame=0x84d05d0)
at .src/mail/MailFolder.cpp:203
#12 0x081371f7 in wxFolderView::OpenFolder(MFolder*, bool) (this=0x850bff0,
folder=0x8511bb8, readonly=false) at .src/gui/wxFolderView.cpp:3879
#13 0x0815fcb9 in wxMainFrame::OpenFolder(MFolder*, bool) (this=0x84d05d0,
pFolder=0x8511bb8, readonly=false) at .src/gui/wxMainFrame.cpp:686
#14 0x081623d6 in wxMainFolderTree::OnOpenHere(MFolder*) (this=0x8509d68,
folder=0x8511bb8) at .src/gui/wxMainFrame.cpp:149
#15 0x081230c9 in wxFolderTree::OnSelectionChange(MFolder*, MFolder*) (
this=0x8509d68, newsel=0x8511bb8) at .src/gui/wxFolderTree.cpp:884
#16 0x08162399 in wxMainFolderTree::OnSelectionChange(MFolder*, MFolder*) (
this=0x8509d68, oldsel=0x8511a18, newsel=0x8511bb8)
at .src/gui/wxMainFrame.cpp:139
#17 0x08128809 in wxFolderTreeImpl::OnTreeSelect(wxTreeEvent&) (
this=0x8506be0, [EMAIL PROTECTED]) at .src/gui/wxFolderTree.cpp:2476
#18 0x40302fc0 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) (
this=0x8506be0, [EMAIL PROTECTED], [EMAIL PROTECTED])
at ../wxWindows-2.4/src/common/event.cpp:954
#19 0x40302d44 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x8506be0,
[EMAIL PROTECTED]) at ../wxWindows-2.4/src/common/event.cpp:870
#20 0x4024bbc2 in wxGenericTreeCtrl::SelectItem(wxTreeItemId const&, bool, bool)
(this=0x8506be0, [EMAIL PROTECTED], unselect_others=true,
extended_select=false) at ../wxWindows-2.4/src/generic/treectlg.cpp:1812
#21 0x4024ffe1 in wxGenericTreeCtrl::OnMouse(wxMouseEvent&) (this=0x8506be0,
[EMAIL PROTECTED]) at ../wxWindows-2.4/src/generic/treectlg.cpp:3051
#22 0x40302fc0 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) (
this=0x8506be0, [EMAIL PROTECTED], [EMAIL PROTECTED])
at ../wxWindows-2.4/src/common/event.cpp:954
#23 0x40302d44 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x8506be0,
[EMAIL PROTECTED]) at ../wxWindows-2.4/src/common/event.cpp:870
#24 0x402b8036 in gtk_window_button_press_callback (widget=0x8509a50,
gdk_event=0x855c7f0, win=0x8506be0)
at ../wxWindows-2.4/src/gtk/window.cpp:1712
#25 0x40708106 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#26 0x40744fa5 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#27 0x40743fbb in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#28 0x407414ae in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#29 0x40787346 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#30 0x40707f0f in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#31 0x40706c54 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#32 0x407d12d5 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#33 0x4080797e in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#34 0x40807e59 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#35 0x408080f4 in g_main_run () from /usr/lib/libglib-1.2.so.0
#36 0x407066df in gtk_main () from /usr/lib/libgtk-1.2.so.0
#37 0x40257faa in wxApp::MainLoop() (this=0x84b3a28)
at ../wxWindows-2.4/src/gtk/app.cpp:649
#38 0x402c2089 in wxAppBase::OnRun() (this=0x84b3a28)
at ../wxWindows-2.4/src/common/appcmn.cpp:142
#39 0x08165891 in wxMApp::OnRun() (this=0x84b3a28) at .src/gui/wxMApp.cpp:995
#40 0x40258703 in wxEntry(int, char**) (argc=1, argv=0xbffff764)
at ../wxWindows-2.4/src/gtk/app.cpp:923
#41 0x08163aee in main (argc=1, argv=0xbffff764) at .src/gui/wxMApp.cpp:293
#42 0x42015a54 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) q
05:57:40 PM: Opening mailbox "INBOX"...
05:57:40 PM: Mailbox "INBOX" opened.
05:57:40 PM: The folder 'INBOX' is already opened.
05:57:43 PM: Successfully loaded 'libcrypto.so' and 'libssl.so' - SSL authentification
is now available.
05:57:43 PM: Opening mailbox "MyReal POP"...
05:57:43 PM: Mail log: Trying IP address [192.108.102.201], error level: 0
05:57:43 PM: Mail log: +OK myrealbox.com NetMail POP3 Agent $Revision: 3.19 $
05:57:43 PM: Mail log: myrealbox.com NetMail POP3 Agent $Revision: 3.19 $, error
level: 0
05:57:43 PM: Mail log: CAPA
05:57:43 PM: Mail log: +OK
05:57:43 PM: Mail log: TOP
05:57:43 PM: Mail log: USER
05:57:43 PM: Mail log: SASL LOGIN
05:57:43 PM: Mail log: RESP-CODES
05:57:43 PM: Mail log: PIPELINING
05:57:43 PM: Mail log: EXPIRE NEVER
05:57:43 PM: Mail log: UIDL
05:57:43 PM: Mail log: STLS
05:57:43 PM: Mail log: .
05:57:43 PM: Mail log: STLS
05:57:43 PM: Mail log: +OK Begin TLS negotiations