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

ScummVM :: Bugs trac at scummvm.org
Tue May 18 19:40:17 UTC 2021


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

 Here are some more findings…

 It appears that I can know unbreak most of the first scenes of dw-demo-cd
 if I use memcpy() to copy the *param stuff, instead of just a plain cast.

 The attached diff shows the first occurrences where I changed this. But
 there are a lot of them, and I'm not at ease with what I'm doing and the
 coroutines nearby.

 So I'm not sure I could submit a real PR fixing this. But if someone else
 wants to look into this, here's a first attempt.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11972#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list