Currently, Piano crashes when trying to exit through normal GUI means.
It's related to the following line, specifically the class_name()
call:
Output from CrashReporter
after exiting:
15.467 Taskbar(35:35): Activated app with ID 35
15.583 Piano(45:45): Started Thread "Audio pipeline"(46)
17.790 Piano(45:45): ASSERTION FAILED: false
./Userland/Libraries/LibC/cxxabi.cpp:162
17.799 [#0 Piano(45:45)]: Terminating Piano(45) due to signal 6
17.799 [#0 Piano(45:45)]: Piano(45:46) Should already die
17.803 [#0 Finalizer Task(5:5)]: copy_from_user(0x000000200d80ec88, 0x000000000051dfb8, 8) failed at V0x000000000051dfb817.808 [#0 Finalizer Task(5:5)]: Backtrace:
. . . . . . (truncated)
0x0000000ec1e2cf7e /usr/lib/libc.so: .text + 0x1f7e
0x0000000ec1e3341d /usr/lib/libc.so: .text + 0x841d
0x0000000ec1e33d60 /usr/lib/libc.so: .text + 0x8d60
0x00000016d2d9dfe5 /usr/lib/libcore.so.serenity: .text + 0x24fe5
0x00000016d2d9e230 /usr/lib/libcore.so.serenity: .text + 0x25230
0x00000016d2db97d9 /usr/lib/libcore.so.serenity: .text + 0x407d9
0x00000002e228ac9e /usr/lib/libaudio.so.serenity: .text + 0x29c9e
0x00000002e2289522 /usr/lib/libaudio.so.serenity: .text + 0x28522
0x00000002e2289671 /usr/lib/libaudio.so.serenity: .text + 0x28671
0x00000000ffdf2112 /bin/Piano: .text + 0x2112
0x00000000ffdf2131 /bin/Piano: .text + 0x2131
0x00000000ffdf7535 /bin/Piano: .text + 0x7535
0x00000000ffdf0e28 /bin/Piano: .text + 0xe28
0x00000000ffdf0fa9 /bin/Piano: .text + 0xfa9
17.883 [#0 Finalizer Task(5:5)]: Generating coredump for pid: 45
17.891 CrashDaemon(34:34): New coredump file: /tmp/coredump/Piano_45_1691831565
18.085 CrashReporter(47:47): Started Thread "Background Thread"(48)
19.492 CrashReporter(47:48): Generating backtrace took 1404 ms
19.499 CrashReporter(47:48): --- Backtrace for thread #0 (TID 45) ---
19.502 CrashReporter(47:48): 0x0000001ecc54102b: [/usr/lib/libsystem.so] syscall2 +0xb (syscall.cpp:25 => syscall.cpp:24)
19.506 CrashReporter(47:48): 0x0000000ec1e2cf7d: [/usr/lib/libc.so] abort +0x26 (stdlib.cpp:386)
19.510 CrashReporter(47:48): 0x0000000ec1e3341c: [/usr/lib/libc.so] __assertion_failed +0x7c (assert.cpp:34)
19.514 CrashReporter(47:48): 0x0000000ec1e33d5f: [/usr/lib/libc.so] __cxa_pure_virtual +0xf (cxxabi.cpp:162)
19.518 CrashReporter(47:48): 0x00000016d2d9dfe4: [/usr/lib/libcore.so.serenity] Core::EventReceiver::stop_timer() +0x124 (EventReceiver.cpp:134)
19.522 CrashReporter(47:48): 0x00000016d2d9e22f: [/usr/lib/libcore.so.serenity] Core::EventReceiver::~EventReceiver() +0x22f (EventReceiver.cpp:35)
19.528 CrashReporter(47:48): 0x00000016d2db97d8: [/usr/lib/libcore.so.serenity] Core::Timer::~Timer() +0x48 (Timer.h:30)19.535 CrashReporter(47:48): 0x00000002e228ac9d: [/usr/lib/libaudio.so.serenity] IPC::ConnectionBase::~ConnectionBase() +0x23d (RefCounted.h:65 => RefCounted.h:57 => NonnullRefPtr.h:32 => RefPtr.h:223 => RefPtr.h:103 => Connection.h:39)
19.549 CrashReporter(47:48): 0x00000002e2289521: [/usr/lib/libaudio.so.serenity] Audio::ConnectionToServer::~ConnectionToServer() +0x271 (Connection.h:86 => ConnectionToServer.h:29 => ConnectionToServer.cpp:49)
19.558 CrashReporter(47:48): 0x00000002e2289670: [/usr/lib/libaudio.so.serenity] Audio::ConnectionToServer::~ConnectionToServer() +0x10 (ConnectionToServer.cpp:49)
19.565 CrashReporter(47:48): 0x00000000ffdf2111: [/bin/Piano] AudioPlayerLoop::~AudioPlayerLoop() +0x211 (RefCounted.h:65 => RefCounted.h:57 => NonnullRefPtr.h:32 => RefPtr.h:223 => RefPtr.h:103 => AudioPlayerLoop.cpp:76)
19.574 CrashReporter(47:48): 0x00000000ffdf2130: [/bin/Piano] AudioPlayerLoop::~AudioPlayerLoop() +0x10 (AudioPlayerLoop.cpp:76)
19.579 CrashReporter(47:48): 0x00000000ffdf7534: [/bin/Piano] serenity_main(Main::Arguments) +0xf54 (RefCounted.h:65 => RefCounted.h:57 => NonnullRefPtr.h:32 => NonnullRefPtr.h:97 => main.cpp:96)
19.587 CrashReporter(47:48): 0x00000000ffdf0e27: [/bin/Piano] main +0x147 (Main.cpp:43)
19.590 CrashReporter(47:48): 0x00000000ffdf0fa8: [/bin/Piano] _entry +0x48 (crt0.cpp:50)
19.613 CrashReporter(47:48): Generating backtrace took 0 ms
19.618 CrashReporter(47:48): --- Backtrace for thread #1 (TID 46) ---
19.618 CrashReporter(47:48): 0x0000001ecc541043: [/usr/lib/libsystem.so] syscall3 +0x13 (syscall.cpp:30 => syscall.cpp:29)
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