aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crash 08112010  (Read 5839 times)

ATrentham

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Crash 08112010
« on: August 14, 2010, 02:00:51 AM »

Had added new downloads.  Crashed after 12-16 hours.

Running aMule 2.2.6 on Ubuntu 10.04 LTS (Lucid Lynx)

amule:2008): GLib-WARNING **: /build/buildd/glib2.0-2.24.1/glib/giounix.c:406Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGSEGV, Segmentation fault.
0x0000000004c49310 in ?? ()
(gdb) bt
#0  0x0000000004c49310 in ?? ()
#1  0x00007ffff4829d3f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x00007ffff2cec8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#3  0x00007ffff2cf0748 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ffff2cf0c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x00007ffff4becbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00007ffff65a19c8 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00007ffff66268eb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00007ffff5ec644c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x0000000000514c92 in ?? ()
#10 0x00007ffff50f1c4d in __libc_start_main () from /lib/libc.so.6
#11 0x00000000004477a9 in ?? ()
#12 0x00007fffffffe3d8 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x00007fffffffe68a in ?? ()
#16 0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x0000000004c49310 in ?? ()
No symbol table info available.
#1  0x00007ffff4829d3f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0x00007ffff2cec8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff2cf0748 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff2cf0c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff4becbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#6  0x00007ffff65a19c8 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0x00007ffff66268eb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00007ffff5ec644c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x0000000000514c92 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x00007ffff50f1c4d in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#11 0x00000000004477a9 in ?? ()
No symbol table info available.
#12 0x00007fffffffe3d8 in ?? ()
No symbol table info available.
#13 0x000000000000001c in ?? ()
No symbol table info available.
#14 0x0000000000000001 in ?? ()
No symbol table info available.
#15 0x00007fffffffe68a in ?? ()
No symbol table info available.
#16 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 6 (Thread 0x7fffe5226710 (LWP 2023)):
#0  0x00007ffff7bcabc9 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007ffff5f1dbb6 in wxConditionInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007ffff5f1eb67 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000005dee18 in ?? ()
#4  0x00007ffff5f1f9a1 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007ffff7bc59ca in start_thread () from /lib/libpthread.so.0
#6  0x00007ffff51b96fd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffe6a78710 (LWP 2020)):
#0  0x00007ffff7bce11d in nanosleep () from /lib/libpthread.so.0
#1  0x00007ffff5f24bbc in wxMicroSleep(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00000000004dc37a in ?? ()
#3  0x00007ffff5f1f9a1 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007ffff7bc59ca in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff51b96fd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fbe800 (LWP 2008)):
#0  0x0000000004c49310 in ?? ()
#1  0x00007ffff4829d3f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x00007ffff2cec8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#3  0x00007ffff2cf0748 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ffff2cf0c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x00007ffff4becbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00007ffff65a19c8 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00007ffff66268eb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00007ffff5ec644c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x0000000000514c92 in ?? ()
#10 0x00007ffff50f1c4d in __libc_start_main () from /lib/libc.so.6
#11 0x00000000004477a9 in ?? ()
#12 0x00007fffffffe3d8 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x00007fffffffe68a in ?? ()
---Type <return> to continue, or q <return> to quit---
#16 0x0000000000000000 in ?? ()
(gdb)
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: Crash 08112010
« Reply #1 on: August 14, 2010, 10:26:30 PM »

This doesn't seem to be an aMule crash, but a gtk2 one.

What's your system's libgtk2.0-0 version? You can find out about that by using "apt-cache policy libgtk2.0-0".
Logged

ATrentham

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Crash 08112010
« Reply #2 on: August 16, 2010, 01:58:51 AM »

Installed: 2.20.1-0ubuntu2
Candidate: 2.20.1-0ubuntu2

Have had one other crash since and saved similar log file.  Same error.  Happy to post if it will help.  Well beyond my level of expertise, though I'm interested in learning...
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: Crash 08112010
« Reply #3 on: August 16, 2010, 11:10:59 AM »

Yes, please post it - just in case. Just what were you doing in aMule when the crash happened?

Any other applications crashing besides aMule?

My system is also Lucid, but Xubuntu and I use the aMule SVN version. You might want to give that one a shot and see if it also crashes.
Logged

ATrentham

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Crash 08112010
« Reply #4 on: August 17, 2010, 03:16:40 AM »

I'll try the SVN version...  No other crashes on other apps that I am aware of...  Lucid has been very stable so far...

As for activity, that was the odd part, I left it running with the gui on the search screen.  I wasn't using the console when it crashed.  It sat idle for 6-7 hours before crashing.  I based the time on the time of the last update to a part file.

Here is the second crash.  Same situation:  Crashed after being left idle for >4 hours.  This time the gui was left on the transfers tab.

