Experimental Physics and Industrial Control System
Hi all,
In my current dvp, for debug purpose, I use errlogPrintf (which I expect not to be intrusive like printf ...) and it
crashes my Linux IOC.
I can reproduce the problem using an example application with just a sub record and putting the following loop in the
process function :
for (i=0; i<bugErrLogSubLoop; i++)
errlogPrintf("[%ld]%s\n", i, "Dummy String Dummy String Dummy String Dummy String \0");
The sub record is periodically scanned every 10 sec.
I set the value of the "bugErrLogSubLoop" on IOC shell (var bugErrLogSubLoop 50),
when 10 < bugErrLogSubLoop < 50 errlog says messages were discarded
as soos as bugErrLogSubLoop >=50 the IOC crashes ! (segmentation error)
the problem does not occur on VxWorks, messages are only discarded but IOC never crash.
does anyone have the same pb ?
I gess that the lib used under VxWorks is different than the one with Linux, but what is this lib and what can I do ?
regards.
begin:vcard
fn:Christophe Haquin
n:Haquin;Christophe
email;internet:[email protected]
tel;work:02 31 45 46 61
x-mozilla-html:FALSE
version:2.1
end:vcard
- Replies:
- RE: ioc linux crash using errlogprintf Davidsaver, Michael
- Navigate by Date:
- Prev:
RE: asynMotorController exception safety matthew.pearson
- Next:
Re: Bugs in StreamDevice 2 Dirk Zimoch
- 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:
Does anyone have VMIC-3123A driver and device support in EPICS 3.14 version? Ma Xiaoyuan
- Next:
RE: ioc linux crash using errlogprintf Davidsaver, 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