kevinlawler / kona

Open-source implementation of the K programming language
ISC License
1.36k stars 138 forks source link

"flatten" scalar results in garbage data, (sometimes) crash #514

Closed hoosierEE closed 6 years ago

hoosierEE commented 6 years ago

  a:1
1
  ,//a
1
  a
()
  a
�r" (nil)  
  ,//a
()
  a
�r" (nil)  
  a
()
  ,//a
rlwrap: warning: k crashed, killed by SIGSEGV (core dumped).
rlwrap itself has not crashed, but for transparency,
it will now kill itself with the same signal

warnings can be silenced by the --no-warnings (-n) option
Segmentation fault (core dumped)

Seems like the crash doesn't always happen right away, and the "garbage text" is different each time I restart Kona.

tavmem commented 6 years ago

Thanks! This bug is a regression.
It worked through commit 84eda9efef57f0cf9b49be747bf5251cfb47d9a8 made on Oct 20, 2015. It was broken by commit c71477ccee04f684fd4d4820d5cac843fdc5ab59 also made on Oct 20, 2015. See issue #380

hoosierEE commented 6 years ago

Awesome, thanks!