#0  0x00c4663b in strlen () from /lib/tls/libc.so.6
#1  0x00c1a525 in vfprintf () from /lib/tls/libc.so.6
#2  0x00c37cd6 in vsnprintf () from /lib/tls/libc.so.6
#3  0x0810fc46 in ast_dynamic_str_thread_build_va (buf=0x13d0d68, max_len=8192, ts=0x8170e24, append=0, 
    fmt=0x8145778 "%s line %d (%s): Error: '%s' was locked here.\n", ap=0x13d0da4 "\001")
    at utils.c:1294
#4  0x080bb767 in ast_log (level=4, 
    file=0x8144c10 "/usr/src/asterisk-test/1.4.16/asterisk-1.4.16/include/asterisk/lock.h", line=274, 
    function=0x81456db "__ast_pthread_mutex_destroy", 
    fmt=0x8145778 "%s line %d (%s): Error: '%s' was locked here.\n") at logger.c:807
#5  0x0808147f in __ast_pthread_mutex_destroy (filename=0x8144073 "channel.c", lineno=1245, 
    func=0x8145614 "ast_channel_free", mutex_name=0x8144f13 "&chan->lock", t=0x97da1a0)
    at /usr/src/asterisk-test/1.4.16/asterisk-1.4.16/include/asterisk/lock.h:273
#6  0x08081078 in ast_channel_free (chan=0x97da128) at channel.c:1245
#7  0x08083854 in ast_hangup (chan=0x97da128) at channel.c:1805
#8  0x0809cd83 in answer_exec_run (dial=0x8c51b90, dial_channel=0x8c51bb8, app=0x9189c98 "MeetMe", 
    args=0x988e790 "1159495748d|mqxdw(5)") at dial.c:141
#9  0x0809decb in monitor_dial (dial=0x8c51b90, chan=0x0) at dial.c:523
#10 0x0809df5b in async_dial (data=0x8c51b90) at dial.c:545
#11 0x0810ee7f in dummy_start (data=0xb106a00) at utils.c:852
#12 0x00da23cc in start_thread () from /lib/tls/libpthread.so.0
#13 0x00ca5c3e in clone () from /lib/tls/libc.so.6
(gdb) bt full
#0  0x00c4663b in strlen () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x00c1a525 in vfprintf () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x00c37cd6 in vsnprintf () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x0810fc46 in ast_dynamic_str_thread_build_va (buf=0x13d0d68, max_len=8192, ts=0x8170e24, append=0, 
    fmt=0x8145778 "%s line %d (%s): Error: '%s' was locked here.\n", ap=0x13d0da4 "\001")
    at utils.c:1294
	res = 135591716
	offset = 0
	__PRETTY_FUNCTION__ = "ast_dynamic_str_thread_build_va"
#4  0x080bb767 in ast_log (level=4, 
    file=0x8144c10 "/usr/src/asterisk-test/1.4.16/asterisk-1.4.16/include/asterisk/lock.h", line=274, 
    function=0x81456db "__ast_pthread_mutex_destroy", 
    fmt=0x8145778 "%s line %d (%s): Error: '%s' was locked here.\n") at logger.c:807
	__res = 94
	res = 94
	res = 102
	chan = (struct logchannel *) 0x8b788b8
	buf = (struct ast_dynamic_str *) 0x8c4ad08
	t = 1199492701
	tm = {tm_sec = 1, tm_min = 25, tm_hour = 19, tm_mday = 4, tm_mon = 0, tm_year = 108, 
  tm_wday = 5, tm_yday = 3, tm_isdst = 0, tm_gmtoff = -18000, tm_zone = 0x0}
	date = "Jan  4 19:25:01", '\0' <repeats 77 times>, "???", '\0' <repeats 25 times>, "8?F\t", '\0' <repeats 16 times>, "xh?\000@h?\000?\000\000\000@h?\0000\r=\001\003\233?\000\000\000\000\000\000\000\000\000xh?", '\0' <repeats 41 times>, "D??\000\000\000\000\000=\000\000\000\000\000\000\000\000\000\b\000\000\000\000\000\003\000\000\000\000\000\000\000\022\000\000\000eX?"
	ap = 0x13d0da4 "\001"
	__PRETTY_FUNCTION__ = "ast_log"
#5  0x0808147f in __ast_pthread_mutex_destroy (filename=0x8144073 "channel.c", lineno=1245, 
    func=0x8145614 "ast_channel_free", mutex_name=0x8144f13 "&chan->lock", t=0x97da1a0)
    at /usr/src/asterisk-test/1.4.16/asterisk-1.4.16/include/asterisk/lock.h:273
	res = 16
	canlog = 1
	__PRETTY_FUNCTION__ = "__ast_pthread_mutex_destroy"
#6  0x08081078 in ast_channel_free (chan=0x97da128) at channel.c:1245
	fd = 0
	vardata = (struct ast_var_t *) 0x1
	f = (struct ast_frame *) 0x97da128
	headp = (struct varshead *) 0x97da52c
	datastore = (struct ast_datastore *) 0x0
	name = "SIP/PEER-p2014-08c6e160\0008\016=\001f?\020\b$V:\t!t?\000??}\t\000\000\000\000\001\000\000\000_B?\000x\016=\001i?\a\b??}\t?K\024\b\202P\024\b\000\000\000"
	__PRETTY_FUNCTION__ = "ast_channel_free"
