Review Request 121240: Port to new KScreen API

Aleix Pol aleixpol at kde.org
Tue Nov 25 23:36:24 UTC 2014


On Tue, Nov 25, 2014 at 9:13 PM, Luca Beltrame <lbeltrame at kde.org> wrote:

> In data martedì 25 novembre 2014 11:48:02, Daniel Vrátil ha scritto:
>
> > ShellCorona is not a public class, so nothing outside plasma-workspace
> needs
> > it, and the rest of plasma-workspace compiles just fine without it.
>
> Posting here for those who missed it in #plasma: this change makes
> plasmashell
> crash if kactivitymanagerd is running (because KScreen isn't done yet and
> yet
> kamd tries to access screenForContainment). The fault lies in
> kactivitymanagerd: I tried to look at the code but I couldn't find anything
> obvious.
>
> Can someone more knowledgeable have an insight of why this happens?
>
> This is the bt:
>
> Thread 1 (Thread 0x7f62be2477c0 (LWP 24141)):
> [KCrash Handler]
> #5  0x00007f62bd0f1dc4 in KScreen::Config::outputs() const () at
> /usr/lib64/libKF5Screen.so.5
> #6  0x000000000044e2a3 in
> ShellCorona::screenForContainment(Plasma::Containment const*) const ()
> #7  0x00007f62bc90a2df in Plasma::CoronaPrivate::importLayout(KConfigGroup
> const&, bool) (this=0x2639b20, conf=..., mergeConfig=mergeConfig at entry
> =false)
> at /usr/src/debug/plasma-framework-5.5.0git/src/plasma/corona.cpp:566
> #8  0x00007f62bc90a485 in Plasma::Corona::loadLayout(QString const&)
> (this=0x2664b80, configName=...) at /usr/src/debug/plasma-
> framework-5.5.0git/src/plasma/corona.cpp:161
> #9  0x0000000000455581 in  ()
> #10 0x0000000000456b65 in  ()
> #11 0x00007f62b883d3e1 in QMetaObject::activate(QObject*, int, int,
> void**) ()
> at /usr/lib64/libQt5Core.so.5
> #12 0x00007f62bd3339b1 in
>
> KActivities::Consumer::serviceStatusChanged(KActivities::Consumer::ServiceStatus)
> () at /usr/lib64/libKF5Activities.so.5
> #13 0x00007f62b883d3e1 in QMetaObject::activate(QObject*, int, int,
> void**) ()
> at /usr/lib64/libQt5Core.so.5
> #14 0x00007f62bd333921 in  () at /usr/lib64/libKF5Activities.so.5
> #15 0x00007f62bd32e0b0 in  () at /usr/lib64/libKF5Activities.so.5
> #16 0x00007f62bd32f827 in  () at /usr/lib64/libKF5Activities.so.5
> #17 0x00007f62bd32d932 in  () at /usr/lib64/libKF5Activities.so.5
> #18 0x00007f62bd3341a4 in  () at /usr/lib64/libKF5Activities.so.5
> #19 0x00007f62b883d3e1 in QMetaObject::activate(QObject*, int, int,
> void**) ()
> at /usr/lib64/libQt5Core.so.5
> #20 0x00007f62b95d1caf in
> QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at
> /usr/lib64/libQt5DBus.so.5
> #21 0x00007f62b95d3337 in  () at /usr/lib64/libQt5DBus.so.5
> #22 0x00007f62b883e1e6 in QObject::event(QEvent*) () at
> /usr/lib64/libQt5Core.so.5
> #23 0x00007f62b9b602ec in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () at /usr/lib64/libQt5Widgets.so.5
> #24 0x00007f62b9b65350 in QApplication::notify(QObject*, QEvent*) () at
> /usr/lib64/libQt5Widgets.so.5
> #25 0x00007f62b880db85 in QCoreApplication::notifyInternal(QObject*,
> QEvent*)
> () at /usr/lib64/libQt5Core.so.5
> #26 0x00007f62b880fa1f in
> QCoreApplicationPrivate::sendPostedEvents(QObject*,
> int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
> #27 0x00007f62b88659f3 in  () at /usr/lib64/libQt5Core.so.5
> #28 0x00007f62b46e6a04 in g_main_context_dispatch () at
> /usr/lib64/libglib-2.0.so.0
> #29 0x00007f62b46e6c48 in  () at /usr/lib64/libglib-2.0.so.0
> #30 0x00007f62b46e6cec in g_main_context_iteration () at
> /usr/lib64/libglib-2.0.so.0
> #31 0x00007f62b8864e6c in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> ()
> at /usr/lib64/libQt5Core.so.5
> #32 0x00007f62b880baeb in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
> /usr/lib64/libQt5Core.so.5
> #33 0x00007f62b8813156 in QCoreApplication::exec() () at
> /usr/lib64/libQt5Core.so.5
> #34 0x0000000000432024 in main ()
>
>
> --
> Luca Beltrame - KDE Forums team
> KDE Science supporter
> GPG key ID: 6E1A4E79
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
I'm getting crashes too, investigating....

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20141126/51e21069/attachment-0001.html>


More information about the Plasma-devel mailing list