insani-org / onscripter-insani

A branch of ONScripter by Ogapee. Focuses on portability and builds for modern Windows and macOS. Also see ONScripter-EN (https://github.com/Galladite27/ONScripter-en), which is our sister project.
http://nscripter.insani.org
GNU General Public License v2.0
36 stars 2 forks source link

Random hard crashes when playing on a UTF8 script (e.g. 0.utf) #5

Closed lightbinder closed 1 year ago

lightbinder commented 1 year ago

This is a known issue, likely related to poor memory management within onscripter mainline. Oddly enough, the binary will run if you let it crash enough times, but it will also randomly crash (which tells you it's a memory management issue). Supposedly, according to the maintainers of onscripter+, hard initializing all variables to a known zero state will solve this, but I'm doubtful.

lightbinder commented 1 year ago

Resolved with https://github.com/insani-org/onscripter-insani/commit/11ef61bb44f47e2df6b4dd0b9849c22799453942 and documented in README.md.