#7  0x08083854 in ast_hangup (chan=0x97da128) at channel.c:1805
	res = 0
	cdr = (struct ast_cdr *) 0x91c22c0
	__PRETTY_FUNCTION__ = "ast_hangup"
#8  0x0809cd83 in answer_exec_run (dial=0x8c51b90, dial_channel=0x8c51bb8, app=0x9189c98 "MeetMe", 
    args=0x988e790 "1159495748d|mqxdw(5)") at dial.c:141
	chan = (struct ast_channel *) 0x97da128
	ast_app = (struct ast_app *) 0xb776c628
#9  0x0809decb in monitor_dial (dial=0x8c51b90, chan=0x0) at dial.c:523
	timeout = -1
	count = 1
	cs = {0x97da128, 0xcdf125, 0x0, 0x0, 0xd80b28, 0xb, 0x0, 0x0, 0x0, 0xcdf125, 0x0, 0xd04ff4, 
  0x81654c0, 0x3, 0x13d0fd8, 0xcde3f8, 0xb, 0x0, 0xd80b28, 0xd04ff4, 0x81654bc, 0x13d0fc8, 0x13d0ff8, 
  0xcde226, 0x3, 0x0, 0x81654c0, 0x13d0fc8, 0x80ced22, 0x1, 0x80ced22, 0xda9e56, 0x81654c4, 0xda9e48, 
---Type <return> to continue, or q <return> to quit---
  0xda9ec4, 0x81654b8, 0x0, 0x1, 0x80470f4, 0xd8090c, 0x0, 0x0, 0x20, 0x0, 0xfffffffc, 0x1, 0x3, 
  0x81654dc, 0x13d1028, 0xc3ed44, 0x13d1054, 0xcdbc0d, 0xbd5180, 0xda3e27, 0xda5865, 0x1, 0x816a368, 
  0x13d1024, 0x810d181, 0x0, 0x810e5ad, 0x20, 0x13d1084, 0xbd5000, 0xda3e27, 0x13d1048, 0x1, 0x816a368, 
  0x0, 0x13d1044, 0x810e966, 0x92ac3f4, 0x428, 0x13d1044, 0x8069514, 0x0, 0xcfb6ac, 0x13d1084, 
  0x8069456, 0x816a368, 0x813fced, 0x141, 0x813feda, 0xd04ff4, 0xd06840, 0x9111738, 0x13d1084, 
  0xc3f63a, 0xd06840, 0x9111738, 0xdabff4, 0x13d1370, 0x0, 0x13d10c4, 0x1, 0x13d1400, 0x13d10a4, 
  0xc04652, 0x13d1400, 0xfffff0a4, 0xd04ff4, 0x13d10c4, 0xc045d9, 0x13d1400, 0x1, 0x9228cc0, 0xdabff4, 
  0x13d1370, 0x1, 0x13d10f0, 0xda7045, 0x13d1400, 0x1, 0xfffff340, 0x0, 0x1, 0x0, 0xd81104, 0x5, 
  0x13d1208, 0x13d11f0, 0xc3e8a1, 0x1, 0x1a, 0x13d1400, 0x0, 0x13d1dd0, 0xcf9ab1, 0xcf9ab1, 0xcf9ab1, 
  0xcf9ab1, 0x13d1400, 0xda6fb0, 0x13d1dd0, 0x0, 0x0, 0x1650, 0x18, 0xd06878, 0x0, 0xd06864, 0xd06868, 
  0xd06840, 0x0, 0x0, 0x0, 0x0, 0xd04ff4, 0x1, 0x0, 0x13d122c, 0xc3f918, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
  0x9b61f58, 0x0, 0x0, 0x0, 0x0, 0xd06878, 0xd06840, 0x440, 0xd06840, 0x13d1210, 0xcf9b03, 0x0, 0x0, 
  0xd06878, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xd06840, 0x0, 0x1, 0xd7e236, 0x4, 0x3, 
  0x3, 0x13d1278, 0x48, 0x435, 0x13d12f0, 0x13d132c, 0x0, 0x13d1338, 0xd04ff4, 0x1, 0xd06840, 
  0x13d1258...}
	who = (struct ast_channel *) 0x97da128
	channel = (struct ast_dial_channel *) 0x8c51bb8
	answer_exec = (struct answer_exec_struct *) 0x9189c98
#10 0x0809df5b in async_dial (data=0x8c51b90) at dial.c:545
	dial = (struct ast_dial *) 0x8c51b90
#11 0x0810ee7f in dummy_start (data=0xb106a00) at utils.c:852
	_buffer = {__routine = 0x806997d <ast_unregister_thread>, __arg = 0x13d1ba0, 
  __canceltype = 147061264, __prev = 0x0}
	ret = (void *) 0xd036f4
	a = {start_routine = 0x809df3c <async_dial>, data = 0x8c51b90, 
  name = 0x953f940 "async_dial", ' ' <repeats 11 times>, "started at [  578] dial.c ast_dial_run()"}
	lock_info = (struct thr_lock_info *) 0x93a5218
	mutex_attr = {__mutexkind = 1}
#12 0x00da23cc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#13 0x00ca5c3e in clone () from /lib/tls/libc.so.6
No symbol table info available.