Asterisk abort

I’m Running:
Asterisk 1.2.17
libpri 1.2.4
zaptel 1.2.16
centos 4

My asterisk is dumping core, I have attached the bt. Nothing appears in the logs except for the restart.

(gdb) bt
#0 0x006287a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x0066d7a5 in raise () from /lib/tls/libc.so.6
#2 0x0066f209 in abort () from /lib/tls/libc.so.6
#3 0x006a171a in __libc_message () from /lib/tls/libc.so.6
#4 0x006a81c0 in _int_free () from /lib/tls/libc.so.6
#5 0x006a833a in free () from /lib/tls/libc.so.6
#6 0x080c0024 in __ast_free_region (ptr=0x933fa94, file=0x5c0a13 “app_macro.c”, lineno=301, func=0x5c1095 “macro_exec”) at astmm.c:172
#7 0x080c0320 in __ast_free (ptr=0x933fa94, file=0x5c0a13 “app_macro.c”, lineno=301, func=0x5c1095 “macro_exec”) at astmm.c:198
#8 0x005c0141 in macro_exec (chan=0xb7919ee4, data=0xb77e9750) at app_macro.c:301
#9 0x08084953 in pbx_exec (c=0xb7919ee4, app=0x931c684, data=0xb77e9750, newstack=1) at pbx.c:574
#10 0x08087dce in pbx_extension_helper (c=0xb7919ee4, con=0x0, context=0xb791a034 “macro-record-enable”, exten=0xb791a128 “s”, priority=7,
label=0x0, callerid=0x9302c54 “466”, action=1) at pbx.c:1717
#11 0x080890f4 in ast_spawn_extension (c=0xb7919ee4, context=0xb791a034 “macro-record-enable”, exten=0xb791a128 “s”, priority=7,
callerid=0x9302c54 “466”) at pbx.c:2250
#12 0x005bfb9b in macro_exec (chan=0xb7919ee4, data=0xb77f0070) at app_macro.c:228
#13 0x08084953 in pbx_exec (c=0xb7919ee4, app=0x931c684, data=0xb77f0070, newstack=1) at pbx.c:574
#14 0x08087dce in pbx_extension_helper (c=0xb7919ee4, con=0x0, context=0xb791a034 “macro-record-enable”, exten=0xb791a128 “s”, priority=1,
label=0x0, callerid=0x9302c54 “466”, action=1) at pbx.c:1717
#15 0x080890f4 in ast_spawn_extension (c=0xb7919ee4, context=0xb791a034 “macro-record-enable”, exten=0xb791a128 “s”, priority=1,
callerid=0x9302c54 “466”) at pbx.c:2250
#16 0x080895a5 in __ast_pbx_run (c=0xb7919ee4) at pbx.c:2316
#17 0x0808a2f1 in pbx_thread (data=0xb7919ee4) at pbx.c:2537
#18 0x0080d371 in start_thread () from /lib/tls/libpthread.so.0
#19 0x0070dffe in clone () from /lib/tls/libc.so.6

Looked alittle more and I had another here is the bt from it.

(gdb) bt
#0 0x006a8916 in _int_malloc () from /lib/tls/libc.so.6
#1 0x006aa401 in malloc () from /lib/tls/libc.so.6
#2 0x00484467 in q931_getcall (pri=0x8e2e808, cr=6408) at q931.c:2117
#3 0x0048699f in q931_receive (pri=0x8e2e808, h=0xb7d1dba4, len=69) at q931.c:2994
#4 0x0047edb1 in q921_handle_iframe (pri=0x8e2e808, i=0xb7d1dba0, len=73) at q921.c:491
#5 0x0047f578 in __q921_receive_qualified (pri=0x8e2e808, h=0xb7d1dba0, len=73) at q921.c:720
#6 0x0047fe34 in __q921_receive (pri=0x8e2e808, h=0xb7d1dba0, len=73) at q921.c:926
#7 0x0047fe6d in q921_receive (pri=0x8e2e808, h=0xb7d1dba0, len=75) at q921.c:934
#8 0x0047c7d6 in pri_check_event (pri=0x8e2e808) at pri.c:353
#9 0x004486ad in pri_dchannel (vpri=0x4600b8) at chan_zap.c:8359
#10 0x0080d371 in start_thread () from /lib/tls/libpthread.so.0
#11 0x0070dffe in clone () from /lib/tls/libc.so.6

This belongs on the bug tracker at bugs.digium.com