aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Fedora 9 x86_64 with aMule 2.2.3  (Read 4234 times)

jmorhus

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Fedora 9 x86_64 with aMule 2.2.3
« on: February 16, 2009, 01:58:21 AM »

aMule repeatedly crashes after a seemingly random period of time. I had a similar problem with v2.2.2, so I compiled v2.2.3 and ran GDB. I will add that I left the optimizations enabled. If any developer wants me to recompile with them disabled, I will. Additionally, I am running Compiz-fusion, if that affects anything. I will try running aMule 2.2.3 under Metacity to see if I can reproduce the problem.

Thanks!


The backtrace follows:

// From terminal -- Program start

[jmorhus@bluestar bin]$ gdb /usr/bin/amule
GNU gdb Fedora (6.8-23.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 0x7f793b21f750 (LWP 30927)]
Detaching after fork from child process 30936.
Initialising aMule 2.2.3 using wxGTK2 v2.8.9
Checking if there is an instance already running...
No other instances are running.
Detaching after fork from child process 30937.
Detaching after fork from child process 30938.
Detaching after fork from child process 30939.
[New Thread 0x41cd9950 (LWP 30940)]
HTTP download thread started
ListenSocket: Ok.
Detaching after fork from child process 30941.
[New Thread 0x41076950 (LWP 30942)]
[New Thread 0x426da950 (LWP 30943)]
Loading temp files from /home/jmorhus/.aMule/Temp.
HTTP download thread started
Loading PartFile 6 of 6
All PartFiles Loaded.
Adding file /home/jmorhus/.aMule/Temp/001.part.met to shares
Adding file /home/jmorhus/.aMule/Temp/002.part.met to shares
Adding file /home/jmorhus/.aMule/Temp/003.part.met to shares
Adding file /home/jmorhus/.aMule/Temp/006.part.met to shares
Adding file /home/jmorhus/.aMule/Temp/007.part.met to shares
Adding file /home/jmorhus/.aMule/Temp/008.part.met to shares
[New Thread 0x430db950 (LWP 30944)]
[New Thread 0x43adc950 (LWP 30945)]
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
[Thread 0x41cd9950 (LWP 30940) exited]
[Thread 0x430db950 (LWP 30944) exited]
Host: corpo.free.fr:80
URL: http://corpo.free.fr/server.met
Response: 404 (Error: 6)
HTTP download thread ended
[Thread 0x426da950 (LWP 30943) exited]

Program received signal SIGSEGV, Segmentation fault.
CFriend::GetPort (this=0x4679e6d7e72fb404) at Friend.h:59
59      uint16 GetPort() const { return m_nLastUsedPort; }
Missing separate debuginfos, use: debuginfo-install amule.x86_64






(gdb) bt
#0  CFriend::GetPort (this=0x4679e6d7e72fb404) at Friend.h:59
#1  0x0000000000461060 in CUpDownClient::Disconnected (this=0x25d13a0, strReason=@0x7fff4346fee0, bFromSocket=false) at BaseClient.cpp:1316
#2  0x000000000046f05d in CClientList::ProcessDirectCallbackList (this=<value optimized out>) at ClientList.cpp:1113
#3  0x00000000004716d3 in CClientList::Process (this=0x16679d0) at ClientList.cpp:748
#4  0x000000000045344f in CamuleApp::OnCoreTimer (this=0x158c810) at amule.cpp:1457
#5  0x00000038be8f5989 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib64/libwx_baseu-2.8.so.0
#6  0x00000038be8f6b64 in wxEventHashTable::HandleEvent () from /usr/lib64/libwx_baseu-2.8.so.0
#7  0x00000038be8f6c57 in wxEvtHandler::ProcessEvent () from /usr/lib64/libwx_baseu-2.8.so.0
#8  0x00000038be8f5e28 in wxEvtHandler::ProcessPendingEvents () from /usr/lib64/libwx_baseu-2.8.so.0
#9  0x00000038be8637be in wxAppConsole::ProcessPendingEvents () from /usr/lib64/libwx_baseu-2.8.so.0
#10 0x0000003f1566fbdb in wxAppBase::ProcessIdle () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#11 0x0000003f155cf104 in ?? () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#12 0x000000364e23742b in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#13 0x000000364e23ac0d in ?? () from /lib64/libglib-2.0.so.0
#14 0x000000364e23b13d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#15 0x000000000100edb0 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x0000003f155e6718 in wxEventLoop::Run () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#17 0x0000003f1566fa6b in wxAppBase::MainLoop () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#18 0x00000038be899b9d in wxEntry () from /usr/lib64/libwx_baseu-2.8.so.0
#19 0x00000000005d1c72 in main (argc=1, argv=0x25d13a0) at amule-gui.cpp:95





(gdb) bt full
#0  CFriend::GetPort (this=0x4679e6d7e72fb404) at Friend.h:59
No locals.
#1  0x0000000000461060 in CUpDownClient::Disconnected (this=0x25d13a0, strReason=@0x7fff4346fee0, bFromSocket=false) at BaseClient.cpp:1316
   bDelete = true
#2  0x000000000046f05d in CClientList::ProcessDirectCallbackList (this=<value optimized out>) at ClientList.cpp:1113
   it2 = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x1667c90, _M_version = 0, _M_prior = 0x0, _M_next = 0x7fff4346feb0}, _M_current = {_M_node = 0x252a8a0}}
   curClient = (CUpDownClient *) 0x25d13a0
   it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x1667c90, _M_version = 1, _M_prior = 0x7fff4346fe50, _M_next = 0x0}, _M_current = {_M_node = 0x1667c80}}
   cur_tick = 2088821847
