kraj / glibc

Mirror of GNU C library
GNU General Public License v2.0
13 stars 7 forks source link

! #4

Open MOHACODEBEAST opened 11 months ago

MOHACODEBEAST commented 11 months ago

operator delete (ptr=0x555555a91490) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/del_op.cc:48 Downloading source file /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/del_op.cc 48 /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/del_op.cc: Directory not empty.
(gdb) s 49 in /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/del_op.cc (gdb) s GI_libc_free (mem=0x555555a91490) at malloc.c:3352 3352 {
(gdb) s 3356 if (mem == 0) / free(0) has no effect / (gdb) s 3364 int err = errno; (gdb) s 3368 if (chunk_is_mmapped (p)) / release mmapped memory. / (gdb) s 3385 MAYBE_INIT_TCACHE (); (gdb) s 3390 ar_ptr = arena_for_chunk (p); (gdb) s arena_for_chunk (ptr=0x555555a91480) at /usr/src/debug/glibc/glibc/malloc/arena.c:152 Downloading source file /usr/src/debug/glibc/glibc/malloc/arena.c 152 return chunk_main_arena (ptr) ? &main_arena : heap_for_ptr (ptr)->ar_ptr;
(gdb) s
GI_
libc_free (mem=) at malloc.c:3391 3391 _int_free (ar_ptr, p, 0); (gdb) s _int_free (av=0x7ffff79f6ac0 , p=0x555555a91480, have_lock=have_lock@entry=0) at malloc.c:4492 4492 size = chunksize (p);