[asterisk-bugs] [Asterisk 0017084]: [patch] Asterisk crash in func_odbc

Asterisk Bug Tracker noreply at bugs.digium.com
Sat May 8 14:44:10 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17084 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17084
Category:                   Channels/General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-1162 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 253802 
Request Review:              
====================================================================== 
Date Submitted:             2010-03-23 12:46 CDT
Last Modified:              2010-05-08 14:44 CDT
====================================================================== 
Summary:                    [patch] Asterisk crash in func_odbc
Description: 
I am attaching the GDB backtrace
====================================================================== 

---------------------------------------------------------------------- 
 (0121611) freddy77 (reporter) - 2010-05-08 14:44
 https://issues.asterisk.org/view.php?id=17084#c121611 
---------------------------------------------------------------------- 
Well, this fix works only for pooled connection (required by FreeTDS), but
core still remains for non pooled connections. In fact in this case a
single connection is returned for multiple statements but if any statement
fails can cause a SQLDisconnect/SQLConnect which cause all statements free,
even statements in other threads.
To sum up core happen on:
- multiple active queries on same connection
- errors on a query
So only on rarely conditions. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-08 14:44 freddy77       Note Added: 0121611                          
======================================================================




More information about the asterisk-bugs mailing list