UI-Crash when executing "dpDisconnect()''
Posted: Tue Oct 22, 2019 10:49 am
Hello Support Team,
We're facing a UI-Crash ( Full, Desktop-UI and Web ) in 3.15p23 and 3.16p14 when we execute a dpDisconnect() on 'xxx:_alert_hdl.._act_state'.
A DebugTN() print of the specific datapoint element on 'connect' and 'disconnect' with their return-values looks like this:
WCCOAui2:2019.10.22 09:33:43.053["doConnect"]["System1:93001703.Status.DS1.b08:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.054["doConnect"]["System1:93001703.Status.DS1.b09:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.055["doConnect"]["System1:93001703.Status.DS1.b10:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.055["doConnect"]["System1:93001703.Status.DS1.b11:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.056["doConnect"]["System1:93001703.Status.DS2.b00:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.057["doConnect"]["System1:93001703.Status.DS2.b01:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.059["doConnect"]["System1:93001703.Status.DS1.b15:_alert_hdl.._act_state"][" RTN:0"]
..
..
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b08:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b09:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b10:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b11:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS2.b00:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS2.b01:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b15:_alert_hdl.._act_state"][" RTN:0"]
> The Connects and Disconnects are executed in a loop.
> The Crash occurs when in this example the 'last' 'Disconnect()' is executed.
> An isolated 1by1 test showed us that the UI kept running for all the Disconnects except for the Disconnect on b15.
> The Crash only occurs on 1 or 2 datapoints in a whole project of over 8000 datapoints. The datapoint shown above is not the only one of its type, all other datapoint withing the Type ( With the same alarm-configuration ) do not crash the UI.
> During bug-tracing we found out that the Crash only happens when the UI is running under a manager-number higher then 1. A UI with Mannum-1 does'nt crash.
An export of the datapoint doesn't show any obvious differences with other datapoints which are constructed in the same way.
1) I suspect the database to be somehow corrupt but how to further analyse it?
2) In my opinion the UI should not crash on executing a Disconnect, is there a bug in UI under these circumstances ( Mannum higher then 1 )?
3) Are there any users who faces similar issues?
4) Can we get more info from a Disconnect() execution?
4) What are the approaches to resolve this problem?
The windows-eventlogger shows the following error.
Faulting application name: WCCOAui.exe, version: 3.15.0.0, time stamp: 0x5d931a88
Faulting module name: Qt5Core.dll, version: 5.5.0.0, time stamp: 0x5a0ec037
Exception code: 0xc0000005
Fault offset: 0x0000000000083143
Faulting process id: 0x4dda8
Faulting application start time: 0x01d585cea77b2067
Faulting application path: C:\Siemens\Automation\WinCC_OA\3.15\bin\WCCOAui.exe
Faulting module path: C:\Siemens\Automation\WinCC_OA\3.15\bin\Qt5Core.dll
Report Id: 106f7ce9-3833-4b89-80e1-d32bb6a6bc05
Faulting package full name:
Faulting package-relative application ID:
We're facing a UI-Crash ( Full, Desktop-UI and Web ) in 3.15p23 and 3.16p14 when we execute a dpDisconnect() on 'xxx:_alert_hdl.._act_state'.
A DebugTN() print of the specific datapoint element on 'connect' and 'disconnect' with their return-values looks like this:
WCCOAui2:2019.10.22 09:33:43.053["doConnect"]["System1:93001703.Status.DS1.b08:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.054["doConnect"]["System1:93001703.Status.DS1.b09:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.055["doConnect"]["System1:93001703.Status.DS1.b10:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.055["doConnect"]["System1:93001703.Status.DS1.b11:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.056["doConnect"]["System1:93001703.Status.DS2.b00:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.057["doConnect"]["System1:93001703.Status.DS2.b01:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:43.059["doConnect"]["System1:93001703.Status.DS1.b15:_alert_hdl.._act_state"][" RTN:0"]
..
..
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b08:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b09:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b10:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b11:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS2.b00:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS2.b01:_alert_hdl.._act_state"][" RTN:0"]
WCCOAui2:2019.10.22 09:33:44.661["doDisconnect"]["System1:93001703.Status.DS1.b15:_alert_hdl.._act_state"][" RTN:0"]
> The Connects and Disconnects are executed in a loop.
> The Crash occurs when in this example the 'last' 'Disconnect()' is executed.
> An isolated 1by1 test showed us that the UI kept running for all the Disconnects except for the Disconnect on b15.
> The Crash only occurs on 1 or 2 datapoints in a whole project of over 8000 datapoints. The datapoint shown above is not the only one of its type, all other datapoint withing the Type ( With the same alarm-configuration ) do not crash the UI.
> During bug-tracing we found out that the Crash only happens when the UI is running under a manager-number higher then 1. A UI with Mannum-1 does'nt crash.
An export of the datapoint doesn't show any obvious differences with other datapoints which are constructed in the same way.
1) I suspect the database to be somehow corrupt but how to further analyse it?
2) In my opinion the UI should not crash on executing a Disconnect, is there a bug in UI under these circumstances ( Mannum higher then 1 )?
3) Are there any users who faces similar issues?
4) Can we get more info from a Disconnect() execution?
4) What are the approaches to resolve this problem?
The windows-eventlogger shows the following error.
Faulting application name: WCCOAui.exe, version: 3.15.0.0, time stamp: 0x5d931a88
Faulting module name: Qt5Core.dll, version: 5.5.0.0, time stamp: 0x5a0ec037
Exception code: 0xc0000005
Fault offset: 0x0000000000083143
Faulting process id: 0x4dda8
Faulting application start time: 0x01d585cea77b2067
Faulting application path: C:\Siemens\Automation\WinCC_OA\3.15\bin\WCCOAui.exe
Faulting module path: C:\Siemens\Automation\WinCC_OA\3.15\bin\Qt5Core.dll
Report Id: 106f7ce9-3833-4b89-80e1-d32bb6a6bc05
Faulting package full name:
Faulting package-relative application ID: