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.3.1 gui crashes at startup  (Read 2383 times)

Xnake

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
aMule 2.3.1 gui crashes at startup
« on: August 13, 2012, 12:50:17 AM »

First of all, I'd like to say hi to everyone in this forum an greet to aMule team for their great work.

I have updated aMule Packman package with Apper in my OpenSuSE 12.1 x86_64 + KDE4.9 PC and now amule gui chrashes at startup after saving part files.

Sometimes it closes the gui and other times the gui remains unresponsive after the crash.

This computer had previous aMule Packman package version (2.3.1 as well) working when it was upgraded from OpenSuSE 12.0 x86_64 + KD4.7 to OpenSuSE 12.1 x86_64 + KD4.7 and then to OpenSuSE 12.1 x86_64 + KD4.9.

Crashes began immediately after upgrading aMule Packman package.

When I run amule from console with my user (no problem before upgrading package) I get this log (only showing final part of it):

...
2012-08-13 00:27:16: Saving part file 49 of 648

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.3.1 compiled with wxGTK2 v2.8.12
Running on: Linux 3.1.10-1.16-desktop x86_64

[2] ?? in amule[0x45a29f]
[3] wxFatalSignalHandler in /usr/lib64/wx-2.8-stl/libwx_baseu-2.8.so.0[0x7f6f5c6c1abc]
[4] ?? in /lib64/libpthread.so.0[0x7f6f5ba05d00]
[5] wxMutex::Lock() in /usr/lib64/wx-2.8-stl/libwx_baseu-2.8.so.0[0x7f6f5c6bb7a0]
[6] ?? in amule[0x4df237]
[7] ?? in amule[0x4e86a8]
[8] ?? in amule[0x608a0d]
[9] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib64/wx-2.8-stl/libwx_baseu-2.8.so.0[0x7f6f5c6bca8b]
[10] ?? in /lib64/libpthread.so.0[0x7f6f5b9fdf05]
[11] clone in /lib64/libc.so.6[0x7f6f5b74110d]


--------------------------------------------------------------------------------
Aborted


I have  aMule Packman package running in my laptop fresh installed with OpenSuSE 12.1 x86_64 + KDE4.7 and sometime later  upgraded to OpenSuSE 12.1 x86_64 + KDE4.9. I have updated aMule Packman package via Apper in my OpenSuSE 12.1 x86_64 + KDE4.9 and it works perfect in my laptop.

Could anyone point me what library/program is causing this crashes or give any hint on how to solve this problem?

Thanks in advance.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: aMule 2.3.1 gui crashes at startup
« Reply #1 on: August 14, 2012, 09:15:07 PM »

I'd suspect something fishy with the wxWidgets that is part of that distro.
What I'm wondering is why aMule is saving partfiles on startup. Is it terminating right after start and then crashing on shutdown? What is it doing before saving the partfiles?
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

Xnake

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: aMule 2.3.1 gui crashes at startup
« Reply #2 on: August 14, 2012, 10:02:06 PM »

I've removed any libwx* package no other program depends on, and the behaviour it's the same. I've even tried a different package (different version number) from another OpenSuSE repository, with same errors.

When I run amule command on a terminal, the log now is (translated from Spanish):

2012-08-14 21:37:40: Initialising aMule 2.3.1 compiled with wxGTK2 v2.8.12
 2012-08-14 21:37:40: Checking if there is an instance already running...
 2012-08-14 21:37:40: No other instances are running.
 2012-08-14 21:37:40: Listening Socket: Ok
 2012-08-14 21:37:41: Saving temp file from /Varios/aMule/Temp.
 2012-08-14 21:37:41: Loading part file 1 of 650
...
2012-08-14 21:44:09: Loading part file  648 of 648
 2012-08-14 21:44:09: All part files loaded.
 2012-08-14 21:44:09: Adding file /Varios/aMule/Temp/2266.part.met to shared
...
2012-08-14 21:44:09: Adding file /Varios/aMule/Temp/1389.part.met to shared
 2012-08-14 21:44:17: Now, exiting main application...
 2012-08-14 21:44:17: aMule OnExit: Ending core.
 2012-08-14 21:44:17: Saving part file 1 of 648
...
 2012-08-14 21:45:59: Saving part file 648 of 648
 2012-08-14 21:45:59: All  part files saved.
 2012-08-14 21:45:59: aMule closing  completed.
        aMule Version: aMule 2.3.1 compiled with wxGTK2 v2.8.12

Terminated after throwing an instance of 'std::logic_error'
        what(): basic_string::_S_construct null not valid

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.3.1 compiled with wxGTK2 v2.8.12
Running on: Linux 3.1.10-1.16-desktop x86_64



After aMule loads the part files, it shows the GUI. When adds them to shared files I can see all the files in the download tab, but the GUI is unresponsive.

I tried compiling aMule from source code, but when I run ./configure --disable-debug --enable-optimize it cant't find wx-config because there is no such wx-config (I've searched for it in all my partitions).

I think it has something to do wiht wxWidgets too, so I'll wait for a new aMule Packman package or I'll upgrade to OpenSuSE 12.2 on September, 4th. If still I can't get the problem solved, I'll save my data and I'll run an OpenSuSE 12.2 fresh install.

Thank you very much for the answer.
Logged

Xnake

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: aMule 2.3.1 gui crashes at startup
« Reply #3 on: August 15, 2012, 03:23:42 PM »

I finally sorted my problem out!  ;D

It was caused by connecting to eDonkeyServer No2 (212.63.206.35). AMAZING!  :o :o :o :o

I got lucky when I had aMule running smoothly in my laptop, connected to another server, and when I tried to connect to that server aMule crashed.

I downloaded a fresh server.met and aMule runs perfect now in my PC. I checked my theory connecting to that "bad" server and aMule hangs/crashes. Why? I have no idea. I've deleted that server from my server list.

Thanks for your help!
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: aMule 2.3.1 gui crashes at startup
« Reply #4 on: August 15, 2012, 09:54:00 PM »

Now this is interesting.

I've just tried this server too and had no problems. I don't have that many active downloads though.
Maybe something breaks there when it transfers you huge file list or something.

Anyway good to hear you got it running at last!
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

SilverHawk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: aMule 2.3.1 gui crashes at startup
« Reply #5 on: August 22, 2012, 09:54:04 AM »

Hi all,
I've the same problem reported by Xnake.
I'm on a OpenSUSE 12.1 x86 and aMule version is 2.3.1: the crash report (without backtrace) is the same of Xnake.
I tried to investigate the crash, and I understood that's related both to the ed2k network and the other clients. Many times, but not always, when I connect to a server (ed2k) aMule crash; also crashes everytime when I'm downloading something and I click on the download: I think that crashes when tries to show the clients details. AMule seems to work properly IF:
1) I don't connect to the ed2k network
2) I don't click any download (I didn't tried on uploads)
I'm available to carry out further tests

Thanks for your support
Logged