Package: t38modem Version: 2.0.0-2 Severity: grave Hi,
On my up-to-date wheezy (testing) system, t38modem crashes with segfault at each try to send or receive a fax. Current command line used is /usr/bin/t38modem -t -o /var/log/t38modem.log -n -T -p +/dev/ttyx0,+/dev/ttyx1 --route "modem:0.*=h323:<dn>@172.16.9.23" --route "h323:.*=modem:<dn>" I've installed libpt-dbg and libopal-dbg and rebuilt t38modem with debug symbols, so I can provide with the following stack trace. Starting program: /usr/bin/t38modem -t -o /var/log/t38modem.log -n -T -p +/dev/ttyx0,+/dev/ttyx1 --route modem:0.\*=h323:\<dn\>@172.16.9.23 --route h323:.\*=modem:\<dn\>a [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffed21e700 (LWP 17042)] T38Modem Version 2.0.0 (OPAL-3.10.4/3.10.4 (svn:26616), PTLIB-2.10.4/2.10.4 (svn:26606)) by Vyacheslav Frolov on Unix Linux (3.2.0-2-amd64-x86_64) [New Thread 0x7ffff7ee4700 (LWP 17043)] [New Thread 0x7ffff7ea3700 (LWP 17044)] [New Thread 0x7ffff7e62700 (LWP 17045)] [New Thread 0x7fffe2191700 (LWP 17046)] [New Thread 0x7fffe2150700 (LWP 17047)] [New Thread 0x7fffe210f700 (LWP 17048)] [New Thread 0x7fffe20ce700 (LWP 17049)] [New Thread 0x7fffe208d700 (LWP 17050)] [New Thread 0x7fffe204c700 (LWP 17051)] [New Thread 0x7fffe200b700 (LWP 17052)] [New Thread 0x7fffe1fca700 (LWP 17053)] [New Thread 0x7fffe1f89700 (LWP 17054)] Waiting for incoming H.323 calls from tcp$*:1720,tcps$*:1300 [New Thread 0x7fffe1f48700 (LWP 17055)] [New Thread 0x7fffe1f07700 (LWP 17056)] [New Thread 0x7fffe1ec6700 (LWP 17057)] [New Thread 0x7fffe1e85700 (LWP 17058)] [New Thread 0x7fffe1e44700 (LWP 17059)] Waiting for incoming SIP calls from udp$*:5060,tcp$*:5060,tcps$*:5061 Route table: modem:0.*=h323:<dn>@172.16.9.23 h323:.*=modem:<dn>a [Thread 0x7fffe200b700 (LWP 17052) exited] [Thread 0x7fffe1fca700 (LWP 17053) exited] [Thread 0x7fffe204c700 (LWP 17051) exited] [New Thread 0x7fffe204c700 (LWP 17152)] [New Thread 0x7fffe1fca700 (LWP 17153)] [New Thread 0x7fffe200b700 (LWP 17154)] [Thread 0x7fffe1fca700 (LWP 17153) exited [Thread 0x7fffe200b700 (LWP 17154) exited] [Thread 0x7fffe204c700 (LWP 17152) exited] [New Thread 0x7fffe204c700 (LWP 17155)] [New Thread 0x7fffe200b700 (LWP 17156)] [New Thread 0x7fffe1fca700 (LWP 17157)] Call[Cc0d937f91] from modem:T38Modem%20v2.0.0 to 00646738610@+/dev/ttyx1, route to h323:00646738610@tcp$172.16.9.23:1720 [New Thread 0x7fffe1e03700 (LWP 17158)] [New Thread 0x7fffe1dc2700 (LWP 17159)] Open OpalRTPMediaStream-Source-G.711-uLaw-64k for Call[Cc0d937f91] Open AudioModemMediaStream-Sink-PCM-16 for Call[Cc0d937f91] [New Thread 0x7fffe1d81700 (LWP 17160)] [Thread 0x7fffe20ce700 (LWP 17049) exited] [Thread 0x7fffe208d700 (LWP 17050) exited] [Thread 0x7fffe210f700 (LWP 17048) exited] [New Thread 0x7fffe210f700 (LWP 17162)] [New Thread 0x7fffe208d700 (LWP 17163)] [New Thread 0x7fffe20ce700 (LWP 17164)] Open AudioModemMediaStream-Source-PCM-16 for Call[Cc0d937f91] Open OpalRTPMediaStream-Sink-G.711-uLaw-64k for Call[Cc0d937f91] [New Thread 0x7fffe1d40700 (LWP 17223)] [New Thread 0x7fffe1cff700 (LWP 17259)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe1cff700 (LWP 17259)] 0x00000000004749ed in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () (gdb) bt #0 0x00000000004749ed in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #2 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #3 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #4 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #5 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #6 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #7 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #8 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #9 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #10 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () [ 1590 identical lines omitted] #1600 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1601 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1602 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1603 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1604 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1605 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1606 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1607 0x0000000000474aac in MyH323Connection::AdjustMediaFormats(bool, OpalConnection*, OpalMediaFormatList&) const () #1608 0x00000000004740bb in MyH323Connection::SwitchFaxMediaStreams(bool) () #1609 0x000000000046ab87 in ModemConnection::RequestMode(PThread&, long) () #1610 0x000000000046f441 in ModemConnection::RequestMode_PNotifier::Call(PObject&, long) const () #1611 0x000000000043d209 in PNotifierTemplate<long>::operator()(PObject&, long) const () #1612 0x00007ffff6915ed3 in PThread::PX_ThreadStart(void*) () from /usr/lib/libpt.so.2.10.4 #1613 0x00007ffff56d3b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #1614 0x00007ffff59c190d in clone () from /lib/x86_64-linux-gnu/libc.so.6 #1615 0x0000000000000000 in ?? () Regards, L -- Luigi Gangitano -- <lu...@debian.org> -- <gangit...@lugroma3.org> GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972 C24A F19B A618 924C 0C26 GPG: 4096R/2BA97CED: 8D48 5A35 FF1E 6EB7 90E5 0F6D 0284 F20C 2BA9 7CED