-
Notifications
You must be signed in to change notification settings - Fork 74k
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
tf.raw_ops.UnicodeEncode: Segmentation fault (core dumped) #63379
Comments
Hi @nonenone12135 , Thanks for reporting. Replicated the reported issue. I am unsure why this check below is not worked. tensorflow/tensorflow/core/ops/string_ops.cc Line 317 in 6f64ad5
Will check and come back. Thanks! |
Imported from GitHub PR #63398 The Op UnicodeEncode segfaults when passed 2D tensor to `input_splits`. It has the below check in `SetShapeFn` which supposed to raise exception if `rank !=1` AFAIk. This seems not working for reason unknown to me. https://github.com/tensorflow/tensorflow/blob/6f64ad5d767a034df45a5eaab8b36fd688cd1217/tensorflow/core/ops/string_ops.cc#L316-L317 Same with `input_values` argument also. Added an explicit check in Op. Ref issue #63379 Copybara import of the project: -- 176048a by Surya <116063290+SuryanarayanaY@users.noreply.github.com>: Fix checkfail in UnicodeEncode Op The Op UnicodeEncode segfaults when passed 2D tensor to `input_splits`. It has the below check in SetShapeFn which supposed to raise exception if rank !=1 AFAIk. This seems not working for reason unknown to me. https://github.com/tensorflow/tensorflow/blob/6f64ad5d767a034df45a5eaab8b36fd688cd1217/tensorflow/core/ops/string_ops.cc#L316-L317 Same with input_values argument also. Added an explicit check in Op. Merging this change closes #63398 FUTURE_COPYBARA_INTEGRATE_REVIEW=#63398 from tensorflow:Surya_UnicodeEncode 176048a PiperOrigin-RevId: 620612470
@vraebfdsb, #63398 |
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. |
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.15
Custom code
Yes
OS platform and distribution
Ubuntu 20.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Under specific input,
tf.raw_ops.UnicodeEncode
encounters "Segmentation fault (core dumped)".Standalone code to reproduce the issue
Relevant log output
The text was updated successfully, but these errors were encountered: