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 under debian after running a while  (Read 2143 times)

jiggamam

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
crash under debian after running a while
« on: November 02, 2005, 07:32:49 AM »

When running amule with kernel 2.6.14 under debian for a longer time it crashes somehow with the following backtrace. Anybody knows what to do?

(gdb) bt
#0  0xb78b33a4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#1  0xb78b3724 in g_main_run () from /usr/lib/libglib-1.2.so.0
#2  0xb799f25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#3  0xb7c78159 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
#4  0xb7cd9797 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
#5  0xb7c788bb in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#6  0x081896b8 in main (argc=1, argv=0xbf953524) at amule-gui.cpp:147
(gdb) bt full
#0  0xb78b33a4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#1  0xb78b3724 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#2  0xb799f25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#3  0xb7c78159 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#4  0xb7cd9797 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#5  0xb7c788bb in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#6  0x081896b8 in main (argc=1, argv=0xbf953524) at amule-gui.cpp:147
No locals.
(gdb) quit
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: crash under debian after running a while
« Reply #1 on: November 02, 2005, 12:18:47 PM »

jiggamam,

You have to try a few things...

First, your backtrace does not show the cause of the crash, it would be nice to know it (segfault? other signal?). Do you have these lines in your .gdbinit? You can enter them manually if you like, but it gives you more trouble and you will end forgetting it:

ha SIGPIPE nostop noprint pass
ha SIG32 nostop noprint pass
ha SIG33 nostop noprint pass
ha SIG34 nostop noprint pass

maybe, take a look at this, if you haven't already done so:
http://www.amule.org/wiki/index.php/Backtraces

Your crash is inside libglib.I am using glib-1.2.10 here, maybe you are using an unstable version? Either try to upgrade or downgrade it to see if it changes something.

Also, I can see you are using wx-2.4 with gtk-1.2, which is fine, unless you have unicode enabled. If that is the case, build without unicode support.

I don't have the detais about your machine and your restrictions, but your current setup is almost obsolete because of wx-2.4.2, just use this if you have memory size constraints. The recommended setup these days is to use gtk-2 and wx-2.6.

If you are willing to recompile yourself, I suggest wx-cvs and aMule-cvs. If not, then it seems that there is no "good" wx debian package these days, wx-2.6.1 has some memory usage problems, wx-2.6.2 has a bug with locale, but if you use default locale or en_US, it will not show.

aMule CVS has KAD enabled.

Cheers!
Logged

jiggamam

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: crash under debian after running a while
« Reply #2 on: November 03, 2005, 08:46:06 PM »

Thanks for the reply. Now i can start trying things.  :D
I compiled CVS-Version and see if things go better.
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: crash under debian after running a while
« Reply #3 on: November 04, 2005, 11:53:34 AM »

Quote
Originally posted by jiggamam
Thanks for the reply. Now i can start trying things.  :D
I compiled CVS-Version and see if things go better.
Great! Please report any problems/difficulties you have.
Logged