assimp / assimp/assimp-net

Assimp import throws StackoverflowException can't be caught by try/catch in .NET env

Open
#31 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
218
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Using .NET dll (from NuGet), from time to time we are getting exception that can't be caught by try/catch. StackoverflowException is one example - https://msdn.microsoft.com/en-us/library/system.stackoverflowexception(v=vs.110).aspx You can download the mode from http://static.tf3dm.com/models/c3dc953mnm68-Colloseum-by-William.zip to repro the issue.

We also found other uncaughtable exception. Here is the details:

FatalExecutionEngineError occurred HResult=-2146233082 Message=Exception of type 'System.ExecutionEngineException' was thrown. InnerException:

http://static.tf3dm.com/models/1/b6193a6p5m2o-Glass_Sparkling_Water.rar

Can all these exceptions be handled by assimp code? In our continuous process, it would stop when this kind of exception triggered.
Thanks.
-Ethan

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with the NuGet .NET DLL and the supplied Colloseum and Glass_Sparkling_Water model downloads. Compare the StackoverflowException and FatalExecutionEngineError cases, then determine whether assimp-net can handle them; done means the continuous process no longer stops, or the limitation is documented clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.