Experimental Physics and Industrial Control System
|
Hi Peregrine,
Peregrine M. McGehee wrote:
The vxWorks tShell crashes after calls to both malloc() and
iocInit within a st.cmd have been traced to the drvTS.c TSinit()
routine that is called within iocInit. The environment is
Power PC; VxWorks 5.4; EPICS R3.13.5 and requires definition
of local synchronized timestamp support routines
(http://www.aps.anl.gov/asd/controls/hideos/GTS.html).
This is a consequence of insufficient (none!) range checking for
access within the TSdata.event_table array of struct timespec
allocated in TSinit(). The quick patch is to always have an
ErSyncEvent() function that returns an event number less than
the return value of ErHaveReceiver() when supplying local
timestamp support. The harder correction is to rewrite drvTS!
....which is underway. I hope to fix some other problems, too.
The progress has not been as fast as I had hoped (busy with other
things) but the first rewrites (that can be published) should be ready
within a month or two.
best regards,
Timo
--
Timo Korhonen PSI (Paul Scherrer Institut)
CH-5232 Villigen PSI
tel + 41- 56 3103262 fax + 41 - 56 310 3151
e-mail:
[email protected]
- References:
- side-effect of malloc() in startup file Peregrine M. McGehee
- Re: side-effect of malloc() in startup file Peregrine M. McGehee
- Navigate by Date:
- Prev:
Re: side-effect of malloc() in startup file Peregrine M. McGehee
- Next:
Re: How do I use registryFunctionAdd Rozelle Wright
- 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:
Re: side-effect of malloc() in startup file Peregrine M. McGehee
- Next:
seq-1.9.6-beta redux Laznovsky, Michael
- 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
|
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|