-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
_series segment files can cause SIGBUS in influxd and influx_inspect #24508
Comments
davidby-influx
added a commit
that referenced
this issue
Dec 6, 2023
Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes #24508
This was referenced Dec 6, 2023
Closed
davidby-influx
added a commit
that referenced
this issue
Dec 8, 2023
Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes #24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
davidby-influx
added a commit
that referenced
this issue
Dec 12, 2023
Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes #24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com> (cherry picked from commit 969abf3) closes #24510
davidby-influx
added a commit
that referenced
this issue
Dec 12, 2023
…24515) Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes #24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com> (cherry picked from commit 969abf3) closes #24510
davidby-influx
added a commit
that referenced
this issue
Dec 19, 2023
Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes #24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com> (cherry picked from commit 969abf3) closes #24511
davidby-influx
added a commit
that referenced
this issue
Dec 19, 2023
…24520) Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes #24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com> (cherry picked from commit 969abf3) closes #24511
davidby-influx
added a commit
that referenced
this issue
Dec 19, 2023
…24520) Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes #24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com> (cherry picked from commit 969abf3) closes #24511 (cherry picked from commit 081f951) closes #24512
davidby-influx
added a commit
that referenced
this issue
Dec 20, 2023
…24520) (#24521) Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes #24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com> (cherry picked from commit 969abf3) closes #24511 (cherry picked from commit 081f951) closes #24512
chengshiwen
pushed a commit
to chengshiwen/influxdb
that referenced
this issue
Aug 11, 2024
…ta#24509) Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes influxdata#24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
chengshiwen
pushed a commit
to chengshiwen/influxdb-cluster
that referenced
this issue
Aug 25, 2024
Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes influxdata/influxdb#24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
chengshiwen
pushed a commit
to chengshiwen/influxdb
that referenced
this issue
Aug 27, 2024
…ta#24509) Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes influxdata#24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
chengshiwen
pushed a commit
to chengshiwen/influxdb-cluster
that referenced
this issue
Aug 28, 2024
Some series files which are smaller than the standard sizes cause SIGBUS in influx_inspect and influxd, because entry iteration walks onto mapped memory not backed by the the file. Avoid walking off the end of the file while iterating series entries in oddly sized files. closes influxdata/influxdb#24508 Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have encountered customer series segment files that can cause
influxd
adinflux_inspect
to fail with SIGBUS,These files are smaller than the standard sizes (whether through compaction or erroneous truncation), and the
SeriesSegment.ForEachEntry
andVerify.VerifySegment
functions can attempt to read the memory that has beenmmap
ed but is not actually in the file.The text was updated successfully, but these errors were encountered: