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  <20102011  2012  2013  2014  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Thread model for EPICS on ARM CPU
From: Eric Norum <[email protected]>
To: Rod Nussbaumer <[email protected]>
Cc: epics Techtalk <[email protected]>
Date: Tue, 6 Jul 2010 12:22:18 -0700
On Jul 6, 2010, at 12:04 PM, Rod Nussbaumer wrote:

> Hi all.
> 
> I'm trying to get EPICS running on an ARM CPU. So far I've got a build of EPICS (3.14.10 & 3.14.11) against a glibc 2.3.6 and Linux 2.6.21, where the only thread model supported is linuxthreads (not POSIX/nptl). When I run an IOC, the iocShell crashes (segfault), although the rest of the IOC (asyn device support), and record processing seem to stay running. Is this a reason to suspect the tread model?
> I see in the EPICS build commandline, the switch '-D_POSIX_THREADS'. Does this mean a strict POSIX thread model is required?
As far as I can tell that preprocessor macro is used nowhere in base so any behaviour that is dependent upon it would be in the glibc and system headers of your target machine.
> 
> The iocShell crashes right after iocInit. Running under gdb, I set a breakpoint on iocInit. I see:
> 
> 
> (gdb) step
> Single stepping until exit from function iocshBody,
> which has no line number information.
> epics>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 114696 (LWP 4439)]
> 0x0006be60 in ca_flush_io ()
> 
> Thanks for reading.
> 
> Rod Nussbaumer
> ISAC Controls, TRIUMF
> Vancouver, Canada

-- 
Eric Norum
[email protected]






References:
Thread model for EPICS on ARM CPU Rod Nussbaumer

Navigate by Date:
Prev: Thread model for EPICS on ARM CPU Rod Nussbaumer
Next: RE: Thread model for EPICS on ARM CPU Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Thread model for EPICS on ARM CPU Rod Nussbaumer
Next: RE: Thread model for EPICS on ARM CPU Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·