Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67713 - fish-fillets-0.6.0 emerges fine, but crashes when started from the console
Summary: fish-fillets-0.6.0 emerges fine, but crashes when started from the console
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 13:23 UTC by Jan Doornaert
Modified: 2011-09-15 14:27 UTC (History)
1 user (show)

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


Attachments
output of "valgrind --tool=addrcheck -v --num-callers=16 fillets > x.log 2>&1 " (x.log,8.58 KB, text/plain)
2004-10-18 12:41 UTC, Jan Doornaert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Doornaert 2004-10-15 13:23:20 UTC
See below.


Reproducible: Always
Steps to Reproduce:
1. emerge fish-fillets (in my case, also lua, smpeg, sdl-mixer, sdl-ttf and sdl-image get emerged due to dependency) as root
2. open an xterm as a user (of the games group), type fillets [ENTER]
3. enjoy the show ;-)

Actual Results:  
The window frame shows, 
Terminal output:
------------------------------------------------------------------------
bash-2.05b$ fillets
mcop warning: user defined signal handler found for SIG_PIPE, overriding
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05b$
------------------------------------------------------------------------


Expected Results:  
Run the game!

When starting "fillets" a second time, it works!
Terminal output:
------------------------------------------------------------------------
bash-2.05b$ fillets
mcop warning: user defined signal handler found for SIG_PIPE, overriding
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05b$ fillets
Path.cpp:44: INFO creating path; path='/home/oracle/.fillets-ng/solved/start.lua'
Path.cpp:44: INFO creating path; path='/home/oracle/.fillets-ng/saves/briefcase.lua'
Level.cpp:281: INFO game is saved; codename='briefcase'
Path.cpp:44: INFO creating path;
path='/home/oracle/.fillets-ng/solved/briefcase.lua'
Path.cpp:44: INFO creating path; path='/home/oracle/.fillets-ng/script/options.lua'
...
------------------------------------------------------------------------
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-10-15 15:04:03 UTC
reopen with the output from emerge --info
Comment 2 Jan Doornaert 2004-10-16 09:17:33 UTC
blackbird root # emerge --info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium2 -mcpu=pentium2 -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium2 -mcpu=pentium2 -funroll-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ rsync://rsync.gentoo.skynet.be/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ rsync://ftp.belnet.be/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ rsync://ftp.snt.utwente.nl/gentoo/ http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.inode.at/ ftp://ftp.lug.ro/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://mirror.bytemark.co.uk/gentoo-distfiles/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-10-16 13:34:29 UTC
try merging with CFLAGS and CXXFLAGS set to just "-pipe" and see if it makes a
difference please.
Comment 4 Jan Doornaert 2004-10-17 13:16:28 UTC
OK. Did that, but below you'll find the terminal output from just after the emerge. You'll notice quite a few crashes, the last run of "fillets" finally starting up... Maybe the run of "fillets -c" did the trick?

