home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gumby!destroyer!fmsrl7!opeo!smd
- From: smd@sl0091.srl.ford.com (Steve Dahmen)
- Newsgroups: comp.sys.sgi
- Subject: HELP: Loadmatrix from static memory seems to fail, sorta
- Date: 27 Jan 1993 23:09:01 GMT
- Organization: Scientific Research Lab, Ford Motor Company
- Lines: 36
- Distribution: world
- Message-ID: <1k74mdINN67t@ope001.iao.ford.com>
- NNTP-Posting-Host: sl0091.srl.ford.com
- Originator: smd@sl0091.srl.ford.com
-
-
- Does anyone have any insight into why getmatrix/loadmatrix would fail doing
- somthing like this:
-
- static struct {
- int type;
- Matrix m;
- } OBJECT;
- Matrix checkmat;
- ...
-
- /* set OBJECT.m to identity matrix, its verified correct */
-
- loadmatrix(OBJECT.m);
- ...
-
- getmatrix(checkmat); /* code exits here */
-
- For some bizarre reason, the program just exits quietly at the call
- to getmatrix; No core dump, no segmentation violation, nothing.
- On my IBM rs6k I get a segmentation violation on the loadmatrix, so
- I suspect this is a problem.
-
- I'm running 4.0.5F on an Indigo Elan.
-
-
- --
- Steve Dahmen ** Graphics Application Programmer _____
- Ford Motor Company / 2000X Design Studio ___/ , _ \ --___.
- smd@sl0091.srl.ford.com (_ ________\ --__--__
- 313-594-3229 (work) (o) (o)`
- --
- Steve Dahmen ** Graphics Application Programmer _____
- Ford Motor Company / 2000X Design Studio ___/ , _ \ --___.
- smd@sl0091.srl.ford.com (_ ________\ --__--__
- 313-594-3229 (work) (o) (o)`
-