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 + wxGTK 2.6.2  (Read 3496 times)

Kempniu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
aMule 2.0.3 + wxGTK 2.6.2
« on: September 21, 2005, 11:20:56 PM »

Hi there,

I've been successfully using aMule 2.0.3 with wxGTK 2.6.1 for quite a long time (great app BTW, thanks :D) However, wxGTK 2.6.2 was released a few hours ago and aMule 2.0.3 crashes upon running. I'm sure this is a wxGTK issue, perhaps some critical code was updated and therefore aMule dies - hope the backtrace would be helpful in any way. aMule compiled with `--enable-debug --disable-optimize'.

(gdb) bt
#0  0xb78ca79e in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.6.so.0
#1  0xb78d3af7 in wxString::wxString () from /usr/lib/libwx_baseu-2.6.so.0
#2  0xb78af59f in wxMsgCatalogFile::FillHash () from /usr/lib/libwx_baseu-2.6.so.0
#3  0xb78afbc8 in wxMsgCatalog::Load () from /usr/lib/libwx_baseu-2.6.so.0
#4  0xb78b2e58 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
#5  0xb78b2dd2 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
#6  0xb78b08cc in wxLocale::Init () from /usr/lib/libwx_baseu-2.6.so.0
#7  0xb78b0f1f in wxLocale::Init () from /usr/lib/libwx_baseu-2.6.so.0
#8  0x081b3b64 in otherfunctions::InitLocale (locale=@0x85c0c5c, language=0) at OtherFunctions.cpp:1624
#9  0x080751fb in CamuleApp::Localize_mule (this=0x85c0ba8) at amule.cpp:1362
#10 0x08070de1 in CamuleApp::OnInit (this=0x85c0ba8) at amule.cpp:645
#11 0x0807b222 in CamuleGuiApp::OnInit (this=0x85c0ba8) at amule-gui.cpp:337
#12 0x08078288 in wxAppConsole::CallOnInit (this=0x85c0ba8) at app.h:87
#13 0xb78abb7a in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb78abcb2 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#15 0x0807aae5 in main (argc=1, argv=0xbf8277b4) at amule-gui.cpp:147
(gdb) bt full
#0  0xb78ca79e in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#1  0xb78d3af7 in wxString::wxString () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#2  0xb78af59f in wxMsgCatalogFile::FillHash () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#3  0xb78afbc8 in wxMsgCatalog::Load () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#4  0xb78b2e58 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#5  0xb78b2dd2 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#6  0xb78b08cc in wxLocale::Init () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#7  0xb78b0f1f in wxLocale::Init () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#8  0x081b3b64 in otherfunctions::InitLocale (locale=@0x85c0c5c, language=0) at OtherFunctions.cpp:1624
        language_flags = 3
#9  0x080751fb in CamuleApp::Localize_mule (this=0x85c0ba8) at amule.cpp:1362
No locals.
#10 0x08070de1 in CamuleApp::OnInit (this=0x85c0ba8) at amule.cpp:645
        cmdline =
        geometry_enabled = false
        geom_string = { = {static npos = 4294967295, m_pchData = 0xb79371fc}, }
        server = { = {static npos = 4294967295, m_pchData = 0x866b1b4}, }
        host = { = {static npos = 4294967295, m_pchData = 0x866b254}, }
        IPC = { = {static npos = 4294967295, m_pchData = 0x866b2b4}, }
        client = (struct wxTCPClient *) 0x859b378
        oldLog = (struct wxLog *) 0x0
        conn = (struct wxConnectionBase *) 0x0
        lMulePrefDir = { = {static npos = 4294967295, m_pchData = 0x867b9a4}, }
        xMulePrefDir = { = {static npos = 4294967295, m_pchData = 0x867baa4}, }
        homeDir = { = {static npos = 4294967295, m_pchData = 0x867bb44}, }
        cfg = (struct wxConfigBase *) 0x867b8d8
        vfile =
        newMule = { = {static npos = 4294967295, m_pchData = 0x86976d4}, }
        langId = { = {static npos = 4294967295, m_pchData = 0x8683174}, }
        mnt_tab = (FILE *) 0x0
        msg = { = {static npos = 4294967295, m_pchData = 0xb6e82341}, }
        ok = 182
#11 0x0807b222 in CamuleGuiApp::OnInit (this=0x85c0ba8) at amule-gui.cpp:337
No locals.
#12 0x08078288 in wxAppConsole::CallOnInit (this=0x85c0ba8) at app.h:87
No locals.
#13 0xb78abb7a in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#14 0xb78abcb2 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#15 0x0807aae5 in main (argc=1, argv=0xbf8277b4) at amule-gui.cpp:147
No locals.
(gdb) thread apply all bt

Thread 1 (Thread -1226811168 (LWP 29455)):
#0  0xb78ca79e in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.6.so.0
#1  0xb78d3af7 in wxString::wxString () from /usr/lib/libwx_baseu-2.6.so.0
#2  0xb78af59f in wxMsgCatalogFile::FillHash () from /usr/lib/libwx_baseu-2.6.so.0
#3  0xb78afbc8 in wxMsgCatalog::Load () from /usr/lib/libwx_baseu-2.6.so.0
#4  0xb78b2e58 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
#5  0xb78b2dd2 in wxLocale::AddCatalog () from /usr/lib/libwx_baseu-2.6.so.0
#6  0xb78b08cc in wxLocale::Init () from /usr/lib/libwx_baseu-2.6.so.0
#7  0xb78b0f1f in wxLocale::Init () from /usr/lib/libwx_baseu-2.6.so.0
#8  0x081b3b64 in otherfunctions::InitLocale (locale=@0x85c0c5c, language=0) at OtherFunctions.cpp:1624
#9  0x080751fb in CamuleApp::Localize_mule (this=0x85c0ba8) at amule.cpp:1362
#10 0x08070de1 in CamuleApp::OnInit (this=0x85c0ba8) at amule.cpp:645
#11 0x0807b222 in CamuleGuiApp::OnInit (this=0x85c0ba8) at amule-gui.cpp:337
#12 0x08078288 in wxAppConsole::CallOnInit (this=0x85c0ba8) at app.h:87
#13 0xb78abb7a in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb78abcb2 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#15 0x0807aae5 in main (argc=1, argv=0xbf8277b4) at amule-gui.cpp:147
« Last Edit: September 21, 2005, 11:21:47 PM by Kempniu »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2.0.3 + wxGTK 2.6.2
« Reply #1 on: September 22, 2005, 04:58:18 AM »

Kempniu,

Probably a wx bug. Which locale are you using? I will update my wx now and test it.
Logged

Kempniu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: aMule 2.0.3 + wxGTK 2.6.2
« Reply #2 on: September 22, 2005, 08:23:55 AM »

I'm using pl_PL. If you want me to check any other, just tell :)
Logged

Kempniu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: aMule 2.0.3 + wxGTK 2.6.2
« Reply #3 on: September 27, 2005, 09:50:03 AM »

Yup, this is definitely a locale problem - when I switch my locale to "C", everything works just fine.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2.0.3 + wxGTK 2.6.2
« Reply #4 on: September 28, 2005, 05:13:44 AM »

Kempniu,

I believe it is a wx bug, I have sent an e-mail to the wx devs, lets hope they fix this issue soon.

Cheers!
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2.0.3 + wxGTK 2.6.2
« Reply #5 on: September 30, 2005, 07:36:21 AM »

Confirmed. This is a wx bug (wx-2.6.2). It is fixed in wx-cvs. Either downgrade to wx-2.6.1 or use wx-cvs.

Cheers!
Logged

Kempniu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: aMule 2.0.3 + wxGTK 2.6.2
« Reply #6 on: October 01, 2005, 03:16:45 PM »

Cool, I'll give wx-cvs a try. Thanks for help phoenix! :D
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2.0.3 + wxGTK 2.6.2
« Reply #7 on: October 02, 2005, 01:30:16 AM »

Hey, you're wellcome! ;) Please tell me later if whatever you did worked.

Cheers!
Logged