Debian Bug report logs - #779029
scummvm: fails to work on armhf, ARM ASM is buggy [PATCH]

version graph

Package: scummvm; Maintainer for scummvm is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>; Source for scummvm is src:scummvm (PTS, buildd, popcon).

Reported by: Konstantinos Margaritis <markos@freevec.org>

Date: Mon, 23 Feb 2015 12:54:02 UTC

Owned by: Markus Koschany <apo@gambaru.de>

Severity: grave

Tags: confirmed, patch

Found in version scummvm/1.7.0+dfsg-1

Fixed in version scummvm/1.7.0+dfsg-2

Done: Markus Koschany <apo@gambaru.de>

Bug is archived. No further changes may be made.

Forwarded to https://sourceforge.net/p/scummvm/bugs/6810/

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#779029; Package scummvm. (Mon, 23 Feb 2015 12:54:06 GMT) (full text, mbox, link).


Acknowledgement sent to Konstantinos Margaritis <markos@freevec.org>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Mon, 23 Feb 2015 12:54:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Konstantinos Margaritis <markos@freevec.org>
To: submit@bugs.debian.org
Subject: scummvm: fails to work on armhf, ARM ASM is buggy [PATCH]
Date: Mon, 23 Feb 2015 14:44:10 +0200
[Message part 1 (text/plain, inline)]
Package: scummvm
Version: 1.7.0+dfsg-1
Severity: grave
tags: patch

I have been trying to run old scummvm games on an old armhf system, but
it was crashing on load with a segfault.

I tried to debug the application and found that at all times, the
culprit are the arm asm optimizations. Disabling these optimizations
makes scummvm run properly on armhf, at least I was able to run both In
diana Jones and the Fate of Atlantis and Beneath a Steel Sky. I attach
a patch but it's only a suggested method, disabling arm optimizations
for all arm* platforms, in the case of Debian, both armel and armhf.

Regards

