[asterisk-bugs] [Asterisk 0013050]: Memory segmentation fault on T.38 pass through

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 11 07:03:17 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13050 
====================================================================== 
Reported By:                schern
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13050
Category:                   Channels/chan_sip/T.38
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
Target Version:             1.4.24
Asterisk Version:           1.4.21 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-07-10 08:17 CDT
Last Modified:              2009-02-11 07:03 CST
====================================================================== 
Summary:                    Memory segmentation fault on T.38 pass through
Description: 
I tried to use the chan_sip with T.38 pass through. An Fax is coming via
T.38 from
the Carrier an should go to a Linksys SPA2102 (T.38 enabled).
Short after starting UDPL traffic I got a segmentation fault.
The crash is 100% reproducible.
Outbound T.38 is no problem at all.
====================================================================== 

---------------------------------------------------------------------- 
 (0099877) schern (reporter) - 2009-02-11 07:03
 http://bugs.digium.com/view.php?id=13050#c99877 
---------------------------------------------------------------------- 
gdb output after crash:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075951968 (LWP 19740)]
0x0000000000000000 in ?? ()
(gdb) p last_function
$1 = "udptl_debug_test_addr\000daddr", '\0' <repeats 52 times>
(gdb)


The Makefile-Patch is not working. After applying I'm unable to compile
Asterisk:
make[1]: Entering directory `/usr/src/Asterisk/1.4/asterisk-1.4-svn/main'
   [CC] udptl.c -> udptl.o
   [LD] abstract_jb.o acl.o aescrypt.o aeskey.o aestab.o alaw.o app.o
ast_expr2.o ast_expr2f.o asterisk.o astmm.o astobj2.o audiohook.o
autoservice.o callerid.o cdr.o channel.o chanvars.o cli.o config.o
cryptostub.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o file.o
fixedjitterbuf.o frame.o fskmodem.o global_datastores.o http.o image.o
indications.o io.o jitterbuf.o loader.o logger.o manager.o md5.o netsock.o
pbx.o plc.o privacy.o rtp.o say.o sched.o sha1.o slinfactory.o srv.o
stdtime/localtime.o strcompat.o tdd.o term.o threadstorage.o translate.o
udptl.o ulaw.o utils.o editline/libedit.a db1-ast/libdb1.a -> asterisk
udptl.o: In function `__register_file_version':
/usr/src/Asterisk/1.4/asterisk-1.4-svn/main/udptl.c:20: undefined
reference to `__stack_chk_guard'
/usr/src/Asterisk/1.4/asterisk-1.4-svn/main/udptl.c:20: undefined
reference to `__stack_chk_guard'
/usr/src/Asterisk/1.4/asterisk-1.4-svn/main/udptl.c:20: undefined
reference to `__stack_chk_fail'
udptl.o: In function `__unregister_file_version':
/usr/src/Asterisk/1.4/asterisk-1.4-svn/main/udptl.c:20: undefined
reference to `__stack_chk_guard'
/usr/src/Asterisk/1.4/asterisk-1.4-svn/main/udptl.c:20: undefined
reference to `__stack_chk_guard'
/usr/src/Asterisk/1.4/asterisk-1.4-svn/main/udptl.c:20: undefined
reference to `__stack_chk_fail'
udptl.o: In function `init_empty_mutex':
/usr/src/Asterisk/1.4/asterisk-1.4-svn/include/asterisk/lock.h:215:
undefined reference to `__stack_chk_guard'
/usr/src/Asterisk/1.4/asterisk-1.4-svn/include/asterisk/lock.h:217:
undefined reference to `__stack_chk_guard'
/usr/src/Asterisk/1.4/asterisk-1.4-svn/include/asterisk/lock.h:217:
undefined reference to `__stack_chk_fail'
udptl.o: In function `ast_free':
[...]
collect2: ld returned 1 exit status
make[1]: *** [asterisk] Fehler 1
make[1]: Leaving directory `/usr/src/Asterisk/1.4/asterisk-1.4-svn/main'
make: *** [main] Fehler 2 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-11 07:03 schern         Note Added: 0099877                          
======================================================================




More information about the asterisk-bugs mailing list