[Home]

Summary:ASTERISK-28205: module app_queue.so stoped
Reporter:Vladimer (vgabunia)Labels:
Date Opened:2018-12-11 02:54:31.000-0600Date Closed:2020-01-14 11:13:53.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_queue
Versions:13.23.1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I opened Case before: ASTERISK-28122
After upgrade to version 13.23.1 issue stil happens.

Got 24 backtrace records
#0: [0x51911f] /usr/sbin/asterisk(ast_json_pack+0x8f) [0x51911f]
#1: [0x5af7f4] /usr/sbin/asterisk() [0x5af7f4]
#2: [0x5b0136] /usr/sbin/asterisk(ast_channel_publish_dial+0x106) [0x5b0136]
#3: [0x7ff7d7df703b] /usr/lib64/asterisk/modules/app_dial.so(+0x703b) [0x7ff7d7df703b]
#4: [0x7ff7d7dfade9] /usr/lib64/asterisk/modules/app_dial.so(+0xade9) [0x7ff7d7dfade9]
#5: [0x7ff7d7dfcec6] /usr/lib64/asterisk/modules/app_dial.so(+0xcec6) [0x7ff7d7dfcec6]
#6: [0x5644b5] /usr/sbin/asterisk(pbx_exec+0xd5) [0x5644b5]
#7: [0x559ba6] /usr/sbin/asterisk() [0x559ba6]
#8: [0x55a050] /usr/sbin/asterisk(ast_spawn_extension+0x30) [0x55a050]
#9: [0x7ff7c0ccad3e] /usr/lib64/asterisk/modules/app_macro.so(+0x2d3e) [0x7ff7c0ccad3e]
#10: [0x5644b5] /usr/sbin/asterisk(pbx_exec+0xd5) [0x5644b5]
#11: [0x559ba6] /usr/sbin/asterisk() [0x559ba6]
#12: [0x55a050] /usr/sbin/asterisk(ast_spawn_extension+0x30) [0x55a050]
#13: [0x7ff7c0ccad3e] /usr/lib64/asterisk/modules/app_macro.so(+0x2d3e) [0x7ff7c0ccad3e]
#14: [0x5644b5] /usr/sbin/asterisk(pbx_exec+0xd5) [0x5644b5]
#15: [0x559ba6] /usr/sbin/asterisk() [0x559ba6]
#16: [0x561a8d] /usr/sbin/asterisk() [0x561a8d]
#17: [0x5631db] /usr/sbin/asterisk() [0x5631db]
#18: [0x5d0a5b] /usr/sbin/asterisk() [0x5d0a5b]

I cannot reproduce this error, it's happens randomly and stops app_queue.so
Comments:By: Asterisk Team (asteriskteam) 2018-12-11 02:54:33.072-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Chris Savinovich (csavinovich) 2018-12-11 11:41:07.452-0600

Looking at both ASTERISK-28205 and ASTERISK-28122 they lack the sufficient data to replicate.  Please follow the instructions at https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines, including steps required to reproduce the issue in addition to logs, related sections of conf files, dialplan if applicate and if possible your core dump.  Linux OS distro info and hardware will also help.


By: Vladimer (vgabunia) 2018-12-11 20:53:59.425-0600

Thank You for responce,
My hardware is:
{noformat}
[root@GPIH-VoIP-PBX src]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    1
Core(s) per socket:    8
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Stepping:              2
CPU MHz:               2297.339
BogoMIPS:              4594.67
Hypervisor vendor:     VMware
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              30720K
NUMA node0 CPU(s):     0-7
{noformat}

Linux version 2.6.32-642.6.2.el6.x86_64 (mockbuild@worker1.bsys.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Wed Oct 26 06:52:09 UTC 2016

CentOS release 6.6

This is FreePBX 13.0.195.23 (FreePBX-Distro-10.13.66)

It's  very difficult to provide full core dump, because impossible to guess when happens.
we'r usind native freepbx queue configuration.
additional configuration defined in extension_override_freepbx.con

{noformat}
[ext-local-custom]
exten => 998,1,Noop(Redirect To Call Center)
exten => 998,n,Goto(GPIH-CheckPref-DOC,s,1)
exten => 999,1,Goto(CheckifPref-Queue,s,1)
exten => 996,1,Goto(GPIH-CheckPref-Lead,s,1)
exten => 992,1,Goto(GPIH-CheckPred-Ped,s,1)

[GPIH-CheckPref-DOC]
;exten => s,1,Set(CALLERID(num)=DOC-${CALLERID(num)})
;exten => s,n,Set(CALLERID(name)=DOC-${CALLERID(name)})
exten => s,1,Noop(Check If Prefix "DOC" Exist)
exten => s,n,Set(_PREF=${CALLERID(num):0:3})}
exten => s,n,GotoIf($["${PREF}" = "DOC"]?Y:N)
exten => s,n,Noop(PREFIX is ${PREF})
exten => s,n(Y),Noop( -===============================  Prefix ${PREF} Exist ======================================-)
exten => s,n,Goto(app-setcid,3,1)
exten => s,n,Return()
exten => s,n(N),Noop( -===============================  Prefix DOC Not Exist ======================================-)
exten => s,n,Goto(app-setcid,2,1)
exten => s,n,Return()

[GPIH-CheckPred-Ped]
exten => s,1,Noop(Check If Prefix "URG" Exist)
exten => s,n,Set(_PREF=${CALLERID(num):0:3})}
exten => s,n,GotoIf($["${PREF}" = "URG"]?UY:UN)
exten => s,n,Noop(PREFIX is ${PREF})
exten => s,n(UY),Noop( -===============================  Prefix URG Exist ======================================-)
exten => s,n,Set(CALLERID(name)=${CALLERID(num):4})
exten => s,n,Set(CALLERID(num)=${CALLERID(num):4})
;exten => s,n(UN),Set(CALLERID(num)=322505111)
;exten => s,n,Set(CALLERID(name)=322505111)
exten => s,n,Noop(========== NEW CallerID is ${CALLERID(num)} =========)
exten => s,n(UN),Goto(app-setcid,12,1)
exten => s,n,Return()

[CheckifPref-Queue]
;exten => s,1,Set(CALLERID(num)=DOC-${CALLERID(num)})
;exten => s,n,Set(CALLERID(name)=DOC-${CALLERID(name)})
exten => s,1,Noop(Check If Prefix "DOC" Exist)
exten => s,n,Set(_PREF=${CALLERID(num):0:3})}
exten => s,n,GotoIf($["${PREF}" = "DOC"]?DY:DN)
exten => s,n,Noop(PREFIX is ${PREF})
exten => s,n(DY),Noop( -===============================  Prefix DOC Exist ======================================-)
exten => s,n,Goto(app-setcid,4,1)
exten => s,n,Return()
exten => s,n(DN),Noop(Check If Prefix "DOC-GPIH" Exist)
exten => s,n,Set(_PREF=${CALLERID(num):0:8})}
exten => s,n,GotoIf($["${PREF}" = "DOC-GPIH"]?DGY:DGN)
exten => s,n,Noop(PREFIX is ${PREF})
exten => s,n(DGY),Noop( -===============================  Prefix DOC-GPIH  Exist ======================================-)
exten => s,n,Goto(app-setcid,15,1)
exten => s,n,Return()
exten => s,n(DGN),Noop(Check If Prefix "URG" Exist)
exten => s,n,Set(_PREF=${CALLERID(num):0:3})}
exten => s,n,GotoIf($["${PREF}" = "URG"]?VY:VN)
exten => s,n,Noop(PREFIX is ${PREF})
exten => s,n(VY),Noop( -===============================  Prefix URG  Not Exist ======================================-)
exten => s,n,Goto(app-setcid,4,1)
exten => s,n,Return()
exten => s,n(VN),Noop(Check If Prefix "LEAD" Exist)
exten => s,n,Set(_PREF=${CALLERID(num):0:4})}
exten => s,n,Noop(PREFIX is ${PREF})
exten => s,n,GotoIf($["${PREF}" = "LEAD"]?LDY:LDN)
exten => s,n(LDY),Set(CALLERID(num)=${CALLERID(num):5})
exten => s,n,Set(CALLERID(name)=${CALLERID(num):5})
exten => s,n,Noop(========== NEW CallerID is ${CALLERID(num)} =========)
;exten => s,n,Hangup()
exten => s,n(LDN),Goto(timeconditions,3,1)
{noformat}

here is prefix manipulation rules only.

we are using Asternic and FOP2 systems also on same host.

What else can you need?

By: Richard Mudgett (rmudgett) 2018-12-12 06:55:23.925-0600

The "backtrace" you provided looks to be something you extracted from the logging file and should be associated with a FRACK.  Please *attach* the log file (do not paste it into a comment) where you got the "backtrace" to the issue as instructed by the issue reporting guidelines you were directed to follow.

By: Joshua C. Colp (jcolp) 2018-12-17 05:22:49.278-0600

Please attach the information that [~rmudgett] mentioned so we can see the further details.

By: Asterisk Team (asteriskteam) 2018-12-31 12:00:01.185-0600

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines