Skip to content

Instantly share code, notes, and snippets.

@zealinux
Created September 21, 2017 14:54
Show Gist options
  • Save zealinux/d3824f80c7fddbb51ead1bf0fc35fc77 to your computer and use it in GitHub Desktop.
Save zealinux/d3824f80c7fddbb51ead1bf0fc35fc77 to your computer and use it in GitHub Desktop.
erro for gpu run .so
init FaceVerificationCore at current thread Version: FaceVerification_v1.0.0_20170628
FaceVerification_v1.0.0_20170628
F0921 11:05:21.812355 30833 syncedmem.hpp:39] Check failed: error == cudaSuccess (29 vs. 0) driver shutting down
*** Check failure stack trace: ***
@ 0x7f4d26e2c4a0 google::LogMessage::Fail()
@ 0x7f4d26e2c3fc google::LogMessage::SendToLog()
@ 0x7f4d26e2bd80 google::LogMessage::Flush()
@ 0x7f4d26e2ee21 google::LogMessageFatal::~LogMessageFatal()
@ 0x7f4d26be564b caffe::SyncedMemory::~SyncedMemory()
@ 0x7f4d26c82c12 boost::detail::sp_counted_impl_p<>::dispose()
@ 0x7f4d26bee7ea boost::detail::sp_counted_impl_p<>::dispose()
@ 0x7f4d26be6c16 std::vector<>::~vector()
@ 0x7f4d26c38a71 caffe::Net<>::~Net()
@ 0x7f4d26c38d39 caffe::Net<>::~Net()
@ 0x7f4d2728f5ac boost::checked_delete<>()
@ 0x7f4d27294448 boost::detail::sp_counted_impl_p<>::dispose()
@ 0x7f4d2728b6ff boost::detail::sp_counted_base::release()
@ 0x7f4d2728b78b boost::detail::shared_count::~shared_count()
@ 0x7f4d2728c536 boost::shared_ptr<>::~shared_ptr()
@ 0x7f4d27295c50 Classifier::~Classifier()
@ 0x7f4d272968f4 FaceVerificationCore::~FaceVerificationCore()
@ 0x7f4d27296918 boost::thread_specific_ptr<>::delete_data::operator()()
@ 0x7f4d26695801 boost::detail::set_tss_data()
@ 0x7f4d2729695a boost::thread_specific_ptr<>::~thread_specific_ptr()
@ 0x7f4d175cfdda __cxa_finalize
@ 0x7f4d27278a83 (unknown)
Aborted
https://github.com/alexgkendall/caffe-segnet/issues/57
This might be a bit too late, but I will share how I solved this issue in case it may help anyone.
I am using the Matlab interface of Caffe.
This error would appear when Matlab was shut down after creating a net (in Matlab caffe.Net(...);).
Debugging the stack trace showed that the error was happening during cleanup.
Adding a call to caffe.reset_all before closing Matlab solved the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment