
Zoulburner
Sweden
Asked
— Edited

Hey. Thanks for a great program, but i need some help.
I can control my AR DRONE 1.0 from the ARC. BUT, when i add camera controller component in the program it takes about 15-30 seconds, then the program crashes with the following error reports:
OS: Windows 8 64bit
- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2014-11-24T20:14:22.000000000Z
EventRecordID 15106
Channel Application
Computer Zoulburner
Security
- EventData
ARC.exe
2014.11.18.0
546b9f48
gdiplus.dll
6.3.9600.17415
54503bef
c0000005
000e9d85
1bd0
01d00822b25a65f7
C:\Program Files (x86)\EZ-Robot Inc\EZ-Builder\EZ-Builder.exe
C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17415_none_dad8722c5bcc2d8f\gdiplus.dll
79e47332-7416-11e4-8312-50e549c467c1
This event is not displayed correctly because the underlying XML is not well formed. Below is the raw text of the event.
1026200x8000000000000015105ApplicationZoulburnerApplication: ARC.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at System.Drawing.SafeNativeMethods+Gdip.GdipDrawImageI(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32, Int32) at System.Drawing.Graphics.DrawImage(System.Drawing.Image, Int32, Int32) at EZ_B.Camera.(System.Object) at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart(System.Object)
Anyone know what to do? Best regards. Fredrik Sweden
Yes. It seems that the program crashes earlier when i activate tracking.
Okay, i'll continue to look into this.
Thx man!
I Bought a laptop with windows 7 today and thought that would help.
Crashed in below 20 seconds. this is what the log looks like if it helps you.
Not too strange it crashed almost instant with the laptop.
The ARC software i Downloaded today 2014-11-26 was set to highest (to the most left) in tracking speed by Default.
Moved the slider a bit to the right and it took atleast 3 minutes until it crashed again.
This is really a strange situation - yesterday I was flying our AR Drone v2 around the office until the batteries died with zero problems. We have many people using the Drone v2 with ARC without issues as well - i'm struggling to understand what can be causing this...
The strack trace mentions a thread - which a cross-threading issue would be my first solution. However, the invoke is called on the object when required and tested successfully yesterday. The access violation tells me the object may be attempted to be referenced twice during threading - but I do not see how that can happen either.
There are no blocks of code missing exception handling throughout the entire video system - .Net is surely behaving different within your environment and I do not know why.
I will create another build for you that removes the threading. It will slow the camera and interface down considerably, but if it works that will identify the issue.
Have you created a project for this example? If so, will you share it with me? Use the ATTACH FILE button in this forum to include the project
DJ, note that he is using a Drone 1, not a 2. Could something have broken when you added support for the 2?
Oh! He's using a v1? How did i not see that - geez! I must be losing my mind, it even says v1 in the subject and it still didn't click
Okay, i have been diving into the v2 code and pulling my hair out. Looks like i need to take a look at the v1 code. I know the v1 works, but haven't spent any time testing toward this issue because I thought it was the v2.