Bug#615851: simutrans won't start
Ansgar Burchardt
ansgar at debian.org
Mon Feb 28 14:25:21 UTC 2011
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:
--8<---------------cut here---------------start------------->8---
#include <SDL/SDL.h>
#include <stdio.h>
int main(void)
{
int ret = SDL_InitSubSystem(SDL_INIT_AUDIO);
if (ret == -1)
puts("SDL_InitSubSystem failed.");
puts("SDL_InitSubSystem(SDL_INIT_AUDIO) done.");
return 0;
}
--8<---------------cut here---------------end--------------->8---
Building with "gcc -o sdl-test -lSDL sdl.test.c" should work once you
have installed libsdl1.2-dev.
>> It works fine for me. Please try to get a backtrace -- see [1] for
>> documentation how to get one. You will have to rebuild the simutrans
>> package as documented. Also try moving ~/.simutrans somewhere else
>> temporarily.
> - I purged all simutrans packages, removed the ~/.simutrans folder and
> check /usr/share/games/simutrans folder's existence before reinstalling
> simutrans.
>
> after reinstall /usr/share/games/simutrans/ folder wasn't present
Good, then it at least seems not to depend on ~/.simutrans.
>> > ii libc6 2.13-0exp2 Embedded GNU C Library: Shared lib
>> > ii libgcc1 1:4.6-20110227-1 GCC support library
>> > ii libstdc++6 4.6-20110227-1 The GNU Standard C++ Library v3
>>
>> These packages come from experimental. Could you try once more with the
>> packages currently in unstable?
> unfortunately at the moment I can not downgrade the packages listed
Regards,
Ansgar
More information about the Pkg-games-devel
mailing list