Bug#691107: atanks: Game crashes when changing options

Jesse Smith jessefrgsmith at yahoo.ca
Sun Oct 21 16:16:26 UTC 2012


I have had reports of a similar problem on Fedora 17 as well. However,
on openSUSE, Ubuntu and FreeBSD they don't seem to have this problem. I
suspect there is an issue due to different build options or libraries,
that is, some new versions of tools in the build chain cause a memory
corruption, but older versions do not. That would explain why Sid and
Fedora have the problem and other distributions do not.

I've been looking at trying to find the cause (and a fix), but haven't
been able to find what causes the memory corruption which results in the
crash.

Anyone who runs into this bug, please install the debug libraries for
Atanks and run the game using the gdb debugger.

gdb atanks
> r

And, when the game crashes, please post the output of the backtrace
using GDB's "bt" command.


Thank you.



On 12-10-21 12:16 PM, Francesco wrote:
> Package: atanks
> Version: 5.5-1
> Severity: important
> 
> Dear Maintainer,
> I noticed that when changing game options the game itself has a crash; I tried to see what
> happens launching it in the shell and it's a segfault:
> 
> $ atanks 
> Atomic Tanks Version 5.5 (-h for help)
> Authors:        Tom Hudson (rewrite, additions, improvements)
>                 Stevante Software (original design)
>                 Kota543 Software (fixes and updates)
>                 Jesse Smith (additions, fixes and updates)
>                 Sven Eden (ai rewrite, additions, fixes and updates)
> 
> Shutting down Allegro due to signal #11
> Errore di segmentazione
> 
> Since I have custom configuration file I tried to use the flag --noconfig to override some settings 
> that could be wrong (i changed, then version changed) but not useful.
> 
>    * What led up to the situation?
> Open the game, try to change options.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> Tried to use --noconfig option but it's not likely a broken configuration file; tried to use --nobackground
> and --nothread too but nothing changed.
> 
> I opened this bug as important since it affects all options, consider if it's really important because one can
> still change options by opening with a text editor the file ~/.atanks/atanks-config.txt but this is a little
> more tricky.
> 
> -- System Information:
> Debian Release: wheezy/sid
> Architecture: i386 (i686)
> 
> Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
> Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages atanks depends on:
> ii  atanks-data    5.5-1
> ii  liballegro4.4  2:4.4.2-2.1
> ii  libc6          2.13-35
> ii  libgcc1        1:4.7.1-7
> ii  libstdc++6     4.7.1-7
> 
> atanks recommends no packages.
> 
> atanks suggests no packages.
> 
> -- no debconf information
> 
> 



More information about the Pkg-games-devel mailing list