🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #31692

FreeBSD VM bug where data is sometimes lost located

#31692
From: Matt Dillon
Date: Thu, 24 Sep 1998 00:00
21 lines
1530 bytes
    I believe I have located the kernel bug in FreeBSD that is causing
    odd data loss in Diablo.  The bug is related to a race condition where
    a file is written to with write() (aka diablo server) while simultaniously
    being mmap()ed (aka dnewslink).  The bug is actually somewhat more general
    then that and can occur even if the file is not mmap'd.  Under certain
    circumstances, portions of the data being written can get lost (NULs
    wind up in the file instead of the article data).  Diablo happens to hit
    the set of circumstances regularly.

    I'll post more about it tomorrow once I've verified that the problem has 
    been fixed, then it will be comitted into both FreeBSD-current and
    FreeBSD-stable.  Yahh.

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Technical Details
Message-ID: <6ueqk1$kpo$1@flea.best.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6ueqk1$kpo$1@flea.best.net>
Subject: FreeBSD VM bug where data is sometimes lost located
Date: Thu, 24 Sep 1998 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 394578023
X-Trace: 906685892 199 dillon 206.184.139.131
Organization: Best Internet Communications, Inc.
Newsgroups: news.software.nntp