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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Feb 20 15:02:05 CST 2014


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

Richard Mudgett edited comment on ASTERISK-23319 at 2/20/14 3:01 PM:
---------------------------------------------------------------------

DEBUG_LOG(DEBUG log leading up to the crash):
-----------------

{noformat}
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:1] NoOp("Local/1100 at callback-00014881;2", "CALL_ID: 17587601") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:2] GotoIf("Local/1100 at callback-00014881;2", "0?500") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:3] Set("Local/1100 at callback-00014881;2", "__AUTO_SYS=YES") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:4] MYSQL("Local/1100 at callback-00014881;2", "Set timeout 3") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:5] MYSQL("Local/1100 at callback-00014881;2", "Connect connid db-master.local asterisk shuxieru default_sm") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:6] GotoIf("Local/1100 at callback-00014881;2", "1?9") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:9] MYSQL("Local/1100 at callback-00014881;2", "Query resultid 15 UPDATE orders_status_otzvon SET `asterix_count`=asterix_count+1, `asterix_status`=asterix_status+1 WHERE `id_zv`='17587601'") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:10] MYSQL("Local/1100 at callback-00014881;2", "Disconnect 15") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:11] Set("Local/1100 at callback-00014881;2", "__TRANSFER_CONTEXT=transfer") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:12] Set("Local/1100 at callback-00014881;2", "__CON_TEXT=callback") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:13] Set("Local/1100 at callback-00014881;2", "CALLERID(name)=bc_backcall_tov-578009-522107-923281") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:14] GotoIf("Local/1100 at callback-00014881;2", "0?:50") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:50] NoOp("Local/1100 at callback-00014881;2", "") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:51] Set("Local/1100 at callback-00014881;2", "MONITOR_FILENAME=79224541482_1100_16-02-2014_1392578446.297449") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:52] Set("Local/1100 at callback-00014881;2", "MONITOR_EXEC=/bin/rm /var/spool/asterisk/monitor/^{MONITOR_FILENAME}.wav") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:53] Goto("Local/1100 at callback-00014881;2", "60") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:60] Macro("Local/1100 at callback-00014881;2", "auto-system,1100") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-auto-system:1] NoOp("Local/1100 at callback-00014881;2", "") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-auto-system:2] Macro("Local/1100 at callback-00014881;2", "queue-directory,1100") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:1] NoOp("Local/1100 at callback-00014881;2", "1") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:2] GotoIf("Local/1100 at callback-00014881;2", "1?que-1100:que-1100") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:101] Set("Local/1100 at callback-00014881;2", "ARRAY(Q_NAME,Q_EXIT,Q_NUMBER_MOB)=callcenter-msk,spb,") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:102] Set("Local/1100 at callback-00014881;2", "QUEUE_MAX_PENALTY=5") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:103] Goto("Local/1100 at callback-00014881;2", "exit") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:329] NoOp("Local/1100 at callback-00014881;2", "") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:330] Set("Local/1100 at callback-00014881;2", "__QUEUENAME=callcenter-msk") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-auto-system:3] Queue("Local/1100 at callback-00014881;2", "callcenter-msk,t,,,60") in new stack
[Feb 16 23:20:46] VERBOSE[633] res_musiconhold.c:     -- Started music on hold, class 'default', on Local/1100 at callback-00014881;2
[Feb 16 23:20:49] VERBOSE[633] res_musiconhold.c:     -- Stopped music on hold on Local/1100 at callback-00014881;2
[Feb 16 23:20:49] VERBOSE[633] res_musiconhold.c:     -- Started music on hold, class 'default', on Local/1100 at callback-00014881;2
{noformat}

                
      was (Author: cron333):
    DEBUG_LOG(DEBUG log leading up to the crash):
-----------------


[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:1] NoOp("Local/1100 at callback-00014881;2", "CALL_ID: 17587601") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:2] GotoIf("Local/1100 at callback-00014881;2", "0?500") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:3] Set("Local/1100 at callback-00014881;2", "__AUTO_SYS=YES") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:4] MYSQL("Local/1100 at callback-00014881;2", "Set timeout 3") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:5] MYSQL("Local/1100 at callback-00014881;2", "Connect connid db-master.local asterisk shuxieru default_sm") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:6] GotoIf("Local/1100 at callback-00014881;2", "1?9") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:9] MYSQL("Local/1100 at callback-00014881;2", "Query resultid 15 UPDATE orders_status_otzvon SET `asterix_count`=asterix_count+1, `asterix_status`=asterix_status+1 WHERE `id_zv`='17587601'") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:10] MYSQL("Local/1100 at callback-00014881;2", "Disconnect 15") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:11] Set("Local/1100 at callback-00014881;2", "__TRANSFER_CONTEXT=transfer") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:12] Set("Local/1100 at callback-00014881;2", "__CON_TEXT=callback") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:13] Set("Local/1100 at callback-00014881;2", "CALLERID(name)=bc_backcall_tov-578009-522107-923281") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:14] GotoIf("Local/1100 at callback-00014881;2", "0?:50") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:50] NoOp("Local/1100 at callback-00014881;2", "") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:51] Set("Local/1100 at callback-00014881;2", "MONITOR_FILENAME=79224541482_1100_16-02-2014_1392578446.297449") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:52] Set("Local/1100 at callback-00014881;2", "MONITOR_EXEC=/bin/rm /var/spool/asterisk/monitor/^{MONITOR_FILENAME}.wav") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:53] Goto("Local/1100 at callback-00014881;2", "60") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [1100 at callback:60] Macro("Local/1100 at callback-00014881;2", "auto-system,1100") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-auto-system:1] NoOp("Local/1100 at callback-00014881;2", "") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-auto-system:2] Macro("Local/1100 at callback-00014881;2", "queue-directory,1100") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:1] NoOp("Local/1100 at callback-00014881;2", "1") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:2] GotoIf("Local/1100 at callback-00014881;2", "1?que-1100:que-1100") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:101] Set("Local/1100 at callback-00014881;2", "ARRAY(Q_NAME,Q_EXIT,Q_NUMBER_MOB)=callcenter-msk,spb,") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:102] Set("Local/1100 at callback-00014881;2", "QUEUE_MAX_PENALTY=5") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:103] Goto("Local/1100 at callback-00014881;2", "exit") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:329] NoOp("Local/1100 at callback-00014881;2", "") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-queue-directory:330] Set("Local/1100 at callback-00014881;2", "__QUEUENAME=callcenter-msk") in new stack
[Feb 16 23:20:46] VERBOSE[633] pbx.c:     -- Executing [s at macro-auto-system:3] Queue("Local/1100 at callback-00014881;2", "callcenter-msk,t,,,60") in new stack
[Feb 16 23:20:46] VERBOSE[633] res_musiconhold.c:     -- Started music on hold, class 'default', on Local/1100 at callback-00014881;2
[Feb 16 23:20:49] VERBOSE[633] res_musiconhold.c:     -- Stopped music on hold on Local/1100 at callback-00014881;2
[Feb 16 23:20:49] VERBOSE[633] res_musiconhold.c:     -- Started music on hold, class 'default', on Local/1100 at callback-00014881;2
                  
> 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