Jump to content

internal warning 0x occurred in MemoryManager.cpp


X___

Recommended Posts

You either have a considerably corrupted LabVIEW installation or are executing some external code (through Call Library Node or possibly even as ActiveX or .Net component) that is not behaving properly and corrupts memory! At least for the Call Library Node it could be also an incorrect configuration of the Call Library Node that causes this.

Good luck hunting for this. The best way if you have no suspicion about possible corrupting candidates is to "divide and conquer". Start to exclude part of your application from executing and then run it for some time and see if those errors disappear. Once you found a code part that seems to be the culprit, go and disable smaller parts of that code and test again. It ain't easy but you have to start somewhere. Just because your program doesn't crash right away when executing (or the test VIs that come with such an external code library) does not provide any guarantee that it is fully correct and not corrupting memory anyhow. Not every corruption leads immediately to a crash. Some may just cause slight (or not so sligh) artefacts in measurement data, some may corrupt memory that is later accessed (sometimes as late as when you try to close your VIs or shutdown LabVIEW and LabVIEW dutifully wants to clean all resources, and then stumbles over corrupted pointers, and only when serious things like stack corruption happen do you usually get an immediate crash.

Edited by Rolf Kalbermatter
Link to comment

I have my suspicions. But I like the terseness of the warnings (which pop-up only upon restarting LabVIEW).

I suppose there is not more info that can be provided to the user (the LVInternalReports are binary files, so I can't make much of them).

Link to comment
2 hours ago, X___ said:

I suppose there is not more info that can be provided to the user (the LVInternalReports are binary files, so I can't make much of them).

Maybe you could figure out more information, when you add these lines to your labview.ini:

Quote

createLogFile=True
DPrintfLogging=True
DPrintfToFile=True
promoteDWarnInternals=True

You need to restart LabVIEW after that. When started, it will create DPrintf text file near labview.exe with a tons of a technical information. That info is often very low-level and internal to LabVIEW development, so it may be difficult to analyze. But it's something at least.

Link to comment
  • 2 weeks later...

<DEBUG_OUTPUT>
3/12/2021 10:42:37.511 AM
DWarn 0xFCC058F4: An item recompiled in the final iteration should not still have recompile needed set: [VI "ix.vim" (0x0000029f40dbd0f0)]
e:\builds\penguin\labview\branches\2019\dev\source\compiler\compiler.cpp(621) : DWarn 0xFCC058F4: An item recompiled in the final iteration should not still have recompile needed set: [VI "ix.vim" (0x0000029f40dbd0f0)]
$Id: //labview/branches/2019/dev/source/compiler/compiler.cpp#6 $

 

First comment: the penguin has reared its ugly head (or tail) again! I do not have a E: drive on my PC, so this is probably some internal stuff, as is the //labview/branches/... thing.

The ix.vim is mine though and while not doing what I want, it looks pretty innocuous:

ix_vim.png.b181361d2118a6b18da771244aad05af.png

Link to comment
  • 1 month later...

I followed @dadreamer's advice and now get verbose logs every time I get this. There are a few Insane object warnings I need to investigate in my main VI (some cluster constants), and some bizarre DSDisposeHandle errors pointing to that non-existing penguin path, a load of messages regarding references that couldn't be found in a cookie jar, some "this is dangerous" warnings, and tons of weird internal self-addressed warnings...

I may contact NI support at some point, but since it is not killing me, I have put that on the "to do" pile.

Link to comment

Join the conversation

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

Guest
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.