Skip to content

[open_nurbs] official package crash on windows 10 #6339

@AndrewChan2022

Description

@AndrewChan2022

Describe the bug

official package crash on windows 10

Context

run exe inside official installed package, crash

Expected behavior

the exe should run correctly

Current Behavior

pcl_bilateral_upsampling.exe crash with errror 0xc0000142

To Reproduce

step1: install official package
step2: copy vtk dll to bin
step3: install OpenNI2 and copy dll to bin
step4: run pcl_bilateral_upsampling.exe, crash with errror 0xc0000142

Screenshots/Code snippets

Image

Your Environment (please complete the following information):

  • OS: windows10
  • Compiler: official prebuilt
  • PCL Version 1.15.0

Possible Solution

  1. there are many global variable initialized before main, crash at global variable init, (diagnosed by my debugger)

    Suggesion: modify all static or global variable to delay initialzed, wrapped inside function.
    but i think this is not root cause.

  2. root cause is: old cpu not support AVX, but prebuilt open nurbs code with AVX

Image

Additional context

windows 11 run correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions