Project

General

Profile

Actions

Bug #338

closed

lighttpd >= 1.4.6 crashes on file upload

Added by Anonymous over 18 years ago. Updated over 17 years ago.

Status:
Fixed
Priority:
Urgent
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by jan over 18 years ago

  • Status changed from New to Assigned

i fix for this is only in progress.

thanks for the ticket.

Actions #2

Updated by Anonymous over 18 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

Actions #3

Updated by Anonymous over 18 years ago

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

-- bwolf

Actions #4

Updated by jan over 18 years ago

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

fixed on r802

Actions

Also available in: Atom