Skip to content

Crash with -scrns 2 #402

@uli42

Description

@uli42

Using nxagent -scrns 2 produces an immediate crash:

NXAGENT - Version 3.5.99.4

Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com)
Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Copyright (c) 2014-2016 Ulrich Sibiller <uli42@gmx.de>
Copyright (c) 2014-2016 Mihai Moldovan <ionic@ionic.de>
Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com)
See https://github.com/ArcticaProject/nx-libs for more information.

Info: Agent running with pid '14011'.
Session: Starting session at 'Tue Mar 21 21:41:54 2017'.
Info: Using alpha channel in render extension.
Info: Not using local device configuration changes.

Program received signal SIGSEGV, Segmentation fault.
init_visuals (rootDepth=0, pdepth=0x84e505, ndepth=0, defaultVisp=0x7fffffffd6b4, visualp=0x7fffffffd6b8, nvisualp=0x7fffffffd6a8)
    at xf86glx.c:363
363	        numNewVisuals +=
(gdb) bt
#0  init_visuals (rootDepth=0, pdepth=0x84e505, ndepth=0, defaultVisp=0x7fffffffd6b4, visualp=0x7fffffffd6b8, nvisualp=0x7fffffffd6a8)
    at xf86glx.c:363
#1  __MESA_initVisuals (visualp=0x7fffffffd6b8, depthp=<optimized out>, nvisualp=0x7fffffffd6a8, ndepthp=<optimized out>, 
    rootDepthp=<optimized out>, defaultVisp=0x7fffffffd6b4, sizes=2147483648, bitsPerRGB=8) at xf86glx.c:539
#2  0x00000000004422e3 in GlxInitVisuals (visualp=0x7fffffffd6b8, depthp=0x7fffffffd6c0, nvisualp=0x7fffffffd6a8, ndepthp=0x7fffffffd6ac, 
    rootDepthp=0x7fffffffd6b0, defaultVisp=0x7fffffffd6b4, sizes=2147483648, bitsPerRGB=8, preferredVis=-1) at ../../GL/glx/glxext.c:318
#3  0x00000000004e9354 in fbInitVisuals (visualp=visualp@entry=0x7fffffffd6b8, depthp=depthp@entry=0x7fffffffd6c0, 
    nvisualp=nvisualp@entry=0x7fffffffd6a8, ndepthp=ndepthp@entry=0x7fffffffd6ac, rootDepthp=rootDepthp@entry=0x7fffffffd6b0, 
    defaultVisp=defaultVisp@entry=0x7fffffffd6b4, sizes=2147483648, bitsPerRGB=8) at fbcmap.c:668
#4  0x00000000004dd1f6 in fbFinishScreenInit (bpp=32, width=7680, dpiy=75, dpix=75, ysize=1200, xsize=1920, pbits=0x7fffee18e010, 
    pScreen=0xbf4640) at fbscreen.c:229
#5  fbScreenInit (pScreen=pScreen@entry=0xbf4640, pbits=0x7fffee18e010, xsize=xsize@entry=1920, ysize=ysize@entry=1200, dpix=75, dpiy=75, 
    width=7680, bpp=32) at fbscreen.c:273
#6  0x00000000004ad040 in nxagentOpenScreen (index=<optimized out>, pScreen=<optimized out>, argc=<optimized out>, argv=0x7fffffffdac8)
    at Screen.c:1329
#7  0x0000000000468f7d in AddScreen (pfnInit=0x4ac640 <nxagentOpenScreen>, argc=argc@entry=5, argv=argv@entry=0x7fffffffdac8) at main.c:768
#8  0x00000000004a89ef in InitOutput (screenInfo=0xb783e0 <screenInfo>, argc=argc@entry=5, argv=argv@entry=0x7fffffffdac8) at Init.c:388
#9  0x000000000040ef53 in main (argc=5, argv=0x7fffffffdac8, envp=<optimized out>) at main.c:358

I doubt that -scrns ever worked. Has anyone ever used it?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions