From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 12/09/2000 13:01:47
On Sat, 9 Dec 2000, 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?
Well, we do our license check in pfInit(). Perhaps you can retrieve that
value of $LM_LICENSE_FILE with getenv(), then unsetenv() LM_LICENSE_FILE,
call pfInit(), putenv() the appropriate value for LM_LICENSE_FILE before
calling pfCAVEConfig() (assuming that's where they do their license
check).
-tom
>
> -Ross
>
> ps: interestingly, my CAVElib licence is expired... maybe that has
> something to do with it?
That's probably doesn't help :)
>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!
> > >
> > > -ross
> > >
> > > -----------------------------------------------------------------------
> > > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > > Submissions: info-performer++at++sgi.com
> > > Admin. requests: info-performer-request++at++sgi.com
> > >
> >
> > --
> > "Mongooses are famous for their snake-fighting ability, and are
> > almost always victorious because of their speed, agility, and timing
> > and also because of their thick coat."
> >
>
> --
>
>
-- "Mongooses are famous for their snake-fighting ability, and are almost always victorious because of their speed, agility, and timing and also because of their thick coat."
This archive was generated by hypermail 2b29 : Sat Dec 09 2000 - 13:01:51 PST