== Spawn extension (callee, s, 3) exited non-zero on 'Local/s@callee-4c57,2' WARNING: Freeing unused memory at 0x824bde9, in __ast_module_user_remove of loader.c, line 204 == Spawn extension (test2, s, 2) exited non-zero on 'Local/s@callee-4c57,1' Segmentation fault (core dumped) Core was generated by `asterisk -vvvvvv -g -dddddd -c'. Program terminated with signal 11, Segmentation fault. #0 0x080bb646 in __ast_module_user_remove (mod=0x82236b8, u=0x824a9e0) at loader.c:201 201 AST_LIST_REMOVE(&mod->users, u, entry); (gdb) bt #0 0x080bb646 in __ast_module_user_remove (mod=0x82236b8, u=0x824a9e0) at loader.c:201 #1 0xb6ec086a in local_hangup (ast=0x8266850) at chan_local.c:502 #2 0x08088355 in ast_hangup (chan=0x8266850) at channel.c:1764 #3 0x080d368a in __ast_pbx_run (c=0x8266850) at pbx.c:2548 #4 0x080d38f2 in pbx_thread (data=0x8266850) at pbx.c:2608 #5 0x08115290 in dummy_start (data=0x8254240) at utils.c:843 #6 0xb7f2346b in start_thread () from /lib/i686/cmov/libpthread.so.0 #7 0xb7e404de in clone () from /lib/i686/cmov/libc.so.6 (gdb) bt full #0 0x080bb646 in __ast_module_user_remove (mod=0x82236b8, u=0x824a9e0) at loader.c:201 curelm = (struct ast_module_user *) 0xe0 __res = (struct ast_module_user *) 0x0 __PRETTY_FUNCTION__ = "__ast_module_user_remove" #1 0xb6ec086a in local_hangup (ast=0x8266850) at chan_local.c:502 p = (struct local_pvt *) 0x8249a98 isoutbound = 0 f = {frametype = AST_FRAME_CONTROL, subclass = 1, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, has_timing_info = 0, ts = 0, len = 0, seqno = 0} ochan = (struct ast_channel *) 0x0 glaredetect = 0 res = 0 __PRETTY_FUNCTION__ = "local_hangup" #2 0x08088355 in ast_hangup (chan=0x8266850) at channel.c:1764 res = 0 cdr = (struct ast_cdr *) 0x8251fb8 __PRETTY_FUNCTION__ = "ast_hangup" #3 0x080d368a in __ast_pbx_run (c=0x8266850) at pbx.c:2548 found = 1 res = -1 autoloopflag = 0 error = 1 __PRETTY_FUNCTION__ = "__ast_pbx_run" #4 0x080d38f2 in pbx_thread (data=0x8266850) at pbx.c:2608 c = (struct ast_channel *) 0x8266850 #5 0x08115290 in dummy_start (data=0x8254240) at utils.c:843 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1208803340, 0, -1232143472, -1232145448, 166117523, 916668398}, __mask_was_saved = 0}}, __pad = {0xb68ef490, 0x0, 0x815aec8, 0xb7eb0e90}} __cancel_routine = (void (*)(void *)) 0x806cc3f __cancel_arg = (void *) 0xb68efb90 not_first_call = 0 ret = (void *) 0xb7eaf284 a = {start_routine = 0x80d38db , data = 0x8266850, name = 0x82542c0 "pbx_thread", ' ' , "started at [ 2632] pbx.c ast_pbx_start()"} lock_info = (struct thr_lock_info *) 0x8254370 __PRETTY_FUNCTION__ = "dummy_start" #6 0xb7f2346b in start_thread () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #7 0xb7e404de in clone () from /lib/i686/cmov/libc.so.6 No symbol table info available.