Skip to content
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

Segfault due to empty tensor attribute #79

Closed
MikeInnes opened this issue Oct 10, 2016 · 2 comments
Closed

Segfault due to empty tensor attribute #79

MikeInnes opened this issue Oct 10, 2016 · 2 comments
Labels

Comments

@MikeInnes
Copy link
Collaborator

MikeInnes commented Oct 10, 2016

e.g.

get_shape(Tensor(Int32[]))

I narrowed this down to the TF_OperationGetAttrTensor which tries to load the empty RawTensor as the "value" attribute of the "Const" op, but I'm not sure where to go from there. Empty RawTensors seem to be created just fine and the code for setting them as an attribute of a NodeDescription seems too simple to be at fault.

@malmaud malmaud added the bug label Oct 11, 2016
@malmaud
Copy link
Owner

malmaud commented Oct 12, 2016

Hmm, this is stumping me atm. We don't seem to be doing anything wrong. Could be a genuine bug with TensorFlow.

@malmaud
Copy link
Owner

malmaud commented Feb 9, 2017

I filed an issue: tensorflow/tensorflow#7394

@malmaud malmaud closed this as completed in 7f1635f Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants