Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.2.10f1

Issue ID

1097906

Regression

No

Crash on abort when calling 3rd party function inside using statement

Mono

-

How to reproduce:
1. Open the "Crash_Excel.zip" project
2. Open the "SampleScene.unity" scene
3. Press Play

Actual result Unity crashes.

Reproducible with 2019.1.0a12, 2018.3.0f1, 2018.2.19f1, 2018.1.9f2.

Notes:
Unity crashes without any stack trace in the editor log file, but I was able to debug the stack trace from a manually created dump file.
The crash happens at "using (var reader = ExcelReaderFactory.CreateReader(stream))", Script.cs: 36.
The crash is not reproducible if CreateReader() function is called outside of using().

  1. Resolution Note (2019.2.X):

    Please use .NET 4.5 and .NET Standard 2.0 version of ExcelDataReader. The .NET 2.0 version causes a crash due to dependency on SharpZipLib, and the version of SharpZipLib shipping with Mono is incompatible with the version ExcelDataReader is built against.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.