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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 25 18:07:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/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:                     feedback
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-03-25 18:07 CDT
====================================================================== 
Summary:                    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.
====================================================================== 

---------------------------------------------------------------------- 
 (0102198) aurs (reporter) - 2009-03-25 18:07
 http://bugs.digium.com/view.php?id=14748#c102198 
---------------------------------------------------------------------- 
Of course I should fix my SQL (already done). This was deliberately done to
reproduce a crash.
I can upload the other backtrace I got. That one is on a valid SQL (which
runs shortly after the invalid one). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-25 18:07 aurs           Note Added: 0102198                          
======================================================================




More information about the asterisk-bugs mailing list