6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12160] Infinity loop on event with recurrence
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ __.._..__. |\ |[__)(__ | | | | \|| .__)_|_|__|
Comment
> Hi, > > I've traced an infinity loop with kronolith for two days now. > Neither xdebug nor xhprof were of any help since > the script never finished or timed out if PHP limits were active. > > The root problem is that kronolith/lib/kronolith.php::addEvents() does not > check the return value of "$event->recurrence->nextRecurrence()" in two > places and just assumes it's a Horde_Date object afterwards. > This is wrong as nextRecurrence() might return 'false' > > The problem itself also does not show with the kronolith web UI, > it's only triggered when using ActiveSync. Probably ActiveSync > sets a "funny" startDate or endDate for the addEvents() call. > > Please see the attached patch how I modified the code > to output more debug information + the actual debug log. > > Cheers, > Thomas >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers