Page 1 of 1

Crash when save

Posted: 06 Dec 2018, 16:01
by dlshcbmuipmam
Following the overhaul guide in https://modding-openmw.com, I built a heavily modded openmw (using the master branch source). Unfortunately, whenever I tried to save the game at the outdoor area of Balmora, the game crashes (things pretty well other than that). Does anyone have any idea on how to fix this? Is this caused by a specific mod? Or it is because of some memory issues?

By the way, do you guys have any suggested way to debug such a crash in Win10?

Re: Crash when save

Posted: 06 Dec 2018, 16:07
by akortunov

Re: Crash when save

Posted: 06 Dec 2018, 17:06
by psi29a
Living dangerously, you are. ;)

Never build from master, unless you can help us debug the problem. :)

If you would like to test mods, please use a release. If you are going to build from source, then build from a tagged release.

Re: Crash when save

Posted: 07 Dec 2018, 01:11
by dlshcbmuipmam
Thank you, seems like it is the problem.

Re: Crash when save

Posted: 07 Dec 2018, 01:23
by dlshcbmuipmam
psi29a wrote:
06 Dec 2018, 17:06
Living dangerously, you are. ;)

Never build from master, unless you can help us debug the problem. :)

If you would like to test mods, please use a release. If you are going to build from source, then build from a tagged release.
Well, I have seen that recast navigation has not been merged in any tagged release, that's why I would like to try the master. Perhaps I should revert to an earlier commit.

Actually, I am kind of learning proper C++ programming by open source game. I wouldn't mind having bugs when playing openmw, but I have no idea on how to debug this kind of crash in Win10 (at least, in Linux, I can check the core dump file by gdb.)

Re: Crash when save

Posted: 07 Dec 2018, 09:25
by psi29a
I know it is asking a lot, but you can always use virtualbox with 3d passthrough (works both ways, linux with win and win with linux). It's how I first managed to update the wiki on how to get openmw building with msvc2015.

If you go the windows route, then get familiar with MSVC. It is a very good IDE and can get you far. I'm sure other windows developers here would be happy to assist you.

The bug you are running into is a known issue, it was something that needed fixing but has triggered other areas. I think it is best that we move forward with a proper fix and not revert which would just obscure the issue.

For the time being, do a git checkout of openmw-45 branch, that is our latest release (to-be) branch. It is pre-recast navigation however.