itamae-kitchen/mitamae

SEGV with undefined method

Closed this issue · 1 comments

% git rev-parse HEAD
4204b54e099f09a9fbfce01c5d1be94062e0c44
% rake compile
(snip)
% cat segv.rb
file '/tmp/hello.txt'
undefined_method
% mruby/build/host/bin/mitamae local segv.rb
 INFO : Starting MItamae...
zsh: segmentation fault (core dumped)  mruby/build/host/bin/mitamae local segv.rb

I've found that MItamae::RecipeContext#inspect causes SEGV.

file '/tmp/hello.txt'
p self  # SEGV

I'll send a workaround patch for this.