Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110393 - frozen-bubble 1.0.0 segfaults when starting a game
Summary: frozen-bubble 1.0.0 segfaults when starting a game
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 18:01 UTC by Kelvie Wong
Modified: 2006-03-24 16:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelvie Wong 2005-10-24 18:01:47 UTC
The sound works, the graphics work, but when I choose 1p or 2p game, the program
segfaults with the following message:



[SDL Init] [Graphics...] [Levels] [Sound Init]
Ready.
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Running it in gdb:

(gdb) set args /usr/games/bin/frozen-bubble
(gdb) run
Starting program: /usr/bin/perl /usr/games/bin/frozen-bubble
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208977744 (LWP 12907)]
        [[ Frozen-Bubble-1.0.0 ]]

  http://www.frozen-bubble.org/

  Copyright (c) 2000, 2001, 2002, 2003 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>
  Level Editor: Kim and David Joham <[k|d]joham at yahoo.com>

  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] [New Thread -1215992912 (LWP 12908)]
[Graphics...] [Levels] [New Thread -1234494544 (LWP 12909)]
[Sound Init]
Ready.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208977744 (LWP 12907)]
0xb7cbcb4d in XS_fb_c_stuff_effect ()
   from /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/fb_c_stuff/fb_c_stuff.so




Reproducible: Always
Steps to Reproduce:
1.$ frozen-bubble
2. Pick 1p start, or 2p start
3. ???
3. Profit!

Actual Results:  
[SDL Init] [Graphics...] [Levels] [Sound Init]
Ready.
Fatal signal: Segmentation Fault (SDL Parachute Deployed)


Expected Results:  
Start the game and kill some time.

$ emerge info
Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-suspend2-r
4 i686)
=================================================================
System uname: 2.6.13-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer
-fomit-frame-pointer -ffast-m
ath"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /va
r/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer
-fomit-frame-pointer -ffast
-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo
http://gentoo.s
eren.com/gentoo http://gentoo.mirrors.pair.com/"
LINGUAS="en_CA en_US en ja zh_TW zh_CN ko"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa anthy apm avi bash-completion berkdb bidi
bitmap-fonts 
bzip2 bzlib canna cddb cdio cdr cdrom chroot cjk codecs crypt css cups curl
directfb dts d
vd eds emacs emacs-w3 emboss encode esd examples extensions fam fastcgi fbcon
ffmpeg flac 
foomaticdb fortran freetype freewnn ftp gdbm gif gimp gimpprint gnome gnutls gpm
gstreamer
 gtk gtk2 httpd i8x0 ide imagemagick imlib immqt-bc ipv6 java javascript
joystick jpeg jun
it k3b kde latex libcaca libg++ libwww live mad matroska mikmod mime mixer mmx
mod motif m
ozilla mp3 mpeg mpeg4 mplayer msn mule ncurses net nls nocd nowin nptl nptlonly
nsplugin o
gg oggvorbis opengl oracle oss pam pdf pdflib perl php pic plotutils png posix
ppds print 
python qt quicktime readline real samba sdl shared slp spell ssl stream svg svga
szip tclt
k tcpd tetex tga theora tidy tiff truetype truetype-fonts type1-fonts udev
underscores uni
code usb v4l v4l2 vcd vlm vorbis wifi win32codecs wxwindows xanim xemacs xine
xml2 xmms xp
m xprint xscreensaver xv xvid zlib video_cards_radeon linguas_en_CA
linguas_en_US linguas_
en linguas_ja linguas_zh_TW linguas_zh_CN linguas_ko userland_GNU kernel_linux
elibc_glibc
"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS



$ eix sdl-perl
* dev-perl/sdl-perl 
     Available versions:  1.20.3-r1 2.1.2-r1 2.1.3
     Installed:           1.20.3-r1
     Homepage:            http://sdl.perl.org/
     Description:         SDL binding for perl

$ eselect opengl list
Available OpenGL implementations:
  [1]   ati *
  [2]   xorg-x11

$ eix ati-drivers
* media-video/ati-drivers 
     Available versions:  8.14.13-r2 [M]8.14.13-r3 8.14.13-r4 8.14.13-r5
*8.16.20 *8.16.20-r1 8.18.6
     Installed:           8.18.6
     Homepage:            http://www.ati.com
     Description:         Ati precompiled drivers for r350, r300, r250 and r200
chipsets

I have an ATI Mobility 9200 64MB, direct rendering enabled
Comment 1 SpanKY gentoo-dev 2005-10-24 18:08:23 UTC
if you re-emerge perl/libsdl/sdl-perl with CFLAGS='-pipe', does it work ?
Comment 2 Kelvie Wong 2005-10-24 21:49:29 UTC
UPDATE:

When I set the graphics in the game to the lowest setting, it works.

I'll try adding the CFLAG -pipe a bit later.
Comment 3 Kelvie Wong 2005-10-25 13:34:22 UTC
(In reply to comment #1)
> if you re-emerge perl/libsdl/sdl-perl with CFLAGS='-pipe', does it work ?

Nope :(
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-23 11:25:03 UTC
Just curious if you're still getting this?  Have you tried newer versions of the ati-drivers?
Comment 5 Kelvie Wong 2006-03-24 16:52:49 UTC
(In reply to comment #4)
> Just curious if you're still getting this?  Have you tried newer versions of
> the ati-drivers?
> 

I had since got it unmerged, and am using the latest ~x86 version, and it works.  I do have a newer kernel, newer ati-drivers, and probably newer perl version (and probably a plethora of new updates), and it works!  I kind of gave up on this great game a long while ago though.