[asterisk-bugs] [Asterisk 0015616]: random crashes

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 15 11:45:58 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15616 
====================================================================== 
Reported By:                rgj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15616
Category:                   General
Reproducibility:            unable to reproduce
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.26 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-30 14:26 CDT
Last Modified:              2009-09-15 11:45 CDT
====================================================================== 
Summary:                    random crashes
Description: 
Our production Asterisk server crashes randomly, about once every two
days.
GDB shows random locations for the crash. The only thing they have in
common is that it's something near malloc, but it's being called from
really different locations each time.



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

---------------------------------------------------------------------- 
 (0110680) rgj (reporter) - 2009-09-15 11:45
 https://issues.asterisk.org/view.php?id=15616#c110680 
---------------------------------------------------------------------- 
Got one of these again

https://issues.asterisk.org/view.php?id=0  0x00bea7a2 in _dl_sysinfo_int80 ()
from /lib/ld-linux.so.2
https://issues.asterisk.org/view.php?id=1  0x00c2b825 in raise () from
/lib/tls/libc.so.6
https://issues.asterisk.org/view.php?id=2  0x00c2d289 in abort () from
/lib/tls/libc.so.6
https://issues.asterisk.org/view.php?id=3  0x00c5fcda in __libc_message () from
/lib/tls/libc.so.6
https://issues.asterisk.org/view.php?id=4  0x00c66fe5 in _int_malloc () from
/lib/tls/libc.so.6
https://issues.asterisk.org/view.php?id=5  0x00c687c9 in calloc () from
/lib/tls/libc.so.6
https://issues.asterisk.org/view.php?id=6  0x080fc20e in newpvt (t=0xd30820) at
/usr/src/asterisk/asterisk-1.4.26/include/asterisk/utils.h:359
https://issues.asterisk.org/view.php?id=7  0x080fc71b in
ast_translator_build_path (dest=64, source=3) at
translate.c:293
https://issues.asterisk.org/view.php?id=8  0x0807fe53 in set_format
(chan=0xb5c73160, fmt=6,
rawformat=0xb5c734e8, format=0xb5c734d8, trans=0xb5c734e4, direction=0) at
channel.c:3082
https://issues.asterisk.org/view.php?id=9  0x0808052e in
ast_channel_make_compatible (chan=0xb5c73160,
peer=0x9ac1228) at channel.c:3092
https://issues.asterisk.org/view.php?id=10 0x00789310 in try_calling
(qe=0xb5777840, options=Variable "options"
is not available.
) at app_queue.c:3081
https://issues.asterisk.org/view.php?id=11 0x0078d265 in queue_exec
(chan=0xb5c73160, data=0xb5777c70) at
app_queue.c:4077
https://issues.asterisk.org/view.php?id=12 0x080c315f in pbx_exec (c=0xb5c73160,
app=0x985d1c8, data=0xb5777c70)
at /usr/src/asterisk/asterisk-1.4.26/include/asterisk/strings.h:36
https://issues.asterisk.org/view.php?id=13 0x001b1462 in realtime_exec
(chan=0xb5c73160, context=0xb5c732e0
"default", exten=0xb5c73330 "14923", priority=2, callerid=0xb5374150
"Unknown", data=0x984d1f5 "@") at pbx_realtime.c:216
https://issues.asterisk.org/view.php?id=14 0x080cab58 in pbx_extension_helper
(c=0xb5c73160, con=Variable "con"
is not available.
) at pbx.c:1874
https://issues.asterisk.org/view.php?id=15 0x080cf2b6 in __ast_pbx_run
(c=0xb5c73160) at pbx.c:2283
https://issues.asterisk.org/view.php?id=16 0x080d11fe in pbx_thread
(data=0xb5c73160) at pbx.c:2599
https://issues.asterisk.org/view.php?id=17 0x081027c5 in dummy_start (data=0x6)
at utils.c:856
https://issues.asterisk.org/view.php?id=18 0x00d653cc in start_thread () from
/lib/tls/libpthread.so.0
https://issues.asterisk.org/view.php?id=19 0x00ccf96e in clone () from
/lib/tls/libc.so.6


(gdb) frame 6
https://issues.asterisk.org/view.php?id=6  0x080fc20e in newpvt (t=0xd30820) at
/usr/src/asterisk/asterisk-1.4.26/include/asterisk/utils.h:359
359     AST_INLINE_API(
(gdb) print t
$1 = (struct ast_translator *) 0xd30820
(gdb) print *t
$2 = {name = "\002\000\000\000I", '\0' <repeats 43 times>,
"PÔï\t\210f\226\t\000\000\000\000\000\000\000\000ð¤\214\t\000 í¶¸¡¤\tH\000\232\t",
srcfmt = 161417200, dstfmt = 161417200, newpvt = 

0x99eac40, 
  framein = 0x9a90730, frameout = 0xd30878 <main_arena+88>, destroy =
0xd30878 <main_arena+88>, sample = 0x9a5f4c8, buffer_samples = 161888184,
buf_size = 13830280, desc_size = 13830280, 
  plc_samples = 160341736, useplc = 161275944, native_plc = 163849624,
module = 0x99508c0, cost = 161085440, active = 165780744, list = {next =
0xd308a8}} 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-15 11:45 rgj            Note Added: 0110680                          
======================================================================




More information about the asterisk-bugs mailing list