[asterisk-bugs] [Asterisk 0014481]: ODBC-based function crashes Asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 16 22:40:29 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14481 
====================================================================== 
Reported By:                lmsteffan
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   14481
Category:                   Functions/func_odbc
Reproducibility:            always
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!): 176019 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-16 00:01 CST
Last Modified:              2009-02-16 22:40 CST
====================================================================== 
Summary:                    ODBC-based function crashes Asterisk
Description: 
I have defined a simple function in func_odbc.conf to read (SELECT) one
value from MySQL database. It works the first time, and crashes very soon
after, sometimes as soon as the next invocation.

The CLI command that I use is "odbc read MY_FUNCTION arg1 exec".

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

---------------------------------------------------------------------- 
 (0100236) lmsteffan (reporter) - 2009-02-16 22:40
 http://bugs.digium.com/view.php?id=14481#c100236 
---------------------------------------------------------------------- 
The address pointed to by "p *(obj->parent)" is indeed 0. I'll send you the
output given by valgrind shortly. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-16 22:40 lmsteffan      Note Added: 0100236                          
======================================================================




More information about the asterisk-bugs mailing list