AR8131:webDAV corruption on Lucid: Lightning calendar not available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
New
|
Undecided
|
Unassigned | ||
slide-webdavclient (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Version info:
vince@uranus:/proc$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
vince@uranus:/proc$ uname -a
Linux uranus 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux
All apache packages: 2.2.14-5ubuntu8.2
Symptoms are that Lightning shows a warning ! against webDAV calendars and the popup message says:
The calendar xxxxx is momentarily not available
The calendar grid shows no events/actions from the webDAV calendars affected.
The Error Console shows the following message for each webDAV calendar:
Warning: There has been an error reading data for calendar: xxxxx. Error code: CAL_UTF8_
When a webDAV .ics calendar file is downloaded via HTTP (Firefox) then viewed (with Notepad on XP client), it appears to contain spurious extra characters at start of file. These are not present in the underlying file as viewed locally on the Apache server machine. gedit on Lucid client baulks at displaying the downloaded file reporting that file appears to contain non-UTF-8 data.
Example:
Underlying file actually starts:
-------
BEGIN:VCALENDAR
PRODID:
VERSION:2.0
X-WR-CALNAME:home
X-WR-TIMEZONE:
BEGIN:VTIMEZONE
TZID:Europe/London
X-LIC-LOCATION:
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:
RRULE:FREQ=
END:DAYLIGHT
<remainder of file snipped>
-------
File presented via webDAV starts:
-------
7‘0lðIæŸZ E
„Fƒ@ @ À¨À¨ P´4€ž»u
™óF€ |ƒ\
‰
F}HTTP/1.1 200 OK
Date: Wed, 29 Sep 2010 09:50:02 GMT
Server: Apache/2.2.14 (Ubuntu)
Last-Modified: Wed, 15 Sep 2010 19:15:06 GMT
ETag: "12c56b-
Accept-Ranges: bytes
Content-Length: 30491
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/calendar
BEGIN:VCALENDAR
PRODID:
VERSION:2.0
X-WR-CALNAME:home
X-WR-TIMEZONE:
BEGIN:VTIMEZONE
TZID:Europe/London
X-LIC-LOCATION:
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:
RRULE:FREQ=
END:DAYLIGHT
<remainder of file snipped>
-------
Now, possibly coincidentally, this problem apparently started immediately after I migrated my Apache server system from an old 600MHz Pentium II system to a new dual core Celeron E1200 system. Migration involved little more than moving the system disk from one box to the other.
I see other bugs reported on Apache2 SSL involving corruption some of which refer to a gcc bug affecting code generation for SSE4 cpus so here is cpuinfo for Apache2 server cpu:
vince@uranus:/proc$ cat cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Celeron(R) CPU E1200 @ 1.60GHz
stepping : 13
cpu MHz : 1200.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips : 3199.76
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Celeron(R) CPU E1200 @ 1.60GHz
stepping : 13
cpu MHz : 1200.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips : 3199.99
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfdff8000 irq 16'
Mixer name : 'Realtek ALC883'
Components : 'HDA:10ec0883,
Controls : 40
Simple ctrls : 22
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=
IwConfig:
lo no wireless extensions.
eth1 no wireless extensions.
tap0 no wireless extensions.
Lsusb:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Gigabyte Technology Co., Ltd. G31M-ES2L
Package: linux 2.6.32.28.32
PackageArchitec
ProcCmdLine: root=UUID=
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
LANG=en_GB.utf8
SHELL=/bin/bash
ProcVersionSign
Regression: Yes
RelatedPackageV
Reproducible: Yes
RfKill:
Tags: lucid networking regression-
Uname: Linux 2.6.32-28-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev sambashare scanner video
dmi.bios.date: 02/24/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FG
dmi.board.name: G31M-ES2L
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: G31M-ES2L
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
affects: | ubuntu → slide-webdavclient (Ubuntu) |
Changed in slide-webdavclient (Ubuntu): | |
status: | Incomplete → New |
Well, I got up this morning to find that my webDAV calendars in Lightning were working again albeit locked as read-only! Unchecking the read-only attribute for each one got me back working again.
There were a few updates - mainly avahi (0.6.25-1ubuntu6.1) packages with a new version of the libmikmod2 sound package - on the server yesterday but none that seemed immediately relevant to the problem so I just applied them without much thought. The server has not been rebooted since the update but the XP and Lucid Thunderbird/ Lightning clients have.
The HTTP view of the .ics files confirms that the corruption of the start of the file is not happening now.
Can anyone suggest the connection?