[asterisk-bugs] [Asterisk 0016252]: ODBC Crash in 1.6.2.0-rc6

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 16 09:29:17 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16252 
====================================================================== 
Reported By:                kobaz
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16252
Category:                   Resources/res_odbc
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.2.0-rc6 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-16 09:28 CST
Last Modified:              2009-11-16 09:29 CST
====================================================================== 
Summary:                    ODBC Crash in 1.6.2.0-rc6
Description: 
Doing a simple odbc query will crash asterisk

Error while executing the query (77)
[Nov 16 10:13:07] WARNING[17379]: func_odbc.c:191 generic_execute: SQL
Exec Direct failed (-1)![UPDATE asterisk.log_calls SET status = 'CALLEE
PICKUP', call_pickup_time = NOW(), caller_to_channel = 'SIP/201-00000004',
caller_to_uniqueid = '1258384379.23' WHERE call_log_id = '']
[Nov 16 10:13:07] WARNING[17379]: res_odbc.c:583 ast_odbc_direct_execute:
SQL Exec Direct failed.  Attempting a reconnect...
[Nov 16 10:13:07] DEBUG[17379]: res_odbc.c:1392 odbc_obj_disconnect:
Disconnected 0 from pbx [pbx]
[Nov 16 10:13:07] DEBUG[17379]: res_odbc.c:1400 odbc_obj_disconnect:
Database handle deallocated
[Nov 16 10:13:07] NOTICE[17379]: res_odbc.c:1427 odbc_obj_connect:
Connecting pbx
[Nov 16 10:13:07] NOTICE[17379]: res_odbc.c:1455 odbc_obj_connect:
res_odbc: Connected to pbx [pbx]
[Nov 16 10:13:07] DEBUG[17379]: res_odbc.c:1400 odbc_obj_disconnect:
Database handle deallocated
[Nov 16 10:13:07] ERROR[17379]: astobj2.c:279 __ao2_ref: refcount -1 on
object 0x81fa308
[Nov 16 10:13:07] ERROR[17379]: astobj2.c:110 INTERNAL_OBJ: user_data is
NULL

====================================================================== 

---------------------------------------------------------------------- 
 (0113852) kobaz (reporter) - 2009-11-16 09:29
 https://issues.asterisk.org/view.php?id=16252#c113852 
---------------------------------------------------------------------- 
Uploaded backtrace 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-16 09:29 kobaz          Note Added: 0113852                          
======================================================================




More information about the asterisk-bugs mailing list