Bug#615851: simutrans won't start

Ansgar Burchardt ansgar at 43-1.org
Tue Mar 1 10:42:38 UTC 2011


reassign 615851 libsdl1.2debian-alsa 1.2.14-6.1
thanks

Claudio Giordano <clagiordano84 at tiscali.it> writes:
>> > 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 | grep libsdl
> ii  libsdl-gfx1.2-4                               2.0.20-1.1
> ii  libsdl-image1.2                               1.2.10-2+b2
> ii  libsdl-mixer1.2                               1.2.8-6.3
> ii  libsdl-mixer1.2-dev                           1.2.8-6.3
> ii  libsdl-net1.2                                 1.2.7-2
> ii  libsdl-sound1.2                               1.0.3-3+b1
> ii  libsdl-ttf2.0-0                               2.0.9-1
> ii  libsdl1.2-dev                                 1.2.14-6.1
> ii  libsdl1.2debian                               1.2.14-6.1
> ii  libsdl1.2debian-alsa                          1.2.14-6.1
>
> [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

I'm reassigning this to the SDL package for now, but it might be
libasound2 that is at fault.

A short summary for the SDL maintainers:

simutrans crashes on Claudio's system in the
SDL_InitSubSystem(SDL_INIT_AUDIO) call.  So does a simple test program
that just calls this function and nothing else (it works on my system).

Note that several libraries (libc6, libgcc1, libstdc++6) on Claudio's
system come from experimental.  I don't know whether the crash only
occurs with those or not.

Regards,
Ansgar





More information about the Pkg-games-devel mailing list