aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: cvs 20070918 crash on netbsd  (Read 2146 times)

md`

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
cvs 20070918 crash on netbsd
« on: September 19, 2007, 01:55:26 PM »

hi

compiled aMule-CVS-20070918.tar.bz2 on netbsd4 current with ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --with-toolkit=base --enable-debug --disable-optimize using wxWidgets 2.8.5 configured with nogui option, got a crash when starting it for the first time, and also all subsequent start tries.
backtrace as follows:

Code: [Select]
This GDB was configured as "i386--netbsdelf"...
(gdb) run
Starting program: /usr/local/bin/amuled
amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
No other instances are running.

Program received signal SIGSEGV, Segmentation fault.
0xbb895451 in __fgetwc_unlock () from /usr/lib/libc.so.12
(gdb) bt
#0  0xbb895451 in __fgetwc_unlock () from /usr/lib/libc.so.12
#1  0xbb88fd8f in __vfwscanf_unlocked () from /usr/lib/libc.so.12
#2  0xbb88f97b in vswscanf () from /usr/lib/libc.so.12
#3  0xbbaff38f in wxSscanf () from /usr/local/lib/libwx_baseu-2.8.so
#4  0xbbb2897d in wxGetOsVersion () from /usr/local/lib/libwx_baseu-2.8.so
#5  0xbbad5e0e in wxPlatformInfo::InitForCurrentPlatform ()
   from /usr/local/lib/libwx_baseu-2.8.so
#6  0xbbad5e6f in wxPlatformInfo::Get () from /usr/local/lib/libwx_baseu-2.8.so
#7  0xbbacba05 in wxLocale::Init () from /usr/local/lib/libwx_baseu-2.8.so
#8  0xbbacbdff in wxLocale::Init () from /usr/local/lib/libwx_baseu-2.8.so
#9  0x0828b536 in InitLocale (locale=@0x86138a4, language=0)
    at OtherFunctions.cpp:1341
#10 0x08061252 in CamuleApp::Localize_mule (this=0x8613800) at amule.cpp:1302
#11 0x080681bc in CamuleApp::OnInit (this=0x8613800) at amule.cpp:640
#12 0x08058d5f in CamuleDaemonApp::OnInit (this=0x8613800) at amuled.cpp:439
#13 0x0805a146 in wxAppConsole::CallOnInit (this=0x8613800)
    at /usr/local/include/wx-2.8/wx/app.h:76
#14 0xbbac2844 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so
#15 0xbbac2925 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so
#16 0x08059e89 in main (argc=1140321699, argv=0x201028f7) at amuled.cpp:101
(gdb) bt full
#0  0xbb895451 in __fgetwc_unlock () from /usr/lib/libc.so.12
No symbol table info available.
#1  0xbb88fd8f in __vfwscanf_unlocked () from /usr/lib/libc.so.12
No symbol table info available.
#2  0xbb88f97b in vswscanf () from /usr/lib/libc.so.12
No symbol table info available.
#3  0xbbaff38f in wxSscanf () from /usr/local/lib/libwx_baseu-2.8.so
No symbol table info available.
#4  0xbbb2897d in wxGetOsVersion () from /usr/local/lib/libwx_baseu-2.8.so
No symbol table info available.
#5  0xbbad5e0e in wxPlatformInfo::InitForCurrentPlatform ()
   from /usr/local/lib/libwx_baseu-2.8.so
No symbol table info available.
#6  0xbbad5e6f in wxPlatformInfo::Get () from /usr/local/lib/libwx_baseu-2.8.so
No symbol table info available.
#7  0xbbacba05 in wxLocale::Init () from /usr/local/lib/libwx_baseu-2.8.so
No symbol table info available.
#8  0xbbacbdff in wxLocale::Init () from /usr/local/lib/libwx_baseu-2.8.so
No symbol table info available.
#9  0x0828b536 in InitLocale (locale=@0x86138a4, language=0)
    at OtherFunctions.cpp:1341
        language_flags = 3
#10 0x08061252 in CamuleApp::Localize_mule (this=0x8613800) at amule.cpp:1302
---Type <return> to continue, or q <return> to quit---
No locals.
#11 0x080681bc in CamuleApp::OnInit (this=0x8613800) at amule.cpp:640
        FullMuleVersion = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0x862700c}, <No data fields>}
        OSDescription = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0x862b10c}, <No data fields>}
        cmdline = {m_data = 0x8624300}
        ec_config = false
        reset_config = false
        geometry_enabled = false
        geom_string = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xbbb6def8}, <No data fields>}
        cfg = (struct wxConfigBase *) 0x862c440
        logfileName = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0x864730c}, <No data fields>}
        checkResult = {first = true, second = {<wxStringBase> = {
      static npos = 4294967295, m_pchData = 0x865360c}, <No data fields>}}
        vfile = <incomplete type>
        newMule = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xbb8478b6}, <No data fields>}
        langId = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xbb8478b6}, <No data fields>}
        msg = {<wxStringBase> = {static npos = 4294967295,
---Type <return> to continue, or q <return> to quit---
    m_pchData = 0xbbbda34b}, <No data fields>}
        ok = 191
#12 0x08058d5f in CamuleDaemonApp::OnInit (this=0x8613800) at amuled.cpp:439
No locals.
#13 0x0805a146 in wxAppConsole::CallOnInit (this=0x8613800)
    at /usr/local/include/wx-2.8/wx/app.h:76
No locals.
#14 0xbbac2844 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so
No symbol table info available.
#15 0xbbac2925 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so
No symbol table info available.
#16 0x08059e89 in main (argc=1140321699, argv=0x201028f7) at amuled.cpp:101
No locals.
(gdb) thread apply all bt
(gdb)
« Last Edit: September 19, 2007, 01:59:51 PM by md` »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: cvs 20070918 crash on netbsd
« Reply #1 on: September 19, 2007, 03:27:54 PM »

Hi md`,

Thanks a lot for your report.

Could you please compile wxwidgets with debug support as well? This will make it a lot easier to identify the source of the problem, although I suspect it is caused by wx.
Logged