Bug 467983 - Plasma crashes in QTextDocument::docHandle() when playing videos in Chrome with Plasma Browser Integration
Summary: Plasma crashes in QTextDocument::docHandle() when playing videos in Chrome wi...
Status: RESOLVED DUPLICATE of bug 465454
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player (show other bugs)
Version: 5.27.3
Platform: Neon Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-30 20:40 UTC by Eric M
Modified: 2023-04-15 02:06 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric M 2023-03-30 20:40:20 UTC
Application: plasmashell (5.27.3)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 5.19.0-38-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.3 [KCrashBackend]

-- Information about the crash:
I have the plasma extention for chrome and the media player option is checked but everytime i use youtube and click on a video, the media player icon shows up in the taskbar small icons and then a second later plasma crashes and trys to restart itself but fails everytime to restore the system to normal i have to restart my pc then disable the media player option in the extention. I have no idea whats going on I only know it has to do something with the media player. My system was up to date when this happened

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f631be62f64 in QTextDocument::docHandle() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007f631be5a93c in QTextFrame::begin() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#6  0x00007f631be9e730 in ?? () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007f631be9ed4e in ?? () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#8  0x00007f631be9f368 in QTextDocumentLayout::doLayout(int, int, int) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007f631bea06fb in QTextDocumentLayout::documentChanged(int, int, int) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007f631be78978 in QTextDocumentPrivate::clear() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007f631be611fd in QTextDocument::setPlainText(QString const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007f631c6ad02b in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f631c6ae45d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f631c6aef5f in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f631c6b101b in QLabel::paintEvent(QPaintEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f631c5af97e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f631c65dd42 in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f631c56c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f631b8bc07a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f631c5a781a in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f631c5a80b2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f631c5a9530 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f631c5a935f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f631c5a7dcf in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f631c5a9530 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f631c5a935f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f631c5a7dcf in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f631c57da4d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f631c57e233 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f631c5cc73c in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f631c56c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f631b8bc07a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f631bd43e61 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007f631bd16a9c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007f6316cf3dee in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#36 0x00007f631a456d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f631a4ab6c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f631a4543e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f631b915ad8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f631b8ba99b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f631b8c2f34 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00005648aded5a8b in ?? ()
#43 0x00007f631ae29d90 in __libc_start_call_main (main=main@entry=0x5648aded4b70, argc=argc@entry=1, argv=argv@entry=0x7ffe08dba628) at ../sysdeps/nptl/libc_start_call_main.h:58
#44 0x00007f631ae29e40 in __libc_start_main_impl (main=0x5648aded4b70, argc=1, argv=0x7ffe08dba628, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe08dba618) at ../csu/libc-start.c:392
#45 0x00005648aded5bb5 in ?? ()
[Inferior 1 (process 9069) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-04-04 18:25:21 UTC
Does it happen with any video, or a specific one?

Does it happen with other media sources other than YouTube?
Comment 2 Eric M 2023-04-06 20:05:05 UTC
(In reply to Nate Graham from comment #1)
> Does it happen with any video, or a specific one?
> 
> Does it happen with other media sources other than YouTube?

It happens with any YouTube video, and any media that plays through chrome, not sure about outside of chrome though.
Comment 3 Nate Graham 2023-04-09 18:53:32 UTC
Thanks for the info. Next, can you try turning off the Plasma Browser Integration extension in Chrome and see if the issue goes away?
Comment 4 Fushan Wen 2023-04-15 02:06:18 UTC

*** This bug has been marked as a duplicate of bug 465454 ***