We recently discovered that we would very sporadically get a segmentation fault when running the whole test suite of the VAST Platform (VA Smalltalk) on Linux. During our initial investigation, we realized this was not something new, but that the problem had existed for many years. It happens only on Linux (not Windows), and with … More Segfaults: GDB Scripts to the Rescue
This post is mostly a reminder for myself, because each time I need to do it, I forget how it was 🙂 There are usually 2 cases where I want that the VM halts (breakpoint): 1) When a particular message is being processed. 2) When there is an assertion failure. CogVM has some kind of … More Halting when VM sends a particular message or on assertion failures
Hi. Whether you are experimenting and hacking in the VM (where it is likely that some things will go wrong) or you are running an application in production, it is always useful to know how to debug the VM. In this post, we will see how to compile the VM with all the debug information, … More How to debug the VM?