Bug 329783 - KWin occassionally crashes when changing settings
Summary: KWin occassionally crashes when changing settings
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 4.11.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2014-01-09 22:22 UTC by Maxim Therrien
Modified: 2018-10-27 04:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Therrien 2014-01-09 22:22:30 UTC
Application: kwin (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.5
Operating System: Linux 3.11.6-4-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
When KWin crashed, I was changing my color theme. It was right after I started my computer. It happened to me a few other times before. When I tried to apply, none of my windows were clickable or usable or whatsoever (but I could still move my pointer around), so I waited, then got bored and went into console mode and back, and the whole screen was black, with my mouse pointer still working. So I went back into my console as root, and killed KWin with a SIGBUS to force the KDE Crash Handler to restart it and dump it. AFAIK, the debug log contains information about the real crash aswell (settings stuff).

-- Backtrace:
Application: KWin (kwin), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb3f2e798c0 (LWP 5153))]

Thread 2 (Thread 0x7fb3d0ec7700 (LWP 5394)):
#0  0x00007fb3ec5a40af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb3f186b8cb in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb3f1b69f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb3f186b909 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb3ec5a00db in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb3f266f90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb3f2e798c0 (LWP 5153)):
[KCrash Handler]
#6  0x00007fb3f2668913 in select () from /lib64/libc.so.6
#7  0x00007fb3ec9616fb in qt_safe_select (nfds=33, fdread=0x7fff285b9fd0, fdwrite=0x7fff285ba050, fdexcept=fdexcept@entry=0x0, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:83
#8  0x00007fb3ec910fc2 in select_msecs (nfds=<optimized out>, fdread=<optimized out>, fdwrite=<optimized out>, timeout=<optimized out>) at io/qprocess_unix.cpp:1008
#9  0x00007fb3ec91277a in QProcessPrivate::waitForFinished (this=this@entry=0x1484c20, msecs=msecs@entry=-1) at io/qprocess_unix.cpp:1229
#10 0x00007fb3ec8caa22 in QProcess::waitForFinished (this=this@entry=0x7fff285ba160, msecs=msecs@entry=-1) at io/qprocess.cpp:1759
#11 0x00007fb3ec8d0c67 in QProcess::execute (program=...) at io/qprocess.cpp:2176
#12 0x00007fb3f2a31800 in KWin::CompositingPrefs::detect (this=this@entry=0x7fff285ba217) at /usr/src/debug/kde-workspace-4.11.3/kwin/compositingprefs.cpp:153
#13 0x00007fb3f29ba5a1 in KWin::Options::reloadCompositingSettings (this=this@entry=0xd3d240, force=force@entry=false) at /usr/src/debug/kde-workspace-4.11.3/kwin/options.cpp:958
#14 0x00007fb3f29ba71d in KWin::Options::updateSettings (this=0xd3d240) at /usr/src/debug/kde-workspace-4.11.3/kwin/options.cpp:802
#15 0x00007fb3f2995e26 in KWin::Workspace::slotReconfigure (this=0xd7f990) at /usr/src/debug/kde-workspace-4.11.3/kwin/workspace.cpp:796
#16 0x00007fb3f299644d in KWin::Workspace::qt_static_metacall (_o=0xd7f990, _id=677093328, _a=0x7fff285ba050, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.11.3/build/kwin/workspace.moc:271
#17 0x00007fb3ec94ad68 in QMetaObject::activate (sender=0xd7fac0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#18 0x00007fb3ec94ef31 in QObject::event (this=0xd7fac0, e=<optimized out>) at kernel/qobject.cpp:1165
#19 0x00007fb3ebab68ac in QApplicationPrivate::notify_helper (this=this@entry=0xbe82f0, receiver=receiver@entry=0xd7fac0, e=e@entry=0x7fff285ba8e0) at kernel/qapplication.cpp:4562
#20 0x00007fb3ebabce70 in QApplication::notify (this=this@entry=0x7fff285badb0, receiver=receiver@entry=0xd7fac0, e=e@entry=0x7fff285ba8e0) at kernel/qapplication.cpp:4348
#21 0x00007fb3f12bd18a in KApplication::notify (this=0x7fff285badb0, receiver=0xd7fac0, event=0x7fff285ba8e0) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#22 0x00007fb3ec9370ad in QCoreApplication::notifyInternal (this=0x7fff285badb0, receiver=0xd7fac0, event=0x7fff285ba8e0) at kernel/qcoreapplication.cpp:949
#23 0x00007fb3ec96683c in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#24 QTimerInfoList::activateTimers (this=0xbe8d58) at kernel/qeventdispatcher_unix.cpp:636
#25 0x00007fb3ec966ef0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0xb28a70) at kernel/qeventdispatcher_unix.cpp:893
#26 0x00007fb3ec967860 in QEventDispatcherUNIX::processEvents (this=this@entry=0xb28a70, flags=...) at kernel/qeventdispatcher_unix.cpp:955
#27 0x00007fb3ebb54256 in QEventDispatcherX11::processEvents (this=0xb28a70, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#28 0x00007fb3ec935d0f in QEventLoop::processEvents (this=this@entry=0x7fff285bac20, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007fb3ec936005 in QEventLoop::exec (this=this@entry=0x7fff285bac20, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007fb3ec93b13b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#31 0x00007fb3ebab506c in QApplication::exec () at kernel/qapplication.cpp:3823
#32 0x00007fb3f29b6276 in kdemain (argc=1, argv=0x7fff285baef8) at /usr/src/debug/kde-workspace-4.11.3/kwin/main.cpp:597
#33 0x00007fb3f25a9be5 in __libc_start_main () from /lib64/libc.so.6
#34 0x0000000000400761 in _start () at ../sysdeps/x86_64/start.S:122

Possible duplicates by query: bug 291060.

Reported using DrKonqi
Comment 1 Thomas Lübking 2014-01-09 22:43:01 UTC
Backtrace says you killed kwin while it was waiting for "kwin_opengl_test" to finish, what apparently didn't happen.
I'm not sure why we would restart the compositor if you changed some color scheme, but from what I can say, when this happens the next time, please kill "kwin_opengl_test" instead (or gdb into it to check where it hangs around)

Also please provide the output of "qdbus org.kde.kwin /KWin supportInformation" (when compositing works)
Comment 2 Maxim Therrien 2014-01-18 16:58:59 UTC
All right, I'll try that next time I encounter it.
Comment 3 Andrew Crouthamel 2018-09-25 03:55:57 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 set the bug status 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 Andrew Crouthamel 2018-10-27 04:19:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!