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 2005/03/22  (Read 2527 times)

fctk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
amule cvs 2005/03/22
« on: March 26, 2005, 08:14:38 PM »

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225918784 (LWP 10848)]
0x0816a015 in wxStringBase::size (this=0x9c21ef8) at string.h:355
warning: Source file is more recent than executable.

355  wxStringBase& operator=(const wxChar *psz);

Code: [Select]
(gdb) bt
#0  0x0816a015 in wxStringBase::size (this=0x9c21ef8) at string.h:355
#1  0x08169fef in wxStringBase::empty (this=0x9c21ef8) at string.h:365
#2  0x0816a085 in wxString::IsEmpty (this=0x9c21ef8) at string.h:675
#3  0x0831991f in CUpDownClient::GetScore (this=0x9c21eb0, sysvalue=false,
    isdownloading=false, onlybasevalue=false) at UploadClient.cpp:66
#4  0x0831f246 in CUploadQueue::GetWaitingPosition (this=0x882f270,
    client=0xaa0d690) at UploadQueue.cpp:481
#5  0x0831c8a2 in CUpDownClient::SendRankingInfo (this=0xaa0d690)
    at UploadClient.cpp:687
#6  0x0831ed31 in CUploadQueue::AddClientToQueue (this=0x882f270,
    client=0xaa0d690) at UploadQueue.cpp:407
#7  0x08218bcd in CClientReqSocket::ProcessPacket (this=0xa7e8710,
    packet=0xa0dccf0 "IbEÍ\205èÂ\024øA>\">í)|\030", size=16, opcode=84 'T')
    at ListenSocket.cpp:643
#8  0x082221f4 in CClientReqSocket::PacketReceived (this=0xa7e8710,
    packet=0xa5e2120) at ListenSocket.cpp:1813
#9  0x081ec2fd in CEMSocket::OnReceive (this=0xa7e8710, nErrorCode=0)
    at EMSocket.cpp:265
#10 0x082218ee in CClientReqSocket::OnReceive (this=0xa7e8710, nErrorCode=0)
    at ListenSocket.cpp:1721
#11 0x0821634d in CClientReqSocketHandler::ClientReqSocketHandler (
    this=0x8660160, event=@0xab5adc0) at ListenSocket.cpp:88
#12 0xb7a64d43 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.4
#13 0xb7af3b80 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.5.so.4
#14 0xb7af3eef in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.4
#15 0xb7af4aa0 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.5.so.4
#16 0xb7af48ac in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.5.so.4
#17 0xb7a64cb9 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.5.so.4
#18 0xb7c60b46 in wxapp_pending_callback ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.4
#19 0xb7425f40 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#20 0x00000000 in ?? ()
#21 0x00000001 in ?? ()
#22 0xb7444988 in g_static_private_get () from /usr/lib/libglib-2.0.so.0
#23 0x086dace8 in ?? ()
#24 0xb7425f26 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#25 0xb7486194 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0xb74211b7 in g_source_remove_poll () from /usr/lib/libglib-2.0.so.0
#27 0x0aa0de00 in ?? ()
#28 0xb7c60b10 in wxPaletteBase::GetColoursCount ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.4
Previous frame inner to this frame (corrupt stack?)

Code: [Select]
(gdb) bt full
#0  0x0816a015 in wxStringBase::size (this=0x9c21ef8) at string.h:355
No locals.
#1  0x08169fef in wxStringBase::empty (this=0x9c21ef8) at string.h:365
No locals.
#2  0x0816a085 in wxString::IsEmpty (this=0x9c21ef8) at string.h:675
No locals.
#3  0x0831991f in CUpDownClient::GetScore (this=0x9c21eb0, sysvalue=false,
    isdownloading=false, onlybasevalue=false) at UploadClient.cpp:66
