Asked — Edited
Resolved Resolved by DJ Sures!

Crashing While Using Ar Drone (1.0) Camera In ARC

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


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

#9  

I tested again.

All the way to the left: ~1 minute then crash.

All the way to the right: still running after 10 minutes it seems now..

Hmm...

#10  

And now.. after 12 minutes it crashed with the slider all the way to the right.

PRO
Synthiam
#11  

okay, so the slider to the right takes longer to crash - interesting... let me take a look over here locally and see what I can find.

The video stream is decoded using the ffmpeg library - so the issue appears to be with the framerate specified through that library. I'll take a look and get back to you

#12  

Ok. Thanks. But i dont understand why it doesn't crash when i do the exact think but with the ps3 eye camera.. and when using that one i can have the slider all respekt way to the left and it still doesn't crash..

Well.. lets see it you find anything. :-)

PRO
Synthiam
#13  

The reason it does not crash when not using the AR Drone camera is the reason stated above - which I am investigating. The AR Drone uses the ffmpeg library for decoding the video stream. The AR Drone (only the ar drone) appears to have an issue with ffmpeg library. I am investigating:)

PRO
Synthiam
#14  

Believe I have solved this issue - however, I cannot be certain because I'm unable to reproduce it on our PC's. I will post an update for you to test in this thread later tonight.

#15  

Yay!

You are the best..

Thanks! :-)

And later tonight is? cause it seems that you COME to work when i come HOME from mine ;-)

its 19:45 CET here in Sweden :-)