Bug 325584

Summary: KWin Crash during boot
Product: [Plasma] kwin Reporter: Herman M. Hofman <hmhofman>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: frederic.bron, germano.massullo, kde, stakanov.s, vikigoyal
Priority: NOR Keywords: drkonqi
Version: 4.11.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugreports.qt-project.org/browse/QTBUG-27809
https://bugs.kde.org/show_bug.cgi?id=315453
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Herman M. Hofman 2013-10-03 12:20:26 UTC
Application: kwin (4.11.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.5
Operating System: Linux 3.11.2-201.fc19.x86_64 x86_64
Distribution: "Fedora release 19 (Schrödinger’s Cat)"

-- Information about the crash:
Rebooting the system. 
During boot I noticed a screen opening while the KDE Login Splash was still running. 

Things I changed: 
A new script in the ~/.kde/env folder and the ~/.kde/shutdown folder. 
Those get executed with the desireable results. 
Probably not related

-- Backtrace:
Application: KWin (kwin), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38		cmpq $-4095, %rax	/* Check %rax for error.  */
[Current thread is 1 (Thread 0x7f9fd6b7a8c0 (LWP 1587))]

Thread 2 (Thread 0x7f9fca12a700 (LWP 1594)):
[KCrash Handler]
#6  0x0000003abea35a19 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x0000003abea37128 in __GI_abort () at abort.c:90
#8  0x0000003ac522f4c5 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x0000003ac5226431 in _dbus_warn_check_failed (format=0x3ac5235880 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:290
#10 0x0000003acb41bc67 in q_dbus_pending_call_block (pending=<optimized out>) at qdbus_symbols_p.h:309
#11 QDBusConnectionPrivate::waitForFinished (this=0x6c6940, pcall=pcall@entry=0x836c50) at qdbusintegrator.cpp:1781
#12 0x0000003acb45a4ec in QDBusPendingCallPrivate::waitForFinished (this=0x836c50) at qdbuspendingcall.cpp:245
#13 0x0000003acb45abf2 in QDBusPendingCallWatcher::waitForFinished (this=0x77a2d0) at qdbuspendingcall.cpp:531
#14 0x0000003ad8e096a9 in waitForCallFinished (mutex=0x782278, watcher=<optimized out>) at /usr/src/debug/kactivities-4.11.1/src/lib/core/utils_p.h:99
#15 KActivities::Consumer::listActivities (this=this@entry=0x7dc940) at /usr/src/debug/kactivities-4.11.1/src/lib/core/consumer.cpp:162
#16 0x0000003ad9f28769 in KWin::fetchActivityListAndCurrent (controller=0x7dc940) at /usr/src/debug/kde-workspace-4.11.1/kwin/activities.cpp:232
#17 0x0000003ad9f2b168 in QtConcurrent::StoredFunctorCall1<QPair<QString, QStringList>, QPair<QString, QStringList> (*)(KActivities::Controller*), KActivities::Controller*>::runFunctor (this=0x8fbd10) at /usr/include/QtCore/qtconcurrentstoredfunctioncall.h:267
#18 0x0000003ad9f2daa7 in QtConcurrent::RunFunctionTask<QPair<QString, QStringList> >::run (this=0x8fbd10) at /usr/include/QtCore/qtconcurrentrunbase.h:106
#19 0x0000003aca66e83e in QThreadPoolThread::run (this=0x78c3d0) at concurrent/qthreadpool.cpp:107
#20 0x0000003aca67ad0f in QThreadPrivate::start (arg=0x78c3d0) at thread/qthread_unix.cpp:338
#21 0x0000003abf207c53 in start_thread (arg=0x7f9fca12a700) at pthread_create.c:308
#22 0x0000003abeaf5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f9fd6b7a8c0 (LWP 1587)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x0000003aca6797e3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x6c6b00) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x6c6b00, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x0000003aca675c95 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x0000003aca675d9b in QMutex::lock (this=this@entry=0x6c69b0) at thread/qmutex.cpp:177
#5  0x0000003acb41b3d5 in QDBusMutexLocker (m=0x6c69b0, s=0x6c6940, a=DoDispatchAction, this=<synthetic pointer>) at qdbusthreaddebug_p.h:188
#6  QDBusDispatchLocker (s=0x6c6940, a=DoDispatchAction, this=<synthetic pointer>) at qdbusthreaddebug_p.h:203
#7  QDBusConnectionPrivate::doDispatch (this=0x6c6940) at qdbusintegrator.cpp:1131
#8  0x0000003acb45e7c5 in QDBusConnectionPrivate::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qdbusconnection_p.cpp:74
#9  0x0000003aca79232e in QObject::event (this=0x6c6940, e=<optimized out>) at kernel/qobject.cpp:1194
#10 0x0000003acebc84dc in QApplicationPrivate::notify_helper (this=this@entry=0x6cd070, receiver=receiver@entry=0x6c6940, e=e@entry=0x90ed70) at kernel/qapplication.cpp:4562
#11 0x0000003acebceaa0 in QApplication::notify (this=this@entry=0x7ffff8b836f0, receiver=receiver@entry=0x6c6940, e=e@entry=0x90ed70) at kernel/qapplication.cpp:4348
#12 0x0000003ad0e3fd2a in KApplication::notify (this=0x7ffff8b836f0, receiver=0x6c6940, event=0x90ed70) at /usr/src/debug/kdelibs-4.11.1/kdeui/kernel/kapplication.cpp:311
#13 0x0000003aca77a26d in QCoreApplication::notifyInternal (this=0x7ffff8b836f0, receiver=receiver@entry=0x6c6940, event=event@entry=0x90ed70) at kernel/qcoreapplication.cpp:949
#14 0x0000003aca77d1df in sendEvent (event=0x90ed70, receiver=0x6c6940) at kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x667320) at kernel/qcoreapplication.cpp:1573
#16 0x0000003aca77d683 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#17 0x0000003acec6573c in sendPostedEvents () at ../../src/corelib/kernel/qcoreapplication.h:236
#18 QEventDispatcherX11::processEvents (this=0x668c80, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#19 0x0000003aca778ecf in QEventLoop::processEvents (this=this@entry=0x7ffff8b83560, flags=...) at kernel/qeventloop.cpp:149
#20 0x0000003aca7791c5 in QEventLoop::exec (this=this@entry=0x7ffff8b83560, flags=...) at kernel/qeventloop.cpp:204
#21 0x0000003aca77e45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#22 0x0000003acebc6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#23 0x0000003ad9e7b426 in kdemain (argc=1, argv=0x7ffff8b83838) at /usr/src/debug/kde-workspace-4.11.1/kwin/main.cpp:589
#24 0x0000003abea21b75 in __libc_start_main (main=0x4009d0 <main(int, char**)>, argc=1, ubp_av=0x7ffff8b83838, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff8b83828) at libc-start.c:274
#25 0x0000000000400a01 in _start ()

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

Possible duplicates by query: bug 309485.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-10-03 12:48:10 UTC
Qt bug: https://bugreports.qt-project.org/browse/QTBUG-27809
More or less a dupe of bug #316358

The scripts in ~/.kde/env may delay the activitymanager startup, causing the activity fetching thread to run for a long time, raising chances to run into this.
Comment 2 Frédéric Bron 2013-10-26 05:27:03 UTC
Created attachment 83122 [details]
New crash information added by DrKonqi

kwin (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.5

- What I was doing when the application crashed:
I was opening a new KDE session, that's all. KDE was still launching.

-- Backtrace (Reduced):
#7  0x0000003b51e2f4c5 in _dbus_abort () from /lib64/libdbus-1.so.3
#8  0x0000003b51e26431 in _dbus_warn_check_failed () from /lib64/libdbus-1.so.3
#9  0x0000003e5d61bc67 in QDBusConnectionPrivate::waitForFinished(QDBusPendingCallPrivate*) () from /lib64/libQtDBus.so.4
#10 0x0000003e5d65a4ec in QDBusPendingCallPrivate::waitForFinished() () from /lib64/libQtDBus.so.4
#11 0x0000003e5d65abf2 in QDBusPendingCallWatcher::waitForFinished() () from /lib64/libQtDBus.so.4
Comment 3 Martin Flöser 2014-03-19 09:21:09 UTC
*** Bug 332302 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Lübking 2014-04-28 11:43:58 UTC
*** Bug 333988 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Lübking 2014-04-28 11:44:11 UTC
*** Bug 333996 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Lübking 2014-04-30 07:28:50 UTC
*** Bug 334111 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Lübking 2014-07-23 20:07:47 UTC
*** Bug 337739 has been marked as a duplicate of this bug. ***