PointCloudLibrary / PointCloudLibrary/pcl

[open_nurbs] official package crash on windows 10

Open
#6,339 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind: bug status: triage
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

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.