Note: This bug seems to be very inconsistent (I encountered it once on 0e68550 and couldn't reproduce it)
Reproduction steps:
Profiler
PixelPaint
in the listExpected: The ProfileViewer opens with the results
Actual: Crash of the Profiler with an assertion
Here is the following backtrace:
Profiler(54:54): ASSERTION FAILED: type() == Type::Int32
../../Userland/Libraries/LibGUI/Variant.h:120
CrashReporter(55:55): --- Backtrace for thread #0 (TID 54) ---
CrashReporter(55:55): 0x3778e02e: [libsystem.so] syscall2 +0xe (syscall.cpp:25 => syscall.cpp:24)
CrashReporter(55:55): 0x42c8d424: [libc.so] raise +0x24 (syscall.h:35 => signal.cpp:21 => signal.cpp:34)
CrashReporter(55:55): 0x42c79749: [libc.so] abort +0x29 (stdlib.cpp:228)
CrashReporter(55:55): 0x42c7a1ac: [libc.so] __assertion_failed +0x6c (assert.cpp:33)
CrashReporter(55:55): 0xa353fc5e: [libgui.so] GUI::ProcessChooser::set_pid_from_index_and_close(GUI::ModelIndex const&) [clone .localalias] +0x8e (Variant.h:120 => ProcessChooser.cpp:104)
CrashReporter(55:55): 0xa3499e24: [libgui.so] GUI::AbstractView::activate(GUI::ModelIndex const&) +0x64 (Function.h:91)
CrashReporter(55:55): 0xa349b94f: [libgui.so] GUI::AbstractView::doubleclick_event(GUI::MouseEvent&) +0x12f (AbstractView.cpp:381)
CrashReporter(55:55): 0x8e2d4500: [libcore.so] Core::Object::dispatch_event(Core::Event&, Core::Object*) +0xb0 (Object.cpp:213)
CrashReporter(55:55): 0xa35b0fa4: [libgui.so] GUI::Window::handle_mouse_event(GUI::MouseEvent&) +0x234 (Window.cpp:369)
CrashReporter(55:55): 0xa35b5638: [libgui.so] GUI::Window::event(Core::Event&) [clone .localalias] +0x38 (Window.cpp:607)
CrashReporter(55:55): 0xa34d89f5: [libgui.so] GUI::Dialog::event(Core::Event&) +0x35 (Dialog.cpp:116)
CrashReporter(55:55): 0x8e2d4500: [libcore.so] Core::Object::dispatch_event(Core::Event&, Core::Object*) +0xb0 (Object.cpp:213)
CrashReporter(55:55): 0x8e2bfb10: [libcore.so] Core::EventLoop::pump(Core::EventLoop::WaitMode) [clone .localalias] +0x180 (EventLoop.cpp:412)
CrashReporter(55:55): 0x8e2c05ba: [libcore.so] Core::EventLoop::exec() +0x4a (EventLoop.cpp:369)
CrashReporter(55:55): 0xa34d85dd: [libgui.so] .L50 +0x6d (Dialog.cpp:89)
CrashReporter(55:55): 0x07b9e75e: [/bin/Profiler] main +0xa6e (main.cpp:309 => main.cpp:62)
CrashReporter(55:55): 0x07ba03e7: [/bin/Profiler] _entry +0x57 (crt0.cpp:45)
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