[Scummvm-tracker] [ScummVM :: Bugs] #11972: TINSEL: immediate SIGBUS on strict-alignment architectures

ScummVM :: Bugs trac at scummvm.org
Sun Jul 16 09:21:20 UTC 2023


#11972: TINSEL: immediate SIGBUS on strict-alignment architectures
----------------------------------------------+----------------------------
Reporter:  dwatteau                           |       Owner:  lephilousophe
    Type:  defect                             |      Status:  closed
Priority:  normal                             |   Component:  Engine:
                                              |  Tinsel
 Version:                                     |  Resolution:  fixed
Keywords:  alignment,strict-alignment,sigbus  |        Game:  Discworld
----------------------------------------------+----------------------------
Changes (by dwatteau):

 * owner:  (none) => lephilousophe
 * status:  new => closed
 * resolution:   => fixed

Comment:

 This has effectively been fixed by lephilousophe in commit
 `6a1abd09f1959b1a2123832128f85f06d0b91b54` ("COMMON: Make sure coroutine
 Process parameter is well aligned") as part of PR#5148 (which has also
 been backported to the 2.7.1 release).

 Running my Discworld games on that MIPS device (or on x86 with
 -fsanitize=alignment), I'm not seeing any memory alignment issue anymore.
 No need for the memcpy() calls I've suggested above.

 Closing this then, thanks!
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11972#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list