What version of EPICS Base you are using? There have been several bugs
in errlog fixed recently.
Also, can you reproduce the crash in a debugger?
> -----Original Message-----
> From: [email protected] [mailto:tech-talk-
> [email protected]] On Behalf Of haquin
> Sent: Wednesday, September 14, 2011 8:58 AM
> To: [email protected]
> Subject: ioc linux crash using errlogprintf
>
> 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.
>
- References:
- ioc linux crash using errlogprintf haquin
- Navigate by Date:
- Prev:
Re: Bugs in StreamDevice 2 Dirk Zimoch
- Next:
Re: asynMotorController exception safety Till Straumann
- 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:
ioc linux crash using errlogprintf haquin
- Next:
aSubRecord VAL field Bruce Hill
- 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
|