Subject: Fwd: [Bug 1133614] New: [abrt] nxagent: nxagentResolveColor(): nxagent killed by SIGFPE

From: Orion Poplawski <[email-masked]>
Date: Mon, 25 Aug 2014 10:16:41 -0600

Package: nx-libs
Version 3.5.0.27

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: [email-masked]
To: [email-masked]

https://bugzilla.redhat.com/show_bug.cgi?id=1133614

             Bug ID: 1133614
            Summary: [abrt] nxagent: nxagentResolveColor(): nxagent killed
                     by SIGFPE
            Product: Fedora
            Version: 20
          Component: nx-libs
           Assignee: [email-masked]
           Reporter: [email-masked]
         QA Contact: [email-masked]
                 CC: [email-masked]

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:
nxagent-3.5.0.27-1.fc20

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.