UCCNC crash on large engrave jobs

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

UCCNC crash on large engrave jobs

Postby 3d0g » Wed Nov 07, 2018 8:02 pm

Clean 1.2049 install on a fresh load of Windows 10 64-bit. I've had this problem fairly regularly; especially on longer engrave jobs in the 20-30 min range. As soon as the job completes, UCCNC makes the e-stop chime and then exits. Annoying as hell as I lose home and have to carefully backtrack based on image size and engrave overrun distance.

Here's the details from the Windows logs. Please let me know if you need any more info.

Log Name: Application
Source: Windows Error Reporting
Date: 11/7/2018 12:31:44 PM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: SHOPPC
Description:
Fault bucket 1423605448542644787, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 2231287277438800698

Problem signature:
P1: uccnc.exe
P2: 1.0.0.0
P3: 5bb1f140
P4: UCCNC
P5: 1.0.0.0
P6: 5bb1f140
P7: 7f9
P8: 40
P9: System.NullReferenceException
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9FAD.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA088.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA172.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA2CA.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAE16.tmp.mdmp
\\?\C:\Users\jeff\AppData\Local\Temp\WERBD4A.tmp.WERDataCollectionStatus.txt

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_uccnc.exe_7a175fd066734e3ada675245c1cf49ead5a4d59_00000000_cab_5aceeee6

Analysis symbol:
Rechecking for solution: 0
Report Id: ec72305f-2adc-4787-b825-68aa0cc67d3d
Report Status: 268435464
Hashed bucket: 4eacf066180705e503c1a99ce4b1ea33
Cab Guid: f2ef02a9-ece9-4947-8ef7-1ff4fb96933a
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-11-07T19:31:44.602699300Z" />
<EventRecordID>3226</EventRecordID>
<Channel>Application</Channel>
<Computer>SHOPPC</Computer>
<Security />
</System>
<EventData>
<Data>1423605448542644787</Data>
<Data>5</Data>
<Data>CLR20r3</Data>
<Data>Not available</Data>
<Data>2231287277438800698</Data>
<Data>uccnc.exe</Data>
<Data>1.0.0.0</Data>
<Data>5bb1f140</Data>
<Data>UCCNC</Data>
<Data>1.0.0.0</Data>
<Data>5bb1f140</Data>
<Data>7f9</Data>
<Data>40</Data>
<Data>System.NullReferenceException</Data>
<Data>
</Data>
<Data>
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9FAD.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA088.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA172.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA2CA.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAE16.tmp.mdmp
\\?\C:\Users\jeff\AppData\Local\Temp\WERBD4A.tmp.WERDataCollectionStatus.txt</Data>
<Data>C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_uccnc.exe_7a175fd066734e3ada675245c1cf49ead5a4d59_00000000_cab_5aceeee6</Data>
<Data>
</Data>
<Data>0</Data>
<Data>ec72305f-2adc-4787-b825-68aa0cc67d3d</Data>
<Data>268435464</Data>
<Data>4eacf066180705e503c1a99ce4b1ea33</Data>
<Data>f2ef02a9-ece9-4947-8ef7-1ff4fb96933a</Data>
</EventData>
</Event>
Attachments
Report-wer.zip
(4.64 KiB) Downloaded 771 times
3d0g
 
Posts: 75
Joined: Sat Apr 14, 2018 1:52 am

Re: UCCNC crash on large engrave jobs

Postby Haik » Sat Nov 10, 2018 9:34 am

To further research you'll want to roundup and review files referenced that are located (on your PC) at C:\ProgramData\Microsoft\Windows\WER\Temp\
These files will have added detail on the System.NullReferenceException, though I doubt the info will help you directly it should be useful to UCCNC support. Unhandled exceptions are painful.
Haik
 
Posts: 35
Joined: Fri Sep 08, 2017 6:01 pm

Re: UCCNC crash on large engrave jobs

Postby cncdrive » Sat Nov 10, 2018 12:01 pm

I guess that your system went out of memory, maybe it is memory error of your computer or the file is really that large and it just runs out of memory. But ofcourse this is just a guess, should see your file.
However the newer UCCNC versions handle the memory differently as those versions have separate x86 and x64 versions.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crash on large engrave jobs

Postby 3d0g » Sat Nov 10, 2018 4:52 pm

Haik wrote:To further research you'll want to roundup and review files referenced that are located (on your PC) at C:\ProgramData\Microsoft\Windows\WER\Temp\
These files will have added detail on the System.NullReferenceException, though I doubt the info will help you directly it should be useful to UCCNC support. Unhandled exceptions are painful.


There was nothing in Temp\. I zipped up and attached everything WER related.
3d0g
 
Posts: 75
Joined: Sat Apr 14, 2018 1:52 am

Re: UCCNC crash on large engrave jobs

Postby 3d0g » Sat Nov 10, 2018 4:56 pm

cncdrive wrote:I guess that your system went out of memory, maybe it is memory error of your computer or the file is really that large and it just runs out of memory. But ofcourse this is just a guess, should see your file.
However the newer UCCNC versions handle the memory differently as those versions have separate x86 and x64 versions.


Got 8G so that seems somewhat unlikely, but I'll keep Task Manager running during future jobs to monitor memory use. Where do I find newer versions? I'm running the latest from https://cncdrive.com/UCCNC.html.
3d0g
 
Posts: 75
Joined: Sat Apr 14, 2018 1:52 am

Re: UCCNC crash on large engrave jobs

Postby 3d0g » Thu Nov 15, 2018 9:41 pm

