Bug 358370

Summary: Crash when using NoMachine to remote login.
Product: [I don't know] kde Reporter: Andrei Amuraritei <andamu>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: grgoffe, henryju
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrei Amuraritei 2016-01-22 12:15:37 UTC
Application: polkit-kde-authentication-agent-1 (5.5.3)

Qt Version: 5.5.1
Operating System: Linux 4.3.3-301.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
- What I was doing when the application crashed:
Using NoMachine client from Windows to acces a NoMachine server (with ssh) on KDE Plasma 5 desktop on Fedora 23, causes all sorts of crashes, starting with kdeinit5, plasmashell, kwin etc.
- Unusual behavior I noticed:
Desktop dissapears, plasmashell crashes, but process remains.

The crash can be reproduced sometimes.

-- Backtrace:
Application: PolicyKit1 KDE Agent (polkit-kde-authentication-agent-1), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa170840900 (LWP 2319))]

Thread 5 (Thread 0x7fa155bf6700 (LWP 2320)):
#0  0x00007fa16c645fdd in poll () from /lib64/libc.so.6
#1  0x00007fa168fd1272 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007fa168fd2ee7 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fa157dbfda9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007fa16d2623de in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007fa168ba660a in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa16c651a4d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa14c24e700 (LWP 2323)):
#0  0x00007fa16c641bcd in read () from /lib64/libc.so.6
#1  0x00007fa169a14390 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007fa1699d0c64 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007fa1699d1110 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007fa1699d127c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007fa1699d12b9 in glib_worker_main () from /lib64/libglib-2.0.so.0
#6  0x00007fa1699f7835 in g_thread_proxy () from /lib64/libglib-2.0.so.0
#7  0x00007fa168ba660a in start_thread () from /lib64/libpthread.so.0
#8  0x00007fa16c651a4d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa143fff700 (LWP 2324)):
#0  0x00007fa169a15737 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#1  0x00007fa1699d108e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fa1699d14f2 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00007fa1696e7336 in gdbus_shared_thread_func () from /lib64/libgio-2.0.so.0
#4  0x00007fa1699f7835 in g_thread_proxy () from /lib64/libglib-2.0.so.0
#5  0x00007fa168ba660a in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa16c651a4d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa14133e700 (LWP 3653)):
#0  0x00007fa168babb10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa149d293b3 in radeon_drm_cs_emit_ioctl () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fa149d28b07 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fa168ba660a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa16c651a4d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa170840900 (LWP 2319)):
[KCrash Handler]
#5  0x00007fa157dd055c in QXcbScreen::mapFromNative(QPoint const&) const () from /lib64/libQt5XcbQpa.so.5
#6  0x00007fa157dd89ba in QXcbWindow::handleEnterNotifyEvent(xcb_enter_notify_event_t const*) () from /lib64/libQt5XcbQpa.so.5
#7  0x00007fa157dc1afd in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib64/libQt5XcbQpa.so.5
#8  0x00007fa157dc2433 in QXcbConnection::processXcbEvents() () from /lib64/libQt5XcbQpa.so.5
#9  0x00007fa16d473161 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#10 0x00007fa16e5d341c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007fa16e5d88e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007fa16d44373b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007fa16d445b36 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#14 0x00007fa16d499aa3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#15 0x00007fa1699d0e3a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#16 0x00007fa1699d11d0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#17 0x00007fa1699d127c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00007fa16d499eaf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007fa16d440eca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007fa16d448fac in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#21 0x000055f07cd2f8e2 in main ()

Possible duplicates by query: bug 355585.

Reported using DrKonqi
Comment 1 Marco Martin 2016-02-26 13:31:47 UTC
*** Bug 359799 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Lübking 2016-03-04 16:07:47 UTC
Qt bug, see bug #341497 (it's against kwin, but contains several links to all the dupes and Qt bug iterations - any Qt5 client code is affected) for details.
Comment 3 Christoph Feck 2016-03-28 12:42:04 UTC
*** Bug 360873 has been marked as a duplicate of this bug. ***