[Haskell] ANNOUNCE: Frag: a First Person Shooting game

Jens Petersen petersen at haskell.org
Wed Nov 23 21:06:30 EST 2005


Mun Hon Cheong wrote:
> Frag is a 3D First Person Shooting game.

Thanks for releasing this!

It built fine for me with ghc-6.4.1 on Fedora Core 4 x86_64,
but when I run it I get:

frag% ./a.out leveleg
:
:
"loaded textures/egyptians/sand_egy.tga"
"loaded textures/egyptians/leaf.tga"
"loaded textures/egyptians/gold_trim02.tga"
"missing texture: models/mapobjects/Skull/skull.tga"
"missing texture: textures/common/trigger.tga"
"loaded textures/egyptians/oldstone_ramses.tga"
"missing texture: textures/sfx/hellfog.tga"
*** glibc detected *** ./a.out: malloc(): memory corruption: 0x0000000000807f90 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3d03d6b79e]
/lib64/libc.so.6(malloc+0x7b)[0x3d03d6cb3b]
./a.out[0x58aa95]
======= Memory map: ========
:
:

Minimal gdb backtrace:

Program received signal SIGABRT, Aborted.
[Switching to Thread 46912496296672 (LWP 20343)]
0x0000003d03d2f280 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x0000003d03d2f280 in raise () from /lib64/libc.so.6
#1  0x0000003d03d30750 in abort () from /lib64/libc.so.6
#2  0x0000003d03d64a7f in __libc_message () from /lib64/libc.so.6
#3  0x0000003d03d6b79e in _int_malloc () from /lib64/libc.so.6
#4  0x0000003d03d6cb3b in malloc () from /lib64/libc.so.6
#5  0x000000000058aa95 in ForeignziMarshalziAlloc_zdwccall2_info ()
#6  0x0000000000000028 in ?? ()
#7  0x0000000000000000 in ?? ()

Jens


More information about the Haskell mailing list