Bug in malloc or mine?
Posted
by
Martin
on Stack Overflow
See other posts from Stack Overflow
or by Martin
Published on 2012-12-09T22:59:33Z
Indexed on
2012/12/09
23:04 UTC
Read the original article
Hit count: 172
Is this my bug or a bug/assertion fail in malloc
itself?
alloc.c:2451: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size)
= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
- libstdc++6:amd64 4.7.2-2ubuntu1
- gcc 4.7.2
- ubuntu 12.10/64bit
© Stack Overflow or respective owner