EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Segmentation faults and the ioc example
From: Geoff Savage <[email protected]>
To: "'[email protected]'" <[email protected]>
Date: Tue, 24 Jun 2003 14:44:13 -0500
Hi,

Many of the commands when issued without arguments cause a segmentation fault in EPICS R3.14.2. As an example the dbel command expects a record name and level as arguments. When these are not provided to the command a segmentation fault occurs and the ioc exits. I'm trying to understand if this is the behaviour seen on all systems or just mine.

Thanks

Geoff

[savage@d0ol30 iocmyexample]$ ../../bin/linux-x86/myexample st.cmd
dbLoadDatabase("../../dbd/myexample.dbd",0,0)
registerRecordDeviceDriver(pdbbase)
dbLoadRecords("../../db/dbExample1.db","user=savageHost")
dbLoadRecords("../../db/dbExample2.db","user=savageHost,no=1,scan=1 second")
dbLoadRecords("../../db/dbExample2.db","user=savageHost,no=2,scan=2 second")
dbLoadRecords("../../db/dbExample2.db","user=savageHost,no=3,scan=5 second")
dbLoadRecords("../../db/dbSubExample.db","user=savageHost")
iocInit()
Starting iocInit
############################################################################
###  EPICS IOC CORE built on Jun 23 2003
###  EPICS R3.14.2 $R3-14-2$ $2003/03/18 22:44:29$
############################################################################
Record savageHost:subExample called mySubInit(0x80932c8, 0x40033870)
iocInit: All initialization complete
epics> help dbel
dbel 'record name' level
epics> dbel
Segmentation fault (core dumped)
[savage@d0ol30 iocmyexample]$


Replies:
Re: Segmentation faults and the ioc example Steven Hartman

Navigate by Date:
Prev: Re: Maximum (Minimum) Vaue of a Set of Readback PVs kuner
Next: Re: Setting TZ for RTEMS so that local time is correct Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Setting TZ for RTEMS so that local time is correct Kate Feng
Next: Re: Segmentation faults and the ioc example Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·