aMule Bug Tracker - aMule
View Issue Details
0000138aMuleMulti Platformpublic2004-09-14 19:522004-10-26 22:53
plasly 
Xaignar 
normalcrashalways
closedopen 
 
 
0000138: crash at start
crash of amule juste after installation on a fedora 2
No tags attached.
txt debug.txt (1,880) 2004-09-14 19:52
http://bugs.amule.szerverem.hu/file_download.php?file_id=30&type=bug
patch aMule-2.0.0rc5-alt-timer-fix.patch (682) 2004-09-15 13:27
http://bugs.amule.szerverem.hu/file_download.php?file_id=31&type=bug
Issue History
2004-09-14 19:52plaslyNew Issue
2004-09-14 19:53plaslyFile Added: debug.txt
2004-09-15 13:27agent_007File Added: aMule-2.0.0rc5-alt-timer-fix.patch
2004-09-15 13:31agent_007Note Added: 0000234
2004-09-17 12:44plaslyNote Added: 0000252
2004-09-17 13:33agent_007Note Added: 0000253
2004-10-01 02:36XCondENote Added: 0000284
2004-10-19 20:08KryStatusnew => assigned
2004-10-19 20:08KryAssigned To => Xaignar
2004-10-26 22:53XaignarStatusassigned => closed
2004-10-26 22:53XaignarNote Added: 0000326

Notes
(0000234)
agent_007   
2004-09-15 13:31   
non-us locale ? please, type "locale", and show the results.
following patch may be solve this bug.
(0000252)
plasly   
2004-09-17 12:44   
result of locale :

[sissy@localhost sissy]$ su root
Password:
[root@localhost sissy]# locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
[root@localhost sissy]#
(0000253)
agent_007   
2004-09-17 13:33   
try run amule with
LC_ALL=C /path/to/amule

if it works (no segfault),
try to edit src/otherfunctions.h
add

#include <wx/intl.h>

and replace

static wxCSConv aMuleConv(wxT("iso8859-1"));

to
static wxCSConv aMuleConv(wxLocale::GetSystemEncodingName());

then rebuild amule and run.
results must be reporting to this thread :)
(0000284)
XCondE   
2004-10-01 02:36   
I am running a non-us locale and thus tried agent_007's tip. Is still crashes:

[mulao@careca mulao]$ LC_ALL=C amule
Initialising aMule
Userhash loaded: 2E02F9C04F0E81ECDF02CCE6936E6F65
*** UDP socket at 4665
*** TCP socket at 4662
*** UDP socket at 4672
Serverlist loaded.
 
OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--
 
[0] amule(_ZN9CamuleApp16OnFatalExceptionEv+0x5a) [0x82be8aa]
[1] /usr/lib/libwx_gtk-2.4.so.0(wxFatalSignalHandler+0x2d) [0x3f608dd]
[2] [0x6b0420]
[3] amule(_ZN10CSearchDlg15UpdateCatChoiceEv+0x98) [0x8276674]
[4] amule(_ZN9CamuleDlgC1EP8wxWindow8wxString7wxPoint6wxSize+0xbcb) [0x82c5519]
[5] amule(_ZN9CamuleApp6OnInitEv+0x27a9) [0x82bc197]
[6] /usr/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x228) [0x3ddc828]
[7] amule(main+0x1e) [0x82b95ec]
[8] /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x3e9ad4]
[9] amule(_ZNK20wxTopLevelWindowBase10GetMaxSizeEv+0x5d) [0x8152c51]
Aborted
(0000326)
Xaignar   
2004-10-26 22:53   
This is not a problem with aMule itself, but rather with the installed wx libraries. Please check the forum for help on this issue.