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.

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.

Cheers,
--
James (he/him)
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to