https://bugs.kde.org/show_bug.cgi?id=428936

            Bug ID: 428936
           Summary: kwin crashes after login as soon as I attempt to
                    launch a gnome-terminal
           Product: kwin
           Version: 5.17.5
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: dave_gom...@acm.org
  Target Milestone: ---

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:
fresh reboot, clicked lower-left menu, typed "gnome-terminal" and hit enter to
"Run gnome-terminal"

- Unusual behavior I noticed:
crashes four times before giving up.  reproducible after each reboot of my
machine.

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 0x7fbf4de5c8c0 (LWP 1752))]

Thread 4 (Thread 0x7fbf473e9700 (LWP 1762)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x7fbf473e8c50,
clockid=1195281360, expected=0, futex_word=0x555dad08e9f4) at
../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fbf473e8c50, clockid=1195281360,
mutex=0x555dad08e9a0, cond=0x555dad08e9c8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555dad08e9c8, mutex=0x555dad08e9a0,
abstime=0x7fbf473e8c50) at pthread_cond_wait.c:656
#3  0x00007fbf542d7aa4 in QWaitConditionPrivate::wait_relative (deadline=...,
this=0x555dad08e9a0) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., deadline=...,
this=0x555dad08e9a0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555dad08f900,
mutex=mutex@entry=0x555dad08e948, deadline=...) at
thread/qwaitcondition_unix.cpp:225
#6  0x00007fbf542d5ae1 in QThreadPoolThread::run (this=0x555dad08f8f0) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007fbf542d1b01 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:329
#8  0x00007fbf536efea7 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007fbf55a6fd4f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fbf4c945700 (LWP 1756)):
#0  0x00007fbf55a65456 in __ppoll (fds=fds@entry=0x7fbf4000c738,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1  0x00007fbf54504779 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fbf4000c738) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fbf4000c738) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fbf4000c738, nfds=1, timeout_ts=timeout_ts@entry=0x0)
at kernel/qcore_unix.cpp:155
#5  0x00007fbf54505e13 in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fbf544afb7b in QEventLoop::exec (this=this@entry=0x7fbf4c944c90,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007fbf542d09be in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fbf52810a27 in QDBusConnectionManager::run (this=0x7fbf5287dd80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#9  0x00007fbf542d1b01 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:329
#10 0x00007fbf536efea7 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#11 0x00007fbf55a6fd4f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbf4d763700 (LWP 1755)):
#0  0x00007fbf55a6535f in __GI___poll (fds=fds@entry=0x7fbf4d762be8,
nfds=nfds@entry=1, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbf541e7d02 in poll (__timeout=-1, __nfds=1, __fds=0x7fbf4d762be8)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x555dacfd6430, cond=cond@entry=0x555dacfd6470,
vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:480
#3  0x00007fbf541e998a in xcb_wait_for_event (c=c@entry=0x555dacfd6430) at
../../src/xcb_in.c:697
#4  0x00007fbf4da80260 in QXcbEventQueue::run (this=0x555dacfcbfb0) at
qxcbeventqueue.cpp:228
#5  0x00007fbf542d1b01 in QThreadPrivate::start(void*) () at
thread/qthread_unix.cpp:329
#6  0x00007fbf536efea7 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007fbf55a6fd4f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbf4de5c8c0 (LWP 1752)):
[KCrash Handler]
#6  std::__atomic_base<int>::operator++ (this=<optimized out>) at
/usr/include/c++/10/bits/atomic_base.h:325
#7  QAtomicOps<int>::ref<int> (_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:283
#8  QBasicAtomicInteger<int>::ref (this=<optimized out>) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:118
#9  QtPrivate::RefCount::ref (this=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qrefcount.h:61
#10 QString::operator= (this=this@entry=0x555dad145580, other=...) at
text/qstring.cpp:2408
#11 0x00007fbf5578210c in
KWin::Decoration::DecoratedClientImpl::requestShowToolTip (text=...,
this=0x555dad145540) at ./decorations/decoratedclient.cpp:227
#12 KWin::Decoration::DecoratedClientImpl::requestShowToolTip
(this=0x555dad145540, text=...) at ./decorations/decoratedclient.cpp:221
#13 0x00007fbf46721910 in Breeze::Decoration::isLeftEdge (this=0x555dad4c01f0)
at /usr/include/c++/9/bits/atomic_base.h:413
#14 Breeze::Decoration::recalculateBorders (this=this@entry=0x555dad4c01f0) at
./kdecoration/breezedecoration.cpp:397
#15 0x00007fbf467257f9 in Breeze::Decoration::reconfigure
(this=this@entry=0x555dad4c01f0) at ./kdecoration/breezedecoration.cpp:379
#16 0x00007fbf46725a28 in Breeze::Decoration::init (this=0x555dad4c01f0) at
./kdecoration/breezedecoration.cpp:248
#17 0x00007fbf55783d52 in KWin::Decoration::DecorationBridge::createDecoration
(this=0x555dad054080, client=client@entry=0x555dad213b80) at
./decorations/decorationbridge.cpp:288
#18 0x00007fbf557584cc in KWin::Client::createDecoration
(this=this@entry=0x555dad213b80, oldgeom=...) at
./decorations/decorationbridge.h:99
#19 0x00007fbf5575c758 in KWin::Client::updateDecoration (this=0x555dad213b80,
check_workspace_pos=<optimized out>, force=<optimized out>) at ./client.cpp:387
#20 0x00007fbf557f0246 in KWin::Client::manage (this=this@entry=0x555dad213b80,
w=w@entry=35651590, isMapped=isMapped@entry=true) at ./manage.cpp:348
#21 0x00007fbf5588c9a5 in KWin::Workspace::createClient
(this=this@entry=0x555dad0eec00, w=35651590, is_mapped=is_mapped@entry=true) at
./workspace.cpp:616
#22 0x00007fbf55890a1f in KWin::Workspace::initWithX11 (this=0x555dad0eec00) at
./workspace.cpp:488
#23 0x00007fbf55891d51 in KWin::Workspace::init
(this=this@entry=0x555dad0eec00) at ./workspace.cpp:286
#24 0x00007fbf5589256d in KWin::Workspace::Workspace (this=0x555dad0eec00,
sessionKey=...) at ./workspace.cpp:195
#25 0x00007fbf557ed054 in KWin::Application::createWorkspace
(this=0x7ffeaf5223d0) at ./main.cpp:281
#26 0x00007fbf55b3ee6c in operator() (__closure=0x555dad0ebc70) at
./main_x11.cpp:251
#27 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
#28
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
#29
QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::<lambda()>::<lambda()>,
0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *) (which=<optimized out>, this_=0x555dad0ebc60, r=<optimized
out>, a=<optimized out>, ret=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#30 0x00007fbf544e7796 in QtPrivate::QSlotObjectBase::call (a=0x7ffeaf521e20,
r=0x7ffeaf5223d0, this=0x555dad0ebc60) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#31 doActivate<false> (sender=0x555dad053fb0, signal_index=3,
argv=0x7ffeaf521e20) at kernel/qobject.cpp:3886
#32 0x00007fbf55b3f2cc in operator() (__closure=0x555dad052aa0) at ./main.h:186
#33 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
#34 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
#35
QtPrivate::QFunctorSlotObject<KWin::ApplicationX11::performStartup()::<lambda()>,
0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *) (which=<optimized out>, this_=0x555dad052a90, r=<optimized
out>, a=<optimized out>, ret=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#36 0x00007fbf544e7796 in QtPrivate::QSlotObjectBase::call (a=0x7ffeaf521f70,
r=0x555dad052a70, this=0x555dad052a90) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#37 doActivate<false> (sender=0x555dad052a70, signal_index=4,
argv=0x7ffeaf521f70, argv@entry=0x0) at kernel/qobject.cpp:3886
#38 0x00007fbf544e0af0 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7fbf554ec280 <KSelectionOwner::staticMetaObject>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at
kernel/qobject.cpp:3946
#39 0x00007fbf554b8e13 in KSelectionOwner::claimedOwnership (this=<optimized
out>) at
./obj-x86_64-linux-gnu/src/KF5WindowSystem_autogen/HBARIMPYTU/moc_kselectionowner.cpp:160
#40 0x00007fbf554c9633 in KSelectionOwner::Private::claimSucceeded
(this=0x555dad052a20) at ./src/platforms/xcb/kselectionowner.cpp:188
#41 0x00007fbf544dd11f in QObject::event (this=0x555dad052a70,
e=0x7ffeaf522140) at kernel/qobject.cpp:1291
#42 0x00007fbf54f7314f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x555dad052a70, e=0x7ffeaf522140) at
kernel/qapplication.cpp:3630
#43 0x00007fbf544b11ba in QCoreApplication::notifyInternal2
(receiver=0x555dad052a70, event=0x7ffeaf522140) at
../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#44 0x00007fbf54507ad3 in QTimerInfoList::activateTimers
(this=this@entry=0x555dacfcecf8) at kernel/qtimerinfo_unix.cpp:643
#45 0x00007fbf5450520c in QEventDispatcherUNIXPrivate::activateTimers
(this=this@entry=0x555dacfcec70) at kernel/qeventdispatcher_unix.cpp:249
#46 0x00007fbf54505f67 in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#47 0x00007fbf4da815fe in QXcbUnixEventDispatcher::processEvents
(this=0x555dad021220, flags=...) at qxcbeventdispatcher.cpp:60
#48 0x00007fbf544afb7b in QEventLoop::exec (this=this@entry=0x7ffeaf5222e0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#49 0x00007fbf544b7df0 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#50 0x00007fbf55b40886 in kdemain (argc=<optimized out>, argv=0x7ffeaf522588)
at ./main_x11.cpp:474
#51 0x00007fbf55998cca in __libc_start_main (main=0x555daccc2050 <main>,
argc=3, argv=0x7ffeaf522588, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffeaf522578) at ../csu/libc-start.c:308
#52 0x0000555daccc208a in _start ()
[Inferior 1 (process 1752) detached]

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

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

Reported using DrKonqi

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

Reply via email to