Bug#615851: simutrans won't start

Claudio Giordano clagiordano84 at tiscali.it
Mon Feb 28 14:58:01 UTC 2011


Il giorno lun, 28/02/2011 alle 15.25 +0100, Ansgar Burchardt ha scritto:
> Claudio Giordano <clagiordano84 at tiscali.it> writes:
> > Il giorno lun, 28/02/2011 alle 14.22 +0100, Ansgar Burchardt ha scritto:
> >> Claudio Giordano <clagiordano84 at tiscali.it> writes:
> >> > $ simutrans -debug 5
> [...]
> > The file specified by the debug seem missing or wrong path.
> That is okay. Happens here as well.
> 
> > below backtrace:
> > Program received signal SIGSEGV, Segmentation fault.
> > do_lookup_x (new_hash=2488895455, old_hash=0x7fffffffb728, ref=0x0,
> > result=<value optimized out>, scope=<value optimized out>, 
> >     i=0, flags=2, skip=0x0, undef_map=0x7ffff7fce000) at dl-lookup.c:99
> > 99	dl-lookup.c: No such file or directory.
> > 	in dl-lookup.c
> > (gdb) bt
> > #0  do_lookup_x (new_hash=2488895455, old_hash=0x7fffffffb728, ref=0x0,
> > result=<value optimized out>, 
> >     scope=<value optimized out>, i=0, flags=2, skip=0x0,
> > undef_map=0x7ffff7fce000) at dl-lookup.c:99
> [...]
> > #6  0x00007ffff61bb07a in __dlsym (handle=<value optimized out>,
> > name=<value optimized out>) at dlsym.c:71
> > #7  0x00007ffff5f0f283 in ?? () from /usr/lib/libasound.so.2
> [...]
> > #14 0x00007ffff5f2b31a in ?? () from /usr/lib/libasound.so.2
> > #15 0x00007ffff7391602 in ?? () from /usr/lib/libSDL-1.2.so.0
> > #16 0x00007ffff7364f64 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0
> > #17 0x00007ffff7363edd in SDL_InitSubSystem () from
> >     /usr/lib/libSDL-1.2.so.0
> > #18 0x00000000005cc2d4 in ?? ()
> 
> This looks more like a problem with SDL or ALSA.  Which backend are you
> using (dpkg -l "libsdl1.2debian-*")?  Does this trivial program work:
$ dpkg -l "libsdl1.2debian-*"
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version                    Description
+++-==========================-==========================-====================================================================
un  libsdl1.2debian-all        <none>                     (no
description available)
ii  libsdl1.2debian-alsa       1.2.14-6.1                 Simple
DirectMedia Layer (with X11 and ALSA options)
un  libsdl1.2debian-arts       <none>                     (no
description available)
un  libsdl1.2debian-esd        <none>                     (no
description available)
un  libsdl1.2debian-nas        <none>                     (no
description available)
un  libsdl1.2debian-oss        <none>                     (no
description available)
un  libsdl1.2debian-pulseaudio <none>                     (no
description available)

$ dpkg -l | grep libsdl
ii  libsdl-gfx1.2-4                               2.0.20-1.1
drawing and graphical effects extension for SDL
ii  libsdl-image1.2                               1.2.10-2+b2
image loading library for Simple DirectMedia Layer 1.2
ii  libsdl-mixer1.2                               1.2.8-6.3
mixer library for Simple DirectMedia Layer 1.2
ii  libsdl-mixer1.2-dev                           1.2.8-6.3
development files for SDL1.2 mixer library
ii  libsdl-net1.2                                 1.2.7-2
network library for Simple DirectMedia Layer
ii  libsdl-sound1.2                               1.0.3-3+b1
Decoder of several sound file formats for SDL
ii  libsdl-ttf2.0-0                               2.0.9-1
ttf library for Simple DirectMedia Layer with FreeType 2 support
ii  libsdl1.2-dev                                 1.2.14-6.1
Simple DirectMedia Layer development files
ii  libsdl1.2debian                               1.2.14-6.1
Simple DirectMedia Layer
ii  libsdl1.2debian-alsa                          1.2.14-6.1
Simple DirectMedia Layer (with X11 and ALSA options)

[CUT]
> Building with "gcc -o sdl-test -lSDL sdl.test.c" should work once you
> have installed libsdl1.2-dev.
the sdl-test compiles without error, but:

$ ./sdl-test 
Segmentation fault

The problem seems to arise from the SDL, and not directly from
simutrans?

> > after reinstall /usr/share/games/simutrans/ folder wasn't present
Sorry, I mean:
after purge and *before* reinstall /usr/share/games/simutrans/ folder
wasn't present

after reinstall, that folder is present, but 

$ ls -lA /usr/share/games/simutrans/skin/
total 28
-rw-r--r-- 1 root root 25907 Feb 25 17:03 menu.WindowSkin.pak

and

$ ls -lA /usr/share/games/simutrans/pak/ |  grep skin
$ 

> Regards,
> Ansgar

thanks, 
Claudio







More information about the Pkg-games-devel mailing list