aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: short bt  (Read 2225 times)

nachbarnebenan

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 75
short bt
« on: October 16, 2004, 06:05:41 PM »

This one is unusually short, aMule starts up and segfaults instantly. It says something about "no permission", but that's nonsense, the files and dirs are owned by me and readable by everyone. I had tried to build wx 2.5.3, but it failed, so I switched back to 2.5.2 and recompiled amule, but now I get this. I did something wrong in between, but I dunno what (I've checked environment variables and paths this time BEFORE posting...)

Code: [Select]
Adding file /share/temp/028.part.met to shares
Adding file /share/temp/029.part.met to shares
Adding file /share/temp/122.part.met to shares
Adding file /share/temp/185.part.met to shares
Adding file /share/temp/201.part.met to shares
Empty dir /share/in/ shared
No permisions to open /share/done/aMule-2.0.0rc6.tar.bz2, skipping
No permisions to open /share/done/OOo_1.1.3_LinuxIntel_install_de.tar.gz, skipping
No permisions to open /share/done/KNOPPIX_V3.6-2004-08-16-DE.iso.md5, skipping
No permisions to open /share/done/KNOPPIX_V3.6-2004-08-16-DE.iso, skipping


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1089748352 (LWP 19317)]
0x40bf5965 in seekdir () from /lib/tls/libc.so.6
(gdb) bt
#0  0x40bf5965 in seekdir () from /lib/tls/libc.so.6
#1  0x08147d98 in CDirIterator::FindFirstFile (this=0xbfffe580,
    search_type=File, search_mask=) at CFile.cpp:605
#2  0x082168b7 in CSharedFileList::AddFilesFromDirectory (this=0x88d6890,
    directory=) at SharedFileList.cpp:111
#3  0x0821707d in CSharedFileList::FindSharedFiles (this=0x88d6890)
    at SharedFileList.cpp:88
#4  0x082172ff in CSharedFileList::Reload (this=0x88d6890, sendtoserver=true,
    firstload=true) at SharedFileList.cpp:223
#5  0x08241085 in CamuleApp::OnInit (this=0x8542200) at amule.cpp:703
#6  0x08241eeb in wxAppConsole::CallOnInit (this=0x0) at app.h:87
#7  0x40519005 in wxEntry () from /home/amule/lib/libwx_baseu-2.5.so.2
#8  0x405190c4 in wxEntry () from /home/amule/lib/libwx_baseu-2.5.so.2
#9  0x08241d1b in main (argc=1, argv=0x0) at amule.cpp:179
(gdb) bt full
#0  0x40bf5965 in seekdir () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x08147d98 in CDirIterator::FindFirstFile (this=0xbfffe580,
    search_type=File, search_mask=) at CFile.cpp:605
No locals.
#2  0x082168b7 in CSharedFileList::AddFilesFromDirectory (this=0x88d6890,
    directory=) at SharedFileList.cpp:111
        SharedDir = {DirPtr = 0x0, type = File, DirStr = ,
  FileMask = }
        fname =
#3  0x0821707d in CSharedFileList::FindSharedFiles (this=0x88d6890)
    at SharedFileList.cpp:88
        ii = 3
        newFiles = Variable "newFiles" is not available.
(gdb)
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: short bt
« Reply #1 on: October 29, 2004, 09:39:54 PM »

Fixed
Logged

nachbarnebenan

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 75
Re: short bt
« Reply #2 on: October 30, 2004, 12:48:38 AM »

Seems I can reproduce this with rc7 too:
wx 2.5.3+patch gtk2+unicode, this time wx with debug info:

Adding file /share/temp/016.part.met to shares
Adding file /share/temp/017.part.met to shares
Adding file /share/temp/018.part.met to shares
Adding file /share/temp/019.part.met to shares
Adding file /share/temp/021.part.met to shares
Adding file /share/temp/022.part.met to shares
Adding file /share/temp/025.part.met to shares
Adding file /share/temp/026.part.met to shares
Adding file /share/temp/028.part.met to shares
Adding file /share/temp/029.part.met to shares
Adding file /share/temp/031.part.met to shares
Adding file /share/temp/033.part.met to shares
Adding file /share/temp/034.part.met to shares
Adding file /share/temp/035.part.met to shares
Adding file /share/temp/036.part.met to shares
Adding file /share/temp/040.part.met to shares
Adding file /share/temp/041.part.met to shares
Adding file /share/temp/079.part.met to shares
Adding file /share/temp/163.part.met to shares
Adding file /share/temp/171.part.met to shares
Adding file /share/temp/175.part.met to shares
Adding file /share/temp/182.part.met to shares
Adding file /share/temp/185.part.met to shares
Adding file /share/temp/193.part.met to shares
Adding file /share/temp/198.part.met to shares
Adding file /share/temp/201.part.met to shares
Empty dir /share/in/ shared
Empty dir /share/pub/ shared

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1092112288 (LWP 24567)]
0x40e46965 in seekdir () from /lib/tls/libc.so.6
(gdb) bt
#0  0x40e46965 in seekdir () from /lib/tls/libc.so.6
#1  0x08153a63 in CDirIterator::FindFirstFile (this=0xbfffe560, search_type=File, search_mask=
        { = {static npos = 4294967195, m_pchData = 0x406c6710}, }) at CFile.cpp:605
#2  0x0827835b in CSharedFileList::AddFilesFromDirectory (this=0x89f2e88, directory=
        { = {static npos = 4294967195, m_pchData = 0x8e5c594}, }) at SharedFileList.cpp:114
