Bug 467493

Summary: Plasma crashes in QTextDocument::docHandle() when reproducing content on Jellyfin using Firefox
Product: [Plasma] plasmashell Reporter: Riccardo Robecchi <sephiroth_pk>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.27.2   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description Riccardo Robecchi 2023-03-17 14:10:16 UTC
Application: plasmashell (5.27.2)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 5.19.15-xanmod1 x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.2 [CoredumpBackend]

-- Information about the crash:
Plasma crashes when I reproduce music using Jellyfin. The crash only happens when there is an album art image, otherwise Plasma works as expected. A notification is spawned just before the crashes, but as it is not retained I do not know what it says. This is always reproducible and I have witnessed it on two different devices. The issue was not present with KDE Frameworks 5.103.0, so my uneducated guess is that something changed there.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  QTextDocument::docHandle() const (this=0x0) at text/qtextdocument.cpp:3491
#7  0x00007f86d685a2d1 in QTextObject::docHandle() const (this=this@entry=0x55d54556b3a0) at text/qtextobject.cpp:178
#8  0x00007f86d685a8fc in QTextFrame::begin() const (this=this@entry=0x55d54556b3a0) at text/qtextobject.cpp:633
#9  0x00007f86d689e6f0 in QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed, QFixed, QFixed) (this=this@entry=0x7f865c0ff8f0, f=f@entry=0x55d54556b3a0, layoutFrom=layoutFrom@entry=0, layoutTo=layoutTo@entry=0, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:3051
#10 0x00007f86d689ed0e in QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed) (this=this@entry=0x7f865c0ff8f0, f=f@entry=0x55d54556b3a0, layoutFrom=layoutFrom@entry=0, layoutTo=layoutTo@entry=0, parentY=..., parentY@entry=...) at text/qtextdocumentlayout.cpp:2942


Reported using DrKonqi
Comment 1 Riccardo Robecchi 2023-03-17 14:10:17 UTC
Created attachment 157361 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2023-04-04 19:35:33 UTC
Does the issue go away if you disable (don't hide, disable) the Media Player widget in your Panel or System Tray?
Comment 3 Nate Graham 2023-04-04 19:37:01 UTC
...Or if you disable Plasma Browser Integration? Or, if you're behind a proxy, if you disable the proxy?
Comment 4 Riccardo Robecchi 2023-04-08 08:29:56 UTC
The bug appears to be fixed with Plasma 5.27.4. Thanks to whomever fixed it!