Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69618

Data type parsing VI "Get LabVIEW Class Parent and Member VI Information" used repeatedly can crash LabVIEW

$
0
0

While trying to answer to this thread, I started playing around with LV classes, interfaces and variants.

 

Sporadically when benchmarking my code, I had LV crash with the following log:

"e:\builds\penguin\labview\branches\2020\dev\source\linker\CloseOperation.cpp(1585) : DAbort 0xA967C488: The close operation should only ever execute in the UI thread."

 

I finally managed to narrow down the issue to the VI "Get LabVIEW Class Parent and Member VI Information" from the Data Type Parsing palette. When called repeatedly in a loop, it seems this VI can crash LabVIEW:

raphschru_0-1729094453889.png

 

I could make LV2020-32bit, LV2021-32bit and -64bit, LV2022-32bit and LV2023-64bit crash, on my computer and that of my colleague.

 

I managed to make a minimal project and a procedure that should provoke the crash:

1. Unzip the folder;

2. Open the lvproj with any LV version;

3. Open "Main.vi", show its diagram;

4. "Run continuously" for 4-5s;

5. Clear full compiled object cache (Tools > Advanced > Clear Object Compiled Cache... > Select All > Clear);

6. "Run continuously" again for 4-5s. Here it should crash;

7. If it doesn't, try "Save All" (Ctrl+Shift+S), then go back to step 4. It is sometimes quite hard to provoke.

 

Regards,

Raphaël.


Viewing all articles
Browse latest Browse all 69618

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>