Worked through this a bit with them in the real time chat, turns out they were using `cast` to convert a different inherited type to their desired type, minimal reproduction here: type A = ref object of RootObj B = ref object of A name: string C = ref object of A eval: proc() var val = cast[C](B(name: "Hello")) assert val.eval != nil val.eval() Run
- How to debug: SIGBUS: Illegal storage access. (Attempt to read... gcao
- How to debug: SIGBUS: Illegal storage access. (Attempt to... ggibson
- How to debug: SIGBUS: Illegal storage access. (Attemp... xigoi
- How to debug: SIGBUS: Illegal storage access. (At... ElegantBeef