Opened 9 years ago

Closed 9 years ago

#9036 closed Bugs (duplicate)

polygon resize() crashes with access violation

Reported by: o0o0@… Owned by: Lucanus Simonson
Milestone: To Be Determined Component: polygon
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

On some data (attached) boost::polygon::resize crashes with access violation in release version, in debug there is an assert about invalid iterator access.

Attachments (1)

test.cpp (872 bytes ) - added by o0o0@… 9 years ago.
Sample crashes on second call to resize

Download all attachments as: .zip

Change History (6)

by o0o0@…, 9 years ago

Attachment: test.cpp added

Sample crashes on second call to resize

comment:1 by Andrii Sydorchuk, 9 years ago

Resolution: duplicate
Status: newclosed

I am marking this as duplicate of the ticket #6063.

comment:2 by o0o0@…, 9 years ago

Why on earth is it duplicate of #6063?! #6063 is about 'corner_fill_arc' = true, while in my sample 'corner_fill_arc' = false. #6063 is about some incorrect behavior, while this one is about fatal crash. Of course reason can be the same, but I think that only obvious duplicates should be marked as such in bug tracking.

comment:3 by o0o0@…, 9 years ago

Resolution: duplicate
Status: closedreopened

comment:4 by Andrii Sydorchuk, 9 years ago

The current implementation of the resize without corner_fill_arc method is wrong. I will update the documentation for the next release to make this clear. The proper implementation should be based on the straight skeleton extraction. There is no ETA for the straight skeleton implementation.

comment:5 by Andrii Sydorchuk, 9 years ago

Resolution: duplicate
Status: reopenedclosed

I've updated the title of the bug #6063, so that it matches the behavior described in this issue.
All the future updates on the status of resize behavior will be attached to bug #6063.

Note: See TracTickets for help on using tickets.