nx-libs icon indicating copy to clipboard operation
nx-libs copied to clipboard

[abrt] nxagent: CreateScratchGC(): nxagent killed by SIGSEGV

Open opoplawski opened this issue 4 years ago • 0 comments

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

Description of problem: Attempted connection with x2goclient using "Published Application" mode resulted in Coredumped for nxagent on version 3.5.99.24. The issue is replicable on fedora 31-33 (host) when using the Published Applications settings (client).

Version-Release number of selected component: nxagent-3.5.99.24-1.fc31

Additional info: reporter: libreport-2.10.1 backtrace_rating: 4 cgroup: 0::/user.slice/user-1000.slice/session-7.scope cmdline: x2goagent -nolisten tcp -nolisten tcp -dpi 110 -R -norootlessexit -auth /home/$USER/.Xauthority -geometry 1920x1080 -name X2GO-s-50-1605504918_stRPUBLISHED_dp24 :50 crash_function: CreateScratchGC executable: /usr/bin/nxagent journald_cursor: s=27464a14664843c09084dde2b549d440;i=2214;b=e270de4e7b0445e2ad005f7c9b0f107b;m=410a185c;t=5b432be9ed6c6;x=3a6056f9b84dba6a kernel: 5.3.7-301.fc31.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 1000

Truncated backtrace: Thread no. 1 (4 frames) #1 CreateScratchGC at gc.c:978 #2 nxagentCreateGraphicContext at GC.c:1400 #3 nxagentAllocateGraphicContexts at GC.c:1460 #4 InitOutput at Init.c:377

It's replicable on the current release under both F32/F33.

$ uname -r && nxagent -version && dnf info nxagent

5.8.18-200.fc32.x86_64 NXAGENT - Version 3.5.99.25 Source : nx-libs-3.5.99.25-2.fc32.src.rpm

$ # Fedora 33

5.8.18-300.fc33.x86_64 NXAGENT - Version 3.5.99.25 Source : nx-libs-3.5.99.25-2.fc33.src.rpm

Steps to Reproduce: nxagent: SIGSEGV only occurs when connecting to either 1) a single application (x2goclient setting: Web Browser, Terminal, Email Client) or 2) when using published applications mode.

It's an incredibly useful way of remoting without having to connect with a full desktop shell like XFCE, LXDE etc.

Thread 1 (Thread 0x7fc8303739c0 (LWP 6749)):
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x000055fbda2079a5 in CreateScratchGC (pScreen=0x55fbdb895010, depth=depth@entry=24) at gc.c:978
        pGC = 0x55fbdb6190c0
#2  0x000055fbda2357f0 in nxagentCreateGraphicContext (depth=24) at GC.c:1400
        nxagentGCs = 0x55fbdb8923f0
        pGC = <optimized out>
        attributes = {3683209088, 22011}
#3  0x000055fbda235a6d in nxagentAllocateGraphicContexts () at GC.c:1460
        i = <optimized out>
        depths = 0x55fbdb850b10
#4  0x000055fbda239e9f in InitOutput (scrInfo=0x55fbda60fe80 <screenInfo>, argc=16, argv=0x7ffc665f0888) at Init.c:377
        authority = <optimized out>
#5  0x000055fbda1cc652 in main (argc=16, argv=0x7ffc665f0888, envp=<optimized out>) at main.c:278
        i = <optimized out>
        xauthfile = <optimized out>
        alwaysCheckForInput = {0, 1}

opoplawski avatar Nov 17 '20 02:11 opoplawski