[open_nurbs] official package crash on windows 10

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

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

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.

Description

kind: bug status: triage

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.

Dominant language
C++
Stars
11.2k
Forks
4.7k
Avg merge
6d 13h
Merged PRs (30d)
10

Getting set up

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.

More from PointCloudLibrary/pcl

All issues in PointCloudLibrary/pcl

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.