Hi there,I'm using the MIP SDK to integrate MS VMS. I'm facing an issue causing a crash in my application. Se in the detail the content of Win10 Event Viewer. I can also provide you a core dump, if required.

Faulting application name: Siemens.Gms.ApplicationFramework.exe, version: 4.0.121.209, time stamp: 0x5dfb89a9

Faulting module name: CoreToolkits.dll, version: 13.2.103.1, time stamp: 0x5d1de667

Exception code: 0xc0000005

Fault offset: 0x000000000121743b

Faulting process id: 0x49fc

Faulting application start time: 0x01d5ddc49b750f47

Faulting application path: [C:\GMSProjects\GMSMainProject\bin\Siemens.Gms.ApplicationFramework.exe](file:C:/GMSProjects/GMSMainProject/bin/Siemens.Gms.ApplicationFramework.exe)

Faulting module path: [C:\Program](file:C:/Program) Files\Siemens\Video API\Api\Provider\Milestone\CoreToolkits.dll

Report Id: 1133ed8b-7c04-43f8-8c0e-f670bb1068bb

Faulting package full name:

Faulting package-relative application ID:

Siemens.Gms.ApplicationFramework.exe is not known in Milestone and this dump does not give any meaning for Milestone Support. Please see if you can debug this to an extend where you can see the source code (code that uses methods on the MIP SDK library) that causes the crash.

Hi Bo,

in order to see your call on the call stack I need the Toolkits_CoreToolkits.pdb for the 13.2.103.1 version of the CoreToolkits.dll.

Can you provide it to me?

Hi.

We would actually like to see the dump that you said you could provide.

Here the code dump

Please keep us updated on the problem that raised Mirco.

We have to understand the reasons.

Hi,

I took a look at the dumpfile and seems that there is a HandleOutOfBandEvent that goes wrong. i cant see how or why it goes wrong. We need a bit more information from you as there is no indication why this handler call would fail.

Can you let us know:

  • what your application implements (maybe snippet of code or pseudo code)
  • when does the error occur, is it always/sometimes, at start/shutdown/after a while?
  • what hardware are you using
  • what stream codec and resolution is
  • can you reproduce this with one of our MIP SDK samples?

Here the System Info of a machine where this kind on crash happens more frequently.

The crash occur almost always on that machine, while on others less frequently. It happens during normal operation, not during startup o shutdown phases.

We also notice a peak on GPU performance monitor each time the application crash happens, as in the attached image.

Hello Mirco,

I can see from the data you have provided that you dont have any hardware acceleration on the machine you are testing on:

CPU Xeon 6134 - no Intel Quick Sync

GPU GTX 680 - generation Fermi, too old, we support from Keplar

We will need to be able to reproduce this in house so we can debug what happens as it appears there is no real pattern other than the specific machine you are using.

Does this happen on a specific camera?

What codec and resolution is used on the device?

Is this happening on 13.2 version or also on 13.3?

did this start to happen after an upgrade?

When you say that “on others happens less frequently” is there a pattern on other machines.

How is the network setup - are all cameras and machines on the same switch? Is there a pattern on which machines fail and what switch they are on?

.. and forgot to mention, the spike in the GPU cant be coming from us as we dont use it due to the lach of hardware with Hardware Acceleration capabilities.

We have the same issue on another “phisical” machine, for which I provide the SystemInfo export as attachment to this message.

On this machine we used the 13.3 version of MIP SDK.

We’ve updated to 13.3 and can confirm that the issue is also happening there, with basically the same crash dump (CoreToolkits.dll).

The issue is appearing for us when streaming via the VideoOS.Platform.Client.ImageViewerWpfControl is started or stopped. Usually multiple tiles using this control-type are initialized started and stopped simultaneously.

For further investigation, we would like to reproduce this symptom. Can you please let us know how to reproduce it?

Seems that this happens when we started many live video, then we stopped them and we started another set of stream again. At the moment we’re able to reproduce with DesigoCC client application. Christoph will give you the right MIP SDK calls

Please see the attached file for what it means for us to start and stop streaming in terms of calls made to the SDK control.

Test running more than 48 hours, we are not able to see any crash.

We have experienced Smart Client crashes with certain old graphics drivers, can you please ensure graphics drivers are up to date?

Please show us the result of a dxdiag.exe for the PC where your application crashes.

Hi, we created a test application which simulates our application.

How can we send you the sample?