Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29205 - scummvm exit abnormally receiving a SIGILL
Summary: scummvm exit abnormally receiving a SIGILL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-20 10:34 UTC by alx
Modified: 2011-09-14 20:39 UTC (History)
1 user (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 alx 2003-09-20 10:34:08 UTC
after emerging scummvm (gcc 3.3.1-r1) and launching it 
i got
$ scummvm
illegal instruction
$ 

Reproducible: Always
Steps to Reproduce:
1. emerge rsync
2. emerge -DuU scummvm
3. scummvm

Actual Results:  
scummvm lanched got sigill ( i saw it with strace)

Expected Results:  
working as before

Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gaming-r1)
=================================================================
System uname: 2.4.20-gaming-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.90GHz
distcc 2.7 i686-pc-linux-gnu (protocol 1) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/te
xmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache"
GENTOO_MIRRORS="http://194.83.57.3/sites/www.ibiblio.org/gentoo/ ftp://gentoo.li
nux.no/pub/gentoo/ rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://
212.219.56.146/sites/www.ibiblio.org/gentoo/ http://194.83.57.11/sites/www.ibibl
io.org/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo ftp://ftp.uni-erlangen.de/p
ub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-cla
usthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/ge
ntoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
 mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
 gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga tcltk
java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis g
nome gtk qt kde motif opengl mozilla gphoto2 ldap snmp cdr scanner -apache2 acpi
 acpi4linux curl dga doc dvd emacs ethereal evo fbcon flash freetds gb gd gnomed
b gtk2 imap innodb ipv6 ladcca lcms leim libgda lirc maildir mozaccess mozcalend
ar mozinterfaceinfo mozp3p mozsvg mozxmlterm mpi mule nptl oci8 odbc pcmcia pda
pic pnp radeon ruby samba slp socks5 sse tiff usb vim-with-x wavelan wmf xface x
inerama xml xosd -3dnow"
Comment 1 Sami Nieminen 2003-09-24 07:00:41 UTC
I noticed the same problem. Here is the backtrace I grabbed with gdb: 
 
(gdb) bt 
#0  0x40033a97 in BlitRGBtoRGBPixelAlphaMMX3DNOW () 
   from /usr/lib/libSDL-1.2.so.0 
#1  0x4002cad9 in SDL_SoftBlit () from /usr/lib/libSDL-1.2.so.0 
#2  0x40043bb5 in SDL_LowerBlit () from /usr/lib/libSDL-1.2.so.0 
#3  0x4005164d in X11_SetIcon () from /usr/lib/libSDL-1.2.so.0 
#4  0x40046f52 in SDL_WM_SetIcon () from /usr/lib/libSDL-1.2.so.0 
#5  0x0804d1ce in strcpy () 
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-10-03 00:56:19 UTC
what version of sdl?  I assume 1.2.6 but can you confirm?  This could
be a gcc 3 3 problem.  I don't have any issues with gcc-3.2.3

Also, could you try it with both libsdl and scummvm compiled with CFLAGS
and CXXFLAGS set to "-pipe" only just to see if it works please?
Comment 3 Alessandro Giorgio Togna 2003-10-06 12:43:15 UTC
i have the same problem.
Scummvm was working perfectly before i upgraded to gcc 3.2.3-r2 (from 3.2.3-r1)
and libsdl 1.2.6-r1 (from 1.2.5-r2).
After the 'illegal instruction' i re-emerged both libsdl and scummvm with:
env CFLAGS="-pipe" CXXFLAGS="-pipe"
but it still gives the 'illegal instruction'.
Hope this helps.
Comment 4 Luca Barbato gentoo-dev 2003-10-07 00:46:09 UTC
please
emerge sync && emerge binutils gcc libsdl scummvm
and tell me if works better.
Comment 5 Alessandro Giorgio Togna 2003-10-07 02:36:19 UTC
i just run:
emerge sync && emerge binutils gcc libsdl scummvm
but, alas, running scummvm still gives an 'illegal instruction'.
Comment 6 Greg Afinogenov 2003-10-08 17:51:28 UTC
It's an SDL issue, I don't know with what specifically.  To fix, downgrade
to libsdl-1.2.5.
Comment 7 James Harlow (RETIRED) gentoo-dev 2003-10-30 12:50:16 UTC

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