bazelisk run/test hide segmentation violations #556
Labels
help wanted
Needs help from external contributors
P2
We'll consider working on this in future. (Assignee optional)
type:bug
Something isn't working
Description of the bug:
bazelisk run
hides segmentation violations, e.g. if "bazel run" returns with rc==139 "bazelisk run" will return with code 255 instead. Thus the shell also won't print the "segmentation violation" error.Also see the discussion in the original ticket here for more details bazelbuild/bazel#21470
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
main.cc
BUILD
When we "bazelisk run" the cc_binary here's what we get (note on the screenshot bazel is an alias for bazelisk):
Running the binary from bazel-bin instead we clearly see the application segfaults (return code 139)
The text was updated successfully, but these errors were encountered: