[Bug 276191] fusefs: panic Assertion prev_offset < next_offset

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Jan 2024 01:14:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276191

Alan Somers <asomers@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|bugs@FreeBSD.org            |asomers@FreeBSD.org

--- Comment #1 from Alan Somers <asomers@FreeBSD.org> ---
Created attachment 247521
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247521&action=edit
Test case demonstrating the bug

Steps to reproduce:

1) Apply the attached patch
2) cd tests/sys/fs/fusefs
3) make && sudo make install
4) cd /usr/tests/sys/fs/fusefs
5) kyua debug io:main

Or, to run just the relevant test case, replace step 5 above with:

5a) sudo mkdir mountpoint
5b) sudo chmod 1777 mountpoint
5c) sudo touch backing_file control
5d) sudo chown $USER backing_file control
5e) ./io -v  mountpoint
--gtest_filter=Io/IoFspaceCtl.fspacectl_after_mmap_write/1

-- 
You are receiving this mail because:
You are the assignee for the bug.