aMule Bug Tracker - aMule
View Issue Details
0000036aMuleFeature Requestpublic2004-04-22 00:372004-05-27 00:12
Citroklar 
 
normalfeaturealways
closedopen 
 
 
0000036: cvs from april 21st, 23:47 UTC+1
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 13586)]
0x40abaf39 in _int_malloc () from /lib/libc.so.6
(gdb) be
Undefined command: "be". Try "help".
(gdb) bt
#0 0x40abaf39 in _int_malloc () from /lib/libc.so.6
0000001 0x40aba073 in malloc () from /lib/libc.so.6
0000002 0x081b2e33 in CMemFile::enlargeBuffer(unsigned long) (this=0xbffff210, size=1) at filemem.cpp:108
0000003 0x081b303c in CMemFile::WriteRaw(void const*, unsigned) (this=0xbffff210, buf=0xbffff24f, length=1) at filemem.cpp:161
0000004 0x08149783 in CMemFile::Write(unsigned char const&) (this=0xbffff210, v=@0xbffff24f) at CMemFile.h:49
0000005 0x081589b6 in CUpDownClient::SendSignaturePacket() (this=0x8d724a0) at BaseClient.cpp:1692
0000006 0x08158bd1 in CUpDownClient::ProcessPublicKeyPacket(unsigned char*, unsigned) (this=0x8d724a0,
    pachPacket=0x8d86778 "L0J0\r\006\t*\206H\206÷\r\001\001\001\005", nSize=77) at BaseClient.cpp:1726
0000007 0x081462fa in CClientReqSocket::ProcessExtPacket(char*, unsigned, unsigned char) (this=0x8c6b950,
    packet=0x8d86778 "L0J0\r\006\t*\206H\206÷\r\001\001\001\005", size=77, opcode=133 '\205') at ListenSocket.cpp:1379
0000008 0x08147656 in CClientReqSocket::PacketReceived(Packet*) (this=0x8c6b950, packet=0x8c76ce8) at ListenSocket.cpp:1713
0000009 0x0814b1e4 in CEMSocket::OnReceive(int) (this=0x8c6b950, nErrorCode=0) at EMSocket.cpp:283
0000010 0x0814771f in CClientReqSocket::OnReceive(int) (this=0x8c6b950, nErrorCode=0) at ListenSocket.cpp:1731
#11 0x0829f466 in CamuleDlg::socketHandler(wxSocketEvent&) (this=0x863a530, event=@0x8a62390) at amuleDlg.cpp:431
0000012 0x402f23f3 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk-2.4.so
0000013 0x402f2200 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk-2.4.so
0000014 0x402f2146 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_gtk-2.4.so
0000015 0x402af451 in wxAppBase::ProcessPendingEvents() () from /usr/lib/libwx_gtk-2.4.so
0000016 0x4024d245 in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so
0000017 0x406c69be in g_idle_dispatch () from /usr/lib/libglib-1.2.so.0
(gdb) bt full
#0 0x40abaf39 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
0000001 0x40aba073 in malloc () from /lib/libc.so.6
No symbol table info available.
0000002 0x081b2e33 in CMemFile::enlargeBuffer(unsigned long) (this=0xbffff210, size=1) at filemem.cpp:108
        newsize = 1024
0000003 0x081b303c in CMemFile::WriteRaw(void const*, unsigned) (this=0xbffff210, buf=0xbffff24f, length=1) at filemem.cpp:161
No locals.
0000004 0x08149783 in CMemFile::Write(unsigned char const&) (this=0xbffff210, v=@0xbffff24f) at CMemFile.h:49
No locals.
0000005 0x081589b6 in CUpDownClient::SendSignaturePacket() (this=0x8d724a0) at BaseClient.cpp:1692
        bUseV2 = false
        byChaIPKind = 0 '\0'
        ChallengeIP = 0
        achBuffer = "+ßÌ÷\220\016j¬\205\230}EßVá\222ÉüÜ-)·DO\034_\021\216D©\204Ó\211\020©¬\224iÿ\005öEæêaNöQ\f\000\000\000\220#¦\b¸òÿ¿~v\232@\f\000\000\000\220#¦\bÈòÿ¿È\002P@\020mÇ\b\001\000\000\000øòÿ¿ãª\026\b\a\030\000\000\000\000\000\000RU\022?1k\026\b\a\030\000\000¼\r\000\000Ô³l\212Ù\030\027\b\030ær\bx8\022\tx8\022\tå\a\000\000\000óÿ¿èlÇ\b\bóÿ¿ø)\026\b\030ær\b\000óÿ¿(óÿ¿\1772\027\bÔ³l\212\000\000\000\000(óÿ¿\2171\027\b\030ær\b$óÿ¿"...
        siglen = 48 '0'
        data = {<CFile> = {_vptr.CFile = 0x832a8a8, m_fd = -1, m_error = 56, fFilePath = <incomplete type>},
  fBuffer = 0x0, fLength = 0, fGrowBytes = 1024, fPosition = 0, fBufferSize = 0, fFileSize = 0, deleteBuffer = 1}
        packet = (Packet *) 0x40b7a200
0000006 0x08158bd1 in CUpDownClient::ProcessPublicKeyPacket(unsigned char*, unsigned) (this=0x8d724a0,
    pachPacket=0x8d86778 "L0J0\r\006\t*\206H\206÷\r\001\001\001\005", nSize=77) at BaseClient.cpp:1726
No locals.
0000007 0x081462fa in CClientReqSocket::ProcessExtPacket(char*, unsigned, unsigned char) (this=0x8c6b950,
    packet=0x8d86778 "L0J0\r\006\t*\206H\206÷\r\001\001\001\005", size=77, opcode=133 '\205') at ListenSocket.cpp:1379
No locals.
0000008 0x08147656 in CClientReqSocket::PacketReceived(Packet*) (this=0x8c6b950, packet=0x8c76ce8) at ListenSocket.cpp:1713
        bResult = 64
        uRawSize = 77
0000009 0x0814b1e4 in CEMSocket::OnReceive(int) (this=0x8c6b950, nErrorCode=0) at EMSocket.cpp:283
        toCopy = 77
        GlobalReadBuffer = "ÅN\000\000\000\205L0J0\r\006\t*\206H\206÷\r\001\001\001\005\000\0039\00006\0021\000½4ø\231\226\t\200lø^\003׸\212«\004+ßYúA\205\fæë\001Rx\214]ÆxSJ\032jh\020­ðÆ\022«Ûä\032\016\177\002\001\021Å2\000\000\000\2060\234ê9\237ÕOJ¤ö.Õ#\223nD-}\200îo\030O@»ñ\231V\2050£KBçzõÉ\234³ØP\005%~\221MF\fíÿë\t=MUW\232ZC\032ªË\002\006_ÆüI\231ÖðÉÚød¢4\223\203\---Type <return> to continue, or q <return> to quit---
226¶&\235L$d\021\027\212\211\016\016¢\037Ô\216­\225\207­´k<eÔ\206\210\213\237¤û"...
        readMax = 2000000
        ret = 138
        rptr = 0x83cd7d3 "Å2"
        rend = 0x83cd80a "ÿë\t=MUW\232ZC\032ªË\002\006_ÆüI\231ÖðÉÚød¢4\223\203\226¶&\235L$d\021\027\212\211\016\016¢\037Ô\216­\225\207­´k<eÔ\206\210\213\237¤ûç^-а\227Û\230Ué\232)w\224Èô\230V®kÐ?Ð ßc19{M¿Ád6Së\vÓ9ÄÙû¤!¾Jk\226J ^ïÜ\177³_KÓTUZƽè\231\rUæ\\u\204¦gÀ»"
0000010 0x0814771f in CClientReqSocket::OnReceive(int) (this=0x8c6b950, nErrorCode=0) at ListenSocket.cpp:1731
No locals.
#11 0x0829f466 in CamuleDlg::socketHandler(wxSocketEvent&) (this=0x863a530, event=@0x8a62390) at amuleDlg.cpp:431
        soc = (class CClientReqSocket *) 0x8c6b950
        current_socket = (struct wxSocketBase *) 0x8c6b950
0000012 0x402f23f3 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
0000013 0x402f2200 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
0000014 0x402f2146 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
0000015 0x402af451 in wxAppBase::ProcessPendingEvents() () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
0000016 0x4024d245 in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
0000017 0x406c69be in g_idle_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
(gdb)
No tags attached.
Issue History
2004-04-22 00:37CitroklarNew Issue
2004-04-22 00:55KryNote Added: 0000048
2004-05-27 00:12XaignarStatusnew => closed
2004-05-27 00:12XaignarNote Added: 0000068

Notes
(0000048)
Kry   
2004-04-22 00:55   
Humm... the malloc failed on the filemem, doing a memfile enlarge from 1 to 1024 bytes... I wonder why?
(0000068)
Xaignar   
2004-05-27 00:12   
Please only post backtraces in the backtraces forum. ;)

Cheers,
 Xaignar