Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30643 - frozen-bubble crashed when choosing 1 or 2 player game
Summary: frozen-bubble crashed when choosing 1 or 2 player game
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 02:02 UTC by Daan Willems
Modified: 2011-09-14 20:35 UTC (History)
2 users (show)

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 Daan Willems 2003-10-08 02:02:05 UTC
I just merged the new 1.0.0-r3 frozen-bubble ebuild, and it merged just fine!
Although, selecting the 1-player or 2-player option (from the menu) crashes the game and returns an illegal instruction. This also happens when starting the game with frozen-bubble --solo.
I looked for ways to get more output about the problem, but I counldn't find anything. 

        [[ 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] [Graphics...] [Levels] [Sound Init]
Ready.
Illegal instruction
#
 
(gcc 3.3.1-r4, glibc 2.3.2-r1, perl 5.8.1)
Comment 1 Christoph Brill (egore) (RESIGNED) 2003-10-08 09:20:11 UTC
i had the same problem. i was using ARCH="~x86". and compiled libsdl 1.2.6
(this it was crashes here) on my p4 with various CFLAGS. the only way to
get it back running was:

whole new system with ARCH="x86"
emerge sdl-1.2.5-r2

SDL-1.2.6 still segfaults on my system! but this may be my problem :)
Comment 2 SpanKY gentoo-dev 2003-10-09 08:29:19 UTC
`emerge info` ?
i'm using sdl-1.2.6-r1 and gcc-3.3.1-r4 and the game runs fine ...
Comment 3 Daan Willems 2003-10-10 03:34:15 UTC
here's my emerge info:

Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test6-mm4)
=================================================================
System uname: 2.6.0-test6-mm4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb
slang readline arts tetex svga ggi sdl tcpd pam libwww ssl perl python esd
oggvorbis motif opengl X kde qt gtk gtk2 -gnome -alsa mmx sse radeon -sis
-rage128 -matrox -3dfx -gamma i8x0 cdr dvd flash gd gphoto2 gps imlib mozilla
mysql oss pic plotutils samba tcltk tiff usb wmf slp apm dga java x86"

..and I have libsdl 1.2.6-r1 installed:

*  media-libs/libsdl
      Latest version available: 1.2.6-r1
      Latest version installed: 1.2.6-r1
Comment 4 SpanKY gentoo-dev 2003-10-18 00:03:52 UTC
could you guys try this ?
export EXTRA_ECONF="--disable-nasm"
emerge libsdl
Comment 5 Johan Lindquist 2003-10-18 16:28:09 UTC
I'm having the same problems as the original report, altho the latest version
of the game in my portage tree is 1.0.0-r1. I've tried removing the following
ebuilds, including frozen-bubble itself:

media-libs/smpeg-0.4.4-r4
media-libs/sdl-gfx-2.0.3  
media-libs/sdl-ttf-2.0.6  
media-libs/libmikmod-3.1.10-r1
media-libs/sdl-mixer-1.2.5-r1
media-libs/sdl-image-1.2.3  
dev-perl/sdl-perl-1.20.0
media-libs/libsdl-1.2.6-r1

I've also tried emerging libsdl with EXTRA_ECONF="--disable-nasm" as suggested,
no success whatsoever with any of the above. The game returns "Illegal instruction"
as soon as a game is started, whether from the menu or by f.ex. issuing "frozen-bubble
-so" at the prompt. Adding "-ns" makes no difference, and the sound works
in the menu.

-----8<-----
johan@panther johan $ frozen-bubble -so -ns
        [[ 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] [Graphics...] [Levels] Ready.
Illegal instruction
johan@panther johan $ emerge --info
Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ac4)
=================================================================
System uname: 2.4.22-ac4 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.3.10p1
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="-ppc nls gtk -wavelan -freewnn tcpd -sparc -selinux oss zeo -jpeg -3dfx
opengl xosd -matrox -informix gb ethereal apm -bindist nocd gdbm cups xv
oggvorbis scanner ncurses gpm arts samba java usb qt nas pdflib fbcon flash
snmp mikmod apache2 -gif -emacs -afs spell ldap -lirc junit -fastcgi -gps
-pcmcia maildir wxwindows xinerama gtkhtml -pnp ipv6 libwww gtk2 mcal memlimit
encode libgda -oci8 jack foomaticdb -atlas sdl X berkdb svga ruby imap png
-firebird -ppds Xaw3d guile evo truetype gstreamer odbc xml2 pam gd -innodb
-ev6 gphoto2 doc -debug python kerberos jikes mbox lcms -krb4 -dedicated
zlib motif cdr videos slang kde -mysql -voodoo3 imlib directfb -static avi
curl acl -hppa -trusted -postgres plotutils -cjk -prelude mpeg -alpha -icc
crypt wmf -arm dvdr esd libg++ -build -leim sse -freetds tcltk xface acpi
alsa -canna xml dga -mmx -tetex -ladcca x86 tiff aalib -mule perl quicktime
mad nocardbus slp readline mpi ggi -3dnow -nhc98 mozilla cscope gnome ssl
-mips dvd -bootstrap -socks5 dvb xmms sasl joystick -bonobo pda"
----->8-----
Comment 6 SpanKY gentoo-dev 2003-10-29 00:38:56 UTC
could you guys try this and post what you get ?
# gdb frozen-bubble
<output>
(gdb) run
<output ... basically make the game crash>
(gdb) bt
Comment 7 Johan Lindquist 2003-10-29 12:56:30 UTC
-----8<-----
johan@panther people $ gdb frozen-bubble
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"..."/usr/bin/frozen-bubble":
not in executable format: File format not recognized

(gdb) quit
johan@panther people $ head `which frozen-bubble`
#!/usr/bin/perl
#*****************************************************************************
#
----->8-----

Perl debugger, anyone?
Comment 8 SpanKY gentoo-dev 2003-10-29 19:00:43 UTC
root@vapier 0 root # gdb perl
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) set args /usr/games/bin/frozen-bubble
(gdb) run
Starting program: /usr/bin/perl /usr/games/bin/frozen-bubble

i want to see a backtrace and see where the segfault happens
Comment 9 Johan Lindquist 2003-10-30 10:54:30 UTC
Learn something new every day. :)

-----8<-----
johan@panther johan $ gdb perl
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) set args /usr/bin/frozen-bubble
(gdb) run
Starting program: /usr/bin/perl /usr/bin/frozen-bubble
(no debugging symbols found)...[New Thread 16384 (LWP 3948)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
        [[ 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] (no debugging symbols found)...(no debugging symbols found)...[New
Thread 32769 (LWP 3950)]
[New Thread 16386 (LWP 3951)]
[Graphics...] [Levels] [New Thread 32771 (LWP 3961)]
[Sound Init]
Ready.

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 16384 (LWP 3948)]
0x402c7054 in BlitRGBtoRGBPixelAlphaMMX3DNOW () from /usr/lib/libSDL-1.2.so.0
(gdb) bt
#0  0x402c7054 in BlitRGBtoRGBPixelAlphaMMX3DNOW ()
   from /usr/lib/libSDL-1.2.so.0
#1  0x402bff71 in SDL_SoftBlit () from /usr/lib/libSDL-1.2.so.0
#2  0x402d7578 in SDL_LowerBlit () from /usr/lib/libSDL-1.2.so.0
#3  0x402d77d0 in SDL_UpperBlit () from /usr/lib/libSDL-1.2.so.0
#4  0x40232f30 in PutString2 ()
   from /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/SDL_perl/SDL_perl.so
#5  0x40232fae in PutString ()
   from /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/SDL_perl/SDL_perl.so
#6  0x4024d58a in XS_SDL_PutString ()
   from /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/SDL_perl/SDL_perl.so
#7  0x080b499e in Perl_pp_entersub ()
#8  0x080af0a8 in Perl_runops_standard ()
#9  0x0805f494 in perl_run ()
#10 0x0805f28e in perl_run ()
#11 0x0805c8d5 in main ()
#12 0x4b4747a7 in __libc_start_main () from /lib/libc.so.6
(gdb)
----->8-----

This after attempting to start a one player game from the menu.
Comment 10 James Harlow (RETIRED) gentoo-dev 2003-10-30 12:34:51 UTC

*** This bug has been marked as a duplicate of 31345 ***
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:05:44 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:35:10 UTC
clean up bug list after bugzilla update