[Tickets #6389] Recurrence::nextRecurrence(weekly) recursive function call
bugs at horde.org
bugs at horde.org
Thu Mar 6 16:40:31 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/6389
-----------------------------------------------------------------------
Ticket | 6389
Created By | thomas.jarosch at intra2net.com
Summary | Recurrence::nextRecurrence(weekly) recursive function call
Queue | Horde Framework Packages
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
thomas.jarosch at intra2net.com (2008-03-06 11:40) wrote:
Hello together,
during tests with the new Kolab freebusy framework I bombarded the code
with all kinds of calendering data. Suddenly PHP started segfaulting.
It turned out this was due to a Horde_Date_Recurrence::nextRecurrence()
recursive function call for an unlimited weekly recurrence which hit the
internal stack size limit of PHP. After adding a debug
counter I saw nextRecurrence() being called over 1.600 times.
Jan, as you are most familiar with the recurrence code,
would it be possible to change the recursive function call into a loop?
Cheers,
Thomas
More information about the bugs
mailing list