Bug 453064

Summary: plasmashell segfaults (11) and drkonqi errors when posting the report. This is the content of the drqonqi report
Product: [Plasma] plasmashell Reporter: Greg <noh.spam.jose>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: nate
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: text of drqonqi report
smime.p7s

Description Greg 2022-04-26 18:47:04 UTC
Created attachment 148394 [details]
text of drqonqi report

Application: plasmashell (5.18.6)

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.3.18-150300.59.63-default x86_64
Windowing system: X11
Distribution: openSUSE Leap 15.3

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

Plasma5 crashes with the same SegFault (11), every time my desktop goes into screensaver (or comes out of it - difficult to tell exactly when)
new additional note: it crashed again while I was filing this bug and even Alt+SysRq_S/U/B didn't work. Hard power off. Then when I rebooted it happened again but this time didn't freeze everything.

In case I didn't already mention it. Every time I boot, the first thing I see in the GUI  is an unreportable error where ksplashqml has crashed.

Report is in the attachment
Comment 1 Nate Graham 2022-04-27 16:13:20 UTC
-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
[KCrash Handler]
#4  std::__atomic_base<int>::operator++ (this=0x7f34555672a8) at /usr/include/c++/7/bits/atomic_base.h:296
#5  QAtomicOps<int>::ref<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:265
#6  QBasicAtomicInteger<int>::ref (this=0x7f34555672a8) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:114
#7  QtPrivate::RefCount::ref (this=0x7f34555672a8) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:61
#8  QString::QString (other=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:958
#9  QFontEngineMulti::fallbackFamilyAt (at=<optimized out>, this=0x7f3400130ee0) at ../../include/QtGui/5.12.7/QtGui/private/../../../../../src/gui/text/qfontengine_p.h:495
#10 QFontEngineMulti::loadEngine (this=0x7f3400130ee0, at=<optimized out>) at text/qfontengine.cpp:1832
#11 0x00007f347c69390d in QFontEngineMulti::ensureEngineAt (this=this@entry=0x7f3400130ee0, at=at@entry=221) at text/qfontengine.cpp:1819
#12 0x00007f347c6c6c42 in QTextLine::glyphRuns (this=this@entry=0x7f3409407480, from=from@entry=0, length=<optimized out>) at text/qtextlayout.cpp:2407
#13 0x00007f347ff69dbc in QQuickTextNodeEngine::addGlyphsInRange (this=this@entry=0x7f3409407420, rangeStart=rangeStart@entry=0, rangeLength=rangeLength@entry=41, color=..., backgroundColor=..., selectionStart=selectionStart@entry=-1, selectionEnd=-1) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquicktextnodeengine.cpp:593
#14 0x00007f347ff6a347 in QQuickTextNodeEngine::addGlyphsForRanges (this=this@entry=0x7f3409407420, ranges=..., start=start@entry=0, end=41, selectionStart=selectionStart@entry=-1, selectionEnd=selectionEnd@entry=-1) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquicktextnodeengine.cpp:565
#15 0x00007f347ff68b7a in QQuickTextNode::addTextLayout (this=this@entry=0x7f34002ffc40, position=..., textLayout=0x563c7333e050, color=..., style=QQuickText::Normal, styleColor=..., anchorColor=..., selectionColor=..., selectedTextColor=..., selectionStart=-1, selectionEnd=-1, lineStart=0, lineCount=1) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquicktextnode.cpp:268
#16 0x00007f347ff6762c in QQuickText::updatePaintNode (this=0x563c73331b20, oldNode=<optimized out>, data=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquicktext.cpp:2440
#17 0x00007f347ff17238 in QQuickWindowPrivate::updateDirtyNode (this=this@entry=0x563c7101d910, item=item@entry=0x563c73331b20) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquickwindow.cpp:3524
#18 0x00007f347ff17ac3 in QQuickWindowPrivate::updateDirtyNodes (this=this@entry=0x563c7101d910) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquickwindow.cpp:3269
#19 0x00007f347ff18e42 in QQuickWindowPrivate::syncSceneGraph (this=this@entry=0x563c7101d910) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquickwindow.cpp:437
#20 0x00007f347febfa94 in QSGRenderThread::sync (this=this@entry=0x563c71dac160, inExpose=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:563
#21 0x00007f347fec0ea4 in QSGRenderThread::syncAndRender (this=this@entry=0x563c71dac160) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:610
#22 0x00007f347fec4738 in QSGRenderThread::run (this=0x563c71dac160) at /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:730
#23 0x00007f347bde4132 in QThreadPrivate::start (arg=0x563c71dac160) at thread/qthread_unix.cpp:361
#24 0x00007f3478c426ea in start_thread () from /lib64/libpthread.so.0
#25 0x00007f347b625a8f in clone () from /lib64/libc.so.6

This indicates that the issue is in Qt. Unfortunately your Qt version is quite ancient. I would recommend upgrading to Plasma 5.24 and Qt 5.15.3 and trying again.
Comment 2 Greg 2022-05-13 09:26:26 UTC
Created attachment 148790 [details]
smime.p7s

