X2Go Bug report logs - #639
Segmentation fault in nxagent

version graph

Package: nx-libs; Maintainer for nx-libs is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Orion Poplawski <orion@cora.nwra.com>

Date: Sun, 12 Oct 2014 14:15:01 UTC

Severity: normal

Found in version 3.5.0.27

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Sun, 12 Oct 2014 14:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Orion Poplawski <orion@cora.nwra.com>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 12 Oct 2014 14:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.x2go.org (full text, mbox):

From: Orion Poplawski <orion@cora.nwra.com>
To: submit@bugs.x2go.org
Subject: Segmentation fault in nxagent
Date: Sun, 12 Oct 2014 08:13:25 -0600
Package: nx-libs
Version: 3.5.0.27

Saw this crash on attempted resume of session:

Oct 10 16:52:30 kolea systemd-logind: New session 1452 of user leka.
Oct 10 16:52:30 kolea systemd: Starting Session 1452 of user leka.
Oct 10 16:52:30 kolea systemd: Started Session 1452 of user leka.
Oct 10 16:52:32 kolea /usr/bin/x2goresume-session: x2goresume-session 
called with options: leka-50-1412399182_stDKDE_dp24 800x600 adsl 
16m-jpeg-9 us pc105/us 1
Oct 10 16:52:33 kolea /usr/bin/x2gofeature: x2gofeature called with 
options: X2GO_RUN_EXTENSIONS
Oct 10 16:52:33 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Oct 10 16:52:33 kolea /usr/bin/x2goserver-run-extensions: 
x2goserver-run-extensions called with options: 
leka-50-1412399182_stDKDE_dp24 pre-resume
Oct 10 16:52:34 kolea su: (to leka) root on none
Oct 10 16:52:34 kolea systemd: Starting Session c51 of user leka.
Oct 10 16:52:34 kolea systemd: Started Session c51 of user leka.
Oct 10 16:52:34 kolea /usr/bin/x2goresume-session: client 10.10.10.1 has 
successfully resumed session with ID leka-50-1412399182_stDKDE_dp24
Oct 10 16:52:34 kolea su: (to leka) root on none
Oct 10 16:52:34 kolea systemd: Starting Session c52 of user leka.
Oct 10 16:52:34 kolea systemd: Started Session c52 of user leka.
Oct 10 16:52:34 kolea /usr/bin/x2gofeature: x2gofeature called with 
options: X2GO_DESKTOPSHARING
Oct 10 16:52:35 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_DESKTOPSHARING
Oct 10 16:52:35 kolea /usr/bin/x2gosuspend-session: x2gosuspend-session 
called with options: leka-50-1412399182_stDKDE_dp24
Oct 10 16:52:35 kolea /usr/share/x2go/x2gofeature.d/x2goserver.features: 
x2goserver.features called with options: X2GO_DESKTOPSHARING
Oct 10 16:52:35 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: 
x2goserver-fmbindings.features called with options: X2GO_DESKTOPSHARING
Oct 10 16:52:35 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: 
x2goserver-xsession.features called with options: X2GO_DESKTOPSHARING
Oct 10 16:52:35 kolea /usr/bin/x2gofeature: x2gofeature called with 
options: X2GO_RUN_EXTENSIONS
Oct 10 16:52:35 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Oct 10 16:52:36 kolea /usr/bin/x2gofeature: x2gofeature called with 
options: X2GO_DESKTOPSHARING
Oct 10 16:52:36 kolea /usr/bin/x2goserver-run-extensions: 
x2goserver-run-extensions called with options: 
leka-50-1412399182_stDKDE_dp24 post-resume
Oct 10 16:52:36 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_DESKTOPSHARING
Oct 10 16:52:36 kolea /usr/share/x2go/x2gofeature.d/x2goserver.features: 
x2goserver.features called with options: X2GO_DESKTOPSHARING
Oct 10 16:52:36 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: 
x2goserver-fmbindings.features called with options: X2GO_DESKTOPSHARING
Oct 10 16:52:36 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: 
x2goserver-xsession.features called with options: X2GO_DESKTOPSHARING
Oct 10 16:52:36 kolea /usr/bin/x2gofeature: x2gofeature called with 
options: X2GO_RUN_EXTENSIONS
Oct 10 16:52:36 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Oct 10 16:52:36 kolea /usr/bin/x2goserver-run-extensions: 
x2goserver-run-extensions called with options: 
leka-50-1412399182_stDKDE_dp24 pre-suspend
Oct 10 16:52:36 kolea /usr/bin/x2goumount-session[25504]: 
x2goumount-session has been called with options: 
leka-50-1412399182_stDKDE_dp24
Oct 10 16:52:37 kolea /usr/bin/x2gosuspend-session: session with ID 
leka-50-1412399182_stDKDE_dp24 has been suspended successfully
Oct 10 16:52:37 kolea /usr/bin/x2gofeature: x2gofeature called with 
options: X2GO_RUN_EXTENSIONS
Oct 10 16:52:37 kolea 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Oct 10 16:52:37 kolea /usr/bin/x2goserver-run-extensions: 
x2goserver-run-extensions called with options: 
leka-50-1412399182_stDKDE_dp24 post-suspend
Oct 10 16:52:38 kolea kernel: [628115.748811] x2goagent[4472]: segfault 
at 0 ip 00007fbb3daa9e6d sp 00007ffffe069638 error 4 in 
libc-2.18.so[7fbb3da16000+1b4000]
Oct 10 16:52:38 kolea kernel: x2goagent[4472]: segfault at 0 ip 
00007fbb3daa9e6d sp 00007ffffe069638 error 4 in 
libc-2.18.so[7fbb3da16000+1b4000]

Looks like we're trying to write out a null pointer:

Core was generated by `/usr/lib64/nx/../x2go/bin/x2goagent -extension 
XFIXES -nolisten tcp -nolisten t'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fbb3daa9e6d in __memcpy_sse2_unaligned () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install 
glibc-2.18-16.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 
libXau-1.0.8-2.fc20.x86_64 libXcursor-devel-1.1.14-2.fc20.x86_64 
libXfixes-5.0.1-2.fc20.x86_64 libXrender-0.9.8-2.fc20.x86_64 
libgcc-4.8.3-7.fc20.x86_64 libjpeg-turbo-1.3.1-2.fc20.x86_64 
libpng-1.6.6-3.fc20.x86_64 libstdc++-4.8.3-7.fc20.x86_64 
libxcb-1.9.1-3.fc20.x86_64 libxml2-2.9.1-2.fc20.x86_64 
sssd-client-1.11.7-2.fc20.x86_64 xz-libs-5.1.2-12alpha.fc20.x86_64 
zlib-1.2.8-3.fc20.x86_64
(gdb) bt
#0  0x00007fbb3daa9e6d in __memcpy_sse2_unaligned () from /lib64/libc.so.6
#1  0x00007fbb3d3261d0 in std::basic_streambuf<char, 
std::char_traits<char> >::xsputn(char const*, long) () from 
/lib64/libstdc++.so.6
#2  0x00007fbb3d31c9f2 in std::ostream::write(char const*, long) () from 
/lib64/libstdc++.so.6
#3  0x00007fbb3f5ddb23 in PutData (fs=fs@entry=0x346e780, 
buffer=<optimized out>, size=size@entry=16) at Misc.cpp:633
#4  0x00007fbb3f5fa3e2 in MessageStore::saveStore (this=0x6bd7b00, 
cachefs=cachefs@entry=0x346e780, 
md5StateStream=md5StateStream@entry=0x52d2740,
    md5StateClient=md5StateClient@entry=0x774c1e0, 
checksumAction=checksumAction@entry=use_checksum, 
dataAction=dataAction@entry=discard_data, bigEndian=0)
    at Message.cpp:1782
#5  0x00007fbb3f601422 in ClientStore::saveRequestStores 
(this=0x15fc000, cachefs=cachefs@entry=0x346e780, 
md5StateStream=md5StateStream@entry=0x52d2740,
    md5StateClient=md5StateClient@entry=0x774c1e0, 
checksumAction=checksumAction@entry=use_checksum, 
dataAction=dataAction@entry=discard_data) at ClientStore.cpp:166
#6  0x00007fbb3f5ff108 in ClientProxy::handleSaveAllStores 
(this=0x2fffd30, cachefs=0x346e780, md5StateStream=0x52d2740, 
md5StateClient=0x774c1e0)
    at ClientProxy.cpp:500
#7  0x00007fbb3f5f07bc in Proxy::handleSaveAllStores 
(this=this@entry=0x2fffd30, savePath=<optimized out>) at Proxy.cpp:5193
#8  0x00007fbb3f5f0d4f in Proxy::handleSaveStores 
(this=this@entry=0x2fffd30) at Proxy.cpp:4232
#9  0x00007fbb3f5ffafc in ClientProxy::handleSave (this=0x2fffd30) at 
ClientProxy.cpp:412
#10 0x00007fbb3f5ce653 in NXTransExecute (resultFDs=0x7ffffe069b7c, 
errorFDs=<optimized out>, setFDs=<optimized out>, 
readSet=0x7ffffe069b90, writeSet=0x7ffffe069c10,
    selectTs=<optimized out>) at Loop.cpp:14818
#11 0x00007fbb3f5d7d5a in NXTransContinue 
(selectTs=selectTs@entry=0x7ffffe069ce0) at Loop.cpp:1650
#12 0x00007fbb3f5d7ebd in WaitCleanup () at Loop.cpp:4729
#13 NXTransDestroy (fd=fd@entry=-1) at Loop.cpp:1581
#14 0x000000000048e8f7 in nxagentWaitDisplay () at Display.c:2767
#15 0x00000000004b8249 in nxagentDisconnectSession () at Reconnect.c:362
#16 0x00000000004b8a8c in nxagentHandleConnectionChanges () at 
Reconnect.c:820
#17 0x00000000004b8c60 in nxagentHandleConnectionStates () at 
Reconnect.c:218
#18 0x000000000049b905 in nxagentWakeupHandler (data=<optimized out>, 
count=-1, mask=0xacb760 <LastSelectMask>) at Handlers.c:589
#19 0x000000000046a33b in WakeupHandler (result=result@entry=-1, 
pReadmask=pReadmask@entry=0xacb760 <LastSelectMask>) at dixutils.c:472
#20 0x0000000000473ca2 in WaitForSomething 
(pClientsReady=pClientsReady@entry=0x7ffffe06a040) at WaitFor.c:389
#21 0x0000000000445c1a in Dispatch () at X/NXdispatch.c:619
#22 0x0000000000429455 in main (argc=15, argv=0x7ffffe06a668, 
envp=<optimized out>) at main.c:450
(gdb) up 3
#3  0x00007fbb3f5ddb23 in PutData (fs=fs@entry=0x346e780, 
buffer=<optimized out>, size=size@entry=16) at Misc.cpp:633
633       fs -> write((char *) buffer, size);
(gdb) up
#4  0x00007fbb3f5fa3e2 in MessageStore::saveStore (this=0x6bd7b00, 
cachefs=cachefs@entry=0x346e780, 
md5StateStream=md5StateStream@entry=0x52d2740,
    md5StateClient=md5StateClient@entry=0x774c1e0, 
checksumAction=checksumAction@entry=use_checksum, 
dataAction=dataAction@entry=discard_data, bigEndian=0)
    at Message.cpp:1782
1782            if (PutData(cachefs, message -> md5_digest_, MD5_LENGTH) 
< 0)
(gdb) print message
$1 = (Message *) 0x367a5b0
(gdb) print message->md5_digest
There is no member or method named md5_digest.
(gdb) print message->md5_digest_
$2 = (md5_byte_t *) 0x0

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Fri, 17 Oct 2014 08:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ulrich Sibiller <u.sibiller@science-computing.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 17 Oct 2014 08:55:02 GMT) Full text and rfc822 format available.

Message #10 received at 639@bugs.x2go.org (full text, mbox):

From: Ulrich Sibiller <u.sibiller@science-computing.de>
To: Orion Poplawski <orion@cora.nwra.com>, 639@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#639: Segmentation fault in nxagent
Date: Fri, 17 Oct 2014 10:44:57 +0200
Am 12.10.2014 16:13, schrieb Orion Poplawski:
> Package: nx-libs
> Version: 3.5.0.27
>
> Saw this crash on attempted resume of session:
>

You have had 3 different crashes at the same time. Generally nx runs quite stable so this is very 
remarkable. I'd suggest to check RAM and/or your CPU(s) as a first step.

Uli

-- 
Vorstandsvorsitzender/Chairman of the board of management:
Gerd-Lothar Leonhart
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Michael Heinrichs, Dr. Arno Steitz
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Fri, 17 Oct 2014 15:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Orion Poplawski <orion@cora.nwra.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 17 Oct 2014 15:15:02 GMT) Full text and rfc822 format available.

Message #15 received at 639@bugs.x2go.org (full text, mbox):

From: Orion Poplawski <orion@cora.nwra.com>
To: Ulrich Sibiller <u.sibiller@science-computing.de>, 639@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#639: Segmentation fault in nxagent
Date: Fri, 17 Oct 2014 09:11:43 -0600
On 10/17/2014 02:44 AM, Ulrich Sibiller wrote:
> Am 12.10.2014 16:13, schrieb Orion Poplawski:
>> Package: nx-libs
>> Version: 3.5.0.27
>>
>> Saw this crash on attempted resume of session:
>>
> 
> You have had 3 different crashes at the same time. Generally nx runs quite
> stable so this is very remarkable. I'd suggest to check RAM and/or your CPU(s)
> as a first step.
> 
> Uli
> 

A RAM check was done quite recently on this machine with no issues found.
There are some pretty clear null pointer issues in some of the backtraces.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                   http://www.nwra.com


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Sun, 18 Oct 2015 00:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "County Court" <ian.franks@finitelinkconsult.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 18 Oct 2015 00:30:02 GMT) Full text and rfc822 format available.

Message #20 received at 639@bugs.x2go.org (full text, mbox):

From: "County Court" <ian.franks@finitelinkconsult.com>
To: 639@bugs.x2go.org
Subject: Notice to Appear
Date: Sat, 17 Oct 2015 19:01:13 -0500
[Message part 1 (text/plain, inline)]
Notice to Appear,

This is to inform you to appear in the Court on the October 25 for your case hearing.
You are kindly asked to prepare and bring the documents relating to the case to Court on the specified date.
Note: The case will be heard by the judge in your absence if you do not come.

The Court Notice is attached to this email.

Sincerely,
Ian Franks,
Court Secretary.

[Notice_to_Appear_00574467.zip (application/zip, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Sun, 01 Nov 2015 09:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Interfax Online" <incoming@interfax.net>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 01 Nov 2015 09:45:02 GMT) Full text and rfc822 format available.

Message #25 received at 639@bugs.x2go.org (full text, mbox):

From: "Interfax Online" <incoming@interfax.net>
To: 639@bugs.x2go.org
Subject: You have received a new fax, document 0000139338
Date: Sun, 1 Nov 2015 20:23:01 +1100
[Message part 1 (text/plain, inline)]
New incoming fax document.

Please check your fax document in the attachment to this e-mail.

From:                 Cody Bridges
Scanned in:           43 seconds
Quality:              400 DPI
Scan date:            Sat, 31 Oct 2015 18:03:19 +0300
Number of pages:      4
Document name:        scan_0000139338.doc
Filesize:             227 Kb

Thanks for using Interfax service!

[scan_0000139338.zip (application/zip, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Mon, 27 Feb 2017 02:20:02 GMT) Full text and rfc822 format available.

Message #28 received at 639@bugs.x2go.org (full text, mbox):

From: CGI-Mailer <cgi-mailer@kundenserver.de>
To: 639@bugs.x2go.org
Subject: Delivery problem, parcel UPS #006340881
Date: Mon, 27 Feb 2017 02:56:15 +0100
[Message part 1 (text/plain, inline)]
Dear Customer,

Your parcel was successfully delivered February 25 to UPS Station, but our courier cound not contact you.

Please check delivery label attached!

With gratitude,
Wesley Davenport,
UPS Office Clerk.

[UPS-Parcel-ID-006340881.zip (application/zip, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Sat, 04 Mar 2017 00:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ww1.admin@nutramaxlabs.info:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sat, 04 Mar 2017 00:50:02 GMT) Full text and rfc822 format available.

Message #33 received at 639@bugs.x2go.org (full text, mbox):

From: ww1.admin@nutramaxlabs.info
To: 639@bugs.x2go.org
Subject: Status of your UPS delivery ID:09315611
Date: Sat, 4 Mar 2017 00:45:47 +0000
[Message part 1 (text/plain, inline)]
Dear Customer,

Your item has arrived at March 01, but our courier was not able to deliver the parcel.

Please check delivery label attached!

Respectfully,
Sam Davenport,
UPS Senior Station Manager.

[UPS-Package-09315611.zip (application/zip, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Thu, 01 Jun 2017 20:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to woxox@upl.upltournament.com:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 01 Jun 2017 20:05:01 GMT) Full text and rfc822 format available.

Message #38 received at 639@bugs.x2go.org (full text, mbox):

From: woxox@upl.upltournament.com
To: 639@bugs.x2go.org
Subject: Courier was not able to deliver your parcel (ID008753063, UPS)
Date: Thu, 1 Jun 2017 16:00:03 -0400
[Message part 1 (text/plain, inline)]
Dear Customer,

We can not deliver your parcel arrived at May 31.

Review the document that is attached to this e-mail!

Yours truly,
 ,
UPS Senior Support Manager.

[UPS-Delivery-008753063.doc.html (text/html, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#639; Package nx-libs. (Thu, 06 Jul 2017 16:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to algorix@d9a6e962.vps.io-servers.net:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 06 Jul 2017 16:30:02 GMT) Full text and rfc822 format available.

Message #43 received at 639@bugs.x2go.org (full text, mbox):

From: algorix@d9a6e962.vps.io-servers.net
To: 639@bugs.x2go.org
Subject: New status of your UPS delivery (code: 03747183)
Date: Thu, 6 Jul 2017 11:47:55 -0400
[Message part 1 (text/plain, inline)]
Dear Customer,

Your parcel was successfully delivered July 02 to UPS Station, but our courier cound not contact you.

Download postal receipt attached to e-mail!

Thank you,
 ,
UPS Delivery Manager.

[UPS-Delivery-Details-03747183.zip (application/zip, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Dec 11 06:46:28 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.