pFile = (class CKnownFile *) 0x8e958c0
filepriority = 6
fBaseValue = 15408.8066
modif = 1
#4  0x0831f246 in CUploadQueue::GetWaitingPosition (this=0x882f270,
    client=0xaa0d690) at UploadQueue.cpp:481
pos = {m_ptr = 0x9b80a10}
rank = 294
myscore = 10206
#5  0x0831c8a2 in CUpDownClient::SendRankingInfo (this=0xaa0d690)
    at UploadClient.cpp:687
nRank = 2080
data = { = { = {_vptr.CFile = 0xc, m_fd = -1,
      m_error = false, fFilePath = { = {
          static npos = 4294967295, m_pchData = 0x0}, }},
    m_GrowBytes = 146866176, m_position = 257285720899588,
    m_BufferSize = -4611708077379418749, m_FileSize = -4611709142390406816,
    m_delete = 14,
    m_buffer = 0xc
}, = {
    _vptr.CFileDataIO = 0xa7cc960}, }
packet = (CPacket *) 0xb73cd5af
#6  0x0831ed31 in CUploadQueue::AddClientToQueue (this=0x882f270,
    client=0xaa0d690) at UploadQueue.cpp:407
found = { >> = {
    _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_map = 0xaa3a208,
      _M_map_size = 8, _M_start = {_M_cur = 0xa9893a0, _M_first = 0xa9893a0,
        _M_last = 0xa9895a0, _M_node = 0xaa3a214}, _M_finish = {
        _M_cur = 0xa9893a4, _M_first = 0xa9893a0, _M_last = 0xa9895a0,
        _M_node = 0xaa3a214}}}, }
it = {_M_cur = 0xa9893a4, _M_first = 0xa9893a0, _M_last = 0xa9895a0,
  _M_node = 0xaa3a214}
ipCount = 1
#7  0x08218bcd in CClientReqSocket::ProcessPacket (this=0xa7e8710,
    packet=0xa0dccf0 "IbEÍ\205èÂ\024øA>\">í)|\030", size=16, opcode=84 'T')
    at ListenSocket.cpp:643
reqfile = (class CKnownFile *) 0x8b9bf90
#8  0x082221f4 in CClientReqSocket::PacketReceived (this=0xa7e8710,
    packet=0xa5e2120) at ListenSocket.cpp:1813
bResult = 8
uRawSize = 16
#9  0x081ec2fd in CEMSocket::OnReceive (this=0xa7e8710, nErrorCode=0)
    at EMSocket.cpp:265
bPacketResult = true
toCopy = 16
ret = 105
rptr = 0x8477709 "\227Þ4R\217°Ú>öäÏ4w\203\034\216wÏHEÏ\236\väén\004\be\031ÀÃÆ»¢q)G\235\005½%§\005\211£\034\036âq\215\027C)\034y\235-mb!á¦\207s/Bèkîñú¬\230u)\024\036Ì×\207|\027ù=\213ÓYIx'¡ò\v«pÕ\017(4\237_\220\177Ê­Q\033\236¬Juè\224\237ªÊýT±\222\231X?ª\202ª=\206\032\201\220õ\001\214Â\2077Po\233\206»\033x¹å%ç\231ã<²\027¸!SÆ\207g=ßíã+Ø\214\006òk;\"U\030j\020',býÚ%Í\a:b\232ZQ9dlÌ\212RÃ\025),\005"...
GlobalReadBuffer = "ã,\000\000\000YIbEÍ\205èÂ\024øA>\">í)|\031\000Pasion Negra 2005 RAP.rarã\035\000\000\000PIbEÍ\205èÂ\024øA>\">í)|L\000\b\200\000 \200\000\000@\020\tã\021\000\000\000TIbEÍ\205èÂ\024øA>\">í)|\227Þ4R\217°Ú>öäÏ4w\203\034\216wÏHEÏ\236\väén\004\be\031ÀÃÆ»¢q)G\235\005½%§\005\211£\034\036âq\215\027C)\034y\235-mb!á¦\207s/Bèkîñú¬\230u)\024\036Ì×\207|\027ù=\213ÓYIx'¡ò\v«"...
readMax = 2000000
rend = 0x8477709 "\227Þ4R\217°Ú>öäÏ4w\203\034\216wÏHEÏ\236\väén\004\be\031ÀÃÆ»¢q)G\235\005½%§\005\211£\034\036âq\215\027C)\034y\235-mb!á¦\207s/Bèkîñú¬\230u)\024\036Ì×\207|\027ù=\213ÓYIx'¡ò\v«pÕ\017(4\237_\220\177Ê­Q\033\236¬Juè\224\237ªÊýT±\222\231X?ª\202ª=\206\032\201\220õ\001\214Â\2077Po\233\206»\033x¹å%ç\231ã<²\027¸!SÆ\207g=ßíã+Ø\214\006òk;\"U\030j\020',býÚ%Í\a:b\232ZQ9dlÌ\212RÃ\025),\005"...
#10 0x082218ee in CClientReqSocket::OnReceive (this=0xa7e8710, nErrorCode=0)
    at ListenSocket.cpp:1721
No locals.
#11 0x0821634d in CClientReqSocketHandler::ClientReqSocketHandler (
    this=0x8660160, event=@0xab5adc0) at ListenSocket.cpp:88
socket = (CClientReqSocket *) 0xa7e8710
#12 0xb7a64d43 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.4
No symbol table info available.
#13 0xb7af3b80 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.5.so.4
No symbol table info available.
#14 0xb7af3eef in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.5.so.4
No symbol table info available.
#15 0xb7af4aa0 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.5.so.4
No symbol table info available.
#16 0xb7af48ac in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.5.so.4
No symbol table info available.
#17 0xb7a64cb9 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.5.so.4
No symbol table info available.
#18 0xb7c60b46 in wxapp_pending_callback ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.4
No symbol table info available.
#19 0xb7425f40 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#20 0x00000000 in ?? ()
No symbol table info available.
#21 0x00000001 in ?? ()
No symbol table info available.
#22 0xb7444988 in g_static_private_get () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x086dace8 in ?? ()
No symbol table info available.
#24 0xb7425f26 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0xb7486194 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0xb74211b7 in g_source_remove_poll () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0x0aa0de00 in ?? ()
No symbol table info available.
#28 0xb7c60b10 in wxPaletteBase::GetColoursCount ()
   from /usr/lib/libwx_gtk2u_core-2.5.so.4
No symbol table info available.
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 2005/03/22
« Reply #1 on: March 26, 2005, 09:51:17 PM »

Quote
Originally posted by fctk
warning: Source file is more recent than executable.
This is not good for debugging, anyway, rebuild with a more recent cvs and if you have this again, please do:
(gdb) frame 3
(gdb) p m_Username

Seems to me that you have one of those brain damaged wx packages. Please post:
$ rpm -qa | grep -i wx

Cheers!
Logged

fctk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
RE: amule cvs 2005/03/22
« Reply #2 on: March 26, 2005, 10:22:14 PM »

my os is gentoo linux, so i don't know what the following command
Code: [Select]
rpm -qa | grep -i wxdo. if you tell me its function i'll find the equivalent for my distro.
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 2005/03/22
« Reply #3 on: March 26, 2005, 11:17:15 PM »

fctk,

How do you see the version of the wx package that you have installed in your system? Just curiosity, 'cause I have gentoo here in another machine and I am quite new to that :P

I see you are using wx-2.5.4, did you compile it yourself or emerged?
Logged

fctk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
Re: amule cvs 2005/03/22
« Reply #4 on: March 27, 2005, 09:24:59 PM »

mmh... i discovered i had both the gentooish and the tarball version of wxGTK.
i just uninstalled the first one and reinstalled the second one.

anyway, if you want to see what version you have of a certain package you can simply use: emerge -pv or eix (emerge eix).
Logged