Search Issue Tracker

Not Reproducible



Found in


Issue ID




Editor crashes at strlen when scripts are compiled



Steps to reproduce:
1. Download 959168_repro project
2. Open 959168_repro

Results: Unity crashes when script compiling starts

Reproduced with: 2018.1.0a1, 2017.3.0b4
Not reproducible with: 2017.2.0f3, 2017.2.0a1, 2017.1.2p1
Regression introduced in: 2017.2.0a2

Note: Tested and reproduced on macOS 10.12.4 and 10.12.6. On windows 10 and windows 8.1 crash isn't reproducible.

Call Stack

#0 0x007fffdebcbb52 in strlen
#1 0x0000013a92b39f in g_strdup
#2 0x0000013a88d144 in mono_lookup_pinvoke_call
#3 0x0000013a89e4c9 in mono_marshal_get_native_wrapper
#4 0x0000013a7b029a in mono_method_to_ir
#5 0x0000013a7902c6 in mini_method_compile
#6 0x0000013a791d57 in mono_jit_compile_method_with_opt
#7 0x0000013a79185b in mono_jit_compile_method
#8 0x0000013a8c1ae0 in mono_compile_method
#9 0x0000013a802007 in mono_magic_trampoline
#10 0x000001297e5171 in (Unknown)
#11 0x0000013c465866 in ForieroEngine.MIDIUnified.Plugins.MidiINPlugin:Refresh () + 0x246 (0x13c465620 0x13c465c27) [0x13afa7660 - Unity Child Domain]
#12 0x0000013c46469c in ForieroEngine.MIDIUnified.Plugins.MidiINPlugin:Init () + 0x11c (0x13c464580 0x13c4646e7) [0x13afa7660 - Unity Child Domain]
#13 0x0000013c4643ce in MIDIEditor:<AutoInit>m__0 (<>__AnonType0`1<string>) + 0x5e (0x13c464370 0x13c464553) [0x13afa7660 - Unity Child Domain]
#14 0x0000013c4642ca in ForieroEditor.EditorDispatcher/<StartThread>c__AnonStorey1`1<object>:<>m__0 () + 0x6a (0x13c464260 0x13c4642ee) [0x13afa7660 - Unity Child Domain]
#15 0x0000013bd6bffa in (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0xfa (0x13bd6bf00 0x13bd6c12d) [0x13afa7660 - Unity Child Domain]
#16 0x0000013a794456 in mono_jit_runtime_invoke
#17 0x0000013a8c02d6 in mono_runtime_invoke
#18 0x0000013a8c5052 in mono_runtime_delegate_invoke
#19 0x0000013a8ebd8c in start_wrapper
#20 0x0000013a91c146 in thread_start_routine
#21 0x0000013a942602 in GC_start_routine
#22 0x007fffdedae93b in _pthread_body
#23 0x007fffdedae887 in _pthread_body
#24 0x007fffdedae08d in thread_start

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.