adam@ncifcrf.gov (Adam W. Feigin) (06/04/90)
I built XGKS last week. It all compiled without any problems (well, nothing major, anyway). However, althought the demo C programs work okay, I couldn't get ANY of the fortran demo code to run. Some locally developed fortran code which uses GKS dont work either. They both die with: *** Segmentation Violation = Signal 11 code 3 Here's a traceback, from the 'star' demo program (the local program looks pretty much the same) 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 _gopwk_(0x6000c,0x60014,0x60018) + 48 _MAIN_() + 6e _main(0x1,0xdffffadc,0xdffffae4) + 5a Has anyone gotten any of the fortran demo programs to work properly ?? Are there any fixes to the xgks stuff that I'm missing ?? Any other suggestions ?? BTW, this all takes place on Sun 3's & 4's, running SunOS 4.0.3. AWF
mcw@ukc.ac.uk (M.C.Wheadon) (06/07/90)
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