10-19-2012 02:15 PM
I am working on an application that uses the Actor Framework. I don't know if that has anything to do with a problem that I am seeing.
In any case, when I exit my built application, sometimes I get this crash report. It has a View Report link to a zipfile with a bunch of binary data. How do I make sense of the data in that zipfile? Or is there any way to just surpress this message?
10-19-2012 03:39 PM
Speculating here.
Do you have an exit labview node when you want to close the application?
Perhaps try to make it the absoulute last thing you do before exiting the application after properly cleaning up all resources.
Br,
/Roger
10-19-2012 05:57 PM
I have seen this when I closed a reference to a dynamically called VI when it was also set to automatically close the reference. I suspect it is related to your cleanup code somewhere and a reference is getting closed more than once. At least that was the case when I saw this. Don't know why LabVIEW sees this as a catastrophic error but it did.
10-20-2012 01:24 AM
@Mark_Yedinak wrote:
I have seen this when I closed a reference to a dynamically called VI when it was also set to automatically close the reference. I suspect it is related to your cleanup code somewhere and a reference is getting closed more than once. At least that was the case when I saw this. Don't know why LabVIEW sees this as a catastrophic error but it did.
Also try making the resource deallocation execute in the opposite order of the allocation.
That way there will be no broken/obfuscated relationship/parent/child trees/graphs for the runtime to maintain.
Br,
/Roger
10-21-2012 12:15 PM
@User002 wrote:
Speculating here.
Do you have an exit labview node when you want to close the application?
Perhaps try to make it the absoulute last thing you do before exiting the application after properly cleaning up all resources.
Br,
/Roger
I do have an exit labview node. I don't think you can make it not be the last thing you do
I hope you know I'm just messing with you and I totally understand what you are saying. I will check for unclosed resources tomorrow.
10-21-2012 02:02 PM
Thanks for the kudos.
Br,
/Roger