Bug 325159

Summary: The desktop change when i close the firefox
Product: [Plasma] kwin Reporter: mauroredin <maured9>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mauroredin 2013-09-22 04:23:04 UTC
Application: kwin (4.8.5 (4.8.5))
KDE Platform Version: 4.8.5 (4.8.5) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-53-generic i686
Distribution: Ubuntu 12.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:

- Unusual behavior I noticed:
It colud been because i close the desktop, thinking that i was closing the windows of firefox.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5dc8740 (LWP 1466))]

Thread 3 (Thread 0xb33ffb40 (LWP 1543)):
#0  0x00f36416 in __kernel_vsyscall ()
#1  0x006bae01 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x018a142a in qt_safe_select (nfds=18, fdread=0xb2a0058c, fdwrite=0xb2a007a0, fdexcept=0xb2a009b4, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#3  0x018a5a1b in QEventDispatcherUNIX::select (this=0xb2a00488, nfds=18, readfds=0xb2a0058c, writefds=0xb2a007a0, exceptfds=0xb2a009b4, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:639
#4  0x018a6d2f in QEventDispatcherUNIXPrivate::doSelect (this=0xb2a00498, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#5  0x018a71f4 in QEventDispatcherUNIX::processEvents (this=0xb2a00488, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0x0187050d in QEventLoop::processEvents (this=0xb33ff240, flags=...) at kernel/qeventloop.cpp:149
#7  0x018707a9 in QEventLoop::exec (this=0xb33ff240, flags=...) at kernel/qeventloop.cpp:204
#8  0x0175994c in QThread::exec (this=0x9510578) at thread/qthread.cpp:501
#9  0x0184db5d in QInotifyFileSystemWatcherEngine::run (this=0x9510578) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0175cde0 in QThreadPrivate::start (arg=0x9510578) at thread/qthread_unix.cpp:298
#11 0x016a3d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x006c1dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb29ffb40 (LWP 1547)):
#0  0x00f36416 in __kernel_vsyscall ()
#1  0x016a796b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x006cf6ec in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x03f3f029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x03f3f06f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x016a3d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x006c1dde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5dc8740 (LWP 1466)):
[KCrash Handler]
#7  0x04994301 in internalWinId (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:241
#8  QWidget::effectiveWinId (this=0x9776310) at kernel/qwidget.cpp:2609
#9  0x049d6de1 in QETWidget::translateMouseEvent (this=0x9776310, event=0xbf99b18c) at kernel/qapplication_x11.cpp:4499
#10 0x049d5c0d in QApplication::x11ProcessEvent (this=0xbf99b3d8, event=0xbf99b18c) at kernel/qapplication_x11.cpp:3732
#11 0x04a03a88 in QEventDispatcherX11::processEvents (this=0x938feb8, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#12 0x0187050d in QEventLoop::processEvents (this=0xbf99b314, flags=...) at kernel/qeventloop.cpp:149
#13 0x018707a9 in QEventLoop::exec (this=0xbf99b314, flags=...) at kernel/qeventloop.cpp:204
#14 0x01875eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#15 0x04947a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#16 0x004be7c5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#17 0x0804850b in ?? ()
#18 0x005ec4d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#19 0x08048531 in _start ()

This bug may be a duplicate of or related to bug 288454.

Possible duplicates by query: bug 317720.

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-09-22 07:45:06 UTC
the backtrace indicates that the windowmanager crashed when you closed a (likely firefox by your description) window but that doesn't match your description.
kwin should have restarted, preserving the current virtual desktop.

if you're concerning a behavioral error next to the crash, please elaborate on it since "close the desktop" (window) should not be possible in the first place.

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