Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes possibly related to dynamic ResultManagement nodes #788

Open
ainglessi opened this issue Jun 24, 2024 · 0 comments
Open

Crashes possibly related to dynamic ResultManagement nodes #788

ainglessi opened this issue Jun 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ainglessi
Copy link
Contributor

Describe the bug

Gateway crashes with many lines similar to this in the log:

Log

2024-06-07 14:30:39,702 [DashboardOpcUaClient] INFO class std::shared_ptr<class Umati::Dashboard::IDashboardDataClient::ValueSubscriptionHandle> __cdecl Umati::OpcUa::Subscription::Subscribe(struct UA_Client *,struct ModelOpcUa::NodeId_t,class std::function<void __cdecl(class nlohmann::json_abi_v3_11_3::basic_json<class std::map,class std::vector,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool,__int64,unsigned __int64,double,class std::allocator,struct nlohmann::json_abi_v3_11_3::adl_serializer,class std::vector<unsigned char,class std::allocator<unsigned char> >,void>)>):159 Subscribe request for nodeId http://www.AAA.com/BBB/GMS/146522;i=125591

And this last one before crash:

2024-06-07 14:30:39,808 [DashboardOpcUaClient] INFO void __cdecl Umati::OpcUa::Converter::UaDataValueToJsonValue::setValueFromScalarVariant(UA_Variant &,class nlohmann::json_abi_v3_11_3::basic_json<class std::map,class std::vector,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool,__int64,unsigned __int64,double,class std::allocator,struct nlohmann::json_abi_v3_11_3::adl_serializer,class std::vector<unsigned char,class std::allocator<unsigned char> >,void> *,bool):196 Known conversion from OpcUaType_ExtensionObject with DataTypeEncodingType: ns=10016; i=7058208

Additional context

The node with index 125591 corresponds to a node in the folder Machine/ResultManagement/Results; there are about 100 dynamic nodes in this folder with custom datatypes.

The namespace 10016 and index 7058208 are garbage.

@ainglessi ainglessi added the bug Something isn't working label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant