Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jit crash, 2024-09-20_67c5 #1618

Open
hzeller opened this issue Sep 20, 2024 · 0 comments
Open

jit crash, 2024-09-20_67c5 #1618

hzeller opened this issue Sep 20, 2024 · 0 comments
Labels
bug Something isn't working or is incorrect fuzz jit

Comments

@hzeller
Copy link
Member

hzeller commented Sep 20, 2024

Repro:

bazel test  -c opt //xls/fuzzer:run_crasher_test_2024-09-20_67c5

This causes a segfault invoking eval_ir_main --use_llvm_jit but without much log.
If test is run with --config=asan it shows that there is a failing read dereference:

$path_to/xls/tools/eval_ir_main --input_file=/tmp/temp_directory_di0FGT/args.txt --use_llvm_jit /tmp/temp_directory_di0FGT/sample.ir
==23==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x7f6dec7d44bf bp 0x000000000006 sp 0x7fff2ed6fc98 T0)
==23==The signal is caused by a READ memory access.
==23==Hint: this fault was caused by a dereference of a high value address (see register values below).  Disassemble the provided pc to learn which register was used.
    #0 0x7f6dec7d44bf  (<unknown module>)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (<unknown module>) 

Possibly some LLVM issue.

@hzeller hzeller added bug Something isn't working or is incorrect fuzz jit labels Sep 20, 2024
copybara-service bot pushed a commit that referenced this issue Sep 23, 2024
Possibly an LLVM issue.

Issues: #1618
PiperOrigin-RevId: 677983739
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or is incorrect fuzz jit
Projects
None yet
Development

No branches or pull requests

1 participant