[asterisk-bugs] [Asterisk 0010256]: Segfault in do_monitor/ast_sched_runq

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 27 05:25:32 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10256 
====================================================================== 
Reported By:                irroot
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10256
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.8  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-20-2007 06:37 CDT
Last Modified:              07-27-2007 05:25 CDT
====================================================================== 
Summary:                    Segfault in do_monitor/ast_sched_runq
Description: 
Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0xb7f61324 in pthread_mutex_lock () from
/lib/libpthread.so.0
(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb7f61324 in pthread_mutex_lock () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=1  0xb32fc47b in expire_register
(data=0x8382960) at
/mnt/x86_64/usr/src/voip/asterisk-1.4.8/include/asterisk/lock.h:532
http://bugs.digium.com/view.php?id=2  0x080eb60c in ast_sched_runq
(con=0x8319fc0) at sched.c:359
http://bugs.digium.com/view.php?id=3  0xb32fcc85 in do_monitor (data=0x0) at
chan_sip.c:15307
http://bugs.digium.com/view.php?id=4  0x080f67e9 in dummy_start (data=0x8318d58)
at utils.c:545
http://bugs.digium.com/view.php?id=5  0xb7f5f554 in ?? () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=6  0x08318d58 in ?? ()
http://bugs.digium.com/view.php?id=7  0xb34734a0 in ?? ()
http://bugs.digium.com/view.php?id=8  0xb34734a0 in ?? ()
http://bugs.digium.com/view.php?id=9  0xb34734a0 in ?? ()
http://bugs.digium.com/view.php?id=10 0xb34734a0 in ?? ()
http://bugs.digium.com/view.php?id=11 0x00000000 in ?? ()

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

---------------------------------------------------------------------- 
 irroot - 07-27-07 05:25  
---------------------------------------------------------------------- 
Here we go ...

Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0xb7f5e324 in pthread_mutex_lock () from
/lib/libpthread.so.0

http://bugs.digium.com/view.php?id=0  0xb7f5e324 in pthread_mutex_lock () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=1  0xb1c7a545 in ast_mutex_lock (pmutex=0x5c)
at
/mnt/x86_64/usr/src/voip/asterisk-1.4.8/include/asterisk/lock.h:532
http://bugs.digium.com/view.php?id=2  0xb1c94562 in expire_register
(data=0xb1b7cd60) at chan_sip.c:7686
http://bugs.digium.com/view.php?id=3  0x080e97e5 in ast_sched_runq
(con=0x837b740) at sched.c:359
http://bugs.digium.com/view.php?id=4  0xb1cb7f30 in do_monitor (data=0x0) at
chan_sip.c:15315
http://bugs.digium.com/view.php?id=5  0x080f729a in dummy_start (data=0x837df78)
at utils.c:545
http://bugs.digium.com/view.php?id=6  0xb7f5c554 in ?? () from
/lib/libpthread.so.0


http://bugs.digium.com/view.php?id=0  0xb7f5e324 in pthread_mutex_lock () from
/lib/libpthread.so.0
No symbol table info available.
http://bugs.digium.com/view.php?id=1  0xb1c7a545 in ast_mutex_lock (pmutex=0x5c)
at
/mnt/x86_64/usr/src/voip/asterisk-1.4.8/include/asterisk/lock.h:532
No locals.
http://bugs.digium.com/view.php?id=2  0xb1c94562 in expire_register
(data=0xb1b7cd60) at chan_sip.c:7686
        newcount = 0
        peer = (struct sip_peer *) 0x0
        __PRETTY_FUNCTION__ = "expire_register"
http://bugs.digium.com/view.php?id=3  0x080e97e5 in ast_sched_runq
(con=0x837b740) at sched.c:359
        current = (struct sched *) 0xb1b7a180
        tv = {tv_sec = 1185532429, tv_usec = 803774}
        numevents = 0
        res = -1313868936
http://bugs.digium.com/view.php?id=4  0xb1cb7f30 in do_monitor (data=0x0) at
chan_sip.c:15315
        res = 0
        sip = (struct sip_pvt *) 0x0
        peer = (struct sip_peer *) 0x0
        t = 1185532429
        fastrestart = 0
        lastpeernum = -1
        curpeernum = 22
        reloading = 0
        __PRETTY_FUNCTION__ = "do_monitor"
http://bugs.digium.com/view.php?id=5  0x080f729a in dummy_start (data=0x837df78)
at utils.c:545
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf =
{-1208582156, 0, 0, -1313868696, -1369752900, 402373846}, __mask_was_saved
= 0}}, __pad = {
    0xb1aff4a0, 0x0, 0x0, 0x0}}
        __cancel_routine = (void (*)(void *)) 0x8068b07
<ast_unregister_thread>
        __cancel_arg = (void *) 0xb1affba0
        not_first_call = 0
        ret = (void *) 0x0
        a = {start_routine = 0xb1cb78dc <do_monitor>, data = 0x0,
  name = 0x837df88 "do_monitor", ' ' <repeats 11 times>, "started at
[15369] chan_sip.c restart_monitor()"} 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-27-07 05:25  irroot         Note Added: 0067967                          
======================================================================




More information about the asterisk-bugs mailing list