[asterisk-bugs] [JIRA] (ASTERISK-23319) Segmentation fault in queue_exec at app_queue.c

Vadim (JIRA) noreply at issues.asterisk.org
Thu Feb 20 03:12:03 CST 2014


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

Vadim commented on ASTERISK-23319:
----------------------------------

extensions.conf
------------------

[callback]
;
exten => _X.,1,NoOp(CALL_ID: ${CALL_ID})
same => n,GotoIf($["${SERV_NAME}" != "${CUR_SERV}"]?500)
same => n,Set(__AUTO_SYS=YES)
same => n,MYSQL(Set timeout ${MYSQL_TIMEOUT})
same => n,MYSQL(Connect connid ${MYSQL_SERV} asterisk shuxieru default_sm)
;;
same => n,GotoIf($["${QUERY_LOG_ALL}" != "1"]?$[${PRIORITY}+3])
same => n,Set(QUERY_DB=UPDATE orders_status_otzvon SET asterix_count=asterix_count+1, asterix_status=asterix_status+1 WHERE id_zv='${CALL_ID}')
same => n,Macro(query-db-log)
;;
same => n,MYSQL(Query resultid ${connid} UPDATE orders_status_otzvon SET asterix_count=asterix_count+1, asterix_status=asterix_status+1 WHERE id_zv='${CALL_ID}')
same => n,MYSQL(Disconnect ${connid})
same => n,Set(__TRANSFER_CONTEXT=transfer)
same => n,Set(__CON_TEXT=callback)
same => n,Set(CALLERID(name)=bc_${COMMENT})
same => n,GotoIF($[${LEN(${MANAGER})} > 4]?:50)
...
;
exten => _XXXX,50,NoOp()
;same => n,Set(MONITOR_FILENAME=callback-${UNIQUEID})
same => n,Set(MONITOR_FILENAME=${CALLERID(num)}_${EXTEN}_${STRFTIME(,,%d-%m-%G)}_${UNIQUEID})
same => n,Set(MONITOR_EXEC=/bin/rm /var/spool/asterisk/monitor/^{MONITOR_FILENAME}.wav)
same => n,GoTo(60)
;
...
;
exten => _11XX,60,Macro(auto-system,${EXTEN})
same => n,Hangup()
;
exten => _X.,n,Hangup



[macro-auto-system]
exten => s,1,NoOp()
same => n,Macro(queue-directory,${ARG1})
same => n,Queue(${Q_NAME},t,,,60)


[macro-queue-directory]
exten => s,1,NoOp(${DIALPLAN_EXISTS(macro-queue-directory,s,que-${ARG1})})
same => n,GotoIf($["${DIALPLAN_EXISTS(macro-queue-directory,s,que-${ARG1})}" = "1"]?que-${ARG1}:que-1100)
...
same => n(que-1100),Set(ARRAY(Q_NAME,Q_EXIT,Q_NUMBER_MOB)=callcenter-msk,spb,${DB(DOP/${EVAL(${ARG1})})})
same => n,Set(QUEUE_MAX_PENALTY=5)
same => n,GoTo(exit)
...
same => n(exit),NoOp()
same => n,Set(__QUEUENAME=${Q_NAME})

                
> Segmentation fault in queue_exec at app_queue.c
> -----------------------------------------------
>
>                 Key: ASTERISK-23319
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23319
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 1.8.25.0
>         Environment: CentoOS 6.2
>            Reporter: Vadim
>            Assignee: Vadim
>         Attachments: trace.txt
>
>
> gdb /usr/sbin/asterisk /tmp/coreXX.XXX
> ....
> [Edit by Rusty Newton - removed inline debug as per the guidelines...]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list