Blind effect and partial magicka resist causes crashes

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Post Reply
User avatar
Jemolk
Posts: 226
Joined: 20 Mar 2017, 02:12
Location: Sadrith Mora

Blind effect and partial magicka resist causes crashes

Post by Jemolk » 16 Mar 2020, 19:20

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 33 times

User avatar
Capostrophic
Posts: 768
Joined: 22 Feb 2016, 20:32

Re: Blind effect and partial magicka resist causes crashes

Post by Capostrophic » 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.

User avatar
Jemolk
Posts: 226
Joined: 20 Mar 2017, 02:12
Location: Sadrith Mora

Re: Blind effect and partial magicka resist causes crashes

Post by Jemolk » 16 Mar 2020, 19:36

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.

User avatar
Jemolk
Posts: 226
Joined: 20 Mar 2017, 02:12
Location: Sadrith Mora

Re: Blind effect and partial magicka resist causes crashes

Post by Jemolk » 16 Mar 2020, 20:55

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.

User avatar
akortunov
Posts: 760
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Blind effect and partial magicka resist causes crashes

Post by akortunov » 17 Mar 2020, 05:51

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.

User avatar
Jemolk
Posts: 226
Joined: 20 Mar 2017, 02:12
Location: Sadrith Mora

Re: Blind effect and partial magicka resist causes crashes

Post by Jemolk » 22 Mar 2020, 19:17

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.

playe
Posts: 1
Joined: 27 Mar 2020, 16:49

Re: Blind effect and partial magicka resist causes crashes

Post by playe » 27 Mar 2020, 16:54

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.

Post Reply