Bug 435576 - Crash when resume from nonstandard resume
Summary: Crash when resume from nonstandard resume
Status: RESOLVED UNMAINTAINED
Alias: None
Product: phonon-backend-gstreamer
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-04-10 13:08 UTC by Phil
Modified: 2022-11-24 02:29 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil 2021-04-10 13:08:28 UTC
Application: dragon (19.12.1)

Qt Version: 5.14.2
Frameworks Version: 5.75.0
Operating System: Linux 5.11.7-100.fc32.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 32 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:

Best I can recall, application was not actively playing media, but was open when I suspended the system. Suspend was atypical; as KDE screen was locked when I wanted to resume I tried to switch to the new user login screen and suspend from there. Resuming later, KDE came back in a partially functional state: I could interact with the top level window but not switch windows except by closing the windows on top. (desktop switching also not functioning) 

However Dragon was the only app which crashed, so perhaps there is something less robust about the app. Hope the backtrace gives some insight to improve its stability. 

- Unusual behavior I noticed:
Notification that app had crashed.

-- Backtrace:
Application: Dragon Player (dragon), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f79b36ec940 (LWP 127123))]

Thread 3 (Thread 0x7f79a4b8c700 (LWP 127125)):
#0  0x00007f79b70a586f in poll () at /lib64/libc.so.6
#1  0x00007f79b5fe8aae in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#2  0x00007f79b5fe8be3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f79b7754abb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f79b770783b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f79b7573417 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f79b85f351b in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f79b7574680 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f79b6966432 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f79b70b06d3 in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f79a644f700 (LWP 127124)):
#0  0x00007f79b70a586f in poll () at /lib64/libc.so.6
#1  0x00007f79b692338a in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f79b692571a in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f79a65f0c68 in QXcbEventQueue::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f79b7574680 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f79b6966432 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f79b70b06d3 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f79b36ec940 (LWP 127123)):
[KCrash Handler]
#4  0x00007f79b7578fef in QThreadStorageData::get() const () at /lib64/libQt5Core.so.5
#5  0x00007f79b7b221fc in QOpenGLContext::currentContext() () at /lib64/libQt5Gui.so.5
#6  0x00007f79b7af9a50 in QSurface::~QSurface() () at /lib64/libQt5Gui.so.5
#7  0x00007f79b7af791f in QWindow::~QWindow() () at /lib64/libQt5Gui.so.5
#8  0x00007f79b80ff410 in QWidgetWindow::~QWidgetWindow() () at /lib64/libQt5Widgets.so.5
#9  0x00007f79b80d604f in QWidgetPrivate::deleteTLSysExtra() () at /lib64/libQt5Widgets.so.5
#10 0x00007f79b80dba88 in QWidget::destroy(bool, bool) () at /lib64/libQt5Widgets.so.5
#11 0x00007f79b80e2ae2 in QWidget::~QWidget() () at /lib64/libQt5Widgets.so.5
#12 0x00007f79a41571d1 in Phonon::Gstreamer::OverlayWidget::~OverlayWidget() () at /usr/lib64/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so
#13 0x00007f79a4156bb1 in Phonon::Gstreamer::X11Renderer::~X11Renderer() () at /usr/lib64/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so
#14 0x00007f79a4151bed in Phonon::Gstreamer::VideoWidget::~VideoWidget() () at /usr/lib64/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so
#15 0x00007f79a4151c4d in Phonon::Gstreamer::VideoWidget::~VideoWidget() () at /usr/lib64/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so
#16 0x00007f79b8c3c718 in Phonon::MediaNodePrivate::deleteBackendObject() () at /lib64/libphonon4qt5.so.4
#17 0x00007f79b8c29d11 in Phonon::FactoryPrivate::~FactoryPrivate() () at /lib64/libphonon4qt5.so.4
#18 0x00007f79b8c29f6f in Phonon::._anon_392::destroy() () at /lib64/libphonon4qt5.so.4
#19 0x00007f79b6fee197 in __run_exit_handlers () at /lib64/libc.so.6
#20 0x00007f79b6fee340 in on_exit () at /lib64/libc.so.6
#21 0x00007f79b5a1fffe in  () at /lib64/libICE.so.6
#22 0x00007f79b5a25b3c in _IceRead () at /lib64/libICE.so.6
#23 0x00007f79b5a29de3 in IceProcessMessages () at /lib64/libICE.so.6
#24 0x00007f79b7737ed0 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#25 0x00007f79b773ae6c in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /lib64/libQt5Core.so.5
#26 0x00007f79b773b211 in QSocketNotifier::event(QEvent*) () at /lib64/libQt5Core.so.5
#27 0x00007f79b80a6063 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#28 0x00007f79b7708ee0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#29 0x00007f79b7755507 in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#30 0x00007f79b5fe878f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#31 0x00007f79b5fe8b18 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#32 0x00007f79b5fe8be3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#33 0x00007f79b7754aa3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#34 0x00007f79b770783b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#35 0x00007f79b770f4c6 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#36 0x000055c4a1c45ab6 in main ()
[Inferior 1 (process 127123) detached]

Possible duplicates by query: bug 424475, bug 421429, bug 409579, bug 404273.

Reported using DrKonqi
Comment 1 Harald Sitter 2021-04-12 08:38:24 UTC
That crash is lacking any measure of debug information: https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

It does rather look like x11 tripped over something though, it then attempted to force an application shutdown, and we can't do much about that. We'll generally clean up on shutdown but if part of the system is in a wonky state that cleanup will still crash even when ICE tried to safely bail out from whatever it found to be wrong.
Comment 2 Bug Janitor Service 2021-04-27 04:33:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-05-12 04:33:37 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 4 Phil 2022-01-14 04:14:33 UTC
Did anyone try to reproduce the crash by:

1. Wait until screen locks.
2. Instead of logging in to the lockscreen, switch to the new user login screen
3. Suspend from the new user login screen
4. Attempt to resume.

> KDE screen was locked when I wanted to resume I tried to switch to the new user login screen and suspend from there. Resuming later, KDE came back in a partially functional state: I could interact with the top level window but not switch windows except by closing the windows on top. (desktop switching also not functioning)
Comment 5 Nate Graham 2022-11-24 02:29:58 UTC
This backend for Phonon is no longer maintained or supported, and has not been for quite some time. Please use the VLC backend instead--which is the recommended and maintained replacement--and see if you can reproduce the issue there. If you can, please open a new bug report at https://bugs.kde.org/enter_bug.cgi?product=phonon-backend-vlc.

Thanks a lot!