[asterisk-bugs] [JIRA] (ASTERISK-26017) dial: Crash when executing pre-dial handler

Mateusz (JIRA) noreply at issues.asterisk.org
Mon Jul 4 02:00:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231285#comment-231285 ] 

Mateusz commented on ASTERISK-26017:
------------------------------------

We have compiled Asterisk 13.9.1 with MALLOC_DEBUG flag and we have all commands from document that you provide but in log we have only:

1467384199 - New session
1467384576 - New session
1467435606 - New session
1467522007 - New session
1467608416 - New session
1467614323 - New session
1467614398 - New session
 
and nothing more. 

We tried to send segfault signal to Asterisk to check that this will append something more to log but it doesn't change anythink. Permissions for this file are valid. 
 
In debug we can see "[Jul  4 08:39:58] VERBOSE[26016] astmm.c: Asterisk Malloc Debugger Started (see /var/log/asterisk/mmlog))" line.

Is this ok? Or in this log we should have more information? 

> dial: Crash when executing pre-dial handler
> -------------------------------------------
>
>                 Key: ASTERISK-26017
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26017
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.9.1
>            Reporter: Mateusz
>            Assignee: Mateusz
>              Labels: crash
>         Attachments: 2016-06-29backtrace.txt, backtrace-27-may.txt, backtrace.txt, newest_backtrace.txt
>
>
> Hi, 
> in our company we are using an pre-dial macro and in the very last step in this macro ( Return() ) we occasionally get an segmentation fault. 
> We have checked three version of Asterisk. 
> Out handler:
> {code}
>  exten => outbound,1,NoOp()
> same => n,Set(CHANNEL(userfield)=${CHANNEL(userfield)}|calls_id:${ARG1})
> same => n,CELGenUserEvent(DIALED_AT)
> same => n,Return()
> {code}
> I have attached an backtrace. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list