Summary: | ASTERISK-21067: pointers of old channel_generator are not tidied up when a new channel_gernerator is activated | ||
Reporter: | Krischan Dickel (krischan) | Labels: | |
Date Opened: | 2013-02-12 10:03:44.000-0600 | Date Closed: | 2013-03-07 09:44:32.000-0600 |
Priority: | Critical | Regression? | |
Status: | Closed/Complete | Components: | Core/Channels |
Versions: | 11.2.1 | Frequency of Occurrence | Occasional |
Related Issues: | |||
Environment: | debian 6.0.6 | Attachments: | |
Description: | The ast_activate_generator function in channel.c checks wether there exists an old generator and in that case, calls its release function. However, the ast_activate_generator function does not tidy up pointers, sets the timeout, etc. like the ast_deactivate_generator function does. As a result our Asterisk crashes at times, when it is under heavy load. It seems to be some kind of racing condition. | ||
Comments: | By: Matt Jordan (mjordan) 2013-02-12 11:33:30.478-0600 Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then: make install After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report. [1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace By: Matt Jordan (mjordan) 2013-03-07 09:44:28.085-0600 Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information can be found at http://www.asterisk.org/developers/bug-guidelines |