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 crash on Slackware  (Read 4291 times)

Matthaeus

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
aMule crash on Slackware
« on: December 02, 2006, 05:26:37 PM »

Current version is: aMule CVS using wxGTK2 v2.6.3 (Unicoded) (Snapshot: Fri Dec  1 07:01:54 CET 2006)
Running on: Linux 2.6.18.1 i686

[2] CamuleApp::OnFatalException() in :0
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.6.so.0[0xb7ad7b46]
[4] ?? in [0xb7fa2420]
[5] ?? in [0x9975b36]
[6] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0xb7464f7b]
[7] ?? in /usr/lib/libglib-2.0.so.0 [0xb7366c1f]
[8] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb733f487]
[9] ?? in /usr/lib/libglib-2.0.so.0 [0xb7340e25]
[10] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0xb734114a]
[11] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0xb75f6e33]
[12] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.6.so.0[0xb7c63da5]
[13] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.6.so.0[0xb7cec526]
[14] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.6.so.0[0xb7cec6a3]
[15] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.6.so.0[0xb7a77a30]
[16] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.6.so.0[0xb7a77b1e]
[17] main in :0
[18] __libc_start_main in /lib/tls/libc.so.6[0xb77d9e14]
[19] __gxx_personality_v0 in start.S:122
« Last Edit: December 02, 2006, 09:55:11 PM by Matthaeus »
Logged
Sorry for my bad english, i'm french.

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 crash on Slackware
« Reply #1 on: December 02, 2006, 08:16:19 PM »

I would say it is a problem with your wxGTK. Try compiling it yourself. Look here for a reference:
http://www.amule.org/wiki/index.php/Main_Page
Logged

Matthaeus

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: aMule crash on Slackware
« Reply #2 on: December 02, 2006, 09:37:21 PM »

I have a slackware, i compile all my programs by myself.
I compiled amule and wxgtk by myself..   
I have this problem of inopportune crash landing since the beginning of the existence of amule..


I compiled wxgtk like that:

./configure --prefix=/usr --enable-unicode

And amule like that:

./configure--prefix=/usr --disable-debug



(sorry i'm french, i don't speak good english).
« Last Edit: December 02, 2006, 09:50:33 PM by Matthaeus »
Logged
Sorry for my bad english, i'm french.

Matthaeus

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: aMule crash on Slackware
« Reply #3 on: December 02, 2006, 10:00:48 PM »

Quote
(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

(amule:19782): GLib-WARNING **: poll(2) failed due to: Argument invalide.

Quote
Invalid Kad tag; type=0xd1 name=0x00
Error on count 13 tag 0
Invalid Kad tag; type=0x0a name=0x02
Error on count 0 tag 1
Keyword for search:
Keyword for search:
Invalid Kad tag; type=0xca name=0x00
Error on count 0 tag 0
Logged
Sorry for my bad english, i'm french.

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 crash on Slackware
« Reply #4 on: December 02, 2006, 11:05:15 PM »

Maybe try to recompile or update gtk? The problem is either wxGTK or GTK. The invalid Kad tag warnings are normal. While running with wxGTK 2.6.3, I have aMule running for several days without a problem. I can't say the same about wxGTK 2.8.0.
Logged

Matthaeus

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: aMule crash on Slackware
« Reply #5 on: December 03, 2006, 12:01:27 AM »

I installed wxgtk-2.8.0 and for the moment that seems to function.
I will hold you informed if ever that continuous to function without problems with wxgtk-2.8.0
++
Logged
Sorry for my bad english, i'm french.

Matthaeus

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: aMule crash on Slackware
« Reply #6 on: December 03, 2006, 12:25:45 PM »

I found the problem with wxgtk-2.6.3, I had compiled it with kernel headers 2.6.18.1

But since one moment I learned that I could leave 2.4 headers with my 2.6 kernel.
Following that I decided reinstalled 2.4 headers.

Yesterday evening I decided re-compiled wxgtk-2.6.3 with the 2.4 headers.
And that functions perfectly since yesterday!

The problem was that I had compiled wxgtk with 2.6 headers...
   
Thank you

++

(Sorry for my bad English)
Logged
Sorry for my bad english, i'm french.

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 crash on Slackware
« Reply #7 on: December 03, 2006, 01:42:04 PM »

Matthaeus,

Just out of curiosity, do you happen to know why the kernel headers are relevant to a wx compilation? The answer might be the solution to several distro problems. How did you find that this was indeed the problem?

In my opinion, wx should not depend on any kernel structure.

Cheers!
Logged

Matthaeus

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: aMule crash on Slackware
« Reply #8 on: December 03, 2006, 02:04:44 PM »

- The version of wxgtk-2.6 compiled with the 2.6 headers does not function.
 amule crash frequently with this compilation of wxgtk. (approximately every hour)

- The version of wxgtk-2.6 compiled with the 2.4 headers.
 2.4 headers functions perfectly since yesterday evening. No crash.

The only difference between the two compilation that I made of wxgtk-2.6 is the headers..
   
I re-tested the compilation of wxgtk-2.6 with the 2.4 headers and that always crash.

++
« Last Edit: December 03, 2006, 02:07:34 PM by Matthaeus »
Logged
Sorry for my bad english, i'm french.

Matthaeus

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: aMule crash on Slackware
« Reply #9 on: December 07, 2006, 11:53:30 PM »

amule has re-crash with wxgtk compiled for the headers 2.4.
Following that, I decided Re-compiled gtk2, wxgtk and amule. And now that functions perfectly..
aMule functioned during 3 days without crash.
The problem came certainly from a bad compilation of gtk2 (with 2.6 headers).
I really do not know..
« Last Edit: December 07, 2006, 11:54:57 PM by Matthaeus »
Logged
Sorry for my bad english, i'm french.

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 crash on Slackware
« Reply #10 on: December 08, 2006, 01:35:22 AM »

Recompiling gtk2 makes a lot of sense, according to your crash report. But it still bugs me what is the relation of the kernel headers with user space apps. Is there no confusion with glibc headers?
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule crash on Slackware
« Reply #11 on: December 08, 2006, 01:55:06 AM »

Forget it, aMule does not depend on kernel headers. This is simply a broken system where changing the kernel headers appeared to make a difference without actually making a difference. It's coincidence.

wxWidgets uses kernel headers (#include resp. #include ) in two places: For joystick support and for cdrom support. Does aMule use these code paths? I don't think so.
Logged

Matthaeus

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: aMule crash on Slackware
« Reply #12 on: December 08, 2006, 03:16:00 AM »

I don't know if re-compiled gtk2 by changing the kernel headers modifies really something in compilation (i'm not a programmer..)
But I know just that now amule functions whereas before doing it it planted at least once per day.
Which was the problem with gtk2? I do not know.
But my packet gtk2 was complete before I it recompile and changes it.
Since I reinstalled aMule, I tried to make it planted by all the means, and it resisted all that made it plant front.
Victory! finally!  :)
++
« Last Edit: December 08, 2006, 03:21:26 AM by Matthaeus »
Logged
Sorry for my bad english, i'm french.