Daniel-Constantin Mierla writes:
The 'list' command didn't print the source code around the line of crash?
may be it is because of this:
Program terminated with signal SIGSEGV, Segmentation fault. #0 fm_split_frag (size=104, frag=0x7fa1e3879fe8, qm=0x7fa1e187a000) at mem/f_malloc.c:285 285 mem/f_malloc.c: No such file or directory.
another try:
Program terminated with signal SIGSEGV, Segmentation fault. #0 fm_split_frag (size=104, frag=0x7fa1e3879fe8, qm=0x7fa1e187a000) at mem/f_malloc.c:285 285 mem/f_malloc.c: No such file or directory. (gdb) frame 0 #0 fm_split_frag (size=104, frag=0x7fa1e3879fe8, qm=0x7fa1e187a000) at mem/f_malloc.c:285 285 in mem/f_malloc.c (gdb) list 280 in mem/f_malloc.c (gdb) info locals rest = 18446744073709551512 n = 0x7fa1e387a068 (gdb) p *qm $1 = {type = 0, size = 33554432, used = 6945608, real_used = 7824440, max_real_used = 10067232, ffrags = 315, first_frag = 0x7fa1e1882478, last_frag = 0x7fa1e3879fe8, free_bitmap = {4100, 0, 17179869184, 0 <repeats 29 times>, 2054}, free_hash = {{first = 0x0, no = 18446744073709551615}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e1eb63d0, no = 2}, {first = 0x7fa1e3879fe8, no = 0}, { first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, { first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, { first = 0x7fa1e24cb560, no = 1}, {first = 0x7fa1e3879fe8, no = 0} <repeats 149 times>, {first = 0x7fa1e3879fe8, no = 18446744073709551613}, {first = 0x7fa1e3879fe8, no = 0} <repeats 785 times>, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 56 times>, { first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 38 times>, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 102 times>, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 17 times>, {first = 0x0, no = 0}, { first = 0x7fa1e3879fe8, no = 0} <repeats 291 times>, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 29 times>, { first = 0x0, no = 0}, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 40 times>, {first = 0x0, no = 0}, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x0, no = 0}, { first = 0x7fa1e3879fe8, no = 0} <repeats 114 times>, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 13 times>, { first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, { first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, { first = 0x7fa1e3879fe8, no = 0}, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 47 times>, {first = 0x0, no = 0}, { first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, { first = 0x7fa1e3879fe8, no = 0}, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, { first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x0, no = 0}, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x7fa1e3879fe8, no = 0}, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 22 times>, {first = 0x0, no = 0}, {first = 0x7fa1e3879fe8, no = 0} <repeats 20 times>...}} (gdb) p *frag $2 = {size = 104, u = {nxt_free = 0x0, reserved = 0}, prv_free = 0x0} (gdb) p *n $3 = {size = 504, u = {nxt_free = 0x8, reserved = 8}, prv_free = 0x400000003} (gdb)
-- juha