I reinstalled OpenSUse Leap 15.3 (which is a current LTS release, I believe), so should be sufficiently current until 15.4 turns up. If this is an issue, then it’s questionable whether SUse are doing a competent job for their LTS release. In the meantime, I’ve switched to OpenSUse Tumbleweed, which seems to have fixed the issue.

> On 27 Apr 2022, at 17:13, Nate Graham <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=453064
> 
> Nate Graham <nate@kde.org> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |nate@kde.org
>             Status|REPORTED                    |RESOLVED
>         Resolution|---                         |UNMAINTAINED
> 
> --- Comment #1 from Nate Graham <nate@kde.org> ---
> -- Backtrace:
> Application: Plasma (plasmashell), signal: Segmentation fault
> [KCrash Handler]
> #4  std::__atomic_base<int>::operator++ (this=0x7f34555672a8) at
> /usr/include/c++/7/bits/atomic_base.h:296
> #5  QAtomicOps<int>::ref<int> (_q_value=...) at
> ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:265
> #6  QBasicAtomicInteger<int>::ref (this=0x7f34555672a8) at
> ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:114
> #7  QtPrivate::RefCount::ref (this=0x7f34555672a8) at
> ../../include/QtCore/../../src/corelib/tools/qrefcount.h:61
> #8  QString::QString (other=..., this=<optimized out>) at
> ../../include/QtCore/../../src/corelib/tools/qstring.h:958
> #9  QFontEngineMulti::fallbackFamilyAt (at=<optimized out>,
> this=0x7f3400130ee0) at
> ../../include/QtGui/5.12.7/QtGui/private/../../../../../src/gui/text/qfontengine_p.h:495
> #10 QFontEngineMulti::loadEngine (this=0x7f3400130ee0, at=<optimized out>) at
> text/qfontengine.cpp:1832
> #11 0x00007f347c69390d in QFontEngineMulti::ensureEngineAt
> (this=this@entry=0x7f3400130ee0, at=at@entry=221) at text/qfontengine.cpp:1819
> #12 0x00007f347c6c6c42 in QTextLine::glyphRuns (this=this@entry=0x7f3409407480,
> from=from@entry=0, length=<optimized out>) at text/qtextlayout.cpp:2407
> #13 0x00007f347ff69dbc in QQuickTextNodeEngine::addGlyphsInRange
> (this=this@entry=0x7f3409407420, rangeStart=rangeStart@entry=0,
> rangeLength=rangeLength@entry=41, color=..., backgroundColor=...,
> selectionStart=selectionStart@entry=-1, selectionEnd=-1) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquicktextnodeengine.cpp:593
> #14 0x00007f347ff6a347 in QQuickTextNodeEngine::addGlyphsForRanges
> (this=this@entry=0x7f3409407420, ranges=..., start=start@entry=0, end=41,
> selectionStart=selectionStart@entry=-1, selectionEnd=selectionEnd@entry=-1) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquicktextnodeengine.cpp:565
> #15 0x00007f347ff68b7a in QQuickTextNode::addTextLayout
> (this=this@entry=0x7f34002ffc40, position=..., textLayout=0x563c7333e050,
> color=..., style=QQuickText::Normal, styleColor=..., anchorColor=...,
> selectionColor=..., selectedTextColor=..., selectionStart=-1, selectionEnd=-1,
> lineStart=0, lineCount=1) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquicktextnode.cpp:268
> #16 0x00007f347ff6762c in QQuickText::updatePaintNode (this=0x563c73331b20,
> oldNode=<optimized out>, data=<optimized out>) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquicktext.cpp:2440
> #17 0x00007f347ff17238 in QQuickWindowPrivate::updateDirtyNode
> (this=this@entry=0x563c7101d910, item=item@entry=0x563c73331b20) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquickwindow.cpp:3524
> #18 0x00007f347ff17ac3 in QQuickWindowPrivate::updateDirtyNodes
> (this=this@entry=0x563c7101d910) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquickwindow.cpp:3269
> #19 0x00007f347ff18e42 in QQuickWindowPrivate::syncSceneGraph
> (this=this@entry=0x563c7101d910) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/items/qquickwindow.cpp:437
> #20 0x00007f347febfa94 in QSGRenderThread::sync
> (this=this@entry=0x563c71dac160, inExpose=<optimized out>) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:563
> #21 0x00007f347fec0ea4 in QSGRenderThread::syncAndRender
> (this=this@entry=0x563c71dac160) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:610
> #22 0x00007f347fec4738 in QSGRenderThread::run (this=0x563c71dac160) at
> /usr/src/debug/libqt5-qtdeclarative-5.12.7-4.2.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:730
> #23 0x00007f347bde4132 in QThreadPrivate::start (arg=0x563c71dac160) at
> thread/qthread_unix.cpp:361
> #24 0x00007f3478c426ea in start_thread () from /lib64/libpthread.so.0
> #25 0x00007f347b625a8f in clone () from /lib64/libc.so.6
> 
> This indicates that the issue is in Qt. Unfortunately your Qt version is quite
> ancient. I would recommend upgrading to Plasma 5.24 and Qt 5.15.3 and trying
> again.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.