Originally posted by phoenix
Mr Faber,
The port bug has been fixed today by lfroen.
Yes, webserver in CVS 20050219 seems to work fine. Thanks.
But the second amuled ist still there and I always have to change the one line in StrinFunctions.h to get amuled without unicode to work.
Today I will install aMule correctly so I can test this under normal condition. For now I only used wxBase 2.5.3 instead of wxGTK 2.5.3 without --enable-gtk because I only use command tools. Maybe this will help. Compilation works fine.
I get a crash relativily fast. It seems to have something to do with Black Dragon Mods because I get an similar result yesterday two times.
(gdb) bt
#0 0x0000002a956780f9 in raise () from /lib/libpthread.so.0
#1 0x0000002a957e043a in wxTrap() () at src/common/appbase.cpp:569
#2 0x0000002a957e0771 in ShowAssertDialog (
szFile=0x2a9586e45c "src/unix/utilsunx.cpp", nLine=251,
szCond=0x2a9586e4ac "wxThread::IsMain()",
szMsg=0x2a9586e478 "wxExecute() can be called only from the main thread",
traits=0x8f8a60) at src/common/appbase.cpp:723
#3 0x0000002a957e023d in wxAppConsole::OnAssert(char const*, int, char const*, char const*) (this=0x8f6af0, file=0x2a9586e45c "src/unix/utilsunx.cpp",
line=251, cond=0x2a9586e4ac "wxThread::IsMain()",
msg=0x2a9586e478 "wxExecute() can be called only from the main thread")
at src/common/appbase.cpp:438
#4 0x0000002a957e04fd in wxOnAssert(char const*, int, char const*, char const*) (szFile=0x2a9586e45c "src/unix/utilsunx.cpp", nLine=251,
szCond=0x2a9586e4ac "wxThread::IsMain()",
szMsg=0x2a9586e478 "wxExecute() can be called only from the main thread")
at src/common/appbase.cpp:615
#5 0x0000002a957e0470 in wxAssert(int, char const*, int, char const*, char const*) (cond=0, szFile=0x2a9586e45c "src/unix/utilsunx.cpp", nLine=251,
szCond=0x2a9586e4ac "wxThread::IsMain()",
szMsg=0x2a9586e478 "wxExecute() can be called only from the main thread")
at src/common/appbase.cpp:582
#6 0x0000002a958602d2 in wxExecute(wxString const&, int, wxProcess*) (
command=@0x41ffdb00, flags=1, process=0x11555b0)
at src/unix/utilsunx.cpp:250
#7 0x0000002a9585ff83 in wxDoExecuteWithCapture (command=@0x41ffdb00,
output=@0x41ffdaa0, error=0x0) at src/common/utilscmn.cpp:493
#8 0x0000002a95860020 in wxExecute(wxString const&, wxArrayString&) (
command=@0x41ffdb00, output=@0x41ffdaa0) at src/common/utilscmn.cpp:520
#9 0x0000000000504cfc in CamuleApp::OnFatalException() (this=0x8f6af0)
at amule.cpp:1180
#10 0x0000002a958619e7 in wxFatalSignalHandler () at src/unix/utilsunx.cpp:976
#11
#12 0x0000002a967ce31c in vfprintf () from /lib/libc.so.6
#13 0x0000002a967ecce4 in vsnprintf () from /lib/libc.so.6
#14 0x0000002a95836b39 in wxString::PrintfV(char const*, __va_list_tag*) (
this=0x41ffedc0,
pszFormat=0x1dcb9a8 "--- Disconnected client \"Client Bl@ck Drag%n on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drag%n' (IP:217.94.56.177) caused a socket blocking error or closed connection."...,
argptr=0x41ffebc0) at src/common/string.cpp:1942
#15 0x0000002a9583693a in wxString::Format(char const*, ...) (
pszFormat=0x1dcb9a8 "--- Disconnected client \"Client Bl@ck Drag%n on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drag%n' (IP:217.94.56.177) caused a socket blocking error or closed connection."...)
at src/common/string.cpp:1894
#16 0x000000000041c57e in CUpDownClient::Disconnected(wxString const&, bool) (
this=0x1915940, strReason=@0x41fff000, bFromSocket=true)
at BaseClient.cpp:1215
#17 0x00000000004869f0 in CClientReqSocket::Disconnect(wxString const&) (
this=0xbbf7f0, strReason=@0x41fff000) at ListenSocket.cpp:314
#18 0x0000000000490965 in CClientReqSocket::OnError(int) (this=0xbbf7f0,
nErrorCode=7) at ListenSocket.cpp:2235
#19 0x0000000000492baf in CSocketGlobalThread::Entry() (this=0xae6f18)
at ListenSocket.cpp:2663
#20 0x0000002a9585917f in wxThreadInternal::PthreadStart(wxThread*) (
thread=0xae6f18) at src/unix/threadpsx.cpp:762
#21 0x0000002a95859065 in wxPthreadStart (ptr=0xae6f18)
at src/unix/threadpsx.cpp:714
#22 0x0000002a956720b1 in start_thread () from /lib/libpthread.so.0
#23 0x0000002a96841263 in clone () from /lib/libc.so.6
(gdb) bt full
#0 0x0000002a956780f9 in raise () from /lib/libpthread.so.0
No symbol table info available.
#1 0x0000002a957e043a in wxTrap() () at src/common/appbase.cpp:569
No locals.
#2 0x0000002a957e0771 in ShowAssertDialog (
szFile=0x2a9586e45c "src/unix/utilsunx.cpp", nLine=251,
szCond=0x2a9586e4ac "wxThread::IsMain()",
szMsg=0x2a9586e478 "wxExecute() can be called only from the main thread",
traits=0x8f8a60) at src/common/appbase.cpp:723
s_bNoAsserts = false
msg = { = {static npos = 4294967195,
m_pchData = 0x1c62058 "src/unix/utilsunx.cpp(251): assert \"wxThread::IsMain()\" failed: wxExecute() can be called only from the main thread [in child thread]"}, }
#3 0x0000002a957e023d in wxAppConsole::OnAssert(char const*, int, char const*, char const*) (this=0x8f6af0, file=0x2a9586e45c "src/unix/utilsunx.cpp",
line=251, cond=0x2a9586e4ac "wxThread::IsMain()",
msg=0x2a9586e478 "wxExecute() can be called only from the main thread")
at src/common/appbase.cpp:438
No locals.
#4 0x0000002a957e04fd in wxOnAssert(char const*, int, char const*, char const*) (szFile=0x2a9586e45c "src/unix/utilsunx.cpp", nLine=251,
szCond=0x2a9586e4ac "wxThread::IsMain()",
szMsg=0x2a9586e478 "wxExecute() can be called only from the main thread")
at src/common/appbase.cpp:615
s_bInAssert = true
#5 0x0000002a957e0470 in wxAssert(int, char const*, int, char const*, char const*) (cond=0, szFile=0x2a9586e45c "src/unix/utilsunx.cpp", nLine=251,
szCond=0x2a9586e4ac "wxThread::IsMain()",
szMsg=0x2a9586e478 "wxExecute() can be called only from the main thread")
at src/common/appbase.cpp:582
No locals.
#6 0x0000002a958602d2 in wxExecute(wxString const&, int, wxProcess*) (
command=@0x41ffdb00, flags=1, process=0x11555b0)
at src/unix/utilsunx.cpp:250
argv = {0x0, 0x41ffd4c0 "%", 0x3 ,
0x41ffd460 "ðÂÍ\001û", 0x41ffd508 "\"", 0x0, 0x0,
0x12 ,
0x2a96670000 "æ\025Òöÿ¿Ø?\vJêàö\017Ú?\211\t\232\030+¥\003@=aÀ\2111hÚ»ï4÷\002", 0x0, 0x41ffd5a0 "",
0x2a96687f50 "H\211l$ØH\211\\$ÐH\211ÕL\211d$àL\211l$èºÿÿÿÿL\211t$ðL\211|$øH\201ì\210", 0x41ffd610 "b\022\204\226*",
0x2affffffff ,
0x2a96871220 "H\213\005\211\213\023", 0x0, 0x0, 0x0,
0x2a9678b000 , 0x2a969a98c0 "", 0x0,
0x41ff000b "", 0x12 ,
0xe , 0x41ffd9b0 "°ÞÿA",
0x114e995 "/lib/libc.so.6(__clone+0x43) [0x2a96841263]", 0x41ffd8f0 "ÀÚÿA",
0x2a967d34f8 "H\201ÄØ", 0x3000000030 ,
0x41ffd6e0 "\232Ó{\225*", 0x41ffd610 "b\022\204\226*",
0x2a966883d2 "1Ò\205À\017\2109ÿÿÿH\213T$ H\205Ò\017\204+ÿÿÿH\213D$\bI\211E",
0x2a96841262 "ÐH\211ÇèuaýÿH\213\rÎ\213\026", 0x0,
0x2a9667f488 "/lib/libc.so.6", 0x2a9688a255 "(", 0x2a9679aaa7 "__clone",
0x41ffd960 "ÀÚÿA", 0x521 ,
0x64 , 0x0, 0x2a969ac710 "", 0x2a969ac718 "",
0x41ffd6c0 "\002",
0x3437383031998378 ,
0x80 , 0x61 ,
0x400 , 0x41ffd6c0 "\002",
0x41ffd830 "&ºÜ\001", 0x56d0f0 "addr2line -C -f -s -e /proc/%d/exe ",
0x2a9555d1b2 "\205À\017\205,ÿÿÿéwÿÿÿ\220H\203|$0",
0x61 ,
0xcca2545969ac6a0 ,
0x2 ,
0x1dcba26 "n' (IP:217.94.56.177) caused a socket blocking error or closed connection.\n", 0x0,
0x1dcb9a8 "--- Disconnected client \"Client Bl@ck Drag%n on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drag%n' (IP:217.94.56.177) caused a socket blocking error or closed connection."..., 0x2a957bd39a "",
0x2a9555d1b2 "\205À\017\205,ÿÿÿéwÿÿÿ\220H\203|$0", 0x2a95786fe8 "",
0xcca25450000000f ,
0x2a96670002 "Òöÿ¿Ø?\vJêàö\017Ú?\211\t\232\030+¥\003@=aÀ\2111hÚ»ï4÷\002",
0x2a969b1168 "OÓ{\225*", 0x0, 0x9579c678 ,
0x2a957bd39a "", 0x2a9579e550 "", 0x2a95786fe8 "",
0xf , 0x2a9667fd60 "š¹f\225*",
0x2a969b1168 "OÓ{\225*", 0x41ffd880 "h¹x\225*", 0x2a9578b968 "b9\001",
0x1d0a9f3 "ý\tæÃs\211ï€Èô5YËuË\027(=\236ÐÆ%Ðì\005PùçdŸha\203üw¶íæùãÝø\027Ÿ\036x\017RúÙß\211¹ü\230Xh\"\0353\026w·ßävnË6õ\222©t\214î\203%}é°\216Xÿ\222K«\224\224¬p\216\021ª\016\226\005:¡z\223Í\234í\036œNñ\0165\004ú\b\227U!û\221KëÐ×y^\021³\rÖLÍ!É\tÄ\020ñ\023\230\177rQÿ\201¡\233l»-.\216ÃÒ\203s Õ°€Æ\233\222Äk\rמ\224ÞþýË\201¿qç£'ÆýzÃÞo(ÈkguË\021ò\216<2Ü\023%ò"...,
0x2a957b1eb2 "_Z9wxExecuteRK8wxStringiP9wxProcess", 0x2a969b1168 "OÓ{\225*",
0x2a9556bd90 "XŒf\225*", 0x41ffd8c0 "\220ÙÿA", 0x0, 0x41ffd880 "h¹x\225*",
0x1d0a9f3 "ý\tæÃs\211ï€Èô5YËuË\027(=\236ÐÆ%Ðì\005PùçdŸha\203üw¶íæùãÝø\027Ÿ\036x\017RúÙß\211¹ü\230Xh\"\0353\026w·ßävnË6õ\222©t\214î\203%}é°\216Xÿ\222K«\224\224¬p\216\021ª\016\226\005:¡z\223Í\234í\036œNñ\0165\004ú\b\227U!û\221KëÐ×y^\021³\rÖLÍ!É\tÄ\020ñ\023\230\177rQÿ\201¡\233l»-.\216ÃÒ\203s Õ°€Æ\233\222Äk\rמ\224ÞþýË\201¿qç£'ÆýzÃÞo(ÈkguË\021ò\216<2Ü\023%ò"..., 0x2a969b1168 "OÓ{\225*",
0x2a9555d3f1 "\205À\211Â\177\027©", 0x2a969b1168 "OÓ{\225*",
0x1 , 0x0,
0x2a00000001 ,
0xbe4e557 ,
0x407b3e "_Z9wxExecuteRK8wxStringR13wxArrayString",
0x41 ,
0x100000000 , 0x2a9556bd90 "XŒf\225*",
0x41ffd8e8 "h¹x\225*", 0x2a9556ba48 "",
0x2a957b1eb2 "_Z9wxExecuteRK8wxStringiP9wxProcess",
0x3 , 0x2a95858361 "\211EðH\213Eø\203}ð",
0x30 , 0x41ffd8a0 "&ºÜ\001",
0x1dcba26 "n' (IP:217.94.56.177) caused a socket blocking error or closed connection.\n",
0x2a963b7fea "H\205Àt\023H\213\034$H\213l$\bL\213d$\020H\203Ä\030ÃL\213%Wq\022", 0x2a9579c678 "48\001", 0x2a9556ba48 "", 0x41ffd8a0 "&ºÜ\001",
0x2a9599b058 "Ü£\202\225*",
0x1dcba26 "n' (IP:217.94.56.177) caused a socket blocking error or closed connection.\n", 0x41ffeb30 " ",
0x1dcb9a8 "--- Disconnected client \"Client Bl@ck Drag%n on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drag%n' (IP:217.94.56.177) caused a socket blocking error or closed connection."...,
0x3 , 0x2a9578b968 "b9\001", 0x2a9556ba48 "",
0x1 , 0x2a95998128 "N\002\206\225*",
0x1dcba26 "n' (IP:217.94.56.177) caused a socket blocking error or closed connection.\n", 0x41ffeb30 " ",
0x1dcb9a8 "--- Disconnected client \"Client Bl@ck Drag%n on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drag%n' (IP:217.94.56.177) caused a socket blocking error or closed connection."...,
0x3 , 0x41ffd990 "°ÙÿA",
0x2a955601a4 "H\213T$\030H\211Á1ÀH\205Òt\fH\205ÉtPH\213B\bH\003\001\213\025ê\020", 0x1 , 0x0, 0x11555b0 "°õ\231\225*",
0x2a9578b968 "b9\001", 0x41ffdac0 "ž\207\231\001",
0x2a95560052 "I\211ÃL\213L$0L\213D$(H\213|$ H\213t$\030H\213T$\020H\213L$\bH\213\004$H\203ÄHAÿãf\220H\203ì8H\211\004$H\211L$\bH\211T$\020H\211t$\030H\211|$ L\211D$(L\211L$0H\213T$HH\213t$@I\211óL\001ÞL\001ÞHÁæ\003H\213|$8èi\001",
0x11555b0 "°õ\231\225*"}
escaped = false
lRc = 18147733
argc = 0
argument = { = {static npos = 4294967195,
m_pchData = 0x0}, }
cptr = (const wxChar *) 0x41ffd4d8 " "
quotechar = 0 '\0'
#7 0x0000002a9585ff83 in wxDoExecuteWithCapture (command=@0x41ffdb00,
output=@0x41ffdaa0, error=0x0) at src/common/utilscmn.cpp:493
process = (class wxProcess *) 0x11555b0
rc = 1107286720
#8 0x0000002a95860020 in wxExecute(wxString const&, wxArrayString&) (
command=@0x41ffdb00, output=@0x41ffdaa0) at src/common/utilscmn.cpp:520
No locals.
#9 0x0000000000504cfc in CamuleApp::OnFatalException() (this=0x8f6af0)
at amule.cpp:1180
bt_array = {0x5044bd, 0x2a958619e7, 0x2a95678210, 0x2a967ce31c,
0x2a967ecce4, 0x2a95836b39, 0x2a9583693a, 0x41c57e, 0x4869f0, 0x490965,
0x492baf, 0x2a9585917f, 0x2a95859065, 0x2a956720b1, 0x2a96841263,
0xc8af7068, 0xc99145da56a5505c, 0x5ffffffff, 0x404caf9006d417c8,
0x366eba26758d3602, 0x4eebecba41ffdc70, 0x0, 0xd091f534b0907087, 0x41ffdcd0,
0x4eebecbaf0a65320, 0x41ffdc58, 0x41ffdca0, 0x539ec9, 0xf0a653204eebecba,
0xf0a653204eebecba, 0xf0a653204eebecba, 0x41ffdc90, 0x64, 0x2a967d86ce,
0x41ffdcb0, 0x41ffdcd0, 0x9a03b882c8af7068, 0x41ffdcc8, 0x41ffdd00,
0x41ffdcd0, 0x64, 0x100000000, 0x3, 0x100, 0x41ffd870, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x2a96889a3c, 0xa00000001, 0x700000000, 0x2a969a80a0,
0x2a969aa560, 0x0, 0xffffffff00000000, 0xf, 0x496889a3c, 0x55485f, 0x0,
0x41ffe020, 0x41ffdf00, 0x2, 0x41ffd873, 0xf, 0x60, 0x41, 0x2a959a3b60,
0x41ffddf0, 0x2a958210ba, 0x0, 0x2a959a3b60, 0x8f6af0, 0x0, 0x18f8cd0,
0xae6d50, 0x0, 0x2a969ac710, 0x2a969ac718, 0x41ffde50, 0x30000000018f8868,
0x18f8c67, 0x18f8868, 0x400, 0x41ffde50, 0x41ffdfc0, 0x55512c, 0x3, 0x1,
0x14000000, 0x2a967b9ca0, 0x1000, 0x7fbfffe990, 0x1000, 0x3, 0x2a967f5192,
0x18f886f, 0x1b097e0}
num_entries = 15
command = { = {static npos = 4294967195,
m_pchData = 0x1d27768 "addr2line -C -f -s -e /proc/10874/exe 0x5044bd 0x2a958619e7 0x2a95678210 0x2a967ce31c 0x2a967ecce4 0x2a95836b39 0x2a9583693a 0x41c57e 0x4869f0 0x490965 0x492baf 0x2a9585917f 0x2a95859065 0x2a956720b1 "...}, }
bt_strings = (char **) 0x114e590
libname = (wxString *) 0x1dbb2e8
funcname = (wxString *) 0x1151eb8
address = (wxString *) 0x1c60728
AllAddresses = { = {static npos = 4294967195,
m_pchData = 0x1143e48 "0x5044bd 0x2a958619e7 0x2a95678210 0x2a967ce31c 0x2a967ecce4 0x2a95836b39 0x2a9583693a 0x41c57e 0x4869f0 0x490965 0x492baf 0x2a9585917f 0x2a95859065 0x2a956720b1 0x2a96841263 "}, }
out = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0, m_autoSort = false}
#10 0x0000002a958619e7 in wxFatalSignalHandler () at src/unix/utilsunx.cpp:976
No locals.
#11
No symbol table info available.
#12 0x0000002a967ce31c in vfprintf () from /lib/libc.so.6
No symbol table info available.
#13 0x0000002a967ecce4 in vsnprintf () from /lib/libc.so.6
No symbol table info available.
#14 0x0000002a95836b39 in wxString::PrintfV(char const*, __va_list_tag*) (
this=0x41ffedc0,
pszFormat=0x1dcb9a8 "--- Disconnected client \"Client Bl@ck Drag%n on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drag%n' (IP:217.94.56.177) caused a socket blocking error or closed connection."...,
argptr=0x41ffebc0) at src/common/string.cpp:1942
tmp = {m_str = @0x41ffedc0,
m_buf = 0x18f8868 "--- Disconnected client \"Client Bl@ck Drag on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drageason was Client 'http://emule-project.net' (IP:217.82.158.46) caused a socke"...}
buf = (
wxChar *) 0x18f8868 "--- Disconnected client \"Client Bl@ck Drag on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drageason was Client 'http://emule-project.net' (IP:217.82.158.46) caused a socke"...
argptrcopy = {{gp_offset = 32, fp_offset = 48,
overflow_arg_area = 0x41ffecc0, reg_save_area = 0x41ffebf0}}
size = 1024
len = 1107291024
#15 0x0000002a9583693a in wxString::Format(char const*, ...) (
pszFormat=0x1dcb9a8 "--- Disconnected client \"Client Bl@ck Drag%n on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drag%n' (IP:217.94.56.177) caused a socket blocking error or closed connection."...)
at src/common/string.cpp:1894
argptr = {{gp_offset = 16, fp_offset = 48,
overflow_arg_area = 0x41ffecc0, reg_save_area = 0x41ffebf0}}
s = { = {static npos = 4294967195,
m_pchData = 0x18f8868 "--- Disconnected client \"Client Bl@ck Drag on IP 217.94.56.177 port 4652 using eMule v0.42d\"; Reason was Client 'Bl@ck Drageason was Client 'http://emule-project.net' (IP:217.82.158.46) caused a socke"...}, }
#16 0x000000000041c57e in CUpDownClient::Disconnected(wxString const&, bool) (
this=0x1915940, strReason=@0x41fff000, bFromSocket=true)
at BaseClient.cpp:1215
bDelete = false
#17 0x00000000004869f0 in CClientReqSocket::Disconnect(wxString const&) (
this=0xbbf7f0, strReason=@0x41fff000) at ListenSocket.cpp:314
No locals.
#18 0x0000000000490965 in CClientReqSocket::OnError(int) (this=0xbbf7f0,
nErrorCode=7) at ListenSocket.cpp:2235
strError = { = {static npos = 4294967195,
m_pchData = 0x1b976f8 "Client 'Bl@ck Drag%n' (IP:217.94.56.177) caused a socket blocking error or closed connection."}, }
disconnect = true
#19 0x0000000000492baf in CSocketGlobalThread::Entry() (this=0xae6f18)
at ListenSocket.cpp:2663
cur_sock = (CClientReqSocket *) 0xbbf7f0
it = {_M_node = 0x19cef90}
locker = {m_isOk = true, m_mutex = @0x8f6da0}
#20 0x0000002a9585917f in wxThreadInternal::PthreadStart(wxThread*) (
thread=0xae6f18) at src/unix/threadpsx.cpp:762
pthread = (wxThreadInternal *) 0xae72a0
rc = 0
dontRunAtAll = false
#21 0x0000002a95859065 in wxPthreadStart (ptr=0xae6f18)
at src/unix/threadpsx.cpp:714
No locals.
#22 0x0000002a956720b1 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#23 0x0000002a96841263 in clone () from /lib/libc.so.6
No symbol table info available.
@Lenni
Disabling UDP doesn't work for me. Amuled still crashes because of this mod?! I am no Backtrace expert but in every new dump there stands something about this mod.
Maybe I know a possible reason for crashing. I use no standard language or ISO. I want to see filenames with german chars correctly but I don't want german interfaces. So I created my own Language defintion with this command:
localedef -c -i en_US -f ISO-8859-15 en_DE
And I used it with the command in the profile file:
export LANG="en_DE"
This works fine on my laptop without aMule and on my other computer if I don't used amule. Maybe aMule or the new wxWidgets has problems with it.
I will test it later with de_DE and en_US.
[EDIT]
aMuled crashes with de_DE with an similar dump like the last one. Does anyone know something about this mod?
I am going to block this IP temporary with my ipfilterlist.
After filtering this ip the amuled runs stable for over a hour. But if I cancel some downloads in amuleweb it crashes and kills the daemon with it.
[/EDIT]
cu
Mr Faber