Hello:
We are running into a strange problem with the genSub record.
It seems to work fine on several architectures,
but on R3.13.5, Tornado 2 with
cygnus-2.7.2-960126 egcs-971225 t202/SNS
(Linux->PPC cross compiler from WRS sources
built for SNS) this is the problem.
dbProcess crashes when trying to process
the genSub record:
-> dbpf "cubicSpline.PROC", "1"
data access
Exception current instruction address: 0x01a4a538
Machine Status Register: 0x0000b030
Data Access Register: 0xc655a839
Condition Register: 0x48400022
Data storage interrupt Register: 0x0000b030
18c898 vxTaskEntry +60 : shell ()
169998 shell +18c: 1699c4 ()
169be8 shell +3dc: execute ()
169d6c execute +d8 : yyparse ()
1b1db8 yyparse +7a8: 1afd00 ()
1afe78 yystart +8f8: dbpf ()
1a39cb4 dbpf +f8 : dbPutField ()
1a25e04 dbPutField +458: dbProcess ()
1a319b4 dbNotifyCompletion+2c : ellDelete ()
The genSub's INAM init routine is called fine (it's just a printf),
the genSub's SADR points to the correct routine that's specified in SNAM,
calling the SNAM routine from the shell works
(again another printf).
It really seems to go wrong in the dbProcess call which
then never actually calls the genSub's SNAM routine.
Regards
Martin
Here are the details of the record, the debug messages
from the record when compiled with DEBUG defined,
a "dbpr" before the "dbpf ...PROC":
record(genSub, "cubicSpline")
{
field(INAM, "cubicSplineInit")
field(SNAM, "cubicSplineProcess")
field(EFLG, "ON CHANGE")
field(INPA, "10.0")
field(FTA, "DOUBLE")
field(NOA, "1")
}
### @(#)Version R3.13.5 $2001/09/18 18:11:11$
############################################################################
Starting iocInit
Link(A): Address = 0x1b2cb10, Bytes = 8
Link(B): Address = 0x1b2cae0, Bytes = 40
Link(C): Address = 0x1b2cab0, Bytes = 40
Link(D): Address = 0x1b2ca80, Bytes = 40
Link(E): Address = 0x1b2ca50, Bytes = 40
Link(F): Address = 0x1b2ca20, Bytes = 40
Link(G): Address = 0x1b2c9f0, Bytes = 40
Link(H): Address = 0x1b2c9c0, Bytes = 40
Link(I): Address = 0x1b2c990, Bytes = 40
Link(J): Address = 0x1b2c960, Bytes = 40
Link(K): Address = 0x1b2c930, Bytes = 40
Link(L): Address = 0x1b2c900, Bytes = 40
Link(M): Address = 0x1b2c8d0, Bytes = 40
Link(N): Address = 0x1b2c8a0, Bytes = 40
Link(O): Address = 0x1b2c870, Bytes = 40
Link(P): Address = 0x1b2c840, Bytes = 40
Link(Q): Address = 0x1b2c810, Bytes = 40
Link(R): Address = 0x1b2c7e0, Bytes = 40
Link(S): Address = 0x1b2c7b0, Bytes = 40
Link(T): Address = 0x1b2c780, Bytes = 40
Link(U): Address = 0x1b2c750, Bytes = 40
Link(VALA): Address = 0x1b2c720, Bytes = 40
Link(VALB): Address = 0x1b2c6c0, Bytes = 40
Link(VALC): Address = 0x1b2c660, Bytes = 40
Link(VALD): Address = 0x1b2c600, Bytes = 40
Link(VALE): Address = 0x1b2c5a0, Bytes = 40
Link(VALF): Address = 0x1b2c540, Bytes = 40
Link(VALG): Address = 0x1b2c4e0, Bytes = 40
Link(VALH): Address = 0x1b2c480, Bytes = 40
Link(VALI): Address = 0x1b2c420, Bytes = 40
Link(VALJ): Address = 0x1b2c3c0, Bytes = 40
Link(VALK): Address = 0x1b2c360, Bytes = 40
Link(VALL): Address = 0x1b2c300, Bytes = 40
Link(VALM): Address = 0x1b2c2a0, Bytes = 40
Link(VALN): Address = 0x1b2c240, Bytes = 40
Link(VALO): Address = 0x1b2c1e0, Bytes = 40
Link(VALP): Address = 0x1b2c180, Bytes = 40
Link(VALQ): Address = 0x1b2c120, Bytes = 40
Link(VALR): Address = 0x1b2c0c0, Bytes = 40
Link(VALS): Address = 0x1b2c060, Bytes = 40
Link(VALT): Address = 0x1b2c000, Bytes = 40
Link(VALU): Address = 0x1b2bfa0, Bytes = 40
Input Link A is a CONSTANT
Input Link B is a CONSTANT
Input Link C is a CONSTANT
Input Link D is a CONSTANT
Input Link E is a CONSTANT
Input Link F is a CONSTANT
Input Link G is a CONSTANT
Input Link H is a CONSTANT
Input Link I is a CONSTANT
Input Link J is a CONSTANT
Input Link K is a CONSTANT
Input Link L is a CONSTANT
Input Link M is a CONSTANT
Input Link N is a CONSTANT
Input Link O is a CONSTANT
Input Link P is a CONSTANT
Input Link Q is a CONSTANT
Input Link R is a CONSTANT
Input Link S is a CONSTANT
Input Link T is a CONSTANT
Input Link U is a CONSTANT
Output Link VALA is a CONSTANT
Output Link VALB is a CONSTANT
Output Link VALC is a CONSTANT
Output Link VALD is a CONSTANT
Output Link VALE is a CONSTANT
Output Link VALF is a CONSTANT
Output Link VALG is a CONSTANT
Output Link VALH is a CONSTANT
Output Link VALI is a CONSTANT
Output Link VALJ is a CONSTANT
Output Link VALK is a CONSTANT
Output Link VALL is a CONSTANT
Output Link VALM is a CONSTANT
Output Link VALN is a CONSTANT
Output Link VALO is a CONSTANT
Output Link VALP is a CONSTANT
Output Link VALQ is a CONSTANT
Output Link VALR is a CONSTANT
Output Link VALS is a CONSTANT
Output Link VALT is a CONSTANT
Output Link VALU is a CONSTANT
cubicSplineInit was called
Calling symFindByNameEPICS from init_record
value = 0 = 0x0
dbpf "cubicSpline.TPRO", "1"
DBR_UCHAR: 1 0x1
value = 0 = 0x0
-> iocInit: All initialization complete
->
-> dbpr "cubicSpline", 4
A: 0x01b2cb10 ACKS: NO_ALARM ACKT: (null) ASG:
ASP: 0x00000000 B: 0x01b2cae0 BKPT: 0x00 BRSV: NO_ALARM
C: 0x01b2cab0 D: 0x01b2ca80 DESC: DISA: 0
DISP: 0 DISS: (null) DISV: 1 DPVT: 0x00000000
DSET: 0x00000000 DTYP: (null) E: 0x01b2ca50 EFLG: ON CHANGE
EVNT: 0 F: 0x01b2ca20 FLNK:CONSTANT 0 FTA: DOUBLE
FTB: STRING FTC: STRING FTD: STRING FTE: STRING
FTF: STRING FTG: STRING FTH: STRING FTI: STRING
FTJ: STRING FTK: STRING FTL: STRING FTM: STRING
FTN: STRING FTO: STRING FTP: STRING FTQ: STRING
FTR: STRING FTS: STRING FTT: STRING FTU: STRING
FTVA: STRING FTVB: STRING FTVC: STRING FTVD: STRING
FTVE: STRING FTVF: STRING FTVG: STRING FTVH: STRING
FTVI: STRING FTVJ: STRING FTVK: STRING FTVL: STRING
FTVM: STRING FTVN: STRING FTVO: STRING FTVP: STRING
FTVQ: STRING FTVR: STRING FTVS: STRING FTVT: STRING
FTVU: STRING G: 0x01b2c9f0 H: 0x01b2c9c0 I: 0x01b2c990
INAM: cubicSplineInit INPA:CONSTANT 10.0 INPB:CONSTANT
INPC:CONSTANT INPD:CONSTANT INPE:CONSTANT INPF:CONSTANT
INPG:CONSTANT INPH:CONSTANT INPI:CONSTANT INPJ:CONSTANT
INPK:CONSTANT INPL:CONSTANT INPM:CONSTANT INPN:CONSTANT
INPO:CONSTANT INPP:CONSTANT INPQ:CONSTANT INPR:CONSTANT
INPS:CONSTANT INPT:CONSTANT INPU:CONSTANT J: 0x01b2c960
K: 0x01b2c930 L: 0x01b2c900 LCNT: 0 LFLG: IGNORE
LSET: 0x00000000 M: 0x01b2c8d0 MLIS: 0x000000000000000000000000
MLOK: 0x0000000000000000 N: 0x01b2c8a0 NAME:
cubicSpline
NOA: 1 NOB: 1 NOC: 1 NOD: 1
NOE: 1 NOF: 1 NOG: 1 NOH: 1
NOI: 1 NOJ: 1 NOK: 1 NOL: 1
NOM: 1 NON: 1 NOO: 1 NOP: 1
NOQ: 1 NOR: 1 NOS: 1 NOT: 1
NOU: 1 NOVA: 1 NOVB: 1 NOVC: 1
NOVD: 1 NOVE: 1 NOVF: 1 NOVG: 1
NOVH: 1 NOVI: 1 NOVJ: 1 NOVK: 1
NOVL: 1 NOVM: 1 NOVN: 1 NOVO: 1
NOVP: 1 NOVQ: 1 NOVR: 1 NOVS: 1
NOVT: 1 NOVU: 1 NSEV: NO_ALARM NSTA: NO_ALARM
O: 0x01b2c870 ONAM: OSAD: 0 OUTA:CONSTANT
OUTB:CONSTANT OUTC:CONSTANT OUTD:CONSTANT OUTE:CONSTANT
OUTF:CONSTANT OUTG:CONSTANT OUTH:CONSTANT OUTI:CONSTANT
OUTJ:CONSTANT OUTK:CONSTANT OUTL:CONSTANT OUTM:CONSTANT
OUTN:CONSTANT OUTO:CONSTANT OUTP:CONSTANT OUTQ:CONSTANT
OUTR:CONSTANT OUTS:CONSTANT OUTT:CONSTANT OUTU:CONSTANT
OVAL: 0 OVLA: 0x01b2c6f0 OVLB: 0x01b2c690 OVLC: 0x01b2c630
OVLD: 0x01b2c5d0 OVLE: 0x01b2c570 OVLF: 0x01b2c510 OVLG: 0x01b2c4b0
OVLH: 0x01b2c450 OVLI: 0x01b2c3f0 OVLJ: 0x01b2c390 OVLK: 0x01b2c330
OVLL: 0x01b2c2d0 OVLM: 0x01b2c270 OVLN: 0x01b2c210 OVLO: 0x01b2c1b0
OVLP: 0x01b2c150 OVLQ: 0x01b2c0f0 OVLR: 0x01b2c090 OVLS: 0x01b2c030
OVLT: 0x01b2bfd0 OVLU: 0x01b2bf70 P: 0x01b2c840 PACT: 0
PHAS: 0 PINI: NO PPN: 0x00000000 PPNN: 0x00000000
PREC: 0 PRIO: LOW PROC: 0 PUTF: 0
Q: 0x01b2c810 R: 0x01b2c7e0 RDES: 0x00000000 RPRO: 0
RSET: 0x00000000 S: 0x01b2c7b0 SADR: 28123152 SCAN: Passive
SDIS:CONSTANT SEVR: INVALID SNAM: cubicSplineProcess
SPVT: 0x00000000 STAT: UDF STYP: 0 SUBL:CONSTANT
T: 0x01b2c780 TIME: 0x0000000001b01e40 TOVA: 40
TOVB: 40 TOVC: 40 TOVD: 40 TOVE: 40
TOVF: 40 TOVG: 40 TOVH: 40 TOVI: 40
TOVJ: 40 TOVK: 40 TOVL: 40 TOVM: 40
TOVN: 40 TOVO: 40 TOVP: 40 TOVQ: 40
TOVR: 40 TOVS: 40 TOVT: 40 TOVU: 40
TPRO: 1 TSE: 0 TSEL:CONSTANT U: 0x01b2c750
UDF: 1 UFA: UFB: UFC:
UFD: UFE: UFF: UFG:
UFH: UFI: UFJ: UFK:
UFL: UFM: UFN: UFO:
UFP: UFQ: UFR: UFS:
UFT: UFU: UFVA: UFVB:
UFVC: UFVD: UFVE: UFVF:
UFVG: UFVH: UFVI: UFVJ:
UFVK: UFVL: UFVM: UFVN:
UFVO: UFVP: UFVQ: UFVR:
UFVS: UFVT: UFVU: VAL: 0
VALA: 0x01b2c720 VALB: 0x01b2c6c0 VALC: 0x01b2c660 VALD: 0x01b2c600
VALE: 0x01b2c5a0 VALF: 0x01b2c540 VALG: 0x01b2c4e0 VALH: 0x01b2c480
VALI: 0x01b2c420 VALJ: 0x01b2c3c0 VALK: 0x01b2c360 VALL: 0x01b2c300
VALM: 0x01b2c2a0 VALN: 0x01b2c240 VALO: 0x01b2c1e0 VALP: 0x01b2c180
VALQ: 0x01b2c120 VALR: 0x01b2c0c0 VALS: 0x01b2c060 VALT: 0x01b2c000
VALU: 0x01b2bfa0 VERS: 1.4
value = 0 = 0x0
\|/
(o -)
--------------oOO-(_)-OOo-------------------------------------------
Martin Pieck | * * * \\
MS H820, SNS-4, LANL | * * /\ * =))
Los Alamos, NM 87545, USA | * /\ * / \ /\ /\ //
|/\ / \/\ _/ \/\/ \/ \ *
(505) 665-0086 office | \/ \ /\/ o \ *
(505) 665-5107 fax | \/ __o </\_ \ /\
| /\o_ \< __/\ \_/
(505) 661-7270 home | ^^^^^^^^^^ (()) (()) /
____________________________________________________________________
- Navigate by Date:
- Prev:
Re: [Report] EPICS R3.13.6 build on RH Linux7.3 Noboru Yamamoto
- Next:
Re: [Q] How to set a timestamp in a device support routine. Marty Kraimer
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
<2002>
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
mbboRecord - more than 16 states Marty Kraimer
- Next:
Diff between Torando 2.1 and 2.2 Luchini, Kristi
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
<2002>
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|