Skip to content

[G2] The game crashes when using quick load while a dialogue is active #956

Description

@k3nsei

Describe the bug
The game crashes when attempting to load an existing save game while being in an active dialogue with Xardas.

I discovered this accidentally after starting a new game and skipping the initial cinematics. After the game started, I entered the dialogue with Xardas. While the dialogue was active, I tried to load one of my existing save games (using quick load F9), and the game crashed.

The crash seems to occur specifically when quick loading a save game while a dialogue is currently active.

Steps to reproduce:

  1. Start a new game in Gothic 2: Night of the Raven.
  2. Skip the initial cinematics.
  3. Start the dialogue with Xardas.
  4. While the dialogue is still active, quick load existing save with F9 key.
  5. The game crashes.

Save-game/Log-file/Screenshots/Video
Not needed

Application log
log.txt

OpenGothic v1.0.3756
unreacognized commandline option: "--rt"
unreacognized commandline option: "1"
Switching music provider to 'OpenGothic'
GPU = NVIDIA GeForce RTX 4090
Depth format = Depth32F Shadow format = Depth16
[zenkit] Parsing object [MeshAndBsp % 0 0]
[zenkit] Parsing chunk c000
[zenkit] Parsing chunk c010
[zenkit] Parsing chunk c040
[zenkit] Parsing chunk c045
[zenkit] Parsing chunk c050
[zenkit] Parsing chunk c0ff
[zenkit] 1 bytes remaining in section b020
[zenkit] Parsing object [VobTree % 0 0]
[zenkit] Parsing object [WayNet % 0 0]
[zenkit] Parsing object [EndMarker % 0 0]
invalid particle system: "INVISIBLE_VOBBOX.3DS"
unable to load sound fx: ENV_NIGHT_TONSOFINSECTS
unable to load sound fx: OW_BIRD11
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
addNpc: 11069 (MIL_302_TORWACHE) has invalid spawnpoint (NW_CITY_ENTRANCE_01)
addNpc: 11071 (MIL_303_TORWACHE) has invalid spawnpoint (NW_CITY_ENTRANCE_01)
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] Unexpected value for MdsEventType: "		"
[zenkit] 4 bytes remaining in section f5a3
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] 1 bytes overflowed in section f590
[zenkit] Accessing member "C_NPC.AIVAR" without an instance set
[zenkit] Accessing member "C_NPC.AIVAR" without an instance set
[zenkit] Accessing member "C_NPC.AIVAR" without an instance set
not implemented call [mdl_applyrandomani]
not implemented call [mdl_applyrandomanifreq]

crash.log

---crashlog(SIGSEGV)---
GPU: NVIDIA GeForce RTX 4090
0x00007ff66b96a526: dbg::call_stack<64u>::collect(unsigned int) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b789055: CrashLog::dumpStack(char const*, char const*) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b789539: signalHandler(int) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b935b42: _gnu_exception_handler in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ffe7b51f963: _C_specific_handler in C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffe7b56479f: _chkstk in C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffe7b445e97: RtlLocateExtendedFeature in C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffe7b5640de: KiUserExceptionDispatcher in C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ff66b74314d: VisualObjects::startMMAnim(unsigned long long, std::basic_string_view<char, std::char_traits<char> >, float, unsigned long long) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b74339e: VisualObjects::Item::startMMAnim(std::basic_string_view<char, std::char_traits<char> >, float, unsigned long long) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b719e46: MeshObjects::Mesh::startMMAnim(std::basic_string_view<char, std::char_traits<char> >, float, unsigned long long) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b6da0be: MdlVisual::stopDlgAnim(Npc&) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b772646: DialogMenu::close() in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b7726ae: DialogMenu::onWorldChanged() in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b6be3b7: Gothic::implStartLoadSave(std::basic_string_view<char, std::char_traits<char> >, bool, std::function<std::unique_ptr<GameSession, std::default_delete<GameSession> > (std::unique_ptr<GameSession, std::default_delete<GameSession> >&&)>) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b6be77d: Gothic::startLoad(std::basic_string_view<char, std::char_traits<char> >, std::function<std::unique_ptr<GameSession, std::default_delete<GameSession> > (std::unique_ptr<GameSession, std::default_delete<GameSession> >&&)>) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b74767d: MainWindow::loadGame(std::basic_string_view<char, std::char_traits<char> >) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b9c351f: Tempest::Signal<void (std::basic_string_view<char, std::char_traits<char> >)>::TImpl<MainWindow, MainWindow, void, std::basic_string_view<char, std::char_traits<char> > >::call(void const*, std::basic_string_view<char, std::char_traits<char> >&) in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b6becad: Gothic::quickLoad() in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ffda006f618: ZN7Tempest15EventDispatcher12implShortcutERNS_6WidgetERNS_8KeyEventE in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\libTempest.dll
0x00007ffda0071e30: ZN7Tempest15EventDispatcher15dispatchKeyDownERNS_6WidgetERNS_8KeyEventEj in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\libTempest.dll
0x00007ffda006d58e: ZN7Tempest10WindowsApi14handleKeyEventEPNS_6WindowEjyx in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\libTempest.dll
0x00007ffda006d891: ZN7Tempest10WindowsApi10windowProcEPvjyx in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\libTempest.dll
0x00007ffe7ac1c396: CallWindowProcW in C:\WINDOWS\System32\USER32.dll
0x00007ffe7ac1a7ed: IsWindowUnicode in C:\WINDOWS\System32\USER32.dll
0x00007ffda006cf0b: ZN7Tempest10WindowsApi19implSetAsFullscreenEPNS_9SystemApi6WindowEb in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\libTempest.dll
0x00007ffda006d0fe: ZN7Tempest10WindowsApi8implExecERNS_9SystemApi11AppCallBackE in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\libTempest.dll
0x00007ff66ba18301: main in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b6310da: __tmainCRTStartup in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ff66b631436: WinMainCRTStartup in C:\Users\nmr\Downloads\opengothic_1.0.3756_win_x64\Gothic2Notr.exe
0x00007ffe7afae957: BaseThreadInitThunk in C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffe7b4aad6c: RtlUserThreadStart in C:\WINDOWS\SYSTEM32\ntdll.dll

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions