libimobiledevice-win32 / imobiledevice-net

.NET (C#, VB.NET,...) bindings for libimobiledevice
GNU Lesser General Public License v2.1
299 stars 77 forks source link

Access Violation Exception (0xc0000005) #138

Open pallavi-garg opened 4 years ago

pallavi-garg commented 4 years ago

Hi,

We are using imobiledevice-net to detect iOS device connection via usb port. Please refer to below log from Event Viewer. We listen to iDeviceEventType.DeviceAdd event on IiDeviceApi for detection. Application was running and this fatal issue happened just after connecting iOS device with system. This is not very frequent issue, so won’t be able to provide more details. If someone has fixed or handled this issue, please let us know. Any help would be much appreciated!

Log- Faulting application name: DummyName.exe, version: 1.1.2.54, time stamp: 0x5dd3fe20 Faulting module name: PresentationCore.ni.dll, version: 4.8.4018.0, time stamp: 0x5d4a6c7c Exception code: 0xc0000005 Fault offset: 0x0067876d Faulting process id: 0x3050 Faulting application start time: 0x01d5a3a6a32299f8 Faulting application path: C:\Program Files (x86)\DummyName.exe Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\PresentationCore\431135a1fa749be763773e77963c87b4\PresentationCore.ni.dll Report Id: 8cffc963-5e5f-4fca-adbf-f2dc3244f83c

Thanks Pallavi Garg

pallavi-garg commented 4 years ago

Hi,

Here is some more detail that we found in event logs -

Fault bucket 1797540579603531227, type 5 Event Name: BEX Response: Not available Cab Id: 0

Problem signature: P1: DummyApp.exe P2: P3: 5e21c5e6 P4: StackHash_2beb P5: 0.0.0.0 P6: 00000000 P7: PCH_8A_FROM_ntdll+0x0006FBDC P8: c0000005 P9: 00000008 P10:

Hope this data can help us more.

Thanks Pallavi