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 Loading Large STL file - iOS-Example #76

Open
kylebme opened this issue Sep 23, 2017 · 3 comments
Open

Crash Loading Large STL file - iOS-Example #76

kylebme opened this issue Sep 23, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@kylebme
Copy link

kylebme commented Sep 23, 2017

The iOS-Example program is crashing when loading one particular large STL model (26.9 MB). I don't know if it's crashing because of the size or because the mesh is wonky, but it does open in other editors, so the importer should be able to handle weird meshes without crashing.

Running on physical iPhone 6s, iOS 11.
Running version since commit (most recent at time of writing): 8d5997c

It gets EXC_BAD_ACCESS at line 583 in AssimpImporter.m

Some variables from the debugger:

(short []) scnIndices = {}
indicesCounter = 1
(unsigned int) mNumIndices = 3

BrainyWalt.stl.zip
From: https://www.thingiverse.com/thing:828

@dmsurti dmsurti self-assigned this Sep 24, 2017
@dmsurti dmsurti added the bug label Sep 24, 2017
@dmsurti
Copy link
Owner

dmsurti commented Sep 24, 2017

@beak90 Whoops! Just like other data such as vertices etc; I have to malloc this. Will be fixed in the next patch release 1.2.1.

Thanks for reporting this with a model file.

@kylebme
Copy link
Author

kylebme commented Oct 1, 2017

What's the timeline for this patch?

@dmsurti
Copy link
Owner

dmsurti commented Oct 1, 2017

3rd or 4th week of October, with Blender support and some other fixes. Thanks.

@dmsurti dmsurti mentioned this issue Oct 3, 2017
@dmsurti dmsurti added this to the v1.3.0 milestone Oct 17, 2017
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

2 participants