[asterisk-bugs] [Asterisk 0011427]: Asterisk crashes when using ODBC connected to Sybase

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 3 12:45:57 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11427 
====================================================================== 
Reported By:                blitzrage
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   11427
Category:                   Resources/res_odbc
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            1.4.14  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-30-2007 10:38 CST
Last Modified:              12-03-2007 12:45 CST
====================================================================== 
Summary:                    Asterisk crashes when using ODBC connected to Sybase
Description: 
Asterisk appears to crash at various times throughout the day when using
ODBC connected to a Sybase database. It seems to be when it tries to
reconnect to the database, but fails, then causes a crash(?)

I've attached a backtrace from the machine in question.

Here is a copy of the configuration files:

res_odbc.conf:
;; odbc setup file
[asterisk]
enabled => yes
dsn => Sybase-cl
username => xxxxxxx
password => xxxxxxx
pre-connect => yes

odbc.ini
[Sybase-cl]
Description     = Sybase ODBC Data Source
UserID          = xxxxxx
Password        = xxxxxx
Driver          = Adaptive Server Enterprise
Server          = 10.1.1.1
Port            = 4300
Database        = xxxxxx
UseCursor       = 1

odbcinst.ini
[Adaptive Server Enterprise]
Description             = Sybase ODBC Driver
Driver                  =
/usr/local/sybase/DataAccess/ODBC/lib/libsybdrvodb.so
FileUsage               = 1
====================================================================== 

---------------------------------------------------------------------- 
 blitzrage - 12-03-07 12:45  
---------------------------------------------------------------------- 
See backtrace-1203.txt 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-03-07 12:45  blitzrage      Note Added: 0074692                          
======================================================================




More information about the asterisk-bugs mailing list