X2Go Bug report logs - #582
Fwd: [Bug 1133614] New: [abrt] nxagent: nxagentResolveColor(): nxagent killed by SIGFPE

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

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

Date: Mon, 25 Aug 2014 16:20:01 UTC

Severity: normal

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#582: Fwd: [Bug 1133614] New: [abrt] nxagent: nxagentResolveColor(): nxagent killed by SIGFPE
Reply-To: Orion Poplawski <orion@cora.nwra.com>, 582@bugs.x2go.org
Resent-From: Orion Poplawski <orion@cora.nwra.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 25 Aug 2014 16:20:01 +0000
Resent-Message-ID: <handler.582.B.14089834045043@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 582
X-X2Go-PR-Package: nx-libs
Received: via spool by submit@bugs.x2go.org id=B.14089834045043
          (code B); Mon, 25 Aug 2014 16:20:01 +0000
Received: (at submit) by bugs.x2go.org; 25 Aug 2014 16:16:44 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham version=3.3.2
Received: from mail.cora.nwra.com (mercury.cora.nwra.com [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 2CF325DB1B
	for <submit@bugs.x2go.org>; Mon, 25 Aug 2014 18:16:43 +0200 (CEST)
Received: from [] (barry.cora.nwra.com [])
	(authenticated bits=0)
	by mail.cora.nwra.com (8.14.4/8.14.4) with ESMTP id s7PGGf9R010841
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO)
	for <submit@bugs.x2go.org>; Mon, 25 Aug 2014 10:16:41 -0600
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cora.nwra.com;
	s=default; t=1408983401;
Message-ID: <53FB6169.5000905@cora.nwra.com>
Date: Mon, 25 Aug 2014 10:16:41 -0600
From: Orion Poplawski <orion@cora.nwra.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
MIME-Version: 1.0
To: submit@bugs.x2go.org
References: <bug-1133614-140047@bugzilla.redhat.com>
In-Reply-To: <bug-1133614-140047@bugzilla.redhat.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Package: nx-libs

Core was generated by `/usr/lib64/nx/../x2go/bin/x2goagent -extension XFIXES 
-nolisten tcp -nolisten t'.
Program terminated with signal SIGFPE, Arithmetic exception.
#0  0x000000000048bb41 in nxagentResolveColor (pRed=0xff, 
pGreen=0x7fffcb8eb4f6, pBlue=0x7fffcb8eb4f6, pVisual=0x0) at Colormap.c:504
504			   65535) / limb) >> shift) * 65535) / lim;

Thread 1 (Thread 0x7f9b2ef22780 (LWP 26422)):
#0  0x000000000048bb41 in nxagentResolveColor (pRed=0xff, 
pGreen=0x7fffcb8eb4f6, pBlue=0x7fffcb8eb4f6, pVisual=0x0) at Colormap.c:504
        shift = 8
        lim = 255
#1  0x0000000000464c7b in AllocColor (pmap=0x20ca7e0, 
pred=pred@entry=0x7fffcb8eb4f6, pgreen=pgreen@entry=0x7fffcb8eb4f6, 
pblue=pblue@entry=0x7fffcb8eb4f6, pPix=pPix@entry=0x7fffcb8eb4f8, 
client=client@entry=0) at colormap.c:820
        pixR = 0
        pixG = 8192
        pixB = 0
        entries = <optimized out>
        rgb = {red = 0, green = 0, blue = 0, pad = 0}
        class = <optimized out>
        pVisual = 0x1ee8860
        npix = <optimized out>
        ppix = <optimized out>

I don't understand with pVisual is reported to be 0x0 in 
nxagentResolveColor(), but that seems the most suspicious thing.  Also, do we 
want to disable SIGFPE?

-------- Original Message --------
Subject: [Bug 1133614] New: [abrt] nxagent: nxagentResolveColor(): nxagent 
killed by SIGFPE
Date: Mon, 25 Aug 2014 14:47:49 +0000
From: bugzilla@redhat.com
To: orion@cora.nwra.com


            Bug ID: 1133614
           Summary: [abrt] nxagent: nxagentResolveColor(): nxagent killed
                    by SIGFPE
           Product: Fedora
           Version: 20
         Component: nx-libs
          Assignee: orion@cora.nwra.com
          Reporter: Saurval@yahoo.com
        QA Contact: extras-qa@fedoraproject.org
                CC: orion@cora.nwra.com

Description of problem:
After the first connection with x2go future connections (or reconnections) to
the server often hang or cause a crash.

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        /usr/lib64/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten
tcp -nolisten tcp -dpi 72 -D -auth /home/marius/.Xauthority -geometry 1024x768
-name X2GO-marius-66-1408949736_stDKDE_dp32 :66
crash_function: nxagentResolveColor
executable:     /usr/lib64/nx/bin/nxagent
kernel:         3.15.8-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 nxagentResolveColor at Colormap.c:504
 #1 AllocColor at colormap.c:820
 #2 nxagentCreateDefaultColormap at Colormap.c:531
 #3 nxagentOpenScreen at Screen.c:1926
 #4 nxagentReconnectScreen at Screen.c:3546
 #5 nxagentReconnectSession at Reconnect.c:469
 #6 nxagentHandleConnectionChanges at Reconnect.c:827
 #7 nxagentHandleConnectionStates at Reconnect.c:218
 #8 nxagentWakeupHandler at Handlers.c:589
 #9 WakeupHandler at dixutils.c:472

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Jan 31 17:32:16 2023; 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.