aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule-2.0.3 crash on startup; wx's fault?  (Read 2140 times)

Sine Pi

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
aMule-2.0.3 crash on startup; wx's fault?
« on: November 08, 2005, 08:59:44 AM »

Version: aMule-2.0.3

Here goes...

(gdb) run
Starting program: /usr/local/bin/amuled
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 24726)]
amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 24726)]
0x401492fe in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.6.so.0

(gdb) bt
#0  0x401492fe in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.6.so.0
#1  0x40152657 in wxString::wxString () from /usr/lib/libwx_baseu-2.6.so.0
#2  0x4012e14f in wxMsgCatalogFile::FillHash () from /usr/lib/libwx_baseu-2.6.so.0
#3  0x4012e778 in wxMsgCatalog::Load () from /usr/lib/libwx_baseu-2.6.so.0
#4  0x40131a08 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
#5  0x40131982 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
#6  0x0810ac02 in otherfunctions::InitLocale (locale=@0x8482d34, language=0) at OtherFunctions.cpp:1628
#7  0x0805e743 in CamuleApp::Localize_mule (this=0x8482ca0) at amule.cpp:1362
#8  0x0805a71e in CamuleApp::OnInit (this=0x8482ca0) at amule.cpp:645
#9  0x0806530d in CamuleDaemonApp::OnInit (this=0x8482ca0) at amuled.cpp:407
#10 0x08061718 in wxAppConsole::CallOnInit (this=0x8482ca0) at app.h:87
#11 0x4012a72a in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#12 0x4012a862 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#13 0x08064271 in main (argc=1, argv=0xbffff894) at amuled.cpp:124

(gdb) bt full
#0  0x401492fe in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#1  0x40152657 in wxString::wxString () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#2  0x4012e14f in wxMsgCatalogFile::FillHash () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#3  0x4012e778 in wxMsgCatalog::Load () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#4  0x40131a08 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#5  0x40131982 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#6  0x0810ac02 in otherfunctions::InitLocale (locale=@0x8482d34, language=0) at OtherFunctions.cpp:1628
        language_flags = 3
#7  0x0805e743 in CamuleApp::Localize_mule (this=0x8482ca0) at amule.cpp:1362
No locals.
#8  0x0805a71e in CamuleApp::OnInit (this=0x8482ca0) at amule.cpp:645
        cmdline =
        geometry_enabled = false
        geom_string = { = {static npos = 4294967295, m_pchData = 0x401b717c}, }
        server = { = {static npos = 4294967295, m_pchData = 0x848a334}, }
        host = { = {static npos = 4294967295, m_pchData = 0x848a3d4}, }
        IPC = { = {static npos = 4294967295, m_pchData = 0x848a434}, }
        client = (struct wxTCPClient *) 0x84545c0
        oldLog = (struct wxLog *) 0x0
        conn = (struct wxConnectionBase *) 0x0
        lMulePrefDir = { = {static npos = 4294967295, m_pchData = 0x848a98c}, }
        xMulePrefDir = { = {static npos = 4294967295, m_pchData = 0x848a9ec}, }
        homeDir = { = {static npos = 4294967295, m_pchData = 0x848a92c}, }
        cfg = (struct wxConfigBase *) 0x848a580
        vfile =
        newMule = { = {static npos = 4294967295, m_pchData = 0x849f674}, }
        langId = { = {static npos = 4294967295, m_pchData = 0x8498184}, }
        msg = { = {static npos = 4294967295, m_pchData = 0x401b717c}, }
        ok = 64
#9  0x0806530d in CamuleDaemonApp::OnInit (this=0x8482ca0) at amuled.cpp:407
No locals.
#10 0x08061718 in wxAppConsole::CallOnInit (this=0x8482ca0) at app.h:87
No locals.
#11 0x4012a72a in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#12 0x4012a862 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#13 0x08064271 in main (argc=1, argv=0xbffff894) at amuled.cpp:124
No locals.

(gdb) thread apply all bt
Thread 1 (Thread 16384 (LWP 24726)):
#0  0x401492fe in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.6.so.0
#1  0x40152657 in wxString::wxString () from /usr/lib/libwx_baseu-2.6.so.0
#2  0x4012e14f in wxMsgCatalogFile::FillHash () from /usr/lib/libwx_baseu-2.6.so.0
#3  0x4012e778 in wxMsgCatalog::Load () from /usr/lib/libwx_baseu-2.6.so.0
#4  0x40131a08 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
#5  0x40131982 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
#6  0x0810ac02 in otherfunctions::InitLocale (locale=@0x8482d34, language=0) at OtherFunctions.cpp:1628
#7  0x0805e743 in CamuleApp::Localize_mule (this=0x8482ca0) at amule.cpp:1362
#8  0x0805a71e in CamuleApp::OnInit (this=0x8482ca0) at amule.cpp:645
#9  0x0806530d in CamuleDaemonApp::OnInit (this=0x8482ca0) at amuled.cpp:407
#10 0x08061718 in wxAppConsole::CallOnInit (this=0x8482ca0) at app.h:87
#11 0x4012a72a in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#12 0x4012a862 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#13 0x08064271 in main (argc=1, argv=0xbffff894) at amuled.cpp:124


Seems like something broke in wx, not in aMule, but I lack the skills to verify what and where. Any ideas?
« Last Edit: November 08, 2005, 09:01:12 AM by Sine Pi »
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: aMule-2.0.3 crash on startup; wx's fault?
« Reply #1 on: November 08, 2005, 09:09:20 AM »

Yes, this is a known problem with wxWidgets 2.6.2. You can find a patch for the problem here: http://bugs.gentoo.org/show_bug.cgi?id=109483
Logged

Sine Pi

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: aMule-2.0.3 crash on startup; wx's fault?
« Reply #2 on: November 08, 2005, 01:52:55 PM »

Thank you very much, that fixed it and it works well now.
Logged