segfault when starting new session

Bug #1799849 reported by Michael Chesterton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
x2goclient (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: KDE neon User Edition 5.14
Release: 18.04
(but also happens on fres install of ubuntu 18.04)

Application: x2goclient (x2goclient), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff0f2520cc0 (LWP 4264))]

Thread 4 (Thread 0x7ff0c4e36700 (LWP 4272)):
[KCrash Handler]
#6 0x00007ff0f2105f1f in ?? () from /usr/lib/x86_64-linux-gnu/libssh.so.4
#7 0x00007ff0f210720a in ?? () from /usr/lib/x86_64-linux-gnu/libssh.so.4
#8 0x00007ff0f20f1903 in ssh_channel_poll () from /usr/lib/x86_64-linux-gnu/libssh.so.4
#9 0x00005640f90836e1 in ?? ()
#10 0x00005640f9087b6f in ?? ()
#11 0x00007ff0ef672adb in QThreadPrivate::start (arg=0x5640fa26f650) at thread/qthread_unix.cpp:367
#12 0x00007ff0ef3ab6db in start_thread (arg=0x7ff0c4e36700) at pthread_create.c:463
#13 0x00007ff0eeb3388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff0d2215700 (LWP 4267)):
#0 0x00007ff0eb0527d9 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ff0eb05336b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ff0eb05354c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ff0ef89853b in QEventDispatcherGlib::processEvents (this=0x7ff0cc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4 0x00007ff0ef83c7fa in QEventLoop::exec (this=this@entry=0x7ff0d2214d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5 0x00007ff0ef667bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6 0x00007ff0e3085e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7 0x00007ff0ef672adb in QThreadPrivate::start (arg=0x7ff0e32fdd60) at thread/qthread_unix.cpp:367
#8 0x00007ff0ef3ab6db in start_thread (arg=0x7ff0d2215700) at pthread_create.c:463
#9 0x00007ff0eeb3388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff0e0135700 (LWP 4266)):
#0 0x00007ff0eeb26bf9 in __GI___poll (fds=0x7ff0e0134c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ff0ec968747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007ff0ec96a36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007ff0e3587ed9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4 0x00007ff0ef672adb in QThreadPrivate::start (arg=0x5640f9e02f70) at thread/qthread_unix.cpp:367
#5 0x00007ff0ef3ab6db in start_thread (arg=0x7ff0e0135700) at pthread_create.c:463
#6 0x00007ff0eeb3388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff0f2520cc0 (LWP 4264)):
#0 0x00007ff0ef3b19f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7ffc5008e2a8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x5640f9df8898, cond=0x7ffc5008e280) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x7ffc5008e280, mutex=0x5640f9df8898) at pthread_cond_wait.c:655
#3 0x00007ff0ec968952 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4 0x00007ff0ec96a06f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#5 0x00007ff0ec96a1ef in xcb_wait_for_reply64 () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#6 0x00007ff0f17046a8 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7 0x00007ff0f16fb092 in XQueryTree () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#8 0x00005640f901f7e4 in ?? ()
#9 0x00005640f901fb28 in ?? ()
#10 0x00005640f905812e in ?? ()
#11 0x00005640f90e169c in ?? ()
#12 0x00007ff0ef86d565 in QMetaObject::activate (sender=sender@entry=0x5640f9febd10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc5008e730) at kernel/qobject.cpp:3771
#13 0x00007ff0ef86dc37 in QMetaObject::activate (sender=sender@entry=0x5640f9febd10, m=m@entry=0x7ff0efcc2da0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc5008e730) at kernel/qobject.cpp:3633
#14 0x00007ff0ef87a337 in QTimer::timeout (this=this@entry=0x5640f9febd10, _t1=...) at .moc/moc_qtimer.cpp:200
#15 0x00007ff0ef87a698 in QTimer::timerEvent (this=0x5640f9febd10, e=<optimized out>) at kernel/qtimer.cpp:255
#16 0x00007ff0ef86e08b in QObject::event (this=0x5640f9febd10, e=<optimized out>) at kernel/qobject.cpp:1273
#17 0x00007ff0f0b64e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ff0f0b6c3ef in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ff0ef83e4d8 in QCoreApplication::notifyInternal2 (receiver=0x5640f9febd10, event=event@entry=0x7ffc5008ea30) at kernel/qcoreapplication.cpp:1048
#20 0x00007ff0ef8979ae in QCoreApplication::sendEvent (event=0x7ffc5008ea30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QTimerInfoList::activateTimers (this=0x5640f9e42950) at kernel/qtimerinfo_unix.cpp:643
#22 0x00007ff0ef8981a9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#23 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#24 0x00007ff0eb053287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ff0eb0534c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ff0eb05354c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ff0ef89853b in QEventDispatcherGlib::processEvents (this=0x5640f9e41cd0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0x00007ff0e3613761 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#29 0x00007ff0ef83c7fa in QEventLoop::exec (this=this@entry=0x7ffc5008eca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#30 0x00007ff0ef8459c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#31 0x00005640f90b32f3 in ?? ()
#32 0x00005640f90dfe0d in ?? ()
#33 0x00005640f8fef4f2 in ?? ()
#34 0x00007ff0eea33b97 in __libc_start_main (main=0x5640f8fef330, argc=2, argv=0x7ffc5008efb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5008efa8) at ../csu/libc-start.c:310
#35 0x00005640f8fef5da in ?? ()

x2go-DEBUG-../src/onmainwindow.cpp:5987> "Starting NX proxy, command: nxproxy -S nx/nx,options=/home/michaelc/.x2go/S-testmichael-63-1540426656_stDgnome-session-wrapper_dp24/options:63"
x2go-DEBUG-../src/sshprocess.cpp:157> Direct tunnel: waiting for connections on "localhost":39913
x2go-DEBUG-../src/onmainwindow.cpp:6459> Proxy wrote on stderr: "\nNXPROXY - Version 3.5.99.16\n\nCopyright (c) 2001, 2011 NoMachine (http://www.nomachine.com)\nCopyright (c) 2008-2014 Oleksandr Shneyder <email address hidden>\nCopyright (c) 2014-2016 Ulrich Sibiller <email address hidden>\nCopyright (c) 2014-2016 Mihai Moldovan <email address hidden>\nCopyright (c) 2011-2016 Mike Gabriel <email address hidden>\nCopyright (c) 2015-2016 Qindel Group (http://www.qindel.com)\n\nNXCOMP, NX protocol compression and NX extensions to this software\nare copyright of the aforementioned persons and companies.\n\nRedistribution and use of the present software is allowed according\nto terms specified in the file LICENSE.nxcomp which comes in the\nsource distribution.\n\nAll rights reserved.\n\nNOTE: This software has received contributions from various other\ncontributors, only the core maintainers and supporters are listed as\ncopyright holders. Please contact us, if you feel you should be listed\nas copyright holder, as well.\n\nNX protocol compression is derived from DXPC project.\n\nCopyright (c) 1995,1996 Brian Pane\nCopyright (c) 1996,1997 Zachary Vonler and Brian Pane\nCopyright (c) 1999 Kevin Vigor and Brian Pane\nCopyright (c) 2000,2003 Gian Filippo Pinzari and Brian Pane\n\nAll rights reserved.\n\nSee https://github.com/ArcticaProject/nx-libs for more information.\n\nInfo: Proxy running in server mode with pid '4279'.\nSession: Starting session at 'Thu Oct 25 11:17:38 2018'.\nInfo: Using errors file '/home/michaelc/.x2go/S-testmichael-63-1540426656_stDgnome-session-wrapper_dp24/sessions'.\nInfo: Using stats file '/home/michaelc/.x2go/S-63/stats'.\nLoop: WARNING! Overriding auxiliary X11 port with new value '1'.\nWarning: Overriding auxiliary X11 port with new value '1'.\nInfo: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0.\nInfo: Connecting to remote host 'localhost:39913'.\nInfo: Connected to remote proxy on FD#5.\n"
x2go-DEBUG-../src/sshprocess.cpp:109> New TCP connection.
x2go-DEBUG-../src/sshprocess.cpp:114> New socket: 19
x2go-DEBUG-../src/sshmasterconnection.cpp:2066> Creating new channel.

x2go-DEBUG-../src/sshmasterconnection.cpp:2083> New channel:0x7ff0bc00d9d0

x2go-DEBUG-../src/sshmasterconnection.cpp:2089> Forwarding parameters: from remote ("localhost":38913) to local ("localhost":41452)
x2go-DEBUG-../src/sshmasterconnection.cpp:2126> Temporary session port after config file parse: 38913
x2go-DEBUG-../src/sshmasterconnection.cpp:2130> Temporary session host after config file parse: localhost
x2go-DEBUG-../src/sshmasterconnection.cpp:2160> New channel forwarded.

x2go-DEBUG-../src/onmainwindow.cpp:6459> Proxy wrote on stderr: "Loop: WARNING! Disabling NX delta compression.\nLoop: WARNING! Disabling use of NX persistent cache.\n"
x2go-DEBUG-../src/onmainwindow.cpp:6459> Proxy wrote on stderr: "Info: Connection with remote proxy completed.\nLoop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.\nWarning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.\n"
x2go-DEBUG-../src/onmainwindow.cpp:6459> Proxy wrote on stderr: "Info: Using LAN link parameters 1536/24/1/0.\nInfo: Using pack method '256k-jpeg-9' with session 'unix-kde-depth_24'.\nInfo: Not using NX delta compression.\nInfo: Not using ZLIB data compression.\nInfo: Not using ZLIB stream compression.\nInfo: Not using a persistent cache.\nInfo: Forwarding X11 connections to display ':0'.\nInfo: Forwarding auxiliary X11 connections to display ':0'.\nSession: Session started at 'Thu Oct 25 11:17:38 2018'.\n"
x2go-DEBUG-../src/onmainwindow.cpp:11462> "Searching proxy window: X2GO-testmichael-63-1540426656_stDgnome-session-wrapper_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:13074> "Searching window with title: X2GO-testmichael-63-1540426656_stDgnome-session-wrapper_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:11462> "Searching proxy window: X2GO-testmichael-63-1540426656_stDgnome-session-wrapper_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:13074> "Searching window with title: X2GO-testmichael-63-1540426656_stDgnome-session-wrapper_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:6459> Proxy wrote on stderr: "Info: Established X server connection.\n"
x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 3: "x2gobasepath"
x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x5640fa2cb6d0) Running masterCon->addChannelConnection(this, '"6bef4fe0-9a3d-49ef-95ef-d3e522c26fcb"', '"bash -l -c 'echo \"X2GODATABEGIN:6bef4fe0-9a3d-49ef-95ef-d3e522c26fcb\"; export PATH=\"/usr/local/bin:/usr/bin:/bin\";export TERM=\"dumb\"; x2gobasepath; echo \"X2GODATAEND:6bef4fe0-9a3d-49ef-95ef-d3e522c26f"');
x2go-DEBUG-../src/sshmasterconnection.cpp:1874> Locking SSH channel connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1876> Passing new channel connection object to channelConnections.
x2go-DEBUG-../src/sshmasterconnection.cpp:1878> Unlocking SSH channel connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:2066> Creating new channel.

x2go-DEBUG-../src/sshmasterconnection.cpp:2083> New channel:0x7ff0bc059080

x2go-DEBUG-../src/sshmasterconnection.cpp:2168> Executing remote: "bash -l -c 'echo \"X2GODATABEGIN:6bef4fe0-9a3d-49ef-95ef-d3e522c26fcb\"; export PATH=\"/usr/local/bin:/usr/bin:/bin\";export TERM=\"dumb\"; x2gobasepath; echo \"X2GODATAEND:6bef4fe0-9a3d-49ef-95ef-d3e522c26fcb\";'"

x2go-DEBUG-../src/onmainwindow.cpp:11462> "Searching proxy window: X2GO-testmichael-63-1540426656_stDgnome-session-wrapper_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:13074> "Searching window with title: X2GO-testmichael-63-1540426656_stDgnome-session-wrapper_dp24"
x2go-DEBUG-../src/sshmasterconnection.cpp:2191> New exec channel created.

QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
QSocketNotifier: Invalid socket 21 and type 'Read', disabling...
QSocketNotifier: Invalid socket 27 and type 'Read', disabling...
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = x2goclient path = /usr/bin pid = 4264
KCrash: Arguments: /usr/bin/x2goclient --debug
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1098200003/kdeinit5__0
x2go-DEBUG-../src/onmainwindow.cpp:11462> "Searching proxy window: X2GO-testmichael-63-1540426656_stDgnome-session-wrapper_dp24"
x2go-DEBUG-../src/onmainwindow.cpp:13074> "Searching window with title: X2GO-testmichael-63-1540426656_stDgnome-session-wrapper_dp24"

[1]+ Stopped x2goclient --debug
[michaelc@hammer ~]$ QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in x2goclient (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.