[Home]

Summary:ASTERISK-15980: Crash on Park execute
Reporter:Vincenzo Marrone (vmarrone)Labels:
Date Opened:2010-04-20 09:09:28Date Closed:2011-06-07 14:00:18
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_features
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When the channel is redirect on this exten:

exten => _X.,9,Park(6000000,someContext,${EXTEN},2,s)

( with the option 's' for silence the message)

sometimes asterisk Crashes.


This is the Back Trace of the core dump:

#0  0x00a177dc in memcpy () from /lib/libc.so.6
#1  0x080d32d4 in ast_frdup (f=0x910bf50) at frame.c:527
#2  0x080cea7c in ast_readframe (s=0x910bf20) at file.c:707
#3  0x00139bec in moh_files_generator (chan=0x8da95a0, data=0x8d43ee8, len=0, samples=160) at res_musiconhold.c:311
#4  0x0809a5d1 in generator_force (data=0x8da95a0) at channel.c:1968
ASTERISK-1  0x0809b69e in __ast_read (chan=0x8da95a0, dropaudio=0) at channel.c:2678
ASTERISK-2  0x080cc8ab in manage_parkinglot (curlot=0x86a9330, rfds=0xb7dc4298, efds=0xb7dc4218, nrfds=0xb7dc4198, nefds=0xb7dc4118, ms=0xb7dc433c, max=0xb7dc4338) at features.c:3116
ASTERISK-3  0x080cd997 in do_parking_thread (ignore=0x0) at features.c:3197
ASTERISK-4  0x081516bb in dummy_start (data=0x8823df0) at utils.c:968
ASTERISK-5  0x00af973b in start_thread () from /lib/libpthread.so.0
ASTERISK-6 0x00a77cfe in clone () from /lib/libc.so.6


****** ADDITIONAL INFORMATION ******

This happens very frequently. For understanding the impact of the problem, the crash happens 4 time per week on a server that processes almost 140000 call at day, and the Asterisk task is always on (server never restarts).
I hope that this BT is enough to understand the cause of the problem.
Comments:By: Paul Belanger (pabelanger) 2010-04-20 10:58:53

We'll need a full backtrace.

http://svn.asterisk.org/svn/asterisk/trunk/doc/backtrace.txt

---
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:

make install

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: Vincenzo Marrone (vmarrone) 2010-04-23 02:42:44

Ok, soon as possible, i attach that file! Thank You!

By: Leif Madsen (lmadsen) 2010-04-26 12:35:39

Also please provide the dialplan utilized along with the console trace to show how to reproduce this issue.

By: Paul Belanger (pabelanger) 2010-05-12 13:05:26

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