Segfaults: GDB Scripts to the Rescue

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

“DLL Hell”: Tips & Tricks to Avoid it in VAST

Delegating tasks from high-level languages like the VAST Platform (VA Smalltalk) to languages like C, C++, Rust via some kind of FFI (Foreign Function Interface) is becoming more and more common. Ideally, you would like to have everything implemented in your preferred high-level language, but I believe in using the appropriate tool for each problem. … More “DLL Hell”: Tips & Tricks to Avoid it in VAST

Troubleshooting Applications Running on Windows

Over the past few months, I’ve been troubleshooting hard problems that have appeared when running the VAST Platform (VA Smalltalk) on Windows. Some of the problems were indeed bugs (like sockets leaking under a particular scenario) and some were just Windows or customer issues. Regardless of where the problem was, I learned much about certain … More Troubleshooting Applications Running on Windows

It’s 2019: stop reading text and start debugging!

If you are a programmer, I am sure you have found yourself many many times “debugging” a system by writing strings to the console / stdout / file. Those messages were usually something like “passed here!”, “false branch”, “now about to enter loop” and maybe even some “fuc..” or “WTF” too. If you were “lucky” … More It’s 2019: stop reading text and start debugging!