Displaying 1 result from an estimated 1 matches for "mem2chunk".
2006 Apr 04
0
Need help debugging (long)
...uf);
(gdb) *__GI___libc_free (mem=0x8412aa8) at malloc.c:3413
3413 {
(gdb) 3417 void (*hook) (__malloc_ptr_t, __const __malloc_ptr_t) =
__free_hook;
(gdb) 3418 if (hook != NULL) {
(gdb) 3423 if (mem == 0) /* free(0) has no
effect */
(gdb) 3426 p = mem2chunk(mem);
(gdb) 3429 if (chunk_is_mmapped(p)) /* release
mmapped memory. */
(gdb) 3436 ar_ptr = arena_for_chunk(p);
(gdb) 3445 (void)mutex_lock(&ar_ptr->mutex);
(gdb) 3447 _int_free(ar_ptr, mem);
(gdb) Couldn't get registers: No such process.
(gdb) [...