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 at initialization  (Read 5443 times)

DaNe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
crash at initialization
« on: January 03, 2006, 12:15:10 PM »

Initialising aMule
Checking if there is an instance already running...
No other instances are running.

--------------------------------------------------------------------------------
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 2.1.0 using wxGTK2 v2.6.2 (Unicoded)
Running on: Linux 2.6.14.4 i686

[2] ?? in amule [0x806fdfd]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.6.so.0[0xb7aba616]
[4] ?? in [0xffffe420]
[5] wxMBConv::cMB2WC(char const*, unsigned int, unsigned int*) const in /usr/lib/libwx_baseu-2.6.so.0[0xb7a729ba]
[6] wxString::wxString(char const*, wxMBConv&, unsigned int) in /usr/lib/libwx_baseu-2.6.so.0[0xb7a7bb61]
[7] wxMsgCatalogFile::FillHash(wxMessagesHash&, wxString const&, bool) const in /usr/lib/libwx_baseu-2.6.so.0[0xb7a5f8ec]
[8] wxMsgCatalog::Load(wchar_t const*, wchar_t const*, wchar_t const*, bool) in /usr/lib/libwx_baseu-2.6.so.0[0xb7a61960]
[9] wxLocale::AddCatalog(wchar_t const*, wxLanguage, wchar_t const*) in /usr/lib/libwx_baseu-2.6.so.0[0xb7a65598]
[10] wxLocale::AddCatalog(wchar_t const*) in /usr/lib/libwx_baseu-2.6.so.0[0xb7a65822]
[11] ?? in amule [0x82111d9]
[12] ?? in amule [0x806fe4f]
[13] ?? in amule [0x8072fc0]
[14] ?? in amule [0x8178ffb]
[15] wxAppConsole::CallOnInit() in amule[0x8076acf]
[16] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.6.so.0[0xb7a5c19e]
[17] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.6.so.0[0xb7a5c29e]
[18] ?? in amule [0x8178689]
[19] __libc_start_main in /lib/tls/libc.so.6[0xb77d3e14]
[20] __gxx_personality_v0 in amule[0x8068c41]


--------------------------------------------------------------------------------
Aborted
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: crash at initialization
« Reply #1 on: January 03, 2006, 05:08:49 PM »

wx2.6.2 unpatched  That wx version is bugged regarding locate, so that will happen. There is a patch somewhere in the forum... just search and patch your wxWidgets.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: crash at initialization
« Reply #2 on: January 03, 2006, 05:23:29 PM »

or

export LC_ALL="C"

and restart amule in that shell...if you are lazy ;)
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."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: crash at initialization
« Reply #3 on: January 03, 2006, 05:40:59 PM »

What if he has another language selected on preferences?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: crash at initialization
« Reply #4 on: January 03, 2006, 06:02:52 PM »

I think the export overwrites that...at least it worked here this way until the patch was out...

but I think I had system-default selected so nevermind ;)
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."

DaNe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: crash at initialization
« Reply #5 on: January 03, 2006, 06:15:10 PM »

tks i wil try with 2.6.1
nothing to lose
ps:
 with export LC_ALL="C"

Initialising aMule
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
*** glibc detected *** malloc(): memory corruption: 0x087596f8 ***
Aborted
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org

DaNe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: crash at initialization
« Reply #7 on: January 03, 2006, 10:17:49 PM »

tanks a lot but now iss already running with version 2.6.1
u can close the topic
Logged

armbroke

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: crash at initialization
« Reply #8 on: January 14, 2006, 01:56:36 PM »

Quote
Originally posted by deltaHF
here the patch for 2.6.2:

http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/src/common/intl.cpp.diff?r1=1.166&r2=1.166.2.1&diff_format=u

hi, i have the same problem like the thread starter and i use wx2.6.2, but i dont know how to handle with this patch. i downloaded it and the file name is "intl.cpp.diff", how i can install the patch? sorry - i'm noob in linux....

thank you for ur help...
armbroke
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: crash at initialization
« Reply #9 on: January 14, 2006, 02:19:31 PM »

If you have downloaded intl.cpp.diff, go into the top-level directory of the extracted wxWidgets 2.6.2 source and execute this command:
Code: [Select]
patch -p1 < /path/to/where/you/downloaded/intl.cpp.diffIf that doesn't work for whatever reason, you can download the whole file instead of the patch:

http://cvs.wxwidgets.org/viewcvs.cgi/*checkout*/wxWidgets/src/common/intl.cpp?rev=1.166.2.1

Copy it into the src/common directory of the extracted wxWidgets source tree, overwriting the original file. And then do
Code: [Select]
./configure
make
make install
as usual.
Logged

armbroke

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: crash at initialization
« Reply #10 on: January 14, 2006, 04:33:47 PM »

@Gerd78

thank you for your help, but i dont know where to find the wxWidgets 2.6.2 directory...
i installed wxWidgets 2.6.2 from a rpm file. after searching i only could find following directories which includes *wx*:
/usr/lib/wx
/usr/share/doc/wxGTK-2.6.2

i tried to patch in both directories, but there was the message "can't find file to patch at input line 8".

i also couldnt find the src/commun directory because of the same reasons...
maybe if i installed from rpm there is no wxWidgets 2.6.2 directory?

i'm so sorry for my very bad linux knowledge... and my bad english... ;(

what should i do ?(
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: crash at initialization
« Reply #11 on: January 14, 2006, 05:03:31 PM »

Quote
Originally posted by armbroke
i installed wxWidgets 2.6.2 from a rpm file.
Sorry, that doesn't work. Patching requires that you are building wxWidgets from source.

Could you tell me where this RPM comes from? Maybe you can contact the person who made it and ask him/her politely to add this patch to his/her RPM. Don't forget to give the reason - explain why it's needed, otherwise it will probably not be added.

You have several options now:

- you can build wxWidgets yourself from source
- you can build aMule against this RPM you have, but then you will have to disable the translations and use it in English only
- if you have already built aMule against this RPM and are suffering from this crash, you can remove the translations by deleting the amule.mo files in /usr/local/share/locale/*/LC_MESSAGES

If this RPM comes from your distributor, you should probably really report it to them with a short explanation. Otherwise all other users will be hit by this problem, too, and your distributor can only fix it if it knows the problem.
Logged

armbroke

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: crash at initialization
« Reply #12 on: January 14, 2006, 05:29:56 PM »

@Gerd78

Thank you very very much for your explainings, I reported the problem to the distributors.

greetings armbroke
Logged