[Scummvm-tracker] [ScummVM :: Bugs] #12737: GUI: SIGSEGV when running ./scummvm with disabled translations on macOS

ScummVM :: Bugs trac at scummvm.org
Wed Jul 14 13:16:06 UTC 2021


#12737: GUI: SIGSEGV when running ./scummvm with disabled translations on macOS
---------------------+-------------------------------------------
Reporter:  dwatteau  |      Owner:  (none)
    Type:  defect    |     Status:  new
Priority:  normal    |  Component:  GUI
 Version:            |   Keywords:  sigsegv,disabled translations
    Game:            |
---------------------+-------------------------------------------
 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:

 {{{
 ./scummvm
 }}}

 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.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12737>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list