From: John R. <jr...@bi...> - 2019-02-19 02:18:31
|
> 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. |