Apps still function as expected, but when the user selects a file in /res/emoji
or any other directory with a lot of children, LibFileSystemAccessClient will crash upon the user "opening" the file.
15.891 FileSystemAccessServer(47:47): EventLoop 0x0000000fdb3de670 warning: Job queue wasn't designed for this load (1739 promises). Please begin optimizing EventLoop::pump() -> m_pending_promises.remove_all_matching
16.900 FileSystemAccessServer(47:47): FilePicker(0x0000000e00fc27f0): Quit event loop with result 0
16.900 FileSystemAccessServer(47:47): FilePicker(0x0000000e00fc27f0): Event loop returned with result 0
16.904 [FileSystemAccessServer(47:48)]: CRASH: CPU #0 General protection fault in userspace
16.904 [#0 FileSystemAccessServer(47:48)]: Exception code: 0000 (isr: 0000)
16.904 [#0 FileSystemAccessServer(47:48)]: pc=0x0023:0x0000000869400317 rflags=0x0000000000010206
16.904 [#0 FileSystemAccessServer(47:48)]: stack=0x0000000000e44cc0
16.904 [#0 FileSystemAccessServer(47:48)]: rax=0x0000000000000000 rbx=0xedededededededed rcx=0x00000008699e72e8 rdx=0x0000000000000001
16.904 [#0 FileSystemAccessServer(47:48)]: rbp=0x0000000000e44ce0 rsp=0x000000201286ff20 rsi=0x0000000b7c947340 rdi=0xedededededededed
16.904 [#0 FileSystemAccessServer(47:48)]: r8=0x00000019f24075b0 r9=0x0000000000000010 r10=0x0000000000000002 r11=0x00000008699e7ca0
16.904 [#0 FileSystemAccessServer(47:48)]: r12=0x0000000000e44d78 r13=0x0000000000000000 r14=0x0000000b7c947340 r15=0xedededededededed
16.904 [#0 FileSystemAccessServer(47:48)]: cr0=0x0000000080010013 cr2=0x0000000000e61000 cr3=0x000000000ef61000 cr4=0x0000000000340ee0
16.904 [#0 FileSystemAccessServer(47:48)]: 0x0000000869400317 (?)
16.904 [#0 FileSystemAccessServer(47:48)]: Kernel backtrace:
16.904 [#0 FileSystemAccessServer(47:48)]: Kernel + 0x0000000000fb8bf1 Kernel::Process::crash(int, AK::Optional<Kernel::RegisterState const&>, bool) +0x361
16.904 [#0 FileSystemAccessServer(47:48)]: Kernel + 0x00000000001957a3 Kernel::handle_crash(Kernel::RegisterState const&, char const*, int, bool) +0x543
16.904 [#0 FileSystemAccessServer(47:48)]: Kernel + 0x00000000015a8ed6 general_protection_fault_asm_entry +0x36
16.923 [#0 Finalizer Task(5:5)]: Generating coredump for pid: 47
16.928 CrashDaemon(34:34): New coredump file: /tmp/coredump/FileSystemAccessServer_47_1679602141
17.155 CrashReporter(51:51): Started Thread "Background Thread"(52)
20.175 CrashReporter(51:52): Generating backtrace took 3017 ms
20.175 CrashReporter(51:52): --- Backtrace for thread #0 (TID 47) ---
20.179 CrashReporter(51:52): 0x000000146df32017: [/usr/lib/libsystem.so] syscall1 +0x7 (syscall.cpp:20 => syscall.cpp:19)
20.179 CrashReporter(51:52): 0x00000016a8101c37: [/usr/lib/libcore.so.serenity] Core::System::poll(AK::Span<pollfd>, int) +0x17 (System.cpp:1598)
20.179 CrashReporter(51:52): 0x00000016a80f71ba: [/usr/lib/libcore.so.serenity] Core::PosixSocketHelper::can_read_without_blocking(int) const [clone .localalias] +0x6a (Socket.cpp:152)
20.179 CrashReporter(51:52): 0x0000000df7024578: [/usr/lib/libipc.so.serenity] IPC::ConnectionBase::wait_for_socket_to_become_readable() [clone .localalias] +0x48 (Socket.h:319 => Connection.cpp:149)
20.179 CrashReporter(51:52): 0x0000000df70251a9: [/usr/lib/libipc.so.serenity] IPC::ConnectionBase::wait_for_specific_endpoint_message_impl(unsigned int, int) +0xb9 (Connection.cpp:258)
20.179 CrashReporter(51:52): 0x00000009cb1fcfaf: [/usr/lib/libgui.so.serenity] GUI::Window::rect() const [clone .part.0] +0x7f (Connection.h:126 => Connection.h:109 => WindowServerEndpoint.h:8902 => Window.cpp:268)
20.183 CrashReporter(51:52): 0x00000009cb1fe244: [/usr/lib/libgui.so.serenity] GUI::Window::hide() [clone .part.0] +0x114 (Vector.h:148 => Window.cpp:219)
20.183 CrashReporter(51:52): 0x00000009cb1fe884: [/usr/lib/libgui.so.serenity] GUI::Window::~Window() +0x404 (Window.cpp:216 => Window.cpp:107)
20.183 CrashReporter(51:52): 0x00000009cb1fec50: [/usr/lib/libgui.so.serenity] GUI::Window::~Window() [clone .localalias] +0x10 (Window.cpp:108)
20.183 CrashReporter(51:52): 0x0000001a074b5cf1: [/bin/FileSystemAccessServer] FileSystemAccessServer::ConnectionFromClient::prompt_open_file(int, int, int, AK::DeprecatedString const&, AK::DeprecatedString const&, Core::File::OpenMode, AK::Optional<AK::Vector<GUI::FileTypeFilter, 0ul> > const&) +0x521 (RefCounted.h:65 => NonnullRefPtr.h:33 => RefPtr.h:223 => RefPtr.h:104 => ConnectionFromClient.cpp:125)
20.183 CrashReporter(51:52): 0x0000001a074be8f0: [/bin/FileSystemAccessServer] FileSystemAccessServerStub::handle(IPC::Message const&) +0x1f0 (FileSystemAccessServerEndpoint.h:653)
20.188 CrashReporter(51:52): 0x0000000df7023e7f: [/usr/lib/libipc.so.serenity] IPC::ConnectionBase::handle_messages() +0xcf (Connection.cpp:132)
20.188 CrashReporter(51:52): 0x00000016a80dea18: [/usr/lib/libcore.so.serenity] Core::EventLoop::pump(Core::EventLoop::WaitMode) +0x488 (Function.h:111)
20.188 CrashReporter(51:52): 0x00000016a80def59: [/usr/lib/libcore.so.serenity] Core::EventLoop::exec() +0x99 (EventLoop.cpp:451)
20.188 CrashReporter(51:52): 0x0000001a074c015b: [/bin/FileSystemAccessServer] serenity_main(Main::Arguments) +0xcb (main.cpp:21)
20.188 CrashReporter(51:52): 0x0000001a074b368a: [/bin/FileSystemAccessServer] main +0x14a (Main.cpp:43)
20.188 CrashReporter(51:52): 0x0000001a074b3818: [/bin/FileSystemAccessServer] _entry +0x48 (crt0.cpp:48)
21.737 CrashReporter(51:52): Generating backtrace took 1471 ms
21.737 CrashReporter(51:52): --- Backtrace for thread #1 (TID 48) ---
21.737 CrashReporter(51:52): 0x0000000869400317: [/usr/lib/libc.so] pthread_mutex_lock +0x17 (Atomic.h:54 => pthread_integration.cpp:137)
21.737 CrashReporter(51:52): 0x00000016a80dcfa4: [/usr/lib/libcore.so.serenity] Core::EventLoop::post_event(Core::Object&, AK::NonnullOwnPtr<Core::Event>&&, Core::EventLoop::ShouldWake) [clone .localalias] +0x44 (Mutex.h:74 => Mutex.h:66 => Mutex.h:59 => EventLoop.cpp:523)
21.737 CrashReporter(51:52): 0x00000009cb1160f9: [/usr/lib/libgui.so.serenity] Core::EventLoop::deferred_invoke(AK::Function<void ()>) +0x179 (EventLoop.h:94)
21.737 CrashReporter(51:52): 0x00000009cb117942: [/usr/lib/libgui.so.serenity] Threading::BackgroundAction<AK::NonnullRefPtr<Gfx::Bitmap> >::BackgroundAction(AK::Function<AK::ErrorOr<AK::NonnullRefPtr<Gfx::Bitmap>, AK::Error> (Threading::BackgroundAction<AK::NonnullRefPtr<Gfx::Bitmap> >&)>, AK::Function<AK::ErrorOr<void, AK::Error> (AK::NonnullRefPtr<Gfx::Bitmap>)>, AK::Optional<AK::Function<void (AK::Error)> >)::{lambda()#2}::operator()() const +0x4b2 (BackgroundAction.h:102)
21.742 CrashReporter(51:52): 0x0000000e4cd2baaa: [/usr/lib/libthreading.so.serenity] background_thread_func() +0x58a (Function.h:111)
21.742 CrashReporter(51:52): 0x0000000e4cd2c77c: [/usr/lib/libthreading.so.serenity] Threading::Thread::start()::{lambda(void*)#1}::_FUN(void*) +0x6c (Function.h:111)
21.742 CrashReporter(51:52): 0x00000008693fefeb: [/usr/lib/libc.so] pthread_create_helper +0x2b (pthread.cpp:73)
22.031 ConfigServer(29:29): Syncing 1 dirty domains to disk
22.301 [#0 VFS Sync Task(4:4)]: Ext2FS: Flushed 4 blocks to disk```
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