aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Segmention Fault  (Read 2543 times)

tinova

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Segmention Fault
« on: June 12, 2006, 11:03:47 AM »

Hello,

I´m using aMule with Gentoo. It all was fine until a week ago (I guess after a gentoo update) I start getting segmention fault each time I try to run amule. I was using amule 2.1.1 so I upgraded to 2.1.2 but with no luck ;(. I´m using wxGTK 2.6.3.2

I´m posting here the backtrace hoping that someone knows how to deal with this, I ran out of ideas.

(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb707fc9e in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#2  0xb72dc3c5 in gdk_keymap_get_entries_for_keyval ()
   from /usr/lib/libgdk-x11-2.0.so.0
#3  0xb72a10a9 in gdk_pre_parse_libgtk_only ()
   from /usr/lib/libgdk-x11-2.0.so.0
#4  0xb745e4b1 in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb7186822 in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#6  0xb745ea7b in gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb745eaf4 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xb7b5fd89 in wxApp::Initialize () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#9  0xb7926176 in wxEntryStart () from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb79265cc in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb79266d6 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#12 0x081b6eaa in main (argc=1, argv=0xbfc839c4) at amule-gui.cpp:297
(gdb) bt full
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0xb707fc9e in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2  0xb72dc3c5 in gdk_keymap_get_entries_for_keyval ()
   from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#3  0xb72a10a9 in gdk_pre_parse_libgtk_only ()
   from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#4  0xb745e4b1 in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#5  0xb7186822 in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0xb745ea7b in gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0xb745eaf4 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#8  0xb7b5fd89 in wxApp::Initialize () from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#9  0xb7926176 in wxEntryStart () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#10 0xb79265cc in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
---Type to continue, or q to quit---
No symbol table info available.
#11 0xb79266d6 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#12 0x081b6eaa in main (argc=1, argv=0xbfc839c4) at amule-gui.cpp:297
No locals.
(gdb) thread apply all bt

Thread 1 (Thread 16384 (LWP 1085)):
#0  0x00000000 in ?? ()
#1  0xb707fc9e in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#2  0xb72dc3c5 in gdk_keymap_get_entries_for_keyval ()
   from /usr/lib/libgdk-x11-2.0.so.0
#3  0xb72a10a9 in gdk_pre_parse_libgtk_only ()
   from /usr/lib/libgdk-x11-2.0.so.0
#4  0xb745e4b1 in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb7186822 in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#6  0xb745ea7b in gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb745eaf4 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xb7b5fd89 in wxApp::Initialize () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#9  0xb7926176 in wxEntryStart () from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb79265cc in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb79266d6 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#12 0x081b6eaa in main (argc=1, argv=0xbfc839c4) at amule-gui.cpp:297


Thank you for your time.
Logged

gbin

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: Segmention Fault
« Reply #1 on: June 19, 2006, 10:28:17 PM »

Same thing here on Gentoo ~amd64
net-p2p/amule 2.1.3

bt gives :
#0  0x0000000000000000 in ?? ()
#1  0x00002b93e5b85eb5 in gdk_keymap_get_entries_for_keyval () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x00002b93e5835433 in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
#3  0x00002b93e63bc9dd in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#4  0x00002b93e5835866 in gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0
#5  0x00002b93e58358b9 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00002b93e4837d5f in wxApp::Initialize () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#7  0x00002b93e4da20af in wxEntryStart () from /usr/lib/libwx_baseu-2.6.so.0
#8  0x00002b93e4da262b in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#9  0x00002b93e4da27b4 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#10 0x00000000004dc662 in std::operator+, std::allocator > ()
#11 0x00002b93e53fc136 in __libc_start_main () from /lib/libc.so.6

I tried to downgrade the gtk+ without success.
Tried to downgrade to x11-libs/wxGTK-2.6.2 (from 2.6.3) no success.
Then Tried to downgrade to x11-libs/wxGTK-2.6.1, no success.

It doesn't look like directly related to amule but I wonder what triggered that...

GB.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Segmention Fault
« Reply #2 on: June 20, 2006, 01:00:19 AM »

Did you update gcc recently? From which to which version? Did you 'emerge -e world' after that?
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

matejcik

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
  • whatever you think... ...you're wrong!
Re: Segmention Fault
« Reply #3 on: June 21, 2006, 01:02:48 PM »

downgrade libsdl to 1.2.9, that helped me

I believe that the problem lies in SDL exporting something that it shouldn't...
Logged
WARNING: Carrier anomaly.
Trace program: running.