[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:55:00 UTC 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18243 
====================================================================== 
Reported By:                ks3
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   18243
Category:                   Functions/func_odbc
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-11-02 13:30 CDT
Last Modified:              2011-01-05 12:55 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0130219) svnbot (reporter) - 2011-01-05 12:55
 https://issues.asterisk.org/view.php?id=18243#c130219 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 300622

_U  branches/1.6.2/
U   branches/1.6.2/res/res_odbc.c

------------------------------------------------------------------------
r300622 | tilghman | 2011-01-05 12:54:59 -0600 (Wed, 05 Jan 2011) | 17
lines

Merged revisions 300621 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r300621 | tilghman | 2011-01-05 12:47:46 -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=300622 

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




More information about the asterisk-bugs mailing list