-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I have successfully built the pickit3-programmer and installed it. I did get the warning described here, but it seems to not cause build or installation to fail. The program is now at /opt/microchip/pickit3/ with a symlink in /usr/local/bin, which is what the Makefile intends.
Upon launch of the program, I get the following Exception almost immediately:
$ pickit3
Unhandled Exception:
System.OutOfMemoryException: Not enough memory to complete operation [GDI+ status: OutOfMemory]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x000b7] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FromImage (System.Drawing.Image image) [0x00039] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at PICkit2V2.DialogLogic.getDisplayGraph (System.Int32 zoom) [0x00037] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at PICkit2V2.DialogLogic.drawSampleData (System.Int32 zoom, System.Int32 triggerPos, System.Int32 startPos) [0x00029] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at PICkit2V2.DialogLogic.updateDisplay () [0x00000] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at PICkit2V2.DialogLogic..ctor () [0x0010b] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at (wrapper remoting-invoke-with-check) PICkit2V2.DialogLogic..ctor()
at PICkit2V2.FormPICkit2..ctor () [0x00016] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at (wrapper remoting-invoke-with-check) PICkit2V2.FormPICkit2..ctor()
at PICkit2V2.Program.Main () [0x0000b] in <d7cb9c31fb784b6ab82298931caf95e5>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.OutOfMemoryException: Not enough memory to complete operation [GDI+ status: OutOfMemory]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x000b7] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FromImage (System.Drawing.Image image) [0x00039] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at PICkit2V2.DialogLogic.getDisplayGraph (System.Int32 zoom) [0x00037] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at PICkit2V2.DialogLogic.drawSampleData (System.Int32 zoom, System.Int32 triggerPos, System.Int32 startPos) [0x00029] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at PICkit2V2.DialogLogic.updateDisplay () [0x00000] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at PICkit2V2.DialogLogic..ctor () [0x0010b] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at (wrapper remoting-invoke-with-check) PICkit2V2.DialogLogic..ctor()
at PICkit2V2.FormPICkit2..ctor () [0x00016] in <d7cb9c31fb784b6ab82298931caf95e5>:0
at (wrapper remoting-invoke-with-check) PICkit2V2.FormPICkit2..ctor()
at PICkit2V2.Program.Main () [0x0000b] in <d7cb9c31fb784b6ab82298931caf95e5>:0
The computer should not be out of memory. It has about 8 gigs and 6 were free at the time according to top. I traced through the source following the printed call stack, but I am not sure what the problem may be. If I had to guess, I do not have a correctly configured dotnet or I am missing some dependency?
Machine is running archlinux with dotnet-runtime, dotnet-sdk, mono, and nuget packages installed
Any help would be appreciated. Please let me know.