Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running Frozen Bubbles Give Me Segmentation Fault!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Ranma
n00b
n00b


Joined: 11 Sep 2002
Posts: 61

PostPosted: Sun Nov 24, 2002 4:19 pm    Post subject: Running Frozen Bubbles Give Me Segmentation Fault! Reply with quote

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
View user's profile Send private message
Jamon
Apprentice
Apprentice


Joined: 03 May 2002
Posts: 173

PostPosted: Tue Nov 26, 2002 5:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Mon Dec 02, 2002 2:26 pm    Post subject: As do I Reply with quote

...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
View user's profile Send private message
MaGNuS_Z
n00b
n00b


Joined: 21 Aug 2002
Posts: 47
Location: Montreal, Quebec, Canada

PostPosted: Mon Dec 02, 2002 4:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jamon
Apprentice
Apprentice


Joined: 03 May 2002
Posts: 173

PostPosted: Tue Dec 03, 2002 3:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
squanto
Guru
Guru


Joined: 20 Apr 2002
Posts: 524
Location: Rochester, NY, USA

PostPosted: Tue Dec 03, 2002 4:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jamon
Apprentice
Apprentice


Joined: 03 May 2002
Posts: 173

PostPosted: Mon Dec 09, 2002 2:52 am    Post subject: Reply with quote

Tried no sound, no dice.

Jamon
_________________
Looking for a Linux PC? Check us out at
http://www.progresssystemsinc.com!
Back to top
View user's profile Send private message
Curious
Bodhisattva
Bodhisattva


Joined: 13 May 2002
Posts: 395
Location: Sydney, Australia

PostPosted: Mon Dec 09, 2002 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Sun Dec 15, 2002 4:24 am    Post subject: Reply with quote

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
View user's profile Send private message
T-Minus10
n00b
n00b


Joined: 11 Dec 2002
Posts: 6
Location: Atlanta, GA

PostPosted: Sun Dec 15, 2002 9:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cid Highwind
n00b
n00b


Joined: 09 Jul 2002
Posts: 53

PostPosted: Mon Dec 16, 2002 3:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Pigeon
Guru
Guru


Joined: 21 Jun 2002
Posts: 307

PostPosted: Mon Dec 16, 2002 5:13 am    Post subject: Reply with quote

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
View user's profile Send private message
tirantloblanc
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 179
Location: Barcelona, ES

PostPosted: Mon Dec 16, 2002 7:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Tue Dec 17, 2002 7:57 am    Post subject: Reply with quote

Reverting Perl made no difference.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
Cid Highwind
n00b
n00b


Joined: 09 Jul 2002
Posts: 53

PostPosted: Wed Dec 18, 2002 7:10 pm    Post subject: Reply with quote

I have perl 5.6.1, never updated to 5.8.0 (to my knowledge ;-), and still have the segfault.
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Thu Dec 19, 2002 6:58 am    Post subject: Reply with quote

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
View user's profile Send private message
tirantloblanc
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 179
Location: Barcelona, ES

PostPosted: Thu Dec 19, 2002 12:16 pm    Post subject: Reply with quote

That's strange, because i hadn't updated X11...
Back to top
View user's profile Send private message
craftyc
Guru
Guru


Joined: 23 May 2002
Posts: 443
Location: Behind You.

PostPosted: Sat Dec 21, 2002 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Sun Dec 22, 2002 1:04 am    Post subject: heh Reply with quote

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
View user's profile Send private message
spbecker
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 73

PostPosted: Mon Dec 23, 2002 2:52 am    Post subject: same problem... Reply with quote

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
View user's profile Send private message
spbecker
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 73

PostPosted: Mon Dec 23, 2002 3:00 am    Post subject: Re: same problem... Reply with quote

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
View user's profile Send private message
kappax
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 273
Location: The Moon

PostPosted: Mon Dec 23, 2002 8:01 am    Post subject: Reply with quote

i have the problem to and eeww this make me mad!
Back to top
View user's profile Send private message
hook
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1398
Location: Ljubljana, Slovenia

PostPosted: Mon Dec 23, 2002 12:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
kappax
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 273
Location: The Moon

PostPosted: Mon Dec 23, 2002 6:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
spbecker
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 73

PostPosted: Mon Dec 23, 2002 6:48 pm    Post subject: idea Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum