Skip to content

Fix a bug which could cause SIGBUS & Pin GitHub Actions to commit SHAs - #15

Merged
chishui merged 5 commits into
opensearch-project:mainfrom
chishui:main
Jul 2, 2026
Merged

chishui merged 5 commits into
opensearch-project:mainfrom
chishui:main

Conversation

@chishui

@chishui chishui commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Description

score_essential_terms must skip docs before window_base. When scorers span multiple windows (>4096 docs) and re-partitioning changes first_essential, a newly-essential scorer may have its cursor pointing at docs before the current window. Without the bounds check, this produces a negative slot index causing SIGBUS / out-of-bounds write.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

chishui added 3 commits March 19, 2026 15:36
…ling back

Signed-off-by: Liyun Xiu <xiliyun@amazon.com>
Signed-off-by: Liyun Xiu <xiliyun@amazon.com>
chishui added 2 commits July 2, 2026 15:02
Signed-off-by: Liyun Xiu <xiliyun@amazon.com>
Signed-off-by: Liyun Xiu <xiliyun@amazon.com>
@chishui chishui changed the title Fix a bug which could cause SIGBUS Fix a bug which could cause SIGBUS & Pin GitHub Actions to commit SHAs Jul 2, 2026
@chishui
chishui merged commit bed081d into opensearch-project:main Jul 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants