[asterisk-bugs] [Asterisk 0017421]: Asterisk crashes on sip_realtime using MySQL via ODBC

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 31 06:17:48 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17421 
====================================================================== 
Reported By:                kowalma
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17421
Category:                   Resources/res_config_odbc
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.7 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-28 17:52 CDT
Last Modified:              2010-05-31 06:17 CDT
====================================================================== 
Summary:                    Asterisk crashes on sip_realtime using MySQL via
ODBC
Description: 
Hi,

 Recently I migrated sip peers to database and since then I expirience
system crashes, mostly in BT I can see that it crashed following:

 sql = "SELECT * FROM sip_peers WHERE name = ? AND host = ?", 
====================================================================== 

---------------------------------------------------------------------- 
 (0122657) kowalma (reporter) - 2010-05-31 06:17
 https://issues.asterisk.org/view.php?id=17421#c122657 
---------------------------------------------------------------------- 
and again crash 


https://issues.asterisk.org/view.php?id=1  0xb6c2fe36 in realtime_odbc
(database=0xb1f68220 "ccig",
table=0xb1f68120 "sip_peers", ap=0xb1f68374
"\003!\023?\234?4?\017\"\023?\a\"\023?") at res_config_odbc.c:195

bt uploaded 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-31 06:17 kowalma        Note Added: 0122657                          
======================================================================




More information about the asterisk-bugs mailing list