Closed cadaeb closed 1 year ago
Hey @cadaeb , thanks for the input. Do you see this issue only on the Nvidia TX2 or is it more related to the usage of the libraries itself? We have received some feedback that there seems to be an issue on the Xavier/Nano related to the latest L4T (JetPack) Release from Nvidia could you please be so kind and provide us with the version information:
It will in a same case when I use a simple XMLRPC server. And I guess all these RPC tools may use same fundmetal boost lib where something unexcecpted happens.
What XMLRPC server are you using?
thanks for your replyment and I will supply more detailed information tommorrow according to your mail. BTW, one of my friend took a similar test on tx2 nano and succeed with no errors. I wonder whether the Master branch on GIT HUB is OK? I complid the source code of Master branch while my friend use version 0.82发自我的荣耀手机-------- 原始邮件 --------发件人: Christian Ege @.>日期: 2021年10月26日周二 晚上10:15收件人: ifm/ifm3d @.>抄送: cadaeb @.>, Mention @.>主 题: Re: [ifm/ifm3d] conflicted with other rpc tool such as xmlrpc/rcf on TX2(aarch64) platform (Issue #329) Hey @cadaeb , thanks for the input. Do you see this issue only on the Nvidia TX2 or is it more related to the usage of the libraries itself? We have received some feedback that there seems to be an issue on the Xavier/Nano related to the latest L4T (JetPack) Release from Nvidia could you please be so kind and provide us with the version information: L4T (JetPack) version usedRCF version used assuming you use this library.Have you compile RCF from source/use the one from the L4T OS or any third Party versionifm3d versionAre you using ifm3d binaries or do you have build it from source
It will in a same case when I use a simple XMLRPC server. And I guess all these RPC tools may use same fundmetal boost lib where something unexcecpted happens.
What XMLRPC server are you using?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
class XmlRpcServer {
private: class MyTestMethod:public xmlrpc_c::method { public: MyTestMethod(){ this->_signature="A:ii"; this->_help="This method updates pos and reloc state"; }
void execute(xmlrpc_c::paramList const& paramList, xmlrpc_c::value* const retval)
{
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
}
};
private: xmlrpc_c::registry addIntRegistry; xmlrpc_c::serverAbyss* AbyssServer; int port; int socket_fd;
public: void regester_xml_method(); int setupServer(); int setupSocket();
public: XmlRpcServer(int _port):port(_port),socket_fd(-1){} };
It should be pointed out that when I embed this XMLRPC server in a program with IFM3d driver, the program can run without dump, however other client can not connect the server successfully.
At 2021-10-26 22:15:12, "Christian Ege" @.***> wrote:
Hey @cadaeb , thanks for the input. Do you see this issue only on the Nvidia TX2 or is it more related to the usage of the libraries itself? We have received some feedback that there seems to be an issue on the Xavier/Nano related to the latest L4T (JetPack) Release from Nvidia could you please be so kind and provide us with the version information:
L4T (JetPack) version used RCF version used assuming you use this library. Have you compile RCF from source/use the one from the L4T OS or any third Party version ifm3d version Are you using ifm3d binaries or do you have build it from source
It will in a same case when I use a simple XMLRPC server. And I guess all these RPC tools may use same fundmetal boost lib where something unexcecpted happens.
What XMLRPC server are you using?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
@cadaeb Thanks for the issue, I am able to reproduce segmentation fault on ubuntu 18.04 if an application linked RCF
and ifm3d
both.
Problem : Both ifm3d
and RCF
embedded asio
header only lib and the issue is different version of asio
in both the repos. ifm3d uses asio-1.16.0 and RCP lastest version ( 3.2.413) uses asio-1.10.6 and hence the issue when both are linked to one application.
Solution: provide same asio version to both libs. So I am providing a patch
with base as ifm3d v-0.20.0 ( master) which provides option to set ASIO_DIR
to provide different version of asio
.
Process to resolve the issue :
after above steps i am able to link and execute RFC example along with ifm3d linked to application.
Please let me know if these solves your issue, we are planning to provide this external asio_dir feature in future release.
@cadaeb and @inbangsa It looks like there is also a similar issue within Fast-DDS
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
conflicted with other rpc tool such as xmlrpc/rcf on TX2(aarch64) platform
To Reproduce Choose nvidia TX2 platform
// Start a TCP server, and expose DemoService. DemoService demoService; static RCF::RcfServer server( RCF::UdpEndpoint(networkInterface, port) ); server.bind(demoService);
server.start();
Initilize IFM3d in another thread such as follows: std::string port_name; port_name = "192.168.0.69"; m_Camera = std::make_shared(port_name);
m_FrameGrabber = std::make_shared(m_Camera);
m_ImageBuffer = std::make_shared();
No matter whether grabbing the IFM frame, the program willl be dumpped with a gdb result as follows:
It will in a same case when I use a simple XMLRPC server. And I guess all these RPC tools may use same fundmetal boost lib where something unexcecpted happens.
I struggled to use static or shared linked lib and both failed .