#1 0x00007f068ebee9eb in io_flush_buffer_sync (arg=0x7f068feee180) at io.c:994 #2 0x00007f068ebf3647 in fptr_finalize (fptr=0x7f068feee180, noraise=1) at io.c:4172 #3 0x00007f068ebf3ca2 in rb_io_fptr_cleanup (fptr=0x7f068feee180) at io.c:4222 #4 rb_io_fptr_finalize (fptr=0x7f068feee180) at io.c:4262 #5 0x00007f068ebe1c45 in run_final () at gc.c:2064 #6 finalize_list () at gc.c:2080 #7 rb_objspace_call_finalizer () at gc.c:2212 #8 rb_gc_call_finalizer_at_exit () at gc.c:2146 #9 0x00007f068ebc7d1d in ruby_finalize_1 (ex=1) at eval.c:129 #10 ruby_cleanup (ex=1) at eval.c:230 #11 0x00007f068ebc7eed in ruby_run_node (n=<value optimized out>) at eval.c:310 #12 0x00007f068ebc2bdb in main (argc=5, argv=0x7ffff21cbe38) at main.c:36