{"action":"created","issue":{"url":"https://api.github.com/repos/OpenZWave/open-zwave/issues/931","repository_url":"https://api.github.com/repos/OpenZWave/open-zwave","labels_url":"https://api.github.com/repos/OpenZWave/open-zwave/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/OpenZWave/open-zwave/issues/931/comments","events_url":"https://api.github.com/repos/OpenZWave/open-zwave/issues/931/events","html_url":"https://github.com/OpenZWave/open-zwave/issues/931","id":164684249,"number":931,"title":"SIGSEGV in OpenZWave::Msg::setNonce","user":{"login":"kravietz","id":616047,"avatar_url":"https://avatars.githubusercontent.com/u/616047?v=3","gravatar_id":"","url":"https://api.github.com/users/kravietz","html_url":"https://github.com/kravietz","followers_url":"https://api.github.com/users/kravietz/followers","following_url":"https://api.github.com/users/kravietz/following{/other_user}","gists_url":"https://api.github.com/users/kravietz/gists{/gist_id}","starred_url":"https://api.github.com/users/kravietz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kravietz/subscriptions","organizations_url":"https://api.github.com/users/kravietz/orgs","repos_url":"https://api.github.com/users/kravietz/repos","events_url":"https://api.github.com/users/kravietz/events{/privacy}","received_events_url":"https://api.github.com/users/kravietz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenZWave/open-zwave/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Fishwaldo","id":842308,"avatar_url":"https://avatars.githubusercontent.com/u/842308?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishwaldo","html_url":"https://github.com/Fishwaldo","followers_url":"https://api.github.com/users/Fishwaldo/followers","following_url":"https://api.github.com/users/Fishwaldo/following{/other_user}","gists_url":"https://api.github.com/users/Fishwaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishwaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishwaldo/subscriptions","organizations_url":"https://api.github.com/users/Fishwaldo/orgs","repos_url":"https://api.github.com/users/Fishwaldo/repos","events_url":"https://api.github.com/users/Fishwaldo/events{/privacy}","received_events_url":"https://api.github.com/users/Fishwaldo/received_events","type":"User","site_admin":false},"assignees":[{"login":"Fishwaldo","id":842308,"avatar_url":"https://avatars.githubusercontent.com/u/842308?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishwaldo","html_url":"https://github.com/Fishwaldo","followers_url":"https://api.github.com/users/Fishwaldo/followers","following_url":"https://api.github.com/users/Fishwaldo/following{/other_user}","gists_url":"https://api.github.com/users/Fishwaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishwaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishwaldo/subscriptions","organizations_url":"https://api.github.com/users/Fishwaldo/orgs","repos_url":"https://api.github.com/users/Fishwaldo/repos","events_url":"https://api.github.com/users/Fishwaldo/events{/privacy}","received_events_url":"https://api.github.com/users/Fishwaldo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-09T20:27:26Z","updated_at":"2016-07-11T05:52:04Z","closed_at":null,"body":"I'm using open-zwave through Python home-assistant and after a few hours of running it's crashing consistently with SIGSEGV and dumping the core. The stack trace suggests that at some point the setNonce method is being called with null this:\r\n\r\n```\r\n#0  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:158\r\n#1  0x00007f8ff7551e49 in OpenZWave::Msg::setNonce (this=0x0, nonce=0x7f8fef7fd999 \"\\344\\210\\066$\\302\\262\")\r\n    at /home/kravietz/Z-Wave/python-openzwave/openzwave/cpp/src/Msg.h:158\r\n#2  0x00007f8ff75428b0 in OpenZWave::Driver::ProcessMsg (this=0x7f9004001700, _data=0x7f8fef7fd992 \"\")\r\n    at /home/kravietz/Z-Wave/python-openzwave/openzwave/cpp/src/Driver.cpp:1816\r\n#3  0x00007f8ff75422f8 in OpenZWave::Driver::ReadMsg (this=0x7f9004001700)\r\n    at /home/kravietz/Z-Wave/python-openzwave/openzwave/cpp/src/Driver.cpp:1719\r\n#4  0x00007f8ff753e32e in OpenZWave::Driver::DriverThreadProc (this=0x7f9004001700, _exitEvent=0x7f9004001620)\r\n    at /home/kravietz/Z-Wave/python-openzwave/openzwave/cpp/src/Driver.cpp:480\r\n#5  0x00007f8ff753df6c in OpenZWave::Driver::DriverThreadEntryPoint (_exitEvent=0x7f9004001620, _context=0x7f9004001700)\r\n    at /home/kravietz/Z-Wave/python-openzwave/openzwave/cpp/src/Driver.cpp:383\r\n#6  0x00007f8ff7570e24 in OpenZWave::ThreadImpl::Run (this=0x7f90040021e0)\r\n    at /home/kravietz/Z-Wave/python-openzwave/openzwave/cpp/src/platform/unix/ThreadImpl.cpp:176\r\n#7  0x00007f8ff7570de8 in OpenZWave::ThreadImpl::ThreadProc (_pArg=0x7f90040021e0)\r\n    at /home/kravietz/Z-Wave/python-openzwave/openzwave/cpp/src/platform/unix/ThreadImpl.cpp:161\r\n```"},"comment":{"url":"https://api.github.com/repos/OpenZWave/open-zwave/issues/comments/231647668","html_url":"https://github.com/OpenZWave/open-zwave/issues/931#issuecomment-231647668","issue_url":"https://api.github.com/repos/OpenZWave/open-zwave/issues/931","id":231647668,"user":{"login":"kravietz","id":616047,"avatar_url":"https://avatars.githubusercontent.com/u/616047?v=3","gravatar_id":"","url":"https://api.github.com/users/kravietz","html_url":"https://github.com/kravietz","followers_url":"https://api.github.com/users/kravietz/followers","following_url":"https://api.github.com/users/kravietz/following{/other_user}","gists_url":"https://api.github.com/users/kravietz/gists{/gist_id}","starred_url":"https://api.github.com/users/kravietz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kravietz/subscriptions","organizations_url":"https://api.github.com/users/kravietz/orgs","repos_url":"https://api.github.com/users/kravietz/repos","events_url":"https://api.github.com/users/kravietz/events{/privacy}","received_events_url":"https://api.github.com/users/kravietz/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T05:52:04Z","updated_at":"2016-07-11T05:52:04Z","body":"I'm afraid the original OZW log was overwritten since but I'll wait for it to crash again. Also I have the core file if that would help."}}
{"actor":{"display_login":"kravietz"}}