We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bdb796 commit 3e0eea6Copy full SHA for 3e0eea6
vm_backtrace.c
@@ -540,7 +540,10 @@ static const rb_data_type_t backtrace_data_type = {
540
NULL, // No external memory to report,
541
backtrace_update,
542
},
543
- 0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED | RUBY_TYPED_EMBEDDABLE
+ /* Cannot set the RUBY_TYPED_EMBEDDABLE flag because the loc of frame_info
544
+ * points elements in the backtrace array. This can cause the loc to become
545
+ * incorrect if this backtrace object is moved by compaction. */
546
+ 0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED
547
};
548
549
int
0 commit comments