View Issue Details

IDProjectCategoryView StatusLast Update
0002194SOGoBackend Calendarpublic2013-01-28 09:52
Reporterwvschijndel Assigned Tofrancis  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.2a 
Fixed in Version2.0.4a 
Summary0002194: webclient aCal/1.36 hangs sogo on RRULE
Description

webclient aCal/1.36 hangs sogo on RRULE

Additional Information

/var/log/sogo.log:
{{{
...
2013-01-24 09:19:27.338 sogod[1912] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='aCal/1.36 (samsung; GT-I9100; GT-I9100; samsung; GT-I9100; GINGERBREAD.XWKF3; GT-I9100) Android/2.3.3 (XWKF3)'
...
Jan 24 09:19:27 sogod [1912]: [ERROR] <0x0x7f6654619360[iCalRecurrenceCalculator]> unsupported rrule frequency: <0x7f6657664cd0[iCalRecurrenceRule]:RRULE
RRULE:UNTIL=20130124T131959;RRULE:FREQ=WEEKLY
...
previous line is repeated until hang
}}}

/var/log/syslog:
{{{
Jan 24 09:38:47 srv-virt-sogo-1 kernel: [ 135.312825] sogod invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0
Jan 24 09:38:47 srv-virt-sogo-1 kernel: [ 135.312830] sogod cpuset=/ mems_allowed=0
Jan 24 09:38:47 srv-virt-sogo-1 kernel: [ 135.312850] Pid: 1033, comm: sogod Not tainted 2.6.32-5-amd64 0000001
Jan 24 09:38:47 srv-virt-sogo-1 kernel: [ 135.327022] Out of memory: kill process 1012 (sogod) score 861823 or a child
Jan 24 09:38:47 srv-virt-sogo-1 kernel: [ 135.327991] Killed process 1028 (sogod)
Jan 24 09:38:48 srv-virt-sogo-1 kernel: [ 136.736864] sogod invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0
Jan 24 09:38:48 srv-virt-sogo-1 kernel: [ 136.736869] sogod cpuset=/ mems_allowed=0
Jan 24 09:38:48 srv-virt-sogo-1 kernel: [ 136.736873] Pid: 1724, comm: sogod Not tainted 2.6.32-5-amd64 0000001
Jan 24 09:38:48 srv-virt-sogo-1 kernel: [ 136.749545] Out of memory: kill process 1012 (sogod) score 859497 or a child
Jan 24 09:38:48 srv-virt-sogo-1 kernel: [ 136.750798] Killed process 1029 (sogod)
}}}

TagsNo tags attached.

Activities

francis

francis

2013-01-28 09:50

administrator   ~0005263

The recurrent rule definition is invalid. It should be :

RRULE:FREQ=WEEKLY;UNTIL=20130124T131959Z

You may want to test a recent release of aCal and contact the author (Andrew McMillan) if the bug is still present.

francis

francis

2013-01-28 09:52

administrator   ~0005264

Fixed infinite loop.

See https://github.com/inverse-inc/sogo/commit/2d455bf0ca94cd19874a0d9cb1b81c7271cd134e

Issue History

Date Modified Username Field Change
2013-01-24 03:47 wvschijndel New Issue
2013-01-28 09:50 francis Note Added: 0005263
2013-01-28 09:52 francis Note Added: 0005264
2013-01-28 09:52 francis Status new => resolved
2013-01-28 09:52 francis Fixed in Version => 2.0.5
2013-01-28 09:52 francis Resolution open => fixed
2013-01-28 09:52 francis Assigned To => francis