[ANN] segfault4r-0.0.0

R

RubyTalk

Segfault4r is a module that does nothing but cause a segfault. It can
be gem installed, but it was only tested on 64 bit suse. I created
this to start getting back in to c, and learn some of ruby's c api. I
am told there could be uses for it.


Example:

require "rubygems"
require "segfault"

Segfault.now
puts "Forgive me matz."



Project pages:
http://rubyforge.org/projects/segfault4r/
http://raa.ruby-lang.org/project/segfault4r/

Read it:
http://rubyforge.org/docman/view.php/3491/925/README.txt


Let know if there are any comments or questions.

Stephen Becker IV
sbeckeriv #gmail#com
 
J

Joel VanderWerf

Segfault4r is a module that does nothing but cause a segfault. It can
be gem installed, but it was only tested on 64 bit suse. I created
this to start getting back in to c, and learn some of ruby's c api. I
am told there could be uses for it.


Example:

require "rubygems"
require "segfault"

Segfault.now
puts "Forgive me matz."

Why not just this?

Process.kill("SEGV", Process.pid)
 
B

Brian Candler

Segfault4r is a module that does nothing but cause a segfault.

I guess this must be a very tiny module?

irb(main):001:0> Process.kill 'SEGV', 0
(irb):1: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i486-linux]

Aborted
 
A

ara.t.howard

Segfault4r is a module that does nothing but cause a segfault. It can
be gem installed, but it was only tested on 64 bit suse. I created
this to start getting back in to c, and learn some of ruby's c api. I
am told there could be uses for it.


Example:

require "rubygems"
require "segfault"

Segfault.now
puts "Forgive me matz."

awesome. thanks!

-a
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,240
Messages
2,571,211
Members
47,849
Latest member
RoseannKoz

Latest Threads

Top