[Bug 1722129] Re: WriteRest: op out of range when using JIT or JITIL

Simon Quigley tsimonq2 at ubuntu.com
Sun Nov 5 15:52:53 UTC 2017


Oh, since I didn't say it before, I uploaded it yesterday.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722129

Title:
  WriteRest: op out of range when using JIT or JITIL

Status in dolphin-emu package in Ubuntu:
  Fix Released
Status in dolphin-emu source package in Artful:
  Confirmed

Bug description:
  [Impact]
  dolphin-emu crashes when attemping to play any game. This makes the package almost unusable.

  dolphin-emu 5.0 does not function correctly when built with PIE
  enabled because the JIT compiler relies on the location of various
  code which is loaded at the wrong place if PIE is enabled. The package
  contains a DEB_BUILD_MAINT_OPTIONS option to disable PIE.
  Unfortunately dpkg from zesty contained a bug which ignores this
  option (#1576915). The bug was fixed in artful, but since dolphin-emu
  was not rebuilt in artful, the bug occurs there as well.

  [Test Case]
  Download the Jewels ROM from this page:
  http://wiibrew.org/wiki/Jewels

  Extract the download to get a ".dol" binary.

  Open dolphin-emu and attempt to run it.

  The game should start, possibly with some warnings. It should not
  print the most common PIE error: "WriteRest: op out of range".

  [Regression Potential]
  The only reverse dependency of dolphin-emu is the games-emulator metapackage.

  Applying the glibc patch may have some side effect not found during
  testing. I think this is unlikely because the patch is relatively
  simple (renaming all occurences of a few constants).

  [Other Info]
  The debdiff for artful contains a patch to fix a FTBFS with glibc 2.26 which is required to be able to rebuild dolphin-emu in artful.

  The above patch is not yet included in bionic, but I have fixed it in
  Debian in 5.0+dfsg-2 so it should be fixed there as soon as bionic
  opens for development and it's synced from Debian.

  [Original Description]
  I'm using Dolphin 5.0 on Linux. Worked great until recently, when an update apparently broke JIT support. With it enabled, the error message 'WriteRest: op out of range' <0x### uses ####>' appears and the game won't start. Using anything but JIT still works, but is obviously slower.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dolphin-emu/+bug/1722129/+subscriptions



More information about the Ubuntu-sponsors mailing list