Skip to content
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

Open
HangingPotato opened this issue May 14, 2021 · 22 comments
Open

4coder crashing on startup #309

HangingPotato opened this issue May 14, 2021 · 22 comments
Labels
bug The issue is a straight up bug, performance bug, crash bug, etc

Comments

@HangingPotato
Copy link

HangingPotato commented May 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 ;

1234

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

@HangingPotato HangingPotato added the bug The issue is a straight up bug, performance bug, crash bug, etc label May 14, 2021
@filippocrocchini
Copy link

filippocrocchini commented Jun 12, 2021

Same exact bug here. It happens both on nvidia drivers (RTX 2060) and Intel (UHD Graphics 630) on nvidia it crashes while on intel it draws a pink screen.
bug

@filippocrocchini
Copy link

filippocrocchini commented Jun 12, 2021

Just for context, maybe it helps. The bug seems to have been introduced with 4.1.7, 4.1.6 works fine.

@candelibas
Copy link

candelibas commented Jul 11, 2021

Having the same issue as well.

@filippocrocchini Is there a way to download the 4.1.6 Windows version until this bug resolves?

@HangingPotato
Copy link
Author

HangingPotato commented Jul 12, 2021

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.

@candelibas
Copy link

candelibas commented Jul 12, 2021

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.

@HangingPotato
Copy link
Author

HangingPotato commented Jul 12, 2021

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?

@HangingPotato
Copy link
Author

HangingPotato commented Jul 12, 2021

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.

Also, have you tried debugging the app with visual studio?

@candelibas
Copy link

candelibas commented Jul 12, 2021

What's your pc specs?

Motherboard: ASUS Rog Strix X570-E
CPU: AMD Ryzen 9 3900X
GPU: iChill RTX 3080
Memory: 16 GB Corsair Vengeance 4000Mhz
OS: Windows 10 Pro

Also, have you tried debugging the app with visual studio?

Yes, I did, multiple times actually, for both x64 and x86 versions.

Here is the screenshot of my crash dump:
Screenshot_24

@HangingPotato
Copy link
Author

HangingPotato commented Jul 12, 2021

What's your pc specs?

Motherboard: ASUS Rog Strix X570-E
CPU: AMD Ryzen 9 3900X
GPU: iChill RTX 3080
Memory: 16 GB Corsair Vengeance 4000Mhz
OS: Windows 10 Pro

Also, have you tried debugging the app with visual studio?

Yes, I did, multiple times actually, for both x64 and x86 versions.

Here is the screenshot of my crash dump:
Screenshot_24

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?

@candelibas
Copy link

candelibas commented Jul 12, 2021

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.

@filippocrocchini
Copy link

filippocrocchini commented Jul 12, 2021

Having the same issue as well.

@filippocrocchini Is there a way to download the 4.1.6 Windows version until this bug resolves?

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.

@HangingPotato
Copy link
Author

HangingPotato commented Jul 13, 2021

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.

@HangingPotato
Copy link
Author

HangingPotato commented Jul 13, 2021

Having the same issue as well.
@filippocrocchini Is there a way to download the 4.1.6 Windows version until this bug resolves?

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.

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.

@HangingPotato
Copy link
Author

HangingPotato commented Jul 13, 2021

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.

@gheoan
Copy link

gheoan commented Aug 6, 2021

@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.

@aliawan01
Copy link

aliawan01 commented Sep 2, 2021

@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.

@DiaAWAY
Copy link

DiaAWAY commented Sep 17, 2021

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

@baines
Copy link

baines commented Sep 21, 2021

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 glDrawArrays:

   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 a82 and 21c match up with the return addresses here. (based on the 4.1.8 4ed.exe)
I haven't debugged any further than that, so not sure why it would crash in there.

@CCDD564
Copy link

CCDD564 commented Oct 2, 2021

I have the same issue... Sometimes it works and sometimes it just crashes. I'm not quite sure what could trigger the crash.

@CCDD564
Copy link

CCDD564 commented Oct 5, 2021

If you're really desperate, then try resetting windows completely. I have no idea what particular change had an effect on 4coder.

@aliawan01
Copy link

aliawan01 commented Oct 9, 2021

I've reinstalled windows like 5 times to try and fix this, it still has not worked.

@aliawan01
Copy link

aliawan01 commented Feb 22, 2022

I reinstalled 4coder 4.1 and now it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a straight up bug, performance bug, crash bug, etc
Projects
None yet
Development

No branches or pull requests

8 participants