inseven / opolua

A compiled-OPL interpreter for iOS written in Lua
https://opolua.org
MIT License
12 stars 0 forks source link

Crash with missing call stack when browsing through directories #191

Closed jbmorley closed 2 years ago

jbmorley commented 2 years ago
Screenshot 2022-02-11 at 11 18 16

Perhaps something in our Lua code is failing to handle an error?

tomsci commented 2 years ago

I've checked through func recognize(path:) and func getFileInfo(path:) and they look fine in terms of error handling. I'm more inclined to think this might be a threading issue where this OpoInterpreter instance is being used by multiple threads concurrently?

jbmorley commented 2 years ago

I don't believe we're sharing the interpreter between threads anymore but I'll keep an eye open for that.

jbmorley commented 2 years ago

I don't think I've ever seen this on device. Perhaps it's some weird simulator bug? I would feel deeply uncomfortable with that explanation, but the lack of on-device repro is nudging me towards pushing it out into Future.

jbmorley commented 2 years ago

Pushing this into Future; we can bring it back if we get a repro.

jbmorley commented 2 years ago

Closing as invalid. I've not seen this issues on target. We can always re-open or raise a new issue if we see this again.