Krom random crashes with error 3221225477
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 353
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
**Description**
Krom builds randomly crash with the console throwing `WARNING: Player exited code 3221225477`. This is unrelated to #2746.
I'm new using Visual Studio debug tools so if there's something missing I'd appreciate if someone lets me know.
**Details**
`Unhandled exception at 0x00007FF719A4BE50 (Krom.exe) in Krom.dmp: 0xC0000005: Access violation writing location 0x0000000000000000.`
Callstack:
```
Krom.exe!v8::internal::Isolate::Exit(void) C++
[Inline Frame] Krom.exe!v8::Isolate::Scope::{dtor}() Line 309 C++
[Inline Frame] Krom.exe!handle_worker_messages(v8::Isolate *) Line 504 C++
Krom.exe!`anonymous namespace'::update(void * data) Line 2792 C++
[Inline Frame] Krom.exe!kinc_internal_update_callback() Line 481 C++
[Inline Frame] Krom.exe!kinc_internal_frame() Line 584 C++
[Inline Frame] Krom.exe!kinc_start() Line 599 C++
Krom.exe!kickstart(int argc, char * * argv) Line 3443 C++
Krom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 1325 C
[External Code]
```
Script list from callstack (Armorcore):
- v8\include\v8-isolate.h
- Sources\worker.cpp
- Sources\main.cpp
- Kinc\Sources\kinc\system.h
- Kinc\Backends\System\Windows\Sources\kinc\backend\system.c.h
**Dump file**
[Krom.dmp](https://github.com/user-attachments/files/20854951/Krom.dmp)
**To Reproduce**
Play or build then open the Krom's `.exe`. While playing, the build sometimes will crash randomly.
**Expected behavior**
Krom builds running without crashing.
**System**
Blender: 3.6..22 LTS
Armory: 2025.06
OS: Windows 11 Pro (x64)
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with Sources/worker.cpp at handle_worker_messages and Sources/main.cpp at update, using the supplied Krom.dmp and call stack as the debugging entry points. Reproduce by playing or opening the Krom .exe on Windows, then compare the failing path with the listed V8 and Kinc files. Done means Krom builds run without the intermittent crash or exit code 3221225477.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100