View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000797 | SOGo | Web Calendar | public | 2010-09-02 08:58 | 2012-03-16 19:02 |
Reporter | luca | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.1 | ||||
Summary | 0000797: Possibly wrong data causes problem with recurring events in web interface | ||||
Description | The attached backup file (edited to contain just one record, by substituting the "/Users/luca/Calendar/personal" with an existing user it should be possible to use "sogo-tool restore -F"), coming from a sogo 1.2.1 nightly (20100323), contains a wrong couple of dates in the EXDATE field and an empty RDATE field. | ||||
Additional Information | These are the log messages when trying to access the event with the wrong EXDATE: 2010-09-02 10:52:19.320 sogod[7844] File NSCalendarDate.m: 1440. In [NSCalendarDate -initWithYear:month:day:hour:minute:second:timeZone:] invalid month given - 4294967295 Then after 1 minute or so: 2010-09-02 10:53:40.564 sogod[7844] File NSCalendarDate.m: 1440. In [NSCalendarDate -initWithYear:month:day:hour:minute:second:timeZone:] invalid month given - 4294967295 Then after 20 seconds more (when the "object not found" appears): 2010-09-02 10:55:02.077 sogod[7844] WOCompoundElement: pool embedding is on. These are the messages once the EXTDATE has been removed: 127.0.0.1 - - [02/Sep/2010:10:56:53 GMT] "POST /SOGo/so/luca/Calendar/personal/1073742958/occurence1285106400/view HTTP/1.1" 404 208/0 0.218 - - 32K | ||||
Tags | No tags attached. | ||||
2010-09-02 08:58
|
test-backup (979 bytes)
{ tables = { "/Users/luca/Calendar/personal" = { acl = { }; displayname = "Calendario Personal"; records = ( { c_content = "BEGIN:VCALENDAR VERSION:1.0 TZ:+0100 DAYLIGHT:TRUE;+0200;20090329T020000;20091025T030000;; DAYLIGHT:TRUE;+0200;20100328T020000;20101031T030000;; DAYLIGHT:TRUE;+0200;20110327T020000;20111030T030000;; DAYLIGHT:TRUE;+0200;20120325T020000;20121028T030000;; DAYLIGHT:TRUE;+0200;20130331T020000;20131027T030000;; DAYLIGHT:TRUE;+0200;20140330T020000;20141026T030000;; DAYLIGHT:TRUE;+0200;20150329T020000;20151025T030000;; BEGIN:VEVENT UID:1073742958 X-FUNAMBOL-ALLDAY:1 DTSTART:20090522 DTEND:20090523 X-MICROSOFT-CDO-BUSYSTATUS:0 CATEGORIES: DESCRIPTION: LOCATION: STATUS:0 SUMMARY:XXXXXXX CLASS:PUBLIC RRULE:FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=22;COUNT=0 EXDATE:2009-11-22;2010-05-22 RDATE: X-FUNAMBOL-AALARMOPTIONS:4 END:VEVENT END:VCALENDAR "; c_name = 1073742958; }, ); }; }; } |
Can you try with a recent nightly build? |
|
Not really: any version after 1.2.1 causes a "stack smashing" with yearly events if compiled with "-fstack-protector" (which is the default on my distribution). See this thread for more details: http://www.mail-archive.com/users@sogo.nu/msg01647.html (edit: mantis mangles the above url) I compiled NGCards with -fno-stack-protector to get rid of the "stack smashing", but everything else works fine with it, so I think that's just hiding the issue. |
|
The recurrence rule of your test event defines a count of zero, which is invalid. I pushed a fix yesterday that handles this case. When you have the chance, try to compile from trunk with stack-protector. Thanks! |
|
I just tried with sogo 1.3.5 and it still fails (works with -fno-stack-protector) |
|
The last comment refers only to the stack smashing. It is now possible to edit the event. |
|
I've compiled SOPE/SOGo with -fstack-protector and I do not have any of the issues you describe above with your test event. |
|
Well, that's strange, I can reproduce the stack smashing if I compile NGCards without -fno-stack-protector. |
|
I tried the calendar entry on a 1.3.7a sope/sogo on OpenBSD/i386, which enables the stack protector per default, you have to disable it if you do not want it. No crash happened for me, I was able to edit the appointment. |
|
Probably this specific kind of event has been fixed (I'm still with 1.3.5a, no time to play with sogo recently). Edit: oops, the bug you're monitoring, you didn't report it. |
|
No changes / updates in months, closing. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-02 08:58 | luca | New Issue | |
2010-09-02 08:58 | luca | File Added: test-backup | |
2010-10-07 14:56 | francis | Note Added: 0001555 | |
2010-10-07 14:56 | francis | Status | new => feedback |
2010-10-07 15:15 | luca | Note Added: 0001557 | |
2010-10-07 15:16 | luca | Note Edited: 0001557 | |
2010-10-07 15:17 | luca | Note Edited: 0001557 | |
2010-10-29 13:55 | francis | Note Added: 0001662 | |
2011-01-27 13:45 | luca | Note Added: 0002057 | |
2011-01-27 14:01 | luca | Note Added: 0002060 | |
2011-03-06 18:39 | ludovic | Note Added: 0002202 | |
2011-03-07 23:29 | luca | Note Added: 0002211 | |
2011-07-13 07:47 | buzzdee | Note Added: 0002697 | |
2011-07-13 07:54 | luca | Note Added: 0002698 | |
2011-07-13 07:55 | luca | Note Edited: 0002698 | |
2012-03-16 19:02 | ludovic | Note Added: 0003590 | |
2012-03-16 19:02 | ludovic | Status | feedback => closed |
2012-03-16 19:02 | ludovic | Resolution | open => fixed |