The nxnode process terminates unexpectedly on a Linux system with a large number of input devices
The issue occurs on a Debian 13.0 system running LXDE with the X11 display protocol. NoMachine version is 9.1.24. Investigation shows that the problem is triggered by a very large number of input devices being listed in the system.
The backtrace of the crash looks as follows:
#0 X11Poller::getOutputsCount (this=0x2247) at X11.cpp:5627
#1 0x00007fca8fa3ca09 in X11Poller::init (this=0x2247) at X11.cpp:1109
#2 0x00007fca8fa23e96 in NXShadowInit () at Shadow.cpp:335
#3 0x00007fca928a9ff0 in nxagentShadowInit () at /usr/NX/lib/libnxdiag.so
#4 0x00007fca92887aeb in nxagentShadowClientCallback () at /usr/NX/lib/libnxdiag.so
#5 0x00007fca8f5358ac in _CallCallbacks () at /usr/NX/lib/libnxdifb.so
#6 0x00007fca8f52e7bf in NextAvailableClient () at /usr/NX/lib/libnxdifb.so
#7 0x00007fca8f599710 in ??? () at /usr/NX/lib/libnxdifb.so
#8 0x00007fca8f5351cb in ProcessWorkQueue () at /usr/NX/lib/libnxdifb.so
#9 0x00007fca8f5a1af0 in WaitForSomething () at /usr/NX/lib/libnxdifb.so
#10 0x00007fca8f52ec8a in Dispatch () at /usr/NX/lib/libnxdifb.so
#11 0x00007fca8f552ca1 in dix_main () at /usr/NX/lib/libnxdifb.so
#12 0x00007fca90e7a404 in ??? () at /usr/NX/lib/libnxc.so
#13 0x00007fca9229cb7b in ??? () at /lib/x86_64-linux-gnu/libc.so.6
#14 0x00007fca9231a7b8 in ??? () at /lib/x86_64-linux-gnu/libc.so.6
SOLVED, Released in version 9.2.18 and 8.19.2
