armortools
armortools copied to clipboard
Windows 11 - Crashing on startup
ArmorPaint version:
a65e7d82cbf45053896cc897f0d15e350d54a23f
OS / GPU model: Windows 11 RTX 4070
Issue description:
When I compile the app and run the Release build via the .exe file, it immediately crashes
If I run the app via Visual Studio 2022, it runs fine, both with and without Debug.
Output from the kinc.dmp file:
STACK_COMMAND: ~0s; .ecxr ; kb
FAULTING_SOURCE_LINE: C:\Users\Steve\Projects\armortools\armorcore\sources\kinc\graphics2\g2.c
FAULTING_SOURCE_FILE: C:\Users\Steve\Projects\armortools\armorcore\sources\kinc\graphics2\g2.c
FAULTING_SOURCE_LINE_NUMBER: 151
FAULTING_SOURCE_CODE:
147: kinc_g2_internal_set_projection_matrix(NULL);
148: g2_transform = kinc_matrix3x3_identity();
149:
150: // Image painter
> 151: kinc_g4_shader_init(&image_vert_shader, image_vert->buffer, image_vert->length, KINC_G4_SHADER_TYPE_VERTEX);
152: kinc_g4_shader_init(&image_frag_shader, image_frag->buffer, image_frag->length, KINC_G4_SHADER_TYPE_FRAGMENT);
153:
154: {
155: kinc_g4_vertex_structure_t structure;
156: kinc_g4_vertex_structure_init(&structure);
SYMBOL_NAME: ArmorPaint!kinc_g2_init+f8
MODULE_NAME: ArmorPaint
IMAGE_NAME: ArmorPaint.exe
FAILURE_BUCKET_ID: NULL_CLASS_PTR_READ_c0000005_ArmorPaint.exe!kinc_g2_init
OS_VERSION: 10.0.26100.1
BUILDLAB_STR: ge_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
Steps to reproduce:
- Checkout commit
a65e7d82cbf45053896cc897f0d15e350d54a23f - Run make as per README instructions
- Build the app with the
Releaseconfiguration via Visual Studio 2022 - Open
build/x64/Release/ArmorPaint.exe
Hello, I just compiled ArmorPaint (g4) in Windows 10 without any problems.
Starting build\x64\Release\ArmorPaint.exe from that location doesn't work; I get a kinc.dmp file there, too.
But: Copying ArmorPaint.exe to armorpaint\build\out, then ArmorPaint starts without any problems.
That's what it says in the old readme (v8). However, the krom folder is now called out folder. => https://github.com/armory3d/armortools/tree/v8/armorpaint
I hope this works.
I can confirm copying the ArmorPaint.exe file out of build/x64/Release/ and into build/out lets it start up properly. Thanks so much!
Thank you for your kind feedback. Tip: If you're having trouble compiling ArmorLab, feel free to check out my tutorial. "Compile ArmorLab" (2025-04-07) https://e.pcloud.link/publink/show?code=4Huy6alK or http://e.pc.cd/4Huy6alK Immediately displayed in the browser + download possible 🙂