Bug#785109: Asylum crashes in Psyche level

Peter De Wachter pdewacht at gmail.com
Wed May 13 11:55:22 UTC 2015


Upstream's email address bounced, I tried sending a message though
Sourceforge...

On Wed, May 13, 2015 at 1:40 PM, Peter De Wachter <pdewacht at gmail.com>
wrote:

> Hi Hugh,
>
> As you might remember, some years ago I packages SDL Asylum for Debian.
> Yesterday I received a bug report that the game crashes at the end of the
> second level. I recompiled the game with "-fsanitize=address,undefined"
> which discovered a stray pointer in the collision detection code, seemingly
> always involving the alien2 function. This seems a likely cause for random
> crashes... A typical backtrace looks like this:
>
> ==29192==ERROR: AddressSanitizer: heap-buffer-overflow on address
> 0x7f1eceab9647 at pc 0x40f2d9 bp 0x7fffa1788110 sp 0x7fffa1788108
> READ of size 1 at 0x7f1eceab9647 thread T0
>     #0 0x40f2d8 in albcheck(alent*)
> /home/pdewacht/asylum/asylum-0.3.2/alien.c:1554
>     #1 0x41a26b in alien2(alent*)
> /home/pdewacht/asylum/asylum-0.3.2/alien.c:353
>     #2 0x4215df in moval() /home/pdewacht/asylum/asylum-0.3.2/alien.c:102
>     #3 0x4230ad in game() /home/pdewacht/asylum/asylum-0.3.2/asylum.c:168
>     #4 0x4235c4 in init() /home/pdewacht/asylum/asylum-0.3.2/asylum.c:89
>     #5 0x402d83 in main /home/pdewacht/asylum/asylum-0.3.2/asylum.c:488
>     #6 0x7f1edf2a0b44 in __libc_start_main
> (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
>     #7 0x402f24 (/home/pdewacht/asylum/asylum-0.3.2/asylum+0x402f24)
>
> 0x7f1eceab9647 is located 441 bytes to the left of 147456-byte region
> [0x7f1eceab9800,0x7f1eceadd800)
> allocated by thread T0 here:
>     #0 0x7f1ee15a674f in malloc
> (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5474f)
>     #1 0x428e32 in loadhammered(char**, char*, char*)
> /home/pdewacht/asylum/asylum-0.3.2/file.c:167
>
> Both the original submitter and I found some other problems, patches for
> which are attached. They're probably not related to the crash the submitter
> experienced though.
>
> Best regards,
> Peter De Wachter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150513/04f11849/attachment.html>


More information about the Pkg-games-devel mailing list