REGoth-project / REGoth

OpenSource-Reimplementation of the zEngine, used by the game "Gothic"
GNU General Public License v3.0
629 stars 63 forks source link

Savegame crashes #150

Open tomedi opened 7 years ago

tomedi commented 7 years ago

I found out a specific pattern in regards to the savegame crashes:

markusobi commented 7 years ago

can you check whether this issue is still present on the latest master release?

tomedi commented 7 years ago

Well, yes. The first thing occurs like always, the second one let the game crash (now there is an error- message occuring).

markusobi commented 7 years ago

is this issue still present?

tomedi commented 7 years ago

Yes, it is. Issue no. 1 is apparently linked with the internal graphic card (doesn't occur when you use the dedicated), but no. 2 also occurs on the dedicated one. Here's the crashlog:

 *** Stack trace for last set context - .thread/.cxr resets it
 # ChildEBP RetAddr  
00 0600bbdc 01266eef REGoth!bx::debugBreak [c:\projects\regoth\regoth\lib\bgfx-cmake\bx\src\debug.cpp @ 30]
01 0600bbe4 01266fa7 REGoth!bgfx::CallbackStub::fatal+0xf [c:\projects\regoth\regoth\lib\bgfx-cmake\bgfx\src\bgfx.cpp @ 100]
02 0600dc00 0126405a REGoth!bgfx::fatal+0x87 [c:\projects\regoth\regoth\lib\bgfx-cmake\bgfx\src\bgfx.cpp @ 416]
03 0600dc1c 01157c94 REGoth!bgfx::destroyTexture+0x6a [c:\projects\regoth\regoth\lib\bgfx-cmake\bgfx\src\bgfx.cpp @ 3319]
04 0600dc48 010baecf REGoth!Textures::TextureAllocator::~TextureAllocator+0x54 [c:\projects\regoth\regoth\src\content\texture.cpp @ 26]
05 0600dc68 010bb1d5 REGoth!World::WorldAllocators::~WorldAllocators+0xcf
06 0600dcc8 010cf89e REGoth!World::WorldInstance::~WorldInstance+0x265 [c:\projects\regoth\regoth\src\engine\world.cpp @ 78]
07 0600dcd0 503ad0a7 REGoth!std::unique_ptr<World::WorldInstance,std::default_delete<World::WorldInstance> >::~unique_ptr<World::WorldInstance,std::default_delete<World::WorldInstance> >+0xe [c:\program files (x86)\microsoft visual studio 14.0\vc\include\memory @ 1396]
08 0600f8a4 010d120b VCRUNTIME140!_NLG_Return [f:\dd\vctools\crt\vcruntime\src\eh\i386\lowhelpr.asm @ 64]
09 0600f974 010d3bbb REGoth!<lambda_fef7125730a2c9ebb9b5dd46f6d96b6f>::operator()+0x28b [c:\projects\regoth\regoth\src\logic\savegamemanager.cpp @ 247]
0a (Inline) -------- REGoth!std::_Invoker_functor::_Call+0xb
0b (Inline) -------- REGoth!std::invoke+0xb
0c (Inline) -------- REGoth!std::_Invoke_stored_explicit+0xb
0d (Inline) -------- REGoth!std::_Invoke_stored+0xb
0e (Inline) -------- REGoth!std::_Fake_no_copy_callable_adapter<<lambda_fef7125730a2c9ebb9b5dd46f6d96b6f>,Engine::BaseEngine * &>::operator()+0xb
0f (Inline) -------- REGoth!std::_Invoker_functor::_Call+0xb
10 (Inline) -------- REGoth!std::invoke+0xb
11 (Inline) -------- REGoth!std::_Invoke_ret+0xb
12 0600f97c 010d25bc REGoth!std::_Func_impl<std::_Fake_no_copy_callable_adapter<<lambda_fef7125730a2c9ebb9b5dd46f6d96b6f>,Engine::BaseEngine * &>,std::allocator<int>,void>::_Do_call+0xb [c:\program files (x86)\microsoft visual studio 14.0\vc\include\functional @ 214]
13 (Inline) -------- REGoth!std::_Func_class<void>::operator()+0x1c
14 0600f9ac 010d3b72 REGoth!std::_Packaged_state<void __cdecl(void)>::_Call_immediate+0x4c [c:\program files (x86)\microsoft visual studio 14.0\vc\include\future @ 749]
15 (Inline) -------- REGoth!std::_Func_class<void>::operator()+0x12
16 (Inline) -------- REGoth!Concurrency::details::_MakeVoidToUnitFunc::__l2::<lambda_cab26a778e4185933e9c5b0cfaedfe5e>::operator()+0x12
17 (Inline) -------- REGoth!std::_Invoker_functor::_Call+0x12
18 (Inline) -------- REGoth!std::invoke+0x12
19 (Inline) -------- REGoth!std::_Invoke_ret+0x12
1a 0600f9b0 010cb388 REGoth!std::_Func_impl<<lambda_cab26a778e4185933e9c5b0cfaedfe5e>,std::allocator<int>,unsigned char>::_Do_call+0x12 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\functional @ 212]
1b (Inline) -------- REGoth!std::_Func_class<unsigned char>::operator()+0xf
1c 0600f9d4 010d71d4 REGoth!Concurrency::task<unsigned char>::_InitialTaskHandle<void,<lambda_68600789d64250f4c3ca7be573f14a1c>,Concurrency::details::_TypeSelectorNoAsync>::_LogWorkItemAndInvokeUserLambda<std::function<unsigned char __cdecl(void)> >+0x58 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\ppltasks.h @ 3465]
1d (Inline) -------- REGoth!Concurrency::task<unsigned char>::_InitialTaskHandle<void,<lambda_68600789d64250f4c3ca7be573f14a1c>,Concurrency::details::_TypeSelectorNoAsync>::_Init+0x30
1e (Inline) -------- REGoth!Concurrency::task<unsigned char>::_InitialTaskHandle<void,<lambda_68600789d64250f4c3ca7be573f14a1c>,Concurrency::details::_TypeSelectorNoAsync>::_Perform+0x30
1f 0600fa34 010d4df7 REGoth!Concurrency::details::_PPLTaskHandle<unsigned char,Concurrency::task<unsigned char>::_InitialTaskHandle<void,<lambda_68600789d64250f4c3ca7be573f14a1c>,Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_TaskProcHandle>::invoke+0xf4 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\ppltasks.h @ 1423]
20 0600fa50 010d2668 REGoth!Concurrency::details::_TaskProcHandle::_RunChoreBridge+0x37 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\pplwin.h @ 146]
21 0600fa70 5034c56c REGoth!Concurrency::details::_DefaultPPLTaskScheduler::_PPLTaskChore::_Callback+0x38 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\pplwin.h @ 52]
22 0600fa94 7755b96b msvcp140!Concurrency::details::`anonymous namespace'::_Task_scheduler_callback+0x5c [f:\dd\vctools\crt\crtw32\stdcpp\thr\taskscheduler.cpp @ 158]
23 0600fad4 7755aa53 ntdll!TppWorkpExecuteCallback+0x16b
24 0600fcd0 76018744 ntdll!TppWorkerThread+0x663
25 0600fce4 7758587d kernel32!BaseThreadInitThunk+0x24
26 0600fd2c 7758584d ntdll!__RtlUserThreadStart+0x2f
27 0600fd3c 00000000 ntdll!_RtlUserThreadStart+0x1b

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for nvoglv32.dll - 
*** WARNING: Unable to verify checksum for OpenAL32_RelWithDebugInfo.dll

DUMP_CLASS: 2

DUMP_QUALIFIER: 400

CONTEXT:  (.ecxr)
eax=00000000 ebx=00000000 ecx=067f2760 edx=00002000 esi=00000020 edi=0600bbfc
eip=0129a7b0 esp=0600bbe0 ebp=0600bbe4 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
REGoth!bx::debugBreak:
0129a7b0 cc              int     3
Resetting default scope

FAULTING_IP: 
REGoth!bx::debugBreak+0 [c:\projects\regoth\regoth\lib\bgfx-cmake\bx\src\debug.cpp @ 30]
0129a7b0 cc              int     3

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 0129a7b0 (REGoth!bx::debugBreak)
   ExceptionCode: 80000003 (Break instruction exception)
  ExceptionFlags: 00000000
NumberParameters: 1
   Parameter[0]: 00000000

DEFAULT_BUCKET_ID:  STATUS_BREAKPOINT

PROCESS_NAME:  REGoth.exe

ERROR_CODE: (NTSTATUS) 0x80000003 - {AUSNAHME}  Haltepunkt  Im Quellprogramm wurde ein Haltepunkt erreicht.

EXCEPTION_CODE: (HRESULT) 0x80000003 (2147483651) - Mindestens ein Argument ist ung ltig.

EXCEPTION_CODE_STR:  80000003

EXCEPTION_PARAMETER1:  00000000

WATSON_BKT_PROCSTAMP:  595fda48

WATSON_BKT_MODULE:  REGoth.exe

WATSON_BKT_MODSTAMP:  595fda48

WATSON_BKT_MODOFFSET:  25a7b0

BUILD_VERSION_STRING:  10.0.15063.296 (WinBuild.160101.0800)

MODLIST_WITH_TSCHKSUM_HASH:  74a64247d6ec001cdc31d30e19cd9e2ec5b134d4

MODLIST_SHA1_HASH:  499cd959f214a0580c0696d32666a938d633de15

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

PRODUCT_TYPE:  1

SUITE_MASK:  784

DUMP_FLAGS:  8000c07

DUMP_TYPE:  0

ANALYSIS_SESSION_HOST:  TOMEDI

ANALYSIS_SESSION_TIME:  07-08-2017 14:58:33.0309

ANALYSIS_VERSION: 10.0.14321.1024 amd64fre

THREAD_ATTRIBUTES: 
OS_LOCALE:  DEA

PROBLEM_CLASSES: 

    Tid    [0x0]
    Frame  [0x00]
    String [STATUS_BREAKPOINT]
    Data Bucketing

BUGCHECK_STR:  STATUS_BREAKPOINT

LAST_CONTROL_TRANSFER:  from 01266eef to 0129a7b0

STACK_TEXT:  
0600bbdc 01266eef 0600dc00 01266fa7 00000000 REGoth!bx::debugBreak
0600bbe4 01266fa7 00000000 0600bbfc 5794a1f8 REGoth!bgfx::CallbackStub::fatal+0xf
0600dc00 0126405a 00000000 014b0144 014afde8 REGoth!bgfx::fatal+0x87
0600dc1c 01157c94 5794003e 9dd1f536 57949e48 REGoth!bgfx::destroyTexture+0x6a
0600dc48 010baecf 9dd1f516 19930522 5794a494 REGoth!Textures::TextureAllocator::~TextureAllocator+0x54
0600dc68 010bb1d5 9dd1f5b6 19930522 57949e48 REGoth!World::WorldAllocators::~WorldAllocators+0xcf
0600dcc8 010cf89e 00000001 503ad0a7 19930522 REGoth!World::WorldInstance::~WorldInstance+0x265
0600dcd0 503ad0a7 19930522 00000001 0600dcf0 REGoth!std::unique_ptr<World::WorldInstance,std::default_delete<World::WorldInstance> >::~unique_ptr<World::WorldInstance,std::default_delete<World::WorldInstance> >+0xe
0600f8a4 010d120b 0600f900 0600f94c 0600f8cc VCRUNTIME140!_NLG_Return
0600f974 010d3bbb 06539c98 010d25bc 9dd1d0d2 REGoth!<lambda_fef7125730a2c9ebb9b5dd46f6d96b6f>::operator()+0x28b
0600f97c 010d25bc 9dd1d0d2 5666e6a8 423c3b80 REGoth!std::_Func_impl<std::_Fake_no_copy_callable_adapter<<lambda_fef7125730a2c9ebb9b5dd46f6d96b6f>,Engine::BaseEngine * &>,std::allocator<int>,void>::_Do_call+0xb
0600f9ac 010d3b72 010cb388 9dd1d0aa 423c3acc REGoth!std::_Packaged_state<void __cdecl(void)>::_Call_immediate+0x4c
0600f9b0 010cb388 9dd1d0aa 423c3acc 5034c770 REGoth!std::_Func_impl<<lambda_cab26a778e4185933e9c5b0cfaedfe5e>,std::allocator<int>,unsigned char>::_Do_call+0x12
0600f9d4 010d71d4 5034bff0 0600f9f8 5034bff9 REGoth!Concurrency::task<unsigned char>::_InitialTaskHandle<void,<lambda_68600789d64250f4c3ca7be573f14a1c>,Concurrency::details::_TypeSelectorNoAsync>::_LogWorkItemAndInvokeUserLambda<std::function<unsigned char __cdecl(void)> >+0x58
0600fa34 010d4df7 9dd1d32e 6be69000 0600fa64 REGoth!Concurrency::details::_PPLTaskHandle<unsigned char,Concurrency::task<unsigned char>::_InitialTaskHandle<void,<lambda_68600789d64250f4c3ca7be573f14a1c>,Concurrency::details::_TypeSelectorNoAsync>,Concurrency::details::_TaskProcHandle>::invoke+0xf4
0600fa50 010d2668 5666e6a8 9dd1d30e 0104717b REGoth!Concurrency::details::_TaskProcHandle::_RunChoreBridge+0x37
0600fa70 5034c56c 6be69000 84315350 1c6a3030 REGoth!Concurrency::details::_DefaultPPLTaskScheduler::_PPLTaskChore::_Callback+0x38
0600fa94 7755b96b 0600fbe4 6be69000 1c6a3030 msvcp140!Concurrency::details::`anonymous namespace'::_Task_scheduler_callback+0x5c
0600fad4 7755aa53 0600fbe4 1c6a30a8 d54fcfa1 ntdll!TppWorkpExecuteCallback+0x16b
0600fcd0 76018744 017407b0 76018720 eaab82c9 ntdll!TppWorkerThread+0x663
0600fce4 7758587d 017407b0 d54fce5d 00000000 kernel32!BaseThreadInitThunk+0x24
0600fd2c 7758584d ffffffff 775a6345 00000000 ntdll!__RtlUserThreadStart+0x2f
0600fd3c 00000000 7755a3f0 017407b0 00000000 ntdll!_RtlUserThreadStart+0x1b

THREAD_SHA1_HASH_MOD_FUNC:  6c64afc65e2676e3d5a479e47297443e2a3e28d2

THREAD_SHA1_HASH_MOD_FUNC_OFFSET:  c78e410b294542613543a9ac57d02d8872c280db

THREAD_SHA1_HASH_MOD:  f235182b4741fd9d950ceef33e6fff9b7e801bfa

FOLLOWUP_IP: 
REGoth!bx::debugBreak+0 [c:\projects\regoth\regoth\lib\bgfx-cmake\bx\src\debug.cpp @ 30]
0129a7b0 cc              int     3

FAULT_INSTR_CODE:  ccccc3cc

FAULTING_SOURCE_LINE:  c:\projects\regoth\regoth\lib\bgfx-cmake\bx\src\debug.cpp

FAULTING_SOURCE_FILE:  c:\projects\regoth\regoth\lib\bgfx-cmake\bx\src\debug.cpp

FAULTING_SOURCE_LINE_NUMBER:  30

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  REGoth!bx::debugBreak+0

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: REGoth

IMAGE_NAME:  REGoth.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  595fda48

STACK_COMMAND:  .ecxr ; kb

BUCKET_ID:  STATUS_BREAKPOINT_REGoth!bx::debugBreak+0

PRIMARY_PROBLEM_CLASS:  STATUS_BREAKPOINT_REGoth!bx::debugBreak+0

FAILURE_EXCEPTION_CODE:  80000003

FAILURE_IMAGE_NAME:  REGoth.exe

BUCKET_ID_IMAGE_STR:  REGoth.exe

FAILURE_MODULE_NAME:  REGoth

BUCKET_ID_MODULE_STR:  REGoth

FAILURE_FUNCTION_NAME:  bx::debugBreak

BUCKET_ID_FUNCTION_STR:  bx::debugBreak

BUCKET_ID_OFFSET:  0

BUCKET_ID_MODTIMEDATESTAMP:  595fda48

BUCKET_ID_MODCHECKSUM:  0

BUCKET_ID_MODVER_STR:  0.0.0.0

BUCKET_ID_PREFIX_STR:  STATUS_BREAKPOINT_

FAILURE_PROBLEM_CLASS:  STATUS_BREAKPOINT

FAILURE_SYMBOL_NAME:  REGoth.exe!bx::debugBreak

FAILURE_BUCKET_ID:  STATUS_BREAKPOINT_80000003_REGoth.exe!bx::debugBreak

TARGET_TIME:  2017-07-08T12:51:32.000Z

OSBUILD:  15063

OSSERVICEPACK:  296

SERVICEPACK_NUMBER: 0

OS_REVISION: 0

OSPLATFORM_TYPE:  x86

OSNAME:  Windows 10

OSEDITION:  Windows 10 WinNt SingleUserTS Personal

USER_LCID:  0

OSBUILD_TIMESTAMP:  unknown_date

BUILDDATESTAMP_STR:  160101.0800

BUILDLAB_STR:  WinBuild

BUILDOSVER_STR:  10.0.15063.296

ANALYSIS_SESSION_ELAPSED_TIME: 19c1

ANALYSIS_SOURCE:  UM

FAILURE_ID_HASH_STRING:  um:status_breakpoint_80000003_regoth.exe!bx::debugbreak

FAILURE_ID_HASH:  {b2eb1f25-9d48-ca32-b6f4-b876a3c6e720}

Followup:     MachineOwner
---------