Project

General

Profile

Actions

Bug #925

closed

lighty crashes whenever a file operation is done via webdav

Added by flosch over 17 years ago. Updated about 7 years ago.

Status:
Missing Feedback
Priority:
Normal
Category:
mod_webdav
Target version:
ASK QUESTIONS IN Forums:

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, r682) = 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, "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"
}
}

Actions #1

Updated by flosch over 17 years ago

argh, forgotten the trac-syntax :]

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 +++

configuration:


$HTTP["host"] == "192.168.0.156" {
        server.kbytes-per-second = 200
        $HTTP["url"] =~ "^/dav($|/)" {
                webdav.activate = "enable" 
        }
}
Actions #2

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • Resolution set to worksforme

Way too old. If you still get crashes, please provide a backtrace (see http://trac.lighttpd.net/trac/wiki/HowToReportABug).

Actions #3

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Missing Feedback
Actions #4

Updated by gstrauss about 7 years ago

  • Description updated (diff)
  • Category changed from core to mod_webdav

likely fixed in lighttpd 1.4.40, and possibly in earlier versions.

Actions

Also available in: Atom