4coder » Forums » 4coder crash immediatly
albus95
Alberto Vaudagna
6 posts
#12169 4coder crash immediatly
2 weeks, 3 days ago

Probably this is a know issue. I basicly can't get 4coder 4.20 to run on my laptop. It crash as soon as it run. If I debug the excutable i get a divide by zero exception.
On this laptop I have an AMD Dua core processor.
The same version work on my main pc that has a intel cpu.
Thnks, Best regards, Alberto.
Mr4thDimention
Allen Webster
240 posts
2 projects

Heyo

#12170 4coder crash immediatly
2 weeks, 3 days ago

What OS?
albus95
Alberto Vaudagna
6 posts
#12171 4coder crash immediatly
2 weeks, 3 days ago

Windows 10 N Redstone 2.
It work fine on my main pc that have insider builds, i guess is not an os problem but I'm not sure about that.
Mr4thDimention
Allen Webster
240 posts
2 projects

Heyo

#12172 4coder crash immediatly
2 weeks, 3 days ago

Well startup issues often have to do with the platform layer, but I don't know for sure, it will just be handy to have that info when I look into it.
albus95
Alberto Vaudagna
6 posts
#12173 4coder crash immediatly
2 weeks, 3 days ago

Ya maybye something related to opengl on amd graphics?
Because I can run 4coder on two intel computer (all with win10) but failed only in the one that have AMD in it.
If I can do anything to help you find the issue let me know.
Mr4thDimention
Allen Webster
240 posts
2 projects

Heyo

#12174 4coder crash immediatly
2 weeks, 2 days ago

albus95
Alberto Vaudagna
6 posts
#12175 4coder crash immediatly
2 weeks, 2 days ago

Don't know I used to support you on patron but at the moment I have no money, I can try support for 1$ but this problem is on 5$ support version I don't know if it happen the same thing in that version, so.
I will look if I can find a previous version on my pc later on tonight.
Mr4thDimention
Allen Webster
240 posts
2 projects

Heyo

#12176 4coder crash immediatly
2 weeks, 2 days ago

albus95
Alberto Vaudagna
6 posts
#12177 4coder crash immediatly
2 weeks, 2 days ago

Just send you an email.
abnercoimbre
Abner Coimbre
191 posts
2 projects

Community Builder

#12181 4coder crash immediatly
2 weeks, 2 days ago

I would love to hear how this all ends.

Programmer for a certain space agency
Mr4thDimention
Allen Webster
240 posts
2 projects

Heyo

#12209 4coder crash immediatly
1 week, 2 days ago Edited by Allen Webster on June 16, 2017, 8:20 p.m.

abnercoimbre:
I would love to hear how this all ends.


I'm still waiting on confirmation from Alberto that my fix worked, but the problem turned out to be that QueryPerformanceFrequency was returning something smaller than one million. Since I was trying to get an approximate time in milliseconds I just divided by one million with integer division. That would make a 0 on Alberto's machine which later ends up in the denominator and causes a crash. I (think) I fixed it by switching the denominator over to a floating point number.