aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 2005/11/03 r5636 MacOS 10.3.9 - amuleweb  (Read 2354 times)

guest

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 54
2005/11/03 r5636 MacOS 10.3.9 - amuleweb
« on: November 04, 2005, 09:16:58 AM »

using the latest lionel77's build from this thread
if i enable the webserver, amule displays a wxWidget error at startup (Assertion 'cfurlApp' failed.) then crash if i hit "no" or "cancel"
ther's no problem if webserver is not enabled.
Code: [Select]
[aMule 6.app/Contents/MacOS]: gdb amule
GNU gdb 5.3-20030128 (Apple version gdb-330.1) (Fri Jul 16 21:42:28 GMT 2004)
Copyright 2003 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 "powerpc-apple-darwin".
Reading symbols for shared libraries ......... done
(gdb) run
Starting program: /Volumes/VM2/aMule 6.app/Contents/MacOS/amule
Reading symbols for shared libraries .......................................................... done
Reading symbols for shared libraries . done
Initialising aMule
Checking if there is an instance already running...
HTTP download thread started
Host: amule.sourceforge.net:80
URL: [URL]http://amule.sourceforge.net/lastversion[/URL]
Response: 0 (Error: 3)
WARNING: Void response on stream creation
HTTP download thread end
HTTP download thread started
Loading temp files from /Volumes/MLD/aMule/Temp.
HTTP download thread end

All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:6712
*** Server UDP socket (TCP+3) at 0.0.0.0:6665
*** TCP socket (TCP) listening on 0.0.0.0:6662
*** Client UDP socket (extended eMule) at 0.0.0.0:6672
HTTP download thread started
[Debug] 08:55:24: Launching: '/Volumes/VM2/aMule 6.app/Contents/MacOS/amuleweb' --amule-config-file='/Users/joseph/Library/Application Support/aMule/amule.conf'
Assertion failed: ../wxWidgets/src/mac/corefoundation/utilsexc_base.cpp:54: Assertion 'cfurlApp' failed.

Backtrace follows:
--== no BACKTRACE for your platform ==--



[Debug] 08:55:24: ../wxWidgets/src/mac/corefoundation/utilsexc_base.cpp(54): assert "cfurlApp" failed.
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Host: emulepawcio.sourceforge.net:80
URL: [URL]http://emulepawcio.sourceforge.net/nieuwe_site/Ipfilter_fakes/ipfilter.dat[/URL]
Response: 302 (Error: 0)
Host: emulepawcio.sourceforge.net:80
URL: [URL]http://emulepawcio.sourceforge.net/downloads/get.php?file=ipfilter.dat[/URL]
Response: 302 (Error: 0)

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x901d2538 in CFGetAllocator ()
(gdb) bt
#0  0x901d2538 in CFGetAllocator ()
#1  0x901e4e94 in CFURLGetFileSystemRepresentation ()
#2  0x901f5a50 in _CFBundleCreate ()
#3  0x0035518c in wxMacExecute(wchar_t**, int, wxProcess*) (argv=0xbfffefb4, flags=0, process=0x0) at ../wxWidgets/src/mac/corefoundation/utilsexc_base.cpp:56
#4  0x00219c1c in wxExecute(wxString const&, int, wxProcess*) (command=@0xbffff3c0, flags=0, process=0x0) at ../wxWidgets/src/unix/utilsunx.cpp:327
#5  0x00008440 in CamuleApp::OnInit() (this=0x9c21cd0) at amule.cpp:857
#6  0x0009a4b8 in CamuleGuiApp::OnInit() (this=0x9c21cd0) at amule-gui.cpp:353
#7  0x005bc858 in wxAppConsole::CallOnInit() (this=0x9c21cd0) at /Applications/-other/wx/myWidgets_UnSharUniCode/include/wx-2.7/wx/app.h:87
#8  0x00299a5c in wxEntry(int&, wchar_t**) (argc=@0xbffffb58, argv=0x9c20480) at ../wxWidgets/src/common/init.cpp:423
#9  0x00299bc4 in wxEntry(int&, char**) (argc=@0xbffffb58, argv=0xbffffbfc) at ../wxWidgets/src/common/init.cpp:451
#10 0x00099b2c in main (argc=1, argv=0xbffffbfc) at amule-gui.cpp:149
(gdb) bt full
#0  0x901d2538 in CFGetAllocator ()
No symbol table info available.
#1  0x901e4e94 in CFURLGetFileSystemRepresentation ()
No symbol table info available.
#2  0x901f5a50 in _CFBundleCreate ()
No symbol table info available.
#3  0x0035518c in wxMacExecute(wchar_t**, int, wxProcess*) (argv=0xbfffefb4, flags=0, process=0x0) at ../wxWidgets/src/mac/corefoundation/utilsexc_base.cpp:56
        errorCode = 0
        successCode = -1
        cfiCount = 3
        cfurlApp = 0x0
        cfbApp = 0xbfffeef0
        dwBundleType = 50
        dwBundleCreator = 2110988
        cfaFiles = 0xbffff3c0
        launchspec = {
  appURL = 0x27,
  itemURLs = 0x0,
  passThruParams = 0xbffffbf8,
  launchFlags = 8,
  asyncRefCon = 0x0
}
        status = -1073746112
#4  0x00219c1c in wxExecute(wxString const&, int, wxProcess*) (command=@0xbffff3c0, flags=0, process=0x0) at ../wxWidgets/src/unix/utilsunx.cpp:327
        argc = 3
        argv = {0x13938e90, 0x1392ee20, 0x13935f00, 0x0, 0x0, 0x1, 0xbfffefd0, 0x1f4624, 0xbffff000, 0x0, 0xbfffefe0, 0x1f6ed8, 0xbffff050, 0xb000000, 0x1f7050, 0x90000ba0, 0xbffff040, 0x53c87c, 0xbffff3c0, 0x53c7f0, 0x37e, 0x53d238, 0x0, 0x0, 0x0, 0x0, 0xbffff3b0, 0x0, 0xb25b200, 0x82, 0x83, 0x13938d30, 0x1, 0x1, 0x25c, 0x900019d8, 0xbffff0a0, 0x30, 0xbffff050, 0x1f7e18, 0xbffff0a0, 0x53cb5c, 0x5c01f0, 0x60c8, 0xbffff090, 0xb000000, 0xbffff3c0, 0x1, 0x4b9b80, 0x1, 0x4b7cb4, 0x0, 0x1, 0xbffffbfc, 0xbffff090, 0x1f7e18, 0xbffff0f0, 0xbffffbfc, 0xbffff0a0, 0x1f7e18, 0xbffff0f0, 0x0, 0x5bfaa0, 0x1, 0xbffff100, 0x0, 0xbffff3c0, 0x1, 0x4b9b80, 0xbffffbfc, 0x13938af0, 0x0, 0xb25b200, 0x0, 0x1, 0x0, 0x0, 0xbffffbfc, 0xbffff0f0, 0x1f7e18, 0xbffff140, 0xbffffbfc, 0x5be900, 0x60c8, 0xbffff150, 0x24000444, 0xbffff3c0, 0x4b9b80, 0x4b9b80, 0x0, 0xbffff3b0, 0x0, 0xbffff150, 0x0, 0x7bef10, 0xbffff154, 0xbffff190, 0x30, 0xbffff140, 0x1f7e18, 0xbffff190, 0x44004224, 0x5bc03c, 0x60c8, 0xbffff1a0, 0x62, 0xbffff3c0, 0x4b9b80, 0xbffff190, 0xbffffbfc, 0xbffff3c0, 0x53c7f0, 0x1, 0x53cffc, 0x0, 0x139357b0, 0x1, 0xbffffbfc, 0xbffff190, 0x1f7e18, 0xbffff1f0, 0x30, 0x1f7ee4, 0x60c8, 0xbffff1f0, 0x24000224, 0xbffff3c0}
        argument = {
  = {
    static npos = 4294967295,
    m_pchData = 0x1392a61c
  }, }
        cptr = (const wxChar *) 0xb25b418
        quotechar = 0
        escaped = false
        lRc = 2
