[Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign
me at hussam dot eu.org
sourceware-bugzilla@sourceware.org
Tue Aug 7 11:40:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23489
--- Comment #6 from Hussam Al-Tayeb <me at hussam dot eu.org> ---
Do I need a debug build of glibc for this?
I am getting
(gdb) run
Starting program: /home/hussam/cache/workspace/c/a.out
Breakpoint 1, main () at memalign.c:5
5 void *p = 0;
(gdb) c
Continuing.
Breakpoint 2, main () at memalign.c:6
6 int ret = posix_memalign(&p, sizeof(void*), 0);
(gdb) p __malloc_initialize_hook
No symbol "__malloc_initialize_hook" in current context.
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list