UCCNC crashing for me as well

If you think you've found a bug post it here.

Re: UCCNC crashing for me as well

Postby A_Camera » Sat Jan 28, 2017 7:44 pm

I switched off macro compilation.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby cncdrive » Sun Jan 29, 2017 3:04 am

Thanks Josef,

I think I found what the problem is.
I found that the macroprecompile window is closed from the background worker thread (invoke of the UI thread to Close the window code is missing) which calls the macros compilation routine.
This could possibly cause an issue like what you described, if the UI thread is doing some screen updates then unpredictable things can happen if another thread tries to access the UI thread.
Basicly another thread should never access the UI thread like that, so I've corrected that code now...
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crashing for me as well

Postby A_Camera » Sun Jan 29, 2017 2:06 pm

Thanks Balázs.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby cncdrive » Thu Feb 09, 2017 12:00 pm

Hi Josef,

Did you have a chance to test the 1.2032 if it resolved the issue described in this thread?
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crashing for me as well

Postby A_Camera » Thu Feb 09, 2017 12:02 pm

cncdrive wrote:Hi Josef,

Did you have a chance to test the 1.2032 if it resolved the issue described in this thread?

Hi Balázs,
I am sorry, I haven't had time and currently I am on a business trip, but hopefully this weekend...
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby cncdrive » Fri Feb 10, 2017 1:21 am

That's OK, have a good time on the trip and test it please when you'll be back and when you'll have some freetime. :)
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crashing for me as well

Postby A_Camera » Mon Feb 13, 2017 5:08 pm

I managed to install and test it quickly today. It seems that 1.2032 is not crashing any more, so it seems that the error is fixed.

It is though pity that it recompiles all the macro every time UCCNC is started. It should check the folder and if unchanged since last start it should not compile. It is a pretty simple operation to check the folder by calculating the checksum and save it when it is compiled and compare the checksum every time UCCNC is started. It is faster than compiling at every start.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby ger21 » Mon Feb 13, 2017 6:10 pm

I don't think that the compiled macros are saved anywhere, and just reside in memory, so they have to be compiled every time.
I find that unchecking the pre compile box is perfectly fine, as they changed the standard behavior when they added that option.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: UCCNC crashing for me as well

Postby A_Camera » Mon Feb 13, 2017 6:30 pm

ger21 wrote:I don't think that the compiled macros are saved anywhere, and just reside in memory, so they have to be compiled every time.

I see. In this case no point calculating a checksum.

ger21 wrote:I find that unchecking the pre compile box is perfectly fine, as they changed the standard behavior when they added that option.

I will see if I notice any difference, but found that the constant compilation is a bit annoying.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby ger21 » Mon Feb 13, 2017 6:35 pm

It's only on first use now, not every time.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

PreviousNext

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 15 guests