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

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

PRO
Synthiam
#1  
  1. Are you using the latest ARC?

  2. Do you see any of the camera video before the error?

  3. Can you please use the Diagnostic Report and paste the response here? Diagnostic report can be found under Add Control -> General -> Diagnostic Report

  4. Have you performed the usual Microsoft Windows debugging procedures? Such as uninstall application, reboot, install application? :)

#2  

Hello, Thanks for the fast reply.

  1. Yes i am using the latest one.

2)I see the camera from the drone like 15-30 seconds. And if i use a webcamera it doesnt crash at all.

3


µTorrent
Adblock Plus for IE
Archeage
ASIO4ALL
BankID säkerhetsprogram
Battlefield 3
Battlefield 4
Battlefield Heroes
Battlelog Web Plugins
CanoScan Toolbox Ver4.9
CL-Eye Driver
Cyberduck 4.6 (15810)
D3DX10
D-Link AirPremier AP Manager for DWL-3200AP
EZ-Builder
Fotogalleriet
Glyph
GRID
GRID Autosport
Guild Wars 2
ImgBurn
LPT System Updater Service
Microsoft ASP.NET MVC 4 Runtime
Microsoft SQL Server 2005 Compact Edition [ENU]
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161
Microsoft Visual C++ 2010  x86 Redistributable - 10.0.40219
Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.60610
Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.60610
Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.60610
Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.60610
Movie Maker
MSVCRT
MSVCRT110
MyMaptuner
Native Instruments Massive
Native Instruments Service Center
NVIDIA PhysX
OpenAL
Origin
Phoenix R/C®
Photo Common
Photo Gallery
PunkBuster Services
Rocksmith 2014
Samsung Magician
Sony Mobile Update Engine
Sony PC Companion 2.10.235
Spotify
Steam
TeamSpeak 3 Client
TeamViewer 9
Uplay
Windows Live Communications Platform
Windows Live Essentials
Windows Live Installer
Windows Live Photo Common
Windows Live PIMT Platform
Windows Live SOXE
Windows Live SOXE Definitions
Windows Live UX Platform
Windows Live UX Platform Language Pack
Virtual DJ Pro Full - Atomix Productions




Ping 192.168.1.1 replied Success took 2





Name: Wi-Fi
Description: TP-LINK 150Mbps Wireless N Adapter
Status: Up
Receive Only: False
DHCP: True
Auto Private Addressing Active: False
Auto Private Addressing Enabled: True
MTU: 1500
DHCP Server: 192.168.1.1




Win32_NetworkAdapter
--------------------------------------------------------------------------------------

TP-LINK 150Mbps Wireless N Adapter
AdapterType = Ethernet 802.3
AdapterTypeId = 0
Availability = 3
Caption = [00000000] TP-LINK 150Mbps Wireless N Adapter
ConfigManagerErrorCode = 0
ConfigManagerUserConfig = False
CreationClassName = Win32_NetworkAdapter
Description = TP-LINK 150Mbps Wireless N Adapter
DeviceID = 0
GUID = {8707EE00-25BB-44A3-9D16-39E26D652456}
Index = 0
Installed = True
InterfaceIndex = 3
MACAddress = xxxxxxxx
Manufacturer = Qualcomm Atheros Communications Inc.
MaxNumberControlled = 0
Name = TP-LINK 150Mbps Wireless N Adapter
NetConnectionID = Wi-Fi
NetConnectionStatus = 2
NetEnabled = True
PhysicalAdapter = True
PNPDeviceID = PCI\VEN_168C&DEV_002D&SUBSYS_0301168C&REV_01\4&340CE6FE&0&30A4
PowerManagementSupported = False
ProductName = TP-LINK 150Mbps Wireless N Adapter
ServiceName = athr
Speed = 54000000
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060

Microsoft Kernel Debug Network Adapter
Availability = 3
Caption = [00000001] Microsoft Kernel Debug Network Adapter
ConfigManagerErrorCode = 0
ConfigManagerUserConfig = False
CreationClassName = Win32_NetworkAdapter
Description = Microsoft Kernel Debug Network Adapter
DeviceID = 1
Index = 1
Installed = True
InterfaceIndex = 2
Manufacturer = Microsoft
MaxNumberControlled = 0
Name = Microsoft Kernel Debug Network Adapter
PhysicalAdapter = False
PNPDeviceID = ROOT\KDNIC\0000
PowerManagementSupported = False
ProductName = Microsoft Kernel Debug Network Adapter
ServiceName = kdnic
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060

Realtek PCIe GBE Family Controller
Availability = 3
Caption = [00000002] Realtek PCIe GBE Family Controller
ConfigManagerErrorCode = 22
ConfigManagerUserConfig = False
CreationClassName = Win32_NetworkAdapter
Description = Realtek PCIe GBE Family Controller
DeviceID = 2
GUID = {0FEEE74F-E22A-4F2A-8605-19F9702E42A9}
Index = 2
Installed = True
InterfaceIndex = 4
Manufacturer = Realtek
MaxNumberControlled = 0
Name = Realtek PCIe GBE Family Controller
NetConnectionID = Ethernet
NetConnectionStatus = 0
NetEnabled = False
PhysicalAdapter = True
PNPDeviceID = PCI\VEN_10EC&DEV_8168&SUBSYS_E0001458&REV_06\4&33588FB7&0&0048
PowerManagementSupported = False
ProductName = Realtek PCIe GBE Family Controller
ServiceName = RTL8168
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060

Microsoft Wi-Fi Direct Virtual Adapter
Availability = 3
Caption = [00000003] Microsoft Wi-Fi Direct Virtual Adapter
ConfigManagerErrorCode = 22
ConfigManagerUserConfig = False
CreationClassName = Win32_NetworkAdapter
Description = Microsoft Wi-Fi Direct Virtual Adapter
DeviceID = 3
Index = 3
Installed = True
InterfaceIndex = 5
Manufacturer = Microsoft
MaxNumberControlled = 0
Name = Microsoft Wi-Fi Direct Virtual Adapter
PhysicalAdapter = False
PNPDeviceID = {5D624F94-8850-40C3-A3FA-A4FD2080BAF3}\VWIFIMP_WFD\5&72B66D9&0&01
PowerManagementSupported = False
ProductName = Microsoft Wi-Fi Direct Virtual Adapter
ServiceName = vwifimp
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060

Microsoft ISATAP Adapter
Availability = 3
Caption = [00000004] Microsoft ISATAP Adapter
CreationClassName = Win32_NetworkAdapter
Description = Microsoft ISATAP Adapter
DeviceID = 4
Index = 4
Installed = True
InterfaceIndex = 6
MaxNumberControlled = 0
Name = Microsoft ISATAP Adapter
PhysicalAdapter = False
PowerManagementSupported = False
ProductName = Microsoft ISATAP Adapter
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060

Teredo Tunneling Pseudo-Interface
AdapterType = Tunnel
AdapterTypeId = 15
Availability = 3
Caption = [00000005] Microsoft Teredo Tunneling Adapter
ConfigManagerErrorCode = 0
ConfigManagerUserConfig = False
CreationClassName = Win32_NetworkAdapter
Description = Microsoft Teredo Tunneling Adapter
DeviceID = 5
Index = 5
Installed = True
InterfaceIndex = 7
Manufacturer = Microsoft
MaxNumberControlled = 0
Name = Teredo Tunneling Pseudo-Interface
PhysicalAdapter = False
PNPDeviceID = SWD\IP_TUNNEL_VBUS\TEREDO_TUNNEL_DEVICE
PowerManagementSupported = False
ProductName = Microsoft Teredo Tunneling Adapter
ServiceName = tunnel
Speed = 100000
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060

Microsoft ISATAP Adapter #2
AdapterType = Tunnel
AdapterTypeId = 15
Availability = 3
Caption = [00000006] Microsoft ISATAP Adapter
ConfigManagerErrorCode = 0
ConfigManagerUserConfig = False
CreationClassName = Win32_NetworkAdapter
Description = Microsoft ISATAP Adapter
DeviceID = 6
Index = 6
Installed = True
InterfaceIndex = 8
Manufacturer = Microsoft
MaxNumberControlled = 0
Name = Microsoft ISATAP Adapter #2
PhysicalAdapter = False
PNPDeviceID = SWD\IP_TUNNEL_VBUS\ISATAP_1
PowerManagementSupported = False
ProductName = Microsoft ISATAP Adapter
ServiceName = tunnel
Speed = 100000
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060

Microsoft ISATAP Adapter
Availability = 3
Caption = [00000007] Microsoft ISATAP Adapter
CreationClassName = Win32_NetworkAdapter
Description = Microsoft ISATAP Adapter
DeviceID = 7
Index = 7
Installed = True
InterfaceIndex = 9
MaxNumberControlled = 0
Name = Microsoft ISATAP Adapter
PhysicalAdapter = False
PowerManagementSupported = False
ProductName = Microsoft ISATAP Adapter
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060

Microsoft 6to4 Adapter
Availability = 3
Caption = [00000008] Microsoft 6to4 Adapter
CreationClassName = Win32_NetworkAdapter
Description = Microsoft 6to4 Adapter
DeviceID = 8
Index = 8
Installed = True
InterfaceIndex = 10
MaxNumberControlled = 0
Name = Microsoft 6to4 Adapter
PhysicalAdapter = False
PowerManagementSupported = False
ProductName = Microsoft 6to4 Adapter
SystemCreationClassName = Win32_ComputerSystem
SystemName = ZOULBURNER
TimeOfLastReset = 20141124130236.489165+060




Win32_NetworkAdapterConfiguration
--------------------------------------------------------------------------------------

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=0
Caption = [00000000] TP-LINK 150Mbps Wireless N Adapter
DatabasePath = %SystemRoot%\System32\drivers\etc
DefaultIPGateway = 192.168.1.1 
Description = TP-LINK 150Mbps Wireless N Adapter
DHCPEnabled = True
DHCPLeaseExpires = 20141125110946.000000+060
DHCPLeaseObtained = 20141125104946.000000+060
DHCPServer = 192.168.1.1
DNSDomainSuffixSearchOrder = 
DNSEnabledForWINSResolution = False
DNSHostName = Zoulburner
DomainDNSRegistrationEnabled = False
FullDNSRegistrationEnabled = True
GatewayCostMetric = 0 
Index = 0
InterfaceIndex = 3
IPAddress = 192.168.1.2 fe80::d842:dff9:ee16:db95 
IPConnectionMetric = 25
IPEnabled = True
IPFilterSecurityEnabled = False
IPSecPermitIPProtocols = 
IPSecPermitTCPPorts = 
IPSecPermitUDPPorts = 
IPSubnet = 255.255.255.0 64 
MACAddress = xxxxxxxx
ServiceName = athr
SettingID = {8707EE00-25BB-44A3-9D16-39E26D652456}
TcpipNetbiosOptions = 0
WINSEnableLMHostsLookup = True

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=1
Caption = [00000001] Microsoft Kernel Debug Network Adapter
Description = Microsoft Kernel Debug Network Adapter
DHCPEnabled = True
Index = 1
InterfaceIndex = 2
IPEnabled = False
ServiceName = kdnic
SettingID = {8718928D-CBEB-45EA-A621-800A9249001D}

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=2
Caption = [00000002] Realtek PCIe GBE Family Controller
Description = Realtek PCIe GBE Family Controller
DHCPEnabled = True
Index = 2
InterfaceIndex = 4
IPEnabled = False
ServiceName = RTL8168
SettingID = {0FEEE74F-E22A-4F2A-8605-19F9702E42A9}

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=3
Caption = [00000003] Microsoft Wi-Fi Direct Virtual Adapter
Description = Microsoft Wi-Fi Direct Virtual Adapter
DHCPEnabled = True
Index = 3
InterfaceIndex = 5
IPEnabled = False
ServiceName = vwifimp
SettingID = {7C5268BA-1E9B-431A-9B40-AA4B73F43C3C}

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=4
Caption = [00000004] Microsoft ISATAP Adapter
Description = Microsoft ISATAP Adapter
DHCPEnabled = False
Index = 4
InterfaceIndex = 6
IPEnabled = False
ServiceName = tunnel
SettingID = {68FCEBE9-F843-4F9A-83FF-E367E08B6081}

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=5
Caption = [00000005] Microsoft Teredo Tunneling Adapter
Description = Microsoft Teredo Tunneling Adapter
DHCPEnabled = False
Index = 5
InterfaceIndex = 7
IPEnabled = False
ServiceName = tunnel
SettingID = {49CF090E-CB7C-4A36-B3C2-3C2A3C106D41}

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=6
Caption = [00000006] Microsoft ISATAP Adapter
Description = Microsoft ISATAP Adapter
DHCPEnabled = False
Index = 6
InterfaceIndex = 8
IPEnabled = False
ServiceName = tunnel
SettingID = {B1678277-03EA-4F2B-A6EC-896A32F1BE2A}

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=7
Caption = [00000007] Microsoft ISATAP Adapter
Description = Microsoft ISATAP Adapter
DHCPEnabled = False
Index = 7
InterfaceIndex = 9
IPEnabled = False
ServiceName = tunnel
SettingID = {2B4A48D8-C3E7-4C7B-9850-6B437F0A084A}

\\ZOULBURNER\root\cimv2:Win32_NetworkAdapterConfiguration.Index=8
Caption = [00000008] Microsoft 6to4 Adapter
Description = Microsoft 6to4 Adapter
DHCPEnabled = False
Index = 8
InterfaceIndex = 10
IPEnabled = False
ServiceName = tunnel
SettingID = {8903518B-218A-40FA-A086-DDD9AFE64396}




Win32_ComputerSystem
--------------------------------------------------------------------------------------

ZOULBURNER
AdminPasswordStatus = 3
AutomaticManagedPagefile = False
AutomaticResetBootOption = True
AutomaticResetCapability = True
BootROMSupported = True
BootupState = Normal boot
Caption = ZOULBURNER
ChassisBootupState = 2
CreationClassName = Win32_ComputerSystem
CurrentTimeZone = 60
DaylightInEffect = False
Description = AT/AT COMPATIBLE
DNSHostName = Zoulburner
Domain = WORKGROUP
DomainRole = 0
EnableDaylightSavingsTime = True
FrontPanelResetStatus = 3
HypervisorPresent = False
InfraredSupported = False
KeyboardPasswordStatus = 3
Manufacturer = Gigabyte Technology Co., Ltd.
Model = GA-990XA-UD3
Name = ZOULBURNER
NetworkServerModeEnabled = True
NumberOfLogicalProcessors = 8
NumberOfProcessors = 1
PartOfDomain = False
PauseAfterReset = -1
PCSystemType = 1
PCSystemTypeEx = 1
PowerOnPasswordStatus = 3
PowerState = 0
PowerSupplyState = 2
ResetCapability = 1
ResetCount = -1
ResetLimit = -1
Roles = LM_Workstation LM_Server NT Potential_Browser Master_Browser 
Status = OK
SystemType = x64-based PC
ThermalState = 2
TotalPhysicalMemory = 17160171520
WakeUpType = 6
Workgroup = WORKGROUP

  1. Yes i have :-)

Thank you so much for helping. Best regards. Fredrik Sweden

#3  

See anything wrong? I am really interested in getting color tracking to work :-) my firmware on the Drone is 1.11.5 i have also tested 1.7.6 but no difference..

PRO
Synthiam
#4  

Looks like your PC is surely fast enough - my first thought was an error due to performance issue. It works on our PC's here for testing, so let me walk through a few things we can do to diagnose the issue...

i'd like you to configure the tracking speed to very slow half speed before connecting to the AR Drone. When you do this, does the camera last longer?

User-inserted image

#5  

Ill try.. wait 5 min :-)

No..

It crashes in less than a minute.

#6  

I can give you access to my pc through teamviewer If you want to test something..? Just give me an email to send number and password to.

#7  

Actually, If I set the tracking speed to slowest it takes like 1 minute before it crashes.. and if set to fastest it takes like 30 seconds...

And if i use my ps3 eyetoy camera it doesn't crash at all... :-/

PRO
Synthiam
#8  

To clarify...

  • slider is all the way to the LEFT it crashes in 30 seconds?
  • slider is all the way to the RIGHT it crashes in 1 minute?
#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 :-)

#16  

Otherwise, if you wanna test it yourself i can give you the teamviewer adress so you can control my pc, just send a mail to me: dracospiritus@gmail.com

Thats also the booking email for worlds best firebreather ;-)

https://www.google.se/?gws_rd=ssl#q=guinness+world+records+fredrik+karlsson&spell=1

User-inserted image

PRO
Synthiam
#17  

Try this: https://www.dropbox.com/s/u0pr12d40k1ot8t/EZ-Builder%20Installer.msi?dl=0

#18  

Nope, Crashing Copy pasted from event viewer:


APPLICATION ERROR:
Faulting application name: ARC.exe, version: 2014.11.26.0, time stamp: 0x54764855
Faulting module name: gdiplus.dll, version: 6.3.9600.17415, time stamp: 0x54503bef
Exception code: 0xc0000005
Fault offset: 0x000e9d85
Faulting process id: 0x1c50
Faulting application start time: 0x01d009ca22d02c44
Faulting application path: C:\Program Files (x86)\EZ-Robot Inc\ARC.ARC.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17415_none_dad8722c5bcc2d8f\gdiplus.dll
Report Id: a4d0eccd-75bd-11e4-8313-b8b52a55ab23
Faulting package full name: 
Faulting package-relative application ID: 


