That's a lot of boilerplate code, scaffolding and additional instrumentation. In fact, much of my experience with C++ is at Mozilla, which does all of that and more. And still needs a team dedicated to recording and investigating crashes.
That's the reason for which Mozilla (and now some of the developments at Google, Facebook, Microsoft, Amazon) has started moving to Rust a while ago.
Also, I've written it somewhere else, but I'm going to repeat it:
> which practically never crashes because of memory problems
When you have memory issues, crashes are the lucky case. The common case is random memory corruption.