Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!usc!ucsd!ucbvax!bloom-beacon!eru!luth!sunic!mcsun!ukc!harrier.ukc.ac.uk!mcw From: mcw@ukc.ac.uk (M.C.Wheadon) Newsgroups: comp.windows.x Subject: Re: Fortran-XGKS Problems Keywords: XGKS, Fortran, libfxgks.a Message-ID: <4877@harrier.ukc.ac.uk> Date: 7 Jun 90 09:12:10 GMT References: <1718@fcs280s.ncifcrf.gov> Reply-To: mcw@ukc.ac.uk (Mark Wheadon) Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 29 In article <1718@fcs280s.ncifcrf.gov> adam@ncifcrf.gov writes: >*** Segmentation Violation = Signal 11 code 3 >Here's a traceback, from the 'star' demo program (the local program >adb star >core file = core -- program ``star'' >SIGIOT 6: abort >$c >_kill(?) >_abort() + 6 >_sigdie(?) >__DYNAMIC(0xb,0x3,0xdffff9fc,0x0) + 12a >__sigtramp() + 2a >_strcmp(0x0,0x600ba) + c ^^^^ There's your problem - gopwk is calling strcmp with first argument == NULL. This happens to work on a VAX, but it's fatal on a Sun. >_gopwk_(0x6000c,0x60014,0x60018) + 48 >_MAIN_() + 6e >_main(0x1,0xdffffadc,0xdffffae4) + 5a Cheers -- __ / ) _/_ /--< . . __ / /___/_(_/_/ _<__ Mark Wheadon. mcw@uk.ac.ukc