[asterisk-bugs] [Asterisk 0012675]: Astersik sometimes is crashing after sip reload

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jun 4 09:33:08 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12675 
====================================================================== 
Reported By:                bilbolodz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12675
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-17-2008 08:44 CDT
Last Modified:              06-04-2008 09:33 CDT
====================================================================== 
Summary:                    Astersik sometimes is crashing after sip reload
Description: 
Sometimes after sip reload asterisk is crashing and generating core. My
setup is: sip friends and logs are in mysql database. Handler for config
and log is unix_odbc. I've changed for trial log handler to cdr_mysql but
nothing has changed. I've examined core and got:

Core was generated by `/usr/sbin/asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0xb4d2abc1 in __ast_pthread_mutex_lock
(filename=0xb4d7d464
"chan_sip.c", lineno=7909, func=0xb4d8296c "expire_register", 
    mutex_name=0xb4d7e66b "&(peer)->_lock", t=0x5c) at
/usr/src/asterisk-1.4.19.2/include/asterisk/lock.h:302
302             int canlog = strcmp(filename, "logger.c") & t->track;


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

---------------------------------------------------------------------- 
 bilbolodz - 06-04-08 09:33  
---------------------------------------------------------------------- 
(gdb) frame 1
http://bugs.digium.com/view.php?id=1  0xb4d4808f in expire_register
(data=0x832f3f0) at chan_sip.c:7909
7909			ASTOBJ_UNREF(peer, sip_destroy_peer);		/* Remove from memory */
(gdb) list
7904			Only for realtime peers and autocreated peers
7905		*/
7906		if (ast_test_flag(&peer->flags[1], SIP_PAGE2_SELFDESTRUCT) ||
7907		    ast_test_flag(&peer->flags[1], SIP_PAGE2_RTAUTOCLEAR)) {
7908			peer = ASTOBJ_CONTAINER_UNLINK(&peerl, peer);	/* Remove from peer
list */
7909			ASTOBJ_UNREF(peer, sip_destroy_peer);		/* Remove from memory */
7910		}
7911	
7912		return 0;
7913	} 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-04-08 09:33  bilbolodz      Note Added: 0087799                          
======================================================================




More information about the asterisk-bugs mailing list