Re: questions about rtai-lab and qrtailab
Paolo Mantegazza <[email protected]> Wed, 18 Oct 2017 09:42:24 +0200
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <[email protected]> |
Please, try what attached and report. Paolo On 10/17/2017 09:33 AM, Tom wrote: > Hi roberto, > > It is good , it works. thanks > > tom@shanghai > > > > At 2017-10-17 15:05:43, "Roberto Bucher" <[email protected]> wrote: > > Hi Tom > > Can you try the attached files? > > Ciao > > Roberto > > On 10/17/2017 02:58 AM, Tom wrote: >> I am using it locally. >> >> host i5-6200 64bit cpu >> virtualbox 5.1.14 >> ubuntu14.04 >> gcc 4.8.4 >> >> it will core-dump here >> >> int QRtaiLabCore::connectToTarget() >> { >> char buf[128]; >> sprintf(buf, "Trying to connect to %s", >> targetthread->getPreferences().Target_IP); >> statusBarMessage(tr(buf)); >> *qrl::RT_RPC(targetthread->getTask(), >> TargetThread::CONNECT_TO_TARGET, 0);* >> >> >> tom@shanghai >> >> >> 在 2017-10-16 18:23:17,"Paolo Mantegazza" >> <[email protected]> 写道: >> >> On 10/16/2017 11:17 AM, Tom wrote: >>> From >>> >>> https://www.rtai.org/userfiles/downloads/RTAILAB/qrtailab-0.1.12.tar.bz2 >>> >> Qrtailab has been used because of the EFLTK troubles in >> setting RTAILab on 64 bits machines. A few fixes have made it >> work reliably for our application at hand, but we are not yet >> at ease with its internals. >> >> Then is something that should be cared of. I see that RT_RPC >> is systematically called with a null pointer, nonetheless no >> crash happens in the use I'm seeing at work here around. >> >> How are you using it (locally vs distributed).Do you witness >> any crash without the fix you are pointing at? >> >> Paolo >> >>> >>> >>> >>> At 2017-10-16 17:00:49, "Paolo Mantegazza" >>> <[email protected]> wrote: >>> >>> I'll pass the question to the scicoslab interface expert. >>> On my side I would like to know where did you take >>> qrtailab from? >>> Paolo >>> >>> On 10/16/2017 10:02 AM, Tom wrote: >>>> Hi, all >>>> >>>> I am new to rtai and trying to use rtai-lab with >>>> scicoslab. >>>> Config: >>>> linux 3.18.20 >>>> rtai 5.0.1 >>>> scicoslab 4.4.1 >>>> qrtailab-0.1.12 >>>> >>>> I think function `set_double' in rtmain44.c goes wrong >>>> when running on x86_64 arch. >>>> unsigned long l = ((unsigned long *)from)[0]; >>>> unsigned long h = ((unsigned long *)from)[1]; >>>> because unsigned long would take 8 bytes. >>>> >>>> And I think there should be a null pointer guard before >>>> assignment in qrtailab/src/qrtailab.h line 115 >>>> function RT_RPC >>>> *reply = (unsigned int)ret; >>>> to >>>> if (reply) >>>> { >>>> *reply = (unsigned int)ret; >>>> } >>>> >>>> regards. >>>> >>>> tom@shanghai >>>> >>>> >>>> 【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> >>>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Rtai mailing list >>>> [email protected] >>>> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai >>> >>> >>> >>> >>> 【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> >>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7> >>> >> >> >> >> >> 【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> >> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7> >> >> >> >> _______________________________________________ >> Rtai mailing list >> [email protected] >> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai > > > > 【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> > <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9> _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
qrtailab-0.1.12.tar.bz2
(application/x-bzip, 122.9 KB) - not displayed