Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* _start problem with C program
@ 1995-07-06  4:00 mitchell
  1995-07-06  4:00 ` Tim Lucia
  1995-07-12  4:00 ` Sam Eads
  0 siblings, 2 replies; 3+ messages in thread
From: mitchell @ 1995-07-06  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: _start problem with C program
  1995-07-06  4:00 _start problem with C program mitchell
@ 1995-07-06  4:00 ` Tim Lucia
  1995-07-12  4:00 ` Sam Eads
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Lucia @ 1995-07-06  4:00 UTC (permalink / raw)



In article <mitchell.95Jul68923@odo>, mitchell@odo writes:
|>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
|>


Any chance you could post a short example, complete with a Makefile which
demonstrates this behavior?  Also, the output of uname -a would be most
beneficial.

Regards,
Tim

-- 
Timothy J. Lucia - DECladebug            Email:    mailto:lucia@zko.dec.com
Digital Equipment Corporation            Phone:           603.881.2615
110 Spitbrook Road ZKO2-3/K06            Fax:             603.881.0120
Nashua, NH  USA  03062-2698              I'd rather be fishing, thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: _start problem with C program
  1995-07-06  4:00 _start problem with C program mitchell
  1995-07-06  4:00 ` Tim Lucia
@ 1995-07-12  4:00 ` Sam Eads
  1 sibling, 0 replies; 3+ messages in thread
From: Sam Eads @ 1995-07-12  4:00 UTC (permalink / raw)


In article <mitchell.95Jul68923@odo>, 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                           |
--------------------------------------------------------




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-07-12  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-06  4:00 _start problem with C program mitchell
1995-07-06  4:00 ` Tim Lucia
1995-07-12  4:00 ` Sam Eads

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox