$ gdb -c ./testapp.core ./tests/.libs/testapp GNU gdb 6.3 Copyright 2004 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 "amd64-unknown-openbsd4.9"... Core was generated by `testapp'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/libpthread.so.13.1...done. Loaded symbols for /usr/lib/libpthread.so.13.1 Reading symbols from /usr/ports/pobj/libmemcached-0.50/libmemcached-0.50/tests/.libs/libmemcachedutil.so.1.0...done. Loaded symbols for tests/.libs/libmemcachedutil.so.1.0 Reading symbols from /usr/ports/pobj/libmemcached-0.50/libmemcached-0.50/tests/.libs/libmemcached.so.1.0...done. Loaded symbols for tests/.libs/libmemcached.so.1.0 Reading symbols from /usr/ports/pobj/libmemcached-0.50/libmemcached-0.50/tests/.libs/libsasl2.so.2.22...done. Loaded symbols for tests/.libs/libsasl2.so.2.22 Reading symbols from /usr/ports/pobj/libmemcached-0.50/libmemcached-0.50/tests/.libs/libhashkit.so.1.0...done. Loaded symbols for tests/.libs/libhashkit.so.1.0 Reading symbols from /usr/lib/libstdc++.so.50.0...done. Loaded symbols for /usr/lib/libstdc++.so.50.0 Reading symbols from /usr/ports/pobj/libmemcached-0.50/libmemcached-0.50/tests/.libs/libm.so.5.2...done. Loaded symbols for tests/.libs/libm.so.5.2 Symbols already loaded for /usr/lib/libpthread.so.13.1 Reading symbols from /usr/lib/libc.so.58.0...done. Loaded symbols for /usr/lib/libc.so.58.0 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0x0000000201a273ea in kill () from /usr/lib/libc.so.58.0 (gdb) bt #0 0x0000000201a273ea in kill () from /usr/lib/libc.so.58.0 #1 0x0000000201a824f1 in abort () at /usr/src/lib/libc/stdlib/abort.c:68 #2 0x0000000201a087c4 in __assert2 (file=Variable "file" is not available. ) at /usr/src/lib/libc/gen/assert.c:52 #3 0x000000020096d58f in io_flush (ptr=0x2058bd000, with_flush=false, error=0x7f7ffffbe07c) at libmemcached/io.cc:701 #4 0x000000020096da5e in _io_write (ptr=0x2058bd000, buffer=0x7f7ffffbe4c0, length=2626, with_flush=false) at libmemcached/io.cc:497 #5 0x000000020096dbc6 in memcached_io_writev (ptr=0x2058bd000, vector=0x7f7ffffbe1f0, number_of=3, with_flush=false) at libmemcached/io.cc:540 #6 0x0000000200966b3e in memcached_vdo (ptr=0x2058bd000, vector=0x7f7ffffbe1e0, count=3, with_flush=false) at libmemcached/do.cc:80 #7 0x0000000200976294 in memcached_send (ptr=0x20b6e3400, group_key=0x2039d0f00 "02006368", group_key_length=8, key=0x2039d0f00 "02006368", key_length=8, value=0x7f7ffffbe4c0 "", value_length=3333, expiration=0, flags=0, cas=0, verb=SET_OP) at libmemcached/storage.cc:193 #8 0x0000000200976a4a in memcached_set (ptr=0x20b6e3400, key=0x2039d0f00 "02006368", key_length=8, value=0x7f7ffffbe4c0 "", value_length=3333, expiration=0, flags=0) at libmemcached/storage.cc:235 #9 0x0000000000407d35 in regression_bug_490520 (memc=0x20b6e3400) at tests/mem_functions.cc:5951 #10 0x00000000004056a4 in _runner_default (func=0x407b4c , container=0x8396a0) at libmemcached_world.h:148 #11 0x000000000042752f in main (argc=1, argv=0x7f7ffffbf4b0) at libtest/test.c:288 (gdb) bt full #0 0x0000000201a273ea in kill () from /usr/lib/libc.so.58.0 No symbol table info available. #1 0x0000000201a824f1 in abort () at /usr/src/lib/libc/stdlib/abort.c:68 p = (struct atexit *) 0x20478a000 mask = 4294967263 cleanup_called = 1 #2 0x0000000201a087c4 in __assert2 (file=Variable "file" is not available. ) at /usr/src/lib/libc/gen/assert.c:52 No locals. #3 0x000000020096d58f in io_flush (ptr=0x2058bd000, with_flush=false, error=0x7f7ffffbe07c) at libmemcached/io.cc:701 sent_length = -1 return_length = 2824 local_write_ptr = 0x2058bfb94 "" write_length = 5372 __func__ = "io_flush" #4 0x000000020096da5e in _io_write (ptr=0x2058bd000, buffer=0x7f7ffffbe4c0, length=2626, with_flush=false) at libmemcached/io.cc:497 rc = MEMCACHED_SUCCESS sent_length = 0 write_ptr = 0x2058c0dcd "" should_write = 707 buffer_end = 8196 original_length = 3333 buffer_ptr = 0x7f7ffffbe783 "" __func__ = "_io_write" #5 0x000000020096dbc6 in memcached_io_writev (ptr=0x2058bd000, vector=0x7f7ffffbe1f0, number_of=3, with_flush=false) at libmemcached/io.cc:540 returnable = 23 x = 1 total = 23 #6 0x0000000200966b3e in memcached_vdo (ptr=0x2058bd000, vector=0x7f7ffffbe1e0, count=3, with_flush=false) at libmemcached/do.cc:80 rc = MEMCACHED_SUCCESS sent_length = 140187732272112 command_length = 8600944086 __func__ = "memcached_vdo" #7 0x0000000200976294 in memcached_send (ptr=0x20b6e3400, group_key=0x2039d0f00 "02006368", group_key_length=8, key=0x2039d0f00 "02006368", key_length=8, value=0x7f7ffffbe4c0 "", value_length=3333, expiration=0, flags=0, cas=0, verb=SET_OP) at libmemcached/storage.cc:193 vector = {{length = 23, buffer = 0x7f7ffffbe250}, {length = 3333, buffer = 0x7f7ffffbe4c0}, {length = 2, buffer = 0x200a7fe56}} to_write = false write_length = 23 buffer = "set 02006368 0 0 3333\r\n", '\0' , "H\r\002", '\0' , "ÿÿÿÿ\000\000\000\000\020U\026\022\200\201\020000 \020\000\000\000\000\000\000\005\000\235\003\002" rc = MEMCACHED_SUCCESS server_key = 0 instance = 0x2058bd000 __func__ = "memcached_send" #8 0x0000000200976a4a in memcached_set (ptr=0x20b6e3400, key=0x2039d0f00 "02006368", key_length=8, value=0x7f7ffffbe4c0 "", value_length=3333, expiration=0, flags=0) at libmemcached/storage.cc:235 rc = 32639 #9 0x0000000000407d35 in regression_bug_490520 (memc=0x20b6e3400) at tests/mem_functions.cc:5951 k = "02006368\000¯$2\000\000\000\000\v\000\000\000\001\000\000\000\v", '\0' , "\001\000\000\000\000\000\000\000 \034\206\000\000\00 0\000\000\031\r\002", '\0' , "\211%H\r\002\000\000\000\004\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000Pÿ\177\177\000\000\\2 26\000\002\000\000\000\006\000\000\000\000\000\000\000@214\005\002\000\000\000°ÿ\177\177\000\000\236\a\227\000\002\000\000\000°4n\v", '\0' , "4n\v\000\000\000\000@214\005\002\000\000\000@214\005\002\000\000\000\000213\005\000\000\000\000\005\000\000\000\005\000\000\000\0004n\v\002\000\000\000À". .. rc = MEMCACHED_BUFFERED x = 6368 keys = (char **) 0x201356000 key_length = (size_t *) 0x20e38a000 blob = '\0' #10 0x00000000004056a4 in _runner_default (func=0x407b4c , container=0x8396a0) at libmemcached_world.h:148 No locals. #11 0x000000000042752f in main (argc=1, argv=0x7f7ffffbf4b0) at libtest/test.c:288 start_time = {tv_sec = 1310287081, tv_usec = 842077} end_time = {tv_sec = 1310287081, tv_usec = 837676} load_time = 0 collection_rc = TEST_SUCCESS run = (test_st *) 0x6319c8 failed = false skipped = true next = (collection_st *) 0x632860 return_code = TEST_SUCCESS x = 0 collection_to_run = 0x0 wildcard = 0x0 world = {collections = 0x6321e0, create = 0x405dec , destroy = 0x405948 , test = { startup = 0x405bea , flush = 0x405bb2 , pre_run = 0x405ad6 , post_run = 0x405a7c , on_error = 0x405986 }, collection = {startup = 0x405d26 , shutdown = 0x4059bc }, runner = 0x632960} collection = (collection_st *) 0x6321e0 world_ptr = (void *) 0x8396a0 stats = {collection_success = 41, collection_skipped = 9, collection_failed = 0, collection_total = 53, success = 1376, skipped = 3, failed = 1, total = 1380} __func__ = "main"