|
From: Satya V. G. <gup...@ne...> - 2010-06-12 14:02:08
|
I have a supervisory process that gets started by an ELF executable. This process forks several other processes each of which are started by python scripts/ executables that leverage BOOST libraries. When I run the supervisory process (ELF executable) under valgrind with --trace-children=yes and --tool=callgrind options, all the python child processes keep getting terminated with the same exception trace as shown below. Would anyone have a suggestion on how to remedy this? SVG For interactive control, run 'callgrind_control -h'. ==2469== --2455-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting --2455-- si_code=1; Faulting address: 0x20657361; sp: 0x62a6279c valgrind: the 'impossible' happened: Killed by fatal signal ==2455== at 0x3801CE79: vgPlain_strcmp (m_libcbase.c:248) ==2455== by 0x3801E1 28: vgPlain_assert_fail (m_libcassert.c:207) ==2455== by 0x202E7960: ??? sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==2455== at 0x4CDA2C5: ??? (in /opt/blah/lib/python2.5/site-packages/svg/base/Vectors_wrap.so) ==2455== by 0x4CD98DF: ??? (in /opt/blah/lib/python2.5/site-packages/svg/base/Vectors_wrap.so) ==2455== by 0x49F2A1C: boost::detail::function::void_function_ref_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x49F1966: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4C75811: ??? (in /opt/blah/lib/python2.5/site-packages/svg/base/Base_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4C75891: ??? (in /opt/blah/lib/python2.5/site-packages/svg/base/Base_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4C75911: ??? (in /opt/blah/lib/python2.5/site-packages/svg/base/Base_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x43256E1: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325761: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x43257E1: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325861: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primit ive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x43258E1 : ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325961: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x43259E1: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325A61: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325AE1: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325B61: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325BE1: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325C61: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F18F5: boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4325CE1: ??? (in /opt/blah/lib/python2.5/site-packages/svg/Primitive/Primitive_wrap.so) ==2455== by 0x49F1B15: boost::python::handle_exception_impl(boost::function0<void>) (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x49F2B24: bool boost::python::handle_exception<void (*)()>(void (*)()) (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x49F290A: boost::python::detail::init_module(char const*, void (*)()) (in /opt/blah/lib/libboost_python.so.1.43.0) ==2455== by 0x4CD9409: initVectors_wrap (in /opt/blah/lib/python2.5/site-packages/svg/base/Vectors_wrap.so) ==2455== by 0x40DF9EF: _PyImport_LoadDynamicModule (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DD7BD: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DF2FB: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x407850C: PyCFunction_Call (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C5D40: PyEval_EvalFrameEx (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C685F: PyEval_EvalCodeEx (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C473C: PyEval_EvalFrameEx (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C685F: PyEval_EvalCodeEx ( in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C68D4: PyEval_EvalCode (in /opt/blah/li b/libpython2.5.so.1.0) ==2455== by 0x40DB05A: PyImport_ExecCodeModuleEx (in /opt/blah/lib/libpy thon2.5.so.1.0) ==2455== by 0x40DD3C5: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DE6C0: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DDA4F: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DDF37: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DE123: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DE7A2: PyImport_ImportModuleLevel (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40BDF43: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40784D9: PyCFunction_Call (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40427F6: PyObject_Call (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40BE6FA: PyEval_CallObjectWithKeywords (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C09F8: PyEval_EvalFrameEx (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C685F: PyEval_EvalCodeEx (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C68D4: PyEval_EvalCode (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DB05A: PyImport_ExecCodeModuleEx (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DD3C5: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DE6C0: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== b y 0x40DDA4F: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DDF37: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DE123: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40DE7A2: PyImport_ImportModuleLevel (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40BDF43: ??? (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40784D9: PyCFunction_Call (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40427F6: PyObject_Call (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40BE6FA: PyEval_CallObjectWithKeywords (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C09F8: PyEval_EvalFrameEx (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C685F: PyEval_EvalCodeEx (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40C68D4: PyEval_EvalCode (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40 E8D73: PyRun_FileExFlags (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40E9065: PyRun_SimpleFileExFlags (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40E9359: PyRun_AnyFileExFlags (in /opt/blah/lib/libpython2.5.so.1.0) ==2455== by 0x40F2924: Py_Main (in /opt/blah/lib/libpyth ____________________________________________________________ 18.29/Month Car Insurance 7 minutes, complete a free quote & start saving BIG on car insurance! http://thirdpartyoffers.netzero.net/TGL3241/4c138d15ca83f359bccst06duc |