aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crach on Slack 9.1  (Read 2954 times)

jabberduk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Crach on Slack 9.1
« on: December 30, 2004, 07:03:41 AM »

Hi,

I've tried the following installation methods:

   * rc3 package
   * rc8 package
   * compile rc8 from source

I removed each package before attempting the next installation method.

All of them crash :(  I've appended the backtrace at the bottom of the message.  I get the following error output before the crash, which may be relevant:

./amule: Symbol `_ZTV10wxTextCtrl' has different size in shared object, consider
 re-linking
./amule: Symbol `_ZTV10wxTreeCtrl' has different size in shared object, consider
 re-linking
./amule: Symbol `_ZTV9wxControl' has different size in shared object, consider r
e-linking
./amule: Symbol `_ZTV16wxScrolledWindow' has different size in shared object, co
nsider re-linking


(I got these errors with the package installs, too.)


I would appreciate any help... I'd absolutely love to get this working!  I can supply any additional info about my system.  I hope it's just something I'm doing wrong.

Dominik



  • CamuleApp::OnFatalException() in amule.cpp:979
  • [1] wxFatalSignalHandler in /usr/lib/libwx_gtk-2.4.so
[0x403e1246]
[2] ?? in /lib/libpthread.so.0 [0x40035dfd]
[3] ?? in /lib/libc.so.6 [0x409b8b48]
[4] wxApp::SendIdleEvents(wxWindow*) in /usr/lib/libwx_gtk-2.4.so[0x40281f12]
[5] wxApp::SendIdleEvents() in /usr/lib/libwx_gtk-2.4.so[0x40281e50]
[6] wxApp::OnIdle(wxIdleEvent&) in /usr/lib/libwx_gtk-2.4.so[0x40281dff]
[7] wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) in /usr/lib/libwx_gt
k-2.4.so[0x40308c8a]
[8] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_gtk-2.4.so[0x40308ab7
]
[9] wxApp::ProcessIdle() in /usr/lib/libwx_gtk-2.4.so[0x40281d71]
[10] wxBeginBusyCursor(wxCursor*) in /usr/lib/libwx_gtk-2.4.so[0x4029077b]
[11] wxExecute(char**, int, wxProcess*) in /usr/lib/libwx_gtk-2.4.so[0x403e0064]
[12] wxExecute(wxString const&, int, wxProcess*) in /usr/lib/libwx_gtk-2.4.so[0x
403df877]
[13] ?? in /usr/lib/libwx_gtk-2.4.so [0x403a997a]
[14] wxExecute(wxString const&, wxArrayString&) in /usr/lib/libwx_gtk-2.4.so[0x4
03a9a23]
[15] CamuleApp::OnFatalException() in amule.cpp:1044
[16] wxFatalSignalHandler in /usr/lib/libwx_gtk-2.4.so[0x403e1246]
[17] ?? in /lib/libpthread.so.0 [0x40035dfd]
[18] ?? in /lib/libc.so.6 [0x409b8b48]
[19] wxWindowBase::SetValidator(wxValidator const&) in /usr/lib/libwx_gtk-2.4.so                              [0x403ba65f]
[20] wxWindow::DoAddChild(wxWindow*) in /usr/lib/libwx_gtk-2.4.so[0x402d1158]
[21] wxWindow::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxStr                              ing const&) in /usr/lib/libwx_gtk-2.4.so[0x402cf079]
[22] wxPanel::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxStri                              ng const&) in /usr/lib/libwx_gtk-2.4.so[0x402454f5]
[23] wxPanel::wxPanel(wxWindow*, int, wxPoint const&, wxSize const&, long, wxStr                              ing const&) in /usr/lib/libwx_gtk-2.4.so[0x40245b80]
[24] CamuleDlg::CamuleDlg(wxWindow*, wxString const&, wxPoint, wxSize) in amuleD                              lg.cpp:169
[25] CamuleGuiApp::InitGui(bool, wxString&) in amule-gui.cpp:322
[26] CamuleApp::OnInit() in amule.cpp:575
[27] CamuleGuiApp::OnInit() in amule-gui.cpp:198
[28] wxEntry(int, char**) in /usr/lib/libwx_gtk-2.4.so[0x40282621]
[29] main in amule-gui.cpp:161
[30] __libc_start_main in /lib/libc.so.6[0x409a4bb4]
[31] wxTopLevelWindowBase::GetMaxSize() const in ./amule[0x81317a1]
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
Re: Crach on Slack 9.1
« Reply #1 on: December 30, 2004, 07:51:14 AM »

hi

Quote
./amule: Symbol `_ZTV10wxTextCtrl' has different size in shared object, consider
re-linking
./amule: Symbol `_ZTV10wxTreeCtrl' has different size in shared object, consider
re-linking
./amule: Symbol `_ZTV9wxControl' has different size in shared object, consider r
e-linking
./amule: Symbol `_ZTV16wxScrolledWindow' has different size in shared object, co
nsider re-linking

means wrong wxgtk version

plz show us the output of:

ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*

cheers

jabberduk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
output
« Reply #2 on: December 30, 2004, 08:04:03 AM »