#5  0x00008440 in CamuleApp::OnInit() (this=0x9c21cd0) at amule.cpp:857
        amulewebUrl = 0x1591f420
        status = 328390928
        aMuleConfigFile = {
  = {
    static npos = 4294967295,
    m_pchData = 0x1393889c
  }, }
        amulewebPath = {
  = {
    static npos = 4294967295,
    m_pchData = 0x13938afc
  }, }
        result = 328423344
        cmdline = {
  m_data = 0x9c3d490
}
        geometry_enabled = false
        geom_string = {
  = {
    static npos = 4294967295,
    m_pchData = 0x53e258
  }, }
        server = {
  = {
    static npos = 4294967295,
    m_pchData = 0x9c3df6c
  }, }
        host = {
  = {
    static npos = 4294967295,
    m_pchData = 0x9c3e08c
  }, }
        IPC = {
  = {
    static npos = 4294967295,
    m_pchData = 0x9c3e1cc
  }, }
        cfg = (wxConfigBase *) 0x9c3e920
        vfile = {
  = {
    _vptr$wxTextBuffer = 0xaa8258,
    static typeDefault = wxTextFileType_Unix,
    m_strBufferName = {
      = {
        static npos = 4294967295,
        m_pchData = 0x9ce807c
      }, },
    m_aTypes = {
      = {
        m_nSize = 0,
        m_nCount = 0,
        m_pItems = 0x0
      }, },
    m_aLines = {
      m_nSize = 0,
      m_nCount = 0,
      m_pItems = 0x0,
      m_autoSort = false
    },
    m_nCurLine = 0,
    m_isOpened = false
  },
  members of wxTextFile:
  m_file = {
    m_fd = -1,
    m_error = false
  }
}
        newMule = {
  = {
    static npos = 4294967295,
    m_pchData = 0x9c6faac
  }, }
        langId = {
  = {
    static npos = 4294967295,
    m_pchData = 0x53e258
  }, }
        msg = {
  = {
    static npos = 4294967295,
    m_pchData = 0xb23ca0c
  }, }
        ok = true
#6  0x0009a4b8 in CamuleGuiApp::OnInit() (this=0x9c21cd0) at amule-gui.cpp:353
        ed2kHelperUrl = 0x9c20480
#7  0x005bc858 in wxAppConsole::CallOnInit() (this=0x9c21cd0) at /Applications/-other/wx/myWidgets_UnSharUniCode/include/wx-2.7/wx/app.h:87
No locals.
#8  0x00299a5c in wxEntry(int&, wchar_t**) (argc=@0xbffffb58, argv=0x9c20480) at ../wxWidgets/src/common/init.cpp:423
        callOnExit = {}
        cleanupOnExit = {}
#9  0x00299bc4 in wxEntry(int&, char**) (argc=@0xbffffb58, argv=0xbffffbfc) at ../wxWidgets/src/common/init.cpp:451
No locals.
#10 0x00099b2c in main (argc=1, argv=0xbffffbfc) at amule-gui.cpp:149
No locals.
(gdb) thread apply all bt

Thread 4 (process 1725 thread 0x360f):
#0  0x00293fc4 in wxStopWatch::Time() const (this=0xf02127f0) at ../wxWidgets/src/common/stopwatch.cpp:168
Reading memory from the sp at: f0212770
Reading memory from the sp at: f0212770
Reading memory from the sp at: f0212770
#1  0x00237b78 in wxSocketBase::_Wait(long, long, int) (this=0xf0212900, seconds=2, milliseconds=-266262336, flags=328240016) at ../wxWidgets/src/common/socket.cpp:741
#2  0x00239060 in wxSocketClient::WaitOnConnect(long, long) (this=0x13908b90, seconds=10, milliseconds=0) at ../wxWidgets/src/common/socket.cpp:1253
#3  0x00272008 in wxHTTP::GetInputStream(wxString const&) (this=0x13908b90, path=@0xf02129a0) at ../wxWidgets/src/common/http.cpp:358
#4  0x0003e3e8 in CHTTPDownloadThreadBase::GetInputStream(wxHTTP**, wxString const&) (this=0x13925fc0, url_handler=0xf0212d34, location=@0xf0212b00) at HTTPDownload.cpp:317
#5  0x0003e6fc in CHTTPDownloadThreadBase::GetInputStream(wxHTTP**, wxString const&) (this=0x13925fc0, url_handler=0xf0212d34, location=@0xf0212c40) at HTTPDownload.cpp:347
#6  0x0003e6fc in CHTTPDownloadThreadBase::GetInputStream(wxHTTP**, wxString const&) (this=0x13925fc0, url_handler=0xf0212d34, location=@0x13925fd0) at HTTPDownload.cpp:347
#7  0x0003d9fc in CHTTPDownloadThreadBase::Entry() (this=0x13925fc0) at HTTPDownload.cpp:197
#8  0x001eff50 in wxThreadInternal::MacThreadStart(void*) (parameter=0x13925fc0) at ../wxWidgets/src/mac/carbon/thread.cpp:1038
#9  0x902f6b90 in PrivateMPEntryPoint ()
#10 0x90024910 in _pthread_body ()

