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
<2010>
2011
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
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|