[asterisk-bugs] [Asterisk 0011206]: Crush if DO_CRUSH

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 9 01:19:31 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11206 
====================================================================== 
Reported By:                slavon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11206
Category:                   Addons/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 89107 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-09-2007 00:58 CST
Last Modified:              11-09-2007 01:19 CST
====================================================================== 
Summary:                    Crush if DO_CRUSH
Description: 
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x0810210d in ast_sched_del
(con=0x81b8210, id=146790) at sched.c:286
http://bugs.digium.com/view.php?id=1  0xb6d838fe in ?? () from
/usr/lib/asterisk/modules/chan_sip.so
http://bugs.digium.com/view.php?id=2  0x081b8210 in ?? ()
http://bugs.digium.com/view.php?id=3  0x00023d66 in ?? ()
http://bugs.digium.com/view.php?id=4  0x00000000 in ?? ()
(gdb) bt full
http://bugs.digium.com/view.php?id=0  0x0810210d in ast_sched_del
(con=0x81b8210, id=146790) at sched.c:286
        s = (struct sched *) 0x0
        __PRETTY_FUNCTION__ = "ast_sched_del"
http://bugs.digium.com/view.php?id=1  0xb6d838fe in ?? () from
/usr/lib/asterisk/modules/chan_sip.so
No symbol table info available.
http://bugs.digium.com/view.php?id=2  0x081b8210 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=3  0x00023d66 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=4  0x00000000 in ?? ()
No symbol table info available.
(gdb) l
281
282             if (!s) {
283                     if (option_debug)
284                             ast_log(LOG_DEBUG, "Attempted to delete
nonexistent schedule entry %d!\n", id);
285     #ifdef DO_CRASH
286                     CRASH;
287     #endif
288                     return -1;
289             }
290

(gdb) p id
$1 = 146790

Not serious for me. Maybe its help to you. I also can turn off DO_CRASH if
you not needed to catch DO_CRASH crashes for fatal error...
====================================================================== 

---------------------------------------------------------------------- 
 slavon - 11-09-07 01:19  
---------------------------------------------------------------------- 
Sorry from wrong category 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-09-07 01:19  slavon         Note Added: 0073427                          
======================================================================




More information about the asterisk-bugs mailing list