I tried the phoenix way with cvs jan 15th. No success.
The gdb attached.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b42250e5230 (LWP 6878)]
0x000000000055e708 in CServer::GetConnPort (this=0x2051eb0000000000)
at Server.h:77
77 uint16 GetConnPort() const {return port;}
(gdb) bt
#0 0x000000000055e708 in CServer::GetConnPort (this=0x2051eb0000000000)
at Server.h:77
#1 0x000000000056a877 in CServerSocket::OnHostnameResolved (this=0x22576dc,
ip=2216574011) at ServerSocket.cpp:743
#2 0x00000000004454c7 in CamuleApp::OnServerDnsDone (this=0x11080cc,
evt=@0x1c85e8c) at amule.cpp:1403
#3 0x00002b421f4c620b in wxAppConsole::HandleEvent (this=0x11080cc,
handler=0x11080cc,
func=0x44548c <CamuleApp::OnServerDnsDone(CMuleInternalEvent&)>,
event=@0x1c85e8c) at ./src/common/appbase.cpp:320
#4 0x00002b421f57cc0e in wxEvtHandler::ProcessEventIfMatches (
entry=@0x107fe08, handler=0x11080cc, event=@0x1c85e8c)
at ./src/common/event.cpp:1225
#5 0x00002b421f57eaf5 in wxEventHashTable::HandleEvent (this=0x107fc60,
event=@0x1c85e8c, self=0x11080cc) at ./src/common/event.cpp:898
#6 0x00002b421f57ec40 in wxEvtHandler::ProcessEvent (this=0x11080cc,
event=@0x1c85e8c) at ./src/common/event.cpp:1287
#7 0x00002b421f57d57a in wxEvtHandler::ProcessPendingEvents (this=0x11080cc)
at ./src/common/event.cpp:1183
#8 0x00002b421f4c72bb in wxAppConsole::ProcessPendingEvents (this=0x11080cc)
at ./src/common/appbase.cpp:292
#9 0x00002b421eda7c19 in wxAppBase::ProcessIdle (this=0x11080cc)
at ./src/common/appcmn.cpp:435
---Type <return> to continue, or q <return> to quit---
#10 0x00002b421ece246e in wxapp_idle_callback () at ./src/gtk/app.cpp:207
#11 0x00002b4221e6ffd4 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#12 0x00002b4221e732bd in g_main_context_iterate ()
from /usr/lib/libglib-2.0.so.0
#13 0x00002b4221e735b7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0x00002b422086cac3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00002b421ed017f9 in wxEventLoop::Run (this=0x115fd0c)
at ./src/gtk/evtloop.cpp:76
#16 0x00002b421eda7708 in wxAppBase::MainLoop (this=0x11080cc)
at ./src/common/appcmn.cpp:312
#17 0x00002b421eda7309 in wxAppBase::OnRun (this=0x11080cc)
at ./src/common/appcmn.cpp:367
#18 0x00002b421f50b317 in wxEntry (argc=@0x2b421f82c7b0, argv=0x10d13fc)
at ./src/common/init.cpp:456
#19 0x00002b421f50b516 in wxEntry (argc=@0x7fff8c975e6c, argv=0x7fff8c975f58)
at ./src/common/init.cpp:468
#20 0x000000000060e862 in main (argc=1, argv=0x7fff8c975f58)
at amule-gui.cpp:92
(gdb)
(gdb) bt full
#0 0x000000000055e708 in CServer::GetConnPort (this=0x2051eb0000000000)
at Server.h:77
No locals.
#1 0x000000000056a877 in CServerSocket::OnHostnameResolved (this=0x22576dc,
ip=2216574011) at ServerSocket.cpp:743
addr = {<wxIPV4address> = {<wxIPaddress> = {<wxSockAddress> = {<wxObject> = {_vptr.wxObject = 0x9121d0, static ms_classInfo = {
m_className = 0x2b421f5b7a28, m_objectSize = 16,
m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
static sm_first = 0x0, m_next = 0x2b421f82dd00,
static sm_classTable = 0x108d05c}, m_refData = 0x0},
static ms_classInfo = {m_className = 0x2b421f21f188,
m_objectSize = 24, m_objectConstructor = 0,
m_baseInfo1 = 0x2b421f82dbe0, m_baseInfo2 = 0x0,
static sm_first = 0x0, m_next = 0x2b421f42c320,
static sm_classTable = 0x108d05c}, m_address = 0x1f48810},
static ms_classInfo = {m_className = 0x2b421f21f1c0, m_objectSize = 24,
m_objectConstructor = 0, m_baseInfo1 = 0x2b421f42c220,
m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0x2b421f42c220,
static sm_classTable = 0x108d05c}}, static ms_classInfo = {
m_className = 0x2b421f21f1f0, m_objectSize = 32,
m_objectConstructor = 0x2b421f210ae6 <wxIPV4address::wxCreateObject()>,
m_baseInfo1 = 0x2b421f42c260, m_baseInfo2 = 0x0, static sm_first = 0x0,
---Type <return> to continue, or q <return> to quit---
m_next = 0x2b421f42c260, static sm_classTable = 0x108d05c},
m_origHostname = {<wxStringBase> = {static npos = 18446744073709551615,
m_pchData = 0x2b421f5be198}, <No data fields>}}, <No data fields>}
nPort = 0
useObfuscation = {<wxStringBase> = {
static npos = 18446744073709551615,
m_pchData = 0x2b421f5be198}, <No data fields>}
#2 0x00000000004454c7 in CamuleApp::OnServerDnsDone (this=0x11080cc,
evt=@0x1c85e8c) at amule.cpp:1403
socket = (class CServerSocket *) 0x22576dc
#3 0x00002b421f4c620b in wxAppConsole::HandleEvent (this=0x11080cc,
handler=0x11080cc,
func=0x44548c <CamuleApp::OnServerDnsDone(CMuleInternalEvent&)>,
event=@0x1c85e8c) at ./src/common/appbase.cpp:320
No locals.
#4 0x00002b421f57cc0e in wxEvtHandler::ProcessEventIfMatches (
entry=@0x107fe08, handler=0x11080cc, event=@0x1c85e8c)
at ./src/common/event.cpp:1225
tableId1 = -1
tableId2 = -1
#5 0x00002b421f57eaf5 in wxEventHashTable::HandleEvent (this=0x107fc60,
event=@0x1c85e8c, self=0x11080cc) at ./src/common/event.cpp:898
n = 0
---Type <return> to continue, or q <return> to quit---
eventEntryTable = (
const wxEventTableEntryPointerArray &) @0x17010a4: {<wxBaseArrayPtrVoid> = {m_nSize = 1, m_nCount = 1, m_pItems = 0x1700bfc}, <No data fields>}
count = 1
eventType = 10256
eTTnode = (wxEventHashTable::EventTypeTable * const) 0x170109c
#6 0x00002b421f57ec40 in wxEvtHandler::ProcessEvent (this=0x11080cc,
event=@0x1c85e8c) at ./src/common/event.cpp:1287
__FUNCTION__ = "ProcessEvent"
#7 0x00002b421f57d57a in wxEvtHandler::ProcessPendingEvents (this=0x11080cc)
at ./src/common/event.cpp:1183
event = (wxEvent *) 0x1c85e8c
node = {m_ptr = 0x1d0924c}
n = 1
__FUNCTION__ = "ProcessPendingEvents"
#8 0x00002b421f4c72bb in wxAppConsole::ProcessPendingEvents (this=0x11080cc)
at ./src/common/appbase.cpp:292
handler = (class wxEvtHandler *) 0x11080cc
node = {m_ptr = 0x24d706c}
#9 0x00002b421eda7c19 in wxAppBase::ProcessIdle (this=0x11080cc)
at ./src/common/appcmn.cpp:435
event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x2b421e57f230,
static ms_classInfo = {m_className = 0x2b421f5b7a28, m_objectSize = 16,
---Type <return> to continue, or q <return> to quit---
m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
static sm_first = 0x0, m_next = 0x2b421f82dd00,
static sm_classTable = 0x108d05c}, m_refData = 0x1709580},
m_eventObject = 0x1b, m_eventType = 525833115, m_timeStamp = 0,
m_id = 17510668, m_callbackUserData = 0x0, m_propagationLevel = 509086704,
m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {
m_className = 0x2b421f5cec68, m_objectSize = 64,
m_objectConstructor = 0, m_baseInfo1 = 0x2b421f82dbe0,
m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0x2b421f82fce0,
static sm_classTable = 0x108d05c}}, m_requestMore = false,
static sm_idleMode = wxIDLE_PROCESS_ALL, static ms_classInfo = {
m_className = 0x2b421ee9c920, m_objectSize = 64,
m_objectConstructor = 0x2b421ecce5ba <wxIdleEvent::wxCreateObject()>,
m_baseInfo1 = 0x2b421f82fd20, m_baseInfo2 = 0x0, static sm_first = 0x0,
m_next = 0x2b421f1de860, static sm_classTable = 0x108d05c}}
needMore = false
node = {m_ptr = 0x7fff8c975ac0}
#10 0x00002b421ece246e in wxapp_idle_callback () at ./src/gtk/app.cpp:207
idleID_save = 348
moreIdles = false
#11 0x00002b4221e6ffd4 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#12 0x00002b4221e732bd in g_main_context_iterate ()
from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00002b4221e735b7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0x00002b422086cac3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x00002b421ed017f9 in wxEventLoop::Run (this=0x115fd0c)
at ./src/gtk/evtloop.cpp:76
activate = {m_evtLoopOld = 0x0}
exitcode = 0
__FUNCTION__ = "Run"
#16 0x00002b421eda7708 in wxAppBase::MainLoop (this=0x11080cc)
at ./src/common/appcmn.cpp:312
mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x115fd0c}, m_pp = 0x1108144,
m_pOld = 0x0}
#17 0x00002b421eda7309 in wxAppBase::OnRun (this=0x11080cc)
at ./src/common/appcmn.cpp:367
No locals.
#18 0x00002b421f50b317 in wxEntry (argc=@0x2b421f82c7b0, argv=0x10d13fc)
at ./src/common/init.cpp:456
callOnExit = {<No data fields>}
cleanupOnExit = {<No data fields>}
---Type <return> to continue, or q <return> to quit---
#19 0x00002b421f50b516 in wxEntry (argc=@0x7fff8c975e6c, argv=0x7fff8c975f58)
at ./src/common/init.cpp:468
No locals.
#20 0x000000000060e862 in main (argc=1, argv=0x7fff8c975f58)
at amule-gui.cpp:92
No locals.
(gdb)
(gdb) thread apply all bt
Thread 13 (Thread 0x45009950 (LWP 6896)):
#0 0x00002b421e581b1d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002b421f578e3b in wxConditionInternal::WaitTimeout (this=0x114dfec,
milliseconds=98) at ./src/unix/threadpsx.cpp:405
#2 0x00002b421f578f09 in wxCondition::WaitTimeout (this=0x1e196a4,
milliseconds=98) at ./include/wx/thrimpl.cpp:256
#3 0x00002b421f579b77 in wxSemaphoreInternal::WaitTimeout (this=0x1e1969c,
milliseconds=98) at ./src/unix/threadpsx.cpp:552
#4 0x00002b421f579c55 in wxSemaphore::WaitTimeout (this=0x11bc67c,
milliseconds=98) at ./include/wx/thrimpl.cpp:320
#5 0x0000000000733ae0 in CTimerThread::Entry (this=0x11bc63c) at Timer.cpp:63
#6 0x00002b421f57acbe in wxThreadInternal::PthreadStart (thread=0x11bc63c)
at ./src/unix/threadpsx.cpp:766
#7 0x00002b421f57ae03 in wxPthreadStart (ptr=0x11bc63c)
at ./src/unix/threadpsx.cpp:718
#8 0x00002b421e57d017 in start_thread () from /lib/libpthread.so.0
#9 0x00002b42202a0ddd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()
Thread 9 (Thread 0x44007950 (LWP 6892)):
#0 0x00002b421e581b1d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
---Type <return> to continue, or q <return> to quit---
from /lib/libpthread.so.0
#1 0x00002aaaaaeeb3c7 in WorkerThread (arg=0x2aaaaaee7ba0)
at src/ThreadPool.c:499
#2 0x00002b421e57d017 in start_thread () from /lib/libpthread.so.0
#3 0x00002b42202a0ddd in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 8 (Thread 0x43806950 (LWP 6891)):
#0 0x00002b422029ab32 in select () from /lib/libc.so.6
#1 0x00002aaaaacc2fc9 in RunMiniServer (miniSock=0x1d817c0)
at src/genlib/miniserver/miniserver.c:417
#2 0x00002aaaaaeeb503 in WorkerThread (arg=0x2aaaaaee7760)
at src/ThreadPool.c:573
#3 0x00002b421e57d017 in start_thread () from /lib/libpthread.so.0
#4 0x00002b42202a0ddd in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 7 (Thread 0x43005950 (LWP 6890)):
#0 0x00002b421e581b1d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002aaaaaeeb3c7 in WorkerThread (arg=0x2aaaaaee7760)
at src/ThreadPool.c:499
#2 0x00002b421e57d017 in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#3 0x00002b42202a0ddd in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x42804950 (LWP 6889)):
#0 0x00002b421e581b1d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002aaaaaeeb3c7 in WorkerThread (arg=0x2aaaaaee73e0)
at src/ThreadPool.c:499
#2 0x00002b421e57d017 in start_thread () from /lib/libpthread.so.0
#3 0x00002b42202a0ddd in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x42003950 (LWP 6888)):
#0 0x00002b421e581b1d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002aaaaaeeb3c7 in WorkerThread (arg=0x2aaaaaee73e0)
at src/ThreadPool.c:499
#2 0x00002b421e57d017 in start_thread () from /lib/libpthread.so.0
#3 0x00002b42202a0ddd in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x41802950 (LWP 6887)):
#0 0x00002b421e581b1d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
---Type <return> to continue, or q <return> to quit---
from /lib/libpthread.so.0
#1 0x00002aaaaaeec7cc in TimerThreadWorker (arg=0x2aaaaaee7660)
at src/TimerThread.c:137
#2 0x00002aaaaaeeb503 in WorkerThread (arg=0x2aaaaaee7ba0)
at src/ThreadPool.c:573
#3 0x00002b421e57d017 in start_thread () from /lib/libpthread.so.0
#4 0x00002b42202a0ddd in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x40800950 (LWP 6885)):
#0 0x00002b421e5849b1 in nanosleep () from /lib/libpthread.so.0
#1 0x00002b421f5847be in wxMicroSleep (microseconds=625000)
at ./src/unix/utilsunx.cpp:191
#2 0x00002b421f5847dc in wxMilliSleep (milliseconds=625)
at ./src/unix/utilsunx.cpp:212
#3 0x00002b421f578b8f in wxThread::Sleep (milliseconds=625)
at ./src/unix/threadpsx.cpp:986
#4 0x000000000058e175 in UploadBandwidthThrottler::Entry (this=0x1d3c24c)
at UploadBandwidthThrottler.cpp:324
#5 0x00002b421f57acbe in wxThreadInternal::PthreadStart (thread=0x1d3c24c)
at ./src/unix/threadpsx.cpp:766
#6 0x00002b421f57ae03 in wxPthreadStart (ptr=0x1d3c24c)
at ./src/unix/threadpsx.cpp:718
---Type <return> to continue, or q <return> to quit---
#7 0x00002b421e57d017 in start_thread () from /lib/libpthread.so.0
#8 0x00002b42202a0ddd in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x2b42250e5230 (LWP 6878)):
#0 0x000000000055e708 in CServer::GetConnPort (this=0x2051eb0000000000)
at Server.h:77
#1 0x000000000056a877 in CServerSocket::OnHostnameResolved (this=0x22576dc,
ip=2216574011) at ServerSocket.cpp:743
#2 0x00000000004454c7 in CamuleApp::OnServerDnsDone (this=0x11080cc,
evt=@0x1c85e8c) at amule.cpp:1403
#3 0x00002b421f4c620b in wxAppConsole::HandleEvent (this=0x11080cc,
handler=0x11080cc,
func=0x44548c <CamuleApp::OnServerDnsDone(CMuleInternalEvent&)>,
event=@0x1c85e8c) at ./src/common/appbase.cpp:320
#4 0x00002b421f57cc0e in wxEvtHandler::ProcessEventIfMatches (
entry=@0x107fe08, handler=0x11080cc, event=@0x1c85e8c)
at ./src/common/event.cpp:1225
#5 0x00002b421f57eaf5 in wxEventHashTable::HandleEvent (this=0x107fc60,
event=@0x1c85e8c, self=0x11080cc) at ./src/common/event.cpp:898
#6 0x00002b421f57ec40 in wxEvtHandler::ProcessEvent (this=0x11080cc,
event=@0x1c85e8c) at ./src/common/event.cpp:1287
#7 0x00002b421f57d57a in wxEvtHandler::ProcessPendingEvents (this=0x11080cc)
---Type <return> to continue, or q <return> to quit---
at ./src/common/event.cpp:1183
#8 0x00002b421f4c72bb in wxAppConsole::ProcessPendingEvents (this=0x11080cc)
at ./src/common/appbase.cpp:292
#9 0x00002b421eda7c19 in wxAppBase::ProcessIdle (this=0x11080cc)
at ./src/common/appcmn.cpp:435
#10 0x00002b421ece246e in wxapp_idle_callback () at ./src/gtk/app.cpp:207
#11 0x00002b4221e6ffd4 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#12 0x00002b4221e732bd in g_main_context_iterate ()
from /usr/lib/libglib-2.0.so.0
#13 0x00002b4221e735b7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0x00002b422086cac3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00002b421ed017f9 in wxEventLoop::Run (this=0x115fd0c)
at ./src/gtk/evtloop.cpp:76
#16 0x00002b421eda7708 in wxAppBase::MainLoop (this=0x11080cc)
at ./src/common/appcmn.cpp:312
#17 0x00002b421eda7309 in wxAppBase::OnRun (this=0x11080cc)
at ./src/common/appcmn.cpp:367
#18 0x00002b421f50b317 in wxEntry (argc=@0x2b421f82c7b0, argv=0x10d13fc)
at ./src/common/init.cpp:456
#19 0x00002b421f50b516 in wxEntry (argc=@0x7fff8c975e6c, argv=0x7fff8c975f58)
at ./src/common/init.cpp:468
#20 0x000000000060e862 in main (argc=1, argv=0x7fff8c975f58)
---Type <return> to continue, or q <return> to quit---
at amule-gui.cpp:92
(gdb)