Bug 298304 - kwin started via NX client, kwin crashes
Summary: kwin started via NX client, kwin crashes
Status: RESOLVED DUPLICATE of bug 293209
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-04-17 14:26 UTC by Michael Goldshteyn
Modified: 2013-03-05 13:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.03 KB, text/plain)
2012-12-31 20:03 UTC, vguzman
Details
New crash information added by DrKonqi (4.15 KB, text/plain)
2013-01-18 10:47 UTC, Cristóbal Carnero Liñán
Details
New crash information added by DrKonqi (4.12 KB, text/plain)
2013-03-05 13:58 UTC, Mau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Goldshteyn 2012-04-17 14:26:37 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-23-generic x86_64
Distribution: Ubuntu precise (development branch)

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

Every time the desktop starts up when I connect via NX, kwin crashes.

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 0x7f78c2fea780 (LWP 4658))]

Thread 3 (Thread 0x7f78a6d8b700 (LWP 4660)):
#0  0x00007f78c27f3823 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f78bdff5366 in qt_safe_select (nfds=18, fdread=0x7f7898000ac8, fdwrite=0x7f7898000d60, fdexcept=0x7f7898000ff8, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007f78bdffa7b2 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f7898000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f78bdffaca3 in QEventDispatcherUNIX::processEvents (this=0x7f78980008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f78bdfc7c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f78bdfc7ed7 in QEventLoop::exec (this=0x7f78a6d8add0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f78bdec6fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f78bdfa79ff in QInotifyFileSystemWatcherEngine::run (this=0x13f6b60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f78bdec9fcb in QThreadPrivate::start (arg=0x13f6b60) at thread/qthread_unix.cpp:298
#9  0x00007f78b70f4e9a in start_thread (arg=0x7f78a6d8b700) at pthread_create.c:308
#10 0x00007f78c27fa4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f78a658a700 (LWP 4665)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f78bf2b3222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f78bf2b3259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f78b70f4e9a in start_thread (arg=0x7f78a658a700) at pthread_create.c:308
#4  0x00007f78c27fa4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f78c2fea780 (LWP 4658)):
[KCrash Handler]
#6  __GI___libc_free (mem=0x1) at malloc.c:2968
#7  0x00007f78c023f819 in XFree () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#8  0x00007f78bfde72ee in XRRUpdateConfiguration () from /usr/lib/x86_64-linux-gnu/libXrandr.so.2
#9  0x00007f78c2b31a30 in KWin::Workspace::workspaceEvent (this=0x12c08e0, e=0x7ffff371da90) at ../../kwin/events.cpp:460
#10 0x00007f78c2b23288 in KWin::Application::x11EventFilter (this=0x7ffff371dda0, e=0x7ffff371da90) at ../../kwin/main.cpp:359
#11 0x00007f78bd3bab85 in qt_x11EventFilter (ev=0x7ffff371da90) at kernel/qapplication_x11.cpp:441
#12 qt_x11EventFilter (ev=0x7ffff371da90) at kernel/qapplication_x11.cpp:429
#13 0x00007f78bd3c9f98 in QApplication::x11ProcessEvent (this=0x7ffff371dda0, event=0x7ffff371da90) at kernel/qapplication_x11.cpp:3444
#14 0x00007f78bd3f4b4a in QEventDispatcherX11::processEvents (this=0x11f9ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#15 0x00007f78bdfc7c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#16 0x00007f78bdfc7ed7 in QEventLoop::exec (this=0x7ffff371dce0, flags=...) at kernel/qeventloop.cpp:204
#17 0x00007f78bdfccf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#18 0x00007f78c2b25a06 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:541
#19 0x00007f78c272976d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=3, ubp_av=0x7ffff371e4c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff371e4b8) at libc-start.c:226
#20 0x0000000000400671 in _start ()

Possible duplicates by query: bug 293648, bug 293209.

Reported using DrKonqi
Comment 1 Martin Flöser 2012-04-17 16:07:08 UTC

*** This bug has been marked as a duplicate of bug 293209 ***
Comment 2 vguzman 2012-12-31 20:03:27 UTC
Created attachment 76117 [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:

Everytime I log in thrugh NX kwin crashes.

-- Backtrace (Reduced):
#6  __GI___libc_free (mem=0x1) at malloc.c:2968
#7  0x00007f5595534819 in XFree () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#8  0x00007f55950dc2ee in XRRUpdateConfiguration () from /usr/lib/x86_64-linux-gnu/libXrandr.so.2
#9  0x00007f5597e2bc60 in KWin::Workspace::workspaceEvent (this=0xd59c30, e=0x7fff3ed8de50) at ../../kwin/events.cpp:460
#10 0x00007f5597e1d4b8 in KWin::Application::x11EventFilter (this=0x7fff3ed8e160, e=0x7fff3ed8de50) at ../../kwin/main.cpp:359
Comment 3 Thomas Lübking 2012-12-31 20:09:44 UTC
See dupe, it's a bug in the xrandr lib shipped by ubuntu. Downgrading it helps (the dupe has a link to the ubuntu bug)
Comment 4 Cristóbal Carnero Liñán 2013-01-18 10:47:38 UTC
Created attachment 76537 [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:

Login through neatx. Every time I restart Kwin and resize the NX client windows it crashes.

-- Backtrace (Reduced):
#6  __GI___libc_free (mem=0x7fff00000001) at malloc.c:2968
#7  0x00007f172d816819 in XFree (data=<optimized out>) at ../../src/XlibInt.c:1701
#8  0x00007f172d3be2ee in XRRUpdateConfiguration (event=0x7fff50dff7d0) at ../../src/Xrandr.c:446
#9  0x00007f173010dc60 in KWin::Workspace::workspaceEvent (this=0x14bffa0, e=0x7fff50dff7d0) at ../../kwin/events.cpp:460
#10 0x00007f17300ff4b8 in KWin::Application::x11EventFilter (this=0x7fff50dffae0, e=0x7fff50dff7d0) at ../../kwin/main.cpp:359
Comment 5 Mau 2013-03-05 13:58:31 UTC
Created attachment 77775 [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:
logging on through nx client

- Custom settings of the application:
The system has freenx-server installed from Ubuntu ppa.

-- Backtrace (Reduced):
#6  __GI___libc_free (mem=0x7fff00000001) at malloc.c:2968
#7  0x00007fb764989819 in XFree () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#8  0x00007fb7645312ee in XRRUpdateConfiguration () from /usr/lib/x86_64-linux-gnu/libXrandr.so.2
#9  0x00007fb767280c60 in KWin::Workspace::workspaceEvent (this=0x242dea0, e=0x7fff41ca7c30) at ../../kwin/events.cpp:460
#10 0x00007fb7672724b8 in KWin::Application::x11EventFilter (this=0x7fff41ca7f40, e=0x7fff41ca7c30) at ../../kwin/main.cpp:359