Project

General

Profile

Bug #338

lighttpd >= 1.4.6 crashes on file upload

Added by Anonymous about 13 years ago. Updated over 12 years ago.

Status:
Fixed
Priority:
Urgent
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

I recently upgraded lighttpd to 1.4.6 and noticed that it killed itself without any error message in random times.

After tracing the process I noticed that this only happens for file uploads:

open("/var/tmp/lighttpd-upload-HLWrUF", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EACCES (Permission denied)
write(2, "lighttpd: connections.c:978: con"..., 100) = 100
rt_sigprocmask(SIG_UNBLOCK, ABRT, NULL, 8) = 0
tgkill(2999, 2999, SIGABRT) = 0

There are no settings in my config file pointing lighttpd to /var/tmp in any way.
There was no problem with 1.4.4 - but it's there in 1.4.5 and 1.4.6. I never changed permissions for /var/tmp (default is 755 or so).

Afaik /var/tmp is not set to chmod 777 by default, so I consider this ticket critical.

-- daniel at schlach/com

History

#1

Updated by jan about 13 years ago

  • Status changed from New to Assigned

i fix for this is only in progress.

thanks for the ticket.

#2

Updated by Anonymous about 13 years ago

Thanks, jan =).

For all users who got this problem a quick workaround may be to set /var/tmp to chmod 777 until it is fixed.

-- daniel at schlach/com

#3

Updated by Anonymous about 13 years ago

I also encounter this problem on FreeBSD 5.x. A core dump is available on request.

-- bwolf

#4

Updated by jan about 13 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to fixed

fixed on r802

Also available in: Atom