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

onnxruntime server terminate called after throwing an instance of 'boost::wrapexcept<boost::uuids::entropy_error>' what(): getrandom #1471

Closed
Mr-Nineteen opened this issue Jul 23, 2019 · 10 comments
Assignees

Comments

@Mr-Nineteen
Copy link

Mr-Nineteen commented Jul 23, 2019

1.Start container service
docker run -it --network=host -v $(pwd):$(pwd) -e MODEL_ABSOLUTE_PATH=$(pwd)/ssd.onnx -p 9001:8001 mcr.microsoft.com/onnxruntime/server

2.request
curl -X POST -d "@predict_request_0.json" -H "Content-Type: application/json" http://127.0.0.1:8001/v1/models/ssd/versions/3:predict

3.Exception information
2019-07-23 07:29:37.032985869 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.1.bn1.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033013496 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.1.bn2.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033038334 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.2.bn1.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033058172 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.2.bn2.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033077406 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.3.bn1.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033101279 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.3.bn2.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033125671 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.4.bn1.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033151472 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.4.bn2.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033170001 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.5.bn1.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033202331 [W:onnxruntime:InferenceSession, session_state_initializer.cc:417 SaveInputOutputNamesToNodeMapping] Graph input with name backbone.model.layer2.0.5.bn2.num_batches_tracked is not associated with a node.
2019-07-23 07:29:37.033423090 [I:onnxruntime:InferenceSession, inference_session.cc:523 Initialize] Session successfully initialized.
2019-07-23 07:29:37.033664438 [I:onnxruntime:ServerApp, main.cc:82 operator()] Listening at: http://0.0.0.0:8001
terminate called after throwing an instance of 'boost::wrapexceptboost::uuids::entropy_error'
what(): getrandom

Aborted (core dumped)

@snnn snnn changed the title terminate called after throwing an instance of 'boost::wrapexcept<boost::uuids::entropy_error>' what(): getrandom onnxruntime server terminate called after throwing an instance of 'boost::wrapexcept<boost::uuids::entropy_error>' what(): getrandom Jul 23, 2019
@pranavsharma
Copy link
Contributor

@klein-hu can you please take a look? thanks!

@csteegz
Copy link
Contributor

csteegz commented Jul 30, 2019

based on boostorg/uuid#91, can you share the versions your running it on? are you building the container yourself or using a prebuilt one?

@tmccrmck
Copy link
Contributor

Yes, would like to see kernel version.

@NonStatic2014
Copy link
Contributor

The newer version of the ONNX Runtime Server image is coming. Please give it a try after it is ready. Tag @faxu , who is responsible for the release.

@Mr-Nineteen
Copy link
Author

When I verify, the kernel version is: 3.10.0-514.6.2.el7.x86_64

@faxu
Copy link
Contributor

faxu commented Aug 15, 2019

@Mr-Nineteen Do you still have this issue using the latest version of the ONNX Runtime Server image?

@Mr-Nineteen
Copy link
Author

@faxu yes, when do you fix this issue?

@csteegz
Copy link
Contributor

csteegz commented Aug 20, 2019

We're evaluating solutions for this issue.
In the meantime, you should be able to work around it by building the server on your machine - the build system will not use the syscalls which do not exist in your local headers.

@stale
Copy link

stale bot commented Jul 3, 2020

This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@stale stale bot added the wontfix label Jul 3, 2020
@stale
Copy link

stale bot commented Jul 11, 2020

This issue has been automatically closed due to inactivity. Please reactivate if further support is needed.

@stale stale bot closed this as completed Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants