A kernel assertion fired accidentally when testing a JIT-based VM with an SDL interface.
Steps to reproduce are unknown, fully randomly triggered. Will post additional clues if I stumble upon it again.
Serenity build: Fresh from 8d0985e
[rvvm(46:48)]: ASSERTION FAILED: m_page_count > 0
[rvvm(46:48)]: ./Kernel/Memory/MemoryManager.cpp:1231 in AK::NonnullRefPtr<Kernel::Memory::PhysicalPage> Kernel::Memory::CommittedPhysicalPageSet::take_one()
[rvvm(46:48)]: KERNEL PANIC! :^(
[rvvm(46:48)]: Aborted
[rvvm(46:48)]: at ./Kernel/Arch/x86_64/CPU.cpp:35 in void abort()
[rvvm(46:48)]: Kernel + 0x000000000168c42f Kernel::__panic(char const*, unsigned int, char const*) +0x16f
[rvvm(46:48)]: Kernel + 0x000000000168d941 abort.localalias +0x35a
[rvvm(46:48)]: Kernel + 0x000000000168d5e7 abort.localalias +0x0
[rvvm(46:48)]: Kernel + 0x0000000000d5354e Kernel::Memory::CommittedPhysicalPageSet::take_one() +0x14e
[rvvm(46:48)]: Kernel + 0x0000000000d038f0 Kernel::Memory::AnonymousVMObject::allocate_committed_page(AK::Badge<Kernel::Memory::Region>) +0x100
[rvvm(46:48)]: Kernel + 0x0000000000dc714a Kernel::Memory::Region::handle_zero_fault(unsigned long, Kernel::Memory::PhysicalPage&) [clone .localalias] +0x42a
[rvvm(46:48)]: Kernel + 0x0000000000dd4280 Kernel::Memory::Region::handle_fault(Kernel::PageFault const&) +0xa00
[rvvm(46:48)]: Kernel + 0x0000000000d578d6 Kernel::Memory::MemoryManager::handle_page_fault(Kernel::PageFault const&) +0xa56
[rvvm(46:48)]: Kernel + 0x000000000000e1b2 Kernel::PageFault::handle(Kernel::RegisterState&) +0x822
[rvvm(46:48)]: Kernel + 0x00000000016aeec0 page_fault_handler +0x110
[rvvm(46:48)]: Kernel + 0x00000000016ace66 page_fault_asm_entry +0x36
Screenshot at panic
Feel free to close if provided info isn't enough, but I hope it's helpful in some way
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too