[Home]

Summary:ASTERISK-20398: Asterisk crashing when recording ConfBridge calls (10.7.1)
Reporter:univ (univ)Labels:
Date Opened:2012-09-10 08:37:42Date Closed:2012-09-26 11:53:40
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Applications/app_confbridge
Versions:10.7.1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:CentOS as a KVM guest. Linux lb1 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:18 EDT 2012 x86_64 x86_64 x86_64 GNU/LinuxAttachments:
Description:Since I enabled call recording in my ConfBridge bridge profile, after about every 5th held conference (sometimes after 3, sometimes after 10, it depends), when the last users exits the conference, Asterisk crashes. Is this a known error? I'm using Asterisk 10.7.1 on CentOS 64bit with the official RPMs.

lb1*CLI>

[Sep 10 15:06:18] WARNING[21582]: file.c:496 filehelper: File /var/spool/asterisk/confbridge/confbridge-name-22*68*39*09-1347282201.46.sln detected to have zero size.

   -- <Bridge/0xaf10ba8-input> Playing '/var/lib/asterisk/sounds/chatfire_konferenz_verlassen_6.slin' (language 'en')

   -- <Bridge/0xaf10ba8-input> Playing 'confbridge-leave.gsm' (language 'en')

 == MixMonitor close filestream (mixed)

 == End MixMonitor Recording ConfBridgeRecorder/conf-22*68*39*09-uid-1446923861

lb1*CLI>

[Sep 10 15:06:19] WARNING[21582]: channel.c:2880 ast_hangup: Hard hangup called by thread 1115089216 on Bridge/0xaf10ba8-output, while fd is blocked by thread 1115597120 in procedure ast_waitfor_nandfds!
Expect a failure

lb1*CLI>

Disconnected from Asterisk server
Executing last minute cleanups


And here's the snippet from confbridge.conf:

[chatfire-internal-bridge]
type=bridge
record_conference=yes
sound_has_joined=/var/lib/asterisk/sounds/chatfire_betritt_konferenz_6
sound_has_left=/var/lib/asterisk/sounds/chatfire_konferenz_verlassen_6
sound_only_person=/var/lib/asterisk/sounds/chatfire_erster_anrufer_6
sound_there_are=/var/lib/asterisk/sounds/chatfire_es_befinden_sich_derzeit_6
sound_other_in_party=/var/lib/asterisk/sounds/chatfire_anrufer_in_der_besprechung_6
sound_get_pin=/var/lib/asterisk/sounds/chatfire_intro_6

And the dialplan:

; internal conference only
exten => 06,1,Answer()
exten => 06,n,Set(CHANNEL(language)=chatfire)
exten => 06,n,Set(CONFBRIDGE(user,template)=chatfire-internal-user)
exten => 06,n,Set(CONFBRIDGE(bridge,template)=chatfire-internal-bridge)
exten => 06,n,Set(CONFBRIDGE(bridge,record_file)=/tmp/chatfire-${STRFTIME(,,%C%y%m%d%H%M)}.wav)
exten => 06,n,ConfBridge(22*68*39*09,,,chatfire-internal-menu)
exten => 06,n,Hangup()


Help!

Thank you,
Markus
Comments:By: Matt Jordan (mjordan) 2012-09-10 09:02:02.451-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

Core dumps are only useful on the machine they're created from.  You'll need to generate a backtrace using the instructions mentioned above.  Please make sure that you have DONT_OPTIMIZE enabled, and preferably, BETTER_BACKTRACES as well.

By: univ (univ) 2012-09-12 04:24:00.198-0500

Hi Matt, thanks. I would like to do that and am trying to rebuild Asterisk with DONT_OPTIMIZE from the SRPM without success so far. I've posted on the asterisk-dev list, but didnt get much back. Maybe you can help me?

Here's my posting to asterisk-dev: http://lists.digium.com/pipermail/asterisk-dev/2012-September/056791.html

By: Matt Jordan (mjordan) 2012-09-12 08:30:53.182-0500

Not really.  If you're working outside of the Asterisk build system, there isn't much I can do to help you.  I would suggest either downloading the tarball from source at http://downloads.asterisk.org/pub/telephony/asterisk/ or follow Paul's suggestions.

By: Matt Jordan (mjordan) 2012-09-26 11:53:33.025-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines