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  <20142015  2016  2017  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Fanout to Sub Records in a Different IOC Causes Core Dump
From: Mark Rivers <[email protected]>
To: "Poff, Mark A" <[email protected]>, "Hartman, Steven M." <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Wed, 8 Oct 2014 13:01:20 +0000
What version of EPICS base are you running?

In 3.14.12.4 camessage.c line 1344 is this:

    /*
     * set up access security for this channel
     */
    status = asAddClient(
            &pciu->asClientPVT,
            asDbGetMemberPvt(&pciu->addr),
            asDbGetAsl(&pciu->addr),
            client->pUserName ? client->pUserName : "",
            client->pHostName ? client->pHostName : "");

So it is setting up Channel Access security for a client.

Mark

________________________________
From: [email protected] [[email protected]] on behalf of Poff, Mark A [[email protected]]
Sent: Wednesday, October 08, 2014 7:44 AM
To: Hartman, Steven M.
Cc: Poff, Mark A; EPICS Tech Talk
Subject: RE: Fanout to Sub Records in a Different IOC Causes Core Dump


Hello Steven,



Unfortunately, no processing code was running when we crashed.  Mark Rivers also asked about the core dump, and what OS we were using.  We're on Linux, and my co-worker Steve Goff used gdb to find where the core occurred.  Steve said the crash happened in camessage.c, line number 1344.



As I noted in my original message, after talking with Andrew Johnson I altered my database to not use the fanout record, thus avoiding the problem and allowing me to continue with my work.  But I should be able to re-create the situation if it would help in troubleshooting.



Mark



-----Original Message-----
From: Hartman, Steven M. [mailto:[email protected]]
Sent: Tuesday, October 07, 2014 4:16 PM
To: Poff, Mark A
Cc: EPICS Tech Talk
Subject: Re: Fanout to Sub Records in a Different IOC Causes Core Dump





On Oct 7, 2014, at 3:55 PM, Poff, Mark A <[email protected]<mailto:[email protected]>> wrote:



> As an alternate we tried placing the fanout record in the Processing IOC, but that also core’d.



Since the processing IOC core dumps regardless of where you are running the fanout record, I suspect the bug is more likely to be found in your Process routine rather then in the IOC code. Have you looked at the core dump to see where the crash is occurring? If you replace your processing routine with something really simple, do you still get the crash?



--

Steven Hartman

[email protected]<mailto:[email protected]>






Replies:
RE: Fanout to Sub Records in a Different IOC Causes Core Dump Poff, Mark A
References:
RE: Fanout to Sub Records in a Different IOC Causes Core Dump Poff, Mark A
Re: Fanout to Sub Records in a Different IOC Causes Core Dump Hartman, Steven M.
RE: Fanout to Sub Records in a Different IOC Causes Core Dump Poff, Mark A

Navigate by Date:
Prev: RE: Fanout to Sub Records in a Different IOC Causes Core Dump Mark Rivers
Next: RE: Fanout to Sub Records in a Different IOC Causes Core Dump Poff, Mark A
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Fanout to Sub Records in a Different IOC Causes Core Dump Mark Rivers
Next: RE: Fanout to Sub Records in a Different IOC Causes Core Dump Poff, Mark A
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·