Bug#799586: dosbox: DOSBox quits after starting some games e.g. Screamer Rally

2016-10-09 Thread Sven Arvidsson
retitle 799586 Screamer Rally, HOMM2: segfault in __ieee754_pow_sse2
tags 799586 patch
thanks

Hi,

Both Screamer Rally and Heroes Of Might And Magic II segfault at the
same point:

#0  0x75f4e9d8 in __ieee754_pow_sse2 (x=2,
y=0.33215)
at ../sysdeps/ieee754/dbl-64/e_pow.c:114
#1  0x75f5dec4 in __pow (x=2, y=0.33215) at
w_pow.c:27

In HOMM2 it happens at the end of a turn. Presumably other titles are
affected too.

This seems to be a regression, and current svn of Dosbox does indeed
work fine.

I did a reverse svn-bisect to find the commit that fixed this and
found https://sourceforge.net/p/dosbox/code-0/3674

That commit mentions OSX, but applying it to the Debian package does
fix the problem, so I guess 64-bit Linux uses the same code path?

I'm not sure if only backporting this single fix is worth it, as it
looks like other things have regressed too (the opengl renderer) so
maybe an update to current svn is in order?

HTH,

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se

signature.asc
Description: This is a digitally signed message part


Bug#799586: dosbox: DOSBox quits after starting some games e.g. Screamer Rally

2015-09-20 Thread Steve
Package: dosbox
Version: 0.74-4+b1
Severity: important
Tags: upstream

Debian Stretch
DOSBox 0.74-4+b1

DOSBox will quit shortly after Screamer Rally starts.
This was an upstream regression bug. The bug appeared about a year ago and
Screamer Rally ran fine before that. I think there is mention somewhere on
SourceForge about this bug and it has been fixed.
I have built DOSBox from source (3927) without issue.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages dosbox depends on:
ii  libasound21.0.29-1
ii  libc6 2.19-20
ii  libgcc1   1:5.2.1-17
ii  libgl1-mesa-glx [libgl1]  10.6.3-1
ii  libpng12-01.2.50-2+b2
ii  libsdl-net1.2 1.2.8-4
ii  libsdl-sound1.2   1.0.3-7+b1
ii  libsdl1.2debian   1.2.15-11
ii  libstdc++65.2.1-17
ii  libx11-6  2:1.6.3-1
ii  zlib1g1:1.2.8.dfsg-2+b1

dosbox recommends no packages.

dosbox suggests no packages.

-- no debconf information