Issue #3712 has been updated by Peter Weldon.

File bug3712.patch added

Dereferencing an uninitialized pointer variable (block_iseq) in vm_dump.c (control_frame_dump), causes a segv while attempting to dump the control frames.

Patch attached that fixes the initialization.

nmake check
debug before patch  : 6902 tests, 1843847 assertions, 11 failures, 5 errors, 34 skips
debug after patch   : 6902 tests, 1843849 assertions, 11 failures, 4 errors, 34 skips
release before patch: 6902 tests, 1843849 assertions, 11 failures, 4 errors, 34 skips
release after patch : 6902 tests, 1843849 assertions, 11 failures, 4 errors, 34 skips

ps. rb_control_frame_t.block_iseq does not appear to be used. Open an issue to remove it?
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3712

----------------------------------------
http://redmine.ruby-lang.org