aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: gcc4 error?  (Read 3477 times)

kricklen

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
gcc4 error?
« on: July 26, 2005, 02:00:28 AM »

This is the backtrace i get, with the current cvs version as well:

Code: [Select]
Current version is: aMule 2.0.3 using wxGTK2 v2.6.1
Running on: Linux 2.6.12-nitro3 i686

[2] wxFatalSignalHandler in /usr/lib/libwx_base-2.6.so.0[0xb7aba936]
[3] ?? in [0xffffe420]
[4] __libc_free in /lib/tls/libc.so.6[0xb777c9e7]
[5] _ZdlPv+0x21) [0xb791b1e1] in /usr/lib/gcc/i686-pc-linux-gnu/4.0.1/libstdc++.so.6[0xb791b1e1]
[6] _ZdaPv+0x1d) [0xb791b23d] in /usr/lib/gcc/i686-pc-linux-gnu/4.0.1/libstdc++.so.6[0xb791b23d]
[7] _ZNSt8ios_baseD2Ev+0x56) [0xb78ac546] in /usr/lib/gcc/i686-pc-linux-gnu/4.0.1/libstdc++.so.6[0xb78ac546]
[8] _ZNSt14basic_ifstreamIcSt11char_traitsIcEED0Ev+0x74) [0xb78be9e4] in /usr/lib/gcc/i686-pc-linux-gnu/4.0.1/libstdc++.so.6[0xb78be9e4]
[9] ~member_ptr in smartptr.h:49
[10] ~FileStore in files.h:15
[11] ~SourceTemplate in filters.h:666
[12] ~FileSource in files.h:50
[13] CClientCreditsList::InitalizeCrypting() in ClientCredits.cpp:500
[14] CClientCreditsList in ClientCredits.cpp:160
[15] CamuleApp::OnInit() in amule.cpp:830
[16] CamuleGuiApp::OnInit() in amule-gui.cpp:337
[17] wxAppConsole::CallOnInit() in app.h:87
[18] wxEntry(int&, char**) in /usr/lib/libwx_base-2.6.so.0[0xb7a61337]
[19] main in amule-gui.cpp:147
[20] __libc_start_main in /lib/tls/libc.so.6[0xb772e0ab]
[21] wxTextCtrlBase::SaveFile(wxString const&) in :0

I'm a bit clueless there, do i need tcl/tls installed?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: gcc4 error?
« Reply #1 on: July 26, 2005, 08:17:13 AM »

did you compile both wx AND amule?
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."

kricklen

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: gcc4 error?
« Reply #2 on: July 26, 2005, 11:33:21 AM »

Yes, got gentoo here and recompiled the whole system with gcc4.01.
This happens at startup, 2.03 pops up a window telling me i'm using it for the first time then crashes. The main gui doesn't show up.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: gcc4 error?
« Reply #3 on: July 26, 2005, 02:02:08 PM »

strange ...

can you try a cvs snapshot? since I am running here gcc-4 aswell and works well
we also provide ebuild for amule-cvs, check development forum if you want to use it
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."

kricklen

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: gcc4 error?
« Reply #4 on: July 26, 2005, 07:16:47 PM »

Something's broken here i think. At least 'pkg-config --help' segfaults after printing 4 lines. I'll reinstall wxgtk later on, gonna post if it helps.
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: gcc4 error?
« Reply #5 on: July 26, 2005, 09:07:04 PM »

Let me guess, you are using Gentoo, right? In any case, what compiler flags did you use to compile your system with?
Logged

kricklen

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: gcc4 error?
« Reply #6 on: July 26, 2005, 11:44:04 PM »

-O2 -march=athlon-tbird -pipe
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: gcc4 error?
« Reply #7 on: July 27, 2005, 12:35:53 AM »

Seems sensible enough. My initial suggestion would be for you to downgrade to gcc-3.3 or gcc-3.4 and recompile your system. Or if you want to keep using gcc-4, then you might find help on the Gentoo forums. ;)
Logged

kricklen

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: gcc4 error?
« Reply #8 on: July 27, 2005, 01:16:07 PM »

Got it working yesterday, recompiled gtk+ and wx wich seemed to help. Although pkg-config still segfaults, dunno what the cause is.
Logged