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: Thread model for EPICS on ARM CPU
From: Rod Nussbaumer <[email protected]>
To: epics Techtalk <[email protected]>
Date: Tue, 06 Jul 2010 12:04:01 -0700
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?


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

Replies:
Re: Thread model for EPICS on ARM CPU Eric Norum
RE: Thread model for EPICS on ARM CPU Hinko Kocevar
Re: Thread model for EPICS on ARM CPU Michael Abbott

Navigate by Date:
Prev: RE: aSub Question Szalata, Zenon M.
Next: Re: Thread model for EPICS on ARM CPU Eric Norum
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: RE: aSub Question Szalata, Zenon M.
Next: Re: Thread model for EPICS on ARM CPU Eric Norum
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 ·