EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Re: anyone using MOXA's embedded computer UC8410 as softioc?
From: Mark Rivers <[email protected]>
To: "'marco_hair'" <[email protected]>, tech-talk <[email protected]>
Date: Wed, 27 Mar 2013 15:01:10 +0000
If you get a seg fault can you enable core dumps and then run gdb on the core file? Or run the IOC under gdb to start with?  That should show you where the seq fault is happening.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Silver
Sent: Wednesday, March 27, 2013 9:58 AM
To: tech-talk
Subject: Re: Re: anyone using MOXA's embedded computer UC8410 as softioc?

hi, Andrew:

thanks for your advice.  
In fact, I have tried to cross-compile dynamically too, but when I run the application on the UC8410, it shows Segmentation fault  error. the cross-compiler is coming with UC8410. I know someone is using UC7410, the older product from MOXA.  So I hope can get some help from them.

root@Moxa:/mnt/sda/softApp/iocBoot/iocaaa# ./st.cmd
#!../../bin/linux-xscale-linux/aaa
## You may have to change aaa to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-xscale-linux")
epicsEnvSet("IOC","iocaaa")
epicsEnvSet("TOP","/mnt/sda/softApp")
epicsEnvSet("EPICS_BASE","/usr/local/epics/base")
cd /mnt/sda/softApp
## Register all support components
dbLoadDatabase "dbd/aaa.dbd"
aaa_registerRecordDeviceDriver pdbbase
## Load record instances
dbLoadTemplate "db/userHost.substitutions"
dbLoadRecords "db/dbSubExample.db", "user=geyangHost"
## Set this to see messages from mySub
#var mySubDebug 1
## Run this to trace the stages of iocInit
#traceIocInit
cd /mnt/sda/softApp/iocBoot/iocaaa
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.10 $R3-14-10$ $2008/10/27 19:39:04$
## EPICS Base built Jan 23 2013
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncExample, "user=geyangHost"
Segmentation fault    
 
======= At 2013-03-27, 22:49 you wrote: =======

>Hi,
>
>On 2013-03-27 Silver wrote:
>> 
>> After I cross-compiled an EPICS example application and downloaded to
>>  UC8410, it shows the following errors:
>> 
>> Starting iocInit
>> ###########################################################################
>> # ## EPICS R3.14.10 $R3-14-10$ $2008/10/27 19:39:04$
>> ## EPICS Base built Jan 23 2013
>> ###########################################################################
>> # terminate called after throwing an instance of
>>  '__gnu_cxx::__concurrence_broadcast_error' what(): 
>>  __gnu_cxx::__concurrence_broadcast_error
>> Aborted
>
>Based on the results from Googling for __concurrence_broadcast_error it seems 
>like this may be a problem if you link an application statically with pthread 
>(which EPICS requires).  This may be related to a specific version of gcc, so 
>if you have any other version available try using that instead, or change your 
>build to use dynamic linking (STATIC_BUILD=NO, SHARED_LIBRARIES=YES).
>
>Those are only suggestions, I don't know what is actually causing this or what 
>the exception means.
>
>- Andrew
>-- 
>There has grown up in the minds of certain groups in this country the
>notion that because a man or corporation has made a profit out of the
>public for a number of years, the government and the courts are charged
>with the duty of guaranteeing such profit in the future, even in the face
>of changing circumstances and contrary to public interest. This strange
>doctrine is not supported by statute or common law. Neither individuals
>nor corporations have any right to come into court and ask that the clock
>of history be stopped, or turned back. -- Robert A Heinlein, Life-Line
>

===================================
  
Best regards
Geyang 2013-03-27



References:
anyone using MOXA's embedded computer UC8410 as softioc? Silver
Re: anyone using MOXA's embedded computer UC8410 as softioc? Andrew Johnson
Re: Re: anyone using MOXA's embedded computer UC8410 as softioc? Silver

Navigate by Date:
Prev: Fwd: Re: Fix length of exponent in Streamdevice %E Florian Feldbauer
Next: Re: Stanford Research SR630 Thermocouple monitor Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Re: anyone using MOXA's embedded computer UC8410 as softioc? Silver
Next: Stanford Research SR630 Thermocouple monitor Pavel Maslov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·