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

Crash: Access Error when slicing #8834

Closed
2 tasks done
seanmcne opened this issue Sep 9, 2022 · 4 comments
Closed
2 tasks done

Crash: Access Error when slicing #8834

seanmcne opened this issue Sep 9, 2022 · 4 comments
Labels

Comments

@seanmcne
Copy link

seanmcne commented Sep 9, 2022

Description of the bug

When I download and try to slice this 3mf file slicer reports an access error and crashes. I opened it in 2.4.x and it works fine.
https://www.printables.com/model/42873-airbus-380-800/

image

Project file & How to reproduce

When I download and try to slice this 3mf file slicer reports an access error and crashes. I opened it in 2.4.x and it works fine.
https://www.printables.com/model/42873-airbus-380-800/

I tested on the RC as well as the release version of 2.5.0.

image

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2.5.0 Release

Operating system

windows 11

Printer model

i3 mk3s+

@lukasmatena
Copy link
Collaborator

Thanks, I can confirm that it crashes in 2.5.0-beta1 but not in 2.5.0-alpha3. I managed to create a smaller 3MF to make debugging easier. I also reverted all settings to system values to make sure it is not caused by a weird combination of settings:
380_small.zip

It crashes on line size_t t_idx = area_sum_to_triangle_idx.upper_bound(t_sample)->second; in TriangleSetSampling.cpp because the area_sum_to_triangle_idx map is empty. @Godrak

@Godrak
Copy link
Contributor

Godrak commented Sep 9, 2022

Thanks for the report, I confirm that there is a bug in the decimation algorithm for visibility, when all the lines of the model are very short. Currently as a workaround, you can use simplify model tool to decimate the model to some reasonable detail level.

@seanmcne seanmcne changed the title Access Error when slicing Crash: Access Error when slicing Sep 9, 2022
@seanmcne
Copy link
Author

seanmcne commented Sep 9, 2022

I will use that as a workaround for now, thanks for the quick response!

@kubispe1
Copy link
Collaborator

In the upcoming release 2.6.0 short edge decimation algorithm is fixed, so the issue should work fine.
I am closing the issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants