LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XML Owner Document crash

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?

0 Kudos
Message 11 of 16
(554 Views)

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.  

Regards,

Eric L.
Applications Engineering Specialist
National Instruments
0 Kudos
Message 12 of 16
(546 Views)

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

0 Kudos
Message 13 of 16
(543 Views)

It very well could be, what version of Linux are you using?

Regards,

Eric L.
Applications Engineering Specialist
National Instruments
0 Kudos
Message 14 of 16
(540 Views)

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?

0 Kudos
Message 15 of 16
(528 Views)

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

Applications Engineer
National Instruments
0 Kudos
Message 16 of 16
(513 Views)