Bug 383299 - KRDC Crashes when closing from system tray
Summary: KRDC Crashes when closing from system tray
Status: REPORTED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-08-08 23:58 UTC by J.Fly
Modified: 2023-02-22 06:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.71 KB, text/plain)
2020-08-04 12:51 UTC, Oleg
Details
New crash information added by DrKonqi (4.28 KB, text/plain)
2021-03-05 15:56 UTC, Shawn Starr
Details
New crash information added by DrKonqi (8.69 KB, text/plain)
2023-02-22 06:15 UTC, Krzysztof Cybulski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.Fly 2017-08-08 23:58:14 UTC
Application: krdc (17.04.2)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.4.76-1-default x86_64
Distribution: "openSUSE Leap 42.3"

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

The drop down context menu for my VM was not showing up so I right clicked the system tray icon and closed the RDC session to my VM.  Then I right clicked the KRDC icon and clicked exit and KDRC crashed at that point.

-- Backtrace:
Application: KRDC (krdc), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f89a0b838c0 (LWP 23750))]

Thread 7 (Thread 0x7f896f710700 (LWP 23758)):
#0  0x00007f89986240bf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f897cd3bb4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f897cd3b8c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f899861f744 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f899c6b7aad in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f896ff11700 (LWP 23757)):
#0  0x00007f89986240bf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f897cd3bb4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f897cd3b8c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f899861f744 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f899c6b7aad in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f8970712700 (LWP 23756)):
#0  0x00007f89986240bf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f897cd3bb4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f897cd3b8c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f899861f744 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f899c6b7aad in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f8970f13700 (LWP 23755)):
#0  0x00007f89986240bf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f897cd3bb4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f897cd3b8c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f899861f744 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f899c6b7aad in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f8971919700 (LWP 23754)):
#0  0x00007f89986240bf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f897cd3bb4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f897cd3b8c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f899861f744 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f899c6b7aad in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f897f30c700 (LWP 23753)):
#0  0x00007f899c6af20d in poll () from /lib64/libc.so.6
#1  0x00007f8998102314 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f899810242c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f899cfbc1ab in QEventDispatcherGlib::processEvents (this=0x7f89780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f899cf69bfb in QEventLoop::exec (this=this@entry=0x7f897f30bce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#5  0x00007f899cda4f5a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f899aef7295 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f899cda9a29 in QThreadPrivate::start (arg=0x7f899b160ce0) at thread/qthread_unix.cpp:365
#8  0x00007f899861f744 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f899c6b7aad in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f89a0b838c0 (LWP 23750)):
[KCrash Handler]
#6  QWindow::parent (this=0x0) at kernel/qwindow.cpp:589
#7  0x00007f899e8676bd in QWindowContainer::parentWasChanged (parent=0xe3a560) at kernel/qwindowcontainer.cpp:358
#8  0x00007f899e86724e in qwindowcontainer_traverse (parent=parent@entry=0xdb63e0, callback=callback@entry=0x7f899e867660 <QWindowContainer::parentWasChanged(QWidget*)>) at kernel/qwindowcontainer.cpp:342
#9  0x00007f899e86780f in QWindowContainer::parentWasChanged (parent=0xdb63e0) at kernel/qwindowcontainer.cpp:372
#10 0x00007f899e86724e in qwindowcontainer_traverse (parent=parent@entry=0xdcfc50, callback=callback@entry=0x7f899e867660 <QWindowContainer::parentWasChanged(QWidget*)>) at kernel/qwindowcontainer.cpp:342
#11 0x00007f899e86780f in QWindowContainer::parentWasChanged (parent=0xdcfc50) at kernel/qwindowcontainer.cpp:372
#12 0x00007f899e86724e in qwindowcontainer_traverse (parent=parent@entry=0xd96760, callback=callback@entry=0x7f899e867660 <QWindowContainer::parentWasChanged(QWidget*)>) at kernel/qwindowcontainer.cpp:342
#13 0x00007f899e86780f in QWindowContainer::parentWasChanged (parent=0xd96760) at kernel/qwindowcontainer.cpp:372
#14 0x00007f899e86724e in qwindowcontainer_traverse (parent=parent@entry=0xb62560, callback=callback@entry=0x7f899e867660 <QWindowContainer::parentWasChanged(QWidget*)>) at kernel/qwindowcontainer.cpp:342
#15 0x00007f899e86780f in QWindowContainer::parentWasChanged (parent=0xb62560) at kernel/qwindowcontainer.cpp:372
#16 0x00007f899e86724e in qwindowcontainer_traverse (parent=parent@entry=0xc82610, callback=callback@entry=0x7f899e867660 <QWindowContainer::parentWasChanged(QWidget*)>) at kernel/qwindowcontainer.cpp:342
#17 0x00007f899e86780f in QWindowContainer::parentWasChanged (parent=parent@entry=0xc82610) at kernel/qwindowcontainer.cpp:372
#18 0x00007f899e84bf5c in QWidget::setParent (this=this@entry=0xc82610, parent=parent@entry=0xb06650, f=...) at kernel/qwidget.cpp:10589
#19 0x00007f899e84cadc in QWidget::setParent (this=this@entry=0xc82610, parent=parent@entry=0xb06650) at kernel/qwidget.cpp:10415
#20 0x00007f899e828be3 in QLayout::addChildWidget (this=this@entry=0xb0a1a0, w=w@entry=0xc82610) at kernel/qlayout.cpp:921
#21 0x00007f899e95eb66 in QMainWindowLayout::setCentralWidget (this=0xb0a1a0, widget=0xc82610) at widgets/qmainwindowlayout.cpp:2241
#22 0x00007f899e95b16c in QMainWindow::setCentralWidget (this=<optimized out>, widget=<optimized out>) at widgets/qmainwindow.cpp:653
#23 0x0000000000428b90 in MainWindow::switchFullscreen (this=this@entry=0xb06650) at /usr/src/debug/krdc-17.04.2/mainwindow.cpp:471
#24 0x000000000042e03b in MainWindow::disconnectHost (this=0xb06650) at /usr/src/debug/krdc-17.04.2/mainwindow.cpp:580
#25 0x000000000042f915 in MainWindow::qt_static_metacall (_o=0xb06650, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/krdc-17.04.2/build/moc_mainwindow.cpp:212
#26 0x00007f899cf957d1 in QMetaObject::activate (sender=sender@entry=0xdb63e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3730
#27 0x00007f899cf963d7 in QMetaObject::activate (sender=sender@entry=0xdb63e0, m=m@entry=0x7f899fb9e9a0 <RemoteView::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3595
#28 0x00007f899f995723 in RemoteView::disconnected (this=this@entry=0xdb63e0) at /usr/src/debug/krdc-17.04.2/build/core/moc_remoteview.cpp:329
#29 0x00007f897dccdae9 in RdpView::connectionClosed (this=0xdb63e0, closeType=<optimized out>) at /usr/src/debug/krdc-17.04.2/rdp/rdpview.cpp:411
#30 0x00007f899cf957d1 in QMetaObject::activate (sender=sender@entry=0xdd11d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd925b3e80) at kernel/qobject.cpp:3730
#31 0x00007f899cf963d7 in QMetaObject::activate (sender=sender@entry=0xdd11d0, m=m@entry=0x7f899d3acfe0 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd925b3e80) at kernel/qobject.cpp:3595
#32 0x00007f899ceaa9af in QProcess::finished (this=this@entry=0xdd11d0, _t1=9, _t2=QProcess::CrashExit) at .moc/moc_qprocess.cpp:332
#33 0x00007f899cead8b3 in QProcessPrivate::_q_processDied (this=this@entry=0xe9e580) at io/qprocess.cpp:1134
#34 0x00007f899cf083e0 in QProcessPrivate::waitForFinished (this=this@entry=0xe9e580, msecs=msecs@entry=30000) at io/qprocess_unix.cpp:923
#35 0x00007f899cead492 in QProcess::waitForFinished (this=this@entry=0xdd11d0, msecs=msecs@entry=30000) at io/qprocess.cpp:1876
#36 0x00007f899ceae002 in QProcess::~QProcess (this=0xdd11d0, __in_chrg=<optimized out>) at io/qprocess.cpp:1216
#37 0x00007f899ceae0a9 in QProcess::~QProcess (this=0xdd11d0, __in_chrg=<optimized out>) at io/qprocess.cpp:1223
#38 0x00007f899cf946c5 in QObjectPrivate::deleteChildren (this=this@entry=0xe8a570) at kernel/qobject.cpp:1963
#39 0x00007f899cf9dc7e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1034
#40 0x00007f899d4c0a99 in QWindow::~QWindow (this=0xe25e90, __in_chrg=<optimized out>) at kernel/qwindow.cpp:209
#41 0x00007f899cf946c5 in QObjectPrivate::deleteChildren (this=this@entry=0xe03e90) at kernel/qobject.cpp:1963
#42 0x00007f899cf9dc7e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1034
#43 0x00007f899e862439 in QWidgetWindow::~QWidgetWindow (this=0xd9f970, __in_chrg=<optimized out>) at kernel/qwidgetwindow.cpp:132
#44 0x00007f899e83339b in QWidgetPrivate::deleteTLSysExtra (this=this@entry=0xd85450) at kernel/qwidget.cpp:1895
#45 0x00007f899e840f70 in QWidget::destroy (this=this@entry=0xe3a560, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12299
#46 0x00007f899e840ff0 in QWidget::destroy (this=this@entry=0xdb63e0, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12293
#47 0x00007f899e840ff0 in QWidget::destroy (this=this@entry=0xdcfc50, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12293
#48 0x00007f899e840ff0 in QWidget::destroy (this=this@entry=0xd96760, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12293
#49 0x00007f899e840ff0 in QWidget::destroy (this=this@entry=0xb62560, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12293
#50 0x00007f899e840ff0 in QWidget::destroy (this=this@entry=0xc82610, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12293
#51 0x00007f899e840ff0 in QWidget::destroy (this=this@entry=0xdbc020, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12293
#52 0x00007f899e840ff0 in QWidget::destroy (this=0xb06650, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12293
#53 0x00007f899e807144 in QApplication::~QApplication (this=0x7ffd925b48c0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:844
#54 0x0000000000418b91 in main (argc=1, argv=<optimized out>) at /usr/src/debug/krdc-17.04.2/main.cpp:46

Reported using DrKonqi
Comment 1 Oleg 2020-08-04 12:51:35 UTC
Created attachment 130626 [details]
New crash information added by DrKonqi

krdc (20.04.1) using Qt 5.14.2

- What I was doing when the application crashed:
Closing app from the system tray leads to application crash.

-- Backtrace (Reduced):
#4  0x00007fe3789d1b04 in QWindow::parent() const () from /lib64/libQt5Gui.so.5
#5  0x00007fe37918bb9c in QWindowContainer::parentWasMoved(QWidget*) () from /lib64/libQt5Widgets.so.5
#6  0x00007fe37918b618 in qwindowcontainer_traverse(QWidget*, void (*)(QWidget*)) () from /lib64/libQt5Widgets.so.5
#7  0x00007fe37918b618 in qwindowcontainer_traverse(QWidget*, void (*)(QWidget*)) () from /lib64/libQt5Widgets.so.5
#8  0x00007fe37918b618 in qwindowcontainer_traverse(QWidget*, void (*)(QWidget*)) () from /lib64/libQt5Widgets.so.5
Comment 2 Shawn Starr 2021-03-05 15:56:52 UTC
Created attachment 136399 [details]
New crash information added by DrKonqi

krdc (20.12.2) using Qt 5.15.2

- What I was doing when the application crashed:

