The crash is on this line:
[...]
If pike is built with PIKE_DEBUG, you get this fatal instead:
[...]
So the crash is in the compiler proper, not in the execution of the program.
Thanks for the report, test case and investigation.
Fixed the code generator in Pike 8.0 and master.
/grubba