Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked — Edited

Generic Error Occurred In Gdi+

Hey,

Just a heads up, I am using Windows 8, new desktop, and I am using the camera QR feature in EZ-builder. Though, I get this "Generic error occured in GDI+" using any of the camera tracking features. After a few hours, I notice that the camera feature in ARC locks up, now all of my scripts still work, including voice reg., but to get the camera feature to work again, I have to close EZ-builder, that is when the error pops up to let me know that a problem had occurred, then open ARC back up, and the camera feature will work again, maybe for a few hours, or more, then locks up again. The camera itself still works with other programs, outside of EZ-builder, even if the camera feature locks up in EZ-Builder, but I still tried a different webcam just in case, still the same problem. I attached a picture of the error, and I am using the latest version 2-11-13, but it has been doing this with the previous versions.

Any help would be appreciated.

Thanks
User-inserted image

AI Support Bot
Related Content
Synthiam
#1  
Not sure why the error message I uploaded is not showing, It is a JPG, but I'll try a different format.
PRO
Synthiam
#2  
Interesting. Remove the word ARC from the image filename
United Kingdom
#3  
User-inserted image


I can't fix the problem but I can fix the image:)
#4  
Thanks for fixing the image RichMR2.
The problem is strange. It will work perfect for a right good while, then the camera feature just locks up, while everything else keeps working. *confused*
PRO
Synthiam
#5  
Interesting....

Does it only happen with QR Codes?

How about color, face or glyph?
United Kingdom
#6  
Can you copy and paste the details from that error message?

I assume clicking in where the text is (the "See the end of this message..." part, pressing Ctrl & A to select all, then Ctrl & C to copy. There is a lot more of the details not shown in the image which I expect would be useful to see and may indicate where the problem lies.
#7  
DJ ,

I mainly use the QR tracking, but I changed to the face tracking yesterday, just to try, and left it on overnight, and it was locked up this morning, just like it does with the QR code tracking, but all the other scripts were still working.

I have not tried the color, or glyph tracking though.



Rich, I will try coping, and posting the entire error. I have had the program up since noon, and as soon as it locks up I will be able to copy the error.
#8  
The Camera feature just locked up. ARC has been up and in use for about 6 hours.

I have pasted the error below. Hope this helps.....


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Bitmap.UnlockBits(BitmapData bitmapdata)
at EZ_B.CameraDetection.UnmanagedImageHelper.Unlock()
at EZ_B.Camera.StopCamera()
at EZ_Builder.UCForms.FormCameraDevice.(Object , FormClosedEventArgs )
at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at .WndProc(Message& )
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
EZ-Builder
Assembly Version: 2013.2.11.0
Win32 Version: 2013.02.11.00
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/ARC/ARC.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18022 built by: FX45RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
EZ_B
Assembly Version: 2013.2.11.0
Win32 Version: 2013.02.11.00
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/ARC/EZ_B.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
FFMPEG
Assembly Version: 2013.1.16.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/ARC/FFMPEG.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.18033 built by: FX45RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
aForge
Assembly Version: 2013.2.11.0
Win32 Version: 2013.02.11.00
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/ARC/aForge.DLL
----------------------------------------
EZ-QRCode
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/EZ-Robot%20Inc/ARC/EZ-QRCode.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
#9  
DJ,

So far so good. I downloaded the latest version 2-17-13 yesterday morning, and I have had ARC up and running since.

Checked on it this morning, and it is still working. The camera feature is not locking up. It seems to be holding up now. I will see how it does over the next couple of days of continuous use.

Thanks again,
John