home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.advocacy:8574 comp.os.os2.misc:36982
- Path: sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!usc!rpi!batcomputer!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!luxury.latrobe.edu.au!cscks
- Newsgroups: comp.os.os2.advocacy,comp.os.os2.misc
- Subject: Re: OS/2 Crashproof? NOT!
- Message-ID: <1992Nov19.001300.10429@lugb.latrobe.edu.au>
- From: cscks@luxury.latrobe.edu.au (Kamal Shaker.)
- Date: Thu, 19 Nov 1992 00:13:00 GMT
- Sender: news@lugb.latrobe.edu.au (USENET News System)
- References: <sherman.722075047@foster>
- Organization: La Trobe University
- X-Newsreader: Tin 1.1 PL4
- Lines: 54
-
-
- sherman@unx.sas.com (Chris Sherman) writes:
- : In <1992Nov16.071632.9886@cs.joensuu.fi> jahonen@cs.joensuu.fi (Jarmo Ahonen) writes:
- :
- : I would like to know how the different operating systems handle a crash...
- :
- : Under MS-DOS, when the system crashes, it just goes away, and you have
- : no idea what went wrong.
- :
- : Under Unix, if a program or the operating system itself crashes, you get a
- : nice core file (usually) that gives you all the information you need to
- : track down what happened. In the case of an operating system, you can send
- : this core file to the vender, and maybe a week or two later a patch tape
- : will show up. You system will never crash that way again. In terms of a
- : normal program, you can enter the source level debugger, load in the core
- : file, and you can see what the environment looked like at the moment of the
- : crash (stack, variables, everything). It will tell you what line of code
- : the program crashed on too.
- :
- : Now, how does OS/2 handle crashes? Windows? Amiga? Mac?
- :
- : (I have seen on a Mac where a debug window comes up and you can then look
- : at hex, but I'm not sure how useful this is in tracing code, or even
- : finding out what happened to make it crash).
- :
- : I would think that if an operating system preserved the state of everything
- : when it died, debugging it would be a heck of alot easier. I consider the
- : core file mechanism to be one of the main reasons why Unix systems are so
- : reliable. When they crash, you can find out exactly why very easily.
- :
- : Comments? Any reason why OS/2 couldn't do something like this?
- :
- : --
-
- Well under OS/2 you can get the memory dump of the system
- by creating a dump disk with createdd, then when it crashes
- press control-alt-numlock twice and insert the disk....
-
- But then I've never gone all the way through with it..
- I just use it to get to do a c-a-d....
-
- As for programs... thats up to programming environment isn't it..
- just like it should be, eg Borlands is the best I've seen, but
- it's up to the programmer to decide which one to use....
-
-
- --
- ------------------------------------------------------------------------------
- Kamal Shaker, | cscks@luxury.latrobe.edu.au or shaker@latcs1.lat.oz.au
- Student Vax Cluster, | %SYSTEM-F-EXQUOTA, Alcohol quota exceeded,
- La Trobe Uni, | stomach dumped.
- ------------------------------------------------------------------------------
- There's enough water on earth to drown the human population 87.6 million times
-
-