[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2022-01-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=446255

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.24

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2022-01-10 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #18 from Moritz  ---
Thanks for fixing it! I'll take a look once plasma 5.23.90 is released

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2022-01-10 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=446255

Vlad Zahorodnii  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwayland-server/commit/5
   ||f5bea1648590f24f11ce232eb78
   ||112953a4d20e
 Status|ASSIGNED|RESOLVED

--- Comment #17 from Vlad Zahorodnii  ---
Git commit 5f5bea1648590f24f11ce232eb78112953a4d20e by Vlad Zahorodnii.
Committed on 10/01/2022 at 11:17.
Pushed by vladz into branch 'master'.

Store surface object in tablet cursor using QPointer

The SurfaceInterface can get destroyed and TabletCursorV2 may return a
dangling pointer.

M  +1-1src/server/tablet_v2_interface.cpp

https://invent.kde.org/plasma/kwayland-server/commit/5f5bea1648590f24f11ce232eb78112953a4d20e

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2022-01-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=446255

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2022-01-10 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=446255

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #16 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwayland-server/-/merge_requests/341

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2022-01-10 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=446255

Vlad Zahorodnii  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #15 from Vlad Zahorodnii  ---
I can reproduce the crash:

* put pen on the tablet so there's visible tablet cursor. while doing that
switch to another tty and back
* if the pen is still on the tablet, kwin will crash

Note that it's important to have some open application.

* thread #1, name = 'kwin_wayland', stop reason = signal SIGSEGV: invalid
address (fault address: 0x0)
  * frame #0: 0x7f045d1d51cb
libQt5Core.so.5`std::__atomic_base::operator++(this=0x00720075006f0073) at
atomic_base.h:378:34
frame #1: 0x7f045d1d4395 libQt5Core.so.5`bool
QAtomicOps::ref(_q_value=0x00720075006f0073) at
qatomic_cxx11.h:283:16
frame #2: 0x7f045d1d368e
libQt5Core.so.5`QBasicAtomicInteger::ref(this=0x00720075006f0073) at
qbasicatomic.h:118:42
frame #3: 0x7f045d284c37
libQt5Core.so.5`QtSharedPointer::ExternalRefCountData::getAndRef(obj=0x562f702af550)
at qsharedpointer.cpp:1398:26
frame #4: 0x7f0461058603
libkwin.so.5`QWeakPointer::QWeakPointer(this=0x7fffd3505f28, ptr=0x562f702af550, (null)=true) at
qsharedpointer_impl.h:679:49
frame #5: 0x7f046105858b libkwin.so.5`QWeakPointer&
QWeakPointer::assign(this=0x562f6f297f00,
ptr=0x562f702af550) at qsharedpointer_impl.h:675:22
frame #6: 0x7f04610d1541
libkwin.so.5`QPointer::operator=(this=0x562f6f297f00,
p=0x562f702af550) at qpointer.h:74:10
frame #7: 0x7f04610d13f2
libkwin.so.5`KWin::SurfaceCursor::updateCursorSurface(this=0x562f6f297ea0,
surface=0x562f702af550, hotspot=0x7fffd3506038) at input.cpp:1679:19
frame #8: 0x7f04610d1241
libkwin.so.5`KWin::TabletInputFilter::createTool(this=0x562f6f4ff9c0,
tcursor=0x562f6ed30870)::'lambda'(KWaylandServer::TabletCursorV2*)::operator()(KWaylandServer::TabletCursorV2*)
const at input.cpp:1855:21
frame #9: 0x7f04610d10c1
libkwin.so.5`QtPrivate::FunctorCall,
QtPrivate::List, void,
KWin::TabletInputFilter::createTool(KWin::TabletToolId
const&)::'lambda'(KWaylandServer::TabletCursorV2*)>::call(f=0x562f6f4ff9c0,
arg=0x7fffd35062b0)::'lambda'(KWaylandServer::TabletCursorV2*)&, void**) at
qobjectdefs_impl.h:146:13
frame #10: 0x7f04610d1081 libkwin.so.5`void
QtPrivate::Functor::call,
void>(f=0x562f6f4ff9c0, (null)=0x562f6f297ea0,
arg=0x7fffd35062b0)::'lambda'(KWaylandServer::TabletCursorV2*)&, void*,
void**) at qobjectdefs_impl.h:256:13
frame #11: 0x7f04610d1021
libkwin.so.5`QtPrivate::QFunctorSlotObject, void>::impl(which=1,
this_=0x562f6f4ff9b0, r=0x562f6f297ea0, a=0x7fffd35062b0,
ret=0x) at qobjectdefs_impl.h:443:17
frame #12: 0x7f045d490a87
libQt5Core.so.5`QtPrivate::QSlotObjectBase::call(this=0x562f6f4ff9b0,
r=0x562f6f297ea0, a=0x7fffd35062b0) at qobjectdefs_impl.h:398:57
frame #13: 0x7f045d4d4290 libQt5Core.so.5`void
doActivate(sender=0x562f6f2f29f0, signal_index=3,
argv=0x7fffd35062b0) at qobject.cpp:3886:30
frame #14: 0x7f045d4cd6e1
libQt5Core.so.5`QMetaObject::activate(sender=0x562f6f2f29f0,
m=0x7f0460c2b090, local_signal_index=0, argv=0x7fffd35062b0) at
qobject.cpp:3946:26
frame #15: 0x7f04609a6170
libKWaylandServer.so.5`KWaylandServer::TabletToolV2Interface::cursorChanged(this=0x562f6f2f29f0,
_t1=0x562f6ed30870) const at moc_tablet_v2_interface.cpp:257:5
frame #16: 0x7f0460a3d736
libKWaylandServer.so.5`KWaylandServer::TabletToolV2Interface::setCurrentSurface(this=0x562f6f2f29f0,
surface=0x562f6eed3530) at tablet_v2_interface.cpp:244:12
frame #17: 0x7f04610ceb45
libkwin.so.5`KWin::TabletInputFilter::tabletToolEvent(this=0x562f6f522680,
event=0x7fffd3506a08) at input.cpp:1887:15
frame #18: 0x7f04611f86e9 libkwin.so.5`bool std::__invoke_impl((null)=__invoke_memfun_deref @ 0x7fffd3506538,
__f=0x7fffd35066e0, __t=0x562f6f4b96f8,
__args=0x7fffd35066f0)(KWin::TabletEvent*), KWin::InputEventFilter* const&,
KWin::TabletEvent*&) at invoke.h:74:14
frame #19: 0x7f04611f8617 libkwin.so.5`std::__invoke_result::type std::__invoke(bool
(KWin::InputEventFilter::*&)(KWin::TabletEvent*), KWin::InputEventFilter*
const&, KWin::TabletEvent*&) at invoke.h:96:14
frame #20: 0x7f04611f859f libkwin.so.5`bool std::_Bind,
KWin::TabletEvent*))(KWin::TabletEvent*)>::__call(this=0x7fffd35066e0, __args=0x7fffd3506620,
(null)=_Index_tuple<0, 1> @ 0x7fffd35065c0) at functional:420:11
frame #21: 0x7f04611f84fb libkwin.so.5`bool std::_Bind,
KWin::TabletEvent*))(KWin::TabletEvent*)>::operator(this=0x7fffd35066e0,
__args=0x562f6f4b96f8)(KWin::InputEventFilter* const&) at functional:503:17
frame 

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2022-01-02 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #14 from Moritz  ---
Any updates?

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-16 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #13 from Moritz  ---
Created attachment 144595
  --> https://bugs.kde.org/attachment.cgi?id=144595&action=edit
