UCCNC crashing for me as well

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

UCCNC crashing for me as well

Postby A_Camera » Wed Jan 25, 2017 5:12 pm

This thread...

http://www.forum.cncdrive.com/viewtopic.php?f=4&t=378

...is about UCCNC crashing during start, and I mentioned that I have observed UCCNC crashes also. Been told that my problems are not related, so instead of hijacking that thread, I decided to start my own.

It seems that the problem is repeatable. UCCNC will crash every time I start UCCNC and change focus to another window before UCCNC is up and running. This happens when macro "Precompile all macros on startup" is ticked, but everything seems OK if it is not selected. I stated before that I have seen this in 1.2029 as well, but it seems that this was not the case, or at least not repeatable because I could not make it happen in 1.2029 today, but easily repeated in 1.2031. It also doesn't matter which software I switch focus to, have tested with several and it is always the same results, UCCNC is crashing while everything else seems OK. There seems to be a clear relation to macro pre compile option.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby cncdrive » Wed Jan 25, 2017 5:24 pm

Nope. That thread is totally different. The startup crash described in that thread is repeatable here and the reason for that is a bug where the UCCNC calls the plugins too early and so the issue happens if plugins are enabled.
As said in that thread that issue was already corrected later on in the next versions ... the issue was in version 1.2021 ...
cncdrive
Site Admin
 
Posts: 4888
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crashing for me as well

Postby A_Camera » Wed Jan 25, 2017 6:13 pm

cncdrive wrote:Nope. That thread is totally different. The startup crash described in that thread is repeatable here and the reason for that is a bug where the UCCNC calls the plugins too early and so the issue happens if plugins are enabled.
As said in that thread that issue was already corrected later on in the next versions ... the issue was in version 1.2021 ...

I do believe you, but none the less, even my crash is repeatable, at least for me. This one seems to be connected to the pre compile macro option.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby cncdrive » Wed Jan 25, 2017 9:48 pm

Yes, that crash in the other thread could be easily reproduced with the files from the OP.
And moving the same profile files and macros to the 1.2029 and 1.2031 versions the issue dissapeared,
so then I have checked why the crash happens with placing the profile and macros to the exact same 1.2021 version with source files I have and it could be easily debugged and it was because of the bug with the too early plugin calls, which I later looked up that it was also noted in the bugfix list after that version.

Unfortunately I could not reproduce the startup crash you've mentioned. I've tried on 3 computers so far with both 1.2029 and 1.2031.

And what is a bit confusing is that you said it was with 1.2029 and 1.2031 and you also said that it is related with the macro precomplile option, however version 1.2029 did not have that option, the macro precompiling was introduced only in version 1.2030.

If this issue is reproducable at you then could you please verify it again and let me know if it really happens with version 1.2029? Or only with version 1.2031?
That could narrow things down a lot, if it only happens with version 1.2031.

Also if you could post your installation folder in a zip uploaded to a google drive or to a storage place something like that then I would try to reproduce it using your settings.
cncdrive
Site Admin
 
Posts: 4888
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crashing for me as well

Postby A_Camera » Thu Jan 26, 2017 5:30 am

Like I said in this thread, it is not happening in 1.2029 only in 1.2031. Perhaps I have seen it before in 1.2030 as well but remembered it wrong and thought it was in 1.2029. I can repeat it easily and so far only in 1.2031 and only when macro compilation is selected.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby cncdrive » Thu Jan 26, 2017 3:07 pm

Hi Josef,

OK, I reread your first message and I missinterpreted it, sorry.
I now see that it happens at you only in version 1.2031 but not in 1.2029.
I will look through the changes in these versions especially the new things around the macro precompiling.
cncdrive
Site Admin
 
Posts: 4888
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crashing for me as well

Postby A_Camera » Thu Jan 26, 2017 6:31 pm

cncdrive wrote:Hi Josef,

OK, I reread your first message and I missinterpreted it, sorry.
I now see that it happens at you only in version 1.2031 but not in 1.2029.
I will look through the changes in these versions especially the new things around the macro precompiling.

I have done a few more tests. I can't force it to happen in 1.2030, so perhaps I was remembering all wrong and first time I have seen it may have been in 1.2031. On the other hand, it is easy to repeat in 1.2031 and in fact I made a video just to show what I do.



I can also easily repeat it on another computer, happens every time, or at least it seems so to me. Tested so far on two, one Dell desktop and one HP laptop.

Could it be connected to the actual pre-compilation message box? It was not implemented in 1.2030 only the compilation.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby cncdrive » Fri Jan 27, 2017 11:37 am

Hi Josef,

Thank you for taking the time making the video for me to see.
From the informations you gave me so far it seems clear that the issue is something about the new macro precompiler.
I looked through that code and I found one thing which can possibly cause this issue.

The annoying thing is that I still can't reproduce the issue here no matter how hard I try, so if you could test one more thing for me would be great.
What I would like to know is if you disable the macro precompile option in the version 1.2031 and doing the same focus change to different app on startup thing then can you produce the issue or not?
If you can't then I'm pretty sure that I know why the issue is happening.
cncdrive
Site Admin
 
Posts: 4888
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crashing for me as well

Postby A_Camera » Fri Jan 27, 2017 2:46 pm

Hi Balázs,
I have tried that several times and when the pre compile is not selected then I don't get the problem. I will try some more tonight or this weekend and let you know.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Re: UCCNC crashing for me as well

Postby A_Camera » Fri Jan 27, 2017 4:53 pm

OK, now I have done some more tests and like I said before, it happens only when the macro compilation check box is checked, it is easy to repeat and it never happens if I deselect the macro compilation checkbox.
A_Camera
 
Posts: 639
Joined: Tue Sep 20, 2016 11:37 am

Next

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 2 guests