[Home]

Summary:ASTERISK-08342: Asterisk randomly crashes
Reporter:Vladislav V. Shikhov (hound)Labels:
Date Opened:2006-12-13 02:40:43.000-0600Date Closed:2007-01-25 16:51:55.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Asterisk crashs with segmentation fault


****** ADDITIONAL INFORMATION ******

#0  0x080d2976 in ast_say_enumeration_full_en (chan=0xb79df2ba, num=1, ints=0x100 <Address 0x100 out of bounds>,
   language=0xb7a2897b <Address 0xb7a2897b out of bounds>, audiofd=137580656, ctrlfd=-1214014436) at say.c:2340
       millions = -1214014436
       res = -1214085933
       t = 0
       fn = "\000\000\000\000\000\000\000\000&#65533;\232&ASTERISK-1009;\001\000\000\000 &#65533;&ASTERISK-1009;x\201\234&#65533;\206A? &#65533;&ASTERISK-1009;>\000\000\000\000\000\000\000x\003\002\000>\000\000\000\210&#65533;N\b\034\234&#65533;&#65533;&#65533;\003\000\000\036\202\234&#65533;&#65533;\201\234&#65533;~&#65533;\017\b\001\000\000\000>", '\0' <repeats 27 times>, "\021&#65533;?&#65533;\201\234&#65533;&#65533;\215&#65533;&#65533;\034\234&#65533;&#65533;&#65533;\003\000\000\200&#65533;9\bH\202\234&#65533;{&#65533;\235&#65533;\001\000\000\000>\000\000\000&#65533;\204&#65533;&#65533;A\a\000\000&#65533;\215&#65533;&#65533;w&#65533;&#65533;&#65533;&#65533;\201\234&#65533;\000\000\000\000\036\202\234&#65533;ReTx", ' ' <repeats 12 times>, "2000X\202\234&#65533;\v&#65533;\235&#65533;pP3\b9@172.16.1.9:50"...
       __PRETTY_FUNCTION__ = "ast_say_enumeration_full_en"
#1  0x080d0420 in powiedz (chan=0x82f0810, language=0x82f0894 "\200\022&#65533;r\031&#65533;x n\b&#65533;\036p(&#65533;I\033&#65533;&#65533;\2042\226", audiofd=22, ctrlfd=12,
   ints=0xb79c8344 "\002", odm=0xb79c8340, rzad=-1214479480, i=-1214479512) at say.c:1735
       m1000E6 = 0
       i1000E6 = 18
       m1000E3 = 0
       i1000E3 = 2
       m1000 = 0
       i1000 = 0
       m100 = 0
       i100 = 52594
#2  0x080d75f3 in ast_say_date_with_format_he (chan=0x8231a08, time=39, ints=0x1 <Address 0x1 out of bounds>, lang=0x82f0810 "", format=0x81aa040 "",
   timezone=0xb79c8bb0 "&#65533;\213\234&#65533;&#65533;&#65533;\032\b&#65533;\213\234&#65533;\001") at say.c:3704
       tm = {tm_sec = -1214479552, tm_min = -1214479480, tm_hour = -1214479512, tm_mday = -1214513151, tm_mon = 0, tm_year = -1211841786,
 tm_wday = 135258432, tm_yday = 16, tm_isdst = 1310916610, tm_gmtoff = 151064748, tm_zone = 0x0}
       res = 0
       offset = 22
       sndoffset = 12
       sndfile = "\000&#65533;&#65533;&#65533;&#65533;\003\000\000&#65533;&#65533;\235&#65533;\t\000\000\000\206\207&#65533;&#65533;&#65533;\204&#65533;&#65533;\000\000\000\000&#65533;R3\b\000\000\000\000&#65533;&#65533;&#65533;&#65533;\034\234&#65533;&#65533;\001\000\000\000\022\000\000\000\b\203\234&#65533; \004\r\b&#65533;&#65533;\235&#65533;\001\000\000\000\000\001\000\000{\211&#65533;&#65533;pP3\b\034\234&#65533;&#65533;8\203\234&#65533;&#65533;&#65533;\235&#65533;pP3\b\030\203%\b\001\000\000\000\000\001\000\000\030\203%\b19@SipHost\000\000\000\000\000\000\000\000\000\000\030&#65533;C\b&#65533;\202\234&#65533; \203\234&#65533;\000\000\000\000&#65533;\202\234&#65533;|\000\020\b&#65533;\202\234&#65533;\002", '\0' <repeats 15 times>, "\001\000\000\000\000\001\000\000&#65533;&#65533;\235&#65533;\000\000\000\000\022\000\000\000\000\000\000\000\002", '\0' <repeats 15 times>...
       nextmsg = "D&#65533;&ASTERISK-1009;\000\000\000\000H", '\0' <repeats 19 times>, "&#65533;\232&ASTERISK-1009;\001\000\000\000 &#65533;&ASTERISK-1009;x\201\234&#65533;\206A? &#65533;&ASTERISK-1009;>\000\000\000\000\000\000\000x\003\002\000>\000\000\000\210&#65533;N\b\034\234&#65533;&#65533;&#65533;\003\000\000\036\202\234&#65533;&#65533;\201\234&#65533;~&#65533;\017\b\001\000\000\000>", '\0' <repeats 27 times>, "\021&#65533;?&#65533;\201\234&#65533;&#65533;\215&#65533;&#65533;\034\234&#65533;&#65533;&#65533;\003\000\000\200&#65533;9\bH\202\234&#65533;{&#65533;\235&#65533;\001\000\000\000>\000\000\000&#65533;\204&#65533;&#65533;A\a\000\000&#65533;\215&#65533;&#65533;w&#65533;&#65533;&#65533;&#65533;\201\234&#65533;\000\000\000\000\036\202\234&#65533;ReTx", ' ' <repeats 12 times>, "2000X\202\234&#65533;\v&#65533;\235&#65533;pP3\b9@17"...
       __PRETTY_FUNCTION__ = "ast_say_date_with_format_he"
