[asterisk-bugs] [JIRA] Commented: (ASTERISK-20515) core dump in ast_channel_destructor if chan->tech_pvt is not null
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Thu Oct 4 13:55:27 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197987#comment-197987 ]
Joshua Colp commented on ASTERISK-20515:
----------------------------------------
Going down this rabbit hole more - the code present there is a "worst case stab" approach to get rid of the tech_pvt. It is your responsibility in the hangup callback (or elsewhere, depending upon channel driver design) to set it to NULL and ensure it gets freed in the implementation specific manner.
> core dump in ast_channel_destructor if chan->tech_pvt is not null
> -----------------------------------------------------------------
>
> Key: ASTERISK-20515
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20515
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/General
> Reporter: Bob Stine
> Assignee: Matt Jordan
> Severity: Minor
>
> CentOS 6.2, 32-bit, running as VM in VMware.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list