.NET RUNTIME
Application: 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)

PRO
Synthiam
#19  

Interesting - okay... i'll look deeper into the code :)

PRO
Synthiam
#20  

When you use the camera control, are any Tracking Modes specified? For example, do you have color tracking or anything checked?

#21  

Yes. I have tracking enabled. even if i just have camera stream aktive and no tracking it still crashes.

#22  

Probably won't make any difference but in your first post you stated you have Windows 8.... 8.1 is a free upgrade and you never know it might even fix your camera issues...

#23  

Thx. But i have 8.1 :-) My bad.

I borrowed a windows 7 pc and it worked alot better on that one..

Sadla i am using windows 8.1 on my own pc..

PRO
Synthiam
#24  

Is there a time difference between crashing with and without tracking modes specified?

#25  

Yes. It seems that the program crashes earlier when i activate tracking.

PRO
Synthiam
#26  

Okay, i'll continue to look into this.

#28  

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.


.Net Runtime

Application: 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)


Application error

Faulting application name: ARC.exe, version: 2014.11.26.0, time stamp: 0x54760c70
Faulting module name: gdiplus.dll, version: 6.1.7600.16385, time stamp: 0x4a5bd976
Exception code: 0xc0000005
Fault offset: 0x000b31a0
Faulting process id: 0x3d8
Faulting application start time: 0x01d00b562f6b2cfc
Faulting application path: C:\Program Files (x86)\EZ-Robot Inc\ARC.ARC.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16385_none_72fc7cbf861225ca\gdiplus.dll
Report Id: e3261f51-7749-11e4-a43b-001641dcd097

#29  

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.

PRO
Synthiam
#30  

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

#31  

DJ, note that he is using a Drone 1, not a 2. Could something have broken when you added support for the 2?

PRO
Synthiam
#32  

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 :P

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.

#33  

I am not using any specific project.

I just add drone and camera and go to settings under drone control to change to V1 and Click connect. I haven't saved any project yet cause it crashes..

And yeah. Drone 1.0 it is :-)

#34  

Seems its not an issue with my specific pc. I have tried several different pc's with same results.

Have a nice weekend and i hope you find the issue.

PRO
Synthiam
#35  

Wonder if it's an issue with the country configuration? Do you have your locale set to Sweden and is the keyboard different?

I'm unable to reproduce the issue. We have many computers here and it works with all the ones I tested. I'm confuzzled

#36  

I tried to change the region without luck.

But its still confusing that the ps eye is working flawless..

i begin to loose my hair XD

you are more then welcome to try my pc over teamviewer.

Have a good saturday!

PRO
Synthiam
#37  

I'm working on it today further - losing my hair as well :)

#38  

Maybe you sell Ar drone 2.0?

Im starting to give up..

#39  

The Drone 2 is significantly more stable than the drone 1, and is compatible with the Flight Recorder/GPS chip which allows some really cool stuff, but don't upgrade just because of ARC. I am sure DJ will figure this out.

Alan

#40  

Ok. Thanks for your input.

I will wait a little more then..

:-)

PRO
Synthiam
#41  

Try this: https://www.dropbox.com/s/u0pr12d40k1ot8t/EZ-Builder%20Installer.msi?dl=0

I'm not sure what else can be done...

#42  

Crashed with that one also :-(



.NET Runtime

Application: 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 EZ_B.Camera.SetCaptureImage(System.Drawing.Bitmap)
   at EZ_B.Camera.(System.Drawing.Bitmap)
   at EZ_B.ARDrone.ARDrone.()
   at EZ_B.ARDrone.ARDrone.(System.Object, System.ComponentModel.DoWorkEventArgs)
   at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, System.Object[] ByRef)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()



Application error

Faulting application name: ARC.exe, version: 2014.11.29.0, time stamp: 0x547a5620
Faulting module name: gdiplus.dll, version: 6.3.9600.17415, time stamp: 0x54503bef
Exception code: 0xc0000005
Fault offset: 0x000e9d85
Faulting process id: 0x173c
Faulting application start time: 0x01d00c8c709fc333
Faulting application path: C:\Program Files (x86)\EZ-Robot Inc\ARC.ARC.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17415_none_dad8722c5bcc2d8f\gdiplus.dll
Report Id: dc3b1577-787f-11e4-8314-c98303d51552
Faulting package full name: 
Faulting package-relative application ID: 

PRO
Synthiam
#43  

Okay - try this.... I would like you to uninstall the developer version of ARC that I sent you and install the latest production version. Here are the instructions:

  1. Uninstall ARC (Because if you do not, there will be an error when installing the production copy)

  2. Download the latest from: http://synthiam.com/Products/ARC

  3. Try it

#44  

Tried it, failed..

Same results as before.

What system are you using?

i am using windows 8.1 64-bit

8 core cpu..

Bulgaria
#45  

Hey. I am wondering if this have something to do with some sort of unhanded exception. Seems like as faster it is acquiring the pictures from the network stream, the faster it crashing.

PRO
Synthiam
#46  

There are no unhandled exceptions - I have made sure of that the other day. The reason it appears this way is because the error is bypassing the exception handling is due to the type of error that is being thrown. The access violation error requires a compiler parameter on the method which tells the runtime interpreter to handle the access violation as a managed exception. Handling an access violation exception in this context will not help us.

It appeared the error was an access violation due to a cross threading issue. I moved the thread further back in the callstack and combined processing of two threads into one - which will actually speed up the camera processing. The AR Drone v1 returns a pixel format which is incompatible with the 24bit rgb that is required for vision analysis - the method in which the pixel format was modified was changed as well. I ran performance tests on the new method which is significantly faster. Because the process which receives, decodes and creates the drone image is in a background thread, I also walked through the entire trace to ensure every object was invoked if required.

The computer(s) that I have run this on vary from 8 core to 4 core. My laptop is a 2 core 4 logical i7-4500 @ 1.8ghz

User-inserted image

User-inserted image

Are you certain the error is the same as before? The latest ARC that I had you just install has a different call trace to the error before. The error stack trace must be different on the latest ARC that i asked you to install from this page: https://synthiam.com/EZ-Builder

The AR Drone v1 is very old and has been discontinued for quite a few years - are you upgrading to the v2 for increased stability and additional features?

#47  

That post was too technical for me. ;-)

And yes it is crashing as before.

Not sure what event viewer said this time tho..

I see no other option but to uppgradera to V2 because i want the tracking to work.

Do you sell V2?

#48  

EZ-Robot doesn't sell the Parrot AR Drone. In Sweden, this is probably your best source: https://www.parrotshopping.com/se/p_parrot_listing.aspx?f=3378 although local hobby resellers may have it.

In the USA, we have a chain store called Brookstone that keeps it in stock, and of course Amazon sells it and ships anywhere.

Alan

#49  

... and if all else fails there are lots on eBay.... :)

#50  

Yes. I saw that.

Time to sell my V1.0

#51  

With the BeeBop about to be released, the price of used v2s will probably drop dramatically soon.

No idea if or when EZ-Robot will support the BeeBop. Parrot made a lot of changes between the v1 and v2 and didn't publish the SDK so it took a lot of time for DJ to add support for the v2.

Alan

PRO
Synthiam
#52  

How about this: http://www.dropbox.com/s/gskd48kimn2mybj/EZ-Builder%20Installer%20-%20test%201.msi?dl=0

you will need to uninstall the current installation before installing this

#53  

I will try it when i come home from work. Thank you for really trying. :-)

#54  

Hey man.

It SEEMS like the issue is gone after i installed "visual Studio 2013#" from microsoft on my pc.

Can it be the solution? maybe my pc wanted some drivers or dll´s from the Visual Studio 2013?

i mean, you have it on your pc right?

If it is the soultion, maybe you can make a new build and restore all the things you have changed in the program so it is a "final release" that everyone can download and that it is not "modified" just to suite my problem?

Best regards. Fredrik Sweden

#55  

Never mind, it crashed but took longer time..

i will try with the new build that you gave me..

#56  

ok, im giving up!

The build you gave me also crashes.. Saving the time and some money to buy AR Drone 2.0 instead.

Thank you for the time you have spent trying to help me

Really good support man!

I will recommend you :-)

#57  

Thanks for the help.

i mark this one as resolved ;-)

Bulgaria
#58  

Seems like the market strategy of selling the new one overcome the support of the old one. Pity. Very pity.

#59  

@Yordan... Ahh, but ez robot does not sell the ar drone so they have no ulterior motives here....