I am using EPICS base 3.15.2 and asyn4-29 to build an IOC. I could successfully build the IOC without any error. But, when I run it, I get the an error attached below. I do not get any error if I use 3.14.12.5 base version. So, I can certainly conclude that it's a bug with 3.15.x version.
Successfully locked memory using mlockAll
#!../../bin/linux-x86_64/Y
## You may have to change Y to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86_64")
epicsEnvSet("IOC","ioccurrentmeter")
epicsEnvSet("TOP","/home/work/base-3.15.2/asyn4-29/currentmeter")
epicsEnvSet("ASYN","/home/work/base-3.15.2/asyn4-29")
epicsEnvSet("EPICS_BASE","/home/work/base-3.15.2")
cd /home/work/base-3.15.2/asyn4-29/currentmeter
## Register all support components
dbLoadDatabase("dbd/currentmeter.dbd",0,0)
dbLoadDatabase("dbd/devcurrentmeter.dbd",0,0)
currentmeter_registerRecordDeviceDriver(pdbbase)
A call to 'assert(prt->no_fields == 308)'
by thread '_main_' failed in ../O.Common/aSubRecord.h line 659.
Dumping a stack trace of thread '_main_':
[ 0x7f3c1fad2fcb]: /home/work/base-3.15.2/asyn4-29/currentmeter/lib/linux-x86_64/libCom.so.3.15.2(epicsStackTrace+0x4b)
[ 0x7f3c1facc62a]: /home/work/base-3.15.2/asyn4-29/currentmeter/lib/linux-x86_64/libCom.so.3.15.2(epicsAssert+0x4a)
[ 0x7f3c1ff8cd16]: /home/work/base-3.15.2/asyn4-29/currentmeter/lib/linux-x86_64/libdbRecStd.so.3.15.2(aSubRecordSizeOffset+0x36)
[ 0x7f3c1fd53cd8]: /home/work/base-3.15.2/asyn4-29/currentmeter/lib/linux-x86_64/libdbCore.so.3.15.2(registerRecordTypes+0xc8)
[ 0x405ba0]: /home/work/base-3.15.2/asyn4-29/currentmeter/bin/linux-x86_64/currentmeter(currentmeter_registerRecordDeviceDriver+0x60)
[ 0x7f3c1fabebb0]: /home/work/base-3.15.2/asyn4-29/currentmeter/lib/linux-x86_64/libCom.so.3.15.2(iocshBody+0xae0)
[ 0x405a32]: /home/work/base-3.15.2/asyn4-29/currentmeter/bin/linux-x86_64/currentmeter(main+0x12)
[ 0x7f3c1f25eec5]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[ 0x405a7d]: /home/work/base-3.15.2/asyn4-29/currentmeter/bin/linux-x86_64/currentmeter(_start+0x29)
EPICS Release EPICS R3.15.2 $Date: Thu 2015-05-14 14:09:28 +0200$.
Local time is 2016-06-15 20:17:18.833637915 IST
Calling epicsThreadSuspendSelf()
Shantonu Sahoo