From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1fea0777fb6457bb X-Google-Attributes: gidfee84,public From: sameads@mindspring.com (Sam Eads) Subject: Re: _start problem with C program Date: 1995/07/12 Message-ID: <3tvkiu$11ua@firehose.mindspring.com>#1/1 X-Deja-AN: 106000950 references: organization: Just Me mime-version: 1.0 newsgroups: comp.unix.osf.osf1 In article , mitchell@odo says... > >Hi folks, > I am porting some code to DEC UNIX. Some of the programs build and run. Others die with a "Segmentation fault" >error in the C run time library start up code. Has anyone encountered this problem? Any help would be appreciated. >Thanks - Craig > >mitchell@suite.com -- About 3 months ago I had some really strange cores being created when on a Digital Unix system. They included: cores being generated in runtime start code cores being generated in runtime exit code I did a complete code walk through and basically wasted 10-12 hours looking for the problem. It turns out that the problem was due to the fact that the file system that contained my source and binaries was a NFS mounted and some weird NFS cache bug that apparently exists on other Unixes too was causing the binaries to be corrupted. The solution was to delete the executable before doing a make. Your problem sounds similar, but I don't know if you are working on a NFS file system. If you're not then this isn't the problem. Good luck and hope this helps. -------------------------------------------------------- | Sam Eads | | Home: sameads@mindspring.com | | Work: sam.eads@compgen.com | --------------------------------------------------------