PointCloudLibrary / PointCloudLibrary/pcl

Poisson reconstruction in parallel threads segfaults

Open
#1,845 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted kind: bug kind: todo module: surface
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

Your Environment

  • Operating System and version: Ubuntu 16.10
  • Compiler: gcc 6.2
  • PCL Version: 1.8 as packaged for Ubuntu

Expected Behavior

Two threads should be able to create two different instances of pcl::Poisson and run them on two different input clouds at the same time.

Current Behavior

Segfault

Code to Reproduce

http://pastebin.com/yJrpcpTL

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 running the linked pastebin reproduction with the reported Ubuntu 16.10, GCC 6.2, and PCL 1.8 environment. Inspect the pcl::Poisson implementation for state shared between instances or threads, then verify that two instances process separate input clouds concurrently without a segfault and preserve a regression test if the project’s test structure permits it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.