[asterisk-bugs] [Asterisk 0019253]: Random crash with RES_ODBC related to SQLSetConnectAttr().

Asterisk Bug Tracker noreply at bugs.digium.com
Sat May 21 14:27:51 CDT 2011


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=19253 
====================================================================== 
Reported By:                seadweller
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19253
Category:                   Resources/res_odbc
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-05-09 09:00 CDT
Last Modified:              2011-05-21 14:27 CDT
====================================================================== 
Summary:                    Random crash with RES_ODBC related to
SQLSetConnectAttr().
Description: 
Platform information:

CentOS 5.6
Asterisk 1.6.2.18
MySQL 5.5.11
MySQL ODBC Connector 5.1.8 or 3.5.1
unixODBC 2.2.11 (Current CentOS Release)

Received a couple random crashes relating to ODBC access.  Thought it was
a MySQL Connector issue, as I was initially using 3.5.1, so I upgraded to
5.1.8 and the issue still popped up.

I don't believe this bug is related to
https://issues.asterisk.org/view.php?id=19250 which I posted yesterday. 
Connection pooling is not turned on when this happens (the workaround for
https://issues.asterisk.org/view.php?id=19250)... but because of the other bug,
it's hard to test whether it has
an effect or not.

Not sure if unixODBC 2.2.11 is too old for Asterisk or not?  Though since
it seems to be calling SQLSetConnectAttr() in regards to
SQL_ATTR_AUTOCOMMIT which is a valid flag in 2.2.11... I don't think this
is the issue either.
====================================================================== 

---------------------------------------------------------------------- 
 (0135221) tilghman (manager) - 2011-05-21 14:27
 https://issues.asterisk.org/view.php?id=19253#c135221 
---------------------------------------------------------------------- 
Closed by reporter request. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-21 14:27 tilghman       Note Added: 0135221                          
2011-05-21 14:27 tilghman       Status                   feedback => closed  
2011-05-21 14:27 tilghman       Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list