core icon indicating copy to clipboard operation
core copied to clipboard

Home Assistant crashes when setting an `rrule` with interval of 0 in `CalendarEvent`

Open tr4nt0r opened this issue 4 months ago • 1 comments

The problem

When creating a CalendarEvent object and passing a recurrence rule with an interval of 0, Home Assistant becomes unresponsive and cpu usage of the python process goes up to 100%. I assume it leads to an infinite loop but haven't debugged it further. The rrule string is generated by dateutil.rrule.

What version of Home Assistant Core has the issue?

core-2024.11.0.dev0 (devcontainer, HEAD at bd97a0dfe3)

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

calendar

Link to integration documentation on our website

https://www.home-assistant.io/integrations/calendar/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No exceptions are thrown

Additional information

No response

tr4nt0r avatar Oct 14 '24 20:10 tr4nt0r