3 ms·
No. Because in C++ no segfault may be thrown at all. You can put a for loop around an out of bounds memory write and it may hit a segfault at index 300 for no a
by deltaonefour 4y ago
No. Because in C++ no segfault may be thrown at all. You can put a for loop around an out of bounds memory write and it may hit a segfault at index 300 for no apparent reason or the segfault likely even happens AFTER the for loop.
The examples you posted are typical complaints. Those errors don't hold a candle to out of bounds memory errors though. Typical solutions in the examples you posted involved people suggesting breakpoints for really complex datapaths. The solution to the problem is straightforward however tedious.
One of the bugs you posted involved a bug in the interpreter. If that's the case all bets are off.