[asterisk-bugs] [JIRA] (ASTERISK-29981) res_calendar: Asterisk crashes when starting, and will not run

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Jun 6 17:39:49 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259411#comment-259411 ] 

Friendly Automation commented on ASTERISK-29981:
------------------------------------------------

Change 18595 merged by Friendly Automation:
res_calendar: Prevent assertion if event ends in past.

[https://gerrit.asterisk.org/c/asterisk/+/18595|https://gerrit.asterisk.org/c/asterisk/+/18595]

> res_calendar: Asterisk crashes when starting, and will not run
> --------------------------------------------------------------
>
>                 Key: ASTERISK-29981
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29981
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_calendar
>    Affects Versions: 18.9.0
>            Reporter: N A
>            Severity: Major
>         Attachments: full.txt
>
>
> Asterisk has been crashing every 5 minutes for the last 3 hours. I have a script that starts it up every 5 minutes, except it crashes when started. Effectively, Asterisk will no longer run.
> Backtrace when starting:
> [2022-03-22 15:26:24] WARNING[29884]: sched.c:497 sched_settime: Bug likely: Negative time interval -55584000 (interpreted as 4239383296 ms) requested!
> [2022-03-22 15:26:24] ERROR[29884]: sched.c:500 sched_settime: FRACK!, Failed assertion 0 (0)
> [2022-03-22 15:26:25] ERROR[29884]:   Got 14 backtrace records
> # 0: asterisk __ast_assert_failed()
> # 1: asterisk <unknown>()
> # 2: asterisk <unknown>()
> # 3: asterisk ast_sched_add_variable()
> # 4: [0x7f2df0a81243] res_calendar.so res_calendar.c:1002 schedule_calendar_event()
> # 5: [0x7f2df0a814a1] res_calendar.so res_calendar.c:1050 add_new_event_cb()
> # 6: asterisk <unknown>()
> # 7: asterisk __ao2_callback()
> # 8: [0x7f2df0a8153c] res_calendar.so res_calendar.c:1061 ast_calendar_merge_events()
> # 9: [0x7f2df02cec26] res_calendar_icalendar.so res_calendar_icalendar.c:383 icalendar_update_events()
> #10: [0x7f2df02cf769] res_calendar_icalendar.so res_calendar_icalendar.c:483 ical_load_calendar()
> #11: asterisk <unknown>()
> #12: [0x7f2e02b38fa3] libpthread.so.0 pthread_create.c:487 start_thread()
> #13: [0x7f2e025cc4cf] libc.so.6 clone.S:97 clone()
> Backtrace from ast_coredumper:
> This is the first time I have had an issue where Asterisk itself does not start. res_calendar causes a crash as soon as it gets loaded.
> If I add noload = res_calendar to modules.conf, Asterisk starts, but now production is impaired and operating significantly degraded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list