-- 
Konstantinos Margaritis
email: markos@freevec.org, markos@debian.org
blog: http://freevec.org
gpg: 3FC3 7391 FECD D3CB 5501  7121 6606 027F 6437 124C
[disable_arm_asm.patch (text/x-diff, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#779029; Package scummvm. (Wed, 25 Feb 2015 22:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to 779029@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Wed, 25 Feb 2015 22:45:05 GMT) (full text, mbox, link).


Message #10 received at 779029@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@gambaru.de>
To: Konstantinos Margaritis <markos@freevec.org>, 779029@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#779029: scummvm: fails to work on armhf, ARM ASM is buggy [PATCH]
Date: Wed, 25 Feb 2015 23:42:23 +0100
[Message part 1 (text/plain, inline)]
forwarded 779029 https://sourceforge.net/p/scummvm/bugs/6810/
thanks

On 23.02.2015 13:44, Konstantinos Margaritis wrote:
> Package: scummvm
> Version: 1.7.0+dfsg-1
> Severity: grave
> tags: patch
> 
> I have been trying to run old scummvm games on an old armhf system, but
> it was crashing on load with a segfault.
> 
> I tried to debug the application and found that at all times, the
> culprit are the arm asm optimizations. Disabling these optimizations
> makes scummvm run properly on armhf, at least I was able to run both In
> diana Jones and the Fate of Atlantis and Beneath a Steel Sky. I attach
> a patch but it's only a suggested method, disabling arm optimizations
> for all arm* platforms, in the case of Debian, both armel and armhf.
> 

Hello,

thanks for your report. Unfortunately I cannot verify this issue because
I don't currently possess any armhf hardware capable of running ScummVM.
Hence I also cannot confirm whether your patch actually solves the issue.

I have forwarded this bug report to
https://sourceforge.net/p/scummvm/bugs/6810/. Let's see what the
developers think about this and then we will be able to adjust the
severity accordingly.

Regards,

Markus


[signature.asc (application/pgp-signature, attachment)]

Set Bug forwarded-to-address to 'https://sourceforge.net/p/scummvm/bugs/6810/'. Request was from Markus Koschany <apo@gambaru.de> to control@bugs.debian.org. (Wed, 25 Feb 2015 22:45:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#779029; Package scummvm. (Fri, 27 Feb 2015 08:57:05 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Fri, 27 Feb 2015 08:57:05 GMT) (full text, mbox, link).


Message #17 received at 779029@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@debian.org>
To: Markus Koschany <apo@gambaru.de>, Konstantinos Margaritis <markos@freevec.org>, 779029@bugs.debian.org
Subject: Re: Bug#779029: scummvm: fails to work on armhf, ARM ASM is buggy [PATCH]
Date: Fri, 27 Feb 2015 00:55:09 -0800
[Message part 1 (text/plain, inline)]
On 2015-02-25, Markus Koschany wrote:
> On 23.02.2015 13:44, Konstantinos Margaritis wrote:
>> I have been trying to run old scummvm games on an old armhf system, but
>> it was crashing on load with a segfault.
>> 
>> I tried to debug the application and found that at all times, the
>> culprit are the arm asm optimizations. Disabling these optimizations
>> makes scummvm run properly on armhf, at least I was able to run both In
>> diana Jones and the Fate of Atlantis and Beneath a Steel Sky. I attach
>> a patch but it's only a suggested method, disabling arm optimizations
>> for all arm* platforms, in the case of Debian, both armel and armhf.
...
> thanks for your report. Unfortunately I cannot verify this issue because
> I don't currently possess any armhf hardware capable of running ScummVM.
> Hence I also cannot confirm whether your patch actually solves the issue.

I was able to reproduce the bug on a CuBox-i4pro running Debian armhf.

Without the patch, scummvm just showed a blank window and eventually
crashed.

With the patch applied, I was able to play "beneath-a-steel-sky", though
I didn't test it extensively... :)


live well,
  vagrant


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 3.16.0-4-armmp (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages scummvm depends on:
ii  libasound2                1.0.28-1
ii  libc6                     2.19-13
ii  libfaad2                  2.7-8
ii  libflac8                  1.3.0-3
ii  libfluidsynth1            1.1.6-2
ii  libfreetype6              2.5.2-2
ii  libgcc1                   1:4.9.1-19
ii  libgl1-mesa-glx [libgl1]  10.3.2-1
ii  libjpeg62-turbo           1:1.3.1-11
ii  libmad0                   0.15.1b-8
ii  libmpeg2-4                0.5.1-6
ii  libogg0                   1.3.2-1
ii  libpng12-0                1.2.50-2+b2
ii  libsdl1.2debian           1.2.15-10+b1
ii  libstdc++6                4.9.1-19
ii  libtheora0                1.1.1+dfsg.1-6
ii  libvorbis0a               1.3.4-2
ii  libvorbisfile3            1.3.4-2
ii  scummvm-data              1.7.0+dfsg-1.1~20150226~1
ii  zlib1g                    1:1.2.8.dfsg-2+b1

scummvm recommends no packages.

Versions of packages scummvm suggests:
ii  beneath-a-steel-sky         0.0372-5
pn  drascula                    <none>
pn  flight-of-the-amazon-queen  <none>
pn  fluidsynth | timidity       <none>
pn  lure-of-the-temptress       <none>

-- no debconf information
[signature.asc (application/pgp-signature, inline)]

Added tag(s) confirmed. Request was from Markus Koschany <apo@gambaru.de> to control@bugs.debian.org. (Sat, 28 Feb 2015 17:42:05 GMT) (full text, mbox, link).


Owner recorded as Markus Koschany <apo@gambaru.de>. Request was from Markus Koschany <apo@gambaru.de> to control@bugs.debian.org. (Sat, 28 Feb 2015 17:42:06 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Markus Koschany <apo@gambaru.de> to control@bugs.debian.org. (Sat, 28 Feb 2015 18:18:04 GMT) (full text, mbox, link).


Message sent on to Konstantinos Margaritis <markos@freevec.org>:
Bug#779029. (Sat, 28 Feb 2015 18:18:17 GMT) (full text, mbox, link).


Message #26 received at 779029-submitter@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@gambaru.de>
To: 779029-submitter@bugs.debian.org
Subject: Bug#779029 tagged as pending
Date: Sat, 28 Feb 2015 18:14:06 +0000
tag 779029 pending
--

We believe that the bug #779029 you reported has been fixed in the Git
repository. You can see the commit message below and/or inspect the
commit contents at:

    http://anonscm.debian.org/cgit/pkg-games/scummvm.git/diff/?id=78ee8c2

(This message was generated automatically by
 'git-post-receive-tag-pending-commitmsg' hook).
---
commit 78ee8c2d5fb965bd52d206989f98726902c48bf9
Author: Markus Koschany <apo@gambaru.de>
Date:   Sat Feb 28 18:46:31 2015 +0100

    Add disable-arm-asm.patch
    
    Closes: #779029
    Thanks: Konstantinos Margaritis <markos@freevec.org> for the report and patch
    and Vagrant Cascadian for further testing.



Reply sent to Markus Koschany <apo@gambaru.de>:
You have taken responsibility. (Sun, 01 Mar 2015 18:21:06 GMT) (full text, mbox, link).


Notification sent to Konstantinos Margaritis <markos@freevec.org>:
Bug acknowledged by developer. (Sun, 01 Mar 2015 18:21:06 GMT) (full text, mbox, link).


Message #31 received at 779029-close@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@gambaru.de>
To: 779029-close@bugs.debian.org
Subject: Bug#779029: fixed in scummvm 1.7.0+dfsg-2
Date: Sun, 01 Mar 2015 18:19:02 +0000
Source: scummvm
Source-Version: 1.7.0+dfsg-2

We believe that the bug you reported is fixed in the latest version of
scummvm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 779029@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@gambaru.de> (supplier of updated scummvm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 28 Feb 2015 18:50:52 +0100
Source: scummvm
Binary: scummvm scummvm-data
Architecture: source amd64 all
Version: 1.7.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@gambaru.de>
Description:
 scummvm    - engine for several graphical adventure games
 scummvm-data - engine for several graphical adventure games (data files)
Closes: 779029
Changes:
 scummvm (1.7.0+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
   * Add disable-arm-asm.patch.
     Fix a crash and segmentation fault on ARM systems by disabling asm
     optimizations.
     Thanks to Konstantinos Margaritis <markos@freevec.org> for the report
     and patch and Vagrant Cascadian for further testing.
     (Closes: #779029)
Checksums-Sha1:
 08c5adb1c0059412a0c7ab41a8f69903e366e37d 2278 scummvm_1.7.0+dfsg-2.dsc
 939843af6bbef585f52def757f6b4845f0db3612 15469580 scummvm_1.7.0+dfsg.orig.tar.xz
 598ce33a594f23bfa8b82ea23be0f36cd2912b35 15148 scummvm_1.7.0+dfsg-2.debian.tar.xz
 c5a6668a32ca2947991a752e5a3097f8cc1f65e6 6674524 scummvm_1.7.0+dfsg-2_amd64.deb
 a3f80dd28b552e55b536def7a51777db60e1e874 2291188 scummvm-data_1.7.0+dfsg-2_all.deb
Checksums-Sha256:
 0146392744ec1f71553d2ead36cd433863cfb9504670b11a8e4978cc0e2e14f8 2278 scummvm_1.7.0+dfsg-2.dsc
 9e178e87b4c56d564491e2f4b9e85c13d475a6629dc04cd04a379c90fa4fc390 15469580 scummvm_1.7.0+dfsg.orig.tar.xz
 e6a4aea04f8e4881070d198ed11dbf793ce61b7150af5e45b06edcd74a052d11 15148 scummvm_1.7.0+dfsg-2.debian.tar.xz
 9c7cb551ea25c27ef1df7ca69be05ede2b352d6db940db2feca49a55cd15a1fa 6674524 scummvm_1.7.0+dfsg-2_amd64.deb
 75eab262687b325ec4ae28e94e91485bc6d8f5dd00f133bf139f4be0181ee6b8 2291188 scummvm-data_1.7.0+dfsg-2_all.deb
Files:
 fcd2968265a064f99fc1b9bfe5f3a88c 2278 games optional scummvm_1.7.0+dfsg-2.dsc
 600fcbb58d2fb0668f8dfd8971e709df 15469580 games optional scummvm_1.7.0+dfsg.orig.tar.xz
 6d4268c2dd2a1538034f886a5cee7a6c 15148 games optional scummvm_1.7.0+dfsg-2.debian.tar.xz
 518378b2602277f05c56baf0b093e9ce 6674524 games optional scummvm_1.7.0+dfsg-2_amd64.deb
 eba610ed8ee92c3a4508a7956402c0fd 2291188 games optional scummvm-data_1.7.0+dfsg-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJU81VoAAoJEHQmOzf1tfkTJwcP+wVD4FVv8zL2kyTq5LWV1I5C
9k25/WlbbmIFvC7Isl0OGln/XuGlHyl5K/vI/y3br/wG7nnk8iIwgKshpnpR65a0
pWsCOSZrGuxWpJ92ZO6i6yAimEWk11npt6RQCtx70qDYL4p8CFRLS4/u2ohbLnTm
J1Sz8Gdi3SY+TGvfS3XrOoekdpVp/3nmId+kIozrea5huoJmZTs+WXVb/QhgkA89
SlBGTuHKqELtb/3dj2OixArbuLhp77viZXee3w8qTaoQ3CmoXS1g5whdSTrhTyLM
U62f1il281xyX82Z7uWYmDYxUo2xkq0x1vuIox9p9UqkFjDl1wvC/rFUXSxK44su
ZriGze/OrC/TeCTP/fIrgGTGZ0yGttBGhcl/tehgBbjOaIrtDbgNv0/j6euvCSkY
Uq8oQirt8+g3zO9rxbY5FH/ohDe5kn+CFAwqZ/bTpA+cWzyvKUmjzxhRUc8NvBpB
brdG4m/Vo3Qb85XRpejaNmK8qy+wlTzV1C+fd1FvfSS8dzqzCKz+WQbdFX0qaZVJ
Ds+oU8Dyqr3sQB1vb+UuZZebbc1aR7kdxlIpYHk+MiVU4hX6RB8QA+/119knwsUR
m5pUZh0Tf15l+ZvTmkAcT5ASskDrieIDlRW64f8XkOglBgVlYGhoMuMoAEtDK7L/
tZZs2ED+ldgHIn8dXRvK
=mYQ/
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 04 Apr 2015 07:27:26 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 10:58:03 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.