|Summary:||ASTERISK-16267: Crash after queue/agents module reload|
|Reporter:||martin cabrera (galeras)||Labels:|
|Date Opened:||2010-06-18 10:22:04||Date Closed:||2010-06-25 14:37:04|
|Environment:||Attachments:||( 0) backtrace-17531-v1.txt|
|Description:||Asterisk crashes few minutes after queue and agents modules are reloaded. Core file shows crash occurs during agentlogin channel hangup. i've tried to run with DONT_OPTIMIZE, but asterisk refuses to receive calls.|
We're using agentlogin to allow gnudialer (predictive dialer), place calls to agents via AMI.
|Comments:||By: Paul Belanger (pabelanger) 2010-06-18 10:31:41|
Without a backtrace (see below), there is not much we can do.
Thank you for your bug report. In order to move your issue forward, we require a backtrace from the core file produced after the crash. Please see the doc/backtrace.txt file in your Asterisk source directory.
Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:
after enabling, reproduce the crash, and then execute the instructions in doc/backtrace.txt.
When complete, attach that file to this issue report. Thanks!
By: martin cabrera (galeras) 2010-06-18 11:11:41
Please don't take a look of crash-issue-17531.zip file, it was generated without DONT_OPTIMIZE, i'm preparing a new bunch of files with DONT_OPTIMIZE enabled. BTW, how can i delete the this attached file?
By: Paul Belanger (pabelanger) 2010-06-18 11:29:28
You cannot delete attachments; I can however. Also, upload your files separately.
By: martin cabrera (galeras) 2010-06-22 15:43:47
backtrace-17531-v1.txt file contains info with DONT_OPTIMIZE enabled. BTW, We're using a patch for channel.c to add callerid output to Hangup Event:
< "CallerIDNum: %s\r\n"
< "CallerIDName: %s\r\n"
< S_OR(chan->cid.cid_num, "<unknown>"),
< S_OR(chan->cid.cid_name, "<unknown>"),
Please let me to know what else can we do. Thanks
By: Paul Belanger (pabelanger) 2010-06-22 16:39:11
Does the crash still happen without your patch?
By: martin cabrera (galeras) 2010-06-25 14:33:55
I couldn't reproduce the crash without the patch because this is requiered by the predictive dialer and the crash only happens when predictive dialer is running.
Searching in log files, i found crash happend when an agentlogin channel is hanged up.
I found a work around: using agentcallbacklogin instead of agentlogin prevents crashes after reloading asterisk.
I think we can close this issue, because crash can't be reproduced with a clean asterisk installation.
Thanks a lot.
By: Paul Belanger (pabelanger) 2010-06-25 14:37:03
Closing; not an issue within Asterisk.