[asterisk-bugs] [Asterisk 0012835]: "restart gracefully" can crash asterisk
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Jun 16 06:09:05 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12835
======================================================================
Reported By: ys
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12835
Category: Core/Configuration
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 121799
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 06-11-2008 08:28 CDT
Last Modified: 06-16-2008 06:09 CDT
======================================================================
Summary: "restart gracefully" can crash asterisk
Description:
I think, that __ast_context_destroy() function in main/pbx.c contain some
bug, but now can found there...
You can reproduce coredump file whith following CLI command:
*CLI> module unload app_queue.so
*CLI> restart gracefully
======================================================================
----------------------------------------------------------------------
ys - 06-16-08 06:09
----------------------------------------------------------------------
backtrace added.
I think, in this line:
"if (strcmp(tmp->registrar, registrar) == 0 && tmp->refcount < 2 &&
!tmp->root) {"
"tmp->registrar" points to unallocated memory, but why?
Issue History
Date Modified Username Field Change
======================================================================
06-16-08 06:09 ys Note Added: 0088734
======================================================================
More information about the asterisk-bugs
mailing list