OK, busy day in the shop. Lot of jobs on the mill and laser. I installed UCCNC 1.2106 and experienced no crashes. Memory usage stayed constant at about 2.4G out of 8G total and interestingly, CPU runs at a constant 60%, even when UCCNC is idling. During an engraving run, it would periodically spike to 100% with no apparent harm to the job.

Did see a couple of these errors in the log. My research says these are harmless but the application is still doing something it shouldn't with memory.

Log Name: Application
Source: Windows Error Reporting
Date: 11/15/2018 9:54:48 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: SHOPPC
Description:
Fault bucket 1931608961713367931, type 5
Event Name: RADAR_PRE_LEAK_64
Response: Not available
Cab Id: 0

Problem signature:
P1: UCCNC.exe
P2: 1.0.0.0
P3: 10.0.17134.2.0.0
P4:
P5:
P6:
P7:
P8:
P9:
P10:
3d0g
 
Posts: 75
Joined: Sat Apr 14, 2018 1:52 am

Re: UCCNC crash on large engrave jobs

Postby cncdrive » Thu Nov 15, 2018 10:11 pm

If you see that high CPU usage then your computer is not suitable for the UCCNC, it is too weak or the graphics card driver is not OK.
The issue if the graphics card is too weak or the drivers are not installed at all or unoptimal one is installed by Windows (usually happens if the drivers are not installed and Windows updates automatically installs a driver.) then the graphics acceleration is done by the CPU instead of the processor of the graphics card (GPU) and this is very unoptimal and power consuming, because then lots of data has to be continously copied between the video memory and the system RAM. The UCCNC updates the screen drawings with high 20msec and it does lots of images drawings which happens directly on the video card, so it takes very little power as the data is already there in the video memory, but if the card drivers are not OK then the mentioned copying of the data is nessessary and it is lots of data with high frequency, so it takes lots of CPU time.

Or if the graphics memory (VRAM) is too low then the same thing happens as described above.

The UCCNC otherwise requires little CPU time and relatively small RAM (compared to the average todays' RAM sizes in average computers), the most power is needed for the GUI graphics, because it is OpenGL with hardware graphics acceleration and so a relatively powerful videocard is adviced. And by powerful I mean what was powerful 10years ago, and an average nowadays. :)

My computer is a powerful one, it has DDR4 RAM 32GBytes and I7 processor and a gamer video card and the UCCNC eats 0-1% of CPU even when running large g-code files. And when in idle it is always 0%.
But the UCCNC runs fine even on higher/mid-end tablets, so it is more likely that it will be a video card drivers issue than a physical power problem of your computer unless your computer is really old with old architecture which is by design slower and less powerful than todays' computers, no matter how much memory and how powerful videocard you put in it...
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC crash on large engrave jobs

Postby Robertspark » Fri Nov 16, 2018 8:29 am

Have a look at what other applications you have running in the background as there may be something hogging CPU load

Kill off all unnecessary applications which are listed to run at startup.

Check for viruses, and other malware that may have setup, clean out temporary files and folders and the registry of dead links

This thread started off with a clean windows install, have you completed all of the windows updates or are they still running in the background.

Go to your graphics card hardware vendor and download their latest drivers and don't rely on the default windows 10 drivers

Software I use from time to time
Ccleaner
Revo uninstaller
Spybot Search & destroy
Malwarebytes
Avira
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: UCCNC crash on large engrave jobs

Postby 3d0g » Fri Nov 16, 2018 2:26 pm

cncdrive wrote:If you see that high CPU usage then your computer is not suitable for the UCCNC, it is too weak or the graphics card driver is not OK.
The issue if the graphics card is too weak or the drivers are not installed at all or unoptimal one is installed by Windows (usually happens if the drivers are not installed and Windows updates automatically installs a driver.) then the graphics acceleration is done by the CPU instead of the processor of the graphics card (GPU) and this is very unoptimal and power consuming, because then lots of data has to be continously copied between the video memory and the system RAM. The UCCNC updates the screen drawings with high 20msec and it does lots of images drawings which happens directly on the video card, so it takes very little power as the data is already there in the video memory, but if the card drivers are not OK then the mentioned copying of the data is nessessary and it is lots of data with high frequency, so it takes lots of CPU time.

Or if the graphics memory (VRAM) is too low then the same thing happens as described above.


Thanks, good tips. Computer was custom-built with a Gigbyte dual-core board that was tested for extremely low latency to use with LinuxCNC. Graphics card is on-board AMD Radeon HD 6310 graphics (DirectX11). I'll have a look at the installed driver as indeed, I didn't have to install a specific one with the Windows 10 installation. VRAM is adjustable so I'll play with that as well.
3d0g
 
Posts: 75
Joined: Sat Apr 14, 2018 1:52 am

Re: UCCNC crash on large engrave jobs

Postby 3d0g » Fri Nov 16, 2018 2:28 pm

Robertspark wrote:Have a look at what other applications you have running in the background as there may be something hogging CPU load

Kill off all unnecessary applications which are listed to run at startup.

Check for viruses, and other malware that may have setup, clean out temporary files and folders and the registry of dead links

This thread started off with a clean windows install, have you completed all of the windows updates or are they still running in the background.

Go to your graphics card hardware vendor and download their latest drivers and don't rely on the default windows 10 drivers

Software I use from time to time
Ccleaner
Revo uninstaller
Spybot Search & destroy
Malwarebytes
Avira


Thanks Robert. Retired from 30 years in IT and security so I've been around computers just a bit. :D

This is a dedicated shop PC so it never runs anything else and running any software alongside something as timing critical as CNC would be unwise.
3d0g
 
Posts: 75
Joined: Sat Apr 14, 2018 1:52 am

Next

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 2 guests

cron