aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: and latest CVS crashes at startup.  (Read 3559 times)

Filya

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
and latest CVS crashes at startup.
« on: October 15, 2005, 08:14:44 PM »

Hello all!
I spent about three days trying to find why it happens, but nothing came up.
Due to need to use hardware RAID controller, I upgraded linux kernel from 2.4.2 to 2.6.11-12. Kernel runs just fine, and no other applications crash, but amule. I tried to use old-compiled amule 2.0.2, then made new 2.0.3, then today tried to use CVS aMule, and more, also tried to build it against today wxWidgets CVS, as some errors in 2.6.2 were reported. Nothing helps.
aMule starts, says that "cannot set locale to "" " and then crashes. Earlier, I had the same warning, but program run just fine for months.
Here is a backtrace.

Quote
Gdk-WARNING **: locale not supported by C library
Initialising aMule
Checking if there is an instance already running...
Loading temp files from /home/phil/.aMule/Temp.

All PartFiles Loaded.

--------------------------------------------------------------------------------
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/board.php?boardid=67
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule CVS using wxGTK1 v2.7.0 (Snapshot: Sat Oct 15 07:02:17 CEST 2005)
Running on: Linux 2.6.11.12 i686

[2] CamuleApp::OnFatalException() in amule.cpp:1295
[3] wxFatalSignalHandler in [0x84d00f8]
[4] __pthread_sighandler in [0x85a30ef]
[5] ?? in [0xffffe420]
[6] CamuleApp::OnInit() in amule.cpp:793
[7] CamuleGuiApp::OnInit() in amule-gui.cpp:351
[8] wxAppConsole::CallOnInit() in app.h:87
[9] wxEntry(int&, char**) in [0x848bf5d]
[10] main in amule-gui.cpp:297
[11] __libc_start_main in [0x86d7d54]
[12] _start in start.S:122


--------------------------------------------------------------------------------
Aborted (core dumped)
Maybe it may help: aMule crashes AFTER I press OK in the warning window.
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
locales bug
« Reply #1 on: October 15, 2005, 08:24:43 PM »

Quote


locale not supported by C library





As said. This is a known bug of wxGTK2.6.2.

Just go back to 2.6.1 or use wxGTK-CVS, it's already fixed.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

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: and latest CVS crashes at startup.
« Reply #2 on: October 15, 2005, 08:56:31 PM »

Filya,

Like OldFrog said, and I myself have said at least 3 times in the forums, it is a know wx-2.6.2 bug. It has nothing to do with your hardware or aMule.

Please, do a little search in the forums before posting, it will save you and ourselves a lot of time ;)

Cheers!
Logged

Filya

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
RE: and latest CVS crashes at startup.
« Reply #3 on: October 15, 2005, 10:46:43 PM »

Quote
Originally posted by phoenix
Filya,

Like OldFrog said, and I myself have said at least 3 times in the forums, it is a know wx-2.6.2 bug. It has nothing to do with your hardware or aMule.

Please, do a little search in the forums before posting, it will save you and ourselves a lot of time ;)

Cheers!
Hello Phoenix, OldFrog!

I use today's wxWidgets CVS, and nothing works. I read forums, and I know that the bug exist. So I switched from 2.6.0 I used to make 2.0.2 amule that proved to be very stable on both my systems, to today's CVS. There are 450MB I downloaded from their CVS server, and all compiled successfully, by strange occasion ;)
They swear, that in CVS locales bug is fixed.
Maybe I should switch to use GTK+ v. 2.x.x instead of 1.2.10?
I have another question. I am not like a great linux programmer ( :) )ΒΈ and I may forget to update some vital system utils when I made RH7 using 2.6.11-12 kernel instead of 2.4.2. Is it possible, that some sysetm core utility is needed for amule to run?  Other programs, such as Mozilla, run just fine.
Logged

Filya

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: and latest CVS crashes at startup.
« Reply #4 on: October 15, 2005, 11:49:49 PM »

Well, I forget to mention maybe a important thing. I compile aMule as static application, 48Mbytes large if with full debug info.
It runs perfectly on Slackware 10 and Mandriva 2005. But fails to run on RH7 with kernel updated to 2.6.11 ( I tried also 2.6.13, same effect)
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: and latest CVS crashes at startup.
« Reply #5 on: October 15, 2005, 11:53:27 PM »

OldFrog, phoenix: before giving advice, first READ the post.

"Current version is: aMule CVS using wxGTK1 v2.7.0 (Snapshot: Sat Oct 15 07:02:17 CEST 2005)"

Filya's already been using wx-cvs.

---

Filya, you might try it with wxGTK compiled for GTK+2, but best would be to compile aMule with debug information enabled, and then post a backtrace.
Logged
concordia cum veritate

Filya

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: and latest CVS crashes at startup.
« Reply #6 on: October 15, 2005, 11:58:39 PM »

Quote
Originally posted by GonoszTopi
OldFrog, phoenix: before giving advice, first READ the post.

"Current version is: aMule CVS using wxGTK1 v2.7.0 (Snapshot: Sat Oct 15 07:02:17 CEST 2005)"

Filya's already been using wx-cvs.

---

Filya, you might try it with wxGTK compiled for GTK+2, but best would be to compile aMule with debug information enabled, and then post a backtrace.
GonoszTopi, thank you for your reply.
What should I do to make a valuable backtrace? Wiki is down now, so http://www.amule.org/wiki/index.php/Backtraces does not work.
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: and latest CVS crashes at startup.
« Reply #7 on: October 16, 2005, 12:16:46 AM »

Quote
Originally posted by GonoszTopi
OldFrog, phoenix: before giving advice, first READ the post.

"Current version is: aMule CVS using wxGTK1 v2.7.0 (Snapshot: Sat Oct 15 07:02:17 CEST 2005)"

Filya's already been using wx-cvs.
Filya, sorry for that then. Anyway, the last time someone had a line like aMule CVS using wxGTK2 v2.6.1, go figure...

Filya, you might be right about using wxGTK2, though I doubt it is the same issue. But you have probably found a new wxBug. If you can help me reproduce it, maybe we can report it to wx devs. I will compile a new wx-cvs right now to see if the bug has been reintroduced.

Cheers!
Logged

Filya

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: and latest CVS crashes at startup.
« Reply #8 on: October 16, 2005, 12:33:24 AM »

Quote
Originally posted by phoenix
Filya, you might be right about using wxGTK2, though I doubt it is the same issue. But you have probably found a new wxBug. If you can help me reproduce it, maybe we can report it to wx devs. I will compile a new wx-cvs right now to see if the bug has been reintroduced.

Cheers!
At this time, I have only one system where it does not work - RH7 machine, with Glibc 2.2.2-10, and 2.6.11/13 kernel. I compile aMule on Mandriva 2005, gcc 3.4.3 (possibly 3.4.4, because Mandriva has its own view on versions numbering when RPM-packages are updated) as static application, with or without debug info, it does not affect crashing.
Right there, on Mandriva, aMule runs perfectly. In lowID though, since my network configuration.
On another system, using Slackware linux updated "up to the edge", it runs also fine, with the same warning about locale, but it does not cause a crash.
More over, I tested it right now, on slow modem connection with ssh-X11 forwarding, aMule's GUI is drawn completely before it crashes. All menus, tables, buttons and icons are in right places and are just greyed as inactive. After I press "OK" button on popup with error about "Cannot set locale to '' . ", aMule crashes same way.
PS If it was a way to compile wx+aMule using gcc 2.95, I wouldn't use such a weird way to compile it and run.
Logged