[asterisk-bugs] [Asterisk 0018243]: [patch] Random segfault when querying MySQL via func_odbc

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 5 18:47:48 UTC 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18243 
====================================================================== 
Reported By:                ks3
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18243
Category:                   Functions/func_odbc
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.6.2.13 
JIRA:                       SWP-2565 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-02 13:30 CDT
Last Modified:              2011-01-05 12:47 CST
====================================================================== 
Summary:                    [patch] Random segfault when querying MySQL via
func_odbc
Description: 
For the past couple months, our two Asterisk servers crash (at different
times) about once a week, and the last entries in the console log are calls
to some of our func_odbc functions. Within the last couple weeks, these
crashes have increased to about every day, sometimes 2-3 times per day.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018572 Asterisk may crash when PostgreSQL data...
====================================================================== 

---------------------------------------------------------------------- 
 (0130218) svnbot (reporter) - 2011-01-05 12:47
 https://issues.asterisk.org/view.php?id=18243#c130218 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 300621

U   branches/1.4/res/res_odbc.c

------------------------------------------------------------------------
r300621 | tilghman | 2011-01-05 12:47:47 -0600 (Wed, 05 Jan 2011) | 10
lines

Use the sanity check in place of the disconnect/connect cycle.

The disconnect/connect cycle has the potential to cause random crashes.

(closes issue https://issues.asterisk.org/view.php?id=18243)
 Reported by: ks3
 Patches: 
       res_odbc.patch uploaded by ks3 (license 1147)
 Tested by: ks3

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=300621 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-05 12:47 svnbot         Checkin                                      
2011-01-05 12:47 svnbot         Note Added: 0130218                          
======================================================================




More information about the asterisk-bugs mailing list