Skip to content

Hangs when drawing a path #244

Open
Open
@Fenyx4

Description

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp.Drawing
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

I had a bug in my code that set some (admittedly unreasonable) paths but when running it appears to get stuck and run forever in FixupIntersectionOrder.

Steps to Reproduce

I made a small project that reproduces it https://github.com/Fenyx4/SixLaborsHang
Probably could be made even smaller but I recreated the exact instance I ran into.

System Configuration

  • ImageSharp.Drawing version: 1.0.0-beta15 (and 1.0.0-beta13)
  • Other ImageSharp packages and versions:
    Fonts 1.0.0-beta18
    ImageSharp 2.1.3
  • Environment (Operating system, version and so on):
    Windows 10
  • .NET Framework version:
    3.1
  • Additional information:
    Visual Studio 2022 - 17.3.2

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions