[asterisk-bugs] [Asterisk 0014716]: Crash using func_odbc

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 2 10:14:23 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14716 
====================================================================== 
Reported By:                sum
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   14716
Category:                   Functions/func_odbc
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.2.0-beta1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-21 13:33 CDT
Last Modified:              2009-04-02 10:14 CDT
====================================================================== 
Summary:                    Crash using func_odbc
Description: 

Crash using func_odbc

1) with don't optimize it doesn't crash
2) with debug malloc realtime stop working with this error:

Connected to Asterisk 1.6.2.0-beta1 currently running on localhost (pid =
16736)
Verbosity was 3 and is now 4
failed to extend from 16 to 63
failed to extend from 16 to 43
[Mar 21 00:31:07] WARNING[16755]: res_config_mysql.c:369 realtime_mysql:
MySQL RealTime: Failed to query database: Query was empty
failed to extend from 16 to 63
[Mar 21 00:31:07] WARNING[16755]: res_config_mysql.c:369 realtime_mysql:
MySQL RealTime: Failed to query database: Query was empty
[Mar 21 00:31:07] NOTICE[16755]: chan_sip.c:20367 handle_request_register:
Registration from '"1001"<sip:1001 at 192.168.175.133>' failed for
'192.168.175.1' - No matching peer found


Tell me if you need valgrind file of the run without crashing, or any
other info.

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

---------------------------------------------------------------------- 
 (0102624) svnbot (reporter) - 2009-04-02 10:14
 http://bugs.digium.com/view.php?id=14716#c102624 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 186021

U   trunk/main/strings.c

------------------------------------------------------------------------
r186021 | tilghman | 2009-04-02 10:14:23 -0500 (Thu, 02 Apr 2009) | 7
lines

Missed a common case for needing to extend the buffer.
(closes issue http://bugs.digium.com/view.php?id=14716)
 Reported by: sum
 Patches: 
       20090402__bug14716.diff.txt uploaded by tilghman (license 14)
 Tested by: sum

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=186021 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-02 10:14 svnbot         Checkin                                      
2009-04-02 10:14 svnbot         Note Added: 0102624                          
======================================================================




More information about the asterisk-bugs mailing list