12-01-2011 03:23 PM
One thing of note: if you don't wire the OwnerDocument to anything, there is no crash. OwnerDocument needs to be used, for example by calling its Get XML method.
I tried on a Windows computer running LabVIEW 2009 and there was no crash. It seems to be a LabVIEW on Linux issue. Where do I go from here?
12-02-2011 11:35 AM
I researched further and from what I see you have no need to close the Owner Document, as long as you close the original reference to the document. I tried not closing the owner document in a Application and it runs fine. The two references point to the same document, close the original reference and leave the owner document property one not closed and it should run fine.
12-02-2011 11:47 AM
Eric, have you tried on Linux?
For me LabVIEW crashes every time, without exception, if I make use of the Owner Document reference on Linux.
The same VI will run on Windows.
Should this be filed as a bug somewhere?
~Chris
12-02-2011 02:46 PM
It very well could be, what version of Linux are you using?
01-12-2012 12:56 AM
Sorry I didn't get back to this thread earlier. I asked some friends to test the demo program on other computers.
The crash happens on various Linux computers. I've seen it on Gentoo and a couple of versions of Ubuntu, including the latest version.
The crash still doesn't happen on Windows, though Windows is not an option for our project here.
What can we do to file this as a bug?
01-12-2012 03:34 PM
Hi Crcarlin,
There is not much we can do to report this bug, since these are not supported versions of Linux. Refer to the the following KB on our supported versions of LabVIEW.
http://digital.ni.com/public.nsf/allkb/4857A755082E9E228625778900709661?OpenDocument