4coder » Forums » 4coder crash immediatly
albus95
Alberto Vaudagna
7 posts
#12169 4coder crash immediatly
3 months, 2 weeks 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
266 posts
2 projects

Heyo

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

What OS?
albus95
Alberto Vaudagna
7 posts
#12171 4coder crash immediatly
3 months, 2 weeks 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
266 posts
2 projects

Heyo

#12172 4coder crash immediatly
3 months, 2 weeks 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
7 posts
#12173 4coder crash immediatly
3 months, 2 weeks 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
266 posts
2 projects

Heyo

#12174 4coder crash immediatly
3 months, 2 weeks ago

Email me at [email protected]. When I am looking into it I'll send you test builds so you can help me collect more information.

Just to be clear, it worked in 4.0.19?
albus95
Alberto Vaudagna
7 posts
#12175 4coder crash immediatly
3 months, 2 weeks 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
266 posts
2 projects

Heyo

#12176 4coder crash immediatly
3 months, 2 weeks ago

Ahh don't worry about it then. Just send in an email to [email protected] and I'll send you a few other builds to try.
albus95
Alberto Vaudagna
7 posts
#12177 4coder crash immediatly
3 months, 2 weeks ago

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

Community Manager

#12181 4coder crash immediatly
3 months, 2 weeks ago

I would love to hear how this all ends.

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

Heyo

#12209 4coder crash immediatly
3 months, 1 week 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.