$ python tests/test_log.py
|
.....root WARN: lsst.log warning message that will not be forwarded to Python
|
.Fatal Python error: PyMUTEX_LOCK(gil->mutex) failed
|
Python runtime state: unknown
|
|
Caught signal 6, backtrace follows:
|
0 libutils.dylib 0x0000000109b598e1 lsst::utils::(anonymous namespace)::signalHandler(int) + 81
|
1 libsystem_platform.dylib 0x00007fff205b0d7d (null) + 29
|
1 libsystem_platform.dylib 0x00007fff205b0d7d _sigtramp + 29
|
2 python 0x0000000108a9209b (null) + 35547
|
2 python 0x0000000108a9209b _PyEval_EvalFrameDefault + 35547
|
3 libsystem_c.dylib 0x00007fff204c0411 abort + 120
|
4 libpython3.8.dylib 0x000000010976eebc fatal_error + 60
|
5 libpython3.8.dylib 0x000000010976efe3 Py_FatalError + 19
|
6 libpython3.8.dylib 0x00000001096f571f take_gil + 671
|
7 libpython3.8.dylib 0x0000000109772b52 PyGILState_Ensure + 66
|
8 liblog.dylib 0x0000000108f9ffe6 lsst::log::detail::PyLogAppender::PyLogAppender() + 278
|
9 liblog.dylib 0x0000000108fa1a33 lsst::log::detail::PyLogAppender::ClazzPyLogAppender::newInstance() const + 35
|
10 liblog4cxx.11.0.0.dylib 0x000000010944e791 log4cxx::helpers::OptionConverter::instantiateByClassName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, log4cxx::helpers::Class const&, log4cxx::helpers::ObjectPtrT<log4cxx::helpers::Object> const&) + 97
|
11 liblog4cxx.11.0.0.dylib 0x000000010944e578 log4cxx::helpers::OptionConverter::instantiateByKey(log4cxx::helpers::Properties&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, log4cxx::helpers::Class const&, log4cxx::helpers::ObjectPtrT<log4cxx::helpers::Object> const&) + 104
|
12 liblog4cxx.11.0.0.dylib 0x000000010945ba6d log4cxx::PropertyConfigurator::parseAppender(log4cxx::helpers::Properties&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 381
|
13 liblog4cxx.11.0.0.dylib 0x000000010945aae9 log4cxx::PropertyConfigurator::parseLogger(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT<log4cxx::Logger>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 2985
|
14 liblog4cxx.11.0.0.dylib 0x0000000109458e5d log4cxx::PropertyConfigurator::configureRootLogger(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerRepository>&) + 221
|
15 liblog4cxx.11.0.0.dylib 0x0000000109458701 log4cxx::PropertyConfigurator::doConfigure(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerRepository>&) + 785
|
16 liblog4cxx.11.0.0.dylib 0x0000000109458c57 log4cxx::PropertyConfigurator::configure(log4cxx::helpers::Properties&) + 55
|
17 liblog.dylib 0x0000000108f9dead lsst::log::Log::configure_prop(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 541
|
18 log.so 0x0000000108f71c18 void pybind11::cpp_function::initialize<void (*&)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&), void, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, pybind11::name, pybind11::scope, pybind11::sibling>(void (*&)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&), void (*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::operator()(pybind11::detail::function_call&) const + 88
|
19 log.so 0x0000000108f61d5d pybind11::cpp_function::dispatcher(_object*, _object*, _object*) + 4253
|
In case you haven't got the stack trace:
$ python tests/test_log.py
.....root WARN: lsst.log warning message that will not be forwarded to Python
.Fatal Python error: PyMUTEX_LOCK(gil->mutex) failed
Python runtime state: unknown
Caught signal 6, backtrace follows:
0 libutils.dylib 0x0000000109b598e1 lsst::utils::(anonymous namespace)::signalHandler(int) + 81
1 libsystem_platform.dylib 0x00007fff205b0d7d (null) + 29
1 libsystem_platform.dylib 0x00007fff205b0d7d _sigtramp + 29
2 python 0x0000000108a9209b (null) + 35547
2 python 0x0000000108a9209b _PyEval_EvalFrameDefault + 35547
3 libsystem_c.dylib 0x00007fff204c0411 abort + 120
4 libpython3.8.dylib 0x000000010976eebc fatal_error + 60
5 libpython3.8.dylib 0x000000010976efe3 Py_FatalError + 19
6 libpython3.8.dylib 0x00000001096f571f take_gil + 671
7 libpython3.8.dylib 0x0000000109772b52 PyGILState_Ensure + 66
8 liblog.dylib 0x0000000108f9ffe6 lsst::log::detail::PyLogAppender::PyLogAppender() + 278
9 liblog.dylib 0x0000000108fa1a33 lsst::log::detail::PyLogAppender::ClazzPyLogAppender::newInstance() const + 35
10 liblog4cxx.11.0.0.dylib 0x000000010944e791 log4cxx::helpers::OptionConverter::instantiateByClassName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, log4cxx::helpers::Class const&, log4cxx::helpers::ObjectPtrT<log4cxx::helpers::Object> const&) + 97
11 liblog4cxx.11.0.0.dylib 0x000000010944e578 log4cxx::helpers::OptionConverter::instantiateByKey(log4cxx::helpers::Properties&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, log4cxx::helpers::Class const&, log4cxx::helpers::ObjectPtrT<log4cxx::helpers::Object> const&) + 104
12 liblog4cxx.11.0.0.dylib 0x000000010945ba6d log4cxx::PropertyConfigurator::parseAppender(log4cxx::helpers::Properties&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 381
13 liblog4cxx.11.0.0.dylib 0x000000010945aae9 log4cxx::PropertyConfigurator::parseLogger(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT<log4cxx::Logger>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 2985
14 liblog4cxx.11.0.0.dylib 0x0000000109458e5d log4cxx::PropertyConfigurator::configureRootLogger(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerRepository>&) + 221
15 liblog4cxx.11.0.0.dylib 0x0000000109458701 log4cxx::PropertyConfigurator::doConfigure(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerRepository>&) + 785
16 liblog4cxx.11.0.0.dylib 0x0000000109458c57 log4cxx::PropertyConfigurator::configure(log4cxx::helpers::Properties&) + 55
17 liblog.dylib 0x0000000108f9dead lsst::log::Log::configure_prop(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 541
18 log.so 0x0000000108f71c18 void pybind11::cpp_function::initialize<void (*&)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&), void, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, pybind11::name, pybind11::scope, pybind11::sibling>(void (*&)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&), void (*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::operator()(pybind11::detail::function_call&) const + 88
19 log.so 0x0000000108f61d5d pybind11::cpp_function::dispatcher(_object*, _object*, _object*) + 4253