#3  0x00000000004716d3 in CClientList::Process (this=0x16679d0) at ClientList.cpp:748
   cur_tick = 2088821847
   buddy = Disconnected
   current_it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x1667c30, _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {_M_node = 0x1667c08}}
#4  0x000000000045344f in CamuleApp::OnCoreTimer (this=0x158c810) at amule.cpp:1457
   msCur = 1582262
   msPrev1 = 1582262
   msPrev5 = 1577268
   msPrevSave = 1561368
   msPrevHist = 1582000
   msPrevOS = 1580978
---Type <return> to continue, or q <return> to quit---
   msPrevKnownMet = 0
#5  0x00000038be8f5989 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib64/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x00000038be8f6b64 in wxEventHashTable::HandleEvent () from /usr/lib64/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x00000038be8f6c57 in wxEvtHandler::ProcessEvent () from /usr/lib64/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0x00000038be8f5e28 in wxEvtHandler::ProcessPendingEvents () from /usr/lib64/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x00000038be8637be in wxAppConsole::ProcessPendingEvents () from /usr/lib64/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0x0000003f1566fbdb in wxAppBase::ProcessIdle () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#11 0x0000003f155cf104 in ?? () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#12 0x000000364e23742b in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
No symbol table info available.
#13 0x000000364e23ac0d in ?? () from /lib64/libglib-2.0.so.0
No symbol table info available.
#14 0x000000364e23b13d in g_main_loop_run () from /lib64/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#15 0x000000000100edb0 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x0000003f155e6718 in wxEventLoop::Run () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#17 0x0000003f1566fa6b in wxAppBase::MainLoop () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#18 0x00000038be899b9d in wxEntry () from /usr/lib64/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0x00000000005d1c72 in main (argc=1, argv=0x25d13a0) at amule-gui.cpp:95
No locals.







(gdb) thread apply all bt

Thread 6 (Thread 0x43adc950 (LWP 30945)):
#0  0x0000003fa2c0b19d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000038be8f3339 in wxConditionInternal::WaitTimeout () from /usr/lib64/libwx_baseu-2.8.so.0
#2  0x00000038be8f4702 in wxSemaphoreInternal::WaitTimeout () from /usr/lib64/libwx_baseu-2.8.so.0
#3  0x00000000006a1798 in CTimerThread::Entry (this=0x15cff40) at Timer.cpp:64
#4  0x00000038be8f48ea in wxThreadInternal::PthreadStart () from /usr/lib64/libwx_baseu-2.8.so.0
#5  0x0000003fa2c0729a in start_thread () from /lib64/libpthread.so.0
#6  0x0000003fa20e439d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x41076950 (LWP 30942)):
#0  0x0000003fa2c0e491 in nanosleep () from /lib64/libpthread.so.0
#1  0x00000038be8fa6ac in wxMicroSleep () from /usr/lib64/libwx_baseu-2.8.so.0
#2  0x0000000000555099 in UploadBandwidthThrottler::Entry (this=0x1cd9b80) at UploadBandwidthThrottler.cpp:324
#3  0x00000038be8f48ea in wxThreadInternal::PthreadStart () from /usr/lib64/libwx_baseu-2.8.so.0
#4  0x0000003fa2c0729a in start_thread () from /lib64/libpthread.so.0
#5  0x0000003fa20e439d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f793b21f750 (LWP 30927)):
#0  CFriend::GetPort (this=0x4679e6d7e72fb404) at Friend.h:59
---Type <return> to continue, or q <return> to quit---
#1  0x0000000000461060 in CUpDownClient::Disconnected (this=0x25d13a0, strReason=@0x7fff4346fee0, bFromSocket=false) at BaseClient.cpp:1316
#2  0x000000000046f05d in CClientList::ProcessDirectCallbackList (this=<value optimized out>) at ClientList.cpp:1113
#3  0x00000000004716d3 in CClientList::Process (this=0x16679d0) at ClientList.cpp:748
#4  0x000000000045344f in CamuleApp::OnCoreTimer (this=0x158c810) at amule.cpp:1457
#5  0x00000038be8f5989 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib64/libwx_baseu-2.8.so.0
#6  0x00000038be8f6b64 in wxEventHashTable::HandleEvent () from /usr/lib64/libwx_baseu-2.8.so.0
#7  0x00000038be8f6c57 in wxEvtHandler::ProcessEvent () from /usr/lib64/libwx_baseu-2.8.so.0
#8  0x00000038be8f5e28 in wxEvtHandler::ProcessPendingEvents () from /usr/lib64/libwx_baseu-2.8.so.0
#9  0x00000038be8637be in wxAppConsole::ProcessPendingEvents () from /usr/lib64/libwx_baseu-2.8.so.0
#10 0x0000003f1566fbdb in wxAppBase::ProcessIdle () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#11 0x0000003f155cf104 in ?? () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#12 0x000000364e23742b in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#13 0x000000364e23ac0d in ?? () from /lib64/libglib-2.0.so.0
#14 0x000000364e23b13d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#15 0x000000000100edb0 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x0000003f155e6718 in wxEventLoop::Run () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#17 0x0000003f1566fa6b in wxAppBase::MainLoop () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#18 0x00000038be899b9d in wxEntry () from /usr/lib64/libwx_baseu-2.8.so.0
#19 0x00000000005d1c72 in main (argc=1, argv=0x25d13a0) at amule-gui.cpp:95





Thanks again!
Logged

jmorhus

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Fedora 9 x86_64 with aMule 2.2.3
« Reply #1 on: February 17, 2009, 06:05:50 PM »

Update:  The problem still occurs under Metacity. (Same backtrace.)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Fedora 9 x86_64 with aMule 2.2.3
« Reply #2 on: February 18, 2009, 10:31:36 PM »

Thank you for providing us with an extensive backtrace.
Logged