Thanks @araq, I'll work with @matkuki and see if we can narrow it down. Though the demo app isn't too large, a few hundred lines.
The reason I thought it could be a compiler bug would be that it looks like the some bugs from the early arc days, and that the stack trace becomes nebulous.. Though that could just be due to being in a template of templates section. I'm using a finally block to let the user provide post-widget actions/handling without needing to create a closure/proc. So it could be something in my code there or the compiler getting confused. @carterza, good thought. I'll take a look, but that section of code should be pure Nim code. There's C libs called but later during rendering.
