[Home]

Summary:ASTERISK-17981: Crash in ast_db_put
Reporter:Vincent Sweeney (vince)Labels:
Date Opened:2011-06-08 07:40:39Date Closed:2011-07-20 08:24:18
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:1.4.41 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:RHEL 6.1Attachments:( 0) bt.txt
Description:I am seeing regular crashes (at least once per week) on several new Asterisk servers with core files showing an error in the same location every time. This seems to be related to when one of our several different sites turns on all their SIP devices and they all try to register within a very short period.
Comments:By: Vincent Sweeney (vince) 2011-06-08 07:43:15.846-0500

The backtrace is showing the crash is caused because a negative value is being passed to the memmove() function. I do not understand anything about how the db/btree code works to debug why the pointer arithmetic has produced this result.

By: Leif Madsen (lmadsen) 2011-06-13 12:28:53.662-0500

Can you provide the backtrace per the instructions on the wiki?  

https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

By: Leif Madsen (lmadsen) 2011-07-20 08:24:18.988-0500

Closing issue due to lack of feedback, plus this is reported against Asterisk 1.4 which is no longer in maintenance mode. Additionally Asterisk 1.10 will utilize SQLite3 in order to work around several issues with the Berkeley DB implementation.