GUI: SIGSEGV when running ./scummvm with disabled translations on macOS
|Reported by:||dwatteau||Owned by:||criezy|
|Version:||Keywords:||sigsegv, disabled translations|
This is on macOS Mojave 10.14.6 (with a Retina screen).
Building from Git with the following configure options:
./configure --disable-all-engines --enable-debug --disable-translation
and then just running ScummVM this way:
gives me an immediate "Segmentation fault: 11" error, unless I stop building with --disable-translation.
Of course, if I just run it this way, most .dat files won't be found, so I fall back to the builtin theme, translations won't be found, engines requiring dat files would fail, and so on. So it's not the good way to run it, but it works for most of my quick tests, and I think that it should at least handle this use-case in a more graceful way than a SIGSEGV, here (?).
git-bisect seems to relate this to commit 65e38680dda3d631b25f01498dbc0f6fc84186cf (where there is indeed a USE_TRANSLATION ifdef).
lldb backtrace is attached.