g+
g+ Communities
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  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Re: registerRecordDeviceDriver fails at registryRecordTypeFind
From: Matt Rippa <mrippa@gemini.edu>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 15 Feb 2012 15:16:12 -1000
I found my epics-base was not installed where I thought it was.
My IOC works again.

FWIW, I thought this kind of patch would've helped me. Not too
clean with the global flag, but gives something more to go on.

-Matt

--- base-3.14.12.1/src/registry/registryCommon.c
2012-02-15 15:00:15.329683000 -1000
+++ /tmp/base-3.14.12.1/src/registry/registryCommon.c
2011-04-26 10:40:09.000000000 -1000
@@ -22,7 +22,6 @@
 #include "registryDriverSupport.h"
 #include "registryCommon.h"

-int debugRegistryRTF = 0;

 void epicsShareAPI registerRecordTypes(DBBASE *pbase, int
nRecordTypes,
     const char* const* recordTypeNames, const
recordTypeLocation *rtl)
@@ -33,8 +32,6 @@
         computeSizeOffset sizeOffset;
         DBENTRY dbEntry;

-        if (debugRegistryRTF)
-            printf("registryRecordTypeFind on >>>%s<<<\n",
recordTypeNames[i]);
         if(registryRecordTypeFind(recordTypeNames[i])) continue;
         if(!registryRecordTypeAdd(recordTypeNames[i],&rtl[i])) {
             errlogPrintf("registryRecordTypeAdd failed %s\n",





On 02/14/2012 03:09 PM, Matt Rippa wrote:
> Hi,
> 
> I have a new vxworks(5.5.1) IOC (3.14.12.1) application crashing
> on startup at the registry stage. I suspect something like a
> missing DBD entry in my Makefile. I've rebuilt everything
> referenced in my configure/RELEASE file from epics-base to my
> application.
> 
> Is there an easy way to get more information before the crash?
> 
> Thanks for the help,
> Matt
> --
> 
> ...
> ld 0,0, "gmosdc.munch"
> BSP routine sysAtReboot() not found, epicsExit() will not be
> called by reboot.  For reduced functionality, call
>     rebootHookAdd(epicsExitCallAtExits)
> value = 1038310096 = 0x3de35ad0 = ipAddrToAsciiEnginePrivate
> type_info node + 0xb40
> 
> # Work around to allow epics to close network connections
> # nicely on exit. See:
> # http://www.aps.anl.gov/epics/tech-talk/2008/msg00259.php
> rebootHookAdd(epicsExitCallAtExits)
> value = 0 = 0x0
> 
> ## Register all support components
> cd top
> value = 0 = 0x0
> dbLoadDatabase("dbd/gmosdc.dbd",0,0)
> value = 0 = 0x0
> gmosdc_registerRecordDeviceDriver(pdbbase)
> 
> program
> Exception current instruction address: 0x00000004
> Machine Status Register: 0x
> 0008b030
> Condition Register: 0x8000208420c01c
>  vxTaskEntry    +68 : shell ()
> 1c943c shell          +190: 1c9468 ()
> 1c9668 shell          +3bc: execute ()
> 1c97ec execute        +d8 : yyparse ()
> 1e5ea4 yyparse        +71c: 1e423c ()
> 1e43c0 yystart        +96c: gmosdc_registerRecordDeviceDriver ()
> 3db54210 gmosdc_registerRecordDeviceDriver+b8 :
> registerRecordTypes ()
> 3dc246c0 registerRecordTypes+ac : registryRecordTypeFind ()
> 3dc243a8 registryRecordTypeFind+28 : 4 ()
> shell restarted.


References:
registerRecordDeviceDriver fails at registryRecordTypeFind Matt Rippa

Navigate by Date:
Prev: RE: Precise time beyond 2038 Di Maio Franck
Next: Re: epics-arduino Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: registerRecordDeviceDriver fails at registryRecordTypeFind Matt Rippa
Next: Re: registerRecordDeviceDriver fails at registryRecordTypeFind Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·