New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4coder crashing on startup #309
Comments
|
Just for context, maybe it helps. The bug seems to have been introduced with 4.1.7, 4.1.6 works fine. |
|
Having the same issue as well. @filippocrocchini Is there a way to download the 4.1.6 Windows version until this bug resolves? |
|
Hello everyone. So since 4coder has gone free I decided to download the 4.1.8 version and it seems to work absolutely fine on my pc. Perhaps you should try that too. |
Unfortunately, I'm having the same issue with 4.1.8. I couldn't find the 4.1.6 version to try out to see if it differentiates between versions. |
What's your pc specs? |
Also, have you tried debugging the app with visual studio? |
Motherboard: ASUS Rog Strix X570-E
Yes, I did, multiple times actually, for both x64 and x86 versions. |
I'll give it a better look when I'm off work. From a quick glance it seems like it's the same issue as mine. Is that for the 4.1.7 version? If yes could you perhaps try debugging the 4.1.8 version as well? |
It's the 4.1.8 version, which is the latest one. I couldn't find other versions to try out, unfortunately. It seems to be OpenGL related issue, but not sure what's causing it. |
I don't think there is, I happened to have an old backup lying around but imo 4.1.6 is too old at this point. I'm personally just using another editor and I'm a bit annoyed by it since I paid for 4coder. @HangingPotato the screenshot I posted is actually 4.1.8 so sadly no luck with that. |
|
Hm, It appears that the problem is back for me as well to some degree. I booted my pc up just now and tried launching 4coder (4.1.8) and it crashed in the exact same fashion as it used to. I then restarted my pc, opened it up and it launched succesfuly. I then click on the X to close it down and it became unresponsive for a second or two and then shut down. Launching it after that also gives me the same crash. The worst part of this whole story is that I paid the full 20something euros to buy it back when it wasn't free and the issue has persisted from that time on. Quite sad if you ask me. |
Ok so I found some stuff out. I downloaded Mesa3D since I read that it solved the issue for a user. Here is my issue though. After I extract the opengl32.dll to the 4.1.8 folder, 4coder launches with no problems. The major issue is that the rendering does not appear to refresh at all as nothing happens in the open window. Resizing the window in any form e.g. Fullscreen or pinching to resize turns it into a black unresponsive screen. As it appears it is a problem with OpenGL itself which has been running since 4.1.6 as far as I've tested. |
|
As a note also, only the x64 versions of this Mesa3D appear to work in this way. The x86 ones cannot even reproduce this result and 4coder crashes immediately. |
|
@HangingPotato are you using this build of Mesa3D? I've had success in running 4coder 4.1.8 off it, although I didn't look closely into why 4coder was not starting for me. |
|
@gheoan I have used the build of Mesa3D you have provided and I still have the same issue as HangingPotato. The 4coder window opens but I cannot type any text and whenever I resize the window it becomes black and unresponsive. |
|
I am having the exact same issue with 4.1.18 (x64) and 4.1.17 (x86), utilizing the mesa drivers gives almost identical results for both, x86 plays a sound on startup while x64 is silent. Running this on an Radeon 6900XT and Win10, errors are from atio6axx.dll. I don't have access to older versions of 4coder so I cannot test those, unfortunately |
|
I don't use the windows version (and it doesn't crash for me in wine) but looking at the stack trace from #309 (comment) I think it's crashing in 140011a60 ! mov rcx, [?data_1400aaf88]
140011a67 ! mov [?data_1400aaec0], al
140011a6d ! call qword ptr [USER32.dll:GetDC]
140011a73 ! lea rcx, [?data_1400ab060]
140011a7a ! mov rbx, rax
!! 140011a7d ! call func_before_nvidia
140011a82 ! mov rcx, rbx
140011a85 ! call qword ptr [GDI32.dll:SwapBuffers]
140011a8b ! mov rcx, [?data_1400aaf88]
140011a92 ! mov rdx, rbx
140011a95 ! call qword ptr [USER32.dll:ReleaseDC] ......... ! func_before_nvidia: ;xref c140011a7d
[...]
140005208 ! call qword ptr [?data_1400aad28]
14000520e ! mov r8d, r12d
140005211 ! lea ecx, [rsi+4]
140005214 ! xor edx, edx
!! 140005216 ! call qword ptr [OPENGL32.dll:glDrawArrays]
14000521c ! mov ecx, [?data_1400ab534] The |
|
I have the same issue... Sometimes it works and sometimes it just crashes. I'm not quite sure what could trigger the crash. |
|
If you're really desperate, then try resetting windows completely. I have no idea what particular change had an effect on 4coder. |
|
I've reinstalled windows like 5 times to try and fix this, it still has not worked. |
|
I reinstalled 4coder 4.1 and now it works! |


HangingPotato commentedMay 14, 2021
Version: 4.1.7
Simply launching the 4coder app crashes it. More than often it plays the raygun sound and crashes after. I have not customized it in any way shape or form and the exact same thing happens even if I extract it fresh from the downloaded zip be that either the x64 or the x86 version. I have also debugged the program several times with the breakpoint at the custom_layer_init function added and it always reproduces the crash.
Here is what it looks like ;
System
OS: Edition Windows 10 Pro
Version 20H2
Installed on 09-May-21
OS build 19042.928
Graphics Driver (for graphics bugs): GTX 1080ti and driver version is 466.27
The text was updated successfully, but these errors were encountered: