neversaydie version 1.0.0 has been released!
NEVER SAY DIE lets you rescue from segmentation faults. Got a SEGV,
worry about it anymore! Just rescue an exception and get on with life.
cares about getting a SEGV anyway? It’s just memory. I mean, when I
school, I didn’t need 100% to pass the class. Why should your memory
be 100% correct to get the job done? A little memory corruption here
doesn’t hurt anyone.
So go for it! Kick back, grab a beer, require the NEVER SAY DIE gem and
your problems go away sometimes!
- Oh so many problems…
- Not solving the root cause…
- It might not work.
- Just to name a few
I will let the (passing) test speak for itself:
assert_raises NeverSayDie do
Here is the source of the segv method:
static VALUE segv(VALUE self)
int *ptr = NULL;
*ptr = 1;
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
1.0.0 / 2009-08-10
1 major enhancement