3 ms·
You have a stack dump, which means you will get all the information if you symbolicate your crash report. Xcode can do it for you automatically, but some manual
by mojuba 2y ago
You have a stack dump, which means you will get all the information if you symbolicate your crash report. Xcode can do it for you automatically, but some manual methods also exist.
- robotresearcher 2y agoIndeed the error report being complained about explains this and tells you how to fix it. Maybe the friendly default would be to have the symbolicated reports on, but perhaps this has performance impact so it’s off.
- kergonath 2y ago> Maybe the friendly default would be to have the symbolicated reports on As a comment just below says, the solution is quite simple: > ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it
- alain_gilbert 2y agoHere is the output with the environment variable set. https://pastebin.com/8M9Dbrgj https://pastebin.com/8M9Dbrgj This doesn't provide anything useful either.
- robotresearcher 2y agoOuch, and yuk. I stand corrected!
- brailsafe 2y agoSeems like there's an architecture error or something, the last line indicates you might have an error with the flag: > zsh: illegal hardware instruction LLVM_SYMBOLIZER_PATH=/usr/local/opt/llvm/bin/llvm-symbolizer swift main.swift
- alain_gilbert 2y agothat's not related to the symbolizer thing. It seems to just be part of the "index out of range" crash. I get the same thing without using the symbolizer. zsh: illegal hardware instruction swift main.swift
- deleted 2y ago[deleted]