-
Notifications
You must be signed in to change notification settings - Fork 57
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
splinter_bundle_build_filters: Assertion `!req->should_build[i]' failed #201
Comments
Hi, @ajhconway - Just following up with this critical issue. I can repro this still on /main, and have updated the issue description with the assertions seen now. The hope is that PR #278 may fix this one. That one seems to have passed review, but has not been merged, yet. I'd like to re-try these repros, with that fix rebased off of /main, to see if these tests can now pass. I can then integrate them to the nightly test runs. Thanks! |
Simple C reproducer for this problem, in case we can't get |
The stand-alone C-unit-test that is supposed to repro this problem has been attached under this commit to this PR #278. That last PR is going thru final rounds of code-reviews / stabilization before it hits /main. Then, I will re-run this That issue will probably have to be resolved before repro-attempts can be made to see if these problems repro. |
Can reliably produce this assertion without any async behavior:
Updated (agurajada) 7.Mar.2022: Attempted to repro this with latest version of /main as of this commit:
fc49943 Alex Conway 4 hours ago Mon, 07-Mar-2022, 12:32:00 PM (Authored: Mon, 07-Mar-2022, 07:55:15 PM) Format Checks
In release build, we get this assertion:
In debug build, at the same cut of the SHA, we get this assertion:
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff7d12859 in __GI_abort () at abort.c:79
#2 0x00007ffff7fa6828 in platform_assert_false (stream=0x7ffff7ed95c0 <IO_2_1_stderr>, filename=0x7ffff7fb0284 "src/trunk.c", linenumber=1832,
functionname=0x7ffff7fb3990 <FUNCTION.8910> "trunk_get_new_bundle", expr=0x7ffff7fb0618 "(hdr->end_bundle != hdr->start_bundle)",
message=0x7ffff7fb05c0 "No available bundles in trunk node. page disk_addr=%lu, end_bundle=%d, start_bundle=%d")
at src/platform_linux/platform.c:328
#3 0x00007ffff7f81094 in trunk_get_new_bundle (spl=0x7fffb365c040, node=0x7ffff37efc40) at src/trunk.c:1832
#4 0x00007ffff7f84c9d in trunk_memtable_incorporate (spl=0x7fffb365c040, generation=146, tid=16) at src/trunk.c:3138
#5 0x00007ffff7f8548e in trunk_memtable_flush_internal (spl=0x7fffb365c040, generation=146) at src/trunk.c:3255
#6 0x00007ffff7f854e6 in trunk_memtable_flush_internal_virtual (arg=0x7fffb36ad378, scratch=0x7fff6c000900) at src/trunk.c:3266
#7 0x00007ffff7f7aed1 in task_group_perform_one (group=0x7ffff7a69280) at src/task.c:551
#8 0x00007ffff7f7b049 in task_perform_one (ts=0x7ffff7a69040) at src/task.c:576
#9 0x00007ffff7f8df8e in trunk_insert (spl=0x7fffb365c040, key=0x7fff7affcdf0 "+y\242\020\360o", <incomplete sequence \330>, data=...)
at src/trunk.c:5809
#10 0x000055555555e207 in test_trunk_insert_thread (arg=0x5555555a96a8) at tests/functional/splinter_test.c:165
#11 0x00007ffff7f79dd5 in task_invoke_with_hooks (func_and_args=0x5555555ab400) at src/task.c:183
#12 0x00007ffff7ef2609 in start_thread (arg=) at pthread_create.c:477
#13 0x00007ffff7e0f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb)
The text was updated successfully, but these errors were encountered: