https://bugs.kde.org/show_bug.cgi?id=525204

            Bug ID: 525204
           Summary: Random Crash in SystemTray::startApplet
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: System Tray widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

It might be because I have not compiled kde plasma addons or plasma-nm or
plasma-pa but I have some in my systray.

DESCRIPTION

````
#0  0x00007f7323081fca in (anonymous
namespace)::UnrollTailLoop<3>::exec<char16_t const*,
QtPrivate::qustrchr(QStringView, char16_t)::<lambda(qsizetype)>,
QtPrivate::qustrchr(QStringView, char16_t)::<lambda(qsizetype)>, long int>
    (loopCheck=..., i=0, count=1, returnIfExited=0x2 <error: Cannot access
memory at address 0x2>, returnIfFailed=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:301
#1  QtPrivate::qustrchr (str=..., c=47 u'/')
    at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:747
#2  0x00007f7322ee4c45 in QtPrivate::findString
    (str=..., from=<optimized out>, ch=..., cs=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstringview.h:122
#3  0x00007f73230a2701 in (anonymous
namespace)::splitString<QList<QStringView>, QStringView>
    (source=..., sep=..., behavior=..., cs=Qt::CaseSensitive)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:8232
#4  0x00007f732308da0e in QStringView::split
    (this=<optimized out>, sep=..., behavior=..., cs=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:8308
#5  QString::section
    (this=this@entry=0x7f7325b5ffe0 <Plasma::PluginLoader::self()::self>,
sep=..., start=start@entry=-1, end=end@entry=-1, flags=..., flags@entry=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:5045
#6  0x00007f7325b1dfda in QString::section
    (astart=-1, aend=-1, this=0x7f7325b5ffe0
<Plasma::PluginLoader::self()::self>, asep=..., aflags=...)
    at /usr/include/qt6/QtCore/qstring.h:1424
#7  Plasma::(anonymous namespace)::loadAppletInternal
    (name=..., appletId=appletId@entry=3144264512, args=...)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/pluginloader.cpp:63
#8  0x00007f7325b1f700 in Plasma::PluginLoader::loadApplet
    (this=this@entry=0x7ffcbb69a990, name=...,
appletId=appletId@entry=3144264512, args=<optimized out>)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/pluginloader.cpp:141
#9  0x00007f731946a29a in SystemTray::startApplet (this=0x55ccf1e70ec0,
pluginId=...)
    at
/home/meven/kde/src/plasma-workspace/applets/systemtray/systemtray.cpp:508
#10 0x00007f7322feeff3 in QtPrivate::QSlotObjectBase::call
    (this=0x55ccf1e86840, r=<optimized out>, a=0x7ffcbb69ab80, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:462
#11 doActivate<false> (sender=0x55ccf1e6eaf0, signal_index=5,
argv=0x7ffcbb69ab80)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4393
#12 0x00007f7319472118 in QMetaObject::activate<void, QString>
    (sender=0x55ccf1e6eaf0, mo=0x7f731952fbc0
<PlasmoidRegistry::staticMetaObject>, local_signal_index=2, ret=0x0) at
/usr/include/qt6/QtCore/qobjectdefs.h:320
#13 PlasmoidRegistry::plasmoidEnabled (this=0x55ccf1e6eaf0, _t1=...)
    at
/home/meven/kde/build/plasma-workspace/applets/systemtray/systemtray_static_autogen/include/moc_plasmoidregistry.cpp:185
#14 PlasmoidRegistry::registerPlugin (this=this@entry=0x55ccf1e6eaf0,
pluginMetaData=...)
    at
/home/meven/kde/src/plasma-workspace/applets/systemtray/plasmoidregistry.cpp:137
#15 0x00007f73194726e9 in PlasmoidRegistry::init (this=0x55ccf1e6eaf0)
    at
/home/meven/kde/src/plasma-workspace/applets/systemtray/plasmoidregistry.cpp:52
#16 0x00007f731946bded in SystemTray::restoreContents (this=0x55ccf1e70ec0,
group=<optimized out>)
    at
/home/meven/kde/src/plasma-workspace/applets/systemtray/systemtray.cpp:297
#17 0x00007f7325b2b4fc in Plasma::Containment::restore (this=0x55ccf1e70ec0,
group=...)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/containment.cpp:158
#18 0x00007f7325b36f47 in Plasma::Containment::addApplet
    (this=<optimized out>, applet=<optimized out>, geometryHint=...)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/containment.cpp:438
#19 0x00007f7325b4a27d in Plasma::ContainmentPrivate::createApplet
    (this=0x55ccf1e0bac0, name=..., args=<optimized out>, id=43,
geometryHint=...)
    at
/usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/private/containment_p.cpp:189
#20 0x00007f7325b34d40 in Plasma::Containment::restoreContents
    (this=0x55ccf1e0bb60, group=<optimized out>)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/containment.cpp:266
#21 0x00007f7325b2b4fc in Plasma::Containment::restore (this=0x55ccf1e0bb60,
group=...)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/containment.cpp:158
#22 0x00007f7325b40650 in Plasma::CoronaPrivate::addContainment
    (this=this@entry=0x55ccf1c0e580, name=..., args=..., id=id@entry=38,
lastScreen=lastScreen@entry=-1, delayedInit=delayedInit@entry=false)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/corona.cpp:605
#23 0x00007f7325b41930 in Plasma::CoronaPrivate::importLayout
    (this=0x55ccf1c0e580, conf=..., mergeConfig=mergeConfig@entry=false)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/corona.cpp:667
#24 0x00007f7325b41dd4 in Plasma::Corona::loadLayout
(this=this@entry=0x7ffcbb69c730, configName=...)
    at /usr/src/debug/libplasma/libplasma-6.7.4/src/plasma/corona.cpp:142
#25 0x000055cce79bcd4b in ShellCorona::load (this=0x7ffcbb69c730)
```

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to