Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311757 - games-strategy/wormux-0.8.5 crashes at starting playing, jpeg issue ?
Summary: games-strategy/wormux-0.8.5 crashes at starting playing, jpeg issue ?
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: 2010-03-28 14:31 UTC by satorare
Modified: 2010-04-02 23:13 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 satorare 2010-03-28 14:31:12 UTC
+++ This bug was initially created as a clone of Bug #290083 +++

After compiling wormux-0.8.5 and starting the game it crashes after selecting 'Play'. 

It's like Bug #290083 but the solution posted there is not reproductible here, in my senses, and we are dealing with newer versions of jpeg libraries...
-----
Reproducible: Always
-----
Steps to Reproduce:
1. Compile wormux-0.8.5
2. Start the game
3. Click 'Play'
-----
Actual Results:  
The game crashed with 
C++ exception caught:
Error in graphic/surface.cpp:88 (Wormux 0.8.5) : Unable to open image file '/usr/share/games/wormux//map/random_map.jpg': JPEG loading error 

-----

gdb output:

(After "[ Lancer le jeu ]" it's when I clicked "play" button in the game)
nico@tux ~ $ gdb --args /usr/games/bin/wormux

warning: Can not parse XML syscalls information; XML support was disabled at compile time.
GNU gdb (Gentoo 7.0 p2) 7.0
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/games/bin/wormux...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/games/bin/wormux 
[Thread debugging using libthread_db enabled]
o Reading the default config file
o Reading the personal config file
o Bind text domain to: /usr/share/locale
o Codeset: UTF-8
o Text domain: wormux
=== version de Wormux0.8.5
=== Auteurs : Lawrence AZZOUG, Frédéric BERTOLUS, Anthony CARRÉ, Laurent DEFERT SIMONNEAU, Jean-Christophe DUBERGA, Matthieu FERTRÉ, Christophe GISQUET, Sebastien 
GONZALVE, Reiner HERRMANN, Renaud LOTTIAUX, Yannig PERRÉ, Olivie SERRES, Victor STINNER
=== Site web : http://www.wormux.org

Wormux version 0.8.5, Copyright (C) 2001-2009 Wormux Team
Wormux comes with ABSOLUTELY NO WARRANTY.
This is free software and you are welcome to redistribute it
under certain conditions.

Read the file COPYING for details.

[New Thread 0xb7474b70 (LWP 7194)]
[New Thread 0xb69e6b70 (LWP 7195)]
o Démarrage du son à 44100 Hz 16 bit
o Chargement du profil son : default
o Chargement de la musique
[ Lancer le jeu ]

Impossible d'ouvrir le répertoire des équipes personnalisées (/home/nico/.config/wormux/custom_team/) !
o Chargement des équipes : pidgin, nupik, ooo, konqi, firefox, snort, wilber, spip, suse, php, workrave, tux, thunderbird, beastie, gnu
! Error in graphic/surface.cpp:88 (Wormux 0.8.5) : Unable to open image file '/usr/share/games/wormux//map/random_map.jpg': JPEG loading error

./base/error.cpp:93: Missed assertion "false".

C++ exception caught:
Error in graphic/surface.cpp:88 (Wormux 0.8.5) : Unable to open image file '/usr/share/games/wormux//map/random_map.jpg': JPEG loading error 

Error in graphic/surface.cpp:88 (Wormux 0.8.5) : Unable to open image file '/usr/share/games/wormux//map/random_map.jpg': JPEG loading error 

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb79f69f6 in kill () from /lib/libc.so.6
#2  0x0818fe6b in WakeUpDebugger() ()
#3  0x080d6f83 in AppWormux::Main() ()
#4  0x080d76fc in main ()


Expected Results:  
The game should run with no error.

emerge --info:

Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10-27-02-2010 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-27-02-2010-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 26 Mar 2010 14:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://ftp.rhnet.is/pub/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://mirror.leaseweb.com/gentoo/ http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://cesium.di.uminho.pt/pub/gentoo/ ftp://cesium.di.uminho.pt/pub/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ http://ftp.udc.es/gentoo/ ftp://ftp.udc.es/gentoo/ http://gentoo-euetib.upc.es/mirror/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://ftp.klid.dk/ftp/gentoo/ ftp://ftp.klid.dk/gentoo/"
LANG="fr_BE.UTF-8"
LC_ALL="fr_BE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr es en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli consolekit corefonts cracklib crypt css cups cxx dbus dri dts dvd dvdnav dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv jpeg lame latex ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap nano-syntax ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr es en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa vga" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2010-03-30 18:10:31 UTC
emerge all the sdl libraries again
Comment 2 satorare 2010-04-02 10:58:59 UTC
I revdep-rebuilded libjpeg.so.7 and libjpeg.so.8, there was a bit work,
and I just emerged all sdl libraries, re-emerged wormux...

And it's the same :-(


(In reply to comment #1)
> emerge all the sdl libraries again
> 

Comment 3 Penetsdorfer Martin 2010-04-02 14:16:59 UTC
Re-emerge follow package: libsdl sdl-gfx sdl-image sdl-mixer sdl-net sdl-ttf or all in the output of 'equery list sdl'
Comment 4 satorare 2010-04-02 23:13:14 UTC
It works now!

I just updated my portage tree and my world, so jpeg4 -> jpeg4a ; I did what you proposed and it works now. 

But there is something I still don't understand: Just before the update, I already did re-emerge every sdl stuff, everything seemed consistent, and it didn't work at all.

Right now, it works but I didn't re-emerge wormux.

-> It seems wormux and sdl stuff needed the jpeg4a to work properly with jpeg files, but it was not available in the portage tree (as a stable version) until a few days.