[Home]

Summary:ASTERISK-25003: Asterisk crashes on attended transfer (using feature)
Reporter:Artem Volodin (diezel)Labels:
Date Opened:2015-04-23 12:36:19Date Closed:2015-05-07 06:29:06
Priority:MajorRegression?
Status:Closed/CompleteComponents:Features
Versions:12.8.2 13.1.0 13.3.2 Frequency of
Occurrence
Constant
Related
Issues:
is related toASTERISK-24681 Asterisk restarts during attended transfer if on-hold peer is disconnected before the ringing tones are heard
Environment:Linux host 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux Attachments:( 0) backtrace.txt
Description:Side A calls Side B, Side B answers and pushes dtmf *2 to channel (as attended transfer feature, previously configured). Asterisk puts Side A on hold (is playing MoH). At the same time Side B is pushing DTMF to channel, and Side A hungs up.
CLI warns:
[Apr 23 20:19:04] ERROR[47621][C-00000000]: astobj2.c:116 INTERNAL_OBJ: user_data is NULL
PBX*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
and Asterisk goes out.
Bug is the same as described here: ASTERISK-24681
Comments:By: Artem Volodin (diezel) 2015-04-23 12:51:38.231-0500

Side A - PSTN SIP trunk to another Asterisk, Side B - FXS gateway Eltex TAU72.IP
Is also affect version 12.8.2
IS NOT affect Asterisk 11.6-cert11

By: Richard Mudgett (rmudgett) 2015-04-23 13:05:09.023-0500

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

The reason the other issue was closed out is the reporter did not supply the requested information.

By: Artem Volodin (diezel) 2015-04-23 13:29:48.782-0500

Richard, thanks for short answer.
So, I've got what you are asking for.
Firstly, I got recompile asterisk with DONT_OPTIMIZE (actually, dunno what is that function do)
Start Asterisk with -g as root
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     35986 13.5  0.9 655756 36496 ?        Ssl  21:18   0:02 asterisk -g


I actually haven't clearly found how to make a backtrace, but did something.
Is that you've asked?


By: Artem Volodin (diezel) 2015-04-23 14:43:16.228-0500

Please inform me as possible if backtrace is enough diagnosis, because I have no affected laboratory, only real production system that urgently need to reinstall to 11.6

By: Richard Mudgett (rmudgett) 2015-04-23 14:52:01.083-0500

Yes that backtrace is helpful.

By: Artem Volodin (diezel) 2015-04-23 14:59:10.966-0500

OK, thank you.
I am on my way to prepare a lab for testing&diagnose, so you may ask me further in a coulpe days.

By: Richard Mudgett (rmudgett) 2015-05-05 18:25:52.359-0500

Patches up on gerrit:
https://gerrit.asterisk.org/#/c/372/
https://gerrit.asterisk.org/#/c/373/