Bug 305944 - Crash on logout
Summary: Crash on logout
Status: RESOLVED DUPLICATE of bug 303244
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-28 19:36 UTC by rtdvrs
Modified: 2012-08-28 19:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rtdvrs 2012-08-28 19:36:37 UTC
Application: kwin (4.8.90 (4.8.90))
KDE Platform Version: 4.8.90 (4.8.90)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Pressed the logout button (but it's independent of the logout button, the same thing happens when logging out via a script).

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fbfcffff700 (LWP 4212)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbff5b20222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fbff5b20259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fbfed997e9a in start_thread (arg=0x7fbfcffff700) at pthread_create.c:308
#4  0x00007fbff8c2a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbfdd724700 (LWP 8787)):
#0  0x00007fbff8c23823 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fbff48dd366 in qt_safe_select (nfds=16, fdread=0x7fbfd4000ac8, fdwrite=0x7fbfd4000d60, fdexcept=0x7fbfd4000ff8, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007fbff48e27b2 in QEventDispatcherUNIXPrivate::doSelect (this=0x7fbfd4000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007fbff48e2ca3 in QEventDispatcherUNIX::processEvents (this=0x7fbfd40008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007fbff48afc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbff48afed7 in QEventLoop::exec (this=0x7fbfdd723dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbff47aefa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fbff488f9ff in QInotifyFileSystemWatcherEngine::run (this=0xf013c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fbff47b1fcb in QThreadPrivate::start (arg=0xf013c0) at thread/qthread_unix.cpp:298
#9  0x00007fbfed997e9a in start_thread (arg=0x7fbfdd724700) at pthread_create.c:308
#10 0x00007fbff8c2a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbff93fb780 (LWP 4196)):
[KCrash Handler]
#6  isSignalConnected (signal_index=8, this=0x0) at kernel/qobject_p.h:229
#7  QMetaObject::activate (sender=0x1b6c6a0, m=<optimized out>, local_signal_index=6, argv=0x7fffcead1b90) at kernel/qobject.cpp:3456
#8  0x00007fbff8fa7d5f in KWin::Toplevel::windowClosed (this=<optimized out>, _t1=0x1b6c6a0, _t2=0x0) at ./toplevel.moc:347
#9  0x00007fbff8fa89f3 in KWin::Unmanaged::release (this=0x1b6c6a0, on_shutdown=true) at ../../kwin/unmanaged.cpp:89
#10 0x00007fbff8f3a192 in KWin::Workspace::~Workspace (this=0xc4cf10, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:534
#11 0x00007fbff8f3a9d9 in KWin::Workspace::~Workspace (this=0xc4cf10, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:561
#12 0x00007fbff8f55f05 in KWin::Application::~Application (this=0x7fffcead1d10, __in_chrg=<optimized out>) at ../../kwin/main.cpp:343
#13 0x00007fbff8f587b4 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:545
#14 0x00007fbff8b5976d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=3, ubp_av=0x7fffcead2408, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcead23f8) at libc-start.c:226
#15 0x0000000000400671 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2012-08-28 19:43:38 UTC
is this really 4.8.90? That's a beta or RC of 4.9 - so rather outdated
Comment 2 Thomas Lübking 2012-08-28 19:44:03 UTC
#6  isSignalConnected (signal_index=8, this=0x0) at kernel/qobject_p.h:229
#7  QMetaObject::activate (sender=0x1b6c6a0, m=<optimized out>, local_signal_index=6, argv=0x7fffcead1b90) at kernel/qobject.cpp:3456

There's sth. wrong here - a deleted object should not receive any signals at all.
Either there's a  a funny performace patch or whatever in that (downstream) Qt version or we got some memory corruption.

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