home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / crashme / README < prev   
Encoding:
Text File  |  1991-12-01  |  2.8 KB  |  85 lines

  1. Notes for release 1.8 of Crashme. 27-SEP-1991 GJC@MITECH.COM
  2.  
  3. Many people have suggested that the output of previous versions was
  4. far too verbose, and that that was not only anoying but also
  5. effectively slowing down the program. Therefore there is a new argument
  6. available after the subprocess control argument, which is a verboseness
  7. level from 0 to 5. Using a level of 2 will print out only summary
  8. information about the runs. e.g.
  9.  
  10. $ crashme +2000 666 50 00:30:00 2
  11. Crashme: (c) Copyright 1990, 1991 George J. Carrette
  12. Version: 1.7 25-SEP-1991
  13. Subprocess run for 1800 seconds (0 00:30:00)
  14. Test complete, total real time: 1801 seconds (0 00:30:01)
  15. exit status ... number of cases
  16.        1100 ...     2
  17.     3522652 ...     4
  18.        1036 ...     1
  19.        1084 ...     7
  20.        1108 ...    19
  21.           1 ...   432
  22.          12 ...   137
  23.  
  24. The table of exit status codes and frequencies is a new interesting
  25. aspect of the test. This test was run on a VMS system, so that we have
  26. a normal process exit 432 times, access violation 137 times,
  27. and reserved operand fault 19 times, etc. As the number of tries goes
  28. up (50 in this case) we would expect that the number of normal process
  29. exits to go down.
  30.  
  31. Here is some output supplied by nik@infonode.ingr.com on one of his machines.
  32.  
  33. Processor : Intergraph Clipper C300 RISC processor
  34.             16Mb memory + 4k I cache and 4K D cache
  35.  
  36. Operating System: CLIX Version c.5.3.2
  37.                   derived from AT&T SVR 3.1 with BSD enhancements.
  38.  
  39. Crashme: (c) Copyright 1990, 1991 George J. Carrette
  40. Version: 1.7 25-SEP-1991
  41. Subprocess run for 9000 seconds (0 02:30:00)
  42. Test complete, total real time: 9004 seconds (0 02:30:04)
  43. exit status ... number of cases
  44.         136 ...     1
  45.       24576 ...     1
  46.          14 ...     1
  47.         138 ...    11
  48.         135 ...    27
  49.         140 ...    26
  50.         132 ...   430
  51.         139 ...    18
  52.       12800 ...   567
  53.  
  54. The status values here could be decoded by reading the documentation
  55. for the "wait" system procedure, and looking up the correct part of
  56. the value in the sys_errlist[] array. That is left as an exersize for the 
  57. reader.
  58.  
  59. ------------------------------------------------------------------------
  60.  
  61. To compile, some systems may need #include <sys/types.h>.
  62.  
  63. Also, note the conditionalized code in bad_malloc. If your system
  64. only gets the signal "segmentation violation" then you may need
  65. to consider conditionalizations along this line. 
  66.  
  67. However, on a machine with a segmented address space, that has
  68. "instructions" in one segment and "data" in another, it is highly
  69. unlikely that the code for setting up and invoking the "void (*badboy)()" 
  70. will have any interesting effect. Nothing other than an easily
  71. handled SIGSEGV will result in the inner testing loop.
  72.  
  73. Some INTEL 80386 and DEC PDP-11 systems would be examples of this situation.
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.