Bug 298370

Summary: Kwin crashes when a KDE session is started over NX
Product: [Plasma] kwin Reporter: iordan
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: chantal
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description iordan 2012-04-18 18:29:11 UTC
Application: kwin (4.8.2 (4.8.2))
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-21-generic-pae i686
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Logging into KDE4 through NX causes kwin to constantly crash. Sometimes no activity is necessary (crashes upon login), at other times, dragging windows around causes it to crash.

I saw a bug report with a similar title being marked as a duplicate to kwin crashing as a result of running xrandr. However, I can't duplicate the behavior of that bug-report on my system. Kwin does not crash when xrandr is run no matter what arguments I give it. Hence, I believe this may not be a duplicate but a standalone bug report.

If not, then my apologies.

The crash can be reproduced every time.

-- 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 0xb1a7c740 (LWP 19027))]

Thread 2 (Thread 0xaecffb40 (LWP 19029)):
#0  0xb7734424 in __kernel_vsyscall ()
#1  0xb2a1d96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb75133dc in __pthread_cond_wait (cond=0xb6726890, mutex=0xb6726878) at forward.c:139
#3  0xb6622029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb662206f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb2a19d4c in start_thread (arg=0xaecffb40) at pthread_create.c:308
#6  0xb7505ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb1a7c740 (LWP 19027)):
[KCrash Handler]
#7  __GI___libc_free (mem=0x1) at malloc.c:2968
#8  0xb679ff9b in XFree (data=0x1) at ../../src/XlibInt.c:1701
#9  0xb674cc76 in XRRUpdateConfiguration (event=0xbfec704c) at ../../src/Xrandr.c:446
#10 0xb763d3b7 in KWin::Workspace::workspaceEvent (this=0x87826a0, e=0xbfec704c) at ../../kwin/events.cpp:460
#11 0xb762d632 in KWin::Application::x11EventFilter (this=0xbfec7298, e=0xbfec704c) at ../../kwin/main.cpp:359
#12 0xb54af534 in qt_x11EventFilter (ev=0xbfec704c) at kernel/qapplication_x11.cpp:441
#13 qt_x11EventFilter (ev=0xbfec704c) at kernel/qapplication_x11.cpp:429
#14 0xb54bf207 in QApplication::x11ProcessEvent (this=0xbfec7298, event=0xbfec704c) at kernel/qapplication_x11.cpp:3444
#15 0xb54eda88 in QEventDispatcherX11::processEvents (this=0x86b4928, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#16 0xb5f4850d in QEventLoop::processEvents (this=0xbfec71d4, flags=...) at kernel/qeventloop.cpp:149
#17 0xb5f487a9 in QEventLoop::exec (this=0xbfec71d4, flags=...) at kernel/qeventloop.cpp:204
#18 0xb5f4deba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#19 0xb5431a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#20 0xb76305b5 in kdemain (argc=1, argv=0xbfec7544) at ../../kwin/main.cpp:541
#21 0x0804850b in main (argc=1, argv=0xbfec7544) at kwin_dummy.cpp:3

Possible duplicates by query: bug 298304, bug 293648, bug 293209.

Reported using DrKonqi
Comment 1 Martin Flöser 2012-04-18 18:56:23 UTC

*** This bug has been marked as a duplicate of bug 293209 ***
Comment 2 chantal 2012-10-26 09:34:15 UTC
Created attachment 74806 [details]
New crash information added by DrKonqi

kwin (4.8.5 (4.8.5)) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

I logged in with my nx client on a newly isntalled kubuntu 12.04 server

-- Backtrace (Reduced):
#6  __GI___libc_free (mem=0x1) at malloc.c:2968
#7  0x00007f8de001f819 in XFree (data=<optimized out>) at ../../src/XlibInt.c:1701
#8  0x00007f8ddfbc72ee in XRRUpdateConfiguration (event=0x7fff9e623230) at ../../src/Xrandr.c:446
#9  0x00007f8de2916c60 in KWin::Workspace::workspaceEvent (this=0x22c6ec0, e=0x7fff9e623230) at ../../kwin/events.cpp:460
#10 0x00007f8de29084b8 in KWin::Application::x11EventFilter (this=0x7fff9e623540, e=0x7fff9e623230) at ../../kwin/main.cpp:359