(amule:22366): GLib-WARNING **: /build/buildd/glib2.0-2.24.1/glib/giounix.c:406Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff65a2f56 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
(gdb) bt
#0  0x00007ffff65a2f56 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0x00007ffff4829d3f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x00007ffff2cec8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#3  0x00007ffff2cf0748 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ffff2cf0c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x00007ffff4becbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00007ffff65a19c8 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00007ffff66268eb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00007ffff5ec644c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x0000000000514c92 in ?? ()
#10 0x00007ffff50f1c4d in __libc_start_main () from /lib/libc.so.6
#11 0x00000000004477a9 in ?? ()
#12 0x00007fffffffe3d8 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x00007fffffffe68a in ?? ()
#16 0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x00007ffff65a2f56 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#1  0x00007ffff4829d3f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#2  0x00007ffff2cec8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff2cf0748 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff2cf0c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff4becbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#6  0x00007ffff65a19c8 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0x00007ffff66268eb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00007ffff5ec644c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x0000000000514c92 in ?? ()
No symbol table info available.
#10 0x00007ffff50f1c4d in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#11 0x00000000004477a9 in ?? ()
No symbol table info available.
#12 0x00007fffffffe3d8 in ?? ()
No symbol table info available.
#13 0x000000000000001c in ?? ()
No symbol table info available.
#14 0x0000000000000001 in ?? ()
No symbol table info available.
#15 0x00007fffffffe68a in ?? ()
No symbol table info available.
#16 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 6 (Thread 0x7fffe45d2710 (LWP 22386)):
#0  0x00007ffff7bcabc9 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007ffff5f1dbb6 in wxConditionInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007ffff5f1eb67 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000005dee18 in ?? ()
#4  0x00007ffff5f1f9a1 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007ffff7bc59ca in start_thread () from /lib/libpthread.so.0
#6  0x00007ffff51b96fd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffe6a78710 (LWP 22379)):
#0  0x00007ffff7bce11d in nanosleep () from /lib/libpthread.so.0
#1  0x00007ffff5f24bbc in wxMicroSleep(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00000000004dc37a in ?? ()
#3  0x00007ffff5f1f9a1 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007ffff7bc59ca in start_thread () from /lib/libpthread.so.0
#5  0x00007ffff51b96fd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fbe800 (LWP 22366)):
#0  0x00007ffff65a2f56 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0x00007ffff4829d3f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x00007ffff2cec8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#3  0x00007ffff2cf0748 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ffff2cf0c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x00007ffff4becbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00007ffff65a19c8 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00007ffff66268eb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00007ffff5ec644c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x0000000000514c92 in ?? ()
#10 0x00007ffff50f1c4d in __libc_start_main () from /lib/libc.so.6
#11 0x00000000004477a9 in ?? ()
#12 0x00007fffffffe3d8 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x00007fffffffe68a in ?? ()
#16 0x0000000000000000 in ?? ()

« Last Edit: August 17, 2010, 03:18:48 AM by ATrentham »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Crash 08112010
« Reply #5 on: August 17, 2010, 08:35:25 AM »

Which wxWidgets version are you using?
It'd be good if you could use a debug-enabled version of wxWidgets, also aMule SVN compiled with debugging enabled. That could at least give us a clue what might go wrong.
Logged
concordia cum veritate

ATrentham

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Crash 08112010
« Reply #6 on: August 18, 2010, 02:23:41 AM »

wxWidgets 2.8.10.1-0ubuntu1.1 is the installed package, as well as all the same version prerequisites (e.g., wx2.8-headers is the same version)

Hmm, pulling down and compiling the SVN version w/ debug enabled is something I think I can do.  I see that I have the libwxgtk2.8-dbg package installed.  How can I make sure that the debug version of wxWidgets is used?

Sorry if that is a totally dumb question.  Want to help and don't want to screw this up...
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Crash 08112010
« Reply #7 on: August 18, 2010, 09:31:45 PM »

If you can compile aMule, I'd appreciate if you could also uninstall the pre-built version of wxWidgets, get the latest stable sources (2.8.11 atm) and compile it also with debug enabled. That could help in tracking down the bug.

I also don't know for sure whether the bad file descriptor error is in any way related to the crash, but I suspect so.

You're using a 64-bit system, am I right?
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Crash 08112010
« Reply #8 on: August 20, 2010, 06:14:27 PM »

You're using a 64-bit system, am I right?
Hard to get 64 bit backtrace addresses otherwise.  :)

Pure statistics tell me:
- crash repeats for ATrentham
- Lucid 64 with out-of-the-box aMule is a rather common platform
- nobody else reports the problem
-> something is botched with ATrentham's system

What's your number of downloads, shares, average ul/dl speed?
Did you install your OS recently, or does it have a longish history of upgrades/installs/removes/weird stuff ?
If there's nothing grossly out of the ordinary I'm afraid reinstalling your OS s your best option.  :(
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: Crash 08112010
« Reply #9 on: August 30, 2010, 03:36:34 AM »

Well, the bug seems very similar to old X11 bug in 64bit systems.

But I guess we will confirm it ATrentham installs the dbg packages for libx11, libgtk, etc... and re-sends the backtrace.

Regards,
BTK
Logged