<div dir="ltr"><pre>Package: x2goclient
Version: 4.0.3.1
Tag: patch<br><br>When the Terminate button is clicked, several seconds pass until the session is efectively terminated and the window reflects the changes.<br></pre><pre>If the botton is pressed another time, the program segfaults.<br><br></pre><pre><br></pre><b>The steps you took to produce the bug</b><br><br>Start any connection. Terminate connection with Terminate button or closing the window. Repeatedly click terminate button.<br><br><b>Any exact error messages</b><br><br>Segfault<br><br><b>What you expected to happen</b><br><br>The button should do nothing if clicked a segond time.<br><br><b>What actually happened</b><br><br>Crash<br><br><b>The client machine's OS</b><br><br>Archlinux fully updated<br><br><b>The client machine's version of X2GoClient</b><br><br>Latest version from git, also in the one in archlinux repo<br><br><b>Any relevant session settings in X2GoClient, PyHoca-GUI or Pyhoca-CLI</b><br><br>Nothing<br><br><b>The server's OS</b><br><br>Archlinux, fully updated<p>Latest stable version of the software is used in the server, from Archlinux repositories, but server software is not relevant.<br></p><pre><b>Backtrace</b><br><br>#0  0x00007ffff5b032e0 in QProcess::terminate() () from /usr/lib/libQtCore.so.4<br>#1  0x0000000000471ced in ONMainWindow::termSession (this=0xa92620, sessId=..., warn=false) at ../onmainwindow.cpp:5968<br>#2  0x00000000004698cb in ONMainWindow::slotTermSessFromSt (this=0xa92620) at ../onmainwindow.cpp:4587<br>#3  0x00000000004f43cd in ONMainWindow::qt_static_metacall (_o=0xa92620, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0x7fffffffd7d0) at moc_onmainwindow.cpp:366<br>#4  0x00007ffff5b89d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4<br>#5  0x00007ffff6a7f962 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4<br>#6  0x00007ffff67beef3 in ?? () from /usr/lib/libQtGui.so.4<br>#7  0x00007ffff67c02a4 in ?? () from /usr/lib/libQtGui.so.4<br>#8  0x00007ffff67c03b4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4<br>#9  0x00007ffff68824ba in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4<br>#10 0x00007ffff6442c08 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4<br>#11 0x00007ffff63ef9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4<br>#12 0x00007ffff63f656f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4<br>#13 0x00007ffff5b7528d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4<br>#14 0x00007ffff63f5bcf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4<br>#15 0x00007ffff646c7a2 in ?? () from /usr/lib/libQtGui.so.4<br>#16 0x00007ffff646b19c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4<br>#17 0x00007ffff64932e2 in ?? () from /usr/lib/libQtGui.so.4<br>#18 0x00007ffff1f0ea0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0<br>#19 0x00007ffff1f0ecf8 in ?? () from /usr/lib/libglib-2.0.so.0<br>#20 0x00007ffff1f0edac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0<br>#21 0x00007ffff5ba437d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4<br>#22 0x00007ffff64933a6 in ?? () from /usr/lib/libQtGui.so.4<br>#23 0x00007ffff5b73de1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4<br>#24 0x00007ffff5b74145 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4<br>#25 0x00007ffff5b796e9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4<br>#26 0x00000000004dccd6 in x2goMain (argc=1, argv=0x7fffffffe688) at ../ongetpass.cpp:108<br>#27 0x00000000004f354c in main (argc=1, argv=0x7fffffffe688) at ../x2goclient.cpp:22</pre></div>