Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Occasional Crash: An unexpected error occurred #5138

Open
nickmccleery opened this issue Jan 23, 2025 · 0 comments
Open

[BUG]: Occasional Crash: An unexpected error occurred #5138

nickmccleery opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@nickmccleery
Copy link

Describe the bug

A few times over the past couple of days, I've encountered an app crash that leads to the An unexpected error occurred screen.

I think this has mostly been while editing models, and certainly was in the last instance, but not 100% certain that all cases were during model/kcl editing.

Steps to Reproduce

Hopefully...:

  1. Open app.
  2. Open model.
  3. Make a 'breaking' change; make some edit high up in the feature tree/early in the kcl file.

For context, the file I was working with was close to this state at the time:

tSection = 5
tGap = 4
rBendExt = 2
rBendInt = 1.5

lPocket = 25
lKey = 80

sketch001 = startSketchOn('XZ')
  |> startProfileAt([0, tSection - rBendExt], %)
  |> yLine(-tSection + rBendExt *2, %)
  |> tangentialArcTo([rBendExt, 0], %)
  |> xLine(lKey - rBendExt, %)
  |> tangentialArcToRelative([rBendExt, rBendExt], %)
  |> yLine(tSection * 2 + tGap - (rBendExt * 2), %)
  |> tangentialArcToRelative([-rBendExt, rBendExt], %)
  |> xLine(-lKey + rBendExt * 2, %)

Expected Behavior

Rare crashes.

Screenshots and Recordings

Image

Image

Desktop OS

Windows 11 23H2

Browser

No response

Version

v0.37.0

Additional Context

No response

@nickmccleery nickmccleery added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant