tensorflow / tensorflow/tensorflow
`Segmentation fault` in `tf.raw_ops.LoadAndRemapMatrix` when the value of `num_cols` is too large while `col_remapping` is empty.
Open
@Venkat6871 is already working on this.
Since Jun 3, 2026.
comp:ops
stat:contribution welcome
TF 2.16
type:bug
- Dominant language
- C++
- Stars
- 200k
- Forks
- 76.9k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 433
Description
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.15
Custom code
No
OS platform and distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
When the value of num_cols is too large while col_remapping is empty, tf.raw_ops.LoadAndRemapMatrix triggers Segmentation fault.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1Eba1FTUMG_as_2FtrSUcAt44Z-LWPX4Z?usp=sharing
Relevant log output
segmentation fault (core dumped)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.