Closed hatrd closed 1 year ago
Do you have a running instances of the overclocking software like MSI Afterburner? If so, try to turn it off.
@Chaosus No. I don't have anything like MSI Afterburner. And I tried in Safe Mode, still crashed. I tried to update the driver, Limit godot to run on Integrated Graphics, still crashes.
I rebuilt godot with debug info. Same problem.
STACK_TEXT:
msvcr90!memcpy+0xb0
wintab32+0x3d78
godot_windows_editor_x86_64!DisplayServerWindows::_process_activate_event+0x145
godot_windows_editor_x86_64!DisplayServerWindows::WndProc+0x606
godot_windows_editor_x86_64!WndProc+0x26
user32!UserCallWinProcCheckWow+0x2d1
user32!CallWindowProcW+0x8b
opengl32!wglWndProc+0x294
user32!UserCallWinProcCheckWow+0x2d1
user32!DispatchClientMessage+0x9c
user32!_fnDWORD+0x3d
ntdll!KiUserCallbackDispatcherContinue
win32u!NtUserDestroyWindow+0x14
godot_windows_editor_x86_64!DisplayServerWindows::delete_sub_window+0x26d
godot_windows_editor_x86_64!Window::_clear_window+0x109
godot_windows_editor_x86_64!Window::set_visible+0x190
godot_windows_editor_x86_64!MethodBindT<Window>::call+0x70
godot_windows_editor_x86_64!Object::callp+0x223
godot_windows_editor_x86_64!Callable::callp+0x15b
godot_windows_editor_x86_64!CallQueue::_call_function+0xc8
godot_windows_editor_x86_64!CallQueue::flush+0x2f6
godot_windows_editor_x86_64!SceneTree::process+0x141
godot_windows_editor_x86_64!Main::iteration+0x42d
godot_windows_editor_x86_64!OS_Windows::run+0x35
godot_windows_editor_x86_64!widechar_main+0x1bc
godot_windows_editor_x86_64!_main+0x47
godot_windows_editor_x86_64!main+0x9
godot_windows_editor_x86_64!__scrt_common_main_seh+0x106
kernel32!BaseThreadInitThunk+0x1d
ntdll!RtlUserThreadStart+0x28
ExceptionAddress: 0000000061c8e2e0 (msvcr90!memcpy+0x00000000000000b0)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 0000018b01330000
Attempt to read from address 0000018b01330000
It calls memcpy(0, 0x18b01330000) but can't read 0x18b01330000. While I can open the same binary file on windows10&windows11 vmware virtual machine. I have no idea what to do now. Are there any suggestion?
@hatrd do you have any overlays installed? like discord or nvidia-proprietary overlay? or some similar video-capture overlays maybe try to turn them off/uninstall
you did not mention driver version, and if nvidia drivers installed from "windows update center" or from Nvidia website if drivers not latest and/or not from Nvidia website - try to install from Nvidia website
He solved the problem by installing drivers for the integrated graphics card, have you ever installed drivers for an integrated graphics card? https://github.com/godotengine/godot/issues/82840#issuecomment-1757022360
You can also try specifying the graphics card via --gpu-index
.
You can also try starting in single-window mode --single-window
.
@saierXP
Godot_v4.1.3-stable_win64.exe --single-window
works! Thanks a lot! But I wonder if there's a thorough solution to fix this crash.
I have updated drivers for the integrated graphics card AMD Radeon 780M, godot still crashes. Stack backtrack to DestroyWindow
like before. DestroyWindow
seems to be the key of crash. Closing some other windows, like import project
window, will also crash.
Integrated graphics card driver info:
AMD Windows 31.0.22023.1014
Driver Version 23.20.23.01-231025a-397214C-AMD-Software-Adrenalin-Edition
And for nvidia driver, I've tried lateset NVIDIA STUDIO and NVIDIA GAME READY drivers. Not work.
This is a bug of wintab32.dll
, my tablet driver.
This crash can be resolved by renaming wintab32.dll
to something else / deleting wintab32.dll
(so it won't be loaded), or updating wintab32.dll
to a newer one.
Godot version
4.1.3
System information
Windows11, Godot 4.* , AMD Ryzen 7 7840H, RTX4050
Issue description
Open and crashed. Here's part of the dmp file.
It crashed in removeScheduler, due to memcpy to 0x0. Symbol: Godot_v4_1_3_stable_win64!ZN6embree13TaskScheduler15removeSchedulerERKNS_3RefIS0_EE+0x3e8279e
Godot3 can be opened successfully. All versions of Godot4 will crash. Binaraies are downloaded from https://godotengine.org/download/windows/ Both .NET and normal exe would crash.
Steps to reproduce
Minimal reproduction project
No project.