OS4 DepotLogo by Nickman 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Development » Utility » crash.lha


Description: "Safely" crashes with purpose - C source included
Download: crash.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 3kb
Version: 1.2
Date: 23 Jul 2021
Author: Marko K. Seppänen
Submitter: Marko Seppänen
Homepage: http://www.m4rko.com/amiga
Category: development/utility
Replaces: development/utility/crash.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 11765
Comments: 5
Snapshots: 0
Videos: 0
Downloads: 66  (Current version)
397  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Crash - 1.2 + source with makefile

Warning: This program will crash with purpose!

A small and simple command that "safely" crashes, by writing to address 0
that is protected and guaranteed never written to.

Why would you want a program that crashes?

I for example, sometimes need a "safe" way to crash a program so I can check
where the error output is going, etc etc.

C source code included with a makefile.

1. Unarchive the package.
2. Just copy the file Crash in the Crash drawer to your C:
3. Done.

Compiling the Source
1. Open Shell.
2. Locate the drawer where you did put Crash and cd into the src/ drawer.
3. Write the folling in Shell:
     1> make

Version 1.2: (2021 Jun)
  - Added a warning that is printed out.
  - Added a countdown of 3 seconds (so the user has a chance to abort).
  - Updated the Makefile.
Version 1.1: (2021 Jun)
  - Fixed the makefile to make a release including the source code.
  - Fixed the makefile to clean (delete) correctly.
Version 1.0: (2014 May)
  - Initial release.

Marko K. Seppänen


Copyright © 2004-2024 by Björn Hagström All Rights Reserved