[asterisk-bugs] [JIRA] Commented: (ASTERISK-20515) core dump in ast_channel_destructor if chan->tech_pvt is not null
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Thu Oct 4 13:51:27 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197985#comment-197985 ]
Matt Jordan commented on ASTERISK-20515:
----------------------------------------
Hold on.
As this is your channel driver, it is not a bug in Asterisk. If you need help with development activities, the proper forum is the asterisk-dev mailing list.
As far as {{ast_channel_destructor}} goes, every channel driver *must* either assign its private object to tech_pvt, or set it to NULL. In fact, if you're building out your channel properly, you should be calling ast_channel_alloc, which will use ao2_alloc to create the channel object. The tech_pvt member *will* be set to NULL at that point. If you're creating your channel driver via some other mechanism, or other wise mucking up the tech_pvt pointer, that's not Asterisk's fault.
> 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