-- Executing [s@macro-faxreceive:3] RxFAX("Zap/3-1", "/var/spool/asterisk/fax/1204204477.0.tif") in new stack -- Channel 0/3, span 1 got hangup request, cause 16 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209599088 (LWP 4228)] 0x00c6f1a9 in _int_malloc () from /lib/libc.so.6 (gdb) bt full #0 0x00c6f1a9 in _int_malloc () from /lib/libc.so.6 No symbol table info available. #1 0x00c702ee in malloc () from /lib/libc.so.6 No symbol table info available. #2 0x080727a9 in __ast_alloc_region (size=358, which=FUNC_REALLOC, file=0x81500b3 "utils.c", lineno=1309, func=0x81502e0 "ast_dynamic_str_thread_build_va", cache=0) at astmm.c:102 reg = (struct ast_region *) 0x0 ptr = (void *) 0x0 fence = (unsigned int *) 0x97452a8 hash = 185 #3 0x08072ae6 in __ast_realloc (ptr=0x9745310, size=358, file=0x81500b3 "utils.c", lineno=1309, func=0x81502e0 "ast_dynamic_str_thread_build_va") at astmm.c:222 tmp = (void *) 0xb7e6ad68 len = 185 #4 0x08102041 in ast_dynamic_str_thread_build_va (buf=0xb7e6ae30, max_len=0, ts=0x815e6b8, append=0, fmt=0x8147090 " -- Executing [%s@%s:%d] %s(\"%s\", \"%s\") %s\n", ap=0xb7e6ae54 "x%t\t(%t\t\001") at utils.c:1309 res = 353 offset = 0 __PRETTY_FUNCTION__ = "ast_dynamic_str_thread_build_va" #5 0x080b3eb8 in ast_verbose ( fmt=0x8147090 " -- Executing [%s@%s:%d] %s(\"%s\", \"%s\") %s\n") at logger.c:886 __res = 135678848 v = (struct verb *) 0x97e28c0 buf = (struct ast_dynamic_str *) 0x9745310 res = -1209610424 ap = 0xb7e6ae54 "x%t\t(%t\t\001" __PRETTY_FUNCTION__ = "ast_verbose" #6 0x080c2495 in pbx_extension_helper (c=0x97423a8, con=0x0, context=0x9742528 "ext-fax", exten=0x9742578 "h", priority=1, label=0x0, callerid=0x973fcc0 "xxxxxxxx", action=E_SPAWN) at pbx.c:1835 tmp = "\033[1;36;40mSystem\033[0;37;40m\00037;40m", '\0' tmp2 = "\033[1;35;40mZap/3-1\033[0;37;40m", '\0' tmp3 = "\033[1;35;40m/var/lib/asterisk/bin/fax-process.pl --to xxxxxx@xxxx.xxxx.xxx.xx --from xxx@xxxxxx.xxx --subject \"Fax from xxxxxxxx xxxxxxxx\" --attachment fax_xxxxxxxx.pdf --type application/pdf --file /va"... e = (struct ast_exten *) 0x97e1c10 app = (struct ast_app *) 0x9720e20 res = 158606632 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x9742528 "ext-fax"} passdata = "/var/lib/asterisk/bin/fax-process.pl --to xxxxxx@xxxx.xxxx.xxx.xx --from xxx@xxxxxx.xxx --subject \"Fax from xxxxxxxx xxxxxxxx\" --attachment fax_xxxxxxxx.pdf --type application/pdf --file /var/spool/as"... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #7 0x080c3623 in ast_spawn_extension (c=0x97423a8, context=0x9742528 "ext-fax", exten=0x9742578 "h", priority=1, callerid=0x973fcc0 "xxxxxxxx") at pbx.c:2306 No locals. #8 0x080c4577 in __ast_pbx_run (c=0x97423a8) at pbx.c:2547 found = 1 res = 0 autoloopflag = 0 error = 1 __PRETTY_FUNCTION__ = "__ast_pbx_run" #9 0x080c48f5 in pbx_thread (data=0x97423a8) at pbx.c:2623 c = (struct ast_channel *) 0x97423a8 #10 0x0810111b in dummy_start (data=0x973fdd8) at utils.c:852 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {14209012, 0, -1209599088, -1209601080, -1599070215, 524745842}, __mask_was_saved = 0}}, __pad = {0xb7e6f480, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x806a18c __cancel_arg = (void *) 0xb7e6fb90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x80c48de , data = 0x97423a8, name = 0x9743380 "pbx_thread", ' ' , "started at [ 2647] pbx.c ast_pbx_start()"} __PRETTY_FUNCTION__ = "dummy_start" #11 0x00d7e45b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #12 0x00cd624e in clone () from /lib/libc.so.6 No symbol table info available.