The execution recipe works for me on Fedora 28 using
valgrind-3.14.0-7.fc28.x86_64.
I omitted dsymutil. Why is it essential for you?
It is not essential.
Therefore omitting dsymutil will narrow the search for the problem(s).
$ rpm -q clang
clang-6.0.1-2.fc28.x86_64
Why there is no segmentation fault in your run?
What version of clang? I showed that I used clang-6.0.1-2.fc28.x86_64.
Also, the default on Mac is to use addresses greater than (1ul<<32).
This catches some errors of storing an address in a 32-bit variable.
The default on Fedora is to start using addresses at 4MiB, which
saves 4 bytes of space in several important places, but in many
cases avoids noticing the problem of storing an address in 32 bits.
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users