From: matap@lure.latrobe.edu.au (Andrej Panjkov)
Subject: cc'ing a program crashes a running copy?
Date: Thu, 9 Feb 1995 05:54:58 GMT [thread overview]
Message-ID: <matap-090295165458@guardian.maths.latrobe.edu.au> (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
next reply other threads:[~1995-02-09 5:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-09 5:54 Andrej Panjkov [this message]
1995-02-09 11:50 ` cc'ing a program crashes a running copy? 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
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox