Crash (assert) on load file - regression? · Issue #1263 · solvespace/solvespace · GitHub
Skip to content

Crash (assert) on load file - regression? #1263

Description

@rpavlik

System information

  • SolveSpace version: git bisect says it appeared in 4655066 @phkahler (the preceding commit opens it fine)
  • Operating system: Windows 10, Debian Bullseye

Expected behavior

The attached file should open and be able to export to STL for 3d printing.
(For some reason I get a lot of debug warnings in the console and there's some red lines, making me think my model was misconstructed somehow, but I have an STL export proving it was reasonable at least once... I left only the "interesting" ones below (not magnitude 1 of zero vector)

parallel (surface intersecting line)
didn't converge (surface intersecting line)
parallel (surface intersecting line)
didn't converge (surface intersecting line)
parallel (surface intersecting line)
didn't converge (surface intersecting line)
parallel (surface intersecting line)
didn't converge (surface intersecting line)
Vector::WithMagnitude(0.0036195) of zero vector!
Vector::WithMagnitude(0.0036195) of zero vector!
bad, edge_inters=4
failed: I=42, avoid=1
print 8 edges
bad, edge_inters=4
failed: I=40, avoid=1
print 8 edges
Generate::DIRTY took 134 ms

image

Actual behavior

Crash/assertion failure:

Vector::WithMagnitude(1) of zero vector!
Vector::WithMagnitude(1) of zero vector!
File ./src/dsc.h, line 526, function FindById:
Assertion failed: t != nullptr.
Message: Cannot find handle.
Aborted

Additional information

wheel sleeve2.zip

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions