ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
331 stars 89 forks source link

Crash at the opening of a .pws file in RC Studio #187

Closed ryzom-pipeline closed 9 years ago

ryzom-pipeline commented 9 years ago

Original report by yann k (Bitbucket: yannk2, GitHub: yannk2).


I use RC studio on a Windows XP VM on my Linux computer. I have installed a version of RC Studio compiled for me based upon. It is a Ryzom Core Studio version compiled on Aug 30 2014 14:30:27.

WHen I try to open a .pws file I am used to work on, It crashes. I enclose my log.log file, the same as in this issue : #186/plugin-problems-with-ryzom-core-studio#comment-12143333 but with more info at the end, when I try to open the .pws file

ryzom-pipeline commented 9 years ago

Original comment by yann k (Bitbucket: yannk2, GitHub: yannk2).


I forgot to say I could load this file with my previous version of OVQT, compiled on Jan 21 2014 11:56:18

ryzom-pipeline commented 9 years ago

Original comment by dfighter1985 (Bitbucket: dfighter1985, GitHub: dfighter1985).


This is indirectly my fault. I moved the NL3D widget to the core plugin. So Nel3D is initialized there. Which also means the serializable types are initialized there. In Visual Studio built binaries however plugins have their own totally separate memory spaces and they don't share statics. This means that when you try to serialize the Nel3D types, like when loading such files ( including the PS ones ) they will be invisible, so an exception is triggered.

ryzom-pipeline commented 9 years ago

Original comment by dfighter1985 (Bitbucket: dfighter1985, GitHub: dfighter1985).


OK, I have fixed it locally. https://bitbucket.org/dfighter1985/ryzomcore/commits/6b8805046de5afc59a0b7420e1111c86aa84d633 Once I am done with everything I've planned for tonight I will merge it to the main repo.