#0 0x080880e9 in ast_channel_datastore_free (datastore=0x91c69e8) at channel.c:1373 1373 if (datastore->info->destroy != NULL && datastore->data != NULL) { (gdb) bt #0 0x080880e9 in ast_channel_datastore_free (datastore=0x91c69e8) at channel.c:1373 #1 0x08087bd3 in ast_channel_free (chan=0x91bff70) at channel.c:1325 #2 0x08088a54 in ast_hangup (chan=0x91bff70) at channel.c:1581 #3 0x080d9975 in __ast_pbx_run (c=0x91bff70) at pbx.c:2563 #4 0x080d9baf in pbx_thread (data=0x91bff70) at pbx.c:2623 #5 0x0811af62 in dummy_start (data=0x91bbbe0) at utils.c:861 #6 0x008103cc in start_thread () from /lib/tls/libpthread.so.0 #7 0x006e91ae in clone () from /lib/tls/libc.so.6 (gdb) bt full #0 0x080880e9 in ast_channel_datastore_free (datastore=0x91c69e8) at channel.c:1373 res = 0 #1 0x08087bd3 in ast_channel_free (chan=0x91bff70) at channel.c:1325 fd = 18 vardata = (struct ast_var_t *) 0x1 f = (struct ast_frame *) 0x0 headp = (struct varshead *) 0x91c0374 datastore = (struct ast_datastore *) 0x91c69e8 name = "IAX2/1000-3\000\001\000\000\000èÿ\033\t\000\000\000\00081U\230Iª\021\bì\022\034\t(\b\000\00081U\230\223E\b\b\000\000\000\000à\n\034\tx1U\230ÕD\b\bèÿ\033\tBè\024\b\000\000\000\000\000\000\000" __PRETTY_FUNCTION__ = "ast_channel_free" #2 0x08088a54 in ast_hangup (chan=0x91bff70) at channel.c:1581 res = 0 cdr = (struct ast_cdr *) 0x91df3b0 __PRETTY_FUNCTION__ = "ast_hangup" #3 0x080d9975 in __ast_pbx_run (c=0x91bff70) at pbx.c:2563 found = 1 res = -1 autoloopflag = 0 error = 1 __PRETTY_FUNCTION__ = "__ast_pbx_run" #4 0x080d9baf in pbx_thread (data=0x91bff70) at pbx.c:2623 c = (struct ast_channel *) 0x91bff70 #5 0x0811af62 in dummy_start (data=0x91bbbe0) at utils.c:861 _buffer = {__routine = 0x806c0b0 , __arg = 0x98553ba0, __canceltype = 0, __prev = 0x0} ret = (void *) 0x0 a = {start_routine = 0x80d9b98 , data = 0x91bff70, name = 0x91c09e8 "pbx_thread", ' ' , "started at [ 2647] pbx.c ast_pbx_start()"} lock_info = (struct thr_lock_info *) 0x91c0ae0 mutex_attr = {__mutexkind = 1} #6 0x008103cc in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #7 0x006e91ae in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) p datastore $1 = (struct ast_datastore *) 0x91c69e8 (gdb) p datastore->info $2 = (const struct ast_datastore_info *) 0x348944 (gdb) p *datastore $3 = {uid = 0x0, data = 0x984d5850, info = 0x348944, inheritance = 0, entry = {next = 0x0}} (gdb) p *datastore->info Cannot access memory at address 0x348944