This is the dialog message.
These are the last frames in the stack trace. I've indicated the current line with >>>
#ifdef _DEBUG
_CRTIMP2_PURE
void __CLRCALL_PURE_OR_CDECL _Debug_message(const
wchar_t *message, const
wchar_t *file, unsigned
int line)
{
// report error and die
if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, message)==1)
{
>>> ::_CrtDbgBreak();
}
}
_CRTIMP2_PURE
void __CLRCALL_PURE_OR_CDECL _Debug_message(const
unsigned short *message,
const unsigned
short *file, unsigned
int line)
{
// report error and die
_Debug_message((wchar_t *) message, (wchar_t *) file, line);
}
#endif
template<class _Ty>
inline
void _Debug_pointer(const _Ty *_First, _Dbfile_t _File, _Dbline_t _Line)
{
// test iterator for non-singularity, const pointers
if (_First == 0)
_DEBUG_ERROR2("invalid null pointer", _File, _Line);
>>> }
template<class _InIt1,
class _InIt2> inline
bool equal(_InIt1 _First1, _InIt1 _Last1,
_InIt2 _First2)
{
// compare [_First1, _Last1) to [First2, ...)
_DEBUG_RANGE(_First1, _Last1);
_DEBUG_POINTER(_First2);
return (_Equal1(_Unchecked(_First1), _Unchecked(_Last1),
>>> _First2, _Is_checked(_First2)));
}
_First1, _Last1, and _First2 are all null pointers.
Mark
> -----Original Message-----
> From: Michael Davidsaver [mailto:[email protected]]
> Sent: Saturday, December 30, 2017 9:31 AM
> To: Mark Rivers
> Cc: 'Andrew Johnson'; '[email protected]'; Ralph Lange
> Subject: Re: Problem building example application on windows-x64
>
> On 12/30/2017 08:50 AM, Mark Rivers wrote:
> > I have attached the .tap files. The first simmTest.tap is for windows-x64, the other files
> are all for windows-x64-static.
>
> Thanks. I'll leave simmTest for Ralph.
>
> >> And yet they show as PASS? Strange. Can you capture a couple of these?
> >
> > The dialog box gives options for Abort, Retry, and Ignore. I had selected Ignore which is
> probably why the test passed.
> What message is shown? I'd guess something about NULL pointer.
> I can't find a source listing, but it seems like the MSVC
> implementation of std::equal() is being extra super helpful and
> asserting that the third argument by non-NULL. In this case
> it doesn't matter as the first two arguments are equal,
> so the NULL is not dereferenced.
>
> This raises a separate the question of whether std::equal() is
> specified for an empty range, and what the results should be.
> The consensus seems to be 'yes', and 'true', but I've not found
> anything authoritative.
>
> These issues arises when comparing empty shared_vector<>s.
> Which currently return NULL for begin(), end(), and similar.
>
> This seems like non-standard MSVC behavior, which I'd like to
> understand more before attempting a workaround. The
> possibilities are 1) make shared_vector return a non-NULL
> pointers when empty(), or 2) refrain from calling
> std::equal() on empty arrays.
>
> > I now selected Retry which allows running the debugger. This is the stack trace for
> testSerialization:
> >
> >> testSerialization.exe!std::_Debug_message(const wchar_t *
> message=0x000000013f813048, const wchar_t * file=0x000000013f813080, unsigned int
> line=3049) Line 15 C++
> > testSerialization.exe!std::_Debug_pointer<unsigned char>(const unsigned char *
> _First=0x0000000000000000, const wchar_t * _File=0x000000013f813080, unsigned int
> _Line=3049) Line 692 C++
> > testSerialization.exe!std::equal<unsigned char const * __ptr64,unsigned char const *
> __ptr64>(const unsigned char * _First1=0x0000000000000000, const unsigned char *
> _Last1=0x0000000000000000, const unsigned char * _First2=0x0000000000000000) Line
> 3051 C++
> > testSerialization.exe!epics::pvData::`anonymous
> namespace'::compareArray<unsigned char>(const epics::pvData::PVValueArray<unsigned
> char> * left=0x000000000028ade0, const epics::pvData::PVValueArray<unsigned char> *
> right=0x00000000002889d0) Line 159 + 0x4c bytes C++
> > testSerialization.exe!epics::pvData::`anonymous namespace'::compareField(const
> epics::pvData::PVScalarArray * left=0x000000000028ade0, const
> epics::pvData::PVScalarArray * right=0x00000000002889d0) Line 202 + 0x15 bytes
> C++
> > testSerialization.exe!epics::pvData::operator==(const epics::pvData::PVField &
> left={...}, const epics::pvData::PVField & right={...}) Line 339 + 0xf bytes C++
> > testSerialization.exe!`anonymous namespace'::testEquals() Line 162 + 0x35 bytes
> C++
> > testSerialization.exe!main(int __formal=1, int __formal=1) Line 875 C++
> > testSerialization.exe!__tmainCRTStartup() Line 278 + 0x19 bytes C
> > testSerialization.exe!mainCRTStartup() Line 189 C
> > kernel32.dll!00000000775259cd()
> > [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
>
> > ntdll.dll!000000007775a561()
> >
> >
> > This is the stack trace for testPVScalarArray:
> >
> >> testPVScalarArray.exe!std::_Debug_message(const wchar_t *
> message=0x000000013f6a55d8, const wchar_t * file=0x000000013f6a4970, unsigned int
> line=3049) Line 15 C++
> > testPVScalarArray.exe!std::_Debug_pointer<signed char>(const char *
> _First=0x0000000000000000, const wchar_t * _File=0x000000013f6a4970, unsigned int
> _Line=3049) Line 692 C++
> > testPVScalarArray.exe!std::equal<signed char const * __ptr64,signed char const *
> __ptr64>(const char * _First1=0x0000000000000000, const char *
> _Last1=0x0000000000000000, const char * _First2=0x0000000000000000) Line 3051
> C++
> > testPVScalarArray.exe!epics::pvData::`anonymous
> namespace'::compareArray<signed char>(const epics::pvData::PVValueArray<signed char>
> * left=0x0000000000314260, const epics::pvData::PVValueArray<signed char> *
> right=0x0000000000314380) Line 159 + 0x4c bytes C++
> > testPVScalarArray.exe!epics::pvData::`anonymous namespace'::compareField(const
> epics::pvData::PVScalarArray * left=0x0000000000314260, const
> epics::pvData::PVScalarArray * right=0x0000000000314380) Line 204 + 0x15 bytes
> C++
> > testPVScalarArray.exe!epics::pvData::operator==(const epics::pvData::PVField &
> left={...}, const epics::pvData::PVField & right={...}) Line 339 + 0xf bytes C++
> > testPVScalarArray.exe!`anonymous
> namespace'::testBasic<epics::pvData::PVValueArray<signed char> >() Line 93 + 0x2f
> bytes C++
> > testPVScalarArray.exe!main(int __formal=1, int __formal=1) Line 206 C++
> > testPVScalarArray.exe!__tmainCRTStartup() Line 278 + 0x19 bytes C
> > testPVScalarArray.exe!mainCRTStartup() Line 189 C
> > kernel32.dll!00000000775259cd()
> > [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
>
> > ntdll.dll!000000007775a561()
> >
> > Mark
> >
> >
> >> -----Original Message-----
> >> From: Michael Davidsaver [mailto:[email protected]]
> >> Sent: Friday, December 29, 2017 9:45 AM
> >> To: Mark Rivers
> >> Cc: 'Andrew Johnson'; '[email protected]'; Ralph Lange
> >> Subject: Re: Problem building example application on windows-x64
> >>
> >>
> >>
> >> On 12/29/2017 08:55 AM, Mark Rivers wrote:
> >>> I have run the runtests for windows-x64 and windows-x64-staticon VS2010.
> >>>
> >>>
> >>>
> >>> For windows-x64 there were no dialog boxes.
> >>>
> >>>
> >>>
> >>> For windows-x64-static there were many Debug Assertion error dialog boxes in
> >> testSerialization.t (24 times) and testPVScalarArrat (5 times)
> >>>
> >>> They all appear to be null pointer problems.
> >>
> >> And yet they show as PASS? Strange. Can you capture a couple of these?
> >> Maybe the first from each test for a start?
> >>
> >>> Both also appeared to fail some tests:
> >>
> >> At this point we need to see the output of the tests. Can you run:
> >>
> >>> make tapfiles
> >>
> >> Then collect the .tap files (test output) of the three mis-behaving tests.
> >> These should be:
> >>
> >> modules/database/test/std/O.*/simmTest.tap
> >> modules/pvData/testApp/O.*/testSerialization.tap
> >> modules/pvData/testApp/O.*/testPVScalarArray.tap
> >>
> >>
> >>> These are failures on windows-x64:
> >>>
> >>>
> >>>
> >>> Test Summary Report
> >>>
> >>> -------------------
> >>>
> >>> simmTest.t (Wstat: 0 Tests: 1176 Failed: 7)
> >>>
> >>> Failed tests: 140, 315, 439-440, 665-666, 767
> >>>
> >>> Files=11, Tests=3575, 13 wallclock secs ( 0.48 usr + 0.08 sys = 0.56 CPU)
> >>>
> >>> Result: FAIL
> >>>
> >>> Failed 1/11 test programs. 7/3575 subtests failed.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> These are failures on windows-x64-static:
> >>>
> >>>
> >>>
> >>> Test Summary Report
> >>>
> >>> -------------------
> >>>
> >>> simmTest.t (Wstat: 0 Tests: 1176 Failed: 3)
> >>>
> >>> Failed tests: 355-356, 439
> >>>
> >>> Files=11, Tests=3575, 15 wallclock secs ( 0.50 usr + 0.03 sys = 0.53 CPU)
> >>>
> >>> Result: FAIL
> >>>
> >>> Failed 1/11 test programs. 3/3575 subtests failed.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> This is the output for windows-x64:
> >>>
> >>>
> >>>
> >>> H:\epics-devel\base-7.0.1>set EPICS_HOST_ARCH=windows-x64
> >>>
> >>>
> >>>
> >>> H:\epics-devel\base-7.0.1>make -s runtests
> >>>
> >>> Snippets.t .. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=1, Tests=29, 2 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> epicsUnitTestTest.t ........ ok
> >>>
> >>> epicsTypesTest.t ........... ok
> >>>
> >>> epicsInlineTest.t .......... ok
> >>>
> >>> epicsCalcTest.t ............ ok
> >>>
> >>> epicsAlgorithmTest.t ....... ok
> >>>
> >>> epicsMathTest.t ............ ok
> >>>
> >>> epicsMMIOTest.t ............ ok
> >>>
> >>> epicsEllTest.t ............. ok
> >>>
> >>> epicsEnvTest.t ............. ok
> >>>
> >>> epicsErrlogTest.t .......... 24/32 log client: connected to log server at "127.0.0.1:60935"
> >>>
> >>> epicsErrlogTest.t .......... ok
> >>>
> >>> epicsStdioTest.t ........... ok
> >>>
> >>> epicsStdlibTest.t .......... ok
> >>>
> >>> epicsSockResolveTest.t ..... ok
> >>>
> >>> epicsStringTest.t .......... ok
> >>>
> >>> epicsTimeTest.t ............ ok
> >>>
> >>> epicsTimeZoneTest.t ........ ok
> >>>
> >>> epicsThreadTest.t .......... ok
> >>>
> >>> epicsThreadOnceTest.t ...... ok
> >>>
> >>> epicsThreadPriorityTest.t .. ok
> >>>
> >>> epicsThreadPrivateTest.t ... ok
> >>>
> >>> epicsThreadHooksTest.t ..... ok
> >>>
> >>> epicsThreadPoolTest.t ...... ok
> >>>
> >>> epicsExitTest.t ............ ok
> >>>
> >>> epicsTimerTest.t ........... ok
> >>>
> >>> ringPointerTest.t .......... ok
> >>>
> >>> ringBytesTest.t ............ ok
> >>>
> >>> epicsEventTest.t ........... ok
> >>>
> >>> epicsMutexTest.t ........... ok
> >>>
> >>> epicsSpinTest.t ............ ok
> >>>
> >>> epicsAtomicTest.t .......... ok
> >>>
> >>> macDefExpandTest.t ......... ok
> >>>
> >>> cvtFastTest.t .............. ok
> >>>
> >>> macLibTest.t ............... ok
> >>>
> >>> macLib.t ................... ok
> >>>
> >>> taskwdTest.t ............... ok
> >>>
> >>> blockingSockTest.t ......... ok
> >>>
> >>> epicsMessageQueueTest.t .... ok
> >>>
> >>> epicsStackTraceTest.t ...... ok
> >>>
> >>> ipAddrToAsciiTest.t ........ ok
> >>>
> >>> osiSockTest.t .............. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=40, Tests=4016, 200 wallclock secs ( 0.56 usr + 0.16 sys = 0.72 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> dbScanTest.t ............... ok
> >>>
> >>> dbShutdownTest.t ........... ok
> >>>
> >>> dbPutLinkTest.t ............ 265/320 dbJLinkInit: lexical error: invalid char in json text.
> >>>
> >>> {"x":bbbb}
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbJLinkInit: parse error: premature EOF
> >>>
> >>> {"z":{"good":6}
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbPutLinkTest.t ............ ok
> >>>
> >>> dbLockTest.t ............... ok
> >>>
> >>> dbStressTest.t ............. ok
> >>>
> >>> testdbConvert.t ............ ok
> >>>
> >>> callbackTest.t ............. ok
> >>>
> >>> callbackParallelTest.t ..... ok
> >>>
> >>> dbStateTest.t .............. ok
> >>>
> >>> dbServerTest.t ............. 1/24 dbRegisterServer: 'one' registered twice?
> >>>
> >>> dbRegisterServer: Bad server name 'bad name'
> >>>
> >>> dbRegisterServer: Ignoring 'disabled', per environment
> >>>
> >>> dbUnregisterServer: Servers still active!
> >>>
> >>> dbUnregisterServer: 'toolate' not registered.
> >>>
> >>> dbUnregisterServer: 'no-routines' has no stop() method.
> >>>
> >>> dbServerTest.t ............. ok
> >>>
> >>> dbCaStatsTest.t ............ ok
> >>>
> >>> dbCaLinkTest.t ............. ok
> >>>
> >>> scanIoTest.t ............... ok
> >>>
> >>> dbChannelTest.t ............ ok
> >>>
> >>> dbChArrTest.t .............. Starting iocInit
> >>>
> >>> iocRun: All initialization complete
> >>>
> >>> dbChArrTest.t .............. ok
> >>>
> >>> chfPluginTest.t ............ 1/1433 chfConfigParseStart: plugin pvt alloc failed
> >>>
> >>> chfPluginTest.t ............ ok
> >>>
> >>> arrShorthandTest.t ......... ok
> >>>
> >>> recGblCheckDeadbandTest.t .. ok
> >>>
> >>> testPutGetTest.t ........... ok
> >>>
> >>> dbStaticTest.t ............. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=20, Tests=2856, 81 wallclock secs ( 0.41 usr + 0.11 sys = 0.51 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> msi.t .. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=1, Tests=9, 1 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> arrayOpTest.t ........... ok
> >>>
> >>> recMiscTest.t ........... ok
> >>>
> >>> linkRetargetLinkTest.t .. ok
> >>>
> >>> linkInitTest.t .......... 1/77 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> linkInitTest.t .......... 18/77 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> linkInitTest.t .......... 60/77 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> linkInitTest.t .......... ok
> >>>
> >>> compressTest.t .......... 1/116 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> compressTest.t .......... ok
> >>>
> >>> asyncSoftTest.t ......... ok
> >>>
> >>> softTest.t .............. ok
> >>>
> >>> asTest.t ................ ok
> >>>
> >>> analogMonitorTest.t ..... Starting iocInit
> >>>
> >>> analogMonitorTest.t ..... ok
> >>>
> >>> regressTest.t ........... 1/31 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> regressTest.t ........... ok
> >>>
> >>> simmTest.t .............. Failed 7/1176 subtests
> >>>
> >>>
> >>>
> >>> Test Summary Report
> >>>
> >>> -------------------
> >>>
> >>> simmTest.t (Wstat: 0 Tests: 1176 Failed: 7)
> >>>
> >>> Failed tests: 140, 315, 439-440, 665-666, 767
> >>>
> >>> Files=11, Tests=3575, 13 wallclock secs ( 0.48 usr + 0.08 sys = 0.56 CPU)
> >>>
> >>> Result: FAIL
> >>>
> >>> Failed 1/11 test programs. 7/3575 subtests failed.
> >>>
> >>> tsTest.t .... ok
> >>>
> >>> dbndTest.t .. ok
> >>>
> >>> arrTest.t ... ok
> >>>
> >>> syncTest.t .. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=4, Tests=1612, 3 wallclock secs ( 0.19 usr + 0.01 sys = 0.20 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> Base.t ........ ok
> >>>
> >>> Breaktable.t .. ok
> >>>
> >>> DBD.t ......... ok
> >>>
> >>> Device.t ...... ok
> >>>
> >>> Driver.t ...... ok
> >>>
> >>> Function.t .... ok
> >>>
> >>> Menu.t ........ ok
> >>>
> >>> Recfield.t .... ok
> >>>
> >>> Recordtype.t .. ok
> >>>
> >>> Registrar.t ... ok
> >>>
> >>> Variable.t .... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=11, Tests=287, 1 wallclock secs ( 0.03 usr + 0.06 sys = 0.09 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testThread.t ............ ok
> >>>
> >>> testEvent.t ............. ok
> >>>
> >>> testTimer.t ............. ok
> >>>
> >>> testBitSet.t ............ ok
> >>>
> >>> testOverrunBitSet.t ..... ok
> >>>
> >>> testByteBuffer.t ........ ok
> >>>
> >>> testBaseException.t ..... ok
> >>>
> >>> testSharedVector.t ...... ok
> >>>
> >>> testDebugPtr.t .......... ok
> >>>
> >>> testSerialization.t ..... ok
> >>>
> >>> testTimeStamp.t ......... ok
> >>>
> >>> testQueue.t ............. ok
> >>>
> >>> testTypeCast.t .......... ok
> >>>
> >>> testUnitTest.t .......... ok
> >>>
> >>> testjson.t .............. ok
> >>>
> >>> test_reftrack.t ......... ok
> >>>
> >>> testanyscalar.t ......... ok
> >>>
> >>> testBitSetUtil.t ........ ok
> >>>
> >>> testIntrospect.t ........ ok
> >>>
> >>> testPVType.t ............ ok
> >>>
> >>> testStandardField.t ..... ok
> >>>
> >>> testStandardPVField.t ... ok
> >>>
> >>> testPVData.t ............ ok
> >>>
> >>> testPVUnion.t ........... ok
> >>>
> >>> testConvert.t ........... ok
> >>>
> >>> testPVScalarArray.t ..... ok
> >>>
> >>> testPVStructureArray.t .. ok
> >>>
> >>> testOperators.t ......... ok
> >>>
> >>> testFieldBuilder.t ...... ok
> >>>
> >>> testValueBuilder.t ...... ok
> >>>
> >>> testProperty.t .......... ok
> >>>
> >>> testCreateRequest.t ..... ok
> >>>
> >>> testPVCopy.t ............ ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=33, Tests=2248, 12 wallclock secs ( 0.50 usr + 0.06 sys = 0.56 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testAtomicBoolean.t ..... ok
> >>>
> >>> testHexDump.t ........... ok
> >>>
> >>> testInetAddressUtils.t .. ok
> >>>
> >>> configurationTest.t ..... ok
> >>>
> >>> testFairQueue.t ......... ok
> >>>
> >>> testWildcard.t .......... ok
> >>>
> >>> testChannelAccess.t ..... ok
> >>>
> >>> testCodec.t ............. ok
> >>>
> >>> testRPC.t ............... ok
> >>>
> >>> testServerContext.t ..... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=10, Tests=6192, 30 wallclock secs ( 0.44 usr + 0.01 sys = 0.45 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> ntfieldTest.t ............... ok
> >>>
> >>> ntscalarTest.t .............. ok
> >>>
> >>> ntscalarArrayTest.t ......... ok
> >>>
> >>> ntnameValueTest.t ........... ok
> >>>
> >>> ntmultiChannelTest.t ........ ok
> >>>
> >>> ntscalarMultiChannelTest.t .. ok
> >>>
> >>> nttableTest.t ............... ok
> >>>
> >>> ntndarrayTest.t ............. ok
> >>>
> >>> ntmatrixTest.t .............. ok
> >>>
> >>> ntenumTest.t ................ ok
> >>>
> >>> ntunionTest.t ............... ok
> >>>
> >>> ntaggregateTest.t ........... ok
> >>>
> >>> ntattributeTest.t ........... ok
> >>>
> >>> ntndarrayAttributeTest.t .... ok
> >>>
> >>> ntcontinuumTest.t ........... ok
> >>>
> >>> nthistogramTest.t ........... ok
> >>>
> >>> ntutilsTest.t ............... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=17, Tests=631, 3 wallclock secs ( 0.27 usr + 0.09 sys = 0.36 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testPVCopy.t ......... ok
> >>>
> >>> testPVRecord.t ....... ok
> >>>
> >>> testExampleRecord.t .. ok
> >>>
> >>> testLocalProvider.t .. ok
> >>>
> >>> testPVAServer.t ...... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=5, Tests=81, 1 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testmon.t .. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=1, Tests=79, 0 wallclock secs ( 0.05 usr + 0.01 sys = 0.06 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testweak.t .. ok
> >>>
> >>> testtest.t .. ok
> >>>
> >>> testpvif.t .. 1/71 Command stopPVAServer not found.
> >>>
> >>> dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> testpvif.t .. ok
> >>>
> >>> testpdb.t ... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=4, Tests=247, 2 wallclock secs ( 0.08 usr + 0.05 sys = 0.12 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> This is for windows-x64-static
> >>>
> >>>
> >>>
> >>> H:\epics-devel\base-7.0.1>set EPICS_HOST_ARCH=windows-x64-static
> >>>
> >>>
> >>>
> >>> H:\epics-devel\base-7.0.1>make -s runtests
> >>>
> >>> Snippets.t .. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=1, Tests=29, 2 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> epicsUnitTestTest.t ........ ok
> >>>
> >>> epicsTypesTest.t ........... ok
> >>>
> >>> epicsInlineTest.t .......... ok
> >>>
> >>> epicsCalcTest.t ............ ok
> >>>
> >>> epicsAlgorithmTest.t ....... ok
> >>>
> >>> epicsMathTest.t ............ ok
> >>>
> >>> epicsMMIOTest.t ............ ok
> >>>
> >>> epicsEllTest.t ............. ok
> >>>
> >>> epicsEnvTest.t ............. ok
> >>>
> >>> epicsErrlogTest.t .......... 25/32 log client: connected to log server at "127.0.0.1:61307"
> >>>
> >>> epicsErrlogTest.t .......... ok
> >>>
> >>> epicsStdioTest.t ........... ok
> >>>
> >>> epicsStdlibTest.t .......... ok
> >>>
> >>> epicsSockResolveTest.t ..... ok
> >>>
> >>> epicsStringTest.t .......... ok
> >>>
> >>> epicsTimeTest.t ............ ok
> >>>
> >>> epicsTimeZoneTest.t ........ ok
> >>>
> >>> epicsThreadTest.t .......... ok
> >>>
> >>> epicsThreadOnceTest.t ...... ok
> >>>
> >>> epicsThreadPriorityTest.t .. ok
> >>>
> >>> epicsThreadPrivateTest.t ... ok
> >>>
> >>> epicsThreadHooksTest.t ..... ok
> >>>
> >>> epicsThreadPoolTest.t ...... ok
> >>>
> >>> epicsExitTest.t ............ ok
> >>>
> >>> epicsTimerTest.t ........... ok
> >>>
> >>> ringPointerTest.t .......... ok
> >>>
> >>> ringBytesTest.t ............ ok
> >>>
> >>> epicsEventTest.t ........... ok
> >>>
> >>> epicsMutexTest.t ........... ok
> >>>
> >>> epicsSpinTest.t ............ ok
> >>>
> >>> epicsAtomicTest.t .......... ok
> >>>
> >>> macDefExpandTest.t ......... ok
> >>>
> >>> cvtFastTest.t .............. ok
> >>>
> >>> macLibTest.t ............... ok
> >>>
> >>> macLib.t ................... ok
> >>>
> >>> taskwdTest.t ............... ok
> >>>
> >>> blockingSockTest.t ......... ok
> >>>
> >>> epicsMessageQueueTest.t .... ok
> >>>
> >>> epicsStackTraceTest.t ...... ok
> >>>
> >>> ipAddrToAsciiTest.t ........ ok
> >>>
> >>> osiSockTest.t .............. ok
> >>>
> >>> All tests successful.
> >>>
> >>>
> >>>
> >>> Test Summary Report
> >>>
> >>> -------------------
> >>>
> >>> epicsMathTest.t (Wstat: 0 Tests: 35 Failed: 0)
> >>>
> >>> TODO passed: 8-9, 11-12, 22-23
> >>>
> >>> Files=40, Tests=4016, 204 wallclock secs ( 0.56 usr + 0.16 sys = 0.72 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> dbScanTest.t ............... ok
> >>>
> >>> dbShutdownTest.t ........... ok
> >>>
> >>> dbPutLinkTest.t ............ 265/320 dbJLinkInit: lexical error: invalid char in json text.
> >>>
> >>> {"x":bbbb}
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbJLinkInit: parse error: premature EOF
> >>>
> >>> {"z":{"good":6}
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbPutLinkTest.t ............ ok
> >>>
> >>> dbLockTest.t ............... ok
> >>>
> >>> dbStressTest.t ............. ok
> >>>
> >>> testdbConvert.t ............ ok
> >>>
> >>> callbackTest.t ............. ok
> >>>
> >>> callbackParallelTest.t ..... ok
> >>>
> >>> dbStateTest.t .............. ok
> >>>
> >>> dbServerTest.t ............. dbRegisterServer: 'one' registered twice?
> >>>
> >>> dbServerTest.t ............. 1/24 dbRegisterServer: Bad server name 'bad name'
> >>>
> >>> dbRegisterServer: Ignoring 'disabled', per environment
> >>>
> >>> dbUnregisterServer: Servers still active!
> >>>
> >>> dbUnregisterServer: 'toolate' not registered.
> >>>
> >>> dbUnregisterServer: 'no-routines' has no stop() method.
> >>>
> >>> dbServerTest.t ............. ok
> >>>
> >>> dbCaStatsTest.t ............ ok
> >>>
> >>> dbCaLinkTest.t ............. ok
> >>>
> >>> scanIoTest.t ............... ok
> >>>
> >>> dbChannelTest.t ............ ok
> >>>
> >>> dbChArrTest.t .............. Starting iocInit
> >>>
> >>> iocRun: All initialization complete
> >>>
> >>> dbChArrTest.t .............. ok
> >>>
> >>> chfPluginTest.t ............ 1/1433 chfConfigParseStart: plugin pvt alloc failed
> >>>
> >>> chfPluginTest.t ............ ok
> >>>
> >>> arrShorthandTest.t ......... ok
> >>>
> >>> recGblCheckDeadbandTest.t .. ok
> >>>
> >>> testPutGetTest.t ........... ok
> >>>
> >>> dbStaticTest.t ............. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=20, Tests=2856, 82 wallclock secs ( 0.51 usr + 0.08 sys = 0.59 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> msi.t .. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=1, Tests=9, 0 wallclock secs ( 0.03 usr + 0.02 sys = 0.05 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> arrayOpTest.t ........... ok
> >>>
> >>> recMiscTest.t ........... ok
> >>>
> >>> linkRetargetLinkTest.t .. ok
> >>>
> >>> linkInitTest.t .......... 1/77 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> linkInitTest.t .......... 8/77 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> linkInitTest.t .......... 18/77 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> linkInitTest.t .......... 60/77 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> linkInitTest.t .......... ok
> >>>
> >>> compressTest.t .......... 1/116 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> compressTest.t .......... ok
> >>>
> >>> asyncSoftTest.t ......... ok
> >>>
> >>> softTest.t .............. ok
> >>>
> >>> asTest.t ................ ok
> >>>
> >>> analogMonitorTest.t ..... Starting iocInit
> >>>
> >>> analogMonitorTest.t ..... ok
> >>>
> >>> regressTest.t ........... 1/31 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> dbConvertJSON: parse error: trailing garbage
> >>>
> >>> 0x10
> >>>
> >>> (right here) ------^
> >>>
> >>>
> >>>
> >>> regressTest.t ........... 6/31 dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> regressTest.t ........... ok
> >>>
> >>> simmTest.t .............. Failed 3/1176 subtests
> >>>
> >>>
> >>>
> >>> Test Summary Report
> >>>
> >>> -------------------
> >>>
> >>> simmTest.t (Wstat: 0 Tests: 1176 Failed: 3)
> >>>
> >>> Failed tests: 355-356, 439
> >>>
> >>> Files=11, Tests=3575, 15 wallclock secs ( 0.50 usr + 0.03 sys = 0.53 CPU)
> >>>
> >>> Result: FAIL
> >>>
> >>> Failed 1/11 test programs. 3/3575 subtests failed.
> >>>
> >>> tsTest.t .... ok
> >>>
> >>> dbndTest.t .. ok
> >>>
> >>> arrTest.t ... ok
> >>>
> >>> syncTest.t .. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=4, Tests=1612, 3 wallclock secs ( 0.19 usr + 0.00 sys = 0.19 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> Base.t ........ ok
> >>>
> >>> Breaktable.t .. ok
> >>>
> >>> DBD.t ......... ok
> >>>
> >>> Device.t ...... ok
> >>>
> >>> Driver.t ...... ok
> >>>
> >>> Function.t .... ok
> >>>
> >>> Menu.t ........ ok
> >>>
> >>> Recfield.t .... ok
> >>>
> >>> Recordtype.t .. ok
> >>>
> >>> Registrar.t ... ok
> >>>
> >>> Variable.t .... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=11, Tests=287, 1 wallclock secs ( 0.00 usr + 0.01 sys = 0.01 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testThread.t ............ ok
> >>>
> >>> testEvent.t ............. ok
> >>>
> >>> testTimer.t ............. ok
> >>>
> >>> testBitSet.t ............ ok
> >>>
> >>> testOverrunBitSet.t ..... ok
> >>>
> >>> testByteBuffer.t ........ ok
> >>>
> >>> testBaseException.t ..... ok
> >>>
> >>> testSharedVector.t ...... ok
> >>>
> >>> testDebugPtr.t .......... ok
> >>>
> >>> testSerialization.t ..... ok
> >>>
> >>> testTimeStamp.t ......... ok
> >>>
> >>> testQueue.t ............. ok
> >>>
> >>> testTypeCast.t .......... ok
> >>>
> >>> testUnitTest.t .......... ok
> >>>
> >>> testjson.t .............. ok
> >>>
> >>> test_reftrack.t ......... ok
> >>>
> >>> testanyscalar.t ......... ok
> >>>
> >>> testBitSetUtil.t ........ ok
> >>>
> >>> testIntrospect.t ........ ok
> >>>
> >>> testPVType.t ............ ok
> >>>
> >>> testStandardField.t ..... ok
> >>>
> >>> testStandardPVField.t ... ok
> >>>
> >>> testPVData.t ............ ok
> >>>
> >>> testPVUnion.t ........... ok
> >>>
> >>> testConvert.t ........... ok
> >>>
> >>> testPVScalarArray.t ..... ok
> >>>
> >>> testPVStructureArray.t .. ok
> >>>
> >>> testOperators.t ......... ok
> >>>
> >>> testFieldBuilder.t ...... ok
> >>>
> >>> testValueBuilder.t ...... ok
> >>>
> >>> testProperty.t .......... ok
> >>>
> >>> testCreateRequest.t ..... ok
> >>>
> >>> testPVCopy.t ............ ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=33, Tests=2248, 294 wallclock secs ( 0.64 usr + 0.11 sys = 0.75 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testAtomicBoolean.t ..... ok
> >>>
> >>> testHexDump.t ........... ok
> >>>
> >>> testInetAddressUtils.t .. ok
> >>>
> >>> configurationTest.t ..... ok
> >>>
> >>> testFairQueue.t ......... ok
> >>>
> >>> testWildcard.t .......... ok
> >>>
> >>> testChannelAccess.t ..... ok
> >>>
> >>> testCodec.t ............. ok
> >>>
> >>> testRPC.t ............... ok
> >>>
> >>> testServerContext.t ..... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=10, Tests=6192, 28 wallclock secs ( 0.48 usr + 0.05 sys = 0.53 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> ntfieldTest.t ............... ok
> >>>
> >>> ntscalarTest.t .............. ok
> >>>
> >>> ntscalarArrayTest.t ......... ok
> >>>
> >>> ntnameValueTest.t ........... ok
> >>>
> >>> ntmultiChannelTest.t ........ ok
> >>>
> >>> ntscalarMultiChannelTest.t .. ok
> >>>
> >>> nttableTest.t ............... ok
> >>>
> >>> ntndarrayTest.t ............. ok
> >>>
> >>> ntmatrixTest.t .............. ok
> >>>
> >>> ntenumTest.t ................ ok
> >>>
> >>> ntunionTest.t ............... ok
> >>>
> >>> ntaggregateTest.t ........... ok
> >>>
> >>> ntattributeTest.t ........... ok
> >>>
> >>> ntndarrayAttributeTest.t .... ok
> >>>
> >>> ntcontinuumTest.t ........... ok
> >>>
> >>> nthistogramTest.t ........... ok
> >>>
> >>> ntutilsTest.t ............... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=17, Tests=631, 3 wallclock secs ( 0.14 usr + 0.08 sys = 0.22 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testPVCopy.t ......... ok
> >>>
> >>> testPVRecord.t ....... ok
> >>>
> >>> testExampleRecord.t .. ok
> >>>
> >>> testLocalProvider.t .. ok
> >>>
> >>> testPVAServer.t ...... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=5, Tests=81, 2 wallclock secs ( 0.03 usr + 0.01 sys = 0.05 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testmon.t .. ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=1, Tests=79, 0 wallclock secs ( 0.05 usr + 0.01 sys = 0.06 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>> testweak.t .. ok
> >>>
> >>> testtest.t .. ok
> >>>
> >>> testpvif.t .. 1/71 Command stopPVAServer not found.
> >>>
> >>> dbRegisterServer: 'rsrv' registered twice?
> >>>
> >>> testpvif.t .. ok
> >>>
> >>> testpdb.t ... ok
> >>>
> >>> All tests successful.
> >>>
> >>> Files=4, Tests=247, 4 wallclock secs ( 0.08 usr + 0.02 sys = 0.09 CPU)
> >>>
> >>> Result: PASS
> >>>
> >>>
> >>>
> >>> Mark
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> *From:*Mark Rivers
> >>> *Sent:* Friday, December 29, 2017 8:06 AM
> >>> *To:* Michael Davidsaver; 'Andrew Johnson'; '[email protected]'
> >>> *Subject:* Re: Problem building example application on windows-x64
> >>>
> >>>
> >>>
> >>> I have tested the fixes.
> >>>
> >>>
> >>>
> >>> I did the following in module/pvData and modules/pvAccess
> >>>
> >>>
> >>>
> >>> git checkout master
> >>>
> >>> git pull
> >>>
> >>>
> >>>
> >>> Rebuilt base for windows-x64 and windows-x64-static.
> >>>
> >>> Rebuilt example application for both ARCHs.
> >>>
> >>>
> >>>
> >>> It appears to fix both problems:
> >>>
> >>> - windows-x64 no longer hangs with WINSOCK errors when exiting.
> >>>
> >>> - windows-x64-static no longer crashes on startup.
> >>>
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Mark
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> ----------------------------------------------------------------------------------------------------------------
> ---
> >> ------------------------------------------------------------------------------------------------------------------
> ----
> >> ------------------------------------------------------------------------------------------------------------------
> ----
> >> ------------------------------------------------------------------------------------------------------------------
> ----
> >> ------------------------------------------------------------------------------------------------------------------
> ----
> >> ------------------------------------------------------------------------------------------------------------------
> ----
> >> ------------------------------------------------------------------------------------------------------------------
> ----
> >> ------------------------------------------------------------------------------------------------------------------
> ----
> >> -------------------------------------------------
> >>>
> >>> *From:*Michael Davidsaver <[email protected]
> >> <mailto:[email protected]>>
> >>> *Sent:* Thursday, December 28, 2017 12:23 PM
> >>> *To:* Mark Rivers; 'Andrew Johnson'; '[email protected]'
> >>> *Subject:* Re: Problem building example application on windows-x64
> >>>
> >>>
> >>>
> >>> I have committed possible fixes for the first two issues.
> >>>
> >>> On 12/28/2017 09:37 AM, Michael Davidsaver wrote:
> >>>> So much for that. I manged to miss this issue. Time to open some tickets I think.
> >>>> So far I count four distinct symptoms, and the test failures.
> >>>>
> >>>> What I see so far:
> >>>>
> >>>> 1. Global ctor ordering issues needs to be opened against pvDataCPP and
> pvAccessCPP
> >>>> (any probably others).
> >>>
> >>>
https://github.com/epics-base/pvDataCPP/issues/49
> >>>
> >>> w/ candidate fix
> >>>
> >>>> 2. The osiSockAttach() issue against pvAccessCPP.
> >>>
> >>>
https://github.com/epics-base/pvAccessCPP/issues/81
> >>>
> >>> w/ candidate fix
> >>>
> >>>> 3. The Com.res failure against Base (on launchpad)
> >>>
> >>> https://bugs.launchpad.net/bugs/1740408
> >>>
> >>>> 4. The timestamp issue w/ genVersionHeader.pl against Base
> >>>
> >>> tbd.
> >>>
> >>
> >
>