neversaydie version 1.0.0 has been released!

A

Aaron Patterson

neversaydie version 1.0.0 has been released!

* <http://seattlerb.rubyforge.org>
* <http://github.com/tenderlove/neversaydie>

NEVER SAY DIE lets you rescue from segmentation faults. Got a SEGV, don't
worry about it anymore! Just rescue an exception and get on with life. Who
cares about getting a SEGV anyway? It's just memory. I mean, when I was in
school, I didn't need 100% to pass the class. Why should your memory need to
be 100% correct to get the job done? A little memory corruption here and there
doesn't hurt anyone.

So go for it! Kick back, grab a beer, require the NEVER SAY DIE gem and let
your problems go away sometimes!

## FEATURES/PROBLEMS:

* Oh so many problems...
* Portability...
* Not solving the root cause..
* It might not work.
* Just to name a few

## SYNOPSIS:

I will let the (passing) test speak for itself:

assert_raises NeverSayDie do
NeverSayDie.segv
end

Here is the source of the segv method:

static VALUE segv(VALUE self)
{
int *ptr = NULL;
*ptr = 1;

return self;
}

## REQUIREMENTS:

* libsigsegv

## INSTALL:

First, install libsigsegv. If you're on OS X, do this:

$ sudo port install libsigsegv

I'm not sure about other platforms. Then install the gem:

$ sudo gem install neversaydie

Changes:

### 1.0.0 / 2009-08-10

* 1 major enhancement

* Birthday!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top