[asterisk-bugs] [Asterisk 0016365]: [patch] ooh323 segfault in libc-2.7.so

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 28 18:06:04 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16365 
====================================================================== 
Reported By:                benngard2
Assigned To:                may213
====================================================================== 
Project:                    Asterisk
Issue ID:                   16365
Category:                   Addons/chan_ooh323
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-01 13:32 CST
Last Modified:              2009-12-28 18:06 CST
====================================================================== 
Summary:                    [patch] ooh323 segfault in libc-2.7.so
Description: 
I was going to test the "new" chan_ooh323 driver so I did install:

debian: Linux sip2 2.6.26-2-686 https://issues.asterisk.org/view.php?id=1 SMP
dahdi-linux-complete-2.2.0.2+2.2.0
Asterisk SVN-trunk-r231692

Did enable chan_ooh323, everything compiled without any problems.

Hardware setup:

Phone (975) - Avaya CM - H.323 - Asterisk - X-Lite (0317998975)

X-Lite can dial MeetMe (955) no problem but when
975 dials X-Lite, I get connectio hear X-Lite ringing but Asterisk dumps:

-- Registered SIP '0317998985' at 10.242.10.209 port 22796
       > Saved useragent "X-Lite release 1103k stamp 53621" for peer
0317998985
    -- Executing [985 at inputinterior.se:1] Dial("OOH323/avaya-1",
"SIP/0317998985") in new stack
  == Using UDPTL CoS mark 5
    -- Called 0317998985
    -- SIP/0317998985-00000001 is ringing
Segmentation fault

cat /var/log/messages
Dec  1 12:02:25 sip2 kernel: [13455.390240] asterisk[15013]:
segfault at 0 ip b7edde94 sp b6971170 error 6 in
libc-2.7.so[b7e68000+155000]
====================================================================== 

---------------------------------------------------------------------- 
 (0115802) may213 (manager) - 2009-12-28 18:06
 https://issues.asterisk.org/view.php?id=16365#c115802 
---------------------------------------------------------------------- 
Benngard2, please try attached patch. it remove starting of TCS
exchange/MSD procedure after call proceeding message and clean call
correctly if other side don't close connection.
But i see that some your device send incorrect h323 message with type 0x5d
(it's like to release compelete, but type not 0x5a, is not contain h323uu
structure and call identifier info and go as first message in new
connection).
i can't find info what is 0x5d q931 message. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-28 18:06 may213         Note Added: 0115802                          
======================================================================




More information about the asterisk-bugs mailing list