microsoft/SmartKG

std::exception::what(): Operation not permitted\nActual exception type: std::system_error

Closed this issue · 2 comments

smartkg_services-mongo-1 exited with code 14

"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}}
"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
"Multi threading initialized"}
"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information\n"}}
"Writing fatal message","attr":{"message":"std::exception::what(): Operation not permitted\nActual exception type: std::system_error\n\n"}}
"Writing fatal message","attr":{"message":"\n"}}
"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"56259E011E78","b":"5625965DD000","o":"7A34E78","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"38"},{"a":"56259E00D29B","b":"5625965DD000","o":"7A3029B","s":"_ZN5mongo12_GLOBAL__N_111myTerminateEv","C":"mongo::(anonymous namespace)::myTerminate()","s+":"DB"},{"a":"56259E1B4CDA","b":"5625965DD000","o":"7BD7CDA","s":"_ZN10__cxxabiv111__terminateEPFvvE","C":"__cxxabiv1::__terminate(void ()())","s+":"A"},{"a":"56259E1B4D45","b":"5625965DD000","o":"7BD7D45","s":"_ZSt9terminatev","C":"std::terminate()","s+":"15"},{"a":"56259E1B4E99","b":"5625965DD000","o":"7BD7E99","s":"__cxa_throw","s+":"49"},{"a":"56259E23AC65","b":"5625965DD000","o":"7C5DC65","s":"_ZSt20__throw_system_errori","C":"std::__throw_system_error(int)","s+":"88"},{"a":"56259E23AEDD","b":"5625965DD000","o":"7C5DEDD","s":"_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE","C":"std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_deletestd::thread::_State >, void ()())","s+":"2D"},{"a":"56259B3F9ACC","b":"5625965DD000","o":"4E1CACC","s":"_ZN5mongo27startSignalProcessingThreadENS_13LogFileStatusE","C":"mongo::startSignalProcessingThread(mongo::LogFileStatus)","s+":"11C"},{"a":"56259A007B81","b":"5625965DD000","o":"3A2AB81","s":"_ZN5mongo11mongod_mainEiPPc","C":"mongo::mongod_main(int, char**)","s+":"1001"},{"a":"562599FFFDF5","b":"5625965DD000","o":"3A22DF5","s":"main","s+":"C"},{"a":"7FF268815D90","b":"7FF2687EC000","o":"29D90","s":"__libc_init_first","s+":"90"},{"a":"7FF268815E40","b":"7FF2687EC000","o":"29E40","s":"__libc_start_main","s+":"80"},{"a":"562599FFFD25","b":"5625965DD000","o":"3A22D25","s":"_start","s+":"25"}],"processInfo":{"mongodbVersion":"7.0.5","gitVersion":"7809d71e84e314b497f282ea8aa06d7ded3eb205","compiledModules":[],"uname":{"sysname":"Linux","release":"5.4.0-150-generic","version":"#167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023","machine":"x86_64"},"somap":[{"b":"5625965DD000","elfType":3,"buildId":"1E37CC781EB07208"},{"b":"7FF2687EC000","path":"/lib/x86_64-linux-gnu/libc.so.6","elfType":3,"buildId":"C289DA5071A3399DE893D2AF81D6A30C62646E1E"}]}}},"tags":[]}
"Frame","attr":{"frame":{"a":"56259E011E78","b":"5625965DD000","o":"7A34E78","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"38"}}}
"Frame","attr":{"frame":{"a":"56259E00D29B","b":"5625965DD000","o":"7A3029B","s":"_ZN5mongo12_GLOBAL__N_111myTerminateEv","C":"mongo::(anonymous namespace)::myTerminate()","s+":"DB"}}}
"Frame","attr":{"frame":{"a":"56259E1B4CDA","b":"5625965DD000","o":"7BD7CDA","s":"_ZN10__cxxabiv111__terminateEPFvvE","C":"__cxxabiv1::__terminate(void ()())","s+":"A"}}}
"Frame","attr":{"frame":{"a":"56259E1B4D45","b":"5625965DD000","o":"7BD7D45","s":"_ZSt9terminatev","C":"std::terminate()","s+":"15"}}}
"Frame","attr":{"frame":{"a":"56259E1B4E99","b":"5625965DD000","o":"7BD7E99","s":"__cxa_throw","s+":"49"}}}
"Frame","attr":{"frame":{"a":"56259E23AC65","b":"5625965DD000","o":"7C5DC65","s":"_ZSt20__throw_system_errori","C":"std::__throw_system_error(int)","s+":"88"}}}
"Frame","attr":{"frame":{"a":"56259E23AEDD","b":"5625965DD000","o":"7C5DEDD","s":"_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE","C":"std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_deletestd::thread::_State >, void (
)())","s+":"2D"}}}
"Frame","attr":{"frame":{"a":"56259B3F9ACC","b":"5625965DD000","o":"4E1CACC","s":"_ZN5mongo27startSignalProcessingThreadENS_13LogFileStatusE","C":"mongo::startSignalProcessingThread(mongo::LogFileStatus)","s+":"11C"}}}
"Frame","attr":{"frame":{"a":"56259A007B81","b":"5625965DD000","o":"3A2AB81","s":"_ZN5mongo11mongod_mainEiPPc","C":"mongo::mongod_main(int, char**)","s+":"1001"}}}
"Frame","attr":{"frame":{"a":"562599FFFDF5","b":"5625965DD000","o":"3A22DF5","s":"main","s+":"C"}}}
"Frame","attr":{"frame":{"a":"7FF268815D90","b":"7FF2687EC000","o":"29D90","s":"__libc_init_first","s+":"90"}}}
"Frame","attr":{"frame":{"a":"7FF268815E40","b":"7FF2687EC000","o":"29E40","s":"__libc_start_main","s+":"80"}}}
"Frame","attr":{"frame":{"a":"562599FFFD25","b":"5625965DD000","o":"3A22D25","s":"_start","s+":"25"}}}
smartkg_services-smartkg-1 | Aborted (core dumped)
smartkg_services-smartkg-1 exited with code 134
smartkg_services-mongo-1 exited with code 14

MANGO_VERSION=7.0.5
Ubuntu18.04(Linux version 5.4.0-150-generic)

issue fixed for mongodb:
add privileged: true into the docker-compose.yml file, in the mongo section.