Reading symbols from /var/tmp/portage/dev-db/tokyocabinet-1.4.35/work/tokyocabinet-1.4.35/tcutest...done. (gdb) set args mdb -rd -tr 50000 (gdb) run Starting program: /var/tmp/portage/dev-db/tokyocabinet-1.4.35/work/tokyocabinet-1.4.35/tcutest mdb -rd -tr 50000 [Thread debugging using libthread_db enabled] seed=2455532340 rnum=50000 bnum=-1 rd=1 tr=1 rnd=0 dmode=0 ......................... (00005000) ......................... (00010000) ......................... (00015000) ......................... (00020000) ......................... (00025000) ......................... (00030000) ......................... (00035000) ......................... (00040000) ......................... (00045000) ......................... (00050000) time: 0.471 ......................... (00005000) ......................... (00010000) ......................... (00015000) ......................... (00020000) ......................... (00025000) ......................... (00030000) ......................... (00035000) ......................... (00040000) ......................... (00045000) ......................... (00050000) time: 0.491 ......................... (00005000) ......................... (00010000) ......................... (00015000) ......................... (00020000) ......................... (00025000) ......................... (00030000) ......................... (00035000) ......................... (00040000) ......................... (00045000) ......................... (00050000) record number: 50000 size: 3725376 sys_size: 6266880 sys_rss: 5144576 sys_total: 4016463872 sys_free: 2974179328 sys_cached: 590127104 *** glibc detected *** /var/tmp/portage/dev-db/tokyocabinet-1.4.35/work/tokyocabinet-1.4.35/tcutest: free(): invalid pointer: 0x0000000120183620 *** ======= Backtrace: ========= [0x120092d60] [0x120094c60] [0x120021cdc] [0x1200041d4] [0x120001d20] [0x12000064c] [0x12007f29c] [0x120000298] ======= Memory map: ======== 11f8f6000-11f920000 rw-p 00000000 00:00 0 [stack] 120000000-120166000 r-xp 00000000 00:0f 236188 /var/tmp/portage/dev-db/tokyocabinet-1.4.35/work/tokyocabinet-1.4.35/tcutest 120176000-12017c000 rw-p 00166000 00:0f 236188 /var/tmp/portage/dev-db/tokyocabinet-1.4.35/work/tokyocabinet-1.4.35/tcutest 12017c000-1201a4000 rwxp 00000000 00:00 0 [heap] 20000000000-20000002000 rw-p 00000000 00:00 0 20004000000-20004024000 rw-p 00000000 00:00 0 20004024000-20008000000 ---p 00000000 00:00 0 Program received signal SIGABRT, Aborted. 0x00000001200d01c8 in raise () (gdb) bt full #0 0x00000001200d01c8 in raise () No symbol table info available. #1 0x00000001200854cc in abort () No symbol table info available. #2 0x000000012008c56c in __libc_message () No symbol table info available. #3 0x0000000120092d60 in malloc_printerr () No symbol table info available. #4 0x0000000120094c60 in free () No symbol table info available. #5 0x0000000120021cdc in tcmdbdel (mdb=0x1201834e0) at tcutil.c:3709 __PRETTY_FUNCTION__ = "tcmdbdel" #6 0x00000001200041d4 in procmdb (rnum=50000, bnum=-1, rd=true, tr=true, rnd=false, dmode=0) at tcutest.c:734 stime = 1256585983.734175 mdb = 0x1201834e0 #7 0x0000000120001d20 in runmdb (argc=5, argv=0x11f91f0c8) at tcutest.c:366 rstr = 0x11f91f3e7 "50000" bstr = 0x0 rd = true tr = true rnd = false dmode = 0 rnum = 50000 bnum = -1 rv = -1 #8 0x000000012000064c in main (argc=5, argv=0x11f91f0c8) at tcutest.c:73 ebuf = 0x0 rv = 0