[asterisk-bugs] [LibPRI 0015115]: segfault of asterisk 1.2.32 with libpri.1.2.8 in q931_getcall

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 15 03:11:19 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15115 
====================================================================== 
Reported By:                schmidts
Assigned To:                mattf
====================================================================== 
Project:                    LibPRI
Issue ID:                   15115
Category:                   General
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.2.X 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-05-15 03:11 CDT
Last Modified:              2009-05-15 03:11 CDT
====================================================================== 
Summary:                    segfault of asterisk 1.2.32 with libpri.1.2.8 in
q931_getcall
Description: 
we have around 1 segfault per day on our mediagateway using asterisk
1.2.32, libpri 1.2.8 and zaptel 1.2.27 and a sangoma A108E card with 8 E1
lines connected.

we can see in the core dump that this error appears in q931.c at line 2274
when trying to malloc a new pri call.

we had tried to upgrade to 1.4.24.1 with dahdi 2.1.0.4 and libpri.1.4.10
but at other problems their so we had to go back to 1.2.32.

i´ve seen that in libpri-1.4.10 the function q931_getcall checks for the
master first, which doesnt happen in version 1.2.8.

as i´ve seen this mostly happens when getting a pri cause 16 back from
our carrier.

the system is running on Debian Lenny 64 bit with 2 xeon quad core cpus
and 6 Gb ram. 

The sangoma driver is 3.3.15 if this could be importent.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 03:11 schmidts       New Issue                                    
2009-05-15 03:11 schmidts       Status                   new => assigned     
2009-05-15 03:11 schmidts       Assigned To               => mattf           
2009-05-15 03:11 schmidts       Asterisk Version          => 1.2.X           
2009-05-15 03:11 schmidts       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list