LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crash application

Hello,

 

I built application but after few hours this application crashed and I dont know the reason.

 

Error.png

 

Because in development environment Labview I dont register any problems or errors. In attach file I send report of error. Please can you describe me where is the problem.

 

Thank you.

0 Kudos
Message 1 of 13
(4,193 Views)

You should do proper error check (you properly use the error wire everywhere in your VIs?) in your application, and report if it happens. Does your application also crash if you run it from the Dev. environment? You can also consider to show us your code so someone might pinpoint the problem.

 

edit: I see now, you write you do not have any problems in Dev environment, sorry, I am a bit tired 🙂

I think you can enable some debugging in the built options so you may get more descriptive error msgs? But lets wait for others, I am not familiar with debugging in built application...

0 Kudos
Message 2 of 13
(4,172 Views)

Hi,

 

As you can see from the error message as well, you have an access violation. That means, your applications was trying to reach some resources that is not allowed or doesn't have the permission.


Could you please tell us more about what does your application do?

Do you use any 3rd part SW, ActiveX calls, dlls etc?

Do you have any firewall or antivirus that might block the activity of your application?

 

Best regards,
IR

0 Kudos
Message 3 of 13
(4,115 Views)

Hi,

 

My application receive image from 4 thermal cameras and make measurement.
I use dlls e.g. for read data from camera using program eBUS (which is 3rd part SW).
I have switched off firewall but switched on antivirus.

 

0 Kudos
Message 4 of 13
(4,100 Views)

Hi,

 

I would suggest you the following:

1. Disable antivirus and test the application

2. What is the protocol for comminication with your camera? Can you build just a simple example that is communicating with only one camera and replicate the issue?

Are there any updates for the driver that you use to communicate with thermal cameras?

 

Best regards,

IR

0 Kudos
Message 5 of 13
(4,093 Views)

hi,

 

1. Ok, I will try it with disable antivirus. But this issue has appeared after random hours (1-8 hours). So it will take time thanit I check it.

2. I use ethernet for communication with camera. My older project was with only one camera and it works. But now I need connect more then one camera. So I implemented it but this issue has appeared. I need stable connection for four cameras therefore I need fix this issue.

0 Kudos
Message 6 of 13
(4,072 Views)

Hi,


I would start first with disabling the antivirus. If the error still persists, please search if there is an upagrde for the driver you use with therma camera.

If you still have the same issue, please write here, we can think about other ways of narrowing down the issue.


I understand that you need stable connection with four cameras, in order to solve the problem first you need to indentify the core issue.

 

Another important element is to understand what are the actions that you make right  before your application crashes? Maybe writing to a file that you don't have permission etc. 

Did you check how much RAM memory is used while your application runs for an extended time?

 

Best regards,

IR

0 Kudos
Message 7 of 13
(4,068 Views)

Hi,

thank you for your advice and patience with my issue.

 

My program continuously measures temperature and monitors if the temperature limit is not exceeded.I am writing to a file only when the camera is calibrated and when the limits were exceeded, but I did it also in old code that seamlessly work. What exactly is happening before the program crashes do not know because I do not watch the monitor for a few hours every second until it falls. But it should not happen nothing unusual because the cameras stare at a constant temperature.

 

I tried to let go with switched off antivirus and although it fell, but this time with a different issue in MemoryManager.cpp. Error is in attachments. I do not know if these two issues are related or if I have more issues in my program, because the program is not demanding on memory (CPU 25% RAM 300 MB).

 

Best regards,
Petr Vavra

0 Kudos
Message 8 of 13
(4,053 Views)

Just a guess here.

 

Is the dll that you are using thread-safe? You can try configuring it to run in the UI thread only by right-clicking it and configuring the properties.

 

Cheers,

mcduff

0 Kudos
Message 9 of 13
(4,042 Views)

Thank you mcdfuff

 

I think that your advice help me with access violation issue. But now I registred new issue in MemoryManager.cpp

 

Error.jpg

 

 

This issue have been appeared after few hours and I dont know where is the problem.

Please have anyone any idea where can be problem?

 

Best regrets,

Petr Vavra

0 Kudos
Message 10 of 13
(3,979 Views)