[open_nurbs] official package crash on windows 10

未关闭
#6,339 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
cpp

调研方向

首先,使用官方 PCL 1.15.0 软件包,按照列出的 VTK 和 OpenNI2 DLL 步骤,在 Windows 10 上复现崩溃,然后运行 pcl_bilateral_upsampling.exe。调查失败是否由全局初始化或 open_nurbs 代码中的 AVX 使用引起;完成标准是确定并修复软件包问题,或记录已确认的兼容性要求。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
C++
星标
11.2k
派生
4.7k
平均合并
6 天 13 小时
30 天内合并 PR
10

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PointCloudLibrary/pcl 的其他 Issue

查看 PointCloudLibrary/pcl 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。