3 ms·
Under Linux, libSegFault and addr2line are underrated
- eesmith 4y agoA newline is missing in the example code. As given there's a segfault at line 5 not line 6. However, the code at https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/blob/master/2023/05/01/hello.c https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/... shows it's indeed at line 6, because it has an extra newline after the '#include <stdlib.h>'.