Skip non string values in backtraces; ref
MODIFY
src/backtrace.c
src/backtrace.c
@@ -219,9 +219,11 @@ print_backtrace(mrb_state *mrb, mrb_value backtrace)
for (i = 0; i < n; i++) {
mrb_value entry = RARRAY_PTR(backtrace)[i];
+ if (mrb_string_p(entry)) {
fprintf(stream, "\t[%d] %.*s\n", i, (int)RSTRING_LEN(entry), RSTRING_PTR(entry));
}
}
+}
static void
print_backtrace_saved(mrb_state *mrb)

Skip non string values in backtraces; ref #3408