LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 8.6 crashes when started

Hi,

 

I just installed labview 8.6 in an old Linux machine (kernel 2.4.21), and even when labview installed fine (no errors or warnings at all), when I start labview, it crahses with this message:

LabVIEW caught fatal signal
8.6 - Received SIGSEGV
Reason: address not mapped to object
Attempt to reference address: 0x4
Segmentation fault (core dumped)

 

Now, the core dump trace says this:

...

#0  0xf6513959 in XSetICFocus () from /usr/X11R6/lib/libX11.so.6
#1  0x08c9664e in WGetStyle ()
#2  0x08c967bb in WGetStyle ()
#3  0x08c96405 in WIsAtRootLevel ()
#4  0x08c96934 in WSendEvent ()
#5  0x08c9705a in WCreateEx ()
#6  0x08bca719 in ChangeVINameWrapper ()
#7  0x08bf875f in CheckShortNameSize ()
#8  0x0857ef65 in DNAllocCookieForObject ()
#9  0x0857f0cd in DNAllocCookieForObject ()
#10 0x0857ef83 in DNAllocCookieForObject ()
#11 0xf629679a in __libc_start_main () from /lib/tls/libc.so.6
#12 0x0807c021 in ?? ()

 

So it is somehow related to the X server -I think-. Now, the odd part is that if I start labview with a vi, like

labview mydiagram.vi

 

it starts an opens mydiagram.vi (if mydiagram.vi is set to run when started, it will even run ok). However, if I try to open the diagram, then it will crahs with the same error/core dump.

 

Has anybody seen this problem?

 

Thanks.

 

0 Kudos
Message 1 of 6
(3,225 Views)

Hi,

 

I'm sending to you a link that explain why this error is happening and how to solve this error on LabVIEW 7.1.

 

Please try the same steps to try to solve this error on LabVIEW 8.6.

 

http://digital.ni.com/public.nsf/websearch/A2D53C8E0D88380B86256EBD005B31D2?OpenDocument

 

If you have any question please contact me.

 

Thanks.

 

Regards.

 

Luciano Borges

National Instruments Brazil

Luciano Borges
Test Development Engineer
0 Kudos
Message 2 of 6
(3,177 Views)

 

VonA -

 

I'm going to take a shot in the dark here.  

 

I believe the problem is that your Linux is way to old to support LabVIEW 8.6. I have done some searching through the forum and saw that people who tried to install LabVIEW 8.6 on Ubuntu 6.1 were having problems with segmentation fault and Ubuntu 6.1 was released a good 3 years after the Linux your're using.

 

Although LabVIEW is instaled without any problems, many LabVIEW dependencies are not installed at all. 

 

I recomend that if you want to use LabVIEW 8.6 with Linux switch to Ubuntu 8.1 and you should have no problems.

 

Best Regards

 


Bruno

Bruno Noronha

Certified LabVIEW Associate Developer





Using LabVIEW 8.6
0 Kudos
Message 3 of 6
(3,173 Views)

Luciano,

 

Thanks for the reply. I have see the tune2fs problem before, but the symptom was that the splash screen would appear, and then remain there forever; nothing else would happen. In any case, I just tried it in this machine, but the problem still persists. (I didi the tune2fs an all partitions).

 

Thanks a lot anyway!

 

M. 

0 Kudos
Message 4 of 6
(3,157 Views)

Bruno,

 

Thanks. I  have verified also that all the requiered libraries are there:

% ldd labview
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0xf65a4000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xf64c5000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xf64b7000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xf6404000)
        libm.so.6 => /lib/tls/libm.so.6 (0xf63ce000)
        libdl.so.2 => /lib/libdl.so.2 (0xf63ca000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xf63ba000)
        libc.so.6 => /lib/tls/libc.so.6 (0xf6281000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf6278000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xf65e9000)

 

Regarding how old is the machine, the starnge thing is that I have anoither machine, as old as this -the same kernel-, that is running hapully labview 8.5. So, unless something important changed between 8.5 and 8.6, it is hard to imagine this is due to the age of the kernel or machine. I could try installing labview 8.6 on the other machine, but I'm a bit afraid, since it is a mchine with a running, in-work systenm that I cannot disturb -I know multiple labviews can, in theory, live toguether, but I don't want to find out that "not quite" ...

Thanks a lot anyway

 

M.B. 

0 Kudos
Message 5 of 6
(3,153 Views)

 M.B.

  

I did a little more research and I saw that your Linux Kernel supports LabVIEW 8.6.

This explains why you didn't have any problems instaling LV.

 

In practice multiple LabVIEWs work together on my machine, here I have LV 8.2 and 8.6 and they work just fine and I know people that have have 7.1 8.2 and 8.6 on the same machine.

 

However I sugest you use the moto "If it ain't brokem, don't fix it." Wouldn't want you to have problems with a machine running working application.

 

Your problem is peculiar though, considering the fact that the segmentation fault occures only when running...

 

 

If I find anything else I will post again

 

Bruno Noronha

Certified LabVIEW Associate Developer





Using LabVIEW 8.6
0 Kudos
Message 6 of 6
(3,138 Views)