Bug#481264: simutrans: crash during playing

merlin v.merlin at seznam.cz
Fri May 16 21:27:27 UTC 2008


Ansgar Burchardt píše v Čt 15. 05. 2008 v 00:26 +0200:
> Hi,
> 
> M K wrote:
> > 1. problem. The package from current Debian testing repository is after 
> > install very unstable. When you make several action,  become some
> > crash in it.  You can for example build some road an then take full
> > zoom  in and out and at that moment the simutrans fall down.  
> 
> Can you describe what exactly caused simutrans to crash?  I could
> build some roads on a new map with the default map settings without
> problems.  Zooming also didn't cause a crash.
> 
> Does the problem still occur if you rebuild the package from source
> (without adding debug symbols)?
> 
> Regards,
> Ansgar
> 

Hi, 

I'm  testing it again and now I think that my first problem don't depend
on method of my install of the game. I'm sorry, my speculation was too
early. I don't know where was or is problem. If I set normat time cca
1700, the game  look all right. I could only sometime /sometime it all
right/ say a small complain about increase speed of game. If I during
the playing game try set quicker speed of time I cannot this speed get
back as origin set. 

By the way the game is unstable if you se timeline from year from 20, if
than press item for faster time, you get this problem.  It's snip log of
terminal.

Important is I'm now using origin packages from testing repositary
below.


 Reading MIDI file '/usr/share/games/simutrans/music/29-Runaway.mid' -
Runaway
  Reading MIDI file
'/usr/share/games/simutrans/music/30-On-the-waterfront.mid' - On the
waterfront
Calculating textures ...Creating landscape shape...
 - ok
Creating cities ...
Distributing about 1 industries ...
Constructed 0 industries ...
Distributing about 0 industries ...
Constructed 0 industries ...
Distributing 1 tourist attractions ...
Preparing startup ...
Loading font 'font/prop-latin2.fnt'
font/prop-latin2.fnt sucessfully loaded as old format prop font!
World destroyed.
Calculating textures ...Creating landscape shape...
 - ok
Creating cities ...
Distributing 12 tourist attractions ...
Preparing startup ...
expose: x=1280, y=951
textur_resize()::screen=0x174ed50
set_zoom_factor() : set 3 (3/4)
set_zoom_factor() : set 4 (2/3)
set_zoom_factor() : set 5 (1/2)
set_zoom_factor() : set 6 (1/3)
set_zoom_factor() : set 7 (1/4)
FATAL ERROR: weighted_vector_tpl<T>::get()
index out of bounds: 0 not in 0..-1

FATAL ERROR: weighted_vector_tpl<T>::get()
index out of bounds: 0 not in 0..-1
Výjimka matematického koprocesoru (SIGFPE)
martin at debian:~$ 


 May it would be beter to leave only narrow range of the item 'use
timeline from year'. 

I set timeline from 1000  and after loading the game  I click on item
Fast forward and I got this:

Program received signal SIGFPE, Arithmetic exception.

I set timeline from cca 1403 - and after laoding the game I saw even
first town  but durin several move of map by mouse I got next fail and
the game take only 2 or 3 second.

set_zoom_factor() : set 7 (1/4)
simutrans: simcity.cc:1723: koord stadt_t::gib_zufallspunkt() const:
Assertion `!buildings.empty()' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2ab6925322f0 (LWP 5075)]
0x00002ab690df11d5 in raise () from /lib/libc.so.6
(gdb) 

timeline cca 1500 aborted after cca 1 second without any my interaction
with map. Result was as abova. /SIGABRT/ 


timeline cca 1840 It's great, I think I can normaly play the game. 
Log only say this:

set_zoom_factor() : set 6 (1/3)
set_zoom_factor() : set 7 (1/4)
WARNING: image5441 w=0!
set_zoom_factor() : set 6 (1/3)
set_zoom_factor() : set 5 (1/2)


-
------
If I compile the package  'simutrans-pak64-99.18~0.svn26' I got this
snip log. May it's minor problem or my fault  seting of compilation. I'm
not too much interresed in apt seting. I made this statement:
 apt-get -b source simutrans-pak64. 
I wrote it only for eventual clue to solve problen. 


.
.
Now at patch buildsystem
touch debian/stamp-patched
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make all
make[1]: Entering directory
`/home/martin/kompilace/simutrans-pak64-99.18~0.svn26'
===> PAK64 city_extra

libpng error: Invalid image width

make[1]: *** [city_extra] Error 1
make[1]: Leaving directory
`/home/martin/kompilace/simutrans-pak64-99.18~0.svn26'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Příkaz pro sestavení 'cd simutrans-pak64-99.18~0.svn26 &&
dpkg-buildpackage -b -uc' selhal.
E: Synovský proces selhal
debian:/home/martin/kompilace# ls



Thanks for patience

with regards 

M. Kovarik 








More information about the Pkg-games-devel mailing list