[asterisk-bugs] [Asterisk 0015537]: Segfault When Trying To Reconnect To MySQL Server Using ODBC

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 9 02:15:50 CDT 2009


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=15537 
====================================================================== 
Reported By:                elguero
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15537
Category:                   Resources/res_config_odbc
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 207318 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-20 09:00 CDT
Last Modified:              2009-08-09 02:15 CDT
====================================================================== 
Summary:                    Segfault When Trying To Reconnect To MySQL Server
Using ODBC
Description: 
When a soft phone was trying to connect to asterisk server using iax,
during the iax realtime db table look up asterisk received the message that
it wasn't connected to the database server.  This normally triggers a
reconnect.  Today asterisk segfaulted during the reconnect.  This was the
message in the log file right before the segfault.

[Jul 20 09:14:44] WARNING[22868] res_odbc.c: SQL Execute returned an error
-1: HYT00: [MySQL][ODBC 3.51 Driver][mysqld-4.0.15-standard-log]MySQL
server has gone away (79)

I have not tried to reproduce this.  I am not sure if this was just a one
time thing but I wanted to have someone take a look at the back trace in
case this can be prevented in the future for other users.  

Please find attached to this bug note a back trace.
====================================================================== 

---------------------------------------------------------------------- 
 (0108821) tilghman (administrator) - 2009-08-09 02:15
 https://issues.asterisk.org/view.php?id=15537#c108821 
---------------------------------------------------------------------- 
Lack of response indicates that the workaround fixed it for the reporter. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-09 02:15 tilghman       Note Added: 0108821                          
2009-08-09 02:15 tilghman       Status                   feedback => closed  
2009-08-09 02:15 tilghman       Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list