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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 2 02:15:31 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/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-04-02 02:15 CDT
====================================================================== 
Summary:                    segfault in ast_cdr_start() at cdr.c
Description: 
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/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
http://bugs.digium.com/view.php?id=0  0x0808c705 in ast_cdr_start (cdr=0x1) at
cdr.c:680
http://bugs.digium.com/view.php?id=1  0x0808df1e in ast_cdr_specialized_reset
(cdr=0xb79edb48, _flags=0x0)
at cdr.c:1090
http://bugs.digium.com/view.php?id=2  0x080ca680 in ast_bridge_call
(chan=0xb79d0760, peer=0x8486510,
config=0xb5ab990c) at features.c:2548
http://bugs.digium.com/view.php?id=3  0xb751e9cc in dial_exec_full
(chan=0xb79d0760, data=0xb5abbdd8,
peerflags=0xb5ab9c60, continue_exec=0x0) at app_dial.c:1913
http://bugs.digium.com/view.php?id=4  0xb751f0c8 in dial_exec (chan=0xb79d0760,
data=0xb5abbdd8) at
app_dial.c:1969
http://bugs.digium.com/view.php?id=5  0x080faa6d in pbx_exec (c=0xb79d0760,
app=0xb790fa30, data=0xb5abbdd8)
at pbx.c:936
http://bugs.digium.com/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
http://bugs.digium.com/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
http://bugs.digium.com/view.php?id=8  0xb7076750 in _macro_exec
(chan=0xb79d0760, data=0xb5ac0f78,
exclusive=0) at app_macro.c:333
http://bugs.digium.com/view.php?id=9  0xb7077f39 in macro_exec (chan=0xb79d0760,
data=0xb5ac0f78) at
app_macro.c:496
http://bugs.digium.com/view.php?id=10 0x080faa6d in pbx_exec (c=0xb79d0760,
app=0xb79634a8, data=0xb5ac0f78)
at pbx.c:936
http://bugs.digium.com/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
http://bugs.digium.com/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
http://bugs.digium.com/view.php?id=13 0x08103e65 in __ast_pbx_run (c=0xb79d0760,
args=0x0) at pbx.c:3687
http://bugs.digium.com/view.php?id=14 0x0810505e in pbx_thread (data=0xb79d0760)
at pbx.c:3960
http://bugs.digium.com/view.php?id=15 0x08153db4 in dummy_start
(data=0xb7955f98) at utils.c:861
http://bugs.digium.com/view.php?id=16 0xb7ccf240 in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
http://bugs.digium.com/view.php?id=17 0xb7daf49e in clone () from
/lib/tls/i686/cmov/libc.so.6

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

---------------------------------------------------------------------- 
 (0102597) caspy (reporter) - 2009-04-02 02:15
 http://bugs.digium.com/view.php?id=14783#c102597 
---------------------------------------------------------------------- 
died once again:

Core was generated by `/usr/sbin/asterisk -f -g -q'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0x0808c705 in ast_cdr_start (cdr=0xde) at
cdr.c:680
680                     if (!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED)) {
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x0808c705 in ast_cdr_start (cdr=0xde) at
cdr.c:680
http://bugs.digium.com/view.php?id=1  0x0808df1e in ast_cdr_specialized_reset
(cdr=0xb5b28158, _flags=0x0)
at cdr.c:1090
http://bugs.digium.com/view.php?id=2  0x080ca680 in ast_bridge_call
(chan=0xb6b89690, peer=0x84645f8,
config=0xb648d90c) at features.c:2548
http://bugs.digium.com/view.php?id=3  0xb771b9cc in dial_exec_full
(chan=0xb6b89690, data=0xb648fdd8,
peerflags=0xb648dc60, continue_exec=0x0) at app_dial.c:1913
http://bugs.digium.com/view.php?id=4  0xb771c0c8 in dial_exec (chan=0xb6b89690,
data=0xb648fdd8) at
app_dial.c:1969
http://bugs.digium.com/view.php?id=5  0x080faa6d in pbx_exec (c=0xb6b89690,
app=0xb7610360, data=0xb648fdd8)
at pbx.c:936
http://bugs.digium.com/view.php?id=6  0x08101bd4 in pbx_extension_helper
(c=0xb6b89690, con=0x0,
context=0xb6b898d8 "macro-stdexten", exten=0xb6b89928 "s", priority=16,
label=0x0,
    callerid=0xb6b184f8 "\nAppData: SIP/1297\r\nUniqueid:
1238656184.165625\rappend_history_va", action=E_SPAWN, found=0xb6492548,
combined_find_spawn=1) at pbx.c:3105
http://bugs.digium.com/view.php?id=7  0x081037e1 in ast_spawn_extension
(c=0xb6b89690, context=0xb6b898d8
"macro-stdexten", exten=0xb6b89928 "s", priority=16,
    callerid=0xb6b184f8 "\nAppData: SIP/1297\r\nUniqueid:
1238656184.165625\rappend_history_va", found=0xb6492548,
combined_find_spawn=1) at pbx.c:3600
http://bugs.digium.com/view.php?id=8  0xb7085750 in _macro_exec
(chan=0xb6b89690, data=0xb6494f78,
exclusive=0) at app_macro.c:333
http://bugs.digium.com/view.php?id=9  0xb7086f39 in macro_exec (chan=0xb6b89690,
data=0xb6494f78) at
app_macro.c:496
http://bugs.digium.com/view.php?id=10 0x080faa6d in pbx_exec (c=0xb6b89690,
app=0xb7663010, data=0xb6494f78)
at pbx.c:936
http://bugs.digium.com/view.php?id=11 0x08101bd4 in pbx_extension_helper
(c=0xb6b89690, con=0x0,
context=0xb6b898d8 "macro-stdexten", exten=0xb6b89928 "s", priority=8,
label=0x0,
    callerid=0xb6b184f8 "\nAppData: SIP/1297\r\nUniqueid:
1238656184.165625\rappend_history_va", action=E_SPAWN, found=0xb64973bc,
combined_find_spawn=1) at pbx.c:3105
http://bugs.digium.com/view.php?id=12 0x081037e1 in ast_spawn_extension
(c=0xb6b89690, context=0xb6b898d8
"macro-stdexten", exten=0xb6b89928 "s", priority=8,
    callerid=0xb6b184f8 "\nAppData: SIP/1297\r\nUniqueid:
1238656184.165625\rappend_history_va", found=0xb64973bc,
combined_find_spawn=1) at pbx.c:3600
http://bugs.digium.com/view.php?id=13 0x08103e65 in __ast_pbx_run (c=0xb6b89690,
args=0x0) at pbx.c:3687
http://bugs.digium.com/view.php?id=14 0x0810505e in pbx_thread (data=0xb6b89690)
at pbx.c:3960
http://bugs.digium.com/view.php?id=15 0x08153db4 in dummy_start
(data=0xb6b781e0) at utils.c:861
http://bugs.digium.com/view.php?id=16 0xb7cdd240 in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
http://bugs.digium.com/view.php?id=17 0xb7dbd49e in clone () from
/lib/tls/i686/cmov/libc.so.6 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-02 02:15 caspy          Note Added: 0102597                          
======================================================================




More information about the asterisk-bugs mailing list