On 2025-10-15 15:56, James McCoy wrote:
Control: severity -1 important
Control: retitle -1 librust-tree-sitter: array_get() called with
invalid index on ppc64el
On Wed, Oct 15, 2025 at 11:11:23AM +0530, Trupti wrote:
These packages are FTBFS on ppc64el and ppc64 with same error given
below
Actually, only on ppc64el.
make[1]: Entering directory
'/build/reproducible-path/tree-sitter-c-0.24.1'
tree-sitter generate --abi 15
dh_auto_build --buildsystem=rust
make[1]: Leaving directory
'/build/reproducible-path/tree-sitter-c-0.24.1'
debian/rules override_dh_auto_test
make[1]: Entering directory
'/build/reproducible-path/tree-sitter-c-0.24.1'
XDG_CACHE_HOME=/build/reproducible-path/tree-sitter-c-0.24.1/debian/.cache
tree-sitter test
tree-sitter: ./lib/src/./././././array.h:175: _array__erase: Assertion
`index < self->size' failed.
This is the same issue that was already reported as #1118048. I'll use
#1118048 to disable asserts in optimized builds.
Thanks for looking into this.
However, I could use some help figuring out why the assert is only
being
tripped on ppc64el. Let's use this bug for that. Since I'm disabling
asserts, I'm lowering the severity of this bug.
Yes sure we will figure it out. I am looking into this.
Thanks,
Trupti.