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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 17 21:41:56 CST 2009


The following issue has been UPDATED. 
====================================================================== 
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.0.18-rc3 
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-17 21:41 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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-17 21:41 tilghman       Asterisk Version         1.6.2.0-rc6 =>
1.6.0.18-rc3
======================================================================




More information about the asterisk-bugs mailing list