#3  0x080aa357 in action_getvar (s=0x81aa120, m=0x9d) at strings.h:35
       c = (struct ast_channel *) 0x4
       name = 0x9 <Address 0x9 out of bounds>
       varname = 0x19 <Address 0x19 out of bounds>
       varval = 0xb79dce19 <Address 0xb79dce19 out of bounds>
       workspace = "&#65533;\200\234&#65533;&#65533;\200\234&#65533;\000\000\000\000@\200\234&#65533;&#65533;\177\234&#65533;\001\200&#65533;&#65533;&#65533;\200\234&#65533;&#65533;\200\234&#65533;&#65533;\200\234&#65533;&#65533;\200\234&#65533;\f\201\234&#65533;&#65533;\201\234&#65533;&#65533;\200\234&#65533;&#65533;\201\234&#65533;", '\0' <repeats 20 times>, " \000\000\000\000\000\000\000c\000\000\000\000\000\000&#65533;", '\0' <repeats 16 times>, "&#65533;\232&ASTERISK-1009;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533; \200\234&#65533;\021D? &#65533;&ASTERISK-1009;&#65533;\200\234&#65533;\001\000\000\000\000\210\001\000\203\223&#567;&#65533;\223&#567;\001i&ASTERISK-372;&#65533;\200\234&#65533;\000\210\001\000\001\000\000\000 \225&ASTERISK-1009;&#65533;&#65533;&#65533;&#65533;\000&#65533;\000\000\000\000\000\000\000\000\000\000\223\200u\000&#65533;A\000\000&#65533;\000&ASTERISK-1009;\000\006\000\000`\215<\b\204\200\234&#65533;\000\020\000\000"...
#4  0xb7a1c10e in ?? ()
No symbol table info available.
ASTERISK-1  0x081aa120 in ?? ()
No symbol table info available.
ASTERISK-2  0x0000009d in ?? ()
No symbol table info available.
ASTERISK-3  0xb7a366e7 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
ASTERISK-4  0xb7a366f2 in ?? ()
No symbol table info available.
ASTERISK-5  0xb7a3a280 in ?? ()
No symbol table info available.
ASTERISK-6 0x00000000 in ?? ()
No symbol table info available.
(gdb)
(gdb)
(gdb) quit
Comments:By: Joshua C. Colp (jcolp) 2006-12-18 12:01:59.000-0600

We need an unoptimized Asterisk build in order to track this down, you can do this by running make menuselect, going into compiler flags, and selecting DONT_OPTIMIZE. It would also be helpful to know what revision you are running and what the dialplan is like that calls this. Thanks!

By: Joshua C. Colp (jcolp) 2007-01-25 16:51:55.000-0600

It's been over a month and none of the needed information has been provided. If this is still happening and you can provide, feel free to reopen. Thanks!