Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* cc'ing a program crashes a running copy?
@ 1995-02-09  5:54 Andrej Panjkov
  1995-02-09 11:50 ` Arndt Brenschede
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Andrej Panjkov @ 1995-02-09  5:54 UTC (permalink / raw)


Hi--

On an ALPHA 3000/300x with DEC OSF/1 3.05, this strange thing happens:

Suppose 'prog' is the executable form prog.c.  
Suppose prog is running.
Compile prog.c in another window (cc -o prog prog.c).

When cc finishes, the excuting copy of prog crashes with a memory fault!?

What th'...?

Get this too:  if prog is running and I recompile prog  giving the new
executable a new name (cc -o xxx prog.c), prog doesn't crash.

Why should overwriting the executable on disk crash the corresponding
active process in memory?  Is this some weird sort of dynamic execution
thing that I don't know about?  

Please explain this to me, and suggest a fix/workaround.  

Thanks for reading, and thanks in advance for your help.

-- 
Andrej Panjkov, La Trobe Maths, matap@lure.latrobe.edu.au


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

end of thread, other threads:[~1995-02-17 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-09  5:54 cc'ing a program crashes a running copy? Andrej Panjkov
1995-02-09 11:50 ` Arndt Brenschede
1995-02-09 22:06 ` Andrew Gabriel
1995-02-17 15:22   ` Joerg Czeranski
1995-02-10  8:09 ` Stefan Monnier
1995-02-16 15:25 ` Hartmut Streppel

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