WriteRest: op out of range when using JIT or JITIL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dolphin-emu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Artful |
Fix Released
|
Undecided
|
Unassigned |
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_
[Test Case]
Download the Jewels ROM from this page:
http://
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.
Changed in dolphin-emu (Ubuntu Artful): | |
status: | New → Confirmed |
Changed in dolphin-emu (Ubuntu): | |
status: | Confirmed → Fix Released |
Which Ubuntu release are you using?
Which exact version of dolphin-emu are you using? Please give the output of this command:
$ dpkg -l dolphin-emu
Also, the version numbers in the dolphin-emu about box would help.
Which game are you tring to run?