backtrace

Here we go, just picked that one. And this is now (not a random crash) it is
related to the tablet

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-13 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #12 from Zamundaaa  ---
Sorry, your response got lost in my emails.
The new backtrace looks like a different crash, which has been fixed today:
https://bugs.kde.org/show_bug.cgi?id=444381.

If you come upon a crash that has "KWaylandServer::TabletToolV2Interface" in
its backtrace again, please attach that one here.

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-13 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #11 from Moritz  ---
Still crashing. Please

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-08 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #10 from Moritz  ---
Created attachment 144350
  --> https://bugs.kde.org/attachment.cgi?id=144350&action=edit
backtrace (with debug symbols)

Thanks for the reply:

Sorry, thought I had them installed on this device. The only one that I did not
have installed are they from `libQt5Quick`. I installed them now, I'll provide
an update once it crashes again. I also have to say, that this crash behaved
different that the others: My cursur (and basically the whole screen) froze for
some seconds and than plasma restarted (but maybe because gdb collected the
backtrace and froze it?)


I am really not sure how to reproduce it. Sometimes it happens when drawing
with the walcom. But at home I attached it and draw half an hour without any
crash. The only thing that is different is the location and that I had it
connected to the grid at home.

It mostly happens (and that is the even more annoying thing) when opening new
windows. I mostly open the commit dialog in IntelliJIdea and then it crashes
before showing it. I tried opening and closing windows (also the ones that
crashed kwin), but it is really hard to crash it on purpose (at least if you
don't know how, like me)

Sometimes it is crashing 5 times in half an hour (like as I submitted the last
backtrace). I saw your answer and wanted to open my terminal to install the
debug symbols and it crashed 2 times. And than I had gdb attached it for almost
1 day now and it did not crash (until now)

Thanks

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-07 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=446255

Zamundaaa  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #9 from Zamundaaa  ---
The backtrace is still missing debug symbols, beyond that it has something to
do with the tablet cursor being updated it doesn't say much.
Do you have a way to reproduce the crash, something more specific how you can
trigger it?

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-06 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #8 from Moritz  ---
Please take a look at it asap, it crashes several times per day while working
on this device. It is unusable!

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-04 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #7 from Moritz  ---
I don't want to rush you, but could you please fix this prioritized? My walcom
tablet is completely unsuable on this device. Also without the tablet the crash
is occuring pretty often, plasma is really unusable to me.


Thanks
Moritz

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-02 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

Moritz  changed:

   What|Removed |Added

 CC||[email protected]

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-02 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

Moritz  changed:

   What|Removed |Added

   Keywords||wayland

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-02 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #6 from Moritz  ---
Maybe those are even 2 different bugs. The first (1) snapshot was made after
the crash while working in IntelliJIdea (no walcom attached).
The second was made while drawing in with the walcom in Xournal++. I switched
to tty3 to see gdb attachment status and then switched back to tty2 (it
instantly crashed)

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-02 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

Moritz  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|BACKTRACE   |---

--- Comment #5 from Moritz  ---
The 2nd backtrace is newer, it had no @ chars in the top left corner and was
cought directly after switching from tty3 to tty2

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-02 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #4 from Moritz  ---
Created attachment 144154
  --> https://bugs.kde.org/attachment.cgi?id=144154&action=edit
support information

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-02 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #3 from Moritz  ---
Created attachment 144153
  --> https://bugs.kde.org/attachment.cgi?id=144153&action=edit
gdp backtrace 2 (newer)

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-12-02 Thread Moritz
https://bugs.kde.org/show_bug.cgi?id=446255

--- Comment #2 from Moritz  ---
Created attachment 144152
  --> https://bugs.kde.org/attachment.cgi?id=144152&action=edit
gdb crash report 1

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

[kwin] [Bug 446255] kwin_wayland randomly crashes: segfault

2021-11-29 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=446255

David Edmundson  changed:

   What|Removed |Added

 CC||[email protected]
 Status|REPORTED|NEEDSINFO
 Resolution|--- |BACKTRACE

--- Comment #1 from David Edmundson  ---
That backtrace isn't very useful. Please include debug symbols

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