Turning on fax modules causes asterisk to crash

Hi, we are running Asterisk 1.2.18 on Centos 4.5 ( kernel 2.6.9-55.EL ), AMD Athelon 1.2G cpu, 256Mb ram and TDM400 card. This setup works perfectly until you set it for fax. If you try to send a fax to it, asterisk crashes, I have a copy of the stacktrace from the core, but I do not know enough to be able to determine what it means:

quote bt
#0 0x0081f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x008647a5 in raise () from /lib/tls/libc.so.6
#2 0x00866209 in abort () from /lib/tls/libc.so.6
#3 0x00898a1a in __libc_message () from /lib/tls/libc.so.6
#4 0x0089f2bf in _int_free () from /lib/tls/libc.so.6
#5 0x0089f63a in free () from /lib/tls/libc.so.6
#6 0x00e3fc76 in rxfax_exec (chan=0x9e6a548, data=0xb7be0a90)
at app_rxfax.c:327
#7 0x080918dd in pbx_extension_helper (c=0x9e6a548, con=Variable “con” is not a vailable.
) at pbx.c:574
#8 0x08092ba6 in __ast_pbx_run (c=0x9e6a548) at pbx.c:2250
#9 0x08093b10 in ast_pbx_run (c=0x9e6a548) at pbx.c:2578
#10 0x004af1f4 in ss_thread (data=0x9e6a548) at chan_zap.c:6336
#11 0x00a8e3cc in start_thread () from /lib/tls/libpthread.so.0
#12 0x00905c3e in clone () from /lib/tls/libc.so.6[/quote]

If anyone knows what this means, your help would be most appreciated.

cheers.

Any ideas?

bump

try to do :

make distclean
./configure

and finally,

export LIBS="-lspandsp"
before
make

just an idea