Bug#615851: simutrans won't start

2011-03-01 Thread Claudio Giordano
Il giorno mar, 01/03/2011 alle 11.42 +0100, Ansgar Burchardt ha
scritto: 
> reassign 615851 libsdl1.2debian-alsa 1.2.14-6.1
> thanks

After today's update of libc6, from libc6 2.13-0exp2 to 2.13-0exp3
simutrans starts normally and test program:

#include 
#include 

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;
}

works correctly.

$ ./sdl-test 
SDL_InitSubSystem(SDL_INIT_AUDIO) done.
$ 


Thanks to all.

Claudio.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#615851: simutrans won't start

2011-03-01 Thread Ansgar Burchardt
reassign 615851 libsdl1.2debian-alsa 1.2.14-6.1
thanks

Claudio Giordano  writes:
>> > below backtrace:
>> > Program received signal SIGSEGV, Segmentation fault.
>> > do_lookup_x (new_hash=2488895455, old_hash=0x7fffb728, ref=0x0,
>> > result=, scope=, 
>> > i=0, flags=2, skip=0x0, undef_map=0x77fce000) 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=0x7fffb728, ref=0x0,
>> > result=, 
>> > scope=, i=0, flags=2, skip=0x0,
>> > undef_map=0x77fce000) at dl-lookup.c:99
>> [...]
>> > #6  0x761bb07a in __dlsym (handle=,
>> > name=) at dlsym.c:71
>> > #7  0x75f0f283 in ?? () from /usr/lib/libasound.so.2
>> [...]
>> > #14 0x75f2b31a in ?? () from /usr/lib/libasound.so.2
>> > #15 0x77391602 in ?? () from /usr/lib/libSDL-1.2.so.0
>> > #16 0x77364f64 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0
>> > #17 0x77363edd in SDL_InitSubSystem () from
>> > /usr/lib/libSDL-1.2.so.0
>> > #18 0x005cc2d4 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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#615851: simutrans won't start

2011-02-28 Thread Claudio Giordano
Il giorno lun, 28/02/2011 alle 15.25 +0100, Ansgar Burchardt ha scritto:
> Claudio Giordano  writes:
> > Il giorno lun, 28/02/2011 alle 14.22 +0100, Ansgar Burchardt ha scritto:
> >> Claudio Giordano  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=0x7fffb728, ref=0x0,
> > result=, scope=, 
> > i=0, flags=2, skip=0x0, undef_map=0x77fce000) 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=0x7fffb728, ref=0x0,
> > result=, 
> > scope=, i=0, flags=2, skip=0x0,
> > undef_map=0x77fce000) at dl-lookup.c:99
> [...]
> > #6  0x761bb07a in __dlsym (handle=,
> > name=) at dlsym.c:71
> > #7  0x75f0f283 in ?? () from /usr/lib/libasound.so.2
> [...]
> > #14 0x75f2b31a in ?? () from /usr/lib/libasound.so.2
> > #15 0x77391602 in ?? () from /usr/lib/libSDL-1.2.so.0
> > #16 0x77364f64 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0
> > #17 0x77363edd in SDL_InitSubSystem () from
> > /usr/lib/libSDL-1.2.so.0
> > #18 0x005cc2d4 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   VersionDescription
+++-==-==-
un  libsdl1.2debian-all (no
description available)
ii  libsdl1.2debian-alsa   1.2.14-6.1 Simple
DirectMedia Layer (with X11 and ALSA options)
un  libsdl1.2debian-arts(no
description available)
un  libsdl1.2debian-esd (no
description available)
un  libsdl1.2debian-nas (no
description available)
un  libsdl1.2debian-oss (no
description available)
un  libsdl1.2debian-pulseaudio  (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





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#615851: simutrans won't start

2011-02-28 Thread Ansgar Burchardt
Claudio Giordano  writes:
> Il giorno lun, 28/02/2011 alle 14.22 +0100, Ansgar Burchardt ha scritto:
>> Claudio Giordano  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=0x7fffb728, ref=0x0,
> result=, scope=, 
> i=0, flags=2, skip=0x0, undef_map=0x77fce000) at dl-lookup.c:99
> 99dl-lookup.c: No such file or directory.
>   in dl-lookup.c
> (gdb) bt
> #0  do_lookup_x (new_hash=2488895455, old_hash=0x7fffb728, ref=0x0,
> result=, 
> scope=, i=0, flags=2, skip=0x0,
> undef_map=0x77fce000) at dl-lookup.c:99
[...]
> #6  0x761bb07a in __dlsym (handle=,
> name=) at dlsym.c:71
> #7  0x75f0f283 in ?? () from /usr/lib/libasound.so.2
[...]
> #14 0x75f2b31a in ?? () from /usr/lib/libasound.so.2
> #15 0x77391602 in ?? () from /usr/lib/libSDL-1.2.so.0
> #16 0x77364f64 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0
> #17 0x77363edd in SDL_InitSubSystem () from
> /usr/lib/libSDL-1.2.so.0
> #18 0x005cc2d4 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 
#include 

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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#615851: simutrans won't start

2011-02-28 Thread Claudio Giordano
Il giorno lun, 28/02/2011 alle 14.22 +0100, Ansgar Burchardt ha scritto:
> Claudio Giordano  writes:
> > $ simutrans -debug 5
> [...]
> > parse_simuconf() at pak/config/simuconf.tab: Reading simuconf.tab 
> > successful!
> > Segmentation fault
The file specified by the debug seem missing or wrong path.

ERROR: obj_reader_t::read_file():   reading 'skin/ground.Outside.pak'
failed!

ERROR: obj_reader_t::load():ground.Outside.pak not found, cannot guess
tile size! (driving on left will not work!)

ERROR: obj_reader_t::read_file():   reading 'skin/ground.Outside.pak'
failed!

ERROR: obj_reader_t::load():ground.Outside.pak not found, cannot guess
tile size! (driving on left will not work!)

below backtrace:

GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/games/simutrans...(no debugging symbols
found)...done.
(gdb) run
Starting program: /usr/games/simutrans 
[Thread debugging using libthread_db enabled]
Screen Flags: requested=10, actual=10
font/prop.fnt successfully loaded as old format prop font!
Use work dir /usr/share/games/simutrans/
Reading low level config data ...
parse_simuconf() at config/simuconf.tab: Reading simuconf.tab
successful!
Preparing display ...
Loading font 'font/prop.fnt'
Init done.

Program received signal SIGSEGV, Segmentation fault.
do_lookup_x (new_hash=2488895455, old_hash=0x7fffb728, ref=0x0,
result=, scope=, 
i=0, flags=2, skip=0x0, undef_map=0x77fce000) 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=0x7fffb728, ref=0x0,
result=, 
scope=, i=0, flags=2, skip=0x0,
undef_map=0x77fce000) at dl-lookup.c:99
#1  0x77de6992 in _dl_lookup_symbol_x (undef_name=, undef_map=0x77fce000, ref=0x7fffb820, 
symbol_scope=, version=0x0, type_class=, flags=2, skip_map=0x0) at dl-lookup.c:736
#2  0x766e595a in do_sym (handle=0x77fce000, name=, who=, vers=0x0, 
flags=) at dl-sym.c:177
#3  0x761bb0c4 in dlsym_doit (a=0x7fffb9d0) at dlsym.c:51
#4  0x77dea996 in _dl_catch_error (objname=, errstring=, 
mallocedp=, operate=,
args=) at dl-error.c:178
#5  0x761bb2ec in _dlerror_run (operate=0x761bb0b0
, args=0x7fffb9d0) at dlerror.c:164
#6  0x761bb07a in __dlsym (handle=,
name=) at dlsym.c:71
#7  0x75f0f283 in ?? () from /usr/lib/libasound.so.2
#8  0x75f0f2fd in snd_dlsym () from /usr/lib/libasound.so.2
#9  0x75f0b3c2 in ?? () from /usr/lib/libasound.so.2
#10 0x75f05aa1 in ?? () from /usr/lib/libasound.so.2
#11 0x75f05aed in ?? () from /usr/lib/libasound.so.2
#12 0x75f09bec in snd_config_expand ()
from /usr/lib/libasound.so.2
#13 0x75f0b1b0 in snd_config_search_definition ()
from /usr/lib/libasound.so.2
#14 0x75f2b31a in ?? () from /usr/lib/libasound.so.2
#15 0x77391602 in ?? () from /usr/lib/libSDL-1.2.so.0
#16 0x77364f64 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0
#17 0x77363edd in SDL_InitSubSystem ()
from /usr/lib/libSDL-1.2.so.0
#18 0x005cc2d4 in ?? ()
#19 0x00564251 in ?? ()
#20 0x005cb604 in ?? ()
#21 0x765f8f6d in __libc_start_main (main=,
argc=, 
ubp_av=, init=,
fini=, rtld_fini=, 
stack_end=0x7fffe348) at libc-start.c:228
#22 0x004048e9 in ?? ()
#23 0x7fffe348 in ?? ()
#24 0x001c in ?? ()
#25 0x0001 in ?? ()
#26 0x00929d00 in ?? ()
#27 0x in ?? ()
(gdb) q
A debugging session is active.

Inferior 1 [process 24174] will be killed.

Quit anyway? (y or n) y


> 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

> 
>   [1] 
> 
> > 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 th

Bug#615851: simutrans won't start

2011-02-28 Thread Ansgar Burchardt
Claudio Giordano  writes:
> $ simutrans -debug 5
[...]
> parse_simuconf() at pak/config/simuconf.tab: Reading simuconf.tab successful!
> Segmentation fault

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.

  [1] 

> 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?

Regards,
Ansgar



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#615851: simutrans won't start

2011-02-28 Thread Claudio Giordano
Package: simutrans
Version: 110.0-3
Severity: grave
Justification: renders package unusable


$ simutrans -debug 5

Use work dir /usr/share/games/simutrans/
Reading low level config data ...
parse_simuconf() at config/simuconf.tab: Reading simuconf.tab successful!
Simutrans version 110.0 from Feb 25 2011
ERROR: obj_reader_t::read_file():   reading 'skin/ground.Outside.pak' 
failed!
Please report all errors to
t...@64.simutrans.com
ERROR: obj_reader_t::load():ground.Outside.pak not found, cannot guess tile 
size! (driving on left will not work!)
Please report all errors to
t...@64.simutrans.com
ERROR: obj_reader_t::read_file():   reading 'skin/ground.Outside.pak' 
failed!
Please report all errors to
t...@64.simutrans.com
ERROR: obj_reader_t::load():ground.Outside.pak not found, cannot guess tile 
size! (driving on left will not work!)
Please report all errors to
t...@64.simutrans.com
Preparing display ...
Screen Flags: requested=10, actual=10
Loading font 'font/prop.fnt'
font/prop.fnt successfully loaded as old format prop font!
Init done.
parse_simuconf() at pak/config/simuconf.tab: Reading simuconf.tab successful!
Segmentation fault

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (800, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages simutrans depends on:
ii  libbz2-1.0  1.0.5-6  high-quality block-sorting file co
ii  libc6   2.13-0exp2   Embedded GNU C Library: Shared lib
ii  libgcc1 1:4.6-20110227-1 GCC support library
ii  libsdl-mixer1.2 1.2.8-6.3mixer library for Simple DirectMed
ii  libsdl1.2debian 1.2.14-6.1   Simple DirectMedia Layer
ii  libssl0.9.8 0.9.8o-5 SSL shared libraries
ii  libstdc++6  4.6-20110227-1   The GNU Standard C++ Library v3
ii  simutrans-data  110.0-3  transportation simulator (base dat
ii  simutrans-pak64 110.0-1  transportation simulator (data fil
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

simutrans recommends no packages.

Versions of packages simutrans suggests:
ii  freepats  20060219-1 Free patch set for MIDI audio synt

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org