EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  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  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: 3.14.6/asyn/vxi11 crash
From: "Laznovsky, Michael" <[email protected]>
To: <[email protected]>
Date: Thu, 24 Mar 2005 11:03:45 -0800
Hi- I'm building a 3.14.6 soft IOC app w/asyn, and the executable segfaults 
in iocInit().  I think I've done everything correctly, but probably missed 
something.  I thought I'd ask here in case it rings a bell...

The startup file: 

	epicsEnvSet(TOP,"/usr/local/cd/soft/ioc/TT00")
	epicsEnvSet(EPICS_BASE,"/usr/local/cd/soft/ioc/R3.14.6")
	epicsEnvSet(ARCH,"solaris-sparc")
	epicsEnvSet(IOC,"iocttk")
	
	cd ${TOP}
	
	# Register all support components
	dbLoadDatabase("dbd/ttk.dbd")
	ttk_registerRecordDeviceDriver(pdbbase)
	
	# tune-tracker DB
	dbLoadTemplate("db/pepii_tt.template")
	
	# Set up IOC/hardware links -- GPIB/LAN connection
	vxi11Configure("L0", "172.19.53.215", 0, 0.0, "hpib", 0, 0)
	
	cd ${TOP}
	iocInit()

Boot: 

	############################################################################
	###  EPICS IOC CORE built on Mar  6 2005
	###  EPICS R3.14.6 $R3-14-6$ $2004/05/28 19:27:47$
	############################################################################
	Starting iocInit
	Segmentation fault

If I remove the "vxi11Configure()" call it doesn't init properly, but also doesn't 
crash:

	iocInit()
  ...
	Starting iocInit
	2005/03/24 10:52:43.768 devSupportGpib:getDeviceInstance link 0 L0 failed asynManager:connectDevice port L0 not found
	HB40:X_LIA:AMPL:CTL: init_record : no driver for link 0
  ...
	iocInit: All initialization complete
	epics>

And:

	% gdb bin/ttk core
  ...
	Program terminated with signal 9, Killed.
	Cannot access memory at address 0xff3f8bc0
	#0  0x6aa3c in initRecord ()

Does this point immediately to something obvious?

thanks, 
Mike


Navigate by Date:
Prev: RE: CA Connect rates under RTEMS Feng, Shuchen
Next: EPICS in the news (Australian Synchrotron Project) Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: 'type-punned pointer' warning patch Eric Norum
Next: EPICS in the news (Australian Synchrotron Project) Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·