Bug 429726 - Kwin crashes while starting up after logout and login again
Summary: Kwin crashes while starting up after logout and login again
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.19.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-27 15:28 UTC by guenter
Modified: 2022-12-17 09:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.82 KB, text/plain)
2021-02-28 20:48 UTC, Victor Hugo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guenter 2020-11-27 15:28:32 UTC
Application: kwin_x11 (5.19.5)

Qt Version: 5.14.2
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-29-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.10

-- Information about the crash:
- What I was doing when the application crashed:
* I logged out
* Ctrl-Alt-F2
* Did something on console
* Alt-1
* Login
* All looks normal, but the crash reporter is up

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fdb6ea2fc06 in (anonymous namespace)::QQmlValueTypeFactoryImpl::valueType (this=0x0, idx=idx@entry=64) at qml/qqmlvaluetype.cpp:176
#5  0x00007fdb6ea300aa in (anonymous namespace)::QQmlValueTypeFactoryImpl::isValueType (idx=64, this=<optimized out>) at qml/qqmlvaluetype.cpp:115
#6  QQmlValueTypeFactory::isValueType (idx=64) at qml/qqmlvaluetype.cpp:199
#7  0x00007fdb6ea81085 in QQmlPropertyValidator::validateObject (this=this@entry=0x7fdb5f7b1810, objectIndex=objectIndex@entry=0, instantiatingBinding=instantiatingBinding@entry=0x0, populatingValueTypeGroupProperty=80, populatingValueTypeGroupProperty@entry=false) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:169
#8  0x00007fdb6ea81f29 in QQmlPropertyValidator::validate (this=this@entry=0x7fdb5f7b1810) at qml/qqmlpropertyvalidator.cpp:78
#9  0x00007fdb6e9e1e01 in QQmlTypeData::done (this=0x7fdb58023880) at qml/qqmltypedata.cpp:344
#10 0x00007fdb6e9d2a9d in QQmlDataBlob::tryDone (this=0x7fdb58023880) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:116
#11 QQmlDataBlob::tryDone (this=0x7fdb58023880) at qml/qqmldatablob.cpp:509
#12 0x00007fdb6ea24ef9 in QQmlTypeLoader::setData (this=this@entry=0x5612b1e88230, blob=blob@entry=0x7fdb58023880, d=...) at qml/qqmltypeloader.cpp:443
#13 0x00007fdb6ea252d9 in QQmlTypeLoader::setData (this=0x5612b1e88230, blob=blob@entry=0x7fdb58023880, data=...) at qml/qqmltypeloader.cpp:417
#14 0x00007fdb6ea25389 in QQmlTypeLoader::loadWithStaticDataThread (this=<optimized out>, blob=blob@entry=0x7fdb58023880, data=...) at qml/qqmltypeloader.cpp:256
#15 0x00007fdb6e9e9101 in QQmlTypeLoaderThread::loadWithStaticDataThread (this=<optimized out>, b=0x7fdb58023880, d=...) at qml/qqmltypeloaderthread.cpp:162
#16 0x00007fdb6ea92a8c in QQmlThreadPrivate::threadEvent (this=this@entry=0x5612b1bef2a0) at qml/ftw/qqmlthread.cpp:204
#17 0x00007fdb6ea932aa in QQmlThreadPrivate::event (this=0x5612b1bef2a0, e=0x7fdb6000a940) at qml/ftw/qqmlthread.cpp:142
#18 0x00007fdb70ca0013 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5612b1bef2a0, e=0x7fdb6000a940) at kernel/qapplication.cpp:3685
#19 0x00007fdb701ea1ca in QCoreApplication::notifyInternal2 (receiver=0x5612b1bef2a0, event=0x7fdb6000a940) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#20 0x00007fdb701ecbc1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x7fdb60005780) at kernel/qcoreapplication.cpp:1815
#21 0x00007fdb7023ec47 in QEventDispatcherUNIX::processEvents (this=0x7fdb4c000b60, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#22 0x00007fdb701e8a4b in QEventLoop::exec (this=this@entry=0x7fdb5f7b1ca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#23 0x00007fdb700078b2 in QThread::exec (this=this@entry=0x5612b1bef2a0) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#24 0x00007fdb6ea92739 in QQmlThreadPrivate::run (this=0x5612b1bef2a0) at qml/ftw/qqmlthread.cpp:155
#25 0x00007fdb70008a41 in QThreadPrivate::start (arg=0x5612b1bef2a0) at thread/qthread_unix.cpp:342
#26 0x00007fdb6f461590 in start_thread (arg=0x7fdb5f7b2640) at pthread_create.c:463
#27 0x00007fdb6fc61223 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007fdb7023d749 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=0x7fdb58006a88) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fdb58006a88) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fdb58006a88, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:155
#5  0x00007fdb7023ee83 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007fdb701e8a4b in QEventLoop::exec (this=this@entry=0x7fdb659aec70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007fdb700078b2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007fdb712de4cb in QDBusConnectionManager::run (this=0x7fdb7134cda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#9  0x00007fdb70008a41 in QThreadPrivate::start (arg=0x7fdb7134cda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#10 0x00007fdb6f461590 in start_thread (arg=0x7fdb659af640) at pthread_create.c:463
#11 0x00007fdb6fc61223 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5612b1f67810, cond=0x5612b1f67838) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5612b1f67838, mutex=0x5612b1f67810) at pthread_cond_wait.c:638
#3  0x00007fdb7000e74b in QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x5612b1f67810) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x5612b1bef310, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fdb6ea92ea5 in QQmlThreadPrivate::wait (this=<optimized out>) at qml/ftw/qqmlthread.cpp:353
#6  QQmlThread::internalCallMethodInThread (this=0x7fdb60005830, message=<optimized out>) at qml/ftw/qqmlthread.cpp:353
#7  0x00007fdb6ea253e1 in StaticLoader::load (blob=0x7fdb58023880, loader=0x5612b1e88230, this=<optimized out>) at qml/qqmltypeloader.cpp:165
#8  QQmlTypeLoader::doLoad<StaticLoader> (mode=QQmlTypeLoader::Synchronous, blob=0x7fdb58023880, loader=..., this=0x5612b1e88230) at qml/qqmltypeloader.cpp:211
#9  QQmlTypeLoader::loadWithStaticData (this=this@entry=0x5612b1e88230, blob=blob@entry=0x7fdb58023880, data=..., mode=mode@entry=QQmlTypeLoader::Synchronous) at qml/qqmltypeloader.cpp:244
#10 0x00007fdb6ea25526 in QQmlTypeLoader::getType (this=this@entry=0x5612b1e88230, data=..., url=..., mode=mode@entry=QQmlTypeLoader::Synchronous) at qml/qqmltypeloader.cpp:833
#11 0x00007fdb6ea9c75a in QV4::QtObject::method_createQmlObject (b=<optimized out>, argv=<optimized out>, argc=-245808688) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:645
#12 0x00007fdb6e94f58b in QV4::FunctionObject::call (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:172
#13 QV4::Moth::VME::interpret (frame=0x7ffff15943d0, engine=0x5612b2068040, code=0x7fdb5eb735c8 "\300o[^\333\177") at jsruntime/qv4vme_moth.cpp:754
#14 0x00007fdb6e9520b7 in QV4::Moth::VME::exec (frame=frame@entry=0x7ffff15943d0, engine=engine@entry=0x5612b2068040) at jsruntime/qv4vme_moth.cpp:463
#15 0x00007fdb6e8eff18 in QV4::ArrowFunction::virtualCall (fo=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4functionobject.cpp:528
#16 0x00007fdb6e961136 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) () at jsruntime/qv4functionobject_p.h:172
#17 0x00007fdb6e94dcf3 in QV4::Moth::VME::interpret (frame=0x7ffff1594650, engine=0x5612b2068040, code=0x7fdb5dbc57c5 "\030\006\002@") at jsruntime/qv4vme_moth.cpp:784
#18 0x00007fdb6e9520b7 in QV4::Moth::VME::exec (frame=frame@entry=0x7ffff1594650, engine=engine@entry=0x5612b2068040) at jsruntime/qv4vme_moth.cpp:463
#19 0x00007fdb6e8ef08d in QV4::Function::call (this=this@entry=0x5612b1f64840, thisObject=<optimized out>, argv=argv@entry=0x7fdb5eb73500, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#20 0x00007fdb6ea55a15 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x5612b1da12b0, callData=0x7fdb5eb734d0, isUndefined=isUndefined@entry=0x7ffff159482f) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:343
#21 0x00007fdb6ea5adb8 in QQmlBinding::evaluate (this=this@entry=0x5612b1da12b0, isUndefined=isUndefined@entry=0x7ffff159482f) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#22 0x00007fdb6ea5ecfb in QQmlNonbindingBinding::doUpdate (this=0x5612b1da12b0, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:246
#23 0x00007fdb6ea5ca14 in QQmlBinding::update (this=0x5612b1da12b0, flags=...) at qml/qqmlbinding.cpp:186
#24 0x00007fdb6ea3b67d in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at qml/qqmlnotifier.cpp:104
#25 0x00007fdb7021fe75 in doActivate<false> (sender=0x5612b1e00180, signal_index=6, argv=0x0) at kernel/qobject_p.h:110
#26 0x00007fdb702202e6 in QtPrivate::QSlotObjectBase::call (a=0x7ffff15963d0, r=0x5612b1e00180, this=0x5612b1e80c50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#27 doActivate<false> (sender=0x7fdb4b39f140, signal_index=0, argv=argv@entry=0x7ffff15963d0) at kernel/qobject.cpp:3870
#28 0x00007fdb7021a068 in QMetaObject::activate (sender=sender@entry=0x7fdb4b39f140, m=m@entry=0x7fdb7046d260 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffff15963d0) at kernel/qobject.cpp:3930
#29 0x00007fdb7021a123 in QObject::destroyed (this=this@entry=0x7fdb4b39f140, _t1=<optimized out>, _t1@entry=0x7fdb4b39f140) at .moc/moc_qobject.cpp:219
#30 0x00007fdb7021e5ed in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1017
#31 0x00007fdb6fb8ca57 in __run_exit_handlers (status=status@entry=1, listp=0x7fdb6fd2b738 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#32 0x00007fdb6fb8cc00 in __GI_exit (status=status@entry=1) at exit.c:139
#33 0x00007fdb6696f0ed in QXcbConnection::processXcbEvents (this=0x5612b1b247b0, flags=...) at qxcbconnection.cpp:1013
#34 0x00007fdb66999740 in QXcbUnixEventDispatcher::processEvents (this=0x5612b1b6b320, flags=...) at qxcbeventdispatcher.cpp:61
#35 0x00007fdb701e8a4b in QEventLoop::exec (this=this@entry=0x7ffff15965f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#36 0x00007fdb701f0fc6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#37 0x00005612b14b2a6d in main (argc=<optimized out>, argv=0x7ffff1596878) at ./main_x11.cpp:479
[Inferior 1 (process 310792) detached]

Possible duplicates by query: bug 429697, bug 429643, bug 429420, bug 429137, bug 428951.

Reported using DrKonqi
Comment 1 Victor Hugo 2021-02-28 20:48:21 UTC
Created attachment 136266 [details]
New crash information added by DrKonqi

kwin_x11 (5.19.5) using Qt 5.14.2

- What I was doing when the application crashed:
how do i send u my log because there was nothing particular going on pretty standard stuff + this happens all the time i dont think its a behaviour-based kinda crash idk
- Unusual behavior I noticed:

- Custom settings of the application:

-- Backtrace (Reduced):
#5  0x00007fdc124c50aa in QQmlValueTypeFactory::isValueType(int) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
[...]
#9  0x00007fdc12467a9d in QQmlDataBlob::tryDone() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fdc124b9ef9 in QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::SourceCodeData const&) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007fdc124ba2d9 in QQmlTypeLoader::setData(QQmlDataBlob*, QByteArray const&) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
[...]
#15 0x00007fdc14735013 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 2 Justin Zobel 2022-12-01 05:22:08 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you can reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-16 05:15:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 guenter 2022-12-17 09:11:16 UTC
I had no problems any more for several times.

os: Ubuntu 22.04.1 LTS
kwin[_x11] 5.24.7