X2Go Bug report logs - #249
Segmentation fault in x2goclient

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Date: Sun, 23 Jun 2013 21:03:01 UTC

Severity: serious

Tags: moreinfo

Found in version 4.0.1.0

Full log


Message #24 received at 249@bugs.x2go.org (full text, mbox, reply):

Received: (at 249) by bugs.x2go.org; 9 May 2014 10:47:54 +0000
From mike.gabriel@das-netzwerkteam.de  Fri May  9 12:47:53 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E0AA75DB16
	for <249@bugs.x2go.org>; Fri,  9 May 2014 12:47:53 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id AEAC03B85;
	Fri,  9 May 2014 12:47:51 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 52DAF3BB42;
	Fri,  9 May 2014 12:47:53 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id uo4Q3KJWIsEx; Fri,  9 May 2014 12:47:53 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 122743B983;
	Fri,  9 May 2014 12:47:53 +0200 (CEST)
Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de
 [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Fri, 09 May 2014 10:47:53 +0000
Date: Fri, 09 May 2014 10:47:52 +0000
Message-ID: <20140509104752.Horde.NZmMWetqNH2s2jUJOXmkDQ6@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Axel Beckert <abe@deuxchevaux.org>, 249@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#249: Segfaults in x2goclient as well as in
 pyhoca-gui (both stable on Wheezy) when trying to connect to a nightly
 server on Ubuntu 14.04
References: <20140508180511.GH6337@sym.noone.org>
In-Reply-To: <20140508180511.GH6337@sym.noone.org>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.7)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 134.245.254.47
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101
 Firefox/29.0 Iceweasel/29.0
Content-Type: multipart/signed; boundary="=_Eo6e_lA4WkUXmfLBaFeH1w1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Axel,

I don't think that this is related to #249. (see below).

On  Do 08 Mai 2014 20:05:11 CEST, Axel Beckert wrote:

> Hi,
>
> I just installed x2goserver (4.1.0.0-0~971~ubuntu14.04.1) on Ubuntu
> 14.04 Trusty and connected to it with x2goclient
> (4.0.2.0-0x2go1+git20140410.586+wheezy.main.1) and later also with
> pyhoca-gui (0.4.0.9-0x2go1+git20140108.1126+wheezy.main.1).
>
> Both segfaulted while they worked fine when connecting to Wheezy
> servers with x2goserver stable.
>
> gdb Backtrace from pyhoca-gui:
>
> Starting program: /usr/bin/python /usr/bin/pyhoca-gui -P xtaran@bluesky
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Xlib.protocol.request.QueryExtension
> pyhoca-gui[8842] (PyHoca-GUI) WARN: the current release of  
> PyHoca-GUI does not support client configuration
> pyhoca-gui[8842] (PyHoca-GUI) NOTICE: opening default session  
> profile xtaran@bluesky
> pyhoca-gui[8842] (x2gosessregistry-pylib) NOTICE: registering X2Go  
> session xtaran@bluesky...
> pyhoca-gui[8842] (x2goclient-pylib) NOTICE: initializing X2Go session...
> pyhoca-gui[8842] (x2gocontrolsession-pylib) NOTICE: connecting to  
> [bluesky]:22
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000004d3e9d in ?? ()
> (gdb) bt
> #0  0x00000000004d3e9d in ?? ()
> #1  0x00000000004f3482 in PyErr_WarnEx ()
> #2  0x00007fffe78b5b84 in ?? () from  
> /usr/lib/python2.7/dist-packages/gobject/_gobject.so
> #3  0x00007ffff11fb473 in g_logv () from  
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #4  0x00007ffff11fb622 in g_log () from  
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #5  0x00007ffff16c5b6f in g_signal_handler_disconnect () from  
> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> #6  0x00007fffe5ab14d0 in ?? () from  
> /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-uim.so
> #7  0x00007ffff16ba638 in g_object_unref () from  
> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> #8  0x00007ffff2db1fb1 in ?? () from  
> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #9  0x00007ffff2db21e0 in ?? () from  
> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #10 0x00007ffff16ba638 in g_object_unref () from  
> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> #11 0x00007ffff3f81aa6 in wxWindow::~wxWindow() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> #12 0x00007ffff441df53 in  
> wxSplashScreenWindow::~wxSplashScreenWindow() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-2.8.so.0
> #13 0x00007ffff4049dd6 in wxWindowBase::DestroyChildren() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> #14 0x00007ffff3f81a32 in wxWindow::~wxWindow() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> #15 0x00007ffff441d5b9 in wxSplashScreen::~wxSplashScreen() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-2.8.so.0
> #16 0x00007ffff3fe0422 in wxAppBase::DeletePendingObjects() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> #17 0x00007ffff3fe05cb in wxAppBase::ProcessIdle() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> #18 0x00007ffff3f5adae in ?? () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> #19 0x00007ffff11f4355 in g_main_context_dispatch () from  
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #20 0x00007ffff11f4688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #21 0x00007ffff11f4a82 in g_main_loop_run () from  
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #22 0x00007ffff2dc7797 in gtk_main () from  
> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #23 0x00007ffff3f6e268 in wxEventLoop::Run() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> #24 0x00007ffff3fe033c in wxAppBase::MainLoop() () from  
> /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> #25 0x00007ffff5350497 in wxPyApp::MainLoop() () from  
> /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so
> #26 0x00007ffff537732c in ?? () from  
> /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so
> #27 0x00000000004ae547 in PyEval_EvalFrameEx ()
> #28 0x00000000004b1ef8 in PyEval_EvalCodeEx ()
> #29 0x00000000004b2a6c in ?? ()
> #30 0x00000000004c4894 in ?? ()
> #31 0x00000000004aab70 in PyEval_EvalFrameEx ()
> #32 0x00000000004aad10 in PyEval_EvalFrameEx ()
> #33 0x00000000004aad10 in PyEval_EvalFrameEx ()
> #34 0x00000000004b1ef8 in PyEval_EvalCodeEx ()
> #35 0x000000000053b343 in ?? ()
> #36 0x000000000044cc58 in PyRun_FileExFlags ()
> #37 0x000000000044d152 in PyRun_SimpleFileExFlags ()
> #38 0x000000000044dd42 in Py_Main ()
> #39 0x00007ffff6fb4ead in __libc_start_main (main=<optimized out>,  
> argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
>     fini=<optimized out>, rtld_fini=<optimized out>,  
> stack_end=0x7fffffffdf08) at libc-start.c:244
> #40 0x00000000004c78b9 in _start ()
>
> gdb Backtrace from x2goclient:
>
> Starting program: /usr/bin/x2goclient --session=xtaran@bluesky
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> x2go-INFO-1> "Starting x2goclient..."
> x2go-WARNING-1> "Can't load translator: :/x2goclient_en_us"
> x2go-WARNING-2> "Can't load translator: :/qt_en_US"
> x2go-INFO-3> "Started  x2goclient."
> x2go-INFO-8> "Starting connection to server: bluesky:22"
> [New Thread 0x7fffe9288700 (LWP 16089)]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff5b50b67 in QString::operator=(QString const&) () from  
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> (gdb) bt
> #0  0x00007ffff5b50b67 in QString::operator=(QString const&) () from  
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #1  0x00000000004602d0 in ?? ()
> #2  0x0000000000479486 in ?? ()
> #3  0x000000000047bd20 in ?? ()
> #4  0x00000000004e1906 in ?? ()
> #5  0x00007ffff5c1754f in QMetaObject::activate(QObject*,  
> QMetaObject const*, int, void**) () from  
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #6  0x00000000004e31e0 in ?? ()
> #7  0x00000000004b4eb2 in ?? ()
> #8  0x00000000004e33be in ?? ()
> #9  0x00007ffff5c16a2e in QObject::event(QEvent*) () from  
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #10 0x00007ffff647670c in  
> QApplicationPrivate::notify_helper(QObject*, QEvent*) () from  
> /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> #11 0x00007ffff647ab8a in QApplication::notify(QObject*, QEvent*) ()  
> from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> #12 0x00007ffff5c01b5e in QCoreApplication::notifyInternal(QObject*,  
> QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #13 0x00007ffff5c059e1 in  
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int,  
> QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #14 0x00007ffff5c300e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #15 0x00007ffff25ca355 in g_main_context_dispatch () from  
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #16 0x00007ffff25ca688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #17 0x00007ffff25ca744 in g_main_context_iteration () from  
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #18 0x00007ffff5c30276 in  
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  
> () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #19 0x00007ffff651783e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> #20 0x00007ffff5c008af in  
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()  
> from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #21 0x00007ffff5c00b38 in  
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from  
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #22 0x00007ffff5c05cf8 in QCoreApplication::exec() () from  
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #23 0x00000000004d7073 in ?? ()
> #24 0x00007ffff4d5dead in __libc_start_main (main=<optimized out>,  
> argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
>     fini=<optimized out>, rtld_fini=<optimized out>,  
> stack_end=0x7fffffffdf18) at libc-start.c:244
> #25 0x000000000041ba71 in ?? ()
> #26 0x00007fffffffdf18 in ?? ()
> #27 0x000000000000001c in ?? ()
> #28 0x0000000000000002 in ?? ()
> #29 0x00007fffffffe28c in ?? ()
> #30 0x00007fffffffe2a0 in ?? ()
> #31 0x0000000000000000 in ?? ()
>
> The segfaults on the Wheezy based clients vanished when I downgraded
> the packages on Ubuntu 14.04 from the nightly debs to the stable debs
> (i.e. x2goserver downgraded from 4.1.0.0-0~971~ubuntu14.04.1 to
> 4.0.1.15-0~847~ubuntu14.04.1)
>
> HTH.
>
> 		Kind regards, Axel

Can you please try to re-install x2goserver from the nightly builds  
and check if the issue is gone?

Two commits ago, code was added to x2goserver that requires a DB  
update. I have now added this call (x2godbadmin --updatedb) to the  
postinst script of libx2go-server-db-perl.

Regards,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Jun 25 00:19:42 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.