Make Ruby segfault in two lines

I heard that it is popular, so I tried it with Ruby

require 'fiddle'

One liner

ruby -r fiddle -e 'Fiddle::Pointer[0].ptr'

I don't really understand why this is a segfault ...

Recommended Posts

Make Ruby segfault in two lines
Let Java segfault in 6 lines
Heavy in Ruby! ??
Make Blackjack in Java
Output triangle in Ruby
Variable type in ruby
Fast popcount in Ruby
I made an interpreter (compiler?) With about 80 lines in Ruby.
ABC177 --solving E in Ruby
Validate JWT token in Ruby
Write class inheritance in Ruby
Refactoring: Make Blackjack in Java
Update Ruby in Unicorn environment
Integer unified into Integer in Ruby 2.4
[Ruby] Exception handling in functions
Use ruby variables in javascript.
Multiplication in a Ruby array
About regular expressions in Ruby
NCk mod p in Ruby
I tried to make Numeron which is not good in Ruby