Not sure what caused it, I got it while testing #6076. I had terminated a browser instance from terminal (which didn't immediately close down for some reason) and opened another browser from the taskbar when it happened.
I don't think it's related to the changes in #6076 since it happened in a syscall from WindowServer to a LocalSocket.
I didn't label this as a bug in case it is related to those changes.
Trace:
�[34;1m[#0 WindowServer(12:12)]�[0m: Unrecoverable page fault, read from address V0xc4193a48
�[34;1m[WindowServer(12:12)]�[0m: CRASH: CPU #0 Page Fault in ring 0
�[34;1m[#0 WindowServer(12:12)]�[0m: Exception code: 0000 (isr: 0000)
�[34;1m[#0 WindowServer(12:12)]�[0m: pc=0008:c014b28a eflags=00010046
�[34;1m[#0 WindowServer(12:12)]�[0m: stack=0010:c3dcaa94
�[34;1m[#0 WindowServer(12:12)]�[0m: ds=0010 es=0010 fs=0030 gs=002b
�[34;1m[#0 WindowServer(12:12)]�[0m: eax=c4194cec ebx=c011a4b4 ecx=00000000 edx=c0a413b8
�[34;1m[#0 WindowServer(12:12)]�[0m: ebp=c3dcaafc esp=c3dcaa94 esi=c0b9d49c edi=c4193a48
�[34;1m[#0 WindowServer(12:12)]�[0m: cr0=80010013 cr2=c4193a48 cr3=01a73000 cr4=00340ee4
�[34;1m[WindowServer(12:12)]�[0m: KERNEL PANIC! :^(
�[34;1m[WindowServer(12:12)]�[0m: Crash in ring 0
�[34;1m[WindowServer(12:12)]�[0m: at ../../Kernel/Arch/i386/CPU.cpp:190 in void Kernel::handle_crash(Kernel::RegisterState&, const char*, int, bool)
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc035c95b Kernel::__panic(char const*, unsigned int, char const*) +0xcf
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc055240c Kernel::handle_crash(Kernel::RegisterState&, char const*, int, bool) +0x255
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc055337d page_fault_handler +0xc20
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc0549858 page_fault_asm_entry +0x26
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc01b8f2f Kernel::DoubleBuffer::write(Kernel::UserOrKernelBuffer const&, unsigned long) +0x4cf
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc02ed61a Kernel::LocalSocket::sendto(Kernel::FileDescription&, Kernel::UserOrKernelBuffer const&, unsigned long, int, AK::Userspace<sockaddr const*>, unsigned int) +0x258
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc0332270 Kernel::Socket::write(Kernel::FileDescription&, unsigned long long, Kernel::UserOrKernelBuffer const&, unsigned long) +0x20c
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc021ecb5 Kernel::FileDescription::write(Kernel::UserOrKernelBuffer const&, unsigned long) +0x3ab
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc047bd58 Kernel::Process::do_write(Kernel::FileDescription&, Kernel::UserOrKernelBuffer const&, unsigned long) +0x8f8
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc047ce56 Kernel::Process::sys$write(int, AK::Userspace<unsigned char const*>, long) +0x7bc
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc0398c83 syscall_handler +0x1fde
�[34;1m[#0 WindowServer(12:12)]�[0m: 0xc0396c6d syscall_asm_entry +0x31
The PC c014b28a
seems to point to these lines:
serenity/Kernel/FileSystem/File.h
Lines 58 to 59 in 23b659e
Which is nowhere near what the stack trace says.
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