Bug 323701 - kwin crash while using virt-manager on a remote host
Summary: kwin crash while using virt-manager on a remote host
Status: RESOLVED DUPLICATE of bug 327287
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 4.11.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-19 07:25 UTC by Laurent Bonnaud
Modified: 2013-12-21 21:59 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 Laurent Bonnaud 2013-08-19 07:25:26 UTC
Application: kwin (4.11.00)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic x86_64
Distribution: Ubuntu 13.04

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

I was using virt-manager and adding a new virtualization host.  In the middle of this operation kwin crashed.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  QObject::~QObject (this=0x1b270a0, __in_chrg=<optimized out>) at kernel/qobject.cpp:915
#7  0x00007f4f18d26899 in KWin::Client::~Client (this=0x1b270a0, __in_chrg=<optimized out>) at ../../kwin/client.cpp:242
#8  0x00007f4f18d28981 in deleteClient (c=0x1b270a0) at ../../kwin/client.cpp:247
#9  KWin::Client::releaseWindow (this=this@entry=0x1b270a0, on_shutdown=on_shutdown@entry=false) at ../../kwin/client.cpp:316
#10 0x00007f4f18d451aa in KWin::Client::unmapNotifyEvent (this=0x1b270a0, e=<optimized out>) at ../../kwin/events.cpp:595
#11 0x00007f4f18d474a3 in KWin::Client::windowEvent (this=0x1b270a0, e=e@entry=0x7fffaba6e650) at ../../kwin/events.cpp:451
#12 0x00007f4f18d48baf in KWin::Workspace::workspaceEvent (this=0x178e270, e=e@entry=0x7fffaba6e650) at ../../kwin/events.cpp:164
#13 0x00007f4f18d3ddb8 in KWin::Application::x11EventFilter (this=0x7fffaba6ebb0, e=0x7fffaba6e650) at ../../kwin/main.cpp:414
#14 0x00007f4f121e105c in qt_x11EventFilter (ev=0x7fffaba6e650) at kernel/qapplication_x11.cpp:441
#15 qt_x11EventFilter (ev=0x7fffaba6e650) at kernel/qapplication_x11.cpp:429
#16 0x00007f4f121ef100 in QApplication::x11ProcessEvent (this=0x7fffaba6ebb0, event=event@entry=0x7fffaba6e650) at kernel/qapplication_x11.cpp:3458
#17 0x00007f4f1221bac9 in QEventDispatcherX11::processEvents (this=0x15a2760, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#18 0x00007f4f12dce38f in QEventLoop::processEvents (this=this@entry=0x7fffaba6e8c0, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007f4f12dce618 in QEventLoop::exec (this=this@entry=0x7fffaba6e8c0, flags=...) at kernel/qeventloop.cpp:204
#20 0x00007f4f12dd3cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#21 0x00007f4f12173ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#22 0x00007f4f18d3d703 in kdemain (argc=3, argv=0x7fffaba6ecf8) at ../../kwin/main.cpp:589
#23 0x00007f4f1891bea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fffaba6ecf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffaba6ece8) at libc-start.c:260
#24 0x0000000000400701 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-08-19 12:19:37 UTC
KWin in the host or the client?
Is this reproducible? (It smells like memory corruption)
In case it's reproducible, do backtraces look all the same?
Comment 2 Thomas Lübking 2013-10-12 11:10:22 UTC
Ping?
Comment 3 Laurent Bonnaud 2013-11-10 11:23:43 UTC
Sorry for the delay answering your questions.  Here are answers:

 - kwin was running on my laptop
 - virt-manager was running on an ssh gateway (over ssh therefore)

Today I managed to reproduce a similar bug while doing some other operations in virt-manager in the same context (that is over ssh).  This is with KDE 4.11.3.  Note that this bug is very similar to bug #327287.

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 0x7f7b422707c0 (LWP 21646))]

