Project

General

Profile

Bug #2716

sendfile(2) crash on tmpfs

Added by jorisgio over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/18/2014
Due date:
% Done:

0%


Description

While running the test programm attached (designed to try to mimic nginx ktrace), i get a panic if /tmp is on tmpfs.

Basically what the test code does is : listen on localhost:8001, read what the client sends until EOF end store it in /tmp/sendfile, then connect to localhost 8002 and sends the data with sendfile.

server.c View (3.3 KB) jorisgio, 08/18/2014 10:12 AM

core.txt.10 (183 KB) jorisgio, 08/18/2014 10:12 AM

History

#1 Updated by jorisgio over 2 years ago

  • Status changed from New to Resolved

Fixed in 799312a2b6e22a583d98633ea6b62146afa8eb45

Also available in: Atom PDF