[Bug 274538] panic: vrefact: wrong use count 0

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Apr 2024 13:49:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274538

Alex S <iwtcex@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iwtcex@gmail.com

--- Comment #3 from Alex S <iwtcex@gmail.com> ---
I get the same panic. It's reproducible with:

#define _GNU_SOURCE

#include <assert.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>

int main() {
  int fd = open("/dev/dri/card0", O_RDWR | O_CLOEXEC);
  assert(fd != -1);

  struct stat st;
  fstatat(fd, "", &st, AT_EMPTY_PATH);

  return 0;
}

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