--------------------------- terminal output --------------------------------
bash-2.05b$ fillets
mcop warning: user defined signal handler found for SIG_PIPE, overriding
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05b$ fillets
mcop warning: user defined signal handler found for SIG_PIPE, overriding
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05b$ set
AUTO_SYMLINK=no
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i686-pc-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
CC=gcc
COLORTERM=
COLUMNS=80
CONFIG_PROTECT='/usr/X11R6/lib/X11/xkb /usr/kde/3.3/share/config /usr/kde/3.3/env /usr/kde/3.3/shutdown /usr/share/config'
CONFIG_PROTECT_MASK=/etc/terminfo
CVS_RSH=ssh
CXX=g++
DESKTOP_SESSION=kde-3.3.0
DIRSTACK=()
DISPLAY=:0.0
DM_CONTROL=/var/run/xdmctl
EDITOR=/usr/bin/joe
EUID=1000
GDK_USE_XFT=1
GLIBC_SSP_CHECKED=1
GROUPS=()
GS_LIB=/home/oracle/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/oracle/.gtkrc-2.0:/home/oracle/.kde3.3/share/config/gtkrc
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc:/home/oracle/.kde3.3/share/config/gtkrc
G_BROKEN_FILENAMES=1
HISTFILE=/home/oracle/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/oracle
HOSTNAME=blackbird
HOSTTYPE=i686
IFS=$' \t\n'
INFODIR=/usr/share/info
INFOPATH=/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info:/usr/X11R6/info
INPUTRC=/etc/inputrc
KBUILD_OUTPUT_PREFIX=
KDEDIR=/usr/kde/3.3
KDEDIRS=/usr
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KONSOLE_DCOP='DCOPRef(konsole-24460,konsole)'
KONSOLE_DCOP_SESSION='DCOPRef(konsole-24460,session-1)'
LESS=-R
LESSOPEN='|lesspipe.sh %s'
LINES=24
LINUX_PORTAGE_WRITABLE=no
LOGNAME=oracle
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:'
MACHTYPE=i686-pc-linux-gnu
MAILCHECK=60
MANPATH=/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man:/usr/qt/3/doc/man
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PAGER=/usr/bin/less
PATH=/usr/kde/3.3/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.3/bin:/usr/games/bin
PIPESTATUS=([0]="0")
PPID=24460
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
PS1='\s-\v\$ '
PS2='> '
PS4='+ '
PWD=/home/oracle
QMAKESPEC=linux-g++
QTDIR=/usr/qt/3
SESSION_MANAGER=local/blackbird:/tmp/.ICE-unix/5925
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=3
TERM=xterm
UID=1000
USER=oracle
WINDOWID=39845893
XCURSOR_SIZE=
XCURSOR_THEME=default
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,method=classic
XINITRC=/etc/X11/xinit/xinitrc
_=fillets
bash-2.05b$ fillets
mcop warning: user defined signal handler found for SIG_PIPE, overriding
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05b$ fillets
mcop warning: user defined signal handler found for SIG_PIPE, overriding
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05b$ fillets -h
Usage: fillets [options] [name=value ...]
  -h, --help               Show this help
  -v, --version            Show version
  -c, --config             Show config

Config variables:
  fullscreen=<boolean>     Turn fullscreen on/off
  lang=<string>            2-letter code (en, cs, fr, de)
  loglevel=<number>        Loglevel uses same numbers as syslog
  show_steps=<boolean>     Show step counter in level
  sound=<boolean>          Turn sound on/off
  speech=<string>          Lang for speech
  subtitles=<boolean>      Enable subtitles
  systemdir=<path>         Path to game data
  userdir=<path>           Path to game data
  volume_music=<number>    Music volume in percentage
  volume_sound=<number>    Sound volume in percentage
  worldmap=<string>        Path to worldmap file.

bash-2.05b$ fillets -lang=en
main.cpp:117: ERROR unknown option; arg='-lang=en'; use='fillets --help'
bash-2.05b$ fillets lang=en
mcop warning: user defined signal handler found for SIG_PIPE, overriding
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05b$ fillets -c
fullscreen=''
lang=''
loglevel='6'
show_steps=''
sound=''
speech=''
subtitles=''
systemdir='/usr/share/games/fish-fillets'
userdir='/home/oracle/.fillets-ng'
volume_music=''
volume_sound=''
worldmap=''

bash-2.05b$ fillets
Comment 5 Jan Doornaert 2004-10-18 12:41:43 UTC
Created attachment 42118 [details]
output of "valgrind --tool=addrcheck -v --num-callers=16 fillets > x.log 2>&1  "

As requested, compiled fish-fillets with "-g -pipe" and let valgrind do its
work...
Comment 6 Ivo Danihelka 2004-10-21 18:59:52 UTC
There seems to be bug in libvorbisfile.
The bug is in lib/vorbisfile.c in function ov_time_seek().
The variable "link" can have value -1 when is passed to expression "vf->vi[link].rate".

The for cycle ends when (link == -1) or (seconds >= time_total).
This could leaves variable link with value -1.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2004-12-07 21:50:32 UTC
Are you still having issues with this?  Seems to be a very local-specific problem.  On this end, we can't reproduce it at all with a decent range of systems.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-12-09 19:10:32 UTC
reopen if so.
Comment 9 Jan Doornaert 2004-12-10 13:35:52 UTC
Well, tonight, I re-emerged fish-fillets and it got compiled with the default optimizations again. Not unexpectedly, it crashes when started. Retrying did not help this time... Anyway, I've unmerged the package, and will re-emerge it when I remember the time spent with the fishes... Hopefully, the problem in libvorbisfile will be fixed by then. Bye.
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:39:43 UTC
clean up bug list after bugzilla update
Comment 11 Jan Doornaert 2011-09-15 11:47:49 UTC
Assumed solved (did not retry, as I do not have access to a Gentoo box anymore).