Menu

#6810 ARM: Various Crashes due to buggy ARM ASM optimizations

Indiana Jones 4
open
fuzzie
None
5
2015-03-01
2015-02-25
No

Hello,

I am forwarding Debian bug report https://bugs.debian.org/779029.

It was reported that games like Beneath a Steel Sky and Indiana Jones Fate of Atlantis crash with a segfault when running Debian's ScummVM package on ARM devices. It was further claimed that the ARM asm optimizations caused these issues. The bug reporter also submitted a patch which is supposed to fix the issue.

Unfortunately I do neither possess any ARM hardware to verify this bug report nor am I able to confirm whether the patch acually works. Is this a known issue? What do you think about the patch and what are your recommendations?

Regards,

Markus

1 Attachments

Discussion

  • digitall

    digitall - 2015-02-28

    The attached patch should work. It modifies the configuration script to cleanly disable all ASM optimizations for ARM targets by commenting out the various defines.

     
  • digitall

    digitall - 2015-02-28
    • summary: ScummVM fails to work on armhf due to buggy ARM ASM optimizations --> ARM: Various Crashes due to buggy ARM ASM optimizations
    • Group: Zork Grand Inquisitor --> Indiana Jones 4
     
  • digitall

    digitall - 2015-02-28

    With the ARM ASM versions disabled, the code will use the normal C equivalents will likely be slower, but more reliable.

    I would suggest merging this patch for ARM HF targets i.e. RPi etc. The team should probably look at making the ARM ASM disabled by default and only enabled for specific older ARM targets where it is absolutely necessary.

     
  • digitall

    digitall - 2015-02-28

    fuzzie: Any POV on this?

     
  • digitall

    digitall - 2015-02-28
    • assigned_to: Alyssa Milburn
     
  • Johannes Schickel

    Hmmm. I rememeber reading about something similar in the past. Wasn't there an issue with our hand crafted ASM routines and ARM targets which used some specific Thumb instruction set or something like that?

     
  • Willem Jan Palenstijn

    Yes, but I don't think we ever got to the bottom of that.