Ticket #925 (closed defect: worksforme)
lighty crashes whenever a file operation is done via webdav
| Reported by: | flosch | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.20 |
| Component: | core | Version: | 1.4.13 |
| Severity: | critical | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | no | Blocking: |
Description
lighy crashes whenever I'm executing a file operation via the windows explorer.
here are the last few relevant lines from the strace output:
read(6, "PUT /dav/Neu%20WinRAR-Archiv.rar"..., 255) = 211 open("/var/www/dav/Neu WinRAR-Archiv.rar", O_WRONLY|O_TRUNC|O_LARGEFILE) = 7 write(7, "Rar!\32\7\0\317\220s\0\0\r\0\0\0\0\0\0\0", 20) = 20 close(7) = 0 writev(6, [{"HTTP/1.1 200 OK\r\nSet-Cookie: TRA"..., 173}], 1) = 173 write(3, "192.168.0.150 192.168.0.156 - [2"..., 151) = 151 ioctl(6, FIONREAD, [682]) = 0 read(6, "PROPPATCH /dav/Neu%20WinRAR-Arch"..., 703) = 682 stat64("/var/www/dav/Neu WinRAR-Archiv.rar", {st_mode=S_IFREG|0644, st_size=20, ...}) = 0 futex(0xa7c8d8f8, FUTEX_WAKE, 2147483647) = 0 write(2, "Entity: line 1: ", 16) = 16 write(2, "parser ", 7) = 7 write(2, "warning : ", 10) = 10 write(2, "xmlns:D: \'DAV:\' is not a valid U"..., 35) = 35 write(2, "<?xml version=\"1.0\" encoding=\"ut"..., 81) = 81 write(2, " "..., 73) = 73 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 22150 detached
my lighty is configured as follows:
$HTTPhost? == "192.168.0.156" {
server.kbytes-per-second = 200 $HTTPurl? =~ "/dav($|/)" {
webdav.activate = "enable"
}
}

