View Single Post
Old March 26, 2012, 08:28   #12
grinder
Rookie
 
Join Date: Mar 2012
Posts: 13
grinder is on a distinguished road
Quote:
Originally Posted by CunningGabe View Post
Yeah, you're probably right.
Today I ran under gdb to catch the crash: it seems to happen on saving/quitting besides a large vault, when freeing the traps in cave_free (cave.c:3642).

Code:
*** glibc detected *** /.../v4/src/angband: double free or corruption (!prev): 0x082a1e50 ***

[cut a bunch of stuff]

4  0x002fe161 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x82a1e50)
    at malloc.c:6266
#5  0x002ff9b8 in _int_free (av=<value optimized out>, p=<value optimized out>) at malloc.c:4794
#6  0x00302a9d in *__GI___libc_free (mem=0x82a1e50) at malloc.c:3738
#7  0x0818c7a8 in mem_free (p=0x82a1e54) at z-virt.c:65
#8  0x08052f85 in cave_free (c=0x82a414c) at cave.c:3642
#9  0x080850e2 in cleanup_angband () at init2.c:3691
#10 0x0818d6f3 in main (argc=1, argv=0xbffff574) at main.c:460
I'll try to gather more useful info on this.
grinder is offline