All pastes #145085 Raw Edit

Something

public text v1 · immutable
#145085 ·published 2006-08-22 20:34 UTC
rendered paste body
tcort@candcc0 ~ $ gdb a.out
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-unknown-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/tcort/a.out
[Thread debugging using libthread_db enabled]
[New Thread 2199023409920 (LWP 28438)]
mul_add(3, 5, 2) = 17
*** glibc detected *** free(): invalid next size (fast): 0x00000001200146f0 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 2199023409920 (LWP 28438)]
0x00000200000db880 in raise () from /lib/libc.so.6.1
(gdb) bt
#0  0x00000200000db880 in raise () from /lib/libc.so.6.1
#1  0x00000200000dd17c in abort () from /lib/libc.so.6.1
#2  0x00000200001144b0 in __fsetlocking () from /lib/libc.so.6.1
#3  0x000002000011b610 in malloc_usable_size () from /lib/libc.so.6.1
#4  0x000002000011c2f0 in free () from /lib/libc.so.6.1
#5  0x000002000004a48c in jit_free (ptr=0x6f16) at jit-alloc.c:124
#6  0x000002000004decc in _jit_cache_destroy (cache=0x1200145d0)
    at jit-cache.c:654
#7  0x0000020000050668 in jit_context_destroy (context=0x120012010)
    at jit-context.c:112
#8  0x0000000120000e80 in main ()
(gdb)