ID 566740 - [PUBLIC] Nuke crashes on Linux when Baking Groups from the PointCloudGenerator or PointsGenerator nodes

Follow

Problem summary:
Nuke crashes on Linux when Baking Groups from the PointCloudGenerator or PointsGenerator nodes

Customer reported version:
Nuke 14.1v1

Customer reported platform:
N/A

Steps to reproduce:
1) Download the attached bake_groups_crash.nk script, and launch NukeX on CentOS 7.
2) After loading the Nuke script, open the PointCloudGenerator node's Properties.
3) Navigate to the Groups tab, select Group1, and press the Bake Selected Groups or Bake Selected Groups to Mesh buttons:


4) Observe NukeX's performance, and the following errors that appear in the Terminal:

[1693:1693:20240213,175704.237162:ERROR process_memory_range.cc:86] read out of range[1693:1693:20240213,175704.237362:ERROR elf_image_reader.cc:606] missing nul-terminator[1693:1693:20240213,175704.239265:ERROR elf_dynamic_array_reader.h:64] tag not found...

Expected behavior:
When using the Bake Selected Groups or Bake Selected Groups to Mesh options from a PointCloudGenerator or PointsGenerator node, Nuke should remain stable.

Actual behavior:
On Linux systems, Baking Groups from a PointCloudGenerator or PointsGenerator node causes Nuke to crash.

The crash might not occur if the selected Group(s) only contain a very small number of points, but the exact number of points may vary depending on the machine. Additionally, increasing the samplesPerNode knob can sometimes prevent this crash, but doing so will necessarily produce a different mesh.

Workaround:
It is possible to use the PoissonMesh node to create a mesh from the PointCloudGenerator's points, which could then be exported with a WriteGeo node and reimported into the Node Graph.

Reproduced by Support in:
NukeX 15.0v5 - Rocky 9
NukeX 15.0v4 - Rocky 9
NukeX 14.1v5 - CentOS 7
NukeX 14.1v4 - CentOS 7 
NukeX 14.1v1 - CentOS 7 - REGRESSION
 
Unable to reproduce bug in:
NukeX 15.1v1 - Windows 11, Rocky 9, macOS 14 Sonoma
NukeX 14.1v4 - Windows 11, macOS 13 Ventura
NukeX 14.1v1 - Windows 11, macOS 13 Ventura
NukeX 14.0v6 - Windows 11, macOS 13 Ventura, CentOS 7

Earliest version tested:
NukeX 14.0v6 - This issue doesn't appear in this version and has regressed

    We're sorry to hear that

    Please tell us why