Closed ghost closed 4 years ago
This is way beyond my zone of comfort as a casual python programmer... but I think I have seen some posts on the domoticz.com forum about python issues and latest domoticz version. Could be some ssl issues again with domoticz on Buster. Trying disabling ssl and see if this is indeed the culprit ? Good luck but anyway not something I can address .
Thank you for the reply. Therefore you confirm that the plugin doesn't crash Domoticz. The issue is between Python and Domoticz.
FYI, by installing and using the pp-manager, Domoticz doesn't crash with your plugin. But nothing is displayed on the batteries level ...
Hello, First of all, here is my environment:
After restart and installation, I create an hardware device by following the wiki.
2020-03-15 17:18:06.114 Status: (Batteries) Started. 2020-03-15 17:18:06.207 Error: Domoticz(pid:13471, tid:13479('PluginMgr')) received fatal signal 11 (Segmentation fault) 2020-03-15 17:18:06.207 Error: siginfo address=0x349f, address=0x7fc2a311f5cb 2020-03-15 17:18:06.217 Error: Failed to start gdb, will use backtrace() for printing stack frame
2020-03-15 17:18:06.224 Error: #0 /home/jpc/domoticz/domoticz() [0x738f23] 2020-03-15 17:18:06.224 Error: #1 /home/jpc/domoticz/domoticz : signal_handler(int, siginfo_t, void) + 0x295 [0x739a45] 2020-03-15 17:18:06.224 Error: #2 /lib/x86_64-linux-gnu/libpthread.so.0 : + 0x12730 [0x7fc2a311f730] 2020-03-15 17:18:06.224 Error: #3 /lib/x86_64-linux-gnu/libpthread.so.0 : raise + 0x10b [0x7fc2a311f5cb] 2020-03-15 17:18:06.224 Error: #4 /lib/x86_64-linux-gnu/libpthread.so.0 : + 0x12730 [0x7fc2a311f730] 2020-03-15 17:18:06.224 Error: #5 /lib/x86_64-linux-gnu/libc.so.6 : + 0x90a4a [0x7fc2a2977a4a] 2020-03-15 17:18:06.224 Error: #6 /home/jpc/domoticz/domoticz() [0xc5cfa9] 2020-03-15 17:18:06.224 Error: #7 /home/jpc/domoticz/domoticz : lh_insert + 0x4c [0xc5d25c] 2020-03-15 17:18:06.224 Error: #8 /home/jpc/domoticz/domoticz : OBJ_NAME_add + 0x63 [0xc260f3] 2020-03-15 17:18:06.224 Error: #9 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 : + 0x16f11e [0x7fc28c38911e] 2020-03-15 17:18:06.224 Error: #10 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 : + 0x189f99 [0x7fc28c3a3f99] 2020-03-15 17:18:06.224 Error: #11 /lib/x86_64-linux-gnu/libpthread.so.0 : + 0xf997 [0x7fc2a311c997] 2020-03-15 17:18:06.224 Error: #12 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 : CRYPTO_THREAD_run_once + 0x9 [0x7fc28c40dc09] 2020-03-15 17:18:06.224 Error: #13 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 : OPENSSL_init_crypto + 0x263 [0x7fc28c3a4503] 2020-03-15 17:18:06.224 Error: #14 /usr/lib/python3.7/lib-dynload/_hashlib.cpython-37m-x86_64-linux-gnu.so : PyInit__hashlib + 0x11 [0x7fc2a3135a41] 2020-03-15 17:18:06.224 Error: #15 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyImport_LoadDynamicModuleWithSpec + 0x183 [0x7fc2a180ea93] 2020-03-15 17:18:06.224 Error: #16 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x18600b [0x7fc2a180f00b] 2020-03-15 17:18:06.224 Error: #17 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7fc2a18fdf37] 2020-03-15 17:18:06.224 Error: #18 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7fc2a18fea45] 2020-03-15 17:18:06.224 Error: #19 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7fc2a16ff700] 2020-03-15 17:18:06.224 Error: #20 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7fc2a18271e6] 2020-03-15 17:18:06.224 Error: #21 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7fc2a18fe123] 2020-03-15 17:18:06.224 Error: #22 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7fc2a16ff9b5] 2020-03-15 17:18:06.224 Error: #23 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.224 Error: #24 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7fc2a1701154] 2020-03-15 17:18:06.224 Error: #25 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.224 Error: #26 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.224 Error: #27 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.224 Error: #28 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.224 Error: #29 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.224 Error: #30 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.224 Error: #31 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.224 Error: #32 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7fc2a18fe542] 2020-03-15 17:18:06.224 Error: #33 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x276d60 [0x7fc2a18ffd60] 2020-03-15 17:18:06.224 Error: #34 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7fc2a1900389] 2020-03-15 17:18:06.224 Error: #35 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7fc2a170a83f] 2020-03-15 17:18:06.224 Error: #36 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x747a [0x7fc2a16ff29a] 2020-03-15 17:18:06.224 Error: #37 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7fc2a18271e6] 2020-03-15 17:18:06.224 Error: #38 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCodeEx + 0x3e [0x7fc2a182746e] 2020-03-15 17:18:06.224 Error: #39 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCode + 0x1b [0x7fc2a182823b] 2020-03-15 17:18:06.224 Error: #40 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x1a2bdd [0x7fc2a182bbdd] 2020-03-15 17:18:06.224 Error: #41 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7fc2a18fdf37] 2020-03-15 17:18:06.224 Error: #42 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7fc2a18fea45] 2020-03-15 17:18:06.224 Error: #43 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7fc2a16ff700] 2020-03-15 17:18:06.224 Error: #44 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7fc2a18271e6] 2020-03-15 17:18:06.224 Error: #45 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7fc2a18fe123] 2020-03-15 17:18:06.225 Error: #46 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7fc2a16ff9b5] 2020-03-15 17:18:06.225 Error: #47 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #48 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7fc2a1701154] 2020-03-15 17:18:06.225 Error: #49 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #50 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.225 Error: #51 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #52 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.225 Error: #53 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #54 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7fc2a18fe542] 2020-03-15 17:18:06.225 Error: #55 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x276d60 [0x7fc2a18ffd60] 2020-03-15 17:18:06.225 Error: #56 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7fc2a1900389] 2020-03-15 17:18:06.225 Error: #57 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7fc2a170a83f] 2020-03-15 17:18:06.225 Error: #58 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x747a [0x7fc2a16ff29a] 2020-03-15 17:18:06.225 Error: #59 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7fc2a18271e6] 2020-03-15 17:18:06.225 Error: #60 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCodeEx + 0x3e [0x7fc2a182746e] 2020-03-15 17:18:06.225 Error: #61 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCode + 0x1b [0x7fc2a182823b] 2020-03-15 17:18:06.225 Error: #62 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x1a2bdd [0x7fc2a182bbdd] 2020-03-15 17:18:06.225 Error: #63 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7fc2a18fdf37] 2020-03-15 17:18:06.225 Error: #64 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7fc2a18fea45] 2020-03-15 17:18:06.225 Error: #65 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7fc2a16ff700] 2020-03-15 17:18:06.225 Error: #66 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7fc2a18271e6] 2020-03-15 17:18:06.225 Error: #67 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7fc2a18fe123] 2020-03-15 17:18:06.225 Error: #68 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7fc2a16ff9b5] 2020-03-15 17:18:06.225 Error: #69 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #70 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7fc2a1701154] 2020-03-15 17:18:06.225 Error: #71 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #72 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.225 Error: #73 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #74 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.225 Error: #75 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #76 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7fc2a18fe542] 2020-03-15 17:18:06.225 Error: #77 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x276d60 [0x7fc2a18ffd60] 2020-03-15 17:18:06.225 Error: #78 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7fc2a1900389] 2020-03-15 17:18:06.225 Error: #79 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7fc2a170a83f] 2020-03-15 17:18:06.225 Error: #80 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x747a [0x7fc2a16ff29a] 2020-03-15 17:18:06.225 Error: #81 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7fc2a18271e6] 2020-03-15 17:18:06.225 Error: #82 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCodeEx + 0x3e [0x7fc2a182746e] 2020-03-15 17:18:06.225 Error: #83 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCode + 0x1b [0x7fc2a182823b] 2020-03-15 17:18:06.225 Error: #84 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x1a2bdd [0x7fc2a182bbdd] 2020-03-15 17:18:06.225 Error: #85 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7fc2a18fdf37] 2020-03-15 17:18:06.225 Error: #86 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7fc2a18fea45] 2020-03-15 17:18:06.225 Error: #87 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7fc2a16ff700] 2020-03-15 17:18:06.225 Error: #88 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7fc2a18271e6] 2020-03-15 17:18:06.225 Error: #89 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7fc2a18fe123] 2020-03-15 17:18:06.225 Error: #90 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7fc2a16ff9b5] 2020-03-15 17:18:06.225 Error: #91 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.225 Error: #92 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7fc2a1701154] 2020-03-15 17:18:06.226 Error: #93 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.226 Error: #94 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.226 Error: #95 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.226 Error: #96 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7fc2a16fdb3c] 2020-03-15 17:18:06.226 Error: #97 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x794d3 [0x7fc2a17024d3] 2020-03-15 17:18:06.226 Error: #98 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7fc2a18fe542] 2020-03-15 17:18:06.226 Error: #99 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x276d60 [0x7fc2a18ffd60] 2020-03-15 17:18:06.226 Error: #100 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7fc2a1900389] 2020-03-15 17:18:06.226 Error: #101 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7fc2a170a83f] 2020-03-15 17:18:06.226 Error: #102 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x1a11d8 [0x7fc2a182a1d8] 2020-03-15 17:18:06.226 Error: #103 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x13b [0x7fc2a18fde9b] 2020-03-15 17:18:06.226 Error: #104 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7fc2a18fea45] 2020-03-15 17:18:06.226 Error: #105 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : + 0x276bfb [0x7fc2a18ffbfb] 2020-03-15 17:18:06.226 Error: #106 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyObject_CallFunction + 0x9b [0x7fc2a19010db] 2020-03-15 17:18:06.226 Error: #107 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_Import + 0x9a [0x7fc2a180cfaa] 2020-03-15 17:18:06.226 Error: #108 /usr/lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModule + 0x1a [0x7fc2a180d19a] 2020-03-15 17:18:06.226 Error: #109 /home/jpc/domoticz/domoticz : Plugins::CPlugin::Initialise() + 0x57b [0xaec12b] 2020-03-15 17:18:06.226 Error: #110 /home/jpc/domoticz/domoticz : Plugins::InitializeMessage::Process() + 0x2a [0xaeea8a] 2020-03-15 17:18:06.226 Error: #111 /home/jpc/domoticz/domoticz : Plugins::CPluginSystem::Do_Work() + 0xb80 [0xaeff40] 2020-03-15 17:18:06.226 Error: #112 /home/jpc/domoticz/domoticz() [0xf53f3f] 2020-03-15 17:18:06.226 Error: #113 /lib/x86_64-linux-gnu/libpthread.so.0 : + 0x7fa3 [0x7fc2a3114fa3] 2020-03-15 17:18:06.226 Error: #114 /lib/x86_64-linux-gnu/libc.so.6 : clone + 0x3f [0x7fc2a29e04cf]