Troubleshooting/Blam: Difference between revisions

m
linked to IanPatt patch
m (Mac OS X -> macOS)
m (linked to IanPatt patch)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{UpdatedForOniX|1.0.0}}
{{fmbox
  | text = The [[Daodan DLL]] and [[OniX]] solve the most common causes of crashes in Windows, and the [[FERAL|Intel build]] of the Mac app implements many fixes as well. But if you are still encountering crashes while using the most stable Oni available for your system, read on: chances are that your crash is documented below.
  }}
[[Image:Blam!.png|right]]
[[Image:Blam!.png|right]]
"Blam!" is a Bungie phrase coined by Robt McLees ([http://marathon.bungie.org/story/blam.html source]), and it makes an appearance in Oni in the form of an error message following a fatal error. The actual error dialog only appears in Windows, but some of the problems below will crash the Mac Oni app too. This article is a little bit technical, so it's important to point out first that the '''[[Daodan DLL]]''' solves the most common causes of crashes in Windows, and the [[AE:FERAL|Intel build]] of the Mac app also has many fixes implemented. But if those patches don't help, read on.
"Blam!" is a [[Blam (meme)|recurring phrase in Bungie lore]] with violent or otherwise impactful connotations. The Oni community mainly uses "blam" to refer to a crash of the Oni app, because of the dialog that pops up on such occasions. The actual "damn!"/"Blam, Oni crashed" dialog only appears for Windows builds, but the Mac Oni app can crash too, for more or less the same reasons, hence the general use of "blam" for whenever Oni runs into trouble and suddenly quits.


===Blam at startup===
===Blam at startup===
This problem has been traced to the overflow of a particular text buffer -- the one that lists the OpenGL extensions in the '''startup.txt''' file.
This crash, the most notorious of Oni problems, has been traced to the overflow of a particular text buffer which is responsible for storing a list of available OpenGL extensions. When Oni was made, the OpenGL extension list dump was much shorter, and the developers did not allow for a larger dump. Modern graphics cards almost always overflow this buffer.
If your version of Oni just crashed on startup, take a look at that file (it's in your [[Oni (folder)|Oni folder]]). At the end, there should be a rather big list of available OpenGL extensions. If the list cuts off abruptly, that means that startup failed during its writing.


When Oni was written, the OpenGL extension list dump was much shorter, and the developers did not allow for a larger dump. Modern graphics cards almost always cause this overflow.
If your version of Oni just crashed on startup, take a look at '''startup.txt''' (it's in your [[Oni (folder)|Oni folder]]). After a successful run of Oni, there should be a rather big list of OpenGL extensions towards the end of this file. If the list cuts off abruptly or the last line in the file starts with "OpenGL version =", it means that startup failed due to this buffer overflow.


This bug is fixed with the Daodan DLL in Windows, and in the Intel and patched PPC builds in macOS.
This bug is fixed with the Daodan DLL in Windows, and fixed in macOS by the Intel and patched PPC builds. If for some reason you want to fix it manually yourself, you could apply [[IanPatt|Ian's patch]].


Below are other causes of crashes, though none of them should affect someone who is playing Oni in a normal way.
Below are other causes of crashes, though none of them should affect someone who is playing Oni in a normal way.