Page 1 of 1

Blind effect and partial magicka resist causes crashes

Posted: 16 Mar 2020, 19:20
by Jemolk
Been doing some testing, and it seems there's a rather serious problem in the latest nightlies (running Linux Mint 19.3). I don't have a GitLab account to create a bug report, and would rather not have to make one to keep track of it, plus posting on the forums may help other players identify the problem.

The bug itself appears rather straightforward, though -- if the player is hit with a Blind effect and has a Resist Magicka effect total of more than 0 but less than 100%, the game crashes. Not quite literally every time, but a good 90% of the time, I'd say. This happens regardless of the source of the effects. My testing thus far has consisted firstly of my current character (a Breton) being affected by a blind spell from enemies (crashed every time), using a scripted spell that has blind on self as one of its effects (crashes almost every time), and equipping the Boots of Blinding Speed without using other resist effects to get to 100% first (crashes every time). I also created a Dunmer for testing purposes. The Boots of Blinding Speed on the Dunmer do not cause the game to crash. However, when I first equipped the Savior's Hide, and then the Boots of Blinding Speed, the game segfaulted immediately. My current, though admittedly uninformed, hypothesis on why the scripted spell, which brings up the spellmaking menu, doesn't always cause the game to crash, is that it sometimes processes things in such a way that the problematic segment of code gets skipped due to the forcible pause from the appearance of the menu.

Here's my crash log as well, while we're at it, in case that helps people narrow the problem down further.
openmw-crash.log
(42.12 KiB) Downloaded 116 times

Re: Blind effect and partial magicka resist causes crashes

Posted: 16 Mar 2020, 19:34
by Capostrophic
Non-reproducible for me on either my own builds or the latest (generic) nightly. Using Fedora 30.

The crash log isn't very informative. The function that crashes hasn't really been touched since like 0.42.0.

Re: Blind effect and partial magicka resist causes crashes

Posted: 16 Mar 2020, 19:36
by Jemolk
Capostrophic wrote: 16 Mar 2020, 19:34 Non-reproducible for me on either my own builds or the latest (generic) nightly. Using Fedora 30.

The crash log isn't very informative. The function that crashes hasn't really been touched since like 0.42.0.
Unfortunate. I wasn't sure if the crash log would be useful, but I figured I'd try posting it anyway. Maybe it's related to a mod that changes the Blind effect. I'll test that now.

Re: Blind effect and partial magicka resist causes crashes

Posted: 16 Mar 2020, 20:55
by Jemolk
It appears to be related to the mod Magic Diversity Complete (https://www.nexusmods.com/morrowind/mods/43380). How, exactly, I'm not sure. Maybe related is that I've been running OpenMW on my laptop recently due to my desktop having hardware issues playing games. Or perhaps one of the files related to the Blind effect is badly formatted or some such for OpenMW. Probably solveable just by reverting the Blind effect changes, but what precisely the issue is, I'm not sure. If someone can change the thread title, though, that'd be good.

Re: Blind effect and partial magicka resist causes crashes

Posted: 17 Mar 2020, 05:51
by akortunov
Judging by log, crash happens somewhere in the UI rendering code (osgMyGUI::Drawable::drawImplementation), so it is not really related to Blind effect al all.

Re: Blind effect and partial magicka resist causes crashes

Posted: 22 Mar 2020, 19:17
by Jemolk
Probably trying to render more than my laptop is capable of doing at once or something, then. That effect was just what reliably triggered it. Feel free to (in fact, please do) change the title to something more accurate.

Re: Blind effect and partial magicka resist causes crashes

Posted: 27 Mar 2020, 16:54
by playe
I had the exact same crash with the boots, and I was able to fix it by moving everything in Magic Diversity that was related to blind to a backup folder. So I'm positive the culprit is the Magic Diversity mod.