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 cvs 20041116 not finding any files  (Read 2912 times)

nich

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 55
amule cvs 20041116 not finding any files
« on: November 16, 2004, 03:14:21 PM »

Amule cvs checked out 30 minutes ago. (20041116 wxGTK 2.5.3 with unicode and GTK2)

Crashing:
Code: [Select]
Loading temp files from Xe/nich/.aMule/Temp.
[Debug] 12:19:55: CFile.cpp(608): assert "DirPtr" failed.

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16384 (LWP 3097)]
0x40e57451 in kill () from /lib/libc.so.6
bt:
Code: [Select]
(gdb) bt
#0  0x40e57451 in kill () from /lib/libc.so.6
#1  0x40039d60 in pthread_kill () from /lib/libpthread.so.0
#2  0x4003a0bb in raise () from /lib/libpthread.so.0
#3  0x4061043c in wxTrap() () at src/common/appbase.cpp:569
#4  0x403e31bc in wxGUIAppTraitsBase::ShowAssertDialog(wxString const&) (this=0x8620170, msg=@0xbfffe970) at src/common/appcmn.cpp:543
#5  0x40610839 in ShowAssertDialog (szFile=0x8320cfc, nLine=608, szCond=0x83213f4, szMsg=0x0, traits=0x8620170) at src/common/appbase.cpp:735
#6  0x406101f5 in wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*) (this=0x85ea300, file=0x8320cfc, line=608, cond=0x83213f4, msg=0x0)
    at src/common/appbase.cpp:438
#7  0x4033ebce in wxApp::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*) (this=0x85ea300, file=0x8320cfc, line=608, cond=0x83213f4, msg=0x0) at src/gtk/app.cpp:664
#8  0x40610515 in wxOnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*) (szFile=0x8320cfc, nLine=608, szCond=0x83213f4, szMsg=0x0) at src/common/appbase.cpp:615
#9  0x4061047a in wxAssert(int, wchar_t const*, int, wchar_t const*, wchar_t const*) (cond=0, szFile=0x8320cfc, nLine=608, szCond=0x83213f4, szMsg=0x0)
    at src/common/appbase.cpp:582
#10 0x0815694a in CDirIterator::FindFirstFile(CDirIterator::FileType, wxString) (this=0xbfffeb80, search_type=File, search_mask=
        { = {static npos = 4294967195, m_pchData = 0x8a84a24}, }) at CFile.cpp:608
#11 0x0818fb2f in CDownloadQueue::Init() (this=0x8857520) at DownloadQueue.cpp:151
#12 0x082b8d82 in CamuleApp::OnInit() (this=0x85ea300) at amule.cpp:578
#13 0x082bfdea in CamuleGuiApp::OnInit() (this=0x85ea300) at amule-gui.cpp:202
#14 0x082bebae in wxAppConsole::CallOnInit() (this=0x85ea300) at app.h:87
#15 0x406535a1 in wxEntry(int&, wchar_t**) (argc=@0xbffff300, argv=0x85cb480) at src/common/init.cpp:394
#16 0x406536bb in wxEntry(int&, char**) (argc=@0xbffff300, argv=0xbffff354) at src/common/init.cpp:457
#17 0x082bfcc8 in main (argc=1, argv=0xbffff354) at amule-gui.cpp:165
Full bt:
Code: [Select]
(gdb) bt full
#0  0x40e57451 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x40039d60 in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0x4003a0bb in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0x4061043c in wxTrap() () at src/common/appbase.cpp:569
No locals.
#4  0x403e31bc in wxGUIAppTraitsBase::ShowAssertDialog(wxString const&) (this=0x8620170, msg=@0xbfffe970) at src/common/appcmn.cpp:543
        msgDlg = { = {static npos = 4294967195, m_pchData = 0x8d88274}, }
#5  0x40610839 in ShowAssertDialog (szFile=0x8320cfc, nLine=608, szCond=0x83213f4, szMsg=0x0, traits=0x8620170) at src/common/appbase.cpp:735
        s_bNoAsserts = false
        msg = { = {static npos = 4294967195, m_pchData = 0x8d87b84}, }
#6  0x406101f5 in wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*) (this=0x85ea300, file=0x8320cfc, line=608, cond=0x83213f4, msg=0x0)
    at src/common/appbase.cpp:438
No locals.
#7  0x4033ebce in wxApp::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*) (this=0x85ea300, file=0x8320cfc, line=608, cond=0x83213f4, msg=0x0) at src/gtk/app.cpp:664
No locals.
#8  0x40610515 in wxOnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*) (szFile=0x8320cfc, nLine=608, szCond=0x83213f4, szMsg=0x0) at src/common/appbase.cpp:615
        s_bInAssert = true
#9  0x4061047a in wxAssert(int, wchar_t const*, int, wchar_t const*, wchar_t const*) (cond=0, szFile=0x8320cfc, nLine=608, szCond=0x83213f4, szMsg=0x0)
    at src/common/appbase.cpp:582
No locals.
#10 0x0815694a in CDirIterator::FindFirstFile(CDirIterator::FileType, wxString) (this=0xbfffeb80, search_type=File, search_mask=
        { = {static npos = 4294967195, m_pchData = 0x8a84a24}, }) at CFile.cpp:608
