aMule Forum

English => aMule Help => Topic started by: mjp9119 on November 13, 2004, 12:16:21 AM

Title: aMule crash
Post by: mjp9119 on November 13, 2004, 12:16:21 AM
Hi I've just installed version 2.0.0rc7 from a rpm package
and the  first time I've tried to run it, the program seemed  to hang
so I've used control-C and tried to run it again
this time this is what apeared on the screen

amule: Symbol `_ZTV10wxTextCtrl' has different size in shared object, consider re-linking
Initialising aMule
Userhash loaded: 59D4ED49E70E0754253C46D7B0696FBB
*** UDP socket at 4665
*** UDP socket at 4672

OOPS! - Seems like aMule crashed.
        Version is: aMule 2.0.0rc7 using wxGTK1 v2.4.2
--== BACKTRACE FOLLOWS: ==--

[0x40449e2b]
[2] /lib/libpthread.so.0 [0x40030895]
[3] /lib/libc.so.6 [0x40a4c5c8]
[4] /usr/X11R6/lib/libwx_gtk-2.4.so.0(_ZN10wxTextAttr7CombineERKS_S1_PK14wxTextCtrlBase+0x112) [0x403fcf92]
[5] /usr/X11R6/lib/libwx_gtk-2.4.so.0(_ZN14wxTextCtrlBase15SetDefaultStyleERK10wxTextAttr+0x70) [0x403fd2e0]
[6] /usr/X11R6/lib/libwx_gtk-2.4.so.0(_ZN10wxTextCtrl6CreateEP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelRK11wxValidatorS4_+0x531) [0x402ee371]
[7] /usr/X11R6/lib/libwx_gtk-2.4.so.0(_ZN10wxTextCtrlC2EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelRK11wxValidatorS4_+0x89) [0x402edd69]
[8] amule(_ZN13CMuleTextCtrlC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizelRK11wxValidatorS4_+0x30) [0x8171810]
[9] amule(_Z7muleDlgP8wxWindowbb+0x1e8) [0x8172d58]
[10] amule(_ZN9CamuleDlgC1EP8wxWindowRK8wxString7wxPoint6wxSize+0x44f) [0x8234a6f]
[11] amule(_ZN9CamuleApp6OnInitEv+0x2194) [0x822d304]
[12] /usr/X11R6/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x355) [0x4029f105]
[13] amule(main+0x19) [0x822ad19]
[14] /lib/libc.so.6(__libc_start_main+0xce) [0x40a388ae]
[15] amule(_ZN18wxBaseArrayPtrVoidD2Ev+0x31) [0x80c1f81]
 


Please any help would be greatly appreciated
Mauricio
Title: Re: aMule crash
Post by: deltaHF on November 13, 2004, 12:18:42 AM
u have the wrong wxgtk installed on your pc ..

plz tell me your linux distri and paste the output of ' rpm -qa | grep wx '

cheers
Title: Re: aMule crash
Post by: mjp9119 on November 13, 2004, 12:27:57 AM
Hi, and thank you.

The PC is runinng SuSE 8.2

The first time I've tried to instal the rpm yast warned that I needed wx..
So I've downloaded another package  wxBase-2.4.2-1.i586.rpm
and istalled it with yast, and tried again to install aMule this time everything seemed to work ok but then  yast requested CD # 2 and seemed to install the same wxBase from the CD

Perhaps the first installation of the wxBase was a source and it should be compiled ?

I don't know I'm too newbie, sorry

This is the result of the command you sent
 # rpm -qa | grep wx
wxBase-2.4.2-1
wxGTK-2.4.0-45
Title: Re: aMule crash
Post by: deltaHF on November 13, 2004, 12:38:24 AM
as root:

rpm -e  wxGTK-2.4.0-45

rpm -Uvh http://download.berlios.de/amule/wxGTK-2.4.2-1.i386.rpm && http://download.berlios.de/amule/wxGTK-devel-2.4.2-1.i386.rpm

ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
ldconfig

this should fix your pb ;)

cheers
Title: Re: aMule crash
Post by: mjp9119 on November 13, 2004, 12:54:28 AM
Here I go again,

after running
 rpm -Uvh http://download.berlios.de/amule/wxGTK-2.4.2-1.i386.rpm && http://download.berlios.de/amule/wxGTK-d....4.2-1.i386.rpm
 
This is what I've got

 rpm -Uvh http://download.berlios.de/amule/wxGTK-2.4.2-1.i386.rpm && http://download.berlios.de/amule/wxGTK-d....4.2-1.i386.rpm
Retrieving http://download.berlios.de/amule/wxGTK-2.4.2-1.i386.rpm
wxGTK                       ##################################################
bash: http://download.berlios.de/amule/wxGTK-d....4.2-1.i386.rpm: No such file or directory

It seems to be a problem with wxGTK-d....4.2-1 in the second line

One more thing I'had to use rpm -e -nodeps when uninstalling wxGTK
since I've had this messages the first time I've tried. I hope thats Ok.

 rpm -e wxGTK-2.4.0-45
error: removing these packages would break dependencies:
        wxGTK >= 2.4.0 is needed by aMule-2.0.0rc7-1
Title: Re: aMule crash
Post by: deltaHF on November 13, 2004, 01:02:31 AM
ok,, again ;)

1. rpm -e aMule-2.0.0rc7-1

2. rpm -e wxGTK-2.4.0-45

3. rpm -Uvh http://download.berlios.de/amule/wxGTK-d....4.2-1.i386.rpm <- replace  wxGTK-d....4.2-1.i386.rpm with wxGTK-devel-2.4.2-1.i386.rpm

4. ldconfig

5.
ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config

6. reinstall amule rpm -Uvh aMule-2.0.0rc7etc.8.2.rpm
Title: Re: aMule crash
Post by: mjp9119 on November 13, 2004, 01:25:38 AM
Hey !! finally it's working..

Thank you very much for your help

One more thing is it safe to be running  aMule while I'm logged in as root?
Title: Re: aMule crash
Post by: deltaHF on November 13, 2004, 01:29:21 AM
One more thing is it safe to be running aMule while I'm logged in as root? <. not really .. and not only amule...

have fun :)

cheers