* Philippe Teuwen <p...@teuwen.org> [2009-06-05 16:14]: > Package: webcalendar > Version: 1.2.0+dfsg-2 > > Hello, > > I faced the same problem after upgrading (very painfully) from 1.0.15 to > 1.2.0 > I digged a bit into it: > Actually the "downloadable" week.php is empty and Apache logs report > thing like this when accessing week.php: > child pid 14963 exit signal Segmentation fault (11) > > I tracked down the problem to: > week.php calls read_repeated_events() from functions.php > read_repeated_events() calls query_events() > query_events() calls getOverLap() > getOverLap() is recursive > too much... up to the point of a segfault. > > I've the impression that the $result array was empty and $i going to > infinite. > But I didn't look further as I've my workaround: > disable the cross-day events support so getOverLap() returns immediately. > > Clayton, you can try disabling it too: > Login as admin, ignore week.php attempt, go to admin.php then select > "Disable Cross-Day Events": yes > > I hope now the maintainers have enough info to look into it or report > upstream.
Thanks a lot for your debugging effort, Philippe, I really appreciate it. The problem has already been reported upstream [1]. The patch that fixes the problem is really trivial and is already in SVN upstream [2]. I will apply it to the Debian webcalendar package and release 1.2.0+dfgs-3 ASAP. 1: http://sourceforge.net/tracker/index.php?func=detail&aid=2534090&group_id=3870&atid=303870 2: http://webcalendar.cvs.sourceforge.net/viewvc/webcalendar/webcalendar/includes/functions.php?r1=1.568&r2=1.569 Cheers, -- Rafael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org