Jump to content

Labview 21.0.1 - Hard crash with references in map?


N.T.

Recommended Posts

Posted

Hi Volks,

i have a problem which arose when I switched within my code from single references to a map containing a key (string) and a value (reference). The reference is pointing to an ActiveX object.

Is there any known issue with maps and references?

If the code is running earliest the second time but sometimes after a few runs (8 was my max) LV IDE has a hard crash without any error message. I got the feeling that the reference within the map is somehow messed up and the activex call is overwriting program memory. My first tries were hard crashes, another attempt showed at least something like "MEMORY_WORKER.cpp" in an error message (just appeared once).

I tried searching the changelog but couldn't find anything.

Is there a known issue in LV21?

Thank you!

Posted

Ok, I got it after a whole day of debugging (and crashing): I had a race condition with closing two other important references and if the first one was closed prior to the second one, lv had a hard crash. Which is unfortunate but it means my map construction is working fine. Seems like i made this important chance without noticing it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.