[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 --- Comment #8 from Dm --- (In reply to cwo from comment #3) > Q_ASSERT_X will cause a crash if its conditions are not met in a debug > build, but do nothing in a release build. Q_ASSERT_X will also print an > error message with more information about the problem to the console (or if > it's not running in a console, to the system log – at least on most systemd > configurations). > > Could you reproduce the error, then run `journalctl --reverse` and copy the > assert message from there and paste it here? May be, KDE devs have any "disarmed" versions/setups of QT or something else with Q_ASSERT doesn't stop with SIGABRT and no such setup in Neon User Release? For me, only -DQT_NO_DEBUG helps -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 --- Comment #7 from Dm --- Created attachment 190131 --> https://bugs.kde.org/attachment.cgi?id=190131&action=edit Plasma-workspace crash on play after pause VLC (MPRIS) -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 Nate Graham changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 --- Comment #6 from Dm --- (In reply to cwo from comment #3) > Q_ASSERT_X will cause a crash if its conditions are not met in a debug > build, but do nothing in a release build. Q_ASSERT_X will also print an > error message with more information about the problem to the console (or if > it's not running in a console, to the system log – at least on most systemd > configurations). > > Could you reproduce the error, then run `journalctl --reverse` and copy the > assert message from there and paste it here? got this vhen launched vlc and journalctl -f фев 19 00:32:49 DellNote vivaldi-stable[3107]: [3162:3170:0219/003249.634247:ERROR:chromium/services/network/restricted_cookie_manager.cc:1157] top_frame_origin from renderer='null [internally: (7B75B488DD9E09F94D5C190A40AE7956) anonymous]' from browser='https://www.perplexity.ai'; фев 19 00:33:54 DellNote dolphin[108701]: [libdav1d @ 0x57fa8745c900] libdav1d 1.4.1 фев 19 00:33:54 DellNote dolphin[108701]: [libdav1d @ 0x57fa87460980] libdav1d 1.4.1 фев 19 00:33:56 DellNote systemd[1847]: Started [email protected] - Медиаплеер VLC - Медиаплеер. фев 19 00:33:56 DellNote vlc[108724]: [651fd8951550] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса. фев 19 00:33:57 DellNote kded6[2116]: Registering ":1.482/StatusNotifierItem" to system tray фев 19 00:33:57 DellNote vlc[108724]: [77d924cc7430] main video output error: video output creation failed фев 19 00:33:57 DellNote vlc[108724]: [77d924c08900] main decoder error: failed to create video output фев 19 00:33:57 DellNote vlc[108724]: [77d924c77e80] main video output error: video output creation failed фев 19 00:33:57 DellNote vlc[108724]: [77d924c08900] main decoder error: failed to create video output фев 19 00:34:14 DellNote plasmashell[105947]: ASSERT failure in void PlayerContainer::Play(): "Медиапроигрыватель VLC", file /workspace/build/libkmpris/playercontainer.cpp, line 276 фев 19 00:34:14 DellNote plasmashell[105947]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2 фев 19 00:34:14 DellNote systemd[1]: Started [email protected] - Process Core Dump (PID 108811/UID 0). фев 19 00:34:14 DellNote systemd[1]: Started [email protected] - Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling. фев 19 00:34:18 DellNote systemd-coredump[108813]: [🡕] Process 105947 (plasmashell) of user 1000 dumped core. Module libgomp.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.1.amd64 Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.1.amd64 Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.12.amd64 Module libudev.so.1 from deb systemd-255.4-1ubuntu8.12.amd64 Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.1.amd64 Module libstdc++.so.6 from deb gcc-14-14.2.0-4ubuntu2~24.04.1.amd64 Stack trace of thread 105947: #0 0x7f48b1e9eb2c __pthread_kill_implementation (libc.so.6 + 0x9eb2c) #1 0x7f48b1e4527e __GI_raise (libc.so.6 + 0x4527e) #2 0x7f48b650ef57 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x7f57) #3 0x7f48b1e45330 __restore_rt (libc.so.6 + 0x45330) #4 0x7f48b1e9eb2c __pthread_kill_implementation (libc.so.6 + 0x9eb2c) #5 0x7f48b1e4527e __GI_raise (libc.so.6 + 0x4527e) #6 0x7f48b1e288ff __GI_abort (libc.so.6 + 0x288ff) #7 0x7f48b2b61a31 n/a (libQt6Core.so.6 + 0x561a31) #8 0x7f48b2b63310 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x563310) #9 0x7f48b2b4dc71 _Z11qt_assert_xPKcS0_S0_i (libQt6Core.so.6 + 0x54dc71) #10 0x7f48481cdf12 _ZN15PlayerContainer4PlayEv (libkmpris.so.6 + 0x50f12) #11 0x7f48481d43fd n/a (libkmpris.so.6 + 0x573fd) #12 0x7f48481d48f1 _ZN15PlayerContainer11qt_metacallEN11QMetaObject4CallEiPPv (libkmpris.so.6 + 0
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 --- Comment #5 from Dm --- (In reply to cwo from comment #3) > Q_ASSERT_X will cause a crash if its conditions are not met in a debug > build, but do nothing in a release build. Q_ASSERT_X will also print an > error message with more information about the problem to the console (or if > it's not running in a console, to the system log – at least on most systemd > configurations). > > Could you reproduce the error, then run `journalctl --reverse` and copy the > assert message from there and paste it here? фев 08 06:16:29 DellNote dolphin[74625]: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x6136cf0eb980] stream 0, timescale not set фев 08 06:16:29 DellNote dolphin[74625]: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x6136cf0eb980] stream 0, timescale not set фев 08 06:16:24 DellNote vlc[74812]: libva info: va_openDriver() returns 0 фев 08 06:16:24 DellNote vlc[74812]: libva info: Found init function __vaDriverInit_1_20 фев 08 06:16:24 DellNote vlc[74812]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so фев 08 06:16:24 DellNote vlc[74812]: libva info: User environment variable requested driver 'iHD' фев 08 06:16:24 DellNote vlc[74812]: libva info: VA-API version 1.20.0 фев 08 06:16:24 DellNote kded6[2210]: Registering ":1.278/StatusNotifierItem" to system tray фев 08 06:16:24 DellNote vlc[74812]: [5d9531cc4550] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' дл> фев 08 06:16:23 DellNote systemd[1842]: Started [email protected] - Медиаплеер VLC - Медиаплеер. Here is the log witt: launch VLC, and pause and non-working play with mid-click But could not see here your example But!! (2) no crash with release build. Even self-made and... it might be no message because of variables: ``` export DEB_CXXFLAGS_APPEND="-DQT_NO_DEBUG -DNDEBUG" export DEB_CFLAGS_APPEND="-DQT_NO_DEBUG -DNDEBUG" ``` set while building a DEB Tried do launch `gdb vlc` ant send y to this: Enable debuginfod for this session? (y or [n]) y And... Play/Pause works... but if launched with Dolphin on file, pause works, play again after pause does not If VLC is launched from menu, play/pause widget works proper So only launching by click on file causes errors in media player widget May be there are some variables/settings to enable Release build but not disabling Q_ASSERT? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510
--- Comment #4 from Kai Uwe Broulik ---
It’s probably:
void PlayerContainer::Play()
{
Q_ASSERT_X(m_canPlay.value(), Q_FUNC_INFO, qUtf8Printable(identity()));
...
}
--
You are receiving this mail because:
You are watching all bug changes.
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 cwo changed: What|Removed |Added CC||[email protected] --- Comment #3 from cwo --- Q_ASSERT_X will cause a crash if its conditions are not met in a debug build, but do nothing in a release build. Q_ASSERT_X will also print an error message with more information about the problem to the console (or if it's not running in a console, to the system log – at least on most systemd configurations). Could you reproduce the error, then run `journalctl --reverse` and copy the assert message from there and paste it here? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 Dm changed: What|Removed |Added Status|NEEDSINFO |REPORTED Resolution|BACKTRACE |--- --- Comment #2 from Dm --- (In reply to TraceyC from comment #1) > Thank you for the bug report. I'm not able to reproduce this on git-master. > Unfortunately the backtrace is incomplete and missing debug symbols for the > following lines that we need to figure out exactly what's going wrong: > > #11 0x7ef4fd932891 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6 > #17 0x7ef4fee776cb in ?? () from /lib/x86_64-linux-gnu/libQt6Qml.so.6 > #25 0x7ef47e328cf4 in ?? () from > /usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/applets/org.kde.plasma. > mediacontroller.so > > Could you please install debug packages and attach a new symbolicated > backtrace generated by using `coredumpctl gdb` in a terminal window? See > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/ > How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl > for details about how to do this. Thanks again! AI said it's caused by Debug build and Q_ASSERT_X(...) I rebuilt (apt source + dpkg-buildpackage inside official Neon User container) in Release and no debug mode (no chenges to sources, version is exactly like in Neon binary package) export DEB_CXXFLAGS_APPEND="-DQT_NO_DEBUG -DNDEBUG" export DEB_CFLAGS_APPEND="-DQT_NO_DEBUG -DNDEBUG" export DEB_CMAKE_EXTRA_FLAGS="-DCMAKE_BUILD_TYPE=Release" And now it just does not play after pause and no crash anymore. AI says it's VLC-side problem Should i rollback to binary from Neon repo to try again with backtrace? You might built something in different mode, possibly Release and.. something else (idk exactly but AI was right about Release build) -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 TraceyC changed: What|Removed |Added CC||[email protected] Resolution|--- |BACKTRACE Status|REPORTED|NEEDSINFO --- Comment #1 from TraceyC --- Thank you for the bug report. I'm not able to reproduce this on git-master. Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong: #11 0x7ef4fd932891 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6 #17 0x7ef4fee776cb in ?? () from /lib/x86_64-linux-gnu/libQt6Qml.so.6 #25 0x7ef47e328cf4 in ?? () from /usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/applets/org.kde.plasma.mediacontroller.so Could you please install debug packages and attach a new symbolicated backtrace generated by using `coredumpctl gdb` in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this. Thanks again! -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 515510] Plasmashell crash on pause and play by middle click on Media control widget
https://bugs.kde.org/show_bug.cgi?id=515510 Bug Janitor Service changed: What|Removed |Added Severity|normal |crash -- You are receiving this mail because: You are watching all bug changes.
