HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Problems with Hylafax/Iaxmodem in a softswitch scenario



Hi guys,
I have a problem with Hylafax 6.0.4 / Iaxmodem / Asterisk in a softswitch scenario on a Debian Lenny machine:
  • a mail-to-fax user send a fax to a number configured as fax-to-mail
  • the callflow:
            mail with pdf attached ---> fax server (Hylafax + Iaxmodem + asterisk) ---------> media gateway (asterisk) -----> fax server -------- > mail of the user receiving fax.
  • the communication between the 2 hosts (the fax server and the media gateway) is performed by a IAX2 trunk
  • the call has to pass by the media gateway to not break the softswitch CDR
In this situation I can not trasmit the fax, hylafax answer but after some seconds the call fails and the receiving modem is no more available.
From the iaxmodem logs of the modem I see that iaxmodem crash:


*** glibc detected *** /usr/bin/iaxmodem: double free or corruption (!prev): 0x089f98d0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7e53624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7e55826]
/usr/bin/iaxmodem[0x806c475]
/usr/bin/iaxmodem[0x806c510]
/usr/bin/iaxmodem[0x806c475]
/usr/bin/iaxmodem[0x806c510]
/usr/bin/iaxmodem[0x806c475]
/usr/bin/iaxmodem[0x806c971]
/usr/bin/iaxmodem[0x807007b]
/usr/bin/iaxmodem[0x804d570]
/usr/bin/iaxmodem[0x804d930]
/usr/bin/iaxmodem[0x804dae4]
/usr/bin/iaxmodem[0x804e225]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7dfb455]
/usr/bin/iaxmodem[0x8049921]
======= Memory map: ========
08048000-0809a000 r-xp 00000000 08:01 2195633    /usr/bin/iaxmodem
0809a000-0809b000 rw-p 00051000 08:01 2195633    /usr/bin/iaxmodem
0809b000-0809f000 rw-p 0809b000 00:00 0
089eb000-08a0c000 rw-p 089eb000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d62000-b7d6e000 r-xp 00000000 08:01 671788     /lib/libgcc_s.so.1
b7d6e000-b7d6f000 rw-p 0000b000 08:01 671788     /lib/libgcc_s.so.1
b7d77000-b7d81000 r-xp 00000000 08:01 681285     /lib/i686/cmov/libnss_files-2.7.so
b7d81000-b7d83000 rw-p 00009000 08:01 681285     /lib/i686/cmov/libnss_files-2.7.so
b7d83000-b7d8c000 r-xp 00000000 08:01 681287     /lib/i686/cmov/libnss_nis-2.7.so
b7d8c000-b7d8e000 rw-p 00008000 08:01 681287     /lib/i686/cmov/libnss_nis-2.7.so
b7d8e000-b7da3000 r-xp 00000000 08:01 681282     /lib/i686/cmov/libnsl-2.7.so
b7da3000-b7da5000 rw-p 00014000 08:01 681282     /lib/i686/cmov/libnsl-2.7.so
b7da5000-b7da7000 rw-p b7da5000 00:00 0
b7da7000-b7dae000 r-xp 00000000 08:01 681283     /lib/i686/cmov/libnss_compat-2.7.so
b7dae000-b7db0000 rw-p 00006000 08:01 681283     /lib/i686/cmov/libnss_compat-2.7.so
b7db0000-b7db1000 rw-p b7db0000 00:00 0
b7db1000-b7dc5000 r-xp 00000000 08:01 551395     /usr/lib/libz.so.1.2.3.3
b7dc5000-b7dc6000 rw-p 00013000 08:01 551395     /usr/lib/libz.so.1.2.3.3
b7dc6000-b7de4000 r-xp 00000000 08:01 2212080    /usr/lib/libjpeg.so.62.0.0
b7de4000-b7de5000 rw-p 0001e000 08:01 2212080    /usr/lib/libjpeg.so.62.0.0
b7de5000-b7f3a000 r-xp 00000000 08:01 681276     /lib/i686/cmov/libc-2.7.so
b7f3a000-b7f3b000 r--p 00155000 08:01 681276     /lib/i686/cmov/libc-2.7.so
b7f3b000-b7f3d000 rw-p 00156000 08:01 681276     /lib/i686/cmov/libc-2.7.so
b7f3d000-b7f40000 rw-p b7f3d000 00:00 0
b7f40000-b7f93000 r-xp 00000000 08:01 2212138    /usr/lib/libtiff.so.4.2.1
b7f93000-b7f95000 rw-p 00053000 08:01 2212138    /usr/lib/libtiff.so.4.2.1
b7f95000-b7f96000 rw-p b7f95000 00:00 0
b7f96000-b7f98000 r-xp 00000000 08:01 681295     /lib/i686/cmov/libutil-2.7.so
b7f98000-b7f9a000 rw-p 00001000 08:01 681295     /lib/i686/cmov/libutil-2.7.so
b7f9a000-b7fbe000 r-xp 00000000 08:01 681280     /lib/i686/cmov/libm-2.7.so
b7fbe000-b7fc0000 rw-p 00023000 08:01 681280     /lib/i686/cmov/libm-2.7.so
b7fc7000-b7fca000 rw-p b7fc7000 00:00 0
b7fca000-b7fcb000 r-xp b7fca000 00:00 0          [vdso]
b7fcb000-b7fe5000 r-xp 00000000 08:01 671746     /lib/ld-2.7.so
b7fe5000-b7fe7000 rw-p 0001a000 08:01 671746     /lib/ld-2.7.so
bf9c2000-bf9e6000 rw-p bffdc000 00:00 0          [stack]


Any ideas?

Thanks in advance,.
Matteo








Project hosted by iFAX Solutions