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  0x00007ffff5f4e9d8 in __ieee754_pow_sse2 (x=2,
y=0.33333333333333215)
    at ../sysdeps/ieee754/dbl-64/e_pow.c:114
#1  0x00007ffff5f5dec4 in __pow (x=2, y=0.33333333333333215) 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

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

Reply via email to