Skip to content

Instantly share code, notes, and snippets.

@tiesmaster
Created December 4, 2012 16:03
Show Gist options
  • Save tiesmaster/4205536 to your computer and use it in GitHub Desktop.
Save tiesmaster/4205536 to your computer and use it in GitHub Desktop.
Crash the GIS
_block
# results in a failed assertion
_thisthread.sys!slot(:vm_dynamic_environment) <<
_thisthread.vm_dynamic_environment.sys!augment_dynamic_environment(@!hoi!, :dag)
_endblock
$
_block
# results in an access violation
terminal.method(:put_charvec|()|).value.sys!perform(:at0|()<<|, 0, 0)
_endblock
$
_block
# only crashes on the next compile cycle
magik_parser.method(:compile_for_process|()|).value.sys!perform(:at0|()<<|, 0, 0)
_endblock
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment