[asterisk-bugs] [Asterisk 0013476]: 5277 Segmentation fault

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 17 16:47:11 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13476 
====================================================================== 
Reported By:                jonnt
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13476
Category:                   Channels/chan_agent
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0-rc6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-12 22:23 CDT
Last Modified:              2008-09-17 16:47 CDT
====================================================================== 
Summary:                    5277 Segmentation fault
Description: 
home*CLI> core stop gracefully

 /usr/sbin/safe_asterisk: line 138:  5277 Segmentation fault      (core
dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
>&/dev/${TTY} < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.

home*CLI> core stop now
home*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
[root at home asterisk]# Asterisk ended with exit status 0
Asterisk shutdown normally.

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

---------------------------------------------------------------------- 
 (0092644) putnopvut (administrator) - 2008-09-17 16:47
 http://bugs.digium.com/view.php?id=13476#c92644 
---------------------------------------------------------------------- 
It seems as though the agent device state subscription is NULL, and that
causes a problem when we try to unsubscribe. I have made a patch which
simply tests that the pointer is non-NULL prior to calling
ast_event_unsubscribe. Please test 13476.patch to see if it fixes the
problem. I created the patch against the the latest 1.6.0 subversion
checkout, but the patch should also apply cleanly to the 1.6.0-rc6 tag as
well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-17 16:47 putnopvut      Note Added: 0092644                          
======================================================================




More information about the asterisk-bugs mailing list