Page 1 of 2

UCCNC crashing

PostPosted: Thu Jan 19, 2017 10:19 pm
by silverdog
I run into crashing problems when I directly call (execute) my machine configuration: C:\UCCNC\UCCNC.exe /p MechMate (windows10)
I tryed several configuration but same problem.
The only solution is to start UCCNC as defalt user than I can load my machine configuration in the configuration/profiles windows and than everything works ok .... any Ideas ?
Thanks
Sergio

Re: UCCNC crashing

PostPosted: Thu Jan 19, 2017 10:48 pm
by cncdrive
This happens as soon as you start the UCCNC? Or when exactly?

How do you run that command C:\UCCNC\UCCNC.exe /p MechMate exactly? From a shortcut icon or from a command prompt?

Can you zip your full UCCNC folder and upload it somewhere and give me the link so I could look for possible problems?

Re: UCCNC crashing

PostPosted: Fri Jan 20, 2017 8:21 am
by silverdog
Yes this happen while booting the program,
I run the program from a shortcut icon in the desktop
I will zip the whole UCCNC folder and send it to you
thank you

Re: UCCNC crashing

PostPosted: Sat Jan 21, 2017 1:23 pm
by silverdog
Here the link to the uccnc folder ...
https://www.dropbox.com/s/h1241st9y60px ... h.zip?dl=0

Re: UCCNC crashing

PostPosted: Sat Jan 21, 2017 2:52 pm
by cncdrive
I have tested your files and it seems the issue is a NullreferenceException which is caused by an earlier bug which allowed plugin calls on startup before the plugins where instanced.
Your version is 1.2021 and this issue was resolved only after that version.
I have now also tested your profile file with versions 1.2026 and 1.2029 and 1.2031 where this issue was already fixed and your profile runs fine with these versions.

So, I advice you to upgrade your software version to the current release version 1.2029.

Re: UCCNC crashing

PostPosted: Mon Jan 23, 2017 10:36 am
by charliem
IF I may chime in here. I am running 1.2029 and I still get that error message from time to time. See post

viewtopic.php?f=4&t=363

Re: UCCNC crashing

PostPosted: Mon Jan 23, 2017 12:52 pm
by A_Camera
I never had a crash when it is running, but now and then it happens that it crash before it is ready for running. I observed this in 1.2029 first (I don't remember having seen it before), but happens also in the withdrew version of 1.2030 as well as in 1.2031. I think it only happens when I double click to start UCCNC and then move focus to another window while UCCNC starts up. After that I must close UCCNC via Windows and the next start up, with the focus kept on UCCNC, the software starts up normally.

Re: UCCNC crashing

PostPosted: Mon Jan 23, 2017 1:38 pm
by cncdrive
charliem wrote:IF I may chime in here. I am running 1.2029 and I still get that error message from time to time. See post

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


I think you did not notice that the OP gets this error when starting up the software and not when the software is sitting there for days like in the linked thread.

Re: UCCNC crashing

PostPosted: Mon Jan 23, 2017 2:37 pm
by cncdrive
A_Camera wrote:I never had a crash when it is running, but now and then it happens that it crash before it is ready for running. I observed this in 1.2029 first (I don't remember having seen it before), but happens also in the withdrew version of 1.2030 as well as in 1.2031. I think it only happens when I double click to start UCCNC and then move focus to another window while UCCNC starts up. After that I must close UCCNC via Windows and the next start up, with the focus kept on UCCNC, the software starts up normally.


I've tried to start the UCCNC a few times now with focusing to other windows, but could not reproduce the crash.
Will try on a few other PCs also later and will check through the startup sequence also.

However the OP's issue is different it can be reproduced here from the files he sent and it was caused by a too early plugin functions call issue which issue was already resolved.

Re: UCCNC crashing

PostPosted: Mon Jan 23, 2017 3:22 pm
by ger21
I've never had UCCNC crash while starting, fwiw.