dominik@duckytown:~$ ls -l /usr/bin/wx*
lrwxrwxrwx    1 root     root           16 Jul 20  2003 /usr/bin/wx-config -> wxgtk-2.4-config*
-rwxr-xr-x    1 root     bin          7396 Feb 11  2003 /usr/bin/wxcopy*
-rwxr-xr-x    1 root     root         4819 Jul 20  2003 /usr/bin/wxgtk-2.4-config*
-rwxr-xr-x    1 root     bin          5832 Feb 11  2003 /usr/bin/wxpaste*


dominik@duckytown:~$ ls -l /usr/local/bin/wx*
lrwxrwxrwx    1 root     root           16 Dec 29 21:50 /usr/local/bin/wx-config -> wxgtk-2.4-config*
-rwxr-xr-x    1 root     root         4871 Dec 27 14:16 /usr/local/bin/wxbase-2.4-config*
-rwxr-xr-x    1 root     root       790187 Dec 29 22:03 /usr/local/bin/wxcas*
-rwxr-xr-x    1 root     root         5058 Dec 29 21:50 /usr/local/bin/wxgtk-2.4-config*
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
Re: Crach on Slack 9.1
« Reply #3 on: December 30, 2004, 08:11:01 AM »

ok ;)

now u can see, u have wxGTK installed in 2 different places..

can you plz tell me what pkgs did u install till now and what you compiled yourself ?

we will try now to clean up your sys

cheers

jabberduk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Crach on Slack 9.1
« Reply #4 on: December 30, 2004, 08:15:03 AM »

The aMule packages I got from
 
 http://www.linuxpackages.net/search_view.php?by=name&name=amule&ver=

as recommended on the Wiki for Slacwkare.  Those are both uninstalled now, though.

The only wxGTK install I recall doing is tonight, and I compiled it from source.  That would be the one with today's dates.

I don't use a packaging system to maintain my software because there hasn't been that much maintenance yet.  (I plan to change this very soon because it's getting on my nerves, but for now I'm stuck with a bit of a mess).  I'm not sure that I use any other software that links against wxGTK, though I could be blatantly wrong on this...

Is there any other useful information I can give you?

Dominik
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
Re: Crach on Slack 9.1
« Reply #5 on: December 30, 2004, 08:26:07 AM »

ok, try this (as root):

rm -f  /usr/bin/wx*
rm -rf /usr/lib/wx
rm -f  /usr/lib/libwx*
rm -f  /usr/local/bin/wx*
rm -rf /usr/local/lib/wx
rm -f  /usr/local/lib/libwx*
ldconfig

then take a look here -> http://www.amule.org/wiki/index.php/Compilation_Installation (drop the crypo++ step, isn't needed anymore), and compile wxGTK, wxBase and aMule like in the HowTo

when you are done, plz try to start amule.. should it work - ok ;)
does it not work, we will have to look at your sys again

cheers

jabberduk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Crach on Slack 9.1
« Reply #6 on: December 30, 2004, 09:30:43 AM »

I ran the remove commands (actually I moved the files into a backup directory), and installed wxGTK/wxBase 2.4.2 exactly as instructed on the Wiki page you have linked.

Compilation of aMule now fails :(  (... with the same error that I was getting when I had previously tried to compile aMule without installing wxGTK).

The error begins like this (and continues as a whole chain of errors... I'm including the top portion here, but will happily post the whole thing if you'd like).

make[6]: Entering directory `/home2/dominik/downloads/aMule-2.0.0rc8/aMule-2.0.0rc8/src/utils/wxCas/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..    -I/usr/lib/wx/include/base-2.4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DUSE_EMBEDDED_CRYPTO  -O2  -MT wxcas-wxcas.o -MD -MP -MF ".deps/wxcas-wxcas.Tpo" -c -o wxcas-wxcas.o `test -f 'wxcas.cpp' || echo './'`wxcas.cpp; \
then mv -f ".deps/wxcas-wxcas.Tpo" ".deps/wxcas-wxcas.Po"; else rm -f ".deps/wxcas-wxcas.Tpo"; exit 1; fi
wxcas.cpp:51:2: #error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in setup.h to compile wxCas.
In file included from /usr/local/include/wx/gdicmn.h:29,
                 from /usr/local/include/wx/image.h:20,
                 from wxcas.cpp:54:
/usr/local/include/wx/font.h:82: parse error before `{' token
/usr/local/include/wx/font.h:104: non-member function `bool Ok()' cannot have `
   const' method qualifier
/usr/local/include/wx/font.h: In function `bool Ok()':
/usr/local/include/wx/font.h:104: `m_refData' undeclared (first use this
   function)
/usr/local/include/wx/font.h:104: (Each undeclared identifier is reported only
   once for each function it appears in.)





Dominik
Logged

jabberduk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
RE: Crach on Slack 9.1
« Reply #7 on: December 30, 2004, 09:34:51 AM »

GRRR... took a look at my command history and found a couple of problems.  Please ignore the compilation error until I post again.  (it's too late at night : )


dominik
Logged

jabberduk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Crach on Slack 9.1
« Reply #8 on: December 30, 2004, 10:07:53 AM »

It works beautifully.  Thanks for your help & patience... I should have been able to figure this out w/o bugging you :)

Happy new year!


Dominik
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
Re: Crach on Slack 9.1
« Reply #9 on: December 30, 2004, 10:11:14 AM »

happy new year to you too and have fun with aMule :)