From: John DeWeese (deweese++at++ict.usc.edu)
Date: 09/05/2003 18:39:03
I'm having a very odd problem with Performer 3.0.2 installed on RedHat
9, gcc3.2.3. I'm almost at my wit's end, so perhaps someone could help.
The machine is a dual P4, though SMP is disabled in the kernel. The
problem is that a simple C program that contains essentially "main()
{pfInit();}" crashes inside pfInit! See Appendix A for a gdb stack
trace :) Looks like it's inside the license manager. And yep, I have
a working demo license.
Now, some apps work fine. If I run perfly or build a copy of the perfly
or other sample code, there is no crash. Same when I build and run
some larger demos from my character animation system that use
Performer. But for simple apps including a simple spinning pfCube and
pfDCS, even if I use essentially the same compile and link lines, I
can't get a nice non-crash to happen. I have not yet found a happy
medium where I can make a statement like "if I change this compile flag
or add this line of code, things suddenly work", but I'm working on it.
Has anyone had such an experience?
Appendix A, simple stack trace of a program as simple as:
main() {pfInit();}
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1094165856 (LWP 5699)]
0x420740b5 in _int_malloc () from /lib/tls/libc.so.6
(gdb) bt
#0 0x420740b5 in _int_malloc () from /lib/tls/libc.so.6
#1 0x420738ee in calloc () from /lib/tls/libc.so.6
#2 0x403b5ca1 in qxKp9l () from /usr/lib/libpf.so.3
#3 0x403cd73e in qat2AL () from /usr/lib/libpf.so.3
#4 0x403cd465 in xsX36L () from /usr/lib/libpf.so.3
#5 0x403cb507 in jfltjC () from /usr/lib/libpf.so.3
#6 0x403bfda9 in f9P015 () from /usr/lib/libpf.so.3
#7 0x403ba1ab in f7_PA6 () from /usr/lib/libpf.so.3
#8 0x403b9f40 in l_checkout () from /usr/lib/libpf.so.3
#9 0x403b9e01 in wMSj8E () from /usr/lib/libpf.so.3
#10 0x4039f567 in pfInit () from /usr/lib/libpf.so.3
#11 0x080485ff in main ()
#12 0x42015504 in __libc_start_main () from /lib/tls/libc.so.6
Must be off now, thanks for your help...
- John DeWeese
This archive was generated by hypermail 2b29 : Fri Sep 05 2003 - 18:43:18 PDT