FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
01-18-2024 11:21 AM
Hello everyone,
I'm having the same issue mentioned in this post: https://github.com/boschrexroth/ctrlx-automation-sdk/issues/16
I can run and debug the other examples with no problem. Someone can give me some help to try to solve the error?
01-18-2024 12:58 PM
Hi @Andrefs
I just created a fresh App Build Environment with V2.4 of ctrlX Works installed the newest SDK (V2.4) with the install-sdk.sh script and tried to reproduce your error. But I was not able to do so. Everything works for me and I'm able to debug the sample you mentioned.
Can you tell me with which version you are working?
Best regards,
Nick
01-18-2024 01:03 PM
I'm using also v2.4, created this week.
01-19-2024 11:18 AM
Hi @Andrefs
I looked again at the issue you reported and was able to reproduce it and found a solution. The reason why I was not able to reproduce the error initially was, that this error only happens when the Client was not able to establish a connection to the Data Layer and is trying to connect again. In this case I can also see the "Segmentation Fault".
This error can be resolved, when you create the "dataLayerClientSub" outside of the for loop. I attached the main.cpp, where I did the changes. I will also report this bug internally so it can be fixed in the SDK as well.
Thanks for reporting the issue!
Best regards,
Nick
01-19-2024 12:58 PM
Hello @nickH ,
I still have the issue. When the debugger enters the line " auto dataLayerClientSub = new DataLayerClientSub(datalayerSystem);", it gives me the same error. I already tried that solution yesterday but with no success.
01-22-2024 12:12 PM
Sorry. But now I really don't know how to reproduce your error.
a month ago
Are there any news? Could the issue been solved?