Closed eqr closed 1 year ago
Hey, I'm not sure what do you mean by "latest", there are dozens of versions in the wild. Your savegame does not even load unless I manually tweak number of global variables.
I've found the source of this crash - grenades are removed from the game before attack is finished, so by the time script engine executes damage_p_proc
the weapon object is no longer valid. Need some time to try a couple of ways to fix it.
@alexbatalov thank you
Fallout of Nevada latest, patch 02. save: https://drive.google.com/file/d/1DNkRXVo85DejfPlS7PCcJw0J3BS1PX3M/view?usp=share_link
Exception
------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: fallout2-ce [8897] Path: /Users/USER/*/fallout2-ce.app/Contents/MacOS/fallout2-ce Identifier: com.alexbatalov.fallout2-ce Version: 1.1.0 (1.1.0) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2022-12-21 19:15:33.0580 +0100 OS Version: macOS 13.1 (22C65) Report Version: 12 Anonymous UUID: 51643B4F-BB25-4C77-E1C3-F8969A8165B6 Sleep/Wake UUID: 8B58FA11-7BFA-43E1-8D46-277013E03896 Time Awake Since Boot: 300000 seconds Time Since Wake: 8933 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020 Exception Codes: 0x0000000000000001, 0x0000000000000020 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [8897] VM Region Info: 0x20 is not in any region. Bytes before following region: 105553518919648 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated) Kernel Triage: VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 fallout2-ce 0x1026d5660 fallout::itemGetType(fallout::Object*) + 124 1 fallout2-ce 0x1026d565c fallout::itemGetType(fallout::Object*) + 120 2 fallout2-ce 0x1026b1178 fallout::opMetarule(fallout::Program*) + 804 3 fallout2-ce 0x1026c02ec fallout::_interpret(fallout::Program*, int) + 792 4 fallout2-ce 0x1026c0a94 fallout::_executeProcedure(fallout::Program*, int) + 428 5 fallout2-ce 0x102736d9c fallout::scriptExecProc(int, int) + 616 6 fallout2-ce 0x10265f884 fallout::_apply_damage(fallout::Attack*, bool) + 584 7 fallout2-ce 0x1026614c0 fallout::_combat_anim_finished() + 332 8 fallout2-ce 0x1026207c4 fallout::_anim_set_end(int) + 1340 9 fallout2-ce 0x1026209c0 fallout::_anim_set_continue(int, int) + 160 10 fallout2-ce 0x1026279d4 fallout::_anim_change_fid(fallout::Object*, int, int) + 160 11 fallout2-ce 0x10262582c fallout::animationRunSequence(int) + 1576 12 fallout2-ce 0x1026209dc fallout::_anim_set_continue(int, int) + 188 13 fallout2-ce 0x102624e74 fallout::_object_animate() + 880 14 fallout2-ce 0x1026a3110 fallout::tickersExecute() + 168 15 fallout2-ce 0x1026a2f18 fallout::_process_bk() + 16 16 fallout2-ce 0x1026a2ae8 fallout::inputGetInput() + 48 17 fallout2-ce 0x102664070 fallout::_combat_input() + 196 18 fallout2-ce 0x10265c9c0 fallout::_combat_turn(fallout::Object*, bool) + 596 19 fallout2-ce 0x10265c334 fallout::_combat(fallout::STRUCT_664980*) + 568 20 fallout2-ce 0x1026a8fc4 fallout::_intface_use_item() + 376 21 fallout2-ce 0x10269b45c fallout::gameHandleKey(int, bool) + 660 22 fallout2-ce 0x1026ed09c fallout::mainLoop() + 120 23 fallout2-ce 0x1026ec118 fallout::falloutMain(int, char**) + 780 24 fallout2-ce 0x102754894 fallout::main(int, char**) + 76 25 fallout2-ce 0x1027548c4 main + 36 26 dyld 0x187107e50 start + 2544 Thread 1: 0 libsystem_pthread.dylib 0x18742be18 start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x18742be18 start_wqthread + 0 Thread 3: 0 libsystem_pthread.dylib 0x18742be18 start_wqthread + 0 Thread 4:: CVDisplayLink 0 libsystem_kernel.dylib 0x1873f5564 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x187431664 _pthread_cond_wait + 1276 2 CoreVideo 0x18f34f8d4 CVDisplayLink::waitUntil(unsigned long long) + 324 3 CoreVideo 0x18f34e9a4 CVDisplayLink::runIOThread() + 504 4 libsystem_pthread.dylib 0x18743106c _pthread_start + 148 5 libsystem_pthread.dylib 0x18742be2c thread_start + 8 Thread 5:: caulk.messenger.shared:17 0 libsystem_kernel.dylib 0x1873f1cec semaphore_wait_trap + 8 1 caulk 0x19090acfc caulk::mach::semaphore::wait_or_error() + 28 2 caulk 0x1908ed634 caulk::concurrent::details::worker_thread::run() + 56 3 caulk 0x1908ed278 void* caulk::thread_proxyThanks for all your great work!