KhronosGroup / glTF-Validator

Tool to validate glTF assets.
Apache License 2.0
372 stars 63 forks source link

Command line validator crashes rather than reporting error #196

Closed alecjacobson closed 5 months ago

alecjacobson commented 2 years ago

crashes-validator.gltf.zip

Using glTF 2.0 Validator, version 2.0.0-dev.3.8 on MacOS this produced the crash report:

/Users/alecjacobson/Repos/skinning-mesh-animations/crashes-validator.gltf caused an uncaught runtime error:
NoSuchMethodError: The method '<optimized out>' was called on null.
Receiver: null
Tried calling: <optimized out>()
Warning: This VM has been configured to produce stack traces that violate the Dart standard.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 86563, tid: 12983726080, name DartWorker
build_id: '86eaade3daf1ae494131cc6961bcbece'
isolate_dso_base: 109977000, vm_dso_base: 109977000
isolate_instructions: 1099fabf0, vm_instructions: 1099f7000
    #00 abs 0000000109ab2046 virt 000000000013b046 _kDartIsolateSnapshotInstructions+0xb7456
    #01 abs 0000000109ab1267 virt 000000000013a267 _kDartIsolateSnapshotInstructions+0xb6677
    #02 abs 0000000109aea655 virt 0000000000173655 _kDartIsolateSnapshotInstructions+0xefa65
<asynchronous suspension>
    #03 abs 0000000109ae9931 virt 0000000000172931 _kDartIsolateSnapshotInstructions+0xeed41
<asynchronous suspension>

The web version reports errors instead

image