Ça le fait pas tout le temps...
Il semblerait que ça vienne de GTK et gobject. Le bug survient aléatoirement.
Seule solution trouvée pour ne plus faire crash l'application lorsque le bug se produit : rescue l'error.
/Users/Valentin/.rvm/gems/ruby-2.3.0/gems/gobject-introspection-3.2.1/lib/gobject-introspection/loader.rb:576:in `invoke': Object isn't supported
from /Users/Valentin/.rvm/gems/ruby-2.3.0/gems/gobject-introspection-3.2.1/lib/gobject-introspection/loader.rb:576:in `block in define_method'
from /Users/Valentin/git/picross/src/UI/Frames/Game/CellButton.rb:103:in `block in setCSSClass'
from /Users/Valentin/git/picross/src/UI/Frames/Game/CellButton.rb:102:in `each'
from /Users/Valentin/git/picross/src/UI/Frames/Game/CellButton.rb:102:in `setCSSClass'
from /Users/Valentin/git/picross/src/UI/Frames/Game/Drag.rb:148:in `block (2 levels) in updateFromTo'
from /Users/Valentin/git/picross/src/UI/Frames/Game/Drag.rb:143:in `each'
from /Users/Valentin/git/picross/src/UI/Frames/Game/Drag.rb:143:in `block in updateFromTo'
from /Users/Valentin/git/picross/src/UI/Frames/Game/Drag.rb:142:in `each'
from /Users/Valentin/git/picross/src/UI/Frames/Game/Drag.rb:142:in `updateFromTo'
from /Users/Valentin/git/picross/src/UI/Frames/Game/Drag.rb:107:in `update'
from /Users/Valentin/git/picross/src/UI/Frames/Game/CellButton.rb:82:in `block in setEvents'
from /Users/Valentin/.rvm/gems/ruby-2.3.0/gems/gobject-introspection-3.2.1/lib/gobject-introspection/loader.rb:576:in `call'
from /Users/Valentin/.rvm/gems/ruby-2.3.0/gems/gobject-introspection-3.2.1/lib/gobject-introspection/loader.rb:576:in `invoke'
from /Users/Valentin/.rvm/gems/ruby-2.3.0/gems/gobject-introspection-3.2.1/lib/gobject-introspection/loader.rb:576:in `block in define_method'
from UI/Application.rb:90:in `<main>'
UI/Application.rb: [BUG] Segmentation fault at 0x0000000000001e