View previous topic :: View next topic |
Author |
Message |
Ranma n00b
Joined: 11 Sep 2002 Posts: 61
|
Posted: Sun Nov 24, 2002 4:19 pm Post subject: Running Frozen Bubbles Give Me Segmentation Fault! |
|
|
This can't be good...I built frozen-bubbles from portage and everything looked fine, but when I type frozen-bubble, it gives me this error:
[[ Frozen-Bubble-0.9.3 ]]
http://www.frozen-bubble.org/
Copyright (c) 2000, 2001, 2002 Guillaume Cottenceau.
Artwork: Alexis Younes <73lab at free.fr>
Amaury Amblard-Ladurantie <amaury at linuxfr.org>
Soundtrack: Matthias Le Bidan <matthias.le_bidan at caramail.com>
Design & Programming: Guillaume Cottenceau <guillaume.cottenceau at free.fr>
Sponsored by MandrakeSoft <http://www.mandrakesoft.com/>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2, as
published by the Free Software Foundation.
[SDL Init] Segmentation fault
I don't know what could be wrong, maybe I'm running the wrong bin file to start it? |
|
Back to top |
|
|
Jamon Apprentice
Joined: 03 May 2002 Posts: 173
|
Posted: Tue Nov 26, 2002 5:08 pm Post subject: |
|
|
I just wanted to "second" this - I have the very same problem. It used to work...
Jamon _________________ Looking for a Linux PC? Check us out at
http://www.progresssystemsinc.com! |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Mon Dec 02, 2002 2:26 pm Post subject: As do I |
|
|
...and I like this game as well.
Oh well, better go and do something productive. _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
MaGNuS_Z n00b
Joined: 21 Aug 2002 Posts: 47 Location: Montreal, Quebec, Canada
|
Posted: Mon Dec 02, 2002 4:23 pm Post subject: |
|
|
Are you running KDE? I'm running Gnome2 myself and have the same problem. However my girlfriend uses KDE on the same machine and Frozen Bubble works perfectly (and believe me, i would have known if it wasn't!) . For testing purpose i logged into KDE (same machine, same account, etc...) instead of Gnome and it worked...
it seems like Frozen Bubble doesn't like Gnome very much |
|
Back to top |
|
|
Jamon Apprentice
Joined: 03 May 2002 Posts: 173
|
Posted: Tue Dec 03, 2002 3:08 pm Post subject: |
|
|
Wish it were so.. (I use KDE myself)
Jamon _________________ Looking for a Linux PC? Check us out at
http://www.progresssystemsinc.com! |
|
Back to top |
|
|
squanto Guru
Joined: 20 Apr 2002 Posts: 524 Location: Rochester, NY, USA
|
Posted: Tue Dec 03, 2002 4:04 pm Post subject: |
|
|
if you run the game wihtout sound support does it work?
I can't play frozen bubble with sound in gnome2, don't have kde to try it.
It used to work.... but it is ok, cause sound in a classroom is a bad thing, and that is where most of my frozen bubbling happens |
|
Back to top |
|
|
Jamon Apprentice
Joined: 03 May 2002 Posts: 173
|
Posted: Mon Dec 09, 2002 2:52 am Post subject: |
|
|
Tried no sound, no dice.
Jamon _________________ Looking for a Linux PC? Check us out at
http://www.progresssystemsinc.com! |
|
Back to top |
|
|
Curious Bodhisattva
Joined: 13 May 2002 Posts: 395 Location: Sydney, Australia
|
Posted: Mon Dec 09, 2002 3:15 am Post subject: |
|
|
Have you considered running it in GDB to try and pin down where the segfault is occuring? Then you could try fixing it / submitting a bug report.
-- Curious _________________ Are you down with the Hawk? |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Sun Dec 15, 2002 4:24 am Post subject: |
|
|
I had a fully functional frozen bubble install that was trashed by the accidental unmasking of Perl 5.8.0 in portage. I've since reverted my Perl, rebuilt all the Perl modules, and rebuilt SDL (libsdl, sdl-mixer, sdl-image, sdl-ttf). Now the game consistently reports the segfault outlined at the head of this thread. Using the no sound flags makes no difference.
I'm going to try generic i686 CFLAGS (currently -mcpu=athlon-xp -O3 -pipe) to see if that helps. If that doesn't, then I'll see if I can gdb the problem. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
T-Minus10 n00b
Joined: 11 Dec 2002 Posts: 6 Location: Atlanta, GA
|
Posted: Sun Dec 15, 2002 9:40 pm Post subject: |
|
|
same problem here. I'm a n00b though so I've got no idea what's going on anyways.
My cflags are set to march=athlon-tbird -O3 -pipe, so that could be a problem, albeit it's never been a problem before. |
|
Back to top |
|
|
Cid Highwind n00b
Joined: 09 Jul 2002 Posts: 53
|
Posted: Mon Dec 16, 2002 3:35 am Post subject: |
|
|
Curious wrote: | Have you considered running it in GDB to try and pin down where the segfault is occuring? Then you could try fixing it / submitting a bug report.
-- Curious |
I don't think GDB works on Perl programs... |
|
Back to top |
|
|
Pigeon Guru
Joined: 21 Jun 2002 Posts: 307
|
Posted: Mon Dec 16, 2002 5:13 am Post subject: |
|
|
My guess is perl 5.80 is b0rking it. If 5.80 is installed, try reverting back to 5.61 and seeing if that fixes it. If you have 5.61 installed, well, I dunno then. |
|
Back to top |
|
|
tirantloblanc Apprentice
Joined: 22 Oct 2002 Posts: 179 Location: Barcelona, ES
|
Posted: Mon Dec 16, 2002 7:43 pm Post subject: |
|
|
I'm having the same problem. I think it happened after updating something last week. I had a perfectly working frozen-bubble, but now it just segfaults...
I will try reverting to an old version of perl...but i still have 5.6.1-r9... |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Tue Dec 17, 2002 7:57 am Post subject: |
|
|
Reverting Perl made no difference. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
Cid Highwind n00b
Joined: 09 Jul 2002 Posts: 53
|
Posted: Wed Dec 18, 2002 7:10 pm Post subject: |
|
|
I have perl 5.6.1, never updated to 5.8.0 (to my knowledge , and still have the segfault. |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Thu Dec 19, 2002 6:58 am Post subject: |
|
|
OK, on my my machine the fault occurs in libX11. Here's the end of the gdb output:
Code: | [[ Frozen-Bubble-0.9.3 ]]
http://www.frozen-bubble.org/
Copyright (c) 2000, 2001, 2002 Guillaume Cottenceau.
Artwork: Alexis Younes <73lab at free.fr>
Amaury Amblard-Ladurantie <amaury at linuxfr.org>
Soundtrack: Matthias Le Bidan <matthias.le_bidan at caramail.com>
Design & Programming: Guillaume Cottenceau <guillaume.cottenceau at free.fr>
Sponsored by MandrakeSoft <http://www.mandrakesoft.com/>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2, as
published by the Free Software Foundation.
[SDL Init] (no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 24267)]
0x405e8397 in _XRead () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0 0x405e8397 in _XRead () from /usr/X11R6/lib/libX11.so.6
#1 0x405da705 in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6
#2 0x40282473 in X11_Available () from /usr/lib/libSDL-1.2.so.0
#3 0x40277211 in SDL_VideoInit () from /usr/lib/libSDL-1.2.so.0
#4 0x40253fc1 in SDL_InitSubSystem () from /usr/lib/libSDL-1.2.so.0
#5 0x40254007 in SDL_Init () from /usr/lib/libSDL-1.2.so.0
#6 0x401d5e01 in XS_SDL_Init () from /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/SDL_perl/SDL_perl.so
#7 0x080a9ed8 in Perl_pp_entersub ()
#8 0x080a4e0e in Perl_runops_standard ()
#9 0x0805c3dd in perl_run ()
#10 0x0805c1d4 in perl_run ()
#11 0x08059c3c in main ()
#12 0x40072e44 in __libc_start_main () from /lib/libc.so.6
|
I haven't rebuilt anything with debugging symbols yet so I cannot be certain, but the problem does not seem to be with Perl SDL or libsdl.
Are there any really keen programmers out there wanting to tackle this? _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
tirantloblanc Apprentice
Joined: 22 Oct 2002 Posts: 179 Location: Barcelona, ES
|
Posted: Thu Dec 19, 2002 12:16 pm Post subject: |
|
|
That's strange, because i hadn't updated X11... |
|
Back to top |
|
|
craftyc Guru
Joined: 23 May 2002 Posts: 443 Location: Behind You.
|
Posted: Sat Dec 21, 2002 12:37 pm Post subject: |
|
|
Chris W wrote: | OK, on my my machine the fault occurs in libX11. Here's the end of the gdb output:
Code: | [[ Frozen-Bubble-0.9.3 ]]
http://www.frozen-bubble.org/
Copyright (c) 2000, 2001, 2002 Guillaume Cottenceau.
Artwork: Alexis Younes <73lab at free.fr>
Amaury Amblard-Ladurantie <amaury at linuxfr.org>
Soundtrack: Matthias Le Bidan <matthias.le_bidan at caramail.com>
Design & Programming: Guillaume Cottenceau <guillaume.cottenceau at free.fr>
Sponsored by MandrakeSoft <http://www.mandrakesoft.com/>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2, as
published by the Free Software Foundation.
[SDL Init] (no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 24267)]
0x405e8397 in _XRead () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0 0x405e8397 in _XRead () from /usr/X11R6/lib/libX11.so.6
#1 0x405da705 in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6
#2 0x40282473 in X11_Available () from /usr/lib/libSDL-1.2.so.0
#3 0x40277211 in SDL_VideoInit () from /usr/lib/libSDL-1.2.so.0
#4 0x40253fc1 in SDL_InitSubSystem () from /usr/lib/libSDL-1.2.so.0
#5 0x40254007 in SDL_Init () from /usr/lib/libSDL-1.2.so.0
#6 0x401d5e01 in XS_SDL_Init () from /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/SDL_perl/SDL_perl.so
#7 0x080a9ed8 in Perl_pp_entersub ()
#8 0x080a4e0e in Perl_runops_standard ()
#9 0x0805c3dd in perl_run ()
#10 0x0805c1d4 in perl_run ()
#11 0x08059c3c in main ()
#12 0x40072e44 in __libc_start_main () from /lib/libc.so.6
|
I haven't rebuilt anything with debugging symbols yet so I cannot be certain, but the problem does not seem to be with Perl SDL or libsdl.
Are there any really keen programmers out there wanting to tackle this? |
So would remerging X solve the problem? _________________ Postcount ++ |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Sun Dec 22, 2002 1:04 am Post subject: heh |
|
|
craftyc wrote: | So would remerging X solve the problem? |
You can try it and let us know. (In about 24 hours when it finishes!) _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
spbecker Retired Dev
Joined: 10 Dec 2002 Posts: 73
|
Posted: Mon Dec 23, 2002 2:52 am Post subject: same problem... |
|
|
I don't suppose anyone has figured this out yet have they? I just emerged it (never having installed it before), and it dies on startup for me as well. I think I'm going to try unmerging all things sdl, then re-emerging them. I'll post again if that works. |
|
Back to top |
|
|
spbecker Retired Dev
Joined: 10 Dec 2002 Posts: 73
|
Posted: Mon Dec 23, 2002 3:00 am Post subject: Re: same problem... |
|
|
spbecker wrote: | I don't suppose anyone has figured this out yet have they? I just emerged it (never having installed it before), and it dies on startup for me as well. I think I'm going to try unmerging all things sdl, then re-emerging them. I'll post again if that works. |
Well, it didn't work. I really wanted to play that game too! |
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Dec 23, 2002 8:01 am Post subject: |
|
|
i have the problem to and eeww this make me mad! |
|
Back to top |
|
|
hook Veteran
Joined: 23 Oct 2002 Posts: 1398 Location: Ljubljana, Slovenia
|
Posted: Mon Dec 23, 2002 12:09 pm Post subject: |
|
|
ok ...we got to the point that all (most) of us get the same problem ...but did anyone tumble over an solution? ...could someone change the topic of the thread and add to it "--> still unsolved" ? ...that would help maybe _________________ tea+free software+law=hook
(deep inside i'm still a tux's little helper) |
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Dec 23, 2002 6:41 pm Post subject: |
|
|
well i tryed the mandrake rpm ( to see if it was a build time problem) and it still seg faults, so my guess is it is with the sdl-perl or someting |
|
Back to top |
|
|
spbecker Retired Dev
Joined: 10 Dec 2002 Posts: 73
|
Posted: Mon Dec 23, 2002 6:48 pm Post subject: idea |
|
|
Perhaps something that has frozen-bubbles that actually works with no problems could post exactly what versions of the ebuilds they are using for all of the dependancies? I'm currently using the latest of everything in the stable portage tree. |
|
Back to top |
|
|
|