2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Problem building example application on windows-x64 |
From: | Mark Rivers <[email protected]> |
To: | Michael Davidsaver <[email protected]>, 'Andrew Johnson' <[email protected]>, "'[email protected]'" <[email protected]> |
Date: | Fri, 29 Dec 2017 14:55:42 +0000 |
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. Both also appeared to fail some tests: 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
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]> I have committed possible fixes for the first two issues. |