PointCloudLibrary / PointCloudLibrary/pcl
[open_nurbs] official package crash on windows 10
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
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
Your Environment (please complete the following information):
- OS: windows10
- Compiler: official prebuilt
- PCL Version 1.15.0
Possible Solution
-
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. -
root cause is: old cpu not support AVX, but prebuilt open nurbs code with AVX
Additional context
windows 11 run correctly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash on Windows 10 with the official PCL 1.15.0 package, following the listed VTK and OpenNI2 DLL steps, then run pcl_bilateral_upsampling.exe. Investigate whether the failure is caused by global initialization or AVX usage in the open_nurbs code; done means identifying and fixing the package failure, or documenting the confirmed compatibility requirement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100