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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 20 10:34:31 CDT 2009


The following issue requires your FEEDBACK. 
====================================================================== 
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:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 207318 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-20 09:00 CDT
Last Modified:              2009-07-20 10:34 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-20 10:34 tilghman       Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list