Bug 428937 - Segmentation fault with message kwin closed unexpectedly
Summary: Segmentation fault with message kwin closed unexpectedly
Status: RESOLVED DUPLICATE of bug 428897
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-10 16:48 UTC by Kevin Chadwick
Modified: 2020-11-11 15:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Chadwick 2020-11-10 16:48:14 UTC
Application: kwin_x11 (5.17.5)

Qt Version: 5.15.1
Frameworks Version: 5.74.0
Operating System: Linux 5.9.0-1-amd64 x86_64
Distribution: Debian GNU/Linux bullseye/sid

-- Information about the crash:
- What I was doing when the application crashed:
crash when any application is launched including Kate.
had to use sticky note widget to fill in the text as keyboard input on bug reporter breaks

- Custom settings of the application:

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f23f61248c0 (LWP 4036))]

Thread 3 (Thread 0x7f23f4b5c700 (LWP 4042)):
#0  QVector<pollfd>::append (this=this@entry=0x7f23e8000bf0, t=...) at ../../include/QtCore/../../src/corelib/tools/qvector.h:811
#1  0x00007f23fc7cddbf in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/kernel/qcore_unix_p.h:387
#2  0x00007f23fc777b7b in QEventLoop::exec (this=this@entry=0x7f23f4b5bc90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#3  0x00007f23fc5989be in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#4  0x00007f23faad8a27 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#5  0x00007f23fc599b01 in QThreadPrivate::start (arg=0x7f23fab45d80) at thread/qthread_unix.cpp:329
#6  0x00007f23fb9b7ea7 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f23fdd37d4f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f23f5a2f700 (LWP 4039)):
#0  0x00007f23fdd2d35f in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f23fc4afd02 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f23fc4b198a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f23f5d4c260 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f23fc599b01 in QThreadPrivate::start (arg=0x55973a7e0060) at thread/qthread_unix.cpp:329
#5  0x00007f23fb9b7ea7 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f23fdd37d4f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f23f61248c0 (LWP 4036)):
[KCrash Handler]
#4  std::__atomic_base<int>::operator++ (this=<optimized out>) at /usr/include/c++/10/bits/atomic_base.h:325
#5  QAtomicOps<int>::ref<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:283
#6  QBasicAtomicInteger<int>::ref (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:118
#7  QtPrivate::RefCount::ref (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:61
#8  QString::operator= (this=this@entry=0x55973a9b8a70, other=...) at text/qstring.cpp:2408
#9  0x00007f23fda4a10c in KWin::Decoration::DecoratedClientImpl::requestShowToolTip (text=..., this=0x55973a9b8a30) at ./decorations/decoratedclient.cpp:227
#10 KWin::Decoration::DecoratedClientImpl::requestShowToolTip (this=0x55973a9b8a30, text=...) at ./decorations/decoratedclient.cpp:221
#11 0x00007f23f404d910 in Breeze::Decoration::isLeftEdge (this=0x55973aa598f0) at /usr/include/c++/9/bits/atomic_base.h:413
#12 Breeze::Decoration::recalculateBorders (this=this@entry=0x55973aa598f0) at ./kdecoration/breezedecoration.cpp:397
#13 0x00007f23f40517f9 in Breeze::Decoration::reconfigure (this=this@entry=0x55973aa598f0) at ./kdecoration/breezedecoration.cpp:379
#14 0x00007f23f4051a28 in Breeze::Decoration::init (this=0x55973aa598f0) at ./kdecoration/breezedecoration.cpp:248
#15 0x00007f23fda4bd52 in KWin::Decoration::DecorationBridge::createDecoration (this=0x55973a859750, client=client@entry=0x55973ab76740) at ./decorations/decorationbridge.cpp:288
#16 0x00007f23fda204cc in KWin::Client::createDecoration (this=this@entry=0x55973ab76740, oldgeom=...) at ./decorations/decorationbridge.h:99
#17 0x00007f23fda24758 in KWin::Client::updateDecoration (this=0x55973ab76740, check_workspace_pos=<optimized out>, force=<optimized out>) at ./client.cpp:387
#18 0x00007f23fdab8246 in KWin::Client::manage (this=this@entry=0x55973ab76740, w=w@entry=4194310, isMapped=isMapped@entry=true) at ./manage.cpp:348
#19 0x00007f23fdb549a5 in KWin::Workspace::createClient (this=this@entry=0x55973a915180, w=4194310, is_mapped=is_mapped@entry=true) at ./workspace.cpp:616
#20 0x00007f23fdb58a1f in KWin::Workspace::initWithX11 (this=0x55973a915180) at ./workspace.cpp:488
#21 0x00007f23fdb59d51 in KWin::Workspace::init (this=this@entry=0x55973a915180) at ./workspace.cpp:286
#22 0x00007f23fdb5a56d in KWin::Workspace::Workspace (this=0x55973a915180, sessionKey=...) at ./workspace.cpp:195
#23 0x00007f23fdab5054 in KWin::Application::createWorkspace (this=0x7ffd87427a60) at ./main.cpp:281
#24 0x00007f23fde06e6c in operator() (__closure=0x55973a907600) at ./main_x11.cpp:251
#25 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::ApplicationX11::performStartup()::<lambda()>::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#26 QtPrivate::Functor<KWin::ApplicationX11::performStartup()::<lambda()>::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#27 QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::<lambda()>::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55973a9075f0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#28 0x00007f23fc7af796 in QtPrivate::QSlotObjectBase::call (a=0x7ffd874274b0, r=0x7ffd87427a60, this=0x55973a9075f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#29 doActivate<false> (sender=0x55973a859680, signal_index=3, argv=0x7ffd874274b0) at kernel/qobject.cpp:3886
#30 0x00007f23fde072cc in operator() (__closure=0x55973a8583c0) at ./main.h:186
#31 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::ApplicationX11::performStartup()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#32 QtPrivate::Functor<KWin::ApplicationX11::performStartup()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#33 QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55973a8583b0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#34 0x00007f23fc7af796 in QtPrivate::QSlotObjectBase::call (a=0x7ffd87427600, r=0x55973a855120, this=0x55973a8583b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#35 doActivate<false> (sender=0x55973a855120, signal_index=4, argv=0x7ffd87427600) at kernel/qobject.cpp:3886
#36 0x00007f23fd791633 in ?? () from /lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#37 0x00007f23fc7a511f in QObject::event (this=0x55973a855120, e=0x7ffd874277d0) at kernel/qobject.cpp:1291
#38 0x00007f23fd23b14f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f23fc7791ba in QCoreApplication::notifyInternal2 (receiver=0x55973a855120, event=0x7ffd874277d0) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#40 0x00007f23fc7cfad3 in QTimerInfoList::activateTimers (this=this@entry=0x55973a822008) at kernel/qtimerinfo_unix.cpp:643
#41 0x00007f23fc7cd20c in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x55973a821f80) at kernel/qeventdispatcher_unix.cpp:249
#42 0x00007f23fc7cdf67 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#43 0x00007f23f5d4d5fe in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#44 0x00007f23fc777b7b in QEventLoop::exec (this=this@entry=0x7ffd87427970, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#45 0x00007f23fc77fdf0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x00007f23fde08886 in kdemain (argc=<optimized out>, argv=0x7ffd87427c18) at ./main_x11.cpp:474
#47 0x00007f23fdc60cca in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#48 0x00005597394dd08a in _start ()
[Inferior 1 (process 4036) detached]

The reporter indicates this bug may be a duplicate of or related to bug 428936.

Possible duplicates by query: bug 428936, bug 428897, bug 427021, bug 425205, bug 424171.

Reported using DrKonqi
Comment 1 David Edmundson 2020-11-10 17:32:19 UTC

*** This bug has been marked as a duplicate of bug 396723 ***
Comment 2 Vlad Zahorodnii 2020-11-11 15:04:52 UTC

*** This bug has been marked as a duplicate of bug 428897 ***