aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule-2.1.3-3.fc7 (freshrpm) crash in Kernel 2.6.22.9-91.fc7 x86_64  (Read 2301 times)

Tomofumi

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1

Dear Developers,

I've used aMule for a long time, but it keeps crashing after being running unattended for a few days. The error shown is "Bad file descriptor" when crash everytime. Please help to check the traces below to see if there is anything wrong.

Thanks!
Tomofumi

# rpm -qi amule
Name        : amule                        Relocations: (not relocatable)
Version     : 2.1.3                             Vendor: Freshrpms.net
Release     : 3.fc7                         Build Date: Thu 31 May 2007 09:22:57 PM HKT
Install Date: Tue 16 Oct 2007 12:07:12 AM HKT      Build Host: python3.freshrpms.net
Group       : Applications/Internet         Source RPM: amule-2.1.3-3.fc7.src.rpm
Size        : 7534256                          License: GPL
Signature   : DSA/SHA1, Thu 31 May 2007 09:30:30 PM HKT, Key ID 692ac459e42d547b
Packager    : Matthias Saou <matthias@rpmforge.net>
URL         : http://www.amule.org/
Summary     : Client for ED2K Peer-to-Peer Networks based on eMule
Description :
aMule is an easy to use multi-platform client for ED2K Peer-to-Peer Network.
It is originally based on eMule, the popular windows-only client for the
same network.

---
(amule:23532): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912545763056 (LWP 23532)]
0x00002aaaaaf8fa00 in wxFontRefData::~wxFontRefData ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
(gdb) bt
#0  0x00002aaaaaf8fa00 in wxFontRefData::~wxFontRefData ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#1  0x00002aaaacac9a93 in gdk_input_add () from /usr/lib64/libgdk-x11-2.0.so.0
#2  0x00000034a522d224 in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#3  0x00000034a523005d in g_main_context_check () from /lib64/libglib-2.0.so.0
#4  0x00000034a523036a in g_main_loop_run () from /lib64/libglib-2.0.so.0
#5  0x00002aaaac654783 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#6  0x00002aaaaaf8e18d in wxEventLoop::Run ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#7  0x00002aaaab01f9ab in wxAppBase::MainLoop ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#8  0x00002aaaab6ac33c in wxEntry () from /usr/lib64/libwx_baseu-2.8.so.0
#9  0x0000000000539852 in main (argc=1, argv=Variable "argv" is not available.
) at amule-gui.cpp:143
#10 0x0000003f5681dab4 in __libc_start_main () from /lib64/libc.so.6
#11 0x000000000042d1c9 in _start ()
#12 0x00007fffd0145958 in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x00002aaaaaf8fa00 in wxFontRefData::~wxFontRefData ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#1  0x00002aaaacac9a93 in gdk_input_add () from /usr/lib64/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0x00000034a522d224 in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x00000034a523005d in g_main_context_check () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4  0x00000034a523036a in g_main_loop_run () from /lib64/libglib-2.0.so.0
No symbol table info available.
#5  0x00002aaaac654783 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#6  0x00002aaaaaf8e18d in wxEventLoop::Run ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0x00002aaaab01f9ab in wxAppBase::MainLoop ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00002aaaab6ac33c in wxEntry () from /usr/lib64/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x0000000000539852 in main (argc=1, argv=Variable "argv" is not available.
) at amule-gui.cpp:143
---Type <return> to continue, or q <return> to quit---
No locals.
#10 0x0000003f5681dab4 in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#11 0x000000000042d1c9 in _start ()
No symbol table info available.
#12 0x00007fffd0145958 in ?? ()
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 4 (Thread 1105209680 (LWP 23544)):
#0  0x0000003f5880a677 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00002aaaab70bb59 in wxConditionInternal::WaitTimeout ()
   from /usr/lib64/libwx_baseu-2.8.so.0
#2  0x00002aaaab70c48e in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib64/libwx_baseu-2.8.so.0
#3  0x00000000005e34b2 in CTimerThread::Entry (this=0x2aaab8001450)
    at Timer.cpp:66
#4  0x00002aaaab70ca5a in wxThreadInternal::PthreadStart ()
   from /usr/lib64/libwx_baseu-2.8.so.0
#5  0x0000003f588062f7 in start_thread () from /lib64/libpthread.so.0
#6  0x0000003f568d0fbd in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 1084229968 (LWP 23542)):
#0  0x0000003f5880d4b1 in __nanosleep_nocancel () from /lib64/libpthread.so.0
#1  0x00002aaaab711f3c in wxMicroSleep () from /usr/lib64/libwx_baseu-2.8.so.0
#2  0x00000000004fb6ea in UploadBandwidthThrottler::Entry (this=0x14d8a30)
    at UploadBandwidthThrottler.cpp:354
#3  0x00002aaaab70ca5a in wxThreadInternal::PthreadStart ()
   from /usr/lib64/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#4  0x0000003f588062f7 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003f568d0fbd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 46912545763056 (LWP 23532)):
#0  0x00002aaaaaf8fa00 in wxFontRefData::~wxFontRefData ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#1  0x00002aaaacac9a93 in gdk_input_add () from /usr/lib64/libgdk-x11-2.0.so.0
#2  0x00000034a522d224 in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#3  0x00000034a523005d in g_main_context_check () from /lib64/libglib-2.0.so.0
#4  0x00000034a523036a in g_main_loop_run () from /lib64/libglib-2.0.so.0
#5  0x00002aaaac654783 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#6  0x00002aaaaaf8e18d in wxEventLoop::Run ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#7  0x00002aaaab01f9ab in wxAppBase::MainLoop ()
   from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#8  0x00002aaaab6ac33c in wxEntry () from /usr/lib64/libwx_baseu-2.8.so.0
#9  0x0000000000539852 in main (argc=1, argv=Variable "argv" is not available.
) at amule-gui.cpp:143
#10 0x0000003f5681dab4 in __libc_start_main () from /lib64/libc.so.6
#11 0x000000000042d1c9 in _start ()
#12 0x00007fffd0145958 in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb)
(gdb)

Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: amule-2.1.3-3.fc7 (freshrpm) crash in Kernel 2.6.22.9-91.fc7 x86_64
« Reply #1 on: February 01, 2008, 12:02:20 PM »

This is a known issue with older versions of wxWidgets socket code.

The alternative is to get a recent aMule tarball and compile it yourself:
http://www.hirnriss.net/files/cvs/aMule-CVS-20080201.tar.bz2

There is a file in the tarball called "amule_build_install.sh" which you shour READ before running and the run. That file will in theory do all the needed compilation to get a stable aMule. You will need:
- aMule tarball
- wxWidgets tarball
- libUPnP tarball
- cryptopp tarball
Logged