2013.09.16 22:12, Vadim Zeitlin rašė:
> If you have symbols (i.e. the binaries are not stripped), then the stack
> was corrupted. In this case, ideal would be to run it under gdb, break on
> setup_twofish() and step over it to see what's going on.
Breakpoint 1, setup_twofish () at .src/util/strutil.cpp:737
737 if ( !gs_GlobalPassword.empty() )
(gdb) n
740 return true;
(gdb) n
802 }
(gdb) n
strutil_encrypt_tf (original=...) at .src/util/strutil.cpp:813
813 CryptData input(original.utf8_str());
(gdb) n
814 CryptData output;
(gdb) n
815 int rc = TwoFishCrypt(1, 128, gs_GlobalPassword.utf8_str(),
&input ,&output);
(gdb) bt
#0 strutil_encrypt_tf (original=...) at .src/util/strutil.cpp:815
#1 0x000000000061161d in strutil_encrypt_initialise () at
.src/util/strutil.cpp:898
#2 0x0000000000611e63 in strutil_decrypt (original=...) at
.src/util/strutil.cpp:1025
#3 0x000000000046256f in MFolderFromProfile::GetPassword (this=0xf193c0)
at .src/classes/MFolder.cpp:798
#4 0x00000000005fbd5b in MailFolder::GetAuthInfoForFolder (mfolder=0xf193c0,
login=...,
password=..., parent=0xccf4a0, userEnteredPwd=0x7fffffffb97f)
at .src/mail/MailFolder.cpp:1430
#5 0x00000000005f7dba in MailFolder::OpenFolder (folder=0xf193c0,
mode=MailFolder::Normal, frame=0xccf4a0) at .src/mail/MailFolder.cpp:200
#6 0x000000000052cbd7 in wxFolderView::OpenFolder (this=0xf10410,
folder=0xf193c0,
readonly=false) at .src/gui/wxFolderView.cpp:4197
#7 0x00000000004d8b4f in wxMainFrame::OpenFolder (this=0xccf4a0,
pFolder=0xf193c0,
readonly=false) at .src/gui/wxMainFrame.cpp:784
#8 0x00000000004a0217 in MAppBase::ContinueStartup (this=0xc35b70)
at .src/classes/MApplication.cpp:280
#9 0x00000000004a1cc1 in MAppBase::OnStartup (this=0xc35b70)
at .src/classes/MApplication.cpp:628
#10 0x00000000004bad6d in wxMApp::OnInit (this=0xc35940) at
.src/gui/wxMApp.cpp:1161
#11 0x00000000004c21cb in wxAppConsoleBase::CallOnInit (this=0xc35940)
at /a/M/wxWindows.30/wxWidgets/include/wx/app.h:93
#12 0x00007ffff6686d11 in wxEntry (argc=@0x7ffff69f4150: 1, argv=0xc33ca0)
at ../wxWidgets/src/common/init.cpp:479
#13 0x00007ffff6686e08 in wxEntry (argc=@0x7fffffffd78c: 1, argv=0x7fffffffd878)
at ../wxWidgets/src/common/init.cpp:507
#14 0x00000000004b8f05 in main (argc=1, argv=0x7fffffffd878) at
.src/gui/wxMApp.cpp:341
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
0x0000000000628884 in reKey (key=0x7fffffff8f70) at .src/util/twofish2.c:728
728 }
> I also strongly hope that this was just some build mishap which will
> magically disappear after a rebuild...
I rebuilt both trunk wx and M in the empty build dirs.
Thanks,
Nerijus
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Mahogany-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-users