maintainer-feedback requested: [Bug 254983] emulators/virtualbox-ose: jemalloc error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 11 17:16:04 UTC 2021


Bugzilla Automation <bugzilla at FreeBSD.org> has asked Virtualbox Team (Nobody)
<vbox at FreeBSD.org> for maintainer-feedback:
Bug 254983: emulators/virtualbox-ose: jemalloc error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254983



--- Description ---
I have a virtual machine running current. It has been updated for
several months now without problems.

Yesterday I updated to VB 6.1 and it seems it can not build anymore.
The errore I get is this:

--- Frontend/CompilerInstance.o ---
<jemalloc>: jemalloc_arena.c:747: Failed assertion:
"nstime_compare(&decay->epoch, &time) <= 0"
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and
include the crash backtrace, preprocessed source, and associated run
script.
Stack dump:
0.	Program arguments: c++ -target x86_64-unknown-freebsd14.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common
-I/usr/obj/usr/src/amd64.amd64/lib/clang/libclang
-I/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm
-I/usr/src/contrib/llvm-project/clang/lib/Basic
-I/usr/src/contrib/llvm-project/clang/lib/Driver
-I/usr/src/contrib/llvm-project/clang/include -DCLANG_ENABLE_ARCMT
-DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include
-I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC
-DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-unknown-freebsd14.0"
-DLLVM_HOST_TRIPLE="x86_64-unknown-freebsd14.0" -DDEFAULT_SYSROOT=""
-DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM
-DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC
-DLLVM_TARGET_ENABLE_RISCV -DLLVM_TARGET_ENABLE_X86
-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo
-DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections
-fdata-sections -gline-tables-only -MD
-MF.depend.Frontend_CompilerInstance.o -MTFrontend/CompilerInstance.o
-Wno-format-zero-length -fstack-protector-strong -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
-Wno-address-of-packed-member -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments
-fno-exceptions -fno-rtti -gline-tables-only -std=c++14 -stdlib=libc++
-Wno-c++11-extensions -c
/usr/src/contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp
-o Frontend/CompilerInstance.o
1.	<eof> parser at end of file
2.	Per-module optimization passes
3.	Running pass 'CallGraph Pass Manager' on module
'/usr/src/contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp'.
4.	Releasing pass 'Memory SSA'
<jemalloc>: Should own 0 locks of rank >= 1: decay(12)
Abort trap (core dumped)
*** [Frontend/CompilerInstance.o] Error code 134

make[6]: stopped in /usr/src/lib/clang/libclang
1 error

After this, when I poweroff the machine, all six bufdaemons timeout after 60
seconds. I monitor de free memory and it does not go below 13 GB (it has 22 GB
assigned). This is completely reproducible.


More information about the freebsd-emulation mailing list