Tried to close KRDC from system tray, crashed

-- Backtrace (Reduced):
#4  0x00007f7f1127e354 in QWindow::parent() const () from /lib64/libQt5Gui.so.5
#5  0x00007f7f11adefcc in QWindowContainer::parentWasMoved(QWidget*) () from /lib64/libQt5Widgets.so.5
#6  0x00007f7f11adea58 in qwindowcontainer_traverse(QWidget*, void (*)(QWidget*)) () from /lib64/libQt5Widgets.so.5
#7  0x00007f7f11adea58 in qwindowcontainer_traverse(QWidget*, void (*)(QWidget*)) () from /lib64/libQt5Widgets.so.5
#8  0x00007f7f11adea58 in qwindowcontainer_traverse(QWidget*, void (*)(QWidget*)) () from /lib64/libQt5Widgets.so.5
Comment 3 Krzysztof Cybulski 2023-02-22 06:15:19 UTC
Created attachment 156587 [details]
New crash information added by DrKonqi

krdc (22.12.2) using Qt 5.15.8

The problem persists in Plasma 5.27 and QT 5.15.8

-- Backtrace (Reduced):
#4  QWindow::parent (this=0x0) at kernel/qwindow.cpp:702
#5  0x00007f8f3dfcd61c in QWindowContainer::parentWasMoved (parent=0x55d04afa58d0) at kernel/qwindowcontainer.cpp:418
#6  0x00007f8f3dfcd0a8 in qwindowcontainer_traverse (parent=<optimized out>, callback=0x7f8f3dfcd5d0 <QWindowContainer::parentWasMoved(QWidget*)>) at kernel/qwindowcontainer.cpp:381
#7  0x00007f8f3dfcd0a8 in qwindowcontainer_traverse (parent=<optimized out>, callback=0x7f8f3dfcd5d0 <QWindowContainer::parentWasMoved(QWidget*)>) at kernel/qwindowcontainer.cpp:381
#8  0x00007f8f3dfcd0a8 in qwindowcontainer_traverse (parent=<optimized out>, callback=0x7f8f3dfcd5d0 <QWindowContainer::parentWasMoved(QWidget*)>) at kernel/qwindowcontainer.cpp:381