Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
<== Date ==> <== Thread ==>

Subject: Problem with eflex crashing when building base 7.0.1.1 on Visual Studio 2015
From: Mark Rivers <rivers@cars.uchicago.edu>
To: 'Andrew Johnson' <anj@aps.anl.gov>, EPICS core-talk <core-talk@aps.anl.gov>
Date: Tue, 23 Jan 2018 14:46:39 +0000

Hi Andrew,

 

I sometimes have a problem with eflex crashing when building with parallel make on Visual Studio 2015.  This is without HOST_OPT=NO to avoid the problem I reported a few minutes ago.

 

ntutilsTest.cpp

H:/epics-devel/base-7.0.1/include\pv/pvData.h(534): warning C4800: 'char': forcing value to bool 'true' or 'false' (performance warning)

H:/epics-devel/base-7.0.1/include\pv/pvData.h(534): warning C4800: 'char': forcing value to bool 'true' or 'false' (performance warning)

H:/epics-devel/base-7.0.1/include\pv/pvData.h(583): warning C4250: 'epics::pvData::PVString': inherits 'epics::pvData::PVScalarValue<std::string>::epics::pvData::PVScalarValue<std:

:string>::deserialize' via dominance

H:/epics-devel/base-7.0.1/include\pv/pvData.h(583): warning C4250: 'epics::pvData::PVString': inherits 'epics::pvData::PVScalarValue<std::string>::epics::pvData::PVScalarValue<std:

:string>::deserialize' via dominanceH:/epics-devel/base-7.0.1/include\pv/pvData.h(488): note: see declaration of 'epics::pvData::PVScalarValue<std::string>::deserialize'

 

H:/epics-devel/base-7.0.1/include\pv/pvData.h(488): note: see declaration of 'epics::pvData::PVScalarValue<std::string>::deserialize'

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file

 

Windows pops up dialog boxes with error as shown in the attachment.

 

When I opened the Visual Studio debugger it reported that the error in eflex was a stack overflow.

 

Note that running make again to pick up where it left off does not fix the problem

 

\epics-devel\base-7.0.1>make -sj8

LoadTemplate.c

line_notify.c

rvIocRegister.c

/../../src/ioc/dbtemplate/dbLoadTemplate_lex.l(310): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data

/../../src/ioc/dbStatic/dbLex.l(48): error C2065: 'tokenINCLUDE': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(49): error C2065: 'tokenPATH': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(50): error C2065: 'tokenADDPATH': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(51): error C2065: 'tokenMENU': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(52): error C2065: 'tokenCHOICE': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(53): error C2065: 'tokenRECORDTYPE': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(54): error C2065: 'tokenFIELD': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(55): error C2065: 'tokenDEVICE': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(56): error C2065: 'tokenDRIVER': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(57): error C2065: 'tokenLINK': undeclared identifier

/../../src/ioc/dbStatic/dbLex.l(58): error C2065: 'tokenBREAKTABLE': undeclared identifier

 

I had to go into modules/database/src/ioc, run make clean there, and then go back to the top and run make –sj8 again (without running make clean first).  The second time eflex did not crash.

 

Thanks,

Mark

 

 

Attachment: eflex.png
Description: eflex.png


Navigate by Date:
Prev: Problems with parallel make in base 7.0.1.1 on Visual Studio 2015 and Visual Studio 2017 when HOST_OP=NO Mark Rivers
Next: RE: Problems with parallel make in base 7.0.1.1 on Visual Studio 2015 and Visual Studio 2017 when HOST_OP=NO Mark Rivers
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
Navigate by Thread:
Prev: Re: Problems with parallel make in base 7.0.1.1 on Visual Studio 2015 and Visual Studio 2017 when HOST_OP=NO Andrew Johnson
Next: Re: Problem with the iptables DNAT filter Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
ANJ, 01 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·