02-12-2016 09:29 AM
Hello!
I have a large vision application, which provides image acuisition from GigE camera, and its handling.
I'm using different IMAQ functions: match pattern, compare golden template, particle filter, veryfy text etc.
Application built in LabVIEW (64-bit).
Everything works fine for some time, but after different number of inspections it unexpectedly crashes.
I have only a Windows message, which says: "Application has stopped working...".
But, if I build application in LabVIEW 32-bit, it never happend...
System using for application installer build:
Core i7-3517U
4Gb RAM
Windows 10 x64
LabVIEW 2014 SP1 f1 (64-bit)
LabVIEW 2014 SP3 f1 (32-bit)
Vision development 2015
NI-IMAQdx 14.5
System working with application:
Core i7-3610QE
8Gb RAM
Windows 8.1 x64
Thank you,
Nikita Dvorecky
02-12-2016 10:29 AM
Can you attach a crash dump file that the application generates? It should be listed in the information Windows pops up about the crash.
02-13-2016 01:54 PM
02-15-2016 03:26 PM
Are you monitoring the use of memory and CPU of your application? Can you share some screenshots?
03-31-2016 04:54 AM
I solved the problem.
The issue disappeared when I have updated Labview 2014 from SP1f1 to SP1f3.
Thanks everybody for help.
09-15-2016 03:58 AM
Hi, everyone!
Unfortunately, the problem with the appliaction crash appeared again. Application may work for a long time (several hours of intensive work), but then windows displayed message "Application has stopped working...".
I opened crash dump file in windbg and found those information:
The stored exception information can be accessed via .ecxr.
(2e0.16b4): Unknown exception - code c0000374 (first/second chance not available)
*** ERROR: Symbol file could not be found. Defaulted to export symbols for lvalarms.dll -
lvalarms!FPGASimulationTimingSourceManager__NATIONAL_INSTRUMENTS_lvalarms+0x19c:
00000000`0a092c7c 90 nop
FPGA is not using in my application. My guess is that this error is connected with using of timed loops, but I wanted to collect more information about it.
So, could anybody help me with this issue?
09-15-2016 04:11 AM
Additional to message above:
I found the post "LabVIEW 8.5.1 Timed Loops Crash on Computers with Four or More Cores", but it was reported at 07.05.2008 and it affected LabVIEW 8.5.1...
09-15-2016 12:47 PM
You sespect time loops.
Time loops are needed for the image acquasition or the processing?
If you disable the processing and have only the image acquasition runing does it still happen?
09-15-2016 02:47 PM
Amit Shachaf, thanks for you answer!
Yes, I suspect timed loops at first. I use timed loops in tasks of digital input/output control, camera communication and in some others tasks.
I replaced them by while loops, but there may require a long time of testing to get the result.
So, I'd like to get any other assumptions, while I'm doing the tests.
Best regards,
Nikita
09-19-2016 05:12 AM
New update...
I replaced timed loops with while loops. Now I'm getting another excetion in CrashDump file:
(ce4.638): Unknown exception - code c0000374 (first/second chance not available)
ntdll!NtWaitForMultipleObjects+0xa:
00007ff8`cade178a c3 ret
Are there any assumptions?