[asterisk-bugs] [Asterisk 0011979]: Asterisk crash when I park a call

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 10 14:54:06 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11979 
====================================================================== 
Reported By:                jvandal
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   11979
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-12-2008 12:04 CST
Last Modified:              06-10-2008 14:53 CDT
====================================================================== 
Summary:                    Asterisk crash when I park a call
Description: 
Using Asterisk 1.4.18, when I try to park a call, I immediatly got a core
dump just after playback the parking lot.

CentOS 4.6, i386, kernel 2.6.9-67.0.1 (CentOS).



====================================================================== 

---------------------------------------------------------------------- 
 aragon - 06-10-08 14:53  
---------------------------------------------------------------------- 
I thought it was pretty clear

When we transfer the call to the Park() application using *1 (BLINDXFER),
asterisk crash at each attempts.

If we do a SIP transfer or *2 (ATXFER), all work as expected and no
crash.

sip transfer = ok
blindxfer *1 = crash
attended transfer *2 = ok

Generates segfault

-------------------
bt
-------------------
0 0x0045cab1 in do_parking_thread (ignore=0x0) at res_features.c:1733
1 0x08101a1b in dummy_start ()
2 0x008233cc in start_thread () from /lib/tls/libpthread.so.0
3 0x0073c1ae in clone () from /lib/tls/libc.so.6


-------------------
bt full
-------------------
0 0x0045cab1 in do_parking_thread (ignore=0x0) at res_features.c:1733
        __result = 1 '\001'
        f = (struct ast_frame *) 0x84e39bc
        chan = (struct ast_channel *) 0x84e09f0
        tms = 2286
        x = 0
        con = (struct ast_context *) 0x0
        pl = (struct parkeduser *) 0x0
        pt = (struct parkeduser *) 0x0
        ms = -1
        nrfds = {fds_bits = {0 <repeats 32 times>}}
        pu = (struct parkeduser *) 0x84f68c8
        max = -1
        nefds = {fds_bits = {0 <repeats 32 times>}}
        rfds = {fds_bits = {67108864, 0 <repeats 31 times>}}
        efds = {fds_bits = {0 <repeats 32 times>}}
        __PRETTY_FUNCTION__ = "do_parking_thread"
1 0x08101a1b in dummy_start ()
No symbol table info available.
2 0x008233cc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
3 0x0073c1ae in clone () from /lib/tls/libc.so.6
No symbol table info available.

jvandal changes dialplan (workaround) so there is no segfault

On /etc/asterisk/features.conf, I have change

parkext=700 to parkext=disabled

and on extensions.conf, I have add:

exten => 700,1,Park() 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-10-08 14:53  aragon         Note Added: 0088565                          
======================================================================




More information about the asterisk-bugs mailing list