OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
105 stars 30 forks source link

Ozw crashes when nodes wake's up #106

Closed mosjonathan closed 4 years ago

mosjonathan commented 4 years ago

hello, my node (10) has not gotten past QueryStage_CacheLoad and when it wake's up it crashes ozw.

i already tried to exclude and include again include also crashes ozw.

below a partial log from the container in homa assistant.

`[20200614 21:07:19.595 CEST] [ozw.library] [info]: Info - Node: 10 Response RTT 39 Average Response RTT 39 [20200614 21:07:19.595 CEST] [ozw.library] [info]: Info - Node: 10 Opening config param file /data/ozw/config/thermofloor/heatitz8.xml [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 Queuing Lookup on a305.0300.019b.db.openzwave.com for Node 10 [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 0 LookupTxT Checking a305.0300.019b.db.openzwave.com [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 Configuration File Revision is 1 [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 (112 - COMMAND_CLASS_CONFIGURATION) - Compatibility Flags: [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 (112 - COMMAND_CLASS_CONFIGURATION) - State Flags: [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 CCVersion: 1 [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 InNif: true [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 StaticRequests: 4 [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 (133 - COMMAND_CLASS_ASSOCIATION) - Compatibility Flags: [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 (133 - COMMAND_CLASS_ASSOCIATION) - State Flags: [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 CCVersion: 1 [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 InNif: true [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 StaticRequests: 6 [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 Received manufacturer specific report from node 10: Manufacturer=ThermoFloor AS, Product=Heatit Z-Push Button 8 [20200614 21:07:19.596 CEST] [ozw.library] [info]: Info - Node: 10 Node Identity Codes: 019b:0300:a305 [20200614 21:07:19.596 CEST] [ozw.library] [debug]: Detail - Node: 10 Expected reply and command class was received [20200614 21:07:19.596 CEST] [ozw.library] [debug]: Detail - Node: 10 Message transaction complete [20200614 21:07:19.596 CEST] [ozw.library] [debug]: Detail - Node: 10 Removing current message [20200614 21:07:19.596 CEST] [ozw.library] [debug]: Detail - Node: 10 Notification: ValueAdded CC: COMMAND_CLASS_CONFIGURATION Instance: 1 Index: 1 [20200614 21:07:19.596 CEST] [ozw.library] [debug]: Detail - Node: 10 Notification: Group [20200614 21:07:19.597 CEST] [ozw.library] [debug]: Detail - Node: 10 Notification: Group [20200614 21:07:19.597 CEST] [ozw.library] [debug]: Detail - Node: 10 Notification: Group [20200614 21:07:19.597 CEST] [ozw.notifications] [debug]: Notification pvt_valueAdded: 281475154706451 [20200614 21:07:19.597 CEST] [ozw.library] [debug]: Detail - Node: 10 Notification: Group [20200614 21:07:19.597 CEST] [ozw.library] [debug]: Detail - Node: 10 Notification: Group [20200614 21:07:19.597 CEST] [ozw.library] [debug]: Detail - Node: 10 Notification: NodeNaming [20200614 21:07:19.597 CEST] [ozw.library] [debug]: Detail - Node: 10 Query Stage Complete (ManufacturerSpecific1) [20200614 21:07:19.597 CEST] [ozw.library] [debug]: Detail - Node: 10 AdvanceQueries queryPending=0 queryRetries=0 queryStage=Instances live=1 [20200614 21:07:19.597 CEST] [ozw.library] [debug]: Detail - Node: 10 QueryStage_Instances [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 Essential node queries are complete [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 Opening config param file /data/ozw/config/thermofloor/heatitz8.xml [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 (112 - COMMAND_CLASS_CONFIGURATION) - Compatibility Flags: [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 (112 - COMMAND_CLASS_CONFIGURATION) - State Flags: [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 CCVersion: 1 [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 InNif: true [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 StaticRequests: 4 [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 (133 - COMMAND_CLASS_ASSOCIATION) - Compatibility Flags: [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 (133 - COMMAND_CLASS_ASSOCIATION) - State Flags: [20200614 21:07:19.597 CEST] [ozw.library] [info]: Info - Node: 10 CCVersion: 1

[20200614 21:07:19.598 CEST] [ozw.daemon] [warning]: CRASH!!! - Dumping Backtrace:

[20200614 21:07:19.598 CEST] [ozw.library] [info]: Info - Node: 10 InNif: true [20200614 21:07:19.598 CEST] [ozw.library] [info]: Info - Node: 10 StaticRequests: 6 [20200614 21:07:19.598 CEST] [ozw.daemon] [warning]: #1 0x00007f9b55bd927d sp=0x00007f9b52bb5540 sigwaitinfo + 0x8 [20200614 21:07:19.598 CEST] [ozw.library] [debug]: Detail - Node: 10 QueryStage_Static

[20200614 21:07:19.598 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_BASIC [20200614 21:07:19.598 CEST] [ozw.library] [info]: Info - Node: 10 COMMAND_CLASS_BASIC is not mapped to another CC. Exposing ValueID [20200614 21:07:19.598 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_DEVICE_RESET_LOCALLY [20200614 21:07:19.598 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_CENTRAL_SCENE [20200614 21:07:19.599 CEST] [ozw.library] [debug]: Detail - Node: 10 Queuing (Query) CentralSceneCmd_Capability_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x5b, 0x01, 0x25, 0x6d, 0xff [20200614 21:07:19.599 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_ZWAVE_PLUS_INFO [20200614 21:07:19.599 CEST] [ozw.library] [debug]: Detail - Node: 10 Queuing (Query) ZWavePlusInfoCmd_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x5e, 0x01, 0x25, 0x6e, 0xf9 [20200614 21:07:19.599 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_CONFIGURATION [20200614 21:07:19.599 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_MANUFACTURER_SPECIFIC [20200614 21:07:19.599 CEST] [ozw.library] [debug]: Detail - Node: 10 Queuing (Query) ManufacturerSpecificCmd_DeviceGet_DeviceIDType_FactoryDefault (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x72, 0x06, 0x00, 0x25, 0x6f, 0xd1 [20200614 21:07:19.599 CEST] [ozw.library] [debug]: Detail - Node: 10 Queuing (Query) ManufacturerSpecificCmd_DeviceGet_DeviceIDType_SerialNumber (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x72, 0x06, 0x01, 0x25, 0x70, 0xcf [20200614 21:07:19.599 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_POWERLEVEL [20200614 21:07:19.599 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_BATTERY [20200614 21:07:19.599 CEST] [ozw.mqtt.publisher] [debug]: Publishing Event valueAdded: 281475154706451 [20200614 21:07:19.599 CEST] [ozw.library] [info]: Info - Node: 10 Creating ValueIDs for Instance 1 on COMMAND_CLASS_WAKE_UP [20200614 21:07:19.599 CEST] [ozw.notifications] [debug]: Notification pvt_nodeGroupChanged 10 Group: 1 [20200614 21:07:19.599 CEST] [ozw.library] [debug]: Detail - Node: 10 Initial read of value [20200614 21:07:19.599 CEST] [ozw.assocations] [warning]: Can't Find Group 1 for node 10 in m_associationData [20200614 21:07:19.599 CEST] [ozw.assocations] [warning]: Can't Find Group 1 for node 10 in m_associationData [20200614 21:07:19.601 CEST] [ozw.library] [debug]: Detail - Node: 10 Queuing (Query) WakeUpCmd_IntervalCapabilityGet (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x84, 0x09, 0x25, 0x71, 0x34 [20200614 21:07:19.601 CEST] [ozw.assocations] [debug]: getAssociationRow: Found Association at Row 17 [20200614 21:07:19.601 CEST] [ozw.assocations] [debug]: getAssociationRow: Found Association at Row 17 [20200614 21:07:19.601 CEST] [ozw.assocations] [debug]: getAssociationRow: Found Association at Row 17 [20200614 21:07:19.602 CEST] [ozw.assocations] [debug]: getAssociationRow: Found Association at Row 17 [20200614 21:07:19.602 CEST] [ozw.assocations] [debug]: getAssociationRow: Found Association at Row 17 [20200614 21:07:19.602 CEST] [ozw.assocations] [debug]: getAssociationRow: Found Association at Row 17 [20200614 21:07:19.602 CEST] [ozw.assocations] [debug]: getAssociationRow: Found Association at Row 17 [20200614 21:07:19.602 CEST] [ozw.assocations] [debug]: getAssociationRow: Found Association at Row 17 [20200614 21:07:19.602 CEST] [ozw.mqtt.publisher] [debug]: Publishing Event nodeGroupChanged: 10 Group: 1 [20200614 21:07:19.602 CEST] [ozw.notifications] [debug]: Notification pvt_nodeGroupChanged 10 Group: 2 [20200614 21:07:19.602 CEST] [ozw.assocations] [warning]: Can't Find Group 2 for node 10 in m_associationData

CRASH!!! - Dumping Backtrace:

1 0x00007f9b55bd927d sp=0x00007ffebfb6dfc0 sigwaitinfo + 0x8

2 0xf89cfd1e75ffb637 sp=0x00007ffebfb6dfd0 + 0x8

Exiting.... 1592161639: Socket error on client qt-openzwave-1, disconnecting. [20200614 21:07:19.605 CEST] [ozw.manager] [warning]: WebSocket Client Error QAbstractSocket::RemoteHostClosedError [20200614 21:07:19.605 CEST] [ozw.manager] [debug]: QTOZWManager Ready! [20200614 21:07:19.605 CEST] [ozw.manager] [debug]: QTOZWLog Ready! [20200614 21:07:19.605 CEST] [ozw.manager] [debug]: QTOZWOptions Ready! [20200614 21:07:19.605 CEST] [ozwadmin] [debug]: Remote Connection Status: QTOZWManager::ConnectionErrorState QAbstractSocket::RemoteHostClosedError In exit [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. 1592161639: mosquitto version 1.6.8 terminating 1592161639: Saving in-memory database to /data/mosquitto.db. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting.`

Fishwaldo commented 4 years ago

Can you please try the latest ozwdaemon image (either Build 138 or allinonebuild 23)

mosjonathan commented 4 years ago

i just ran the docker-compose for the latest allinonebuild and it is working.

now only home assistant needs to update i think? for the hassio add-on or can i continue to use this image?

mosjonathan commented 4 years ago

i have another question, where can i find the vnc password? i have read the documentation but i cannot find it.

Fishwaldo commented 4 years ago

There is no VNC password.

Thanks for testing.