10
« on: June 12, 2020, 03:45:13 am »
I'm doing a very small mod for piratez, something about dog training. So far, things work well, but I don't get why the ufopedia article crash. I tried to solve the issue but I don't find what's happening.
Attached the mod stub.
To reproduce the crash, try to access the new dog training bootypedia article.
if useful, here the crash info.
[11-06-2020_10-22-59] [INFO] Using software scaling routine. For best results, try an OpenGL filter.
[11-06-2020_10-23-45] [FATAL] A fatal error has occurred: Segmentation fault.
[11-06-2020_10-23-45] [FATAL] 0x5a1100 OpenXcom::CrossPlatform::stackTrace(void*)
[11-06-2020_10-23-45] [FATAL] 0x5a1f70 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[11-06-2020_10-23-45] [FATAL] 0x41c7f0 signalLogger(int)
[11-06-2020_10-23-45] [FATAL] 0x97ffe0 OpenXcom::UfopaediaStartState::think()
[11-06-2020_10-23-45] [FATAL] 0x7ffee6dfb550 _C_specific_handler
[11-06-2020_10-23-45] [FATAL] 0x7ffee6e0f6c0 _chkstk
[11-06-2020_10-23-45] [FATAL] 0x7ffee6d7c460 RtlWalkFrameChain
[11-06-2020_10-23-45] [FATAL] 0x7ffee6e0e6e0 KiUserExceptionDispatcher
[11-06-2020_10-23-45] [FATAL] 0x677ab0 OpenXcom::Surface::blitNShade(OpenXcom::SurfaceRaw<unsigned char>, int, int, int, bool, int) const
[11-06-2020_10-23-45] [FATAL] 0x943bc0 OpenXcom::ArticleStateTextImage::ArticleStateTextImage(OpenXcom::ArticleDefinitionTextImage*, std::shared_ptr<OpenXcom::ArticleCommonState>)
[11-06-2020_10-23-45] [FATAL] 0x97ca60 OpenXcom::Ufopaedia::createArticleState(std::shared_ptr<OpenXcom::ArticleCommonState>)
[11-06-2020_10-23-45] [FATAL] 0x97d560 OpenXcom::Ufopaedia::openArticle(OpenXcom::Game*, OpenXcom::ArticleDefinition*)
[11-06-2020_10-23-45] [FATAL] 0x700da0 OpenXcom::TextList::mouseClick(OpenXcom::Action*, OpenXcom::State*)
[11-06-2020_10-23-45] [FATAL] 0x5bdb60 OpenXcom::InteractiveSurface::handle(OpenXcom::Action*, OpenXcom::State*)
[11-06-2020_10-23-45] [FATAL] 0x700a60 OpenXcom::TextList::handle(OpenXcom::Action*, OpenXcom::State*)
[11-06-2020_10-23-45] [FATAL] 0x674220 OpenXcom::State::handle(OpenXcom::Action*)
[11-06-2020_10-23-45] [FATAL] 0x5b9360 OpenXcom::Game::run()
[11-06-2020_10-23-45] [FATAL] 0x41c950 SDL_main
[11-06-2020_10-23-45] [FATAL] 0x981b10 console_main
[11-06-2020_10-23-45] [FATAL] 0x981c30 WinMain
[11-06-2020_10-23-45] [FATAL] ??
[11-06-2020_10-23-45] [FATAL] ??
[11-06-2020_10-23-45] [FATAL] 0x7ffee6834020 BaseThreadInitThunk
[11-06-2020_10-23-45] [FATAL] 0x7ffee6de3670 RtlUserThreadStart