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

ASSERT interp.c:5447 t->bbs != NULL in drx_buf-test #2657

Open
derekbruening opened this issue Oct 3, 2017 · 1 comment
Open

ASSERT interp.c:5447 t->bbs != NULL in drx_buf-test #2657

derekbruening opened this issue Oct 3, 2017 · 1 comment

Comments

@derekbruening
Copy link
Contributor

This just happened. Non-deterministic: never seen it before.

https://travis-ci.org/DynamoRIO/dynamorio/jobs/282481310

172/275 Test #169: code_api|client.drx_buf-test .................................***Failed  Required regular expression not found.Regex=[^Starting drx_buf threaded test
Ending drx_buf threaded test
Starting drx_buf signal test
drx_buf signal test PASS
Ending drx_buf signal test
$
]  1.04 sec
Starting drx_buf threaded test
<Application /home/travis/build/DynamoRIO/dynamorio/build_debug-internal-64/suite/tests/bin/client.drx_buf-test (21138).  Internal Error: DynamoRIO debug check failure: /home/travis/build/DynamoRIO/dynamorio/core/arch/interp.c:5447 t->bbs != NULL
(Error occurred @2071 frags)
version 6.2.17441, custom build
-no_dynamic_options -client_lib '/home/travis/build/DynamoRIO/dynamorio/build_debug-internal-64/suite/tests/bin/libclient.drx_buf-test.dll.so;0;' -code_api -stderr_mask 12 -stack_size 56K -signal_stack_size 32K -max_elide_jmp 0 -max_elide_call 0 -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_
0x00000000542409a0 0x00007f7074cc6d19
0x0000000054240be0 0x00007f7074e44b37
0x0000000054240de0 0x00007f7074dda555
0x0000000054241430 0x00007f7074ddbbbf
0x0000000054241470 0x00007f7074db55b8
0x00000000542414e0 0x00007f7074ea59bb
0x00000000542417c0 0x00007f7074eaa512
0x0000000054241a00 0x00007f7074ead1f3
0x0000000054241ab0 0x00007f7074e6fac0
0x00007f7073d70f10 0x00007f7074146184
/home/travis/build/DynamoRIO/dynamorio/build_debug-internal-64/suite/tests/bin/libclient.drx_buf-test.dll.so=0x0000000072000000
/lib/x86_64-linux-gnu/libc.so.6=0x00007f70745ba000
/lib64/ld-linux-x86-64.so.2=0x00007f7074394000
/home/travis/build/DynamoRIO/dynamorio/build_debug-internal-64/ext/lib64/debug/libdrx.so=0x0000000077000000
/home/travis/build/DynamoRIO/dynamorio/build_debug-internal-64/ext/lib64/debug/libdrreg.so=0x0000000078000000
/home>

@toshipiazza, have you ever seen this?

@toshipiazza
Copy link
Contributor

Interesting, I've never seen this. I'll try to see if I can repro on my machine.

derekbruening added a commit that referenced this issue Feb 9, 2022
Adds ignore rules for the following observed long suite failures,
keeping some of them limited to the long suite only so we do not lose
the ability to detect fails-every-time breakage in pull requests:

+ #2052: signal.c:5306 tr == NULL || tr->under_dynamo_control || IS_CLIENT_THREAD(dcontext) || sig == SUSPEND_SIGNAL
  + lin64 prof_pcs|common.nativeexec_exe_opt
    https://github.com/DynamoRIO/dynamorio/runs/5079862873
  + lin32 prof_pcs|common.nativeexec_retakeover_opt
    https://github.com/DynamoRIO/dynamorio/runs/5080176761
  + lin64 prof_pcs,thread_private|common.nativeexec_exe_opt
    https://github.com/DynamoRIO/dynamorio/runs/4992456119
  + lin32 prof_pcs,thread_private|common.nativeexec_bindnow_opt
    https://github.com/DynamoRIO/dynamorio/runs/4993095901
  + lin32 prof_pcs|common.nativeexec_bindnow_opt
    https://github.com/DynamoRIO/dynamorio/runs/4860096547
    https://github.com/DynamoRIO/dynamorio/runs/4792339299

+ #4732: client.winxfer test output does not always match
  + win32 code_api|client.winxfer
    https://github.com/DynamoRIO/dynamorio/runs/5113993573
    https://github.com/DynamoRIO/dynamorio/runs/5014069363
    https://github.com/DynamoRIO/dynamorio/runs/4860068689
    https://github.com/DynamoRIO/dynamorio/runs/4836923113
    https://github.com/DynamoRIO/dynamorio/runs/4818620705

+ #2657: ASSERT interp.c:5447 t->bbs != NULL in drx_buf-test
  + lin64 code_api|client.drx_buf-test
    https://github.com/DynamoRIO/dynamorio/runs/5014069596

+ #3320: ASSERT type_is_instr in multiple drcachesim tests
  + win64 code_api|tool.drcachesim.threads-with-config-file
    https://github.com/DynamoRIO/dynamorio/runs/4993095937
  + win32 code_api|tool.drcachesim.invariants
    https://github.com/DynamoRIO/dynamorio/runs/4798976751
    https://github.com/DynamoRIO/dynamorio/runs/4780921079

Issue: #2052, #4732, #2657, #3320, #1807
derekbruening added a commit that referenced this issue Feb 9, 2022
Adds ignore rules for the following observed long suite failures,
keeping some of them limited to the long suite only so we do not lose
the ability to detect fails-every-time breakage in pull requests.

Also extrapolates the #2052 and #3320 failures to adjacent variants
to avoid repeats with just different architectures or options.

+ #2052: signal.c:5306 tr == NULL || tr->under_dynamo_control || IS_CLIENT_THREAD(dcontext) || sig == SUSPEND_SIGNAL
  + lin64 prof_pcs|common.nativeexec_exe_opt
    https://github.com/DynamoRIO/dynamorio/runs/5079862873
  + lin32 prof_pcs|common.nativeexec_retakeover_opt
    https://github.com/DynamoRIO/dynamorio/runs/5080176761
  + lin64 prof_pcs,thread_private|common.nativeexec_exe_opt
    https://github.com/DynamoRIO/dynamorio/runs/4992456119
  + lin32 prof_pcs,thread_private|common.nativeexec_bindnow_opt
    https://github.com/DynamoRIO/dynamorio/runs/4993095901
  + lin32 prof_pcs|common.nativeexec_bindnow_opt
    https://github.com/DynamoRIO/dynamorio/runs/4860096547
    https://github.com/DynamoRIO/dynamorio/runs/4792339299

+ #4732: client.winxfer test output does not always match
  + win32 code_api|client.winxfer
    https://github.com/DynamoRIO/dynamorio/runs/5113993573
    https://github.com/DynamoRIO/dynamorio/runs/5014069363
    https://github.com/DynamoRIO/dynamorio/runs/4860068689
    https://github.com/DynamoRIO/dynamorio/runs/4836923113
    https://github.com/DynamoRIO/dynamorio/runs/4818620705

+ #2657: ASSERT interp.c:5447 t->bbs != NULL in drx_buf-test
  + lin64 code_api|client.drx_buf-test
    https://github.com/DynamoRIO/dynamorio/runs/5014069596

+ #3320: ASSERT type_is_instr in multiple drcachesim tests
  + win64 code_api|tool.drcachesim.threads-with-config-file
    https://github.com/DynamoRIO/dynamorio/runs/4993095937
  + win32 code_api|tool.drcachesim.invariants
    https://github.com/DynamoRIO/dynamorio/runs/4798976751
    https://github.com/DynamoRIO/dynamorio/runs/4780921079

Issue: #2052, #4732, #2657, #3320, #1807
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants