aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled CVS 20050420  (Read 1842 times)

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
amuled CVS 20050420
« on: April 21, 2005, 02:46:34 PM »

Amuled CVS 20050420 crashes without user interaction. I use wxWidgets 2.55 with unicode support.

Code: [Select]
(gdb) bt
#0  0x00002aaaab63ac49 in raise () from /lib/libc.so.6
#1  0x00002aaaab63c14e in abort () from /lib/libc.so.6
#2  0x00002aaaaadc1d11 in wxFatalSignalHandler ()
    at ./src/unix/utilsunx.cpp:999
#3  
#4  0x000000000040d9f9 in wxStringBase::size() const (this=0x2aaaae4c88f0)
    at string.h:365
#5  0x000000000040da19 in wxStringBase::empty() const (this=0x2aaaae4c88f0)
    at string.h:375
#6  0x000000000040db69 in wxString::IsEmpty() const (this=0x2aaaae4c88f0)
    at string.h:693
#7  0x00000000004dd227 in CUpDownClient::GetScore(bool, bool, bool) const (
    this=0x2aaaae4c8880, sysvalue=false, isdownloading=false,
    onlybasevalue=false) at UploadClient.cpp:66
#8  0x00000000004df6c2 in CUploadQueue::GetWaitingPosition(CUpDownClient*) (
    this=0x115f680, client=0x35fd) at UploadQueue.cpp:483
#9  0x000000000043869f in CClientUDPSocket::ProcessPacket(char*, unsigned short, unsigned char, unsigned, unsigned short) (this=0x427fdc80,
    packet=0x427fdce0 "\227\202Û\003£4kÝ\223\226°d\216Ž\214=ÐÞT", size=56528,
    opcode=0 '\0', host=1238972500, port=4672) at ClientUDPSocket.cpp:172
#10 0x0000000000438ba1 in CClientUDPSocket::OnReceive(int) (this=0x1d6e390)
    at ClientUDPSocket.cpp:101
#11 0x000000000043831f in CClientUDPSocket::Entry() (this=0x1d6e390)
    at ClientUDPSocket.cpp:322
#12 0x00002aaaaadbafac in wxThreadInternal::PthreadStart(wxThread*) (
    thread=0x1d6e570) at ./src/unix/threadpsx.cpp:763
#13 0x00002aaaaabc70b1 in start_thread () from /lib/libpthread.so.0
#14 0x00002aaaab6c2263 in clone () from /lib/libc.so.6
(gdb) bt full
#0  0x00002aaaab63ac49 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00002aaaab63c14e in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00002aaaaadc1d11 in wxFatalSignalHandler ()
    at ./src/unix/utilsunx.cpp:999
No locals.
#3  
No symbol table info available.
#4  0x000000000040d9f9 in wxStringBase::size() const (this=0x2aaaae4c88f0)
    at string.h:365
No locals.
#5  0x000000000040da19 in wxStringBase::empty() const (this=0x2aaaae4c88f0)
    at string.h:375
No locals.
#6  0x000000000040db69 in wxString::IsEmpty() const (this=0x2aaaae4c88f0)
    at string.h:693
No locals.
#7  0x00000000004dd227 in CUpDownClient::GetScore(bool, bool, bool) const (
    this=0x2aaaae4c8880, sysvalue=false, isdownloading=false,
    onlybasevalue=false) at UploadClient.cpp:66
pFile = (class CKnownFile *) 0x115f680
filepriority = 30008160
fBaseValue = 0.000600000028
#8  0x00000000004df6c2 in CUploadQueue::GetWaitingPosition(CUpDownClient*) (
    this=0x115f680, client=0x35fd) at UploadQueue.cpp:483
pos = {m_ptr = 0x70}
#9  0x000000000043869f in CClientUDPSocket::ProcessPacket(char*, unsigned short, unsigned char, unsigned, unsigned short) (this=0x427fdc80,
    packet=0x427fdce0 "\227\202Û\003£4kÝ\223\226°d\216Ž\214=ÐÞT", size=56528,
    opcode=0 '\0', host=1238972500, port=4672) at ClientUDPSocket.cpp:172
data_out = { = { = {_vptr.CFile = 0x54ded0,
      m_fd = -1, m_error = false, fFilePath = { = {
          static npos = 18446744073709551615,
          m_pchData = 0x2aaaaadead18}, }}, m_GrowBytes = 128,
    m_position = 2, m_BufferSize = 128, m_FileSize = 2, m_delete = true,
    m_buffer = 0x2aaaae17ae00 ""}, = {
    _vptr.CFileDataIO = 0x54dfe8}, }
data_in = { = { = {_vptr.CFile = 0x54ded0, m_fd = -1,
      m_error = false, fFilePath = { = {
          static npos = 18446744073709551615,
          m_pchData = 0x2aaaaadead18}, }}, m_GrowBytes = 0,
    m_position = 24, m_BufferSize = 24, m_FileSize = 24, m_delete = false,
    m_buffer = 0x427fddb2 "\227\202Û\003£4kÝ\223\226°d\216Ž\214=\031"}, = {_vptr.CFileDataIO = 0x54dfe8}, }
reqfilehash = "\227\202Û\003£4kÝ\223\226°d\216Ž\214="
reqfile = (class CKnownFile *) 0x1c71cf0
sender = (CUpDownClient *) 0x1c9e360
#10 0x0000000000438ba1 in CClientUDPSocket::OnReceive(int) (this=0x1d6e390)
    at ClientUDPSocket.cpp:101
buffer = "Å\220\227\202Û\003£4kÝ\223\226°d\216Ž\214=\031\000\000\210\020\001I\000\000\000\000\000\000\000\000\000\020", '\0' , "\004Àk«ª*\000\000\000\000\000\000\000\000\000\000\235ÃŒªª*\000\000°WÇ\001\000\000\000\000\t", '\0' , "\020ñ\177B", '\0' , "\020\230öªª*", '\0' , "Å\000\000\000\000\000\000\000\000Po\016", '\0' , " ", '\0' , "\220ãÖ\001\000\000\000\000è\003\000\000\000\000\000\000\t\000\000\000\000\000\000\000×Xöªª*\000\000çÅ]b\003\001", '\0'
addr = { = { = { = { = {_vptr.wxObject = 0x521910, static ms_classInfo = {
            m_className = 0x2aaaaade8900, m_objectSize = 16,
            m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
            static sm_first = 0x0, m_next = 0x2aaaaaf42120,
            static sm_classTable = 0x8e7010}, m_refData = 0x0},
        static ms_classInfo = {m_className = 0x2aaaaaf6cf50,
          m_objectSize = 24, m_objectConstructor = 0,
          m_baseInfo1 = 0x2aaaaaf420e0, m_baseInfo2 = 0x0,
          static sm_first = 0x0, m_next = 0x2aaaab076a00,
          static sm_classTable = 0x8e7010}, m_address = 0x2aaaae3cd5e0},
      static ms_classInfo = {m_className = 0x2aaaaaf6cf88, m_objectSize = 24,
        m_objectConstructor = 0, m_baseInfo1 = 0x2aaaab076980,
        m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0x2aaaab076980,
        static sm_classTable = 0x8e7010}}, static ms_classInfo = {
      m_className = 0x2aaaaaf6cfb8, m_objectSize = 32,
      m_objectConstructor = 0x2aaaaaf616b0 ,
      m_baseInfo1 = 0x2aaaab076940, m_baseInfo2 = 0x0, static sm_first = 0x0,
      m_next = 0x2aaaab076940, static sm_classTable = 0x8e7010},
    m_origHostname = { = {static npos = 18446744073709551615,
        m_pchData = 0x2aaaaadead18}, }}, }
length = 26
#11 0x000000000043831f in CClientUDPSocket::Entry() (this=0x1d6e390)
    at ClientUDPSocket.cpp:322
No locals.
#12 0x00002aaaaadbafac in wxThreadInternal::PthreadStart(wxThread*) (
    thread=0x1d6e570) at ./src/unix/threadpsx.cpp:763
pthread = (wxThreadInternal *) 0x1d6e610
rc = 0
dontRunAtAll = false
#13 0x00002aaaaabc70b1 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x00002aaaab6c2263 in clone () from /lib/libc.so.6
No symbol table info available.

cu
Mr Faber
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: amuled CVS 20050420
« Reply #1 on: April 21, 2005, 05:06:49 PM »

More UDP socket trouble. The fix I'm testing seems to be working fine, so hopefully this should be fixed in one of the next snapshots.
Logged