dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)
Boost Software License 1.0
117 stars 47 forks source link

Add llvm-symbolizer to the path in run.dlang.org image #733

Closed JohanEngelen closed 4 years ago

JohanEngelen commented 4 years ago

When using Address Sanitizer, location information is not available in the output: https://run.dlang.io/is/H0nQKi

This can be solved by adding llvm-symbolizer to the path. Probably that tool is not installed by default in the docker image, so needs installation first. Should be part of the llvm package.

background info: https://clang.llvm.org/docs/AddressSanitizer.html#symbolizing-the-reports

JohanEngelen commented 4 years ago

See also: https://stackoverflow.com/questions/38079761/why-does-asan-symbolizer-path-no-longer-work-with-version-adorned-binaries

JohanEngelen commented 4 years ago

@wilzbach Do you think you can fix this? Thanks!

Geod24 commented 4 years ago

I think it should just be a matter of adding it here

JohanEngelen commented 4 years ago

@Geod24 Thanks! https://github.com/dlang-tour/core-exec/pull/53