aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problem with wx and aMule  (Read 3051 times)

Mandarine

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Problem with wx and aMule
« on: April 18, 2006, 08:57:08 PM »

Hello,

I've tried to compile wx 2.6.3 and aMule 2.1.1 from the sources. Everything seemed to work fine (no errors) but when I try to start aMule I get the message:

Code: [Select]
amule@mandarine:/usr/local/bin$ amuled
amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/amule/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /home/amule/.aMule/Incoming shared

Now, exiting main app...
aMule OnExit: Terminating core.
aMule shutdown completed.
        aMule Version: aMuled 2.1.1 using wxGTK2 v2.6.2 (Unicoded)

Terminated after throwing an instance of 'std::bad_alloc'
        what(): St9bad_alloc
        backtrace:
[2] CamuleApp::OnUnhandledException() in amule.cpp:1987
[3] wxEntry(int&, wchar_t**) in /usr/local/lib/libwx_baseu-2.6.so.0[0x40128a47]
[4] wxEntry(int&, char**) in /usr/local/lib/libwx_baseu-2.6.so.0[0x40128abe]
[5] __gxx_personality_v0 in amuled.cpp:132
[6] __libc_start_main in /lib/libc.so.6[0x4030c3be]
[7] wxAppConsole::Initialize(int&, wchar_t**) in start.S:122

Abgebrochen
amule@mandarine:/usr/local/bin$
What makes me curios is that I compiled wxGTK 2.6.3 and the message says: 2.6.2 ??

Can anybody help?

Sascha
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Problem with wx and aMule
« Reply #1 on: April 18, 2006, 10:10:30 PM »

maybe you have 2 wx installed ?

one in /usr/ and one in /usr/local/


looks like amuled starts and then exits?
or does this crash happen while running??
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Mandarine

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Re: Problem with wx and aMule
« Reply #2 on: April 19, 2006, 07:42:16 AM »

Quote
Originally posted by stefanero
maybe you have 2 wx installed ?

one in /usr/ and one in /usr/local/

How can I check that? How can I delete one?

Quote
looks like amuled starts and then exits?
or does this crash happen while running??

no, it just starts and then exits. I'm using the webinterface but the server isn't reachable (Everything worked fine with aMule 2.0.3 and wxGTK 2.5.3) ...
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Problem with wx and aMule
« Reply #3 on: April 19, 2006, 08:59:12 AM »

check if you have a wx-config in

/usr/bin/

and one in

/usr/local/bin/
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Mandarine

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Re: Problem with wx and aMule
« Reply #4 on: April 19, 2006, 08:49:56 PM »

I do have two wx-config's in that two directories ...

what now?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Problem with wx and aMule
« Reply #5 on: April 19, 2006, 09:03:50 PM »

remove / uninstall both and restart from wxGTK compile...this would be the cleanes way

http://www.amule.org/wiki/index.php/How_to_uninstall_wxWidgets
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."