[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: glibc malloc errors



On Sun, 2009-06-14 at 20:17 +0200, Xose Vazquez Perez wrote:
> hi,
> 
> running libmicro[1] microbenchmarks, sometimes some of
> them broke for no reason.
> 
> running them again with $ export MALLOC_CHECK_=1 I got.
> output:
> *** glibc detected *** bin/malloc: free(): invalid pointer: 0x0000000001b16e80 ***
> *** glibc detected *** bin/malloc: free(): invalid pointer: 0x0000000001b16a70 ***
> *** glibc detected *** bin/malloc: free(): invalid pointer: 0x0000000001b16660 ***
> *** glibc detected *** bin/malloc: free(): invalid pointer: 0x0000000001b176a0 ***
> *** glibc detected *** bin/malloc: free(): invalid pointer: 0x0000000001b17ec0 ***
> 
> dmesg:
> Jun 14 19:37:03 querida kernel: malloc[2745] general protection ip:3039e75951 sp:7fff41ce27f0 error:0 in libc-2.10.1.so[3039e00000+164000]
> Jun 14 19:37:03 querida kernel: malloc[2744] trap divide error ip:402fa6 sp:7fff41ce2820 error:0 in malloc[400000+6000]

Unless you can prove otherwise, those look like bugs in libmicro.

Best start valgrind up.

Cheers


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]