[asterisk-bugs] [Asterisk 0014783]: [patch] segfault in ast_cdr_start() at cdr.c

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 4 07:09:44 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14783 
====================================================================== 
Reported By:                caspy
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14783
Category:                   CDR/General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-30 04:34 CDT
Last Modified:              2009-06-04 07:09 CDT
====================================================================== 
Summary:                    [patch] segfault in ast_cdr_start() at cdr.c
Description: 
Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0  0x0808c705 in ast_cdr_start (cdr=0x1)
at cdr.c:680
680                     if (!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED)) {

(gdb) bt
https://issues.asterisk.org/view.php?id=0  0x0808c705 in ast_cdr_start (cdr=0x1)
at cdr.c:680
https://issues.asterisk.org/view.php?id=1  0x0808df1e in
ast_cdr_specialized_reset (cdr=0xb79edb48, _flags=0x0)
at cdr.c:1090
https://issues.asterisk.org/view.php?id=2  0x080ca680 in ast_bridge_call
(chan=0xb79d0760, peer=0x8486510,
config=0xb5ab990c) at features.c:2548
https://issues.asterisk.org/view.php?id=3  0xb751e9cc in dial_exec_full
(chan=0xb79d0760, data=0xb5abbdd8,
peerflags=0xb5ab9c60, continue_exec=0x0) at app_dial.c:1913
https://issues.asterisk.org/view.php?id=4  0xb751f0c8 in dial_exec
(chan=0xb79d0760, data=0xb5abbdd8) at
app_dial.c:1969
https://issues.asterisk.org/view.php?id=5  0x080faa6d in pbx_exec (c=0xb79d0760,
app=0xb790fa30, data=0xb5abbdd8)
at pbx.c:936
https://issues.asterisk.org/view.php?id=6  0x08101bd4 in pbx_extension_helper
(c=0xb79d0760, con=0x0,
context=0xb79d09a8 "macro-stdexten", exten=0xb79d09f8 "s", priority=16,
label=0x0, callerid=0xb6f56608 "h?C?",
    action=E_SPAWN, found=0xb5abe548, combined_find_spawn=1) at
pbx.c:3105
https://issues.asterisk.org/view.php?id=7  0x081037e1 in ast_spawn_extension
(c=0xb79d0760, context=0xb79d09a8
"macro-stdexten", exten=0xb79d09f8 "s", priority=16, callerid=0xb6f56608
"h?C?", found=0xb5abe548,
    combined_find_spawn=1) at pbx.c:3600
https://issues.asterisk.org/view.php?id=8  0xb7076750 in _macro_exec
(chan=0xb79d0760, data=0xb5ac0f78,
exclusive=0) at app_macro.c:333
https://issues.asterisk.org/view.php?id=9  0xb7077f39 in macro_exec
(chan=0xb79d0760, data=0xb5ac0f78) at
app_macro.c:496
https://issues.asterisk.org/view.php?id=10 0x080faa6d in pbx_exec (c=0xb79d0760,
app=0xb79634a8, data=0xb5ac0f78)
at pbx.c:936
https://issues.asterisk.org/view.php?id=11 0x08101bd4 in pbx_extension_helper
(c=0xb79d0760, con=0x0,
context=0xb79d09a8 "macro-stdexten", exten=0xb79d09f8 "s", priority=8,
label=0x0, callerid=0xb6f56608 "h?C?",
    action=E_SPAWN, found=0xb5ac33bc, combined_find_spawn=1) at
pbx.c:3105
https://issues.asterisk.org/view.php?id=12 0x081037e1 in ast_spawn_extension
(c=0xb79d0760, context=0xb79d09a8
"macro-stdexten", exten=0xb79d09f8 "s", priority=8, callerid=0xb6f56608
"h?C?", found=0xb5ac33bc,
    combined_find_spawn=1) at pbx.c:3600
https://issues.asterisk.org/view.php?id=13 0x08103e65 in __ast_pbx_run
(c=0xb79d0760, args=0x0) at pbx.c:3687
https://issues.asterisk.org/view.php?id=14 0x0810505e in pbx_thread
(data=0xb79d0760) at pbx.c:3960
https://issues.asterisk.org/view.php?id=15 0x08153db4 in dummy_start
(data=0xb7955f98) at utils.c:861
https://issues.asterisk.org/view.php?id=16 0xb7ccf240 in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=17 0xb7daf49e in clone () from
/lib/tls/i686/cmov/libc.so.6

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

---------------------------------------------------------------------- 
 (0105969) caspy (reporter) - 2009-06-04 07:09
 https://issues.asterisk.org/view.php?id=14783#c105969 
---------------------------------------------------------------------- 
mnicholson,
will it be ok to change LOG_DEBUG to LOG_ERROR, or you need smth else from
debug log? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-04 07:09 caspy          Note Added: 0105969                          
======================================================================




More information about the asterisk-bugs mailing list