An exception "cannot dereference end map/set iterator" in polygon_arbitrary_formation.hpp
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- computer-graphics
Research direction
Inspect polygon_arbitrary_formation.hpp at lines 1687 and 1754, starting with the while loop and the iterator used after it. Reproduce Polygon Set Data Object get(output) on a complex polygon and trace the iterator state. Done means the operation no longer dereferences an end map/set iterator; no test file is mentioned in the issue.
Written by the indexing model from the issue text.
Description
While using Polygon Set Data Object void get(output_container& output) to get fractures of a complex polygon, line#1754 in polygon_arbitrary_formation.hpp caused the exception. The exception happened since line#1687 in polygon_arbitrary_formation.hpp. In line#1687, it increases value of "iter" to get out "while" loop . After the while loop, value of "iter" is null which is used in line#1754 to cause the exception happened.
- Dominant language
- C++
- Stars
- 70
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/polygon
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in boostorg/polygon
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·