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

Sven Panne Sven.Panne at aedion.de
Sat Nov 26 03:41:55 EST 2005


Am Donnerstag, 24. November 2005 03:06 schrieb Jens Petersen:
> [...]
> "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]
> [...]

A quick look into the frag sources reveals that its I/O assumes 32bit 
little-endian (i.e. x86-like) memory layout, so there's no surprise that it 
segfaults on x86-64. This should be easily fixable, I think... Mun?

Cheers,
   S.


More information about the Haskell mailing list