Thread 3 (process 1725 thread 0x4403):
#0  0x90017d98 in swtch_pri ()
#1  0x900174bc in sched_yield ()
#2  0x001ef680 in wxMutexInternal::Unlock() (this=0xdc93290) at ../wxWidgets/src/mac/carbon/thread.cpp:488
#3  0x001f248c in wxMutex::Unlock() (this=0xe6a2678) at ../wxWidgets/include/wx/thrimpl.cpp:60
#4  0x005b6dc0 in wxMutexLocker::~wxMutexLocker() (this=0xf0111c70, __in_chrg=2) at /Applications/-other/wx/myWidgets_UnSharUniCode/include/wx-2.7/wx/thread.h:184
#5  0x005b5ee4 in wxMutexLocker::~wxMutexLocker() (this=0xf0111c70) at /Applications/-other/wx/myWidgets_UnSharUniCode/include/wx-2.7/wx/thread.h:184
#6  0x0006e208 in UploadBandwidthThrottler::Entry() (this=0xe6a2660) at UploadBandwidthThrottler.cpp:422
#7  0x001eff50 in wxThreadInternal::MacThreadStart(void*) (parameter=0xe6a2660) at ../wxWidgets/src/mac/carbon/thread.cpp:1038
#8  0x902f6b90 in PrivateMPEntryPoint ()
#9  0x90024910 in _pthread_body ()

Thread 2 (process 1725 thread 0x2303):
#0  0x9000b42c in select ()
#1  0x901c6af0 in __CFSocketManager ()
#2  0x90024910 in _pthread_body ()

Thread 1 (process 1725 local thread 0xd03):
#0  0x901d2538 in CFGetAllocator ()
#1  0x901e4e94 in CFURLGetFileSystemRepresentation ()
#2  0x901f5a50 in _CFBundleCreate ()
#3  0x0035518c in wxMacExecute(wchar_t**, int, wxProcess*) (argv=0xbfffefb4, flags=0, process=0x0) at ../wxWidgets/src/mac/corefoundation/utilsexc_base.cpp:56
#4  0x00219c1c in wxExecute(wxString const&, int, wxProcess*) (command=@0xbffff3c0, flags=0, process=0x0) at ../wxWidgets/src/unix/utilsunx.cpp:327
#5  0x00008440 in CamuleApp::OnInit() (this=0x9c21cd0) at amule.cpp:857
#6  0x0009a4b8 in CamuleGuiApp::OnInit() (this=0x9c21cd0) at amule-gui.cpp:353
#7  0x005bc858 in wxAppConsole::CallOnInit() (this=0x9c21cd0) at /Applications/-other/wx/myWidgets_UnSharUniCode/include/wx-2.7/wx/app.h:87
#8  0x00299a5c in wxEntry(int&, wchar_t**) (argc=@0xbffffb58, argv=0x9c20480) at ../wxWidgets/src/common/init.cpp:423
#9  0x00299bc4 in wxEntry(int&, char**) (argc=@0xbffffb58, argv=0xbffffbfc) at ../wxWidgets/src/common/init.cpp:451
#10 0x00099b2c in main (argc=1, argv=0xbffffbfc) at amule-gui.cpp:149
(gdb)
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: 2005/11/03 r5636 MacOS 10.3.9 - amuleweb
« Reply #1 on: November 05, 2005, 01:11:29 AM »

Yeah, that's a wxWidgets bug.  I'll tell them about it.

In the meantime, I think you can work around it by making sure aMule doesn't have any spaces in its path.  For instance, rename aMule from "aMule 6.app" to "aMule6.app".
Logged