Re: 2.3->2.4 == SegFault

New Message Reply Date view Thread view Subject view Author view

From: Allan Schaffer (allan++at++sgi.com)
Date: 12/11/2000 16:35:08


My impression is that the two libraries using FlexLM are indeed (as
you said) getting their "mojo's" crossed.

In particular, I think the problem is that Performer uses version 7.0
of FlexLM, whereas the CAVElib is probably using binary-incompatible
version [X]*. If our FlexLM calls resolve into version [X] (as it
would seem happened) then differences in structure sizes, semantics,
etc. could cause a segmentation fault.

(*): /usr/share/Performer/bin/lmver /path/to/CAVElib.so
      might tell the FlexLM version used by the CAVElib.

This same topic came up shortly before IITSEC with regards to the
VR-Link library. If any VR-Link or CAVElib folks are here on the
list, please contact me privately so we can see if there's a good way
to untangle our mojos..

Allan

On Dec 9, 3:44pm, ross::barna wrote:
> I found that when I removed CAVElib support from my application the
> problem (segfault) went away. CAVElib also uses FlexLM and might set the
> $LM_LICENSE_FILE at runtime!! How can the two be used together without
> getting their "mojo's" crossed and bombing out?
>
> -Ross
>
> ps: interestingly, my CAVElib licence is expired... maybe that has
> something to do with it? anyone have any problems with pf2.4 and CAVELib
> for linux?
>
> On Sat, 9 Dec 2000, Tom Flynn wrote:
>
> >
> > It appears as though the licensing check failed and the licensing code we
> > link with then segfaulted. This is the first time we've seen a failed
> > license check do that. Verify that you have a license.dat in
> > /usr/share/Performer/. Or if you have $LM_LICENSE_FILE set, verify that
> > it is set to the correct non-empty license file.
> > hope that helps,
> > tom
> >
> > On Sat, 9 Dec 2000, ross::barna wrote:
> >
> > >
> > > an app which ran fine under pf for linux 2.3 is giving a segfault:
> > >
> > > ___________________________________________________________________
> > > Program received signal SIGSEGV, Segmentation fault.
> > > 0x40337ee6 in lc_errstring () from /usr/lib/libpf.so.1
> > > (gdb) up
> > > #1 0x402f8a80 in _pfExplainLicenseFailure () from /usr/lib/libpf.so.1
> > > (gdb) up
> > > #2 0x402ec8f3 in pfInit () from /usr/lib/libpf.so.1
> > > (gdb) up
> > > #3 0x8058b05 in eScreenDisplay::create (this=0x81a2a90)
> > > at eScreenDisplay.c++:32
> > > 32 pfInit();
> > >
> > > _________________________________________________________________
> > >
> > >
> > > So, I am going to uninstall all my performer stuff and reinstall, but
> > > I thought I followed the instructions correctly. Besides, the sample code
> > > (ie: perfly and rotorwash) seem to compile and run fine.
> > >
> > > help!

-- 
Allan Schaffer                                            allan++at++sgi.com
Silicon Graphics                           http://reality.sgi.com/allan


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Dec 11 2000 - 16:35:22 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.