From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 06/04/2002 18:19:13
On Tue, 4 Jun 2002, Don Tidrow wrote:
> #0 0x40410f46 in pfLightSource::nb_setColor(int, float, float, float) (this=0x0,
> which=4608, r=0.280050308, g=0.280050308, b=0.280050308) at ../pfLightSource.C:387
> #1 0x080feabb in pfLightSource::setColor(int, float, float, float) (this=0x452e1a60,
> _which=4608, _r=0.280050308, _g=0.280050308, _b=0.280050308) at
> /usr/include/Performer/pf/pfLightSource.h:76
<snip>
> Note that the "this" pointer in pfLightSource::nb_setColor() is null, and yet the "this"
> pointer in pfLightSource::setColor() is reasonable - any idea what conditions might cause
> this? This code is virtually identical to an IRIX version that's been working fine -
> could trying to run multiprocess mode on a single-cpu Linux box make any difference (can't
> imagine it would)?
I can't imagine it would either, but it'd be worth checking it in single
process mode (PFMP_APPCULLDRAW or perfly -m0) anyway. Also, if you have
an O2 handy, it would be worthwhile to test the program on there (in
multiprocess mode) since the O2 will seg-fault when dereferencing a null
pointer as well (octane and ir do not).
-tom
-- "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 : Tue Jun 04 2002 - 18:19:17 PDT