Sometimes when running with SERENITY_SCREENS=2
and trying to capture a scheduler dump with Alt+Shift+F12 the system crashes trying to switch to the console:
[colonel(0:0)]: ASSERTION FAILED: !Processor::current().in_irq()
[colonel(0:0)]: ../../Kernel/Lock.cpp:24 in void Kernel::Lock::lock(Kernel::Lock::Mode)
[#0 colonel(0:0)]: 0xc072be19 abort +0x17e
[#0 colonel(0:0)]: 0xc072bc7b _abort +0x0
[#0 colonel(0:0)]: 0xc043bda2 Kernel::Lock::lock(Kernel::LockMode) +0x130
[#0 colonel(0:0)]: 0xc02c7e67 Kernel::Graphics::VirtIOFrameBufferDevice::set_buffer(int) +0x1bf
[#0 colonel(0:0)]: 0xc02c9a37 Kernel::Graphics::VirtIOFrameBufferDevice::deactivate_writes() +0x5ad
[#0 colonel(0:0)]: 0xc02e20ba Kernel::Graphics::VirtIOGraphicsAdapter::enable_consoles() +0x4de
[#0 colonel(0:0)]: 0xc02be2d9 Kernel::GraphicsManagement::deactivate_graphical_mode() +0x3f1
[#0 colonel(0:0)]: 0xc062d925 Kernel::ConsoleManagement::switch_to(unsigned int) +0xcaf
[#0 colonel(0:0)]: 0xc029179c Kernel::PS2KeyboardDevice::irq_handle_byte_read(unsigned char) +0x47a
[#0 colonel(0:0)]: 0xc028b5c3 Kernel::I8042Controller::irq_process_input_buffer(Kernel::HIDDevice::Type) +0x5e3
[#0 colonel(0:0)]: 0xc0290fb7 Kernel::PS2KeyboardDevice::handle_irq(Kernel::RegisterState const&) +0x137
[#0 colonel(0:0)]: 0xc072f933 handle_interrupt +0x2af
[#0 colonel(0:0)]: 0xc072a5f3 interrupt_common_asm_entry +0x2b
[#0 colonel(0:0)]: 0xc073170c exit_kernel_thread +0x0
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