No locals.
#11 0x0818fb2f in CDownloadQueue::Init() (this=0x8857520) at DownloadQueue.cpp:151
        count = 0
        TempDir = {DirPtr = 0x0, type = File, DirStr = { = {static npos = 4294967195, m_pchData = 0x8a6fc04}, }, FileMask = { = {
      static npos = 4294967195, m_pchData = 0x406e3690}, }}
        fileName = { = {static npos = 4294967195, m_pchData = 0x863bfe4}, }
#12 0x082b8d82 in CamuleApp::OnInit() (this=0x85ea300) at amule.cpp:578
        cmdline = {m_data = 0x8626730}
        geometry_enabled = false
        geom_string = { = {static npos = 4294967195, m_pchData = 0x406e3690}, }
        server = { = {static npos = 4294967195, m_pchData = 0x86275b4}, }
        host = { = {static npos = 4294967195, m_pchData = 0x8627514}, }
        IPC = { = {static npos = 4294967195, m_pchData = 0x8627654}, }
        client = (class wxTCPClient *) 0x8627568
        conn = (class wxConnectionBase *) 0x0
        lMulePrefDir = { = {static npos = 4294967195, m_pchData = 0x8627d24}, }
        xMulePrefDir = { = {static npos = 4294967195, m_pchData = 0x8627dc4}, }
        vfile = { = {_vptr.wxTextBuffer = 0x83dd4b0, static typeDefault = wxTextFileType_Unix, m_strBufferName = { = {static npos = 4294967195,
        m_pchData = 0x86534a4}, }, 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 = 0x863c914}, }
        mnt_tab = (FILE *) 0x8664598
        myaddr = { = { = { = { = {_vptr.wxObject = 0x863bf04, static ms_classInfo = {m_className = 0x406df5f0,
            m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x83dda50, m_next = 0x40736488,
            static sm_classTable = 0x85ca060}, m_refData = 0x40726df4}, static ms_classInfo = {m_className = 0x4059e144, m_objectSize = 12, m_objectConstructor = 0,
          m_baseInfo1 = 0x4073644c, m_baseInfo2 = 0x0, static sm_first = 0x83dda50, m_next = 0x405a6680, static sm_classTable = 0x85ca060}, m_address = 0xbfffee18},
      static ms_classInfo = {m_className = 0x4059e17c, m_objectSize = 12, m_objectConstructor = 0, m_baseInfo1 = 0x405a6618, m_baseInfo2 = 0x0, static sm_first = 0x83dda50,
        m_next = 0x405a6618, static sm_classTable = 0x85ca060}}, static ms_classInfo = {m_className = 0x4059e1ac, m_objectSize = 16,
      m_objectConstructor = 0x4058f6a8 , m_baseInfo1 = 0x405a6630, m_baseInfo2 = 0x0, static sm_first = 0x83dda50, m_next = 0x405a6630,
      static sm_classTable = 0x85ca060}, m_origHostname = { = {static npos = 4294967195, m_pchData = 0x4068096f}, }}, }
#13 0x082bfdea in CamuleGuiApp::OnInit() (this=0x85ea300) at amule-gui.cpp:202
No locals.
#14 0x082bebae in wxAppConsole::CallOnInit() (this=0x85ea300) at app.h:87
No locals.
#15 0x406535a1 in wxEntry(int&, wchar_t**) (argc=@0xbffff300, argv=0x85cb480) at src/common/init.cpp:394
        callOnExit = {}
        cleanupOnExit = {}
#16 0x406536bb in wxEntry(int&, char**) (argc=@0xbffff300, argv=0xbffff354) at src/common/init.cpp:457
No locals.
#17 0x082bfcc8 in main (argc=1, argv=0xbffff354) at amule-gui.cpp:165
No locals.

Ignoring these errors scared me with a list of shared dir supposely empty.  8o

This line is particularly interesting:
Code: [Select]
Loading temp files from Xe/nich/.aMule/Temp.
-nich
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: amule cvs 20041116 not finding any files
« Reply #1 on: November 16, 2004, 06:15:46 PM »

Yes, seems there's some trouble with unicode here. I launched CVS as of today and get this :

Initialising aMule
Userhash loaded:
*** UDP socket at 8005
HTTP download thread end
*** reading servers
Loading temp files from žL      /mdk91/stockage.
Empty dir  shared
Empty dir  shared
Empty dir  shared
Empty dir èT    / shared
*** TCP socket at 8002
ListenSocket: Ok.
*** UDP socket at 8006
AICH Thread: Syncronization thread started.
AICH Thread: Masterhashes of known files have been loaded.
AICH Thread: No new files found.
AICH Thread: Thread terminated.
Saving userhash: 0Š     20A1300E1061942147820A8A6F4F
Shutting down aMule...
aMule dialog destroyed
Now, exiting main app...
aMule shutdown: removing local data.
aMule shutdown completed.


If I launch 2.0.0rc7, I get :

.....
Loading temp files from /mnt/mdk91/stockage.
.....L.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amule cvs 20041116 not finding any files
« Reply #2 on: November 16, 2004, 07:45:49 PM »

OK, OK, I GET THE POINT!
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 cvs 20041116 not finding any files
« Reply #3 on: November 17, 2004, 03:54:54 AM »

Fixed.
Logged