Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 738
    • Issues 738
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 201
    • Merge requests 201
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #17301

Closed
Open
Created Apr 26, 2018 by Norman Specificus@normaniusContributor

vtkIntersectionPolyDataFilter may get trapped in infinite loop - with reproducing example

Sometimes, one gets trapped in an infinite loop when using vtkIntersectionPolyDataFilter. I tested with a recent master version (commit 7c37560d). The problem is reproducible on MacOS and CentOS.

How to reproduce

See attached example: python run.py

Details

The problematic loop is in vtkIntersectionPolyDataFilter::Impl::GetSingleLoop.

If the variable nextPt is tracked, I get the following sequence: 1 4 3 2 4 3 2 4 3 2 ... [4 3 2]*infinite

I was not able to figure out the semantics of the code affected quickly enough to fix the bug myself. Instead I'm dropping this bug report.

The problem is reproducible for both closed surfaces and surfaces with holes.

example.zip

Edited Apr 26, 2018 by Norman Specificus
Assignee
Assign to
Time tracking