PointCloudLibrary / PointCloudLibrary/pcl

access violation reading position 0x0000000000000000

Open
#5,159 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

https://github.com/PointCloudLibrary/pcl/blob/d98313133b014553ab1b1b5b112f9aade837d55c/doc/tutorials/content/sources/narf_keypoint_extraction/narf_keypoint_extraction.cpp#L161

Hello,

I am a beginner with point cloud library and wanted to start by running some tutorials. When I tried the narf_keypoint_extraction following the steps from https://pcl.readthedocs.io/projects/tutorials/en/latest/narf_keypoint_extraction.html,I ran into an issue. The build with cmake was successful but a runtime error occured at line 161.

Error: Exception thrown at 0x00007FFF817356FD (vtkRenderingContext2D-9.0d.dll) in narf_keypoint_extraction.exe: 0xC0000005: access violation reading position 0x0000000000000000.

Exception

I read that this is due to dereferencing a null pointer but I don't understand why?

Shouldn't the tutorial work basically without any user input, as an example point cloud is generated, if no point cloud is passed by the user? Or am I forgetting something?

Any help is appreciated. Thank you!

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 with doc/tutorials/content/sources/narf_keypoint_extraction/narf_keypoint_extraction.cpp at line 161 and reproduce the runtime failure using the steps in the NARF keypoint extraction tutorial. Trace the access violation reported from vtkRenderingContext2D-9.0d.dll and verify that the tutorial completes without a null-pointer access violation.

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
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.