This was with cvs-20040624 and wxGTK 2.5.1:
Crashing:Program received signal SIGSEGV, Segmentation fault.
0x08141b80 in CEMSocket::IsConnected() (this=0x0) at EMSocket.h:57
57 bool IsConnected() { return byConnected==ES_CONNECTED;};
bt:(gdb) bt
#0 0x08141b80 in CEMSocket::IsConnected() (this=0x0) at EMSocket.h:57
#1 0x08141272 in CEMSocket::SendPacket(Packet*, bool, bool) (this=0x0, packet=0x8c89c30, delpacket=true, controlpacket=true) at EMSocket.cpp:302
#2 0x0817149e in CUpDownClient::SendStartupLoadReq() (this=0x8c2fb18) at DownloadClient.cpp:151
#3 0x081724f1 in CUpDownClient::ProcessFileStatus(bool, CSafeMemFile const*, CPartFile const*) (this=0x8c2fb18, bUdpPacket=false, data=0xbfffefa0, file=0x8bf6990)
at DownloadClient.cpp:484
#4 0x08134ebc in CClientReqSocket::ProcessPacket(char const*, unsigned, unsigned char) (this=0x8c9ae28, packet=0x89ba378 "\210T\237\bÎ\200Î\e%d\003ñxGMóK", size=28,
opcode=80 'P') at ListenSocket.cpp:464
#5 0x0813d12e in CClientReqSocket::PacketReceived(Packet*) (this=0x8c9ae28, packet=0x8c89c30) at ListenSocket.cpp:1787
#6 0x081410f4 in CEMSocket::OnReceive(int) (this=0x8c9ae28, nErrorCode=0) at EMSocket.cpp:261
#7 0x0813d2a7 in CClientReqSocket::OnReceive(int) (this=0x8c9ae28, nErrorCode=0) at ListenSocket.cpp:1815
#8 0x081411bb in CEMSocket::SetDownloadLimit(unsigned) (this=0x8c9ae28, limit=1000) at EMSocket.cpp:286
#9 0x08228f5c in CPartFile::Process(unsigned, unsigned char) (this=0x8bf6990, reducedownload=200, m_icounter=7 '\a') at PartFile.cpp:1596
#10 0x08185819 in CDownloadQueue::Process() (this=0x88161e8) at DownloadQueue.cpp:372
#11 0x08296dea in CamuleApp::OnCoreTimer(wxTimerEvent&) (this=0x85daae0) at amule.cpp:1710
#12 0x4049cee7 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /home/nich/arquivos/programas/libs/lib/libwx_base-2.5.so.1
#13 0x405353e0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /home/nich/arquivos/programas/libs/lib/libwx_base-2.5.so.1
#14 0x4053487f in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /home/nich/arquivos/programas/libs/lib/libwx_base-2.5.so.1
#15 0x4053557d in wxEvtHandler::ProcessEvent(wxEvent&) () from /home/nich/arquivos/programas/libs/lib/libwx_base-2.5.so.1
#16 0x40341927 in wxTimerBase::Notify() () from /home/nich/arquivos/programas/libs/lib/libwx_gtk_core-2.5.so.1
#17 0x4024661d in timeout_callback () from /home/nich/arquivos/programas/libs/lib/libwx_gtk_core-2.5.so.1
#18 0x4071b565 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#19 0x08623378 in ?? ()
#20 0x4072c248 in ?? () from /usr/lib/libglib-1.2.so.0
bt full:(gdb) bt full
#0 0x08141b80 in CEMSocket::IsConnected() (this=0x0) at EMSocket.h:57
No locals.
#1 0x08141272 in CEMSocket::SendPacket(Packet*, bool, bool) (this=0x0, packet=0x8c89c30, delpacket=true, controlpacket=true) at EMSocket.cpp:302
bCheckControlQueue = 191
#2 0x0817149e in CUpDownClient::SendStartupLoadReq() (this=0x8c2fb18) at DownloadClient.cpp:151
dataStartupLoadReq = { = { = {_vptr.CFile = 0x83341e8, m_fd = -1, m_error = 32, fFilePath = }, fGrowBytes = 16, fPosition = 0,
fBufferSize = 0, fFileSize = 0, deleteBuffer = 1, fBuffer = 0x0}, }
packet = (Packet *) 0x8c89c30
#3 0x081724f1 in CUpDownClient::ProcessFileStatus(bool, CSafeMemFile const*, CPartFile const*) (this=0x8c2fb18, bUdpPacket=false, data=0xbfffefa0, file=0x8bf6990)
at DownloadClient.cpp:484
nED2KPartCount = 75
bPartsNeeded = true
iNeeded = 8
#4 0x08134ebc in CClientReqSocket::ProcessPacket(char const*, unsigned, unsigned char) (this=0x8c9ae28, packet=0x89ba378 "\210T\237\bÎ\200Î\e%d\003ñxGMóK", size=28,
opcode=80 'P') at ListenSocket.cpp:464
data = { = { = {_vptr.CFile = 0x83341e8, m_fd = -1, m_error = 240, fFilePath = }, fGrowBytes = 0, fPosition = 28, fBufferSize = 28,
fFileSize = 28, deleteBuffer = 0, fBuffer = 0x89ba378 "\210T\237\bÎ\200Î\e%d\003ñxGMóK"}, }
cfilehash = ";¤ºÕÎ\200Î\e%d\003ñxGMó"
file = (class CPartFile *) 0x8bf6990
#5 0x0813d12e in CClientReqSocket::PacketReceived(Packet*) (this=0x8c9ae28, packet=0x8c89c30) at ListenSocket.cpp:1787
bResult = 8
uRawSize = 28
#6 0x081410f4 in CEMSocket::OnReceive(int) (this=0x8c9ae28, nErrorCode=0) at EMSocket.cpp:261
bPacketResult = true
toCopy = 28
GlobalReadBuffer = "\000\000\000\000dGnÞÚmá\234\030»à\202;O¿\036\tA\005]]¹\233A\215t$aã]ßl\027\220\2123n\026\004\200l\027ãá,|;Å#ÂôÅùW\201óyõ\203IK`Ï\034P-\a\002p`Q\003Q+D\021)¶\223ò¬Ùsz\2219%²(>]\200aø0A\004* \bé4zÓHÁ\224¦ÒÕ\000ðÿö±:1è¬Pq\004G\217¨p\036Þp^\006 ð\020AÑ\031=Á,Fe?¨á8æÀxX\003÷ð³ý6x'\003\001Å`} îQÑx\204®#`«{;\232ã7ðõéðC\022+\213\006\023ÕXî\017¾\a\226\f"...
readMax = 1000
ret = 1000
rptr = 0x83e01e0 "ÕXî\017¾\a\226\fá\177©p\2161vÂp®\f/eÚ®Ð;öïûF±Ù$0ÏiÒ\235_é\021°R(1_\226Û \227Gª£r@\b\022ÇÅ×óåù\v¤n\206\"ÐÈ\ni\220ìÏê\207åÁ\006\201ñéw\223Ø<\031ýU\003í"
rend = 0x83e0508 "¯úð6\n°Bù{a\001 0\177âÂüÉ>§\224\210W\215.¶g\ràNÄÿ\n¢Ä$<1§Fo\024aÎ\022\003\tt\020>¯\as߯\236?\037\211EãïÈ_â\025t}\\Â\205Ï\216rs®\005:\nº§ÏZ\fAù\v¿ï~\bõso\003±N}´û\005æ\200¦\e´¡\232·ÿÊìceY§\027¤®ñ®\031\002\237ÿͼ~Zs÷\204½\207\216\fñÎ\021æ\020·×¼ðQbç½ÇÙä\003ûÑæ#Ò\031\025(Ú=\022ïë\024¼\016\r\b«¸¾ T\006åÚZC:§\230¡;\202\202*{\217\200 \035\201ðm\022m"...
#7 0x0813d2a7 in CClientReqSocket::OnReceive(int) (this=0x8c9ae28, nErrorCode=0) at ListenSocket.cpp:1815
No locals.
#8 0x081411bb in CEMSocket::SetDownloadLimit(unsigned) (this=0x8c9ae28, limit=1000) at EMSocket.cpp:286
No locals.
#9 0x08228f5c in CPartFile::Process(unsigned, unsigned char) (this=0x8bf6990, reducedownload=200, m_icounter=7 '\a') at PartFile.cpp:1596
limit = 1000
kBpsClient = 0
cur_src = (CUpDownClient *) 0x8c2fb18
it = {<_List_iterator_base> = {_M_node = 0x8757000}, }
old_trans = 2
dwCurTick = 1610860933
#10 0x08185819 in CDownloadQueue::Process() (this=0x88161e8) at DownloadQueue.cpp:372
cur_file = (class CPartFile *) 0x8bf6990
i = 4
size = 6
downspeed = 200
#11 0x08296dea in CamuleApp::OnCoreTimer(wxTimerEvent&) (this=0x85daae0) at amule.cpp:1710
msPrev1 = 26866244
msPrev5 = 26865343
msPrevSave = 26838929
msCur = 26866943
#12 0x4049cee7 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /home/nich/arquivos/programas/libs/lib/libwx_base-2.5.so.1
No symbol table info available.
#13 0x405353e0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /home/nich/arquivos/programas/libs/lib/libwx_base-2.5.so.1
No symbol table info available.
#14 0x4053487f in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /home/nich/arquivos/programas/libs/lib/libwx_base-2.5.so.1
No symbol table info available.
#15 0x4053557d in wxEvtHandler::ProcessEvent(wxEvent&) () from /home/nich/arquivos/programas/libs/lib/libwx_base-2.5.so.1
No symbol table info available.
#16 0x40341927 in wxTimerBase::Notify() () from /home/nich/arquivos/programas/libs/lib/libwx_gtk_core-2.5.so.1
No symbol table info available.
#17 0x4024661d in timeout_callback () from /home/nich/arquivos/programas/libs/lib/libwx_gtk_core-2.5.so.1
No symbol table info available.
#18 0x4071b565 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#19 0x08623378 in ?? ()
No symbol table info available.
#20 0x4072c248 in ?? () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
Anything new? :rolleyes: