[asterisk-bugs] [Asterisk 0014748]: [patch] SQL Error makes res_odbc reconnect to odbc dsn

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 15 06:16:51 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14748 
====================================================================== 
Reported By:                aurs
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   14748
Category:                   Resources/res_odbc
Reproducibility:            unable to reproduce
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-25 08:09 CDT
Last Modified:              2009-05-15 06:16 CDT
====================================================================== 
Summary:                    [patch] SQL Error makes res_odbc reconnect to odbc
dsn
Description: 
In res_odbc.c, lines 98-133, there is a section that disconnects, and
reconnects to the database. This *might* have caused a crash... More info
in additional info. Not sure how to reproduce/debug this.
====================================================================== 

---------------------------------------------------------------------- 
 (0104808) grEvenX (reporter) - 2009-05-15 06:16
 https://issues.asterisk.org/view.php?id=14748#c104808 
---------------------------------------------------------------------- 
Added patch for this issue. Though using pooling resolves the segfault
issue, there is a _reason_ why pooling is an option. Pooling does not scale
well in our environment, and I feel that this very easy fix would be
beneficial for certain types of asterisk users (large-scale usage). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 06:16 grEvenX        Note Added: 0104808                          
======================================================================




More information about the asterisk-bugs mailing list