From: Michael Huber (mhuber++at++ces.clemson.edu)
Date: 01/21/2003 14:49:09
Hi
I am trying to run some sample applications for Performer. I always get a segmentation fault when calling 'pfFrame()'. I am using Linux RedHat 7.3 and Performer 2.5. My graphics card is a nVidia GeForce4.
The gdb stack trace I get is the following:
[mhuber++at++zack hellocube]$ g++ -g hellocube.cc -lpf -o hellocube
[mhuber++at++zack hellocube]$ gdb hellocube
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /home/mhuber/Performer_stuff/hellocube/hellocube
[New Thread 1024 (LWP 2245)]
PF
================================================
PF = OpenGL Performer 2.5
=
PF = FULL EDITION
=
PF
================================================
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2245)]
0x4027a71b in pfChannel::pf_computeStress () from /usr/lib/libpf.so.2
(gdb) backtrace
#0 0x4027a71b in pfChannel::pf_computeStress () from /usr/lib/libpf.so.2
#1 0x40276af2 in pfChannel::pf_computeLODMult () from /usr/lib/libpf.so.2
#2 0x40314bdd in pfFrame () from /usr/lib/libpf.so.2
#3 0x08049551 in main (argc=1, argv=0xbffff914) at hellocube.cc:94
#4 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
The perfly application is running on my computer. But all other stuff produces the same segmentation fault and the program crashes. hellocube.cc can be found at http://www.hackorama.com/mongoose/hellocube.cc
Any ideas?
Michael Huber
mhuber++at++ces.clemson.edu
This archive was generated by hypermail 2b29 : Tue Jan 21 2003 - 14:50:16 PST