(gdb) bt #0 0xb7dbc473 in strlen () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7d90164 in vfprintf () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7dadf91 in vsnprintf () from /lib/tls/i686/cmov/libc.so.6 #3 0x0810ff0c in ast_dynamic_str_thread_build_va (buf=0xb639afc8, max_len=0, ts=0x816c8c0, append=0, fmt=0x8162b50 "=== ---> %sLock #%d (%s): %s %d %s %s %p (%d)\n", ap=0xb639afe8 "x)\026\b") at utils.c:1246 #4 0x0808ee22 in ast_cli (fd=40, fmt=0x8162b50 "=== ---> %sLock #%d (%s): %s %d %s %s %p (%d)\n") at cli.c:69 #5 0x0810ef22 in handle_show_locks (fd=40, argc=3, argv=0xb639b070) at utils.c:723 #6 0x08095524 in ast_cli_command (fd=40, s=0xb639b1bc "core show locks") at cli.c:1979 #7 0x0806ba30 in netconsole (vconsole=0x8189880) at asterisk.c:939 #8 0x0810f098 in dummy_start (data=0x82733e8) at utils.c:806 #9 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #10 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6