[asterisk-bugs] [JIRA] (ASTERISK-27401) Random crashs during the automatic calendars refresh

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Nov 8 08:51:28 CST 2017


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

George Joseph commented on ASTERISK-27401:
------------------------------------------

It looks like the event owner is NULL by the time the event is actually run.  We can prevent the crash by checking for the NULL but we also need to figure out why it's NULL in the first place.

Please run with "core set debug 5 res_calendar.so" and "core set debug 5 res_calendar_???.so" where "???" is whichever implementation you're using and attach the debug output to this issue.  That should give us more info.




> Random crashs during the automatic calendars refresh
> ----------------------------------------------------
>
>                 Key: ASTERISK-27401
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27401
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_calendar
>    Affects Versions: 13.18.0
>         Environment: SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
>            Reporter: Benoît Dereck-Tricot
>         Attachments: core-brief.txt, core-full.txt, core-thread1.txt
>
>
> Hello, we are having random crashes on all of our servers.
> According to the backtrace from the core dump, it is happening during a do_refresh in the calendar module.
> While most of the crashes happened at midnight, there are exceptions (with similar backtraces)
> I tried to find a way to reproduce the crash, playing with timedatectl to loop back just before midnight every few seconds and forcing the calendars to reload at the same time, with litte success : I could only get a crash on purpose once...
> I think I can use some help :)



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



More information about the asterisk-bugs mailing list