chris lu (giraffe.asd.sgi.com!sgi.sgi.com!uunet.uu.net!atrhost!lu)
Wed, 12 Jul 95 13:39:58 -0400
I have a question with the sample code of "intersect.c".
This code is located at "/usr/src/Performer/src/pguide/libpf/progs".
If I change the the array size of scs to 5 (any number less than 8),
the program will die when hitting the first object.
The error message I get is: "Illegal instruction (core dumped)".
The machine I used is Indigo 2 Extreme.
That is two changes in the code:
1). line # 68:
pfSCS *scs[10]; (original)
pfSCS *scs[5]; (changed)
2). line #123:
for (loop=0; loop < 10; loop++) (original)
for (loop=0; loop < 5; loop++) (changed)
I will appreciate if any body can tell me what cause this problem and how to
fix it.
-------------------------------------------------------------------------------
Chris J. Lu
Advanced Technology & Research Corp. Voice:301-989-2499 Ext.8170
Springpointe Executive Center 410-792-7500
15210 Dino Drive Fax :301-989-8000
Burtonsville, MD 20866-1172 USA E-Mail: clu++at++atrcorp.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:41 PDT