Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!decwrl!sgi!shinobu!odin!ghelms From: ghelms@sgi.com (Gretchen Helms) Newsgroups: comp.sys.sgi Subject: Re: Program dieing immediatly upon execution Message-ID: <1990Nov9.230351.28413@odin.corp.sgi.com> Date: 9 Nov 90 23:03:51 GMT References: <9011081612.AA02433@aero4.larc.nasa.gov> Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 20 ("Brent L. Bates AAD/TAB MS361 x42854") writes: > I am trying to port some software that was writen for a 3130 to a 4D/VGX. >Everything compiles ok, however when I try to execute it, I immediatly get >a segmentation violation. Using edge to debug it, I found it dies upon the >very first executable line. The line was originally ginit(); I tried >changing this to winopen, but that didn't change things. One thing that changed from 3.2 to 3.3 was that if you had "winopen();" in your program, it would die under 3.3. Seems 3.3 prefers that you use "winopen("");" instead. One thing you definitely want to check is to make sure that your winopen has either a name like winopen("Strange problem"); or else is called like winopen(""); -- G. "Murdock" Helms The further on the edge, Silicon Graphics The hotter the intensity. Product Support Engineer ghelms@csd.sgi.com