<table><tr><td style="">graesslin created this revision.<br />graesslin added reviewers: Plasma, broulik.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3051" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Hit a crash there, this change prevents it:</p>
<p>Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.<br />
QObject::setProperty (this=0x0, name=0x7fff2dd11a68<br />
"initialPositionSet", value=...) at kernel/qobject.cpp:3849<br />
3849 const QMetaObject* meta = metaObject();<br />
(gdb) bt<br />
#0 QObject::setProperty (this=0x0, name=0x7fff2dd11a68<br />
"initialPositionSet", value=...) at kernel/qobject.cpp:3849<br />
#1 0x00007fff2dd09d0b in<br />
NotificationsHelper::addNotificationPopup(QObject*) ()</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">from</pre></div>
<p>/opt/kf5/lib/x86_64-linux-gnu/qml/org/kde/plasma/private/notifications/libnotificationshelperplugin.so<br />
#2 0x00007fff2dd1106d in<br />
NotificationsHelper::qt_static_metacall(QObject*, QMetaObject::Call,<br />
int, void**) ()</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">from</pre></div>
<p>/opt/kf5/lib/x86_64-linux-gnu/qml/org/kde/plasma/private/notifications/libnotificationshelperplugin.so<br />
#3 0x00007fff2dd112a3 in<br />
NotificationsHelper::qt_metacall(QMetaObject::Call, int, void**) ()</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">from</pre></div>
<p>/opt/kf5/lib/x86_64-linux-gnu/qml/org/kde/plasma/private/notifications/libnotificationshelperplugin.so<br />
#4 0x00007ffff4eddc99 in QQmlObjectOrGadget::metacall<br />
(this=this@entry=0x7fffffff3bd0,<br />
type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>,<br />
index@entry=11,</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">argv=<optimized out>) at qml/qqmlpropertycache.cpp:1547</pre></div>
<p>#5 0x00007ffff4e70028 in CallMethod (object=..., index=<optimized out>,<br />
returnType=returnType@entry=43, argCount=<optimized out>,<br />
argTypes=<optimized out>,</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">engine=engine@entry=0x849cf0, callArgs=<optimized out>) at</pre></div>
<p>jsruntime/qv4qobjectwrapper.cpp:1137<br />
#6 0x00007ffff4e71478 in CallPrecise (object=..., data=...,<br />
engine=engine@entry=0x849cf0, callArgs=callArgs@entry=0x7fffdc230558) at<br />
jsruntime/qv4qobjectwrapper.cpp:1388<br />
#7 0x00007ffff4e71ced in QV4::QObjectMethod::callInternal<br />
(this=<optimized out>, callData=<optimized out>) at<br />
jsruntime/qv4qobjectwrapper.cpp:1871<br />
#8 0x00007ffff4e86d21 in QV4::Object::call (d=0x7fffdc230558,<br />
this=<optimized out>) at jsruntime/qv4object_p.h:332<br />
#9 QV4::Runtime::callProperty (engine=0x849cf0, nameIndex=<optimized<br />
out>, callData=0x7fffdc230558) at jsruntime/qv4runtime.cpp:1030<br />
#10 0x00007fff2dce8152 in ?? ()<br />
#11 0x3a3a646e616c7961 in ?? ()<br />
#12 0x3a3a746e65696c43 in ?? ()<br />
#13 0x0000000000000000 in ?? ()</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>notification-add-popup-null</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3051" rel="noreferrer">https://phabricator.kde.org/D3051</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/notifications/plugin/notificationshelper.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, Plasma, broulik<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>