home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / 19135 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.6 KB

  1. Path: sparky!uunet!gumby!destroyer!fmsrl7!opeo!smd
  2. From: smd@sl0091.srl.ford.com (Steve Dahmen)
  3. Newsgroups: comp.sys.sgi
  4. Subject: HELP: Loadmatrix from static memory seems to fail, sorta
  5. Date: 27 Jan 1993 23:09:01 GMT
  6. Organization: Scientific Research Lab, Ford Motor Company
  7. Lines: 36
  8. Distribution: world
  9. Message-ID: <1k74mdINN67t@ope001.iao.ford.com>
  10. NNTP-Posting-Host: sl0091.srl.ford.com
  11. Originator: smd@sl0091.srl.ford.com
  12.  
  13.  
  14. Does anyone have any insight into why getmatrix/loadmatrix would fail doing
  15. somthing like this:
  16.  
  17.     static struct {
  18.          int type;
  19.          Matrix m;
  20.     } OBJECT;
  21.     Matrix checkmat;
  22.     ...
  23.     
  24.     /* set OBJECT.m to identity matrix, its verified correct */
  25.  
  26.     loadmatrix(OBJECT.m);
  27.     ...
  28.  
  29.     getmatrix(checkmat);   /* code exits here */
  30.  
  31. For some bizarre reason, the program just exits quietly at the call
  32. to getmatrix;  No core dump, no segmentation violation, nothing.
  33. On my IBM  rs6k I get a segmentation violation on the loadmatrix, so
  34. I suspect this is a problem.
  35.  
  36. I'm running 4.0.5F on an Indigo Elan.
  37.  
  38.  
  39. -- 
  40. Steve Dahmen ** Graphics Application Programmer            _____
  41. Ford Motor Company / 2000X Design Studio               ___/ , _ \ --___.
  42. smd@sl0091.srl.ford.com                               (_ ________\ --__--__
  43. 313-594-3229 (work)                                    (o)     (o)`       
  44. -- 
  45. Steve Dahmen ** Graphics Application Programmer            _____
  46. Ford Motor Company / 2000X Design Studio               ___/ , _ \ --___.
  47. smd@sl0091.srl.ford.com                               (_ ________\ --__--__
  48. 313-594-3229 (work)                                    (o)     (o)`       
  49.