HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] Problems with Hylafax/Iaxmodem in a softswitch scenario
Matteo,
There certainly may be a bug in iaxmodem, libiax2, or in spandsp.
That said, it seems to me that even if the crash weren't there you'd
have a serious problem with the IAX2 jitter making audio far too corrupt
for fax.
IAXmodem is only intended to be used for communication to the PBX either
through 1) the loopback device, or 2) a device with a direct connection
to the PBX. Furthermore, it is presumed that the PBX has PSTN
interfaces and not VoIP interfaces.
Thanks,
Lee.
Matteo Campana wrote:
Hi Lee,
I have tried the 1.3.0 prerelease and I have the crash of tty328
(modem trasmitting the fax).
It seems that the situation does not change passing from iaxmodem
version 1.1 to 2.0 to 3.0.
This is the /var/log/iaxmodem/tty328 with 1.3.0 release:
[2010-05-27 17:27:37] Terminating on signal 15...
[2010-05-27 17:31:45] IAX2 jitter gap too big, syncing - last_ts: 300,
ts: 660
[2010-05-27 17:31:45] IAX2 jitter gap too big, syncing - last_ts: 660,
ts: 980
[2010-05-27 17:31:46] IAX2 jitter gap too big, syncing - last_ts: 980,
ts: 1320
[2010-05-27 17:31:46] IAX2 jitter gap too big, syncing - last_ts:
1320, ts: 2200
[2010-05-27 17:31:47] IAX2 jitter gap too big, syncing - last_ts:
2200, ts: 2760
[2010-05-27 17:31:48] IAX2 jitter gap too big, syncing - last_ts:
2760, ts: 3760
[2010-05-27 17:31:48] IAX2 jitter gap too big, syncing - last_ts:
3760, ts: 4160
[2010-05-27 17:31:49] IAX2 jitter gap too big, syncing - last_ts:
4160, ts: 4480
[2010-05-27 17:31:51] IAX2 jitter gap too big, syncing - last_ts:
4480, ts: 6780
[2010-05-27 17:31:53] IAX2 jitter gap too big, syncing - last_ts:
6780, ts: 8940
[2010-05-27 17:31:54] IAX2 jitter gap too big, syncing - last_ts:
8940, ts: 9280
[2010-05-27 17:31:55] IAX2 jitter gap too big, syncing - last_ts:
9300, ts: 10200
*** glibc detected *** /usr/bin/iaxmodem: double free or corruption
(out): 0x094b24f8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7de0624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7de2826]
/usr/bin/iaxmodem[0x8070b65]
/usr/bin/iaxmodem[0x8071061]
/usr/bin/iaxmodem[0x807476b]
/usr/bin/iaxmodem[0x804d5d8]
/usr/bin/iaxmodem[0x804de34]
/usr/bin/iaxmodem[0x804e275]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7d88455]
/usr/bin/iaxmodem[0x8049921]
======= Memory map: ========
08048000-0809f000 r-xp 00000000 08:01 2196059 /usr/bin/iaxmodem
0809f000-080a0000 rw-p 00057000 08:01 2196059 /usr/bin/iaxmodem
080a0000-080a4000 rw-p 080a0000 00:00 0
09494000-094b5000 rw-p 09494000 00:00 0 [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7cef000-b7cfb000 r-xp 00000000 08:01 671788 /lib/libgcc_s.so.1
b7cfb000-b7cfc000 rw-p 0000b000 08:01 671788 /lib/libgcc_s.so.1
b7d04000-b7d0e000 r-xp 00000000 08:01 681285
/lib/i686/cmov/libnss_files-2.7.so
b7d0e000-b7d10000 rw-p 00009000 08:01 681285
/lib/i686/cmov/libnss_files-2.7.so
b7d10000-b7d19000 r-xp 00000000 08:01 681287
/lib/i686/cmov/libnss_nis-2.7.so
b7d19000-b7d1b000 rw-p 00008000 08:01 681287
/lib/i686/cmov/libnss_nis-2.7.so
b7d1b000-b7d30000 r-xp 00000000 08:01 681282
/lib/i686/cmov/libnsl-2.7.so
b7d30000-b7d32000 rw-p 00014000 08:01 681282
/lib/i686/cmov/libnsl-2.7.so
b7d32000-b7d34000 rw-p b7d32000 00:00 0
b7d34000-b7d3b000 r-xp 00000000 08:01 681283
/lib/i686/cmov/libnss_compat-2.7.so
b7d3b000-b7d3d000 rw-p 00006000 08:01 681283
/lib/i686/cmov/libnss_compat-2.7.so
b7d3d000-b7d3e000 rw-p b7d3d000 00:00 0
b7d3e000-b7d52000 r-xp 00000000 08:01 551395 /usr/lib/libz.so.1.2.3.3
b7d52000-b7d53000 rw-p 00013000 08:01 551395 /usr/lib/libz.so.1.2.3.3
b7d53000-b7d71000 r-xp 00000000 08:01 2212080
/usr/lib/libjpeg.so.62.0.0
b7d71000-b7d72000 rw-p 0001e000 08:01 2212080
/usr/lib/libjpeg.so.62.0.0
b7d72000-b7ec7000 r-xp 00000000 08:01 681276
/lib/i686/cmov/libc-2.7.so
b7ec7000-b7ec8000 r--p 00155000 08:01 681276
/lib/i686/cmov/libc-2.7.so
b7ec8000-b7eca000 rw-p 00156000 08:01 681276
/lib/i686/cmov/libc-2.7.so
b7eca000-b7ecd000 rw-p b7eca000 00:00 0
b7ecd000-b7f20000 r-xp 00000000 08:01 2212138 /usr/lib/libtiff.so.4.2.1
b7f20000-b7f22000 rw-p 00053000 08:01 2212138 /usr/lib/libtiff.so.4.2.1
b7f22000-b7f23000 rw-p b7f22000 00:00 0
b7f23000-b7f25000 r-xp 00000000 08:01 681295
/lib/i686/cmov/libutil-2.7.so
b7f25000-b7f27000 rw-p 00001000 08:01 681295
/lib/i686/cmov/libutil-2.7.so
b7f27000-b7f4b000 r-xp 00000000 08:01 681280
/lib/i686/cmov/libm-2.7.so
b7f4b000-b7f4d000 rw-p 00023000 08:01 681280
/lib/i686/cmov/libm-2.7.so
b7f54000-b7f57000 rw-p b7f54000 00:00 0
b7f57000-b7f58000 r-xp b7f57000 00:00 0 [vdso]
b7f58000-b7f72000 r-xp 00000000 08:01 671746 /lib/ld-2.7.so
b7f72000-b7f74000 rw-p 0001a000 08:01 671746 /lib/ld-2.7.so
bfd56000-bfd73000 rw-p bffe3000 00:00 0 [stack]
Maybe It's a iax2 problem? A jitter problem over the iax2 trunk?
Regards,
Matteo
Il 25/05/2010 5.53, Lee Howard ha scritto:
Okay, so you're now saying that the problem is a bug that surfaced in
1.2.0. Right? That makes things a little easier to debug.
Try the prerelease of 1.3.0 that I've attached.
Thanks,
Lee.
Matteo Campana wrote:
HI Lee,
this morning I have tried the call with iaxmodem 1.1: attached the
log of tty300 (modem receiving the fax. with debug enabled), and
tty328 (modem sending the fax).
In this case the 328 crashes, not the 300.
Il 24/05/2010 9.17, mcampana ha scritto:
HI Lee,
I have tried iaxmodem 1.1 and iaxmodem 2.0 without success, today I
can reproduce the case.
What other information do you need?
Regards,
Matteo
On Sun, 23 May 2010 22:00:29 -0700, Lee Howard wrote
Matteo Campana wrote:
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 ***/
What version of iaxmodem are you using? If you can reproduce this
easily then you'll want to pinpoint the code where the double-free
or memory corruption is occurring.
Thanks,
Lee.
____________________ HylaFAX(tm) Users Mailing List
_______________________
To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx <
/dev/null
*To learn about commercial HylaFAX(tm) support, mail
sales@xxxxxxxxx*
Ing. Matteo Campana
System Engineer
Klarya s.r.l.
____________________ HylaFAX(tm) Users Mailing List
_______________________
To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx <
/dev/null
*To learn about commercial HylaFAX(tm) support, mail
sales@xxxxxxxxx*
--
*Ing. Matteo Campana - */System Engineer/
/Mobile: +39 320 4258536
Office: +39 059 821672
Fax: +39 059 821492/
/Web//: /_/www.klarya.it/ <http://www.klarya.it/>_/
/***
****
*
This e-mail transmission may contain legally privileged and/or
confidential information. Please do not read it if you are not the
intended recipient(s). Any use, distribution, reproduction or
disclosure by any other person is strictly prohibited. If you have
received this e-mail in error, please notify the sender and destroy
the original transmission.
--
*Ing. Matteo Campana - */System Engineer/
/Mobile: +39 320 4258536
Office: +39 059 821672
Fax: +39 059 821492/
/Web//: /_/www.klarya.it/ <http://www.klarya.it/>_/
/***
****
*
This e-mail transmission may contain legally privileged and/or
confidential information. Please do not read it if you are not the
intended recipient(s). Any use, distribution, reproduction or
disclosure by any other person is strictly prohibited. If you have
received this e-mail in error, please notify the sender and destroy
the original transmission.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*