[plasmashell] [Bug 430111] Plasma Wayland crashes when changing order of pinned application

2021-01-16 Thread Mathew Robinson
https://bugs.kde.org/show_bug.cgi?id=430111

--- Comment #11 from Mathew Robinson  ---
Based on the line "#3  QMessageLogger::fatal(char const*, ...) const
(this=this@entry=0x7ffefef4eb40, msg=msg@entry=0x7fe8b70350b8 "The Wayland
connection broke. Did the Wayland compositor die?") at global/qlogging.cpp:893"
from the previous backtrace I decided to try and run gdb on kwin_wayland and it
looks like there's perhaps a segfault?

Breakpoint 1 at 0x7f4c29c00490
Breakpoint 2 at 0x7f4c29c004e0
Continuing.

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x7f4c2b4afc08 in KWaylandServer::SurfaceInterface::frameRendered(unsigned
int) () from /usr/lib64/libKWaylandServer.so.5

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

[plasmashell] [Bug 430111] Plasma Wayland crashes when changing order of pinned application

2021-01-16 Thread Mathew Robinson
https://bugs.kde.org/show_bug.cgi?id=430111

--- Comment #10 from Mathew Robinson  ---
Managed to get a backtrace with GDB where I have most of the debug info for the
components involved. I'm attempting to track the bug down and fix it, but it's
my first foray into the KDE code base. Figured I'd post the debugging I have so
far in case it makes immediate sense to those with more experience than me:

Breakpoint 1 at 0x7fd32b733490
Breakpoint 2 at 0x7fd32b7334e0

Thread 1 "plasmashell" received signal SIGABRT, Aborted.
0x7fd32b4f3ae5 in raise () from /lib64/libc.so.6
[Inferior 1 (process 2286) detached]
Breakpoint 1 at 0x7fa1bcd08490
Breakpoint 2 at 0x7fa1bcd084e0
[Inferior 1 (process 7737) detached]
(gdb) Breakpoint 1 at 0x7fa1bcd08490
(gdb) Breakpoint 2 at 0x7fa1bcd084e0
(gdb) quit
A debugging session is active.

Inferior 1 [process 7737] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: /usr/bin/plasmashell, process 7737
[Inferior 1 (process 7737) detached]
Breakpoint 1 at 0x7fa1bcd08490
Breakpoint 2 at 0x7fa1bcd084e0
Continuing.
[New Thread 0x7fa184ff9640 (LWP 7921)]
[Thread 0x7fa184ff9640 (LWP 7921) exited]
[New Thread 0x7fa184ff9640 (LWP 7931)]

Thread 1 "plasmashell" received signal SIGABRT, Aborted.
0x7fa1bcac8ae5 in raise () from /lib64/libc.so.6
#0  0x7fa1bcac8ae5 in raise () at /lib64/libc.so.6
#1  0x7fa1bcab1864 in abort () at /lib64/libc.so.6
#2  0x7fa1bcef40e7 in  () at /usr/lib64/libQt5Core.so.5
#3  0x7fa1badd6f79 in  () at /usr/lib64/libQt5WaylandClient.so.5
#4  0x7fa1bade5e0a in QtWaylandClient::QWaylandDisplay::flushRequests() ()
at /usr/lib64/libQt5WaylandClient.so.5
#5  0x7fa1bd146900 in  () at /usr/lib64/libQt5Core.so.5
#6  0x7fa1bd149cff in QSocketNotifier::activated(QSocketDescriptor,
QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () at
/usr/lib64/libQt5Core.so.5
#7  0x7fa1bd14a4fb in QSocketNotifier::event(QEvent*) () at
/usr/lib64/libQt5Core.so.5
#8  0x7fa1bde9150f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt5Widgets.so.5
#9  0x7fa1bd1102ea in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib64/libQt5Core.so.5
#10 0x7fa1bd1683f5 in  () at /usr/lib64/libQt5Core.so.5
#11 0x7fa1bb503e57 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#12 0x7fa1bb5041d8 in  () at /usr/lib64/libglib-2.0.so.0
#13 0x7fa1bb50428f in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#14 0x7fa1bd16783f in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQt5Core.so.5
#15 0x7fa1bd10ecab in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQt5Core.so.5
#16 0x7fa1bd5bbde3 in QBasicDrag::drag(QDrag*) () at
/usr/lib64/libQt5Gui.so.5
#17 0x7fa1bd5b90e5 in QDragManager::drag(QDrag*) () at
/usr/lib64/libQt5Gui.so.5
#18 0x7fa1bd5b940b in QDrag::exec(QFlags, Qt::DropAction)
() at /usr/lib64/libQt5Gui.so.5
#19 0x7fa162c9aba6 in DragHelper::startDragInternal(QQuickItem*, QString
const&, QVariant const&, QUrl const&, QIcon const&) const (icon=...,
url=, mimeData=, mimeType=...,
item=0x563633be0ca0, this=0x563634145b50) at
/usr/include/qt5/QtCore/qflags.h:121
#20 DragHelper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
(_o=0x563634145b50, _c=, _id=, _a=) at
/usr/src/debug/plasma5-desktop-5.20.5-1.1.x86_64/build/applets/taskmanager/taskmanagerplugin_autogen/7RBZBFH7CH/moc_draghelper.cpp:115
#21 0x7fa1bd13c311 in QObject::event(QEvent*) () at
/usr/lib64/libQt5Core.so.5
#22 0x7fa1bde9150f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt5Widgets.so.5
#23 0x7fa1bd1102ea in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib64/libQt5Core.so.5
#24 0x7fa1bd112d21 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#25 0x7fa1bd1681b3 in  () at /usr/lib64/libQt5Core.so.5
#26 0x7fa1bb503e57 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#27 0x7fa1bb5041d8 in  () at /usr/lib64/libglib-2.0.so.0
#28 0x7fa1bb50428f in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#29 0x7fa1bd16783f in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQt5Core.so.5
#30 0x7fa1bd10ecab in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQt5Core.so.5
#31 0x7fa1bd116f20 in QCoreApplication::exec() () at
/usr/lib64/libQt5Core.so.5
#32 0x56362df8d082 in  ()
#33 0x7fa1bcab3152 in __libc_start_main () at /lib64/libc.so.6
#34 0x56362df8dbde in  ()
Detaching from program: /usr/bin/plasmashell, process 7737
[Inferior 1 (process 7737) detached]
Breakpoint 1 at 0x7fe8b8ee2490
Breakpoint 2 at 0x7fe8b8ee24e0
Continuing.
[Thread 0x7fe879ffb640 (LWP 1793) exited]
[Thread 0x7fe87affd640 (LWP 1791) exited]
[Thread 0x7fe87b7fe640 (LWP 1790) exited]
[Thread 0x7fe8737fe640 (LWP 178

[plasmashell] [Bug 430111] Plasma Wayland crashes when changing order of pinned application

2021-01-11 Thread Mathew Robinson
https://bugs.kde.org/show_bug.cgi?id=430111

--- Comment #9 from Mathew Robinson  ---
I've done some more testing on this. It appears if I unpin the "default" pins
then pin some new applications the issue goes away.

I've tried repinning the old default pins to see if the issue reoccurs but
cannot remember the whole list. So far testing indicates that repinning
discover (which was one of the defaults does not cause the issue to reoccur.

I will do some more testing with a VM to see if I can repro on a fresh install
and/or find the problematic pin (if indeed it's a specific application).

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

[plasmashell] [Bug 430111] Plasma Wayland crashes when changing order of pinned application

2021-01-11 Thread Mathew Robinson
https://bugs.kde.org/show_bug.cgi?id=430111

Mathew Robinson  changed:

   What|Removed |Added

 CC||mat...@chasinglogic.io

--- Comment #8 from Mathew Robinson  ---
I'm able to reproduce this on KDE Neon as well.

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