Package: noiz2sa
Version: 0.51a-10.1
Link: packages.debian.org/sid/noiz2sa

Hello,

I recently installed (manually) the latest noiz2sa package on my Fedora 24, and 
kept getting game crash.

The output message as below:
     $ Segmentation fault (core dumped)
  
This happens every time after playing the game for about 1-3mins (idling at 
title screen wouldn't crash the game).

Then I decided to compile the same package's source see if there's a change. 
After the compiling, the crash bug still presented. Since I also have another 
game (rrootage) from the same author, and it's more updated with varies 
patches, I took a look at the codes. Finally found a patch from rrootage 
(packages.debian.org/sid/rrootage) that seems fixed the bug (have been playing 
for over 30mins without a crash). 

The fix is to replace Line 79 inside "rrootage-0.23a/src/foecommand.cc" file:

      foe->d = (int)(d*DIV/360);

with:

      foe->d = (int)(d*DIV/360) & (DIV-1);

The related patch info of above fix can be found in rrootage source package 
(rrootage_0.23a-12.debian.tar.xz), called "10_deg_out_of_range.patch".

Hope above information helps identify the problem. 
(I'm not a programmer, probably mistook a few things.)

I am running Fedora release 24 (Twenty Four), Kernel 4.8.6-201.fc24.x86_64, and 
libc6 2.23.

Regards,
Xiang

Reply via email to