Thread 4 (Thread 0x7f7b1ffff700 (LWP 21651)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7b40c4706b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7b40f44f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f7b40c470a9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f7b395f9f6e in start_thread (arg=0x7f7b1ffff700) at pthread_create.c:311
#4  0x00007f7b41a559cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f7b25165700 (LWP 22103)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f7b3bd263e4 in wait (time=30000, this=0x17861d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x178b278, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7b3bd198a5 in QThreadPoolThread::run (this=0x2b4d310) at concurrent/qthreadpool.cpp:141
#4  0x00007f7b3bd25f2f in QThreadPrivate::start (arg=0x2b4d310) at thread/qthread_unix.cpp:338
#5  0x00007f7b395f9f6e in start_thread (arg=0x7f7b25165700) at pthread_create.c:311
#6  0x00007f7b41a559cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f7a9e33f700 (LWP 22104)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f7b3bd263e4 in wait (time=30000, this=0x17861d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x178b278, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7b3bd198a5 in QThreadPoolThread::run (this=0x1783000) at concurrent/qthreadpool.cpp:141
#4  0x00007f7b3bd25f2f in QThreadPrivate::start (arg=0x1783000) at thread/qthread_unix.cpp:338
#5  0x00007f7b395f9f6e in start_thread (arg=0x7f7a9e33f700) at pthread_create.c:311
#6  0x00007f7b41a559cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7b422707c0 (LWP 21646)):
[KCrash Handler]
#6  QObject::~QObject (this=0x2a285e0, __in_chrg=<optimized out>) at kernel/qobject.cpp:915
#7  0x00007f7b41de9973 in ~Unmanaged (this=0x2a285e0, __in_chrg=<optimized out>) at ../../kwin/unmanaged.cpp:44
#8  KWin::Unmanaged::~Unmanaged (this=0x2a285e0, __in_chrg=<optimized out>) at ../../kwin/unmanaged.cpp:46
#9  0x00007f7b41de9ccd in deleteUnmanaged (c=0x2a285e0) at ../../kwin/unmanaged.cpp:114
#10 KWin::Unmanaged::release (this=this@entry=0x2a285e0, on_shutdown=on_shutdown@entry=false) at ../../kwin/unmanaged.cpp:109
#11 0x00007f7b41da8953 in unmapNotifyEvent (this=0x2a285e0) at ../../kwin/events.cpp:1512
#12 KWin::Unmanaged::windowEvent (this=0x2a285e0, e=e@entry=0x7fffef09a210) at ../../kwin/events.cpp:1480
#13 0x00007f7b41da9b85 in KWin::Workspace::workspaceEvent (this=0x1782e20, e=e@entry=0x7fffef09a210) at ../../kwin/events.cpp:167
#14 0x00007f7b41d9da70 in KWin::Application::x11EventFilter (this=0x7fffef09a600, e=0x7fffef09a210) at ../../kwin/main.cpp:422
#15 0x00007f7b3b22b42c in qt_x11EventFilter (ev=0x7fffef09a210) at kernel/qapplication_x11.cpp:441
#16 0x00007f7b3b23bc50 in QApplication::x11ProcessEvent (this=0x7fffef09a600, event=event@entry=0x7fffef09a210) at kernel/qapplication_x11.cpp:3458
#17 0x00007f7b3b265290 in QEventDispatcherX11::processEvents (this=0x158d290, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#18 0x00007f7b3be245ef in QEventLoop::processEvents (this=this@entry=0x7fffef09a470, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007f7b3be248e5 in QEventLoop::exec (this=this@entry=0x7fffef09a470, flags=...) at kernel/qeventloop.cpp:204
#20 0x00007f7b3be29e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#21 0x00007f7b3b1c134c in QApplication::exec () at kernel/qapplication.cpp:3828
#22 0x00007f7b41d9e956 in kdemain (argc=3, argv=0x7fffef09a748) at ../../kwin/main.cpp:597
#23 0x00007f7b4197cde5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fffef09a748, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffef09a738) at libc-start.c:260
#24 0x00000000004006fe in _start ()
Comment 4 Thomas Lübking 2013-12-21 21:59:26 UTC

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