EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: S7nodave/boost problem
From: Remi FAURE <[email protected]>
To: [email protected]
Date: Wed, 19 Oct 2016 17:29:34 +0200 (CEST)
Hi, 

I have a little problem on the ioc I try to build, which works perfectly during hours and goes to the failure at the end...
This problem is reproductible.
In this ioc I just get/put some values from/to a SIEMENS PLC by means of the S7Nodave module.

ioc built with base 3.15.3
asyn 4.29
s7nodave 2.0.1

on Scientific Linux 7.2
Packages installed
boost-1.53.0-25.el7.x86_64
boost-devel-1.53.0-25.el7.x86_64


I get this kind of error messages (after few hours of ioc running start):

epics> 2016/09/21 16:45:54.137 PLCMyrrhaVac error while writing 2 bytes to PLC address DB7.DBB2, disconnecting...
epics>
epics> 2016/09/21 23:57:27.141 PLCMyrrhaVac error while writing bit 0 to PLC address DB1.DBB0, disconnecting...

2016/09/21 23:57:27.141 LEBT-Vac:PValve-23:StateRB S7nodaveRecord::processRecord queueRequest port PLCMyrrhaVac not connected

MyrrhaVac: /usr/include/boost/optional/optional.hpp:641: boost::optional<T>::pointer_type boost::optional<T>::operator->() [with T = S7nodavePlcAddress; boost::optional<T>::pointer_type = S7nodavePlcAddress*]: Assertion `this->is_initialized()' failed.
Aborted (core dumped)

epics> MyrrhaVac: /usr/include/boost/optional/optional.hpp:641: boost::optional<T>::pointer_type boost::optional<T>::operator->() [with T = S7nodavePlcAddress; boost::optional<T>::pointer_type = S7nodavePlcAddress*]: Assertion `this->is_initialized()' failed.
Aborted (core dumped)

Here the ioc is aborted. 

I read the  /usr/include/boost/optional/optional.hpp file but it doesn't mean anything for me.

Thank you in advance for help.

Remi FAURE
LPSC Grenoble 
CNRS France

Navigate by Date:
Prev: Re: MEDM wheel switch Problem Andrew Johnson
Next: Re: Andor SDK3 issue - AT_WaitBuffer fails Pearson, Matthew R.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: MEDM wheel switch Problem Andrew Johnson
Next: channel connect timeout error palak shimpee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Oct 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·