[Bug 295495] www/chromium core dumps if dummy sysctl vm.stats.vm.v_cache_count is missing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 May 2026 13:38:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295495
Bug ID: 295495
Summary: www/chromium core dumps if dummy sysctl
vm.stats.vm.v_cache_count is missing
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: chromium@FreeBSD.org
Reporter: freebsd.68fba@nospam.spacesurfer.com
Flags: maintainer-feedback?(chromium@FreeBSD.org)
Assignee: chromium@FreeBSD.org
chromium core dumps (SIGTRAP) if run on a machine with a kernel that has been
built without COMPAT_FREEBSD11
That is because COMPAT_FREEBSD11 provides a dummy vm.stats.vm.v_cache_count
sysctl
truss output
2327 100455: 120.748597615 ppoll({ 6/POLLIN 7/POLLIN 33/POLLIN 34/POLLIN },4,{
0.269000000 },0x0) = 0 (0x0)
2327 100455: 120.748829877 recvmsg(33,0x1a5757e550d0,0) ERR#35 'Resource
temporarily unavailable'
2327 100455: 120.749049688
sysctlbyname("vm.stats.vm.v_page_size",23,0x1a5757e54eec,0x1a5757e54ed8,0x0,0)
= 0 (0x0)
2327 100455: 120.749221609
sysctlbyname("vm.stats.vm.v_free_count",24,0x1a5757e54ee8,0x1a5757e54ed0,0x0,0)
= 0 (0x0)
2327 100455: 120.749388541
sysctlbyname("vm.stats.vm.v_inactive_count",28,0x1a5757e54ee4,0x1a5757e54ed0,0x0,0)
= 0 (0x0)
2327 100455: 120.749558322
sysctlbyname("vm.stats.vm.v_cache_count",25,0x1a5757e54ee0,0x1a5757e54ed0,0x0,0)
ERR#2 'No such file or directory'
2327 100455: 120.749647092 SIGNAL 5 (SIGTRAP) code=TRAP_BRKPT
It looks like the patch file
./files/patch-base_system_sys__info__freebsd.cc
calls invokes NOTREACHED(); if vm.stats.vm.v_cache_count does not exist
Note that this affects ungoggled-chromium as well.
--
You are receiving this mail because:
You are the assignee for the bug.