#3  0x08278067 in CSharedFileList::FindSharedFiles (this=0x89f2e88) at SharedFileList.cpp:88
#4  0x082792e3 in CSharedFileList::Reload (this=0x89f2e88, sendtoserver=true, firstload=true) at SharedFileList.cpp:226
#5  0x082ae383 in CamuleApp::OnInit (this=0x85e4068) at amule.cpp:704
#6  0x082b492a in wxAppConsole::CallOnInit (this=0x85e4068) at app.h:87
#7  0x40635ebb in wxEntry (argc=@0xbfffee70, argv=0x85be678) at src/common/init.cpp:394
#8  0x40635fd5 in wxEntry (argc=@0xbfffee70, argv=0xbfffeef4) at src/common/init.cpp:457
#9  0x082ab378 in main (argc=1, argv=0xbfffeef4) at amule.cpp:180
(gdb) bt full
#0  0x40e46965 in seekdir () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x08153a63 in CDirIterator::FindFirstFile (this=0xbfffe560, search_type=File, search_mask=
        { = {static npos = 4294967195, m_pchData = 0x406c6710}, }) at CFile.cpp:605
No locals.
#2  0x0827835b in CSharedFileList::AddFilesFromDirectory (this=0x89f2e88, directory=
        { = {static npos = 4294967195, m_pchData = 0x8e5c594}, }) at SharedFileList.cpp:114
        SharedDir = {DirPtr = 0x0, type = 141891004, DirStr = { = {static npos = 4294967195, m_pchData = 0x8f6584c}, },
  FileMask = { = {static npos = 4294967195, m_pchData = 0x406c6710}, }}
        fname = { = {static npos = 4294967195, m_pchData = 0x8e5c594}, }
#3  0x08278067 in CSharedFileList::FindSharedFiles (this=0x89f2e88) at SharedFileList.cpp:88
        ii = 3
        newFiles = 3
#4  0x082792e3 in CSharedFileList::Reload (this=0x89f2e88, sendtoserver=true, firstload=true) at SharedFileList.cpp:226
No locals.
#5  0x082ae383 in CamuleApp::OnInit (this=0x85e4068) at amule.cpp:704
        geometry_enabled = false
        geometry_x = 0
        geometry_y = 0
        geometry_width = 800
        geometry_height = 600
        cmdline = {m_data = 0x8787df0}
        geom_string = { = {static npos = 4294967195, m_pchData = 0x406c6710}, }
        server = { = {static npos = 4294967195, m_pchData = 0x874883c}, }
        host = { = {static npos = 4294967195, m_pchData = 0x874879c}, }
        IPC = { = {static npos = 4294967195, m_pchData = 0x87488dc}, }
        client = (class wxTCPClient *) 0x8795568
        conn = (class wxConnectionBase *) 0x0
        lMulePrefDir = { = {static npos = 4294967195, m_pchData = 0x87a1534}, }
        xMulePrefDir = { = {static npos = 4294967195, m_pchData = 0x87a15d4}, }
        logname = { = {static npos = 4294967195, m_pchData = 0x8748d5c}, }
        file = { = {_vptr.wxTextBuffer = 0x83d08e0, static typeDefault = wxTextFileType_Unix, m_strBufferName = { = {
        static npos = 4294967195, m_pchData = 0x8748d5c}, }, 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}, m_file = {m_fd = -1, m_error = false}}
        vfile = { = {_vptr.wxTextBuffer = 0x83d08e0, static typeDefault = wxTextFileType_Unix, m_strBufferName = { = {
        static npos = 4294967195, m_pchData = 0x8758004}, }, 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}, m_file = {m_fd = -1, m_error = false}}
        newMule = { = {static npos = 4294967195, m_pchData = 0x877329c}, }
        mnt_tab = (FILE *) 0x8773368
        myaddr = { = { = { = {_vptr.wxObject = 0x405823a8, static ms_classInfo = {m_className = 0x406c2670,
          m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x83d0e50, m_next = 0x40719528,
          static sm_classTable = 0x85bd008}, m_refData = 0x0}, static ms_classInfo = {m_className = 0x4057f164, m_objectSize = 12,
        m_objectConstructor = 0, m_baseInfo1 = 0x407194ec, m_baseInfo2 = 0x0, static sm_first = 0x83d0e50, m_next = 0x40587ba0,
        static sm_classTable = 0x85bd008}, m_address = 0x89f2250}, static ms_classInfo = {m_className = 0x4057f19c, m_objectSize = 12,
      m_objectConstructor = 0, m_baseInfo1 = 0x40587b38, m_baseInfo2 = 0x0, static sm_first = 0x83d0e50, m_next = 0x40587b38,
      static sm_classTable = 0x85bd008}}, static ms_classInfo = {m_className = 0x4057f1cc, m_objectSize = 16,
    m_objectConstructor = 0x405706a4 , m_baseInfo1 = 0x40587b50, m_baseInfo2 = 0x0, static sm_first = 0x83d0e50,
    m_next = 0x40587b50, static sm_classTable = 0x85bd008}, m_origHostname = { = {static npos = 4294967195,
      m_pchData = 0x406c6710}, }}
#6  0x082b492a in wxAppConsole::CallOnInit (this=0x85e4068) at app.h:87
No locals.
#7  0x40635ebb in wxEntry (argc=@0xbfffee70, argv=0x85be678) at src/common/init.cpp:394
        callOnExit = {}
        cleanupOnExit = {}
#8  0x40635fd5 in wxEntry (argc=@0xbfffee70, argv=0xbfffeef4) at src/common/init.cpp:457
No locals.
#9  0x082ab378 in main (argc=1, argv=0xbfffeef4) at amule.cpp:180
No locals.
(gdb)
Logged