[asterisk-bugs] [Asterisk 0013294]: crash after "Hard hangup called while fd is blocked"

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 12 08:08:26 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13294 
====================================================================== 
Reported By:                pj
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   13294
Category:                   Channels/chan_skinny
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 136787 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-12 15:31 CDT
Last Modified:              2008-09-12 08:08 CDT
====================================================================== 
Summary:                    crash after "Hard hangup called while fd is blocked"
Description: 
from time to time crash like this happen,
maybe it's due to lost skinny signaling connection from phone to
chan_skinny during processing call? I don't know, it's only my idea, when
looking at console log.

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

---------------------------------------------------------------------- 
 (0092421) pj (reporter) - 2008-09-12 08:08
 http://bugs.digium.com/view.php?id=13294#c92421 
---------------------------------------------------------------------- 
maybe this can be related, cli after skinny hangup:
[Sep 12 15:07:06]     -- Skinny/687 at PAM-8 answered SIP/ipbx-gw-0833d130
[Sep 12 15:07:06]     -- Packet2Packet bridging SIP/ipbx-gw-0833d130 and
Skinny/687 at PAM-8
[Sep 12 15:08:19]        > Killing only sub 8
ipbx*CLI>
Disconnected from Asterisk server


/var/log/asterisk/mmlog:

1221154956 - New session
WARNING: High fence violation at 0x8300490, in req_alloc of chan_skinny.c,
line 1445
WARNING: Freeing unused memory at 0x83084b0, in skinny_hangup of
chan_skinny.c, line 3553
WARNING: High fence violation at 0x8301b50, in req_alloc of chan_skinny.c,
line 1445
WARNING: Freeing unused memory at 0x83049d0, in skinny_hangup of
chan_skinny.c, line 3553
WARNING: High fence violation at 0x8263970, in req_alloc of chan_skinny.c,
line 1445
WARNING: Freeing unused memory at 0x8314a58, in skinny_hangup of
chan_skinny.c, line 3553
WARNING: Freeing unused memory at (nil), in ast_free_ptr of
/root/src/asterisk142535/include/asterisk/utils.h, line 396
WARNING: Freeing unused memory at (nil), in ast_free_ptr of
/root/src/asterisk142535/include/asterisk/utils.h, line 396
WARNING: Freeing unused memory at (nil), in ast_free_ptr of
/root/src/asterisk142535/include/asterisk/utils.h, line 396

thread apply all bt:

Thread 1 (process 15327):
http://bugs.digium.com/view.php?id=0  0xb7ce526f in ?? () from
/lib/i686/libc.so.6
http://bugs.digium.com/view.php?id=1  0xb7b979ab in _Unwind_Backtrace () from
/lib/libgcc_s.so.1
http://bugs.digium.com/view.php?id=2  0xb7ce5428 in backtrace () from
/lib/i686/libc.so.6
http://bugs.digium.com/view.php?id=3  0x080f79c6 in ast_bt_get_addresses
(bt=0xe580983c) at logger.c:1190
http://bugs.digium.com/view.php?id=4  0xb7823743 in __ast_pthread_mutex_lock
(filename=0xb7839dd4
"chan_skinny.c", lineno=3543, func=0xb783bc3a "skinny_hangup",
mutex_name=0xb783a8b9 "&sub->lock", t=0x8336588)
    at /root/src/asterisk142535/include/asterisk/lock.h:501
http://bugs.digium.com/view.php?id=5  0xb782c72a in skinny_hangup
(ast=0x8334890) at chan_skinny.c:3543
http://bugs.digium.com/view.php?id=6  0x0809554e in ast_hangup (chan=0x8334890)
at channel.c:1623
http://bugs.digium.com/view.php?id=7  0xb774af7d in dial_exec_full
(chan=0x832ff58, data=0xb73aee88,
peerflags=0xb73accfc, continue_exec=0x0) at app_dial.c:1980
http://bugs.digium.com/view.php?id=8  0xb774bc2a in dial_exec (chan=0x832ff58,
data=0xb73aee88) at
app_dial.c:2014
http://bugs.digium.com/view.php?id=9  0x0810a017 in pbx_exec (c=0x832ff58,
app=0x8249c70, data=0xb73aee88)
at pbx.c:950
http://bugs.digium.com/view.php?id=10 0x08111a22 in pbx_extension_helper
(c=0x832ff58, con=0x0,
context=0x83307d6 "from-bill", exten=0x8330826 "sw-26-687", priority=10,
label=0x0, callerid=0x8317ba8 "716", action=E_SPAWN, found=0xb73b12e0,
    combined_find_spawn=1) at pbx.c:3188
http://bugs.digium.com/view.php?id=11 0x08112ff2 in ast_spawn_extension
(c=0x832ff58, context=0x83307d6
"from-bill", exten=0x8330826 "sw-26-687", priority=10, callerid=0x8317ba8
"716", found=0xb73b12e0, combined_find_spawn=1) at pbx.c:3622
http://bugs.digium.com/view.php?id=12 0x081136d4 in __ast_pbx_run (c=0x832ff58)
at pbx.c:3710
http://bugs.digium.com/view.php?id=13 0x081153a9 in pbx_thread (data=0x832ff58)
at pbx.c:3988
http://bugs.digium.com/view.php?id=14 0x0816cffc in dummy_start (data=0x8315d90)
at utils.c:1024
http://bugs.digium.com/view.php?id=15 0xb7be3315 in start_thread () from
/lib/i686/libpthread.so.0
http://bugs.digium.com/view.php?id=16 0xb7cd1dde in clone () from
/lib/i686/libc.so.6 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-12 08:08 pj             Note Added: 0092421                          
======================================================================




More information about the asterisk-bugs mailing list