## -------------------------------------------------------- ## ## bes 3.19.1 test suite: bes/modules/netcdf_handler/tests. ## ## -------------------------------------------------------- ## nc4_netcdf_handler_tests: command line was: $ ./nc4_netcdf_handler_tests ## ---------- ## ## ChangeLog. ## ## ---------- ## | 2018-12-06 James Gallagher | | Merge pull request #205 from OPENDAP/HK-247 | Hk 247 | | 2018-12-05 James Gallagher | | Merge pull request #207 from OPENDAP/HK-40 | HK 40 | ## --------- ## ## Platform. ## ## --------- ## hostname = mbp-vskorole.edn.ecs.nasa.gov uname -m = x86_64 uname -r = 17.7.0 uname -s = Darwin uname -v = Darwin Kernel Version 17.7.0: Wed Oct 10 23:06:14 PDT 2018; root:xnu-4570.71.13~1/RELEASE_X86_64 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 17.7.0: Wed Oct 10 23:06:14 PDT 2018; root:xnu-4570.71.13~1/RELEASE_X86_64 Kernel configured for up to 8 processors. 4 processors are physically available. 8 processors are logically available. Processor type: x86_64h (Intel x86-64h Haswell) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 16.00 gigabytes Default processor set: 344 tasks, 1373 threads, 8 processors Load average: 2.02, Mach factor: 5.97 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Users/vskorole/opendap/hyrax/bes/standalone PATH: /Users/vskorole/.nvm/versions/node/v8.10.0/bin PATH: /Users/vskorole/Downloads/Software/apache-ant-1.9.9/bin PATH: /Users/vskorole/apache-maven-3.5.0/bin PATH: /Users/vskorole/Library/Python/3.6/bin PATH: /Library/Frameworks/Python.framework/Versions/3.6/bin PATH: /Applications/QGIS.app/Contents/MacOS/bin PATH: /opt/local/bin PATH: /opt/local/sbin PATH: /Users/vskorole/opendap/hyrax/build/bin PATH: /Users/vskorole/opendap/hyrax/build/deps/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /opt/X11/bin nc4_netcdf_handler_tests: atconfig: | # Configurable variable values for building test suites. | # Generated by ./config.status. | # Copyright (C) 2012 Free Software Foundation, Inc. | | # The test suite will define top_srcdir=/../.. etc. | at_testdir='modules/netcdf_handler/tests' | abs_builddir='/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests' | at_srcdir='.' | abs_srcdir='/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests' | at_top_srcdir='../../..' | abs_top_srcdir='/Users/vskorole/opendap/hyrax/bes' | at_top_build_prefix='../../../' | abs_top_builddir='/Users/vskorole/opendap/hyrax/bes' | | # Backward compatibility with Autotest <= 2.59b: | at_top_builddir=$at_top_build_prefix | | AUTOTEST_PATH='standalone' | | SHELL=${CONFIG_SHELL-'/bin/sh'} nc4_netcdf_handler_tests: atlocal: ## ---------------- ## ## Tested programs. ## ## ---------------- ## ./nc4_netcdf_handler_tests.at:3: /Users/vskorole/opendap/hyrax/bes/standalone/besstandalone --version /Users/vskorole/opendap/hyrax/bes/standalone/.libs/besstandalone: version 2.0 ## ------------------ ## ## Running the tests. ## ## ------------------ ## nc4_netcdf_handler_tests: starting at: Wed Jan 9 14:38:46 EST 2019 1. BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.0.bescmd (nc4_netcdf_handler_tests.at:11): ok (0m0.068s 0m0.053s) 5. BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.0.bescmd (nc4_netcdf_handler_tests.at:19): ok (0m0.066s 0m0.057s) 9. BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.0.bescmd (nc4_netcdf_handler_tests.at:27): ok (0m0.066s 0m0.061s) 13. BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.0.bescmd (nc4_netcdf_handler_tests.at:35): ok (0m0.063s 0m0.059s) 17. BESCMD $abs_srcdir/nc/nc4_strings.nc.0.bescmd (nc4_netcdf_handler_tests.at:43): ok (0m0.068s 0m0.063s) 18. BESCMD $abs_srcdir/nc/nc4_strings.nc.1.bescmd (nc4_netcdf_handler_tests.at:44): ok (0m0.068s 0m0.055s) 19. BESCMD $abs_srcdir/nc/nc4_strings.nc.2.bescmd (nc4_netcdf_handler_tests.at:45): ok (0m0.065s 0m0.059s) 21. BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.0.bescmd (nc4_netcdf_handler_tests.at:51): ok (0m0.062s 0m0.058s) 22. BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.1.bescmd (nc4_netcdf_handler_tests.at:52): ok (0m0.066s 0m0.056s) 23. BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.2.bescmd (nc4_netcdf_handler_tests.at:53): ok (0m0.066s 0m0.063s) 25. BESCMD $abs_srcdir/nc/ref_tst_compound.nc.0.bescmd (nc4_netcdf_handler_tests.at:59): ok (0m0.063s 0m0.056s) 29. BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.0.bescmd (nc4_netcdf_handler_tests.at:67): ok (0m0.064s 0m0.061s) 33. BESCMD $abs_srcdir/nc/ref_tst_compound3.nc.0.bescmd (nc4_netcdf_handler_tests.at:75): ok (0m0.063s 0m0.061s) 34. BESCMD $abs_srcdir/nc/ref_tst_compound3.nc.1.bescmd (nc4_netcdf_handler_tests.at:76): ok (0m0.064s 0m0.059s) 35. BESCMD $abs_srcdir/nc/ref_tst_compound3.nc.2.bescmd (nc4_netcdf_handler_tests.at:77): ok (0m0.064s 0m0.051s) 36. BESCMD $abs_srcdir/nc/ref_tst_compound3.nc.3.bescmd (nc4_netcdf_handler_tests.at:79): ok (0m0.071s 0m0.057s) 37. BESCMD $abs_srcdir/nc/ref_tst_compound4.nc.1.bescmd (nc4_netcdf_handler_tests.at:83): ok (0m0.065s 0m0.059s) 38. BESCMD $abs_srcdir/nc/ref_tst_compound4.nc.2.bescmd (nc4_netcdf_handler_tests.at:84): ok (0m0.062s 0m0.054s) 39. BESCMD $abs_srcdir/nc/ref_tst_compound4.nc.3.bescmd (nc4_netcdf_handler_tests.at:86): ok (0m0.069s 0m0.058s) 40. BESCMD $abs_srcdir/nc/ref_tst_compound5.nc.1.bescmd (nc4_netcdf_handler_tests.at:90): ok (0m0.064s 0m0.058s) 41. BESCMD $abs_srcdir/nc/ref_tst_compound5.nc.2.bescmd (nc4_netcdf_handler_tests.at:91): ok (0m0.063s 0m0.055s) 42. BESCMD $abs_srcdir/nc/ref_tst_compound5.nc.3.bescmd (nc4_netcdf_handler_tests.at:93): ok (0m0.070s 0m0.063s) 44. BESCMD $abs_srcdir/nc/ref_tst_opaque_data.nc.1.bescmd (nc4_netcdf_handler_tests.at:98): ok (0m0.065s 0m0.056s) 45. BESCMD $abs_srcdir/nc/ref_tst_opaque_data.nc.2.bescmd (nc4_netcdf_handler_tests.at:99): ok (0m0.064s 0m0.054s) 46. BESCMD $abs_srcdir/nc/ref_tst_opaque_data.nc.3.bescmd (nc4_netcdf_handler_tests.at:101): ok (0m0.070s 0m0.057s) 48. BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.1.bescmd (nc4_netcdf_handler_tests.at:106): ok (0m0.063s 0m0.053s) 49. BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.2.bescmd (nc4_netcdf_handler_tests.at:107): ok (0m0.064s 0m0.058s) 50. BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.3.bescmd (nc4_netcdf_handler_tests.at:109): ok (0m0.074s 0m0.058s) 51. BESCMD $abs_srcdir/nc/ref_tst_enum_data_1.nc.3.bescmd (nc4_netcdf_handler_tests.at:112): ok (0m0.071s 0m0.059s) 52. BESCMD $abs_srcdir/nc/ref_tst_enum_data_2.nc.3.bescmd (nc4_netcdf_handler_tests.at:115): ok (0m0.071s 0m0.064s) 61. BESCMD $abs_srcdir/nc/ref_tst_compound3.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:126): ok (0m0.063s 0m0.057s) 62. BESCMD $abs_srcdir/nc/ref_tst_compound4.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:127): ok (0m0.063s 0m0.057s) 63. BESCMD $abs_srcdir/nc/ref_tst_compound5.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:128): ok (0m0.066s 0m0.060s) 67. BESCMD $abs_srcdir/nc/ref_tst_opaque_data.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:132): ok (0m0.066s 0m0.063s) 68. BESCMD $abs_srcdir/nc/stringtest.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:133): ok (0m0.068s 0m0.063s) 77. BESCMD $abs_srcdir/nc/ref_tst_compound3.nc.dap.bescmd (nc4_netcdf_handler_tests.at:144): ok (0m0.073s 0m0.067s) 78. BESCMD $abs_srcdir/nc/ref_tst_compound4.nc.dap.bescmd (nc4_netcdf_handler_tests.at:145): ok (0m0.070s 0m0.063s) 79. BESCMD $abs_srcdir/nc/ref_tst_compound5.nc.dap.bescmd (nc4_netcdf_handler_tests.at:146): ok (0m0.075s 0m0.067s) 82. BESCMD $abs_srcdir/nc/ref_tst_opaque_data.nc.dap.bescmd (nc4_netcdf_handler_tests.at:150): ok (0m0.072s 0m0.059s) 84. BESCMD $abs_srcdir/nc/zero_length_array.nc.6.bescmd (nc4_netcdf_handler_tests.at:154): ok (0m0.063s 0m0.057s) 85. BESCMD $abs_srcdir/nc/zero_length_array.nc.7.bescmd (nc4_netcdf_handler_tests.at:155): ok (0m0.065s 0m0.054s) nc4_netcdf_handler_tests: ending at: Wed Jan 9 14:39:29 EST 2019 nc4_netcdf_handler_tests: test suite duration: 0h 0m 43s ## ------------- ## ## Test results. ## ## ------------- ## ERROR: All 88 tests were run, 47 failed unexpectedly. ## ------------------------ ## ## Summary of the failures. ## ## ------------------------ ## Failed tests: bes 3.19.1 test suite: bes/modules/netcdf_handler/tests test groups: NUM: FILE-NAME:LINE TEST-GROUP-NAME KEYWORDS 2: nc4_netcdf_handler_tests.at:12 BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.1.bescmd bescmd 3: nc4_netcdf_handler_tests.at:13 BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.2.bescmd bescmd 4: nc4_netcdf_handler_tests.at:15 BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.3.bescmd binary 6: nc4_netcdf_handler_tests.at:20 BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.1.bescmd bescmd 7: nc4_netcdf_handler_tests.at:21 BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.2.bescmd bescmd 8: nc4_netcdf_handler_tests.at:23 BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.3.bescmd binary 10: nc4_netcdf_handler_tests.at:28 BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.1.bescmd bescmd 11: nc4_netcdf_handler_tests.at:29 BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.2.bescmd bescmd 12: nc4_netcdf_handler_tests.at:31 BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.3.bescmd binary 14: nc4_netcdf_handler_tests.at:36 BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.1.bescmd bescmd 15: nc4_netcdf_handler_tests.at:37 BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.2.bescmd bescmd 16: nc4_netcdf_handler_tests.at:39 BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.3.bescmd binary 20: nc4_netcdf_handler_tests.at:47 BESCMD $abs_srcdir/nc/nc4_strings.nc.3.bescmd binary 24: nc4_netcdf_handler_tests.at:55 BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.3.bescmd binary 26: nc4_netcdf_handler_tests.at:60 BESCMD $abs_srcdir/nc/ref_tst_compound.nc.1.bescmd bescmd 27: nc4_netcdf_handler_tests.at:61 BESCMD $abs_srcdir/nc/ref_tst_compound.nc.2.bescmd bescmd 28: nc4_netcdf_handler_tests.at:63 BESCMD $abs_srcdir/nc/ref_tst_compound.nc.3.bescmd binary 30: nc4_netcdf_handler_tests.at:68 BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.1.bescmd bescmd 31: nc4_netcdf_handler_tests.at:69 BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.2.bescmd bescmd 32: nc4_netcdf_handler_tests.at:71 BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.3.bescmd binary 43: nc4_netcdf_handler_tests.at:97 BESCMD $abs_srcdir/nc/ref_tst_opaque_data.nc.0.bescmd bescmd 47: nc4_netcdf_handler_tests.at:105 BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.0.bescmd bescmd 53: nc4_netcdf_handler_tests.at:118 BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.dmr.bescmd bescmd 54: nc4_netcdf_handler_tests.at:119 BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.dmr.bescmd bescmd 55: nc4_netcdf_handler_tests.at:120 BESCMD $abs_srcdir/nc/nc4_strings.nc.dmr.bescmd bescmd 56: nc4_netcdf_handler_tests.at:121 BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.dmr.bescmd bescmd 57: nc4_netcdf_handler_tests.at:122 BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.dmr.bescmd bescmd 58: nc4_netcdf_handler_tests.at:123 BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.dmr.bescmd bescmd 59: nc4_netcdf_handler_tests.at:124 BESCMD $abs_srcdir/nc/ref_tst_compound.nc.dmr.bescmd bescmd 60: nc4_netcdf_handler_tests.at:125 BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.dmr.bescmd bescmd 64: nc4_netcdf_handler_tests.at:129 BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.dmr.bescmd bescmd 65: nc4_netcdf_handler_tests.at:130 BESCMD $abs_srcdir/nc/ref_tst_enum_data_1.nc.dmr.bescmd bescmd 66: nc4_netcdf_handler_tests.at:131 BESCMD $abs_srcdir/nc/ref_tst_enum_data_2.nc.dmr.bescmd bescmd 69: nc4_netcdf_handler_tests.at:136 BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.dap.bescmd binary 70: nc4_netcdf_handler_tests.at:137 BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.dap.bescmd binary 71: nc4_netcdf_handler_tests.at:138 BESCMD $abs_srcdir/nc/nc4_strings.nc.dap.bescmd binary 72: nc4_netcdf_handler_tests.at:139 BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.dap.bescmd binary 73: nc4_netcdf_handler_tests.at:140 BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.dap.bescmd binary 74: nc4_netcdf_handler_tests.at:141 BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.dap.bescmd binary 75: nc4_netcdf_handler_tests.at:142 BESCMD $abs_srcdir/nc/ref_tst_compound.nc.dap.bescmd binary 76: nc4_netcdf_handler_tests.at:143 BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.dap.bescmd binary 80: nc4_netcdf_handler_tests.at:147 BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.dap.bescmd binary 81: nc4_netcdf_handler_tests.at:148 BESCMD $abs_srcdir/nc/ref_tst_enum_data_1.nc.dap.bescmd binary 83: nc4_netcdf_handler_tests.at:151 BESCMD $abs_srcdir/nc/stringtest.nc.dap.bescmd binary 86: nc4_netcdf_handler_tests.at:156 BESCMD $abs_srcdir/nc/zero_length_array.nc.8.bescmd binary 87: nc4_netcdf_handler_tests.at:158 BESCMD $abs_srcdir/nc/zero_length_array.nc.9.bescmd bescmd 88: nc4_netcdf_handler_tests.at:159 BESCMD $abs_srcdir/nc/zero_length_array.nc.10.bescmd binary ## ---------------------- ## ## Detailed failed tests. ## ## ---------------------- ## # -*- compilation -*- 2. nc4_netcdf_handler_tests.at:12: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.1.bescmd ... ./nc4_netcdf_handler_tests.at:12: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:38:46.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/2/stderr 2019-01-09 14:38:47.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==11667==ERROR: AddressSanitizer: container-overflow on address 0x603000010ca8 at pc 0x00011031f59f bp 0x7ffee044d490 sp 0x7ffee044cc40 +READ of size 32 at 0x603000010ca8 thread T0 + #0 0x11031f59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1137fa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1137f93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x1139b088e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x113e4c5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x113e49901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x113eb90cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #7 0x113eab3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #8 0x10f7eeeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10f7ed27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x1137097ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #11 0x10fc5abe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10f65ba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10f5c40bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10f5c1dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10f5a731d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10f8c4efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10f5aa60e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010cb0 is located 0 bytes to the right of 32-byte region [0x603000010c90,0x603000010cb0) +allocated by thread T0 here: + #0 0x11032dfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1137fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1137fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1137f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x1139b088e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x113e4c5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x113e49901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x113eb90cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x113eab3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #9 0x10f7eeeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10f7ed27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x1137097ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #12 0x10fc5abe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10f65ba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10f5c40bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10f5c1dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10f5a731d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10f8c4efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10f5aa60e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002140: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002150: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002180: fd fd fd fa fa fa fd fd fd fd fa fa 00 00 00 fc +=>0x1c0600002190: fa fa 00 00 00[fc]fa fa fd fd fd fa fa fa fd fd + 0x1c06000021a0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c06000021b0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c06000021c0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021d0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c06000021e0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==11667==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/2/test-source: line 82: 11667 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:12: exit code was 134, expected 0 2. nc4_netcdf_handler_tests.at:12: 2. BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.1.bescmd (nc4_netcdf_handler_tests.at:12): FAILED (nc4_netcdf_handler_tests.at:12) # -*- compilation -*- 3. nc4_netcdf_handler_tests.at:13: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.2.bescmd ... ./nc4_netcdf_handler_tests.at:13: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:38:48.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/3/stderr 2019-01-09 14:38:48.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==11701==ERROR: AddressSanitizer: container-overflow on address 0x603000010c78 at pc 0x0001053c959f bp 0x7ffeeae31290 sp 0x7ffeeae30a40 +READ of size 32 at 0x603000010c78 thread T0 + #0 0x1053c959e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x108c628a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x108c613dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x108efc88e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x10939d5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x10939a901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x10940a0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #7 0x1093fc3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #8 0x104e0eeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x104e0d27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x108b75dff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #11 0x105279be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x104c7ba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x104be00bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x104bdddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x104bc331d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x104ee4efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x104bc660e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010c80 is located 0 bytes to the right of 32-byte region [0x603000010c60,0x603000010c80) +allocated by thread T0 here: + #0 0x1053d7fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x108c64004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x108c620ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x108c61282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x108efc88e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x10939d5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x10939a901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10940a0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x1093fc3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #9 0x104e0eeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x104e0d27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x108b75dff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #12 0x105279be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x104c7ba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x104be00bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x104bdddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x104bc331d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x104ee4efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x104bc660e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002140: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002150: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600002180: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00[fc] + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021a0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c06000021b0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c06000021c0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021d0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==11701==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/3/test-source: line 82: 11701 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:13: exit code was 134, expected 0 3. nc4_netcdf_handler_tests.at:13: 3. BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.2.bescmd (nc4_netcdf_handler_tests.at:13): FAILED (nc4_netcdf_handler_tests.at:13) # -*- compilation -*- 4. nc4_netcdf_handler_tests.at:15: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.3.bescmd ... ./nc4_netcdf_handler_tests.at:15: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:38:48.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/4/stderr 2019-01-09 14:38:49.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==11739==ERROR: AddressSanitizer: container-overflow on address 0x603000010c78 at pc 0x000108c5359f bp 0x7ffee75a4a50 sp 0x7ffee75a4200 +READ of size 32 at 0x603000010c78 thread T0 + #0 0x108c5359e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10c4fa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10c4f93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10c79488e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x10cc305ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x10cc2d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x10cc9d0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #7 0x10cc92070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #8 0x108697eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10869627a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x10c41818c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #11 0x108b02be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x108504a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10846d0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10846add8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10845031d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10876defe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10845360e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010c80 is located 0 bytes to the right of 32-byte region [0x603000010c60,0x603000010c80) +allocated by thread T0 here: + #0 0x108c61fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10c4fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10c4fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10c4f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10c79488e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x10cc305ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x10cc2d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10cc9d0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x10cc92070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #9 0x108697eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10869627a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10c41818c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #12 0x108b02be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x108504a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10846d0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10846add8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10845031d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10876defe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10845360e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002140: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002150: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600002180: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00[fc] + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021a0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c06000021b0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c06000021c0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021d0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==11739==ABORTING +Error reading response type information: Found EOF stdout: 4. nc4_netcdf_handler_tests.at:15: 4. BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.3.bescmd (nc4_netcdf_handler_tests.at:15): FAILED (nc4_netcdf_handler_tests.at:15) # -*- compilation -*- 6. nc4_netcdf_handler_tests.at:20: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.1.bescmd ... ./nc4_netcdf_handler_tests.at:20: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:38:50.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/6/stderr 2019-01-09 14:38:50.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==11806==ERROR: AddressSanitizer: container-overflow on address 0x603000010b28 at pc 0x00010685a59f bp 0x7ffee99a0490 sp 0x7ffee999fc40 +READ of size 32 at 0x603000010b28 thread T0 + #0 0x10685a59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10a0fa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10a0f93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10a39488e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x10a8305ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x10a82d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x10a89d0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #7 0x10a88f3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #8 0x1062a0eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10629f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x10a0097ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #11 0x106709be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10610da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x1060710bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10606edd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10605431d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x106376efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10605760e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010b30 is located 0 bytes to the right of 32-byte region [0x603000010b10,0x603000010b30) +allocated by thread T0 here: + #0 0x106868fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10a0fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10a0fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10a0f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10a39488e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x10a8305ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x10a82d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10a89d0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x10a88f3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #9 0x1062a0eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10629f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10a0097ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #12 0x106709be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10610da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x1060710bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10606edd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10605431d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x106376efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10605760e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002110: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002120: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002140: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002150: fd fd fd fa fa fa fd fd fd fd fa fa 00 00 00 fc +=>0x1c0600002160: fa fa 00 00 00[fc]fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002180: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021a0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c06000021b0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==11806==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/6/test-source: line 82: 11806 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:20: exit code was 134, expected 0 6. nc4_netcdf_handler_tests.at:20: 6. BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.1.bescmd (nc4_netcdf_handler_tests.at:20): FAILED (nc4_netcdf_handler_tests.at:20) # -*- compilation -*- 7. nc4_netcdf_handler_tests.at:21: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.2.bescmd ... ./nc4_netcdf_handler_tests.at:21: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:38:51.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/7/stderr 2019-01-09 14:38:51.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==11840==ERROR: AddressSanitizer: container-overflow on address 0x603000010af8 at pc 0x000102a2459f bp 0x7ffeed7d5290 sp 0x7ffeed7d4a40 +READ of size 32 at 0x603000010af8 thread T0 + #0 0x102a2459e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1062fa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1062f93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10656d88e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x106a095ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x106a06901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x106a760cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #7 0x106a683d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #8 0x102468eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10246727a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x10620ddff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #11 0x1028d2be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x1022d5a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10223c0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x102239dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10221f31d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10253eefe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10222260e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010b00 is located 0 bytes to the right of 32-byte region [0x603000010ae0,0x603000010b00) +allocated by thread T0 here: + #0 0x102a32fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1062fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1062fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1062f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10656d88e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x106a095ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x106a06901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x106a760cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x106a683d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #9 0x102468eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10246727a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10620ddff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #12 0x1028d2be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x1022d5a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10223c0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x102239dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10221f31d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10253eefe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10222260e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002100: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002110: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002120: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002140: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600002150: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00[fc] + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002180: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021a0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==11840==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/7/test-source: line 82: 11840 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:21: exit code was 134, expected 0 7. nc4_netcdf_handler_tests.at:21: 7. BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.2.bescmd (nc4_netcdf_handler_tests.at:21): FAILED (nc4_netcdf_handler_tests.at:21) # -*- compilation -*- 8. nc4_netcdf_handler_tests.at:23: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.3.bescmd ... ./nc4_netcdf_handler_tests.at:23: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:38:51.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/8/stderr 2019-01-09 14:38:51.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==11878==ERROR: AddressSanitizer: container-overflow on address 0x603000010af8 at pc 0x00010fad559f bp 0x7ffee0722a50 sp 0x7ffee0722200 +READ of size 32 at 0x603000010af8 thread T0 + #0 0x10fad559e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1133718a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1133703dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x11360b88e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x113aac5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x113aa9901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x113b190cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #7 0x113b0e070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #8 0x10f51eeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10f51d27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x11328f18c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #11 0x10f987be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10f38ba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10f2ef0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10f2ecdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10f2d231d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10f5f4efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10f2d560e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010b00 is located 0 bytes to the right of 32-byte region [0x603000010ae0,0x603000010b00) +allocated by thread T0 here: + #0 0x10fae3fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x113373004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1133710ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x113370282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x11360b88e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x113aac5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x113aa9901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x113b190cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x113b0e070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #9 0x10f51eeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10f51d27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x11328f18c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #12 0x10f987be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10f38ba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10f2ef0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10f2ecdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10f2d231d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10f5f4efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10f2d560e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002100: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002110: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002120: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002140: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600002150: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00[fc] + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002180: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021a0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==11878==ABORTING +Error reading response type information: Found EOF stdout: 8. nc4_netcdf_handler_tests.at:23: 8. BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.3.bescmd (nc4_netcdf_handler_tests.at:23): FAILED (nc4_netcdf_handler_tests.at:23) # -*- compilation -*- 10. nc4_netcdf_handler_tests.at:28: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.1.bescmd ... ./nc4_netcdf_handler_tests.at:28: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:38:52.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/10/stderr 2019-01-09 14:38:52.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==11945==ERROR: AddressSanitizer: container-overflow on address 0x60300000e338 at pc 0x00010d0ce129 bp 0x7ffee73456d0 sp 0x7ffee73456c8 +READ of size 8 at 0x60300000e338 thread T0 + #0 0x10d0ce128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x10cbf92b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x10d103b58 in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:340 + #3 0x10d0f53d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #4 0x108b03eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #5 0x108b0227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #6 0x10c86a7ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #7 0x108f70be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #8 0x108970a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #9 0x1088d90bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x1088d6dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x1088bc31d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x108bd9efe in BESApp::main(int, char**) BESApp.cc:58 + #13 0x1088bf60e in main StandAloneApp.cc:345 + #14 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e338 is located 24 bytes inside of 32-byte region [0x60300000e320,0x60300000e340) +allocated by thread T0 here: + #0 0x1090d1fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10c95d004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10c95b0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10c95a282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10ccc0fbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x10ccc1508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x10cc9f52e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x10d0cd176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x10d0cd07c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x10d0cd02c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x10cbf56f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x10d0965ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x10d093901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x10d1030cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #14 0x10d0f53d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #15 0x108b03eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #16 0x108b0227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #17 0x10c86a7ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #18 0x108f70be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #19 0x108970a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #20 0x1088d90bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #21 0x1088d6dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #22 0x1088bc31d in StandAloneApp::run() StandAloneApp.cc:251 + #23 0x108bd9efe in BESApp::main(int, char**) BESApp.cc:58 + #24 0x1088bf60e in main StandAloneApp.cc:345 + #25 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001c10: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c20: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c30: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c40: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd +=>0x1c0600001c60: fd fd fa fa 00 00 00[fc]fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c90: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001ca0: fd fd fd fa fa fa fd fd fd fd fa fa 00 00 00 fc + 0x1c0600001cb0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==11945==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/10/test-source: line 82: 11945 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:28: exit code was 134, expected 0 10. nc4_netcdf_handler_tests.at:28: 10. BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.1.bescmd (nc4_netcdf_handler_tests.at:28): FAILED (nc4_netcdf_handler_tests.at:28) # -*- compilation -*- 11. nc4_netcdf_handler_tests.at:29: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.2.bescmd ... ./nc4_netcdf_handler_tests.at:29: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:38:53.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/11/stderr 2019-01-09 14:38:53.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==11983==ERROR: AddressSanitizer: container-overflow on address 0x60300000e308 at pc 0x0001146f3129 bp 0x7ffedfe5e4d0 sp 0x7ffedfe5e4c8 +READ of size 8 at 0x60300000e308 thread T0 + #0 0x1146f3128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x1142712b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x114728b58 in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:340 + #3 0x11471a3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #4 0x110343eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #5 0x11034227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #6 0x113f0ddff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #7 0x10fe5fbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #8 0x1101b0a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #9 0x10fdc00bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10fdbddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x10fda331d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x110419efe in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10fda660e in main StandAloneApp.cc:345 + #14 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e308 is located 24 bytes inside of 32-byte region [0x60300000e2f0,0x60300000e310) +allocated by thread T0 here: + #0 0x1107fafa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x113ffc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x113ffa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x113ff9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x114338fbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x114339508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x11431752e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x1146f2176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x1146f207c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x1146f202c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x11426d6f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x1146bb5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x1146b8901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x1147280cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #14 0x11471a3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #15 0x110343eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #16 0x11034227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #17 0x113f0ddff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #18 0x10fe5fbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #19 0x1101b0a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #20 0x10fdc00bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #21 0x10fdbddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #22 0x10fda331d in StandAloneApp::run() StandAloneApp.cc:251 + #23 0x110419efe in BESApp::main(int, char**) BESApp.cc:58 + #24 0x10fda660e in main StandAloneApp.cc:345 + #25 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001c10: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c20: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c30: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c40: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fd fa fa 00 00 +=>0x1c0600001c60: 00[fc]fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c90: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001ca0: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00 00 + 0x1c0600001cb0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==11983==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/11/test-source: line 82: 11983 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:29: exit code was 134, expected 0 11. nc4_netcdf_handler_tests.at:29: 11. BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.2.bescmd (nc4_netcdf_handler_tests.at:29): FAILED (nc4_netcdf_handler_tests.at:29) # -*- compilation -*- 12. nc4_netcdf_handler_tests.at:31: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.3.bescmd ... ./nc4_netcdf_handler_tests.at:31: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:38:53.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/12/stderr 2019-01-09 14:38:54.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12017==ERROR: AddressSanitizer: container-overflow on address 0x60300000e308 at pc 0x00011458a129 bp 0x7ffedfe89c90 sp 0x7ffedfe89c88 +READ of size 8 at 0x60300000e308 thread T0 + #0 0x11458a128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x1140b52b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x1145bfb58 in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:340 + #3 0x1145b4070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #4 0x10ffc3eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #5 0x10ffc227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #6 0x113d3518c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #7 0x110431be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #8 0x10fe30a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #9 0x10fd950bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10fd92dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x10fd7831d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x110099efe in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10fd7b60e in main StandAloneApp.cc:345 + #14 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e308 is located 24 bytes inside of 32-byte region [0x60300000e2f0,0x60300000e310) +allocated by thread T0 here: + #0 0x110593fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x113e19004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x113e170ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x113e16282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x11417cfbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x11417d508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x11415b52e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x114589176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x11458907c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x11458902c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x1140b16f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x1145525ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x11454f901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x1145bf0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #14 0x1145b4070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #15 0x10ffc3eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #16 0x10ffc227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #17 0x113d3518c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #18 0x110431be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #19 0x10fe30a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #20 0x10fd950bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #21 0x10fd92dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #22 0x10fd7831d in StandAloneApp::run() StandAloneApp.cc:251 + #23 0x110099efe in BESApp::main(int, char**) BESApp.cc:58 + #24 0x10fd7b60e in main StandAloneApp.cc:345 + #25 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001c10: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c20: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c30: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c40: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fd fa fa 00 00 +=>0x1c0600001c60: 00[fc]fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c90: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001ca0: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00 00 + 0x1c0600001cb0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12017==ABORTING +Error reading response type information: Found EOF stdout: 12. nc4_netcdf_handler_tests.at:31: 12. BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.3.bescmd (nc4_netcdf_handler_tests.at:31): FAILED (nc4_netcdf_handler_tests.at:31) # -*- compilation -*- 14. nc4_netcdf_handler_tests.at:36: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.1.bescmd ... ./nc4_netcdf_handler_tests.at:36: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:38:55.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/14/stderr 2019-01-09 14:38:55.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12088==ERROR: AddressSanitizer: container-overflow on address 0x60300000e4b8 at pc 0x0001081db129 bp 0x7ffeea2386d0 sp 0x7ffeea2386c8 +READ of size 8 at 0x60300000e4b8 thread T0 + #0 0x1081db128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x107d062b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x108210b58 in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:340 + #3 0x1082023d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #4 0x105c13eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #5 0x105c1227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #6 0x1079777ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #7 0x10607dbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #8 0x105a80a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #9 0x1059e60bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x1059e3dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x1059c931d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x105ce9efe in BESApp::main(int, char**) BESApp.cc:58 + #13 0x1059cc60e in main StandAloneApp.cc:345 + #14 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e4b8 is located 24 bytes inside of 32-byte region [0x60300000e4a0,0x60300000e4c0) +allocated by thread T0 here: + #0 0x1061dafa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x107a6a004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x107a680ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x107a67282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x107dcdfbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x107dce508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x107dac52e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x1081da176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x1081da07c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x1081da02c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x107d026f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x1081a35ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x1081a0901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x1082100cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #14 0x1082023d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #15 0x105c13eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #16 0x105c1227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #17 0x1079777ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #18 0x10607dbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #19 0x105a80a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #20 0x1059e60bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #21 0x1059e3dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #22 0x1059c931d in StandAloneApp::run() StandAloneApp.cc:251 + #23 0x105ce9efe in BESApp::main(int, char**) BESApp.cc:58 + #24 0x1059cc60e in main StandAloneApp.cc:345 + #25 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001c40: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c60: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd +=>0x1c0600001c90: fd fd fa fa 00 00 00[fc]fa fa fd fd fd fa fa fa + 0x1c0600001ca0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001cb0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001cc0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001cd0: fd fd fd fa fa fa fd fd fd fd fa fa 00 00 00 fc + 0x1c0600001ce0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12088==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/14/test-source: line 82: 12088 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:36: exit code was 134, expected 0 14. nc4_netcdf_handler_tests.at:36: 14. BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.1.bescmd (nc4_netcdf_handler_tests.at:36): FAILED (nc4_netcdf_handler_tests.at:36) # -*- compilation -*- 15. nc4_netcdf_handler_tests.at:37: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.2.bescmd ... ./nc4_netcdf_handler_tests.at:37: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:38:56.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/15/stderr 2019-01-09 14:38:56.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12122==ERROR: AddressSanitizer: container-overflow on address 0x60300000e488 at pc 0x00010f6df129 bp 0x7ffee4d344d0 sp 0x7ffee4d344c8 +READ of size 8 at 0x60300000e488 thread T0 + #0 0x10f6df128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x10f20a2b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x10f714b58 in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:340 + #3 0x10f7063d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #4 0x10b119eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #5 0x10b11827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #6 0x10ee7fdff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #7 0x10b583be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #8 0x10af86a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #9 0x10aeea0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10aee7dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x10aecd31d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x10b1efefe in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10aed060e in main StandAloneApp.cc:345 + #14 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e488 is located 24 bytes inside of 32-byte region [0x60300000e470,0x60300000e490) +allocated by thread T0 here: + #0 0x10b6e5fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10ef6e004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10ef6c0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10ef6b282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10f2d1fbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x10f2d2508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x10f2b052e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x10f6de176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x10f6de07c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x10f6de02c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x10f2066f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x10f6a75ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x10f6a4901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x10f7140cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #14 0x10f7063d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #15 0x10b119eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #16 0x10b11827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #17 0x10ee7fdff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #18 0x10b583be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #19 0x10af86a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #20 0x10aeea0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #21 0x10aee7dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #22 0x10aecd31d in StandAloneApp::run() StandAloneApp.cc:251 + #23 0x10b1efefe in BESApp::main(int, char**) BESApp.cc:58 + #24 0x10aed060e in main StandAloneApp.cc:345 + #25 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001c40: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c60: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fd fa fa 00 00 +=>0x1c0600001c90: 00[fc]fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001ca0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001cb0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001cc0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001cd0: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00 00 + 0x1c0600001ce0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12122==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/15/test-source: line 82: 12122 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:37: exit code was 134, expected 0 15. nc4_netcdf_handler_tests.at:37: 15. BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.2.bescmd (nc4_netcdf_handler_tests.at:37): FAILED (nc4_netcdf_handler_tests.at:37) # -*- compilation -*- 16. nc4_netcdf_handler_tests.at:39: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.3.bescmd ... ./nc4_netcdf_handler_tests.at:39: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:38:56.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/16/stderr 2019-01-09 14:38:56.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12160==ERROR: AddressSanitizer: container-overflow on address 0x60300000e488 at pc 0x00010fb04129 bp 0x7ffee24ebc90 sp 0x7ffee24ebc88 +READ of size 8 at 0x60300000e488 thread T0 + #0 0x10fb04128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x111f332b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x10fb39b58 in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:340 + #3 0x10fb2e070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #4 0x10d960eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #5 0x10d95f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #6 0x10f71818c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #7 0x10ddc9be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #8 0x10d7cda9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #9 0x10d7330bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10d730dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x10d71631d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x10da36efe in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10d71960e in main StandAloneApp.cc:345 + #14 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e488 is located 24 bytes inside of 32-byte region [0x60300000e470,0x60300000e490) +allocated by thread T0 here: + #0 0x10df27fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10f7fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10f7fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10f7f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x111ffafbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x111ffb508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x111fd952e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x10fb03176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x10fb0307c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x10fb0302c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x111f2f6f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x10facc5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x10fac9901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x10fb390cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #14 0x10fb2e070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #15 0x10d960eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #16 0x10d95f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #17 0x10f71818c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #18 0x10ddc9be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #19 0x10d7cda9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #20 0x10d7330bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #21 0x10d730dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #22 0x10d71631d in StandAloneApp::run() StandAloneApp.cc:251 + #23 0x10da36efe in BESApp::main(int, char**) BESApp.cc:58 + #24 0x10d71960e in main StandAloneApp.cc:345 + #25 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001c40: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c60: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fd fa fa 00 00 +=>0x1c0600001c90: 00[fc]fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001ca0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001cb0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001cc0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001cd0: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00 00 + 0x1c0600001ce0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12160==ABORTING +Error reading response type information: Found EOF stdout: 16. nc4_netcdf_handler_tests.at:39: 16. BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.3.bescmd (nc4_netcdf_handler_tests.at:39): FAILED (nc4_netcdf_handler_tests.at:39) # -*- compilation -*- 20. nc4_netcdf_handler_tests.at:47: testing BESCMD $abs_srcdir/nc/nc4_strings.nc.3.bescmd ... ./nc4_netcdf_handler_tests.at:47: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:38:57.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/20/stderr 2019-01-09 14:38:58.000000000 -0500 @@ -0,0 +1,94 @@ +================================================================= +==12288==ERROR: AddressSanitizer: container-overflow on address 0x617000002380 at pc 0x00010b999949 bp 0x7ffee533c2c0 sp 0x7ffee533ba60 +WRITE of size 24 at 0x617000002380 thread T0 + #0 0x10b999948 in wrap_memset (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1b948) + #1 0x10ee2aa78 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::__construct_at_end(unsigned long) (libdap.25.dylib:x86_64+0x9aa78) + #2 0x10f22f946 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1081 + #3 0x10f2211ec in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1074 + #4 0x10f21f9a7 in NCArray::do_cardinal_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:291 + #5 0x10f226753 in NCArray::do_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:455 + #6 0x10f2291fc in NCArray::read() NCArray.cc:499 + #7 0x10f23566b in NCGrid::read() NCGrid.cc:103 + #8 0x10ee81b59 in libdap::Constructor::serialize(libdap::ConstraintEvaluator&, libdap::DDS&, libdap::Marshaller&, bool) (libdap.25.dylib:x86_64+0xf1b59) + #9 0x10eb760ae in BESDapResponseBuilder::serialize_dap2_data_dds(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:790 + #10 0x10eb7ecd3 in BESDapResponseBuilder::send_dap2_data(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:1148 + #11 0x10eb612a2 in SendDataDDS::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:209 + #12 0x10eb587fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #13 0x10eb56e64 in BESDapTransmit::send_basic_data(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:353 + #14 0x10ab0c047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #15 0x10eb18798 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #16 0x10af665fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #17 0x10af61c57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #18 0x10a965a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #19 0x10a8cf0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #20 0x10a8ccdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #21 0x10a8b231d in StandAloneApp::run() StandAloneApp.cc:251 + #22 0x10abceefe in BESApp::main(int, char**) BESApp.cc:58 + #23 0x10a8b560e in main StandAloneApp.cc:345 + #24 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x617000002380 is located 0 bytes inside of 720-byte region [0x617000002380,0x617000002650) +allocated by thread T0 here: + #0 0x10b9e0fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10a9c67a6 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::allocate(unsigned long) new:228 + #2 0x10f22f92e in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1080 + #3 0x10f2211ec in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1074 + #4 0x10f21f9a7 in NCArray::do_cardinal_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:291 + #5 0x10f226753 in NCArray::do_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:455 + #6 0x10f2291fc in NCArray::read() NCArray.cc:499 + #7 0x10f23566b in NCGrid::read() NCGrid.cc:103 + #8 0x10ee81b59 in libdap::Constructor::serialize(libdap::ConstraintEvaluator&, libdap::DDS&, libdap::Marshaller&, bool) (libdap.25.dylib:x86_64+0xf1b59) + #9 0x10eb760ae in BESDapResponseBuilder::serialize_dap2_data_dds(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:790 + #10 0x10eb7ecd3 in BESDapResponseBuilder::send_dap2_data(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:1148 + #11 0x10eb612a2 in SendDataDDS::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:209 + #12 0x10eb587fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #13 0x10eb56e64 in BESDapTransmit::send_basic_data(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:353 + #14 0x10ab0c047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #15 0x10eb18798 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #16 0x10af665fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #17 0x10af61c57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #18 0x10a965a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #19 0x10a8cf0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #20 0x10a8ccdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #21 0x10a8b231d in StandAloneApp::run() StandAloneApp.cc:251 + #22 0x10abceefe in BESApp::main(int, char**) BESApp.cc:58 + #23 0x10a8b560e in main StandAloneApp.cc:345 + #24 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1b948) in wrap_memset +Shadow bytes around the buggy address: + 0x1c2e00000420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2e00000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2e00000440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2e00000450: 00 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa + 0x1c2e00000460: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +=>0x1c2e00000470:[fc]fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e00000480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e00000490: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e000004a0: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e000004b0: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e000004c0: fc fc fc fc fc fc fc fc fc fc fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12288==ABORTING +Network I/O Error(1). This may be due to a bug in libdap or a +problem with the network connection. stdout: 20. nc4_netcdf_handler_tests.at:47: 20. BESCMD $abs_srcdir/nc/nc4_strings.nc.3.bescmd (nc4_netcdf_handler_tests.at:47): FAILED (nc4_netcdf_handler_tests.at:47) # -*- compilation -*- 24. nc4_netcdf_handler_tests.at:55: testing BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.3.bescmd ... ./nc4_netcdf_handler_tests.at:55: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:38:58.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/24/stderr 2019-01-09 14:38:59.000000000 -0500 @@ -0,0 +1,94 @@ +================================================================= +==12417==ERROR: AddressSanitizer: container-overflow on address 0x617000002700 at pc 0x000104b82949 bp 0x7ffeeb8332c0 sp 0x7ffeeb832a60 +WRITE of size 24 at 0x617000002700 thread T0 + #0 0x104b82948 in wrap_memset (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1b948) + #1 0x10876ea78 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::__construct_at_end(unsigned long) (libdap.25.dylib:x86_64+0x9aa78) + #2 0x108bc6946 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1081 + #3 0x108bb81ec in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1074 + #4 0x108bb69a7 in NCArray::do_cardinal_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:291 + #5 0x108bbd753 in NCArray::do_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:455 + #6 0x108bc01fc in NCArray::read() NCArray.cc:499 + #7 0x108bcc66b in NCGrid::read() NCGrid.cc:103 + #8 0x1087c5b59 in libdap::Constructor::serialize(libdap::ConstraintEvaluator&, libdap::DDS&, libdap::Marshaller&, bool) (libdap.25.dylib:x86_64+0xf1b59) + #9 0x1083d60ae in BESDapResponseBuilder::serialize_dap2_data_dds(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:790 + #10 0x1083decd3 in BESDapResponseBuilder::send_dap2_data(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:1148 + #11 0x1083c12a2 in SendDataDDS::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:209 + #12 0x1083b87fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #13 0x1083b6e64 in BESDapTransmit::send_basic_data(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:353 + #14 0x104616047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #15 0x108378798 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #16 0x104a735fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #17 0x104a6ec57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #18 0x10446fa9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #19 0x1043d80bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #20 0x1043d5dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #21 0x1043bb31d in StandAloneApp::run() StandAloneApp.cc:251 + #22 0x1046d8efe in BESApp::main(int, char**) BESApp.cc:58 + #23 0x1043be60e in main StandAloneApp.cc:345 + #24 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x617000002700 is located 0 bytes inside of 720-byte region [0x617000002700,0x6170000029d0) +allocated by thread T0 here: + #0 0x104bc9fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1044d07a6 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::allocate(unsigned long) new:228 + #2 0x108bc692e in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1080 + #3 0x108bb81ec in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1074 + #4 0x108bb69a7 in NCArray::do_cardinal_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:291 + #5 0x108bbd753 in NCArray::do_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:455 + #6 0x108bc01fc in NCArray::read() NCArray.cc:499 + #7 0x108bcc66b in NCGrid::read() NCGrid.cc:103 + #8 0x1087c5b59 in libdap::Constructor::serialize(libdap::ConstraintEvaluator&, libdap::DDS&, libdap::Marshaller&, bool) (libdap.25.dylib:x86_64+0xf1b59) + #9 0x1083d60ae in BESDapResponseBuilder::serialize_dap2_data_dds(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:790 + #10 0x1083decd3 in BESDapResponseBuilder::send_dap2_data(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:1148 + #11 0x1083c12a2 in SendDataDDS::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:209 + #12 0x1083b87fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #13 0x1083b6e64 in BESDapTransmit::send_basic_data(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:353 + #14 0x104616047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #15 0x108378798 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #16 0x104a735fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #17 0x104a6ec57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #18 0x10446fa9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #19 0x1043d80bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #20 0x1043d5dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #21 0x1043bb31d in StandAloneApp::run() StandAloneApp.cc:251 + #22 0x1046d8efe in BESApp::main(int, char**) BESApp.cc:58 + #23 0x1043be60e in main StandAloneApp.cc:345 + #24 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1b948) in wrap_memset +Shadow bytes around the buggy address: + 0x1c2e00000490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2e000004a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2e000004b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2e000004c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa + 0x1c2e000004d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +=>0x1c2e000004e0:[fc]fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e000004f0: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e00000500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e00000510: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e00000520: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2e00000530: fc fc fc fc fc fc fc fc fc fc fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12417==ABORTING +Network I/O Error(1). This may be due to a bug in libdap or a +problem with the network connection. stdout: 24. nc4_netcdf_handler_tests.at:55: 24. BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.3.bescmd (nc4_netcdf_handler_tests.at:55): FAILED (nc4_netcdf_handler_tests.at:55) # -*- compilation -*- 26. nc4_netcdf_handler_tests.at:60: testing BESCMD $abs_srcdir/nc/ref_tst_compound.nc.1.bescmd ... ./nc4_netcdf_handler_tests.at:60: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:00.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/26/stderr 2019-01-09 14:39:00.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12484==ERROR: AddressSanitizer: container-overflow on address 0x60300000d588 at pc 0x00010159459f bp 0x7ffeeec5bbd0 sp 0x7ffeeec5b380 +READ of size 32 at 0x60300000d588 thread T0 + #0 0x10159459e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x104ffa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x104ff93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10533ce31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x1056bf2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x1056ba89f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x1056b8901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x1057280cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x10571a3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #9 0x100fe0eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x100fdf27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x104f097ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #12 0x101447be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x100e4da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x100db20bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x100dafdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x100d9531d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x1010b6efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x100d9860e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d590 is located 0 bytes to the right of 32-byte region [0x60300000d570,0x60300000d590) +allocated by thread T0 here: + #0 0x1015a2fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x104ffc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x104ffa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x104ff9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10533ce31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x1056bf2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x1056ba89f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x1056b8901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x1057280cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #9 0x10571a3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #10 0x100fe0eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #11 0x100fdf27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #12 0x104f097ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #13 0x101447be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #14 0x100e4da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #15 0x100db20bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x100dafdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x100d9531d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x1010b6efe in BESApp::main(int, char**) BESApp.cc:58 + #19 0x100d9860e in main StandAloneApp.cc:345 + #20 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001a60: fd fd fd fa fa fa fd fd fd fa fa fa 00 00 00 fa + 0x1c0600001a70: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001a80: fd fd fa fa 00 00 00 fa fa fa fd fd fd fa fa fa + 0x1c0600001a90: fd fd fd fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001aa0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa 00 00 +=>0x1c0600001ab0: 00[fc]fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ac0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ad0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ae0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001af0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12484==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/26/test-source: line 82: 12484 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:60: exit code was 134, expected 0 26. nc4_netcdf_handler_tests.at:60: 26. BESCMD $abs_srcdir/nc/ref_tst_compound.nc.1.bescmd (nc4_netcdf_handler_tests.at:60): FAILED (nc4_netcdf_handler_tests.at:60) # -*- compilation -*- 27. nc4_netcdf_handler_tests.at:61: testing BESCMD $abs_srcdir/nc/ref_tst_compound.nc.2.bescmd ... ./nc4_netcdf_handler_tests.at:61: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:00.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/27/stderr 2019-01-09 14:39:00.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12518==ERROR: AddressSanitizer: container-overflow on address 0x60300000d558 at pc 0x00010dc7f59f bp 0x7ffee25799d0 sp 0x7ffee2579180 +READ of size 32 at 0x60300000d558 thread T0 + #0 0x10dc7f59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1115168a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1115153dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x11187fe31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x111c552ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x111c5089f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x111c4e901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x111cbe0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x111cb03d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #9 0x10d6c3eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10d6c227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x111429dff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #12 0x10db31be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10d530a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10d4940bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10d491dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10d47731d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10d799efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10d47a60e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d560 is located 0 bytes to the right of 32-byte region [0x60300000d540,0x60300000d560) +allocated by thread T0 here: + #0 0x10dc8dfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x111518004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1115160ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x111515282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x11187fe31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x111c552ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x111c5089f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x111c4e901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x111cbe0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #9 0x111cb03d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #10 0x10d6c3eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #11 0x10d6c227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #12 0x111429dff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #13 0x10db31be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #14 0x10d530a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #15 0x10d4940bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x10d491dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x10d47731d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x10d799efe in BESApp::main(int, char**) BESApp.cc:58 + #19 0x10d47a60e in main StandAloneApp.cc:345 + #20 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001a50: fd fd fa fa 00 00 00 fa fa fa fd fd fd fa fa fa + 0x1c0600001a60: fd fd fd fa fa fa 00 00 00 fa fa fa fd fd fd fa + 0x1c0600001a70: fa fa fd fd fd fa fa fa fd fd fd fd fa fa 00 00 + 0x1c0600001a80: 00 fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001a90: 00 00 00 fa fa fa 00 00 00 fa fa fa fd fd fd fa +=>0x1c0600001aa0: fa fa fd fd fd fa fa fa 00 00 00[fc]fa fa fa fa + 0x1c0600001ab0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ac0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ad0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ae0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001af0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12518==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/27/test-source: line 82: 12518 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:61: exit code was 134, expected 0 27. nc4_netcdf_handler_tests.at:61: 27. BESCMD $abs_srcdir/nc/ref_tst_compound.nc.2.bescmd (nc4_netcdf_handler_tests.at:61): FAILED (nc4_netcdf_handler_tests.at:61) # -*- compilation -*- 28. nc4_netcdf_handler_tests.at:63: testing BESCMD $abs_srcdir/nc/ref_tst_compound.nc.3.bescmd ... ./nc4_netcdf_handler_tests.at:63: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:39:01.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/28/stderr 2019-01-09 14:39:01.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12556==ERROR: AddressSanitizer: container-overflow on address 0x60300000d558 at pc 0x0001096f359f bp 0x7ffee6b01190 sp 0x7ffee6b00940 +READ of size 32 at 0x60300000d558 thread T0 + #0 0x1096f359e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10cf8f8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10cf8e3dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10d2f8e31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x10d6ce2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x10d6c989f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x10d6c7901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10d7370cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x10d72c070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #9 0x10913deb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10913c27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10cead18c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #12 0x1095a4be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x108faaa9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x108f0d0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x108f0add8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x108ef031d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x109213efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x108ef360e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d560 is located 0 bytes to the right of 32-byte region [0x60300000d540,0x60300000d560) +allocated by thread T0 here: + #0 0x109701fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10cf91004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10cf8f0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10cf8e282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10d2f8e31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x10d6ce2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x10d6c989f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x10d6c7901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x10d7370cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #9 0x10d72c070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #10 0x10913deb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #11 0x10913c27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #12 0x10cead18c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #13 0x1095a4be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #14 0x108faaa9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #15 0x108f0d0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x108f0add8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x108ef031d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x109213efe in BESApp::main(int, char**) BESApp.cc:58 + #19 0x108ef360e in main StandAloneApp.cc:345 + #20 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001a50: fd fd fa fa 00 00 00 fa fa fa fd fd fd fa fa fa + 0x1c0600001a60: fd fd fd fa fa fa 00 00 00 fa fa fa fd fd fd fa + 0x1c0600001a70: fa fa fd fd fd fa fa fa fd fd fd fd fa fa 00 00 + 0x1c0600001a80: 00 fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001a90: 00 00 00 fa fa fa 00 00 00 fa fa fa fd fd fd fa +=>0x1c0600001aa0: fa fa fd fd fd fa fa fa 00 00 00[fc]fa fa fa fa + 0x1c0600001ab0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ac0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ad0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ae0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001af0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12556==ABORTING +Error reading response type information: Found EOF stdout: 28. nc4_netcdf_handler_tests.at:63: 28. BESCMD $abs_srcdir/nc/ref_tst_compound.nc.3.bescmd (nc4_netcdf_handler_tests.at:63): FAILED (nc4_netcdf_handler_tests.at:63) # -*- compilation -*- 30. nc4_netcdf_handler_tests.at:68: testing BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.1.bescmd ... ./nc4_netcdf_handler_tests.at:68: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:02.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/30/stderr 2019-01-09 14:39:02.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12623==ERROR: AddressSanitizer: container-overflow on address 0x60300000d9d8 at pc 0x00010a35b59f bp 0x7ffee5e9dbd0 sp 0x7ffee5e9d380 +READ of size 32 at 0x60300000d9d8 thread T0 + #0 0x10a35b59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10dbfa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10dbf93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10df63e31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x10e3342ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x10e32f89f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x10e32d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10e39d0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x10e38f3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #9 0x109da0eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x109d9f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10db097ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #12 0x10a20bbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x109c0da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x109b700bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x109b6ddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x109b5331d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x109e76efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x109b5660e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d9e0 is located 0 bytes to the right of 32-byte region [0x60300000d9c0,0x60300000d9e0) +allocated by thread T0 here: + #0 0x10a369fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10dbfc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10dbfa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10dbf9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10df63e31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x10e3342ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x10e32f89f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x10e32d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x10e39d0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #9 0x10e38f3d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #10 0x109da0eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #11 0x109d9f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #12 0x10db097ae in BESDDSResponseHandler::execute(BESDataHandlerInterface&) BESDDSResponseHandler.cc:129 + #13 0x10a20bbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #14 0x109c0da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #15 0x109b700bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x109b6ddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x109b5331d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x109e76efe in BESApp::main(int, char**) BESApp.cc:58 + #19 0x109b5660e in main StandAloneApp.cc:345 + #20 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001ae0: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001af0: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001b00: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 + 0x1c0600001b10: 00 00 fa fa fd fd fd fd fa fa fd fd fd fa fa fa + 0x1c0600001b20: fd fd fd fa fa fa 00 00 00 fa fa fa fd fd fd fa +=>0x1c0600001b30: fa fa fd fd fd fa fa fa 00 00 00[fc]fa fa fa fa + 0x1c0600001b40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12623==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/30/test-source: line 82: 12623 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:68: exit code was 134, expected 0 30. nc4_netcdf_handler_tests.at:68: 30. BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.1.bescmd (nc4_netcdf_handler_tests.at:68): FAILED (nc4_netcdf_handler_tests.at:68) # -*- compilation -*- 31. nc4_netcdf_handler_tests.at:69: testing BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.2.bescmd ... ./nc4_netcdf_handler_tests.at:69: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:02.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/31/stderr 2019-01-09 14:39:03.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12658==ERROR: AddressSanitizer: container-overflow on address 0x60300000d9a8 at pc 0x000108e3559f bp 0x7ffee73c19d0 sp 0x7ffee73c1180 +READ of size 32 at 0x60300000d9a8 thread T0 + #0 0x108e3559e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10c6fa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10c6f93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10ca3ce31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x10ce0d2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x10ce0889f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x10ce06901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10ce760cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x10ce683d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #9 0x108879eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10887827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10c60ddff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #12 0x108ce5be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x1086e6a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10864c0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x108649dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10862f31d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10894fefe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10863260e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d9b0 is located 0 bytes to the right of 32-byte region [0x60300000d990,0x60300000d9b0) +allocated by thread T0 here: + #0 0x108e43fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10c6fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10c6fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10c6f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10ca3ce31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x10ce0d2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x10ce0889f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x10ce06901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x10ce760cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #9 0x10ce683d0 in NCRequestHandler::nc_build_dds(BESDataHandlerInterface&) NCRequestHandler.cc:393 + #10 0x108879eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #11 0x10887827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #12 0x10c60ddff in BESDDXResponseHandler::execute(BESDataHandlerInterface&) BESDDXResponseHandler.cc:128 + #13 0x108ce5be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #14 0x1086e6a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #15 0x10864c0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x108649dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x10862f31d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x10894fefe in BESApp::main(int, char**) BESApp.cc:58 + #19 0x10863260e in main StandAloneApp.cc:345 + #20 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001ae0: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001af0: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 00 + 0x1c0600001b00: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa fd fd + 0x1c0600001b10: fd fd fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001b20: 00 00 00 fa fa fa fd fd fd fa fa fa fd fd fd fa +=>0x1c0600001b30: fa fa 00 00 00[fc]fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12658==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/31/test-source: line 82: 12658 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:69: exit code was 134, expected 0 31. nc4_netcdf_handler_tests.at:69: 31. BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.2.bescmd (nc4_netcdf_handler_tests.at:69): FAILED (nc4_netcdf_handler_tests.at:69) # -*- compilation -*- 32. nc4_netcdf_handler_tests.at:71: testing BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.3.bescmd ... ./nc4_netcdf_handler_tests.at:71: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:39:03.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/32/stderr 2019-01-09 14:39:04.000000000 -0500 @@ -0,0 +1,84 @@ +================================================================= +==12695==ERROR: AddressSanitizer: container-overflow on address 0x60300000d9a8 at pc 0x00010dffc59f bp 0x7ffee21fd190 sp 0x7ffee21fc940 +READ of size 32 at 0x60300000d9a8 thread T0 + #0 0x10dffc59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1118938a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1118923dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x111bfce31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x111fd22ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x111fcd89f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x111fcb901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x11203b0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x112030070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #9 0x10da3eeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10da3d27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x1117b118c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #12 0x10deabbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10d8aba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10d8110bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10d80edd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10d7f431d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10db14efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10d7f760e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d9b0 is located 0 bytes to the right of 32-byte region [0x60300000d990,0x60300000d9b0) +allocated by thread T0 here: + #0 0x10e00afa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x111895004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1118930ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x111892282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x111bfce31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x111fd22ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x111fcd89f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x111fcb901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x11203b0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #9 0x112030070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #10 0x10da3eeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #11 0x10da3d27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #12 0x1117b118c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #13 0x10deabbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #14 0x10d8aba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #15 0x10d8110bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x10d80edd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x10d7f431d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x10db14efe in BESApp::main(int, char**) BESApp.cc:58 + #19 0x10d7f760e in main StandAloneApp.cc:345 + #20 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001ae0: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001af0: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 00 + 0x1c0600001b00: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa fd fd + 0x1c0600001b10: fd fd fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001b20: 00 00 00 fa fa fa fd fd fd fa fa fa fd fd fd fa +=>0x1c0600001b30: fa fa 00 00 00[fc]fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==12695==ABORTING +Error reading response type information: Found EOF stdout: 32. nc4_netcdf_handler_tests.at:71: 32. BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.3.bescmd (nc4_netcdf_handler_tests.at:71): FAILED (nc4_netcdf_handler_tests.at:71) # -*- compilation -*- 43. nc4_netcdf_handler_tests.at:97: testing BESCMD $abs_srcdir/nc/ref_tst_opaque_data.nc.0.bescmd ... ./nc4_netcdf_handler_tests.at:97: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:04.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/43/stderr 2019-01-09 14:39:06.000000000 -0500 @@ -0,0 +1,83 @@ +================================================================= +==13034==ERROR: AddressSanitizer: container-overflow on address 0x6130000025d8 at pc 0x000100d146c1 bp 0x7ffeeeee1f20 sp 0x7ffeeeee1f18 +READ of size 1 at 0x6130000025d8 thread T0 + #0 0x100d146c0 in std::__1::basic_ostream >& std::__1::operator<<, std::__1::allocator >(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator > const&) string:1255 + #1 0x10505eb6b in libdap::AttrTable::simple_print(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator >, std::__1::__wrap_iter, bool) (libdap.25.dylib:x86_64+0x11b6b) + #2 0x10505fdfe in libdap::AttrTable::print(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator >, bool) (libdap.25.dylib:x86_64+0x12dfe) + #3 0x10505d970 in libdap::AttrTable::simple_print(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator >, std::__1::__wrap_iter, bool) (libdap.25.dylib:x86_64+0x10970) + #4 0x10505fdfe in libdap::AttrTable::print(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator >, bool) (libdap.25.dylib:x86_64+0x12dfe) + #5 0x10506cc4a in libdap::DAS::print(std::__1::basic_ostream >&, bool) (libdap.25.dylib:x86_64+0x1fc4a) + #6 0x104d72044 in BESDapResponseBuilder::send_das(std::__1::basic_ostream >&, libdap::DAS&, bool) const BESDapResponseBuilder.cc:482 + #7 0x104d5aec9 in SendDAS::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:146 + #8 0x104d587fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #9 0x104d56804 in BESDapTransmit::send_basic_das(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:335 + #10 0x100f7d047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #11 0x104d04838 in BESDASResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDASResponseHandler.cc:149 + #12 0x1013d95fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #13 0x1013d4c57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #14 0x100dd6a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #15 0x100d3c0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x100d39dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x100d1f31d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x10103fefe in BESApp::main(int, char**) BESApp.cc:58 + #19 0x100d2260e in main StandAloneApp.cc:345 + #20 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x6130000025d8 is located 216 bytes inside of 384-byte region [0x613000002500,0x613000002680) +allocated by thread T0 here: + #0 0x101532fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x100e293e1 in std::__1::__split_buffer, std::__1::allocator >, std::__1::allocator, std::__1::allocator > >&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator, std::__1::allocator > >&) new:228 + #2 0x100e2737c in std::__1::__split_buffer, std::__1::allocator >, std::__1::allocator, std::__1::allocator > >&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator, std::__1::allocator > >&) __split_buffer:310 + #3 0x100e26501 in void std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::__push_back_slow_path, std::__1::allocator > const>(std::__1::basic_string, std::__1::allocator > const&) vector:1578 + #4 0x10505348d in libdap::AttrTable::append_attr(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&) (libdap.25.dylib:x86_64+0x648d) + #5 0x1054e8456 in read_attributes_netcdf4(int, int, int, libdap::AttrTable*) ncdas.cc:469 + #6 0x1054db3ad in nc_read_dataset_attributes(libdap::DAS&, std::__1::basic_string, std::__1::allocator > const&) ncdas.cc:573 + #7 0x105564d37 in NCRequestHandler::nc_build_das(BESDataHandlerInterface&) NCRequestHandler.cc:267 + #8 0x100f69eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x100f6827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x104d02065 in BESDASResponseHandler::execute(BESDataHandlerInterface&) BESDASResponseHandler.cc:101 + #11 0x1013d4be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x100dd6a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x100d3c0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x100d39dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x100d1f31d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10103fefe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x100d2260e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow string:1255 in std::__1::basic_ostream >& std::__1::operator<<, std::__1::allocator >(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator > const&) +Shadow bytes around the buggy address: + 0x1c2600000460: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 + 0x1c2600000470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2600000480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2600000490: 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa fa + 0x1c26000004a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +=>0x1c26000004b0: 00 00 00 00 00 00 00 00 00 00 00[fc]fc fc fc fc + 0x1c26000004c0: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c26000004d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c26000004e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c26000004f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c2600000500: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13034==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/43/test-source: line 82: 13034 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: Attributes { raw_obs { Byte _FillValue 202, 254, 186, 190, 202, 254, 186, 190, 202, ./nc4_netcdf_handler_tests.at:97: exit code was 134, expected 0 43. nc4_netcdf_handler_tests.at:97: 43. BESCMD $abs_srcdir/nc/ref_tst_opaque_data.nc.0.bescmd (nc4_netcdf_handler_tests.at:97): FAILED (nc4_netcdf_handler_tests.at:97) # -*- compilation -*- 47. nc4_netcdf_handler_tests.at:105: testing BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.0.bescmd ... ./nc4_netcdf_handler_tests.at:105: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:07.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/47/stderr 2019-01-09 14:39:07.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==13161==ERROR: AddressSanitizer: container-overflow on address 0x6130000025d8 at pc 0x0001057e56c1 bp 0x7ffeea410f20 sp 0x7ffeea410f18 +READ of size 1 at 0x6130000025d8 thread T0 + #0 0x1057e56c0 in std::__1::basic_ostream >& std::__1::operator<<, std::__1::allocator >(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator > const&) string:1255 + #1 0x109b1ab6b in libdap::AttrTable::simple_print(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator >, std::__1::__wrap_iter, bool) (libdap.25.dylib:x86_64+0x11b6b) + #2 0x109b1bdfe in libdap::AttrTable::print(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator >, bool) (libdap.25.dylib:x86_64+0x12dfe) + #3 0x109b19970 in libdap::AttrTable::simple_print(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator >, std::__1::__wrap_iter, bool) (libdap.25.dylib:x86_64+0x10970) + #4 0x109b1bdfe in libdap::AttrTable::print(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator >, bool) (libdap.25.dylib:x86_64+0x12dfe) + #5 0x109b28c4a in libdap::DAS::print(std::__1::basic_ostream >&, bool) (libdap.25.dylib:x86_64+0x1fc4a) + #6 0x109807044 in BESDapResponseBuilder::send_das(std::__1::basic_ostream >&, libdap::DAS&, bool) const BESDapResponseBuilder.cc:482 + #7 0x1097efec9 in SendDAS::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:146 + #8 0x1097ed7fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #9 0x1097eb804 in BESDapTransmit::send_basic_das(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:335 + #10 0x105a4f047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #11 0x109799838 in BESDASResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDASResponseHandler.cc:149 + #12 0x105eac5fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #13 0x105ea7c57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #14 0x1058a8a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #15 0x10580d0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x10580add8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x1057f031d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x105b11efe in BESApp::main(int, char**) BESApp.cc:58 + #19 0x1057f360e in main StandAloneApp.cc:345 + #20 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x6130000025d8 is located 216 bytes inside of 384-byte region [0x613000002500,0x613000002680) +allocated by thread T0 here: + #0 0x106004fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1058fb3e1 in std::__1::__split_buffer, std::__1::allocator >, std::__1::allocator, std::__1::allocator > >&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator, std::__1::allocator > >&) new:228 + #2 0x1058f937c in std::__1::__split_buffer, std::__1::allocator >, std::__1::allocator, std::__1::allocator > >&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator, std::__1::allocator > >&) __split_buffer:310 + #3 0x1058f8501 in void std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::__push_back_slow_path, std::__1::allocator > const>(std::__1::basic_string, std::__1::allocator > const&) vector:1578 + #4 0x109b0f48d in libdap::AttrTable::append_attr(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&) (libdap.25.dylib:x86_64+0x648d) + #5 0x109f9f876 in nc_read_dataset_attributes(libdap::DAS&, std::__1::basic_string, std::__1::allocator > const&) ncdas.cc:646 + #6 0x10a025d37 in NCRequestHandler::nc_build_das(BESDataHandlerInterface&) NCRequestHandler.cc:267 + #7 0x105a3beb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x105a3a27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x109797065 in BESDASResponseHandler::execute(BESDataHandlerInterface&) BESDASResponseHandler.cc:101 + #10 0x105ea7be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x1058a8a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x10580d0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10580add8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x1057f031d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x105b11efe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x1057f360e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow string:1255 in std::__1::basic_ostream >& std::__1::operator<<, std::__1::allocator >(std::__1::basic_ostream >&, std::__1::basic_string, std::__1::allocator > const&) +Shadow bytes around the buggy address: + 0x1c2600000460: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 + 0x1c2600000470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2600000480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c2600000490: 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa fa + 0x1c26000004a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +=>0x1c26000004b0: 00 00 00 00 00 00 00 00 00 00 00[fc]fc fc fc fc + 0x1c26000004c0: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c26000004d0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 + 0x1c26000004e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 0x1c26000004f0: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc + 0x1c2600000500: fc fc fc fc fc fc fc fc fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13161==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/47/test-source: line 82: 13161 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: Attributes { primary_cloud { Byte _FillValue 255; Byte DAP2_EnumValues 0, 1, 2, 3, 4, 5, 6, 7, 8, ./nc4_netcdf_handler_tests.at:105: exit code was 134, expected 0 47. nc4_netcdf_handler_tests.at:105: 47. BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.0.bescmd (nc4_netcdf_handler_tests.at:105): FAILED (nc4_netcdf_handler_tests.at:105) # -*- compilation -*- 53. nc4_netcdf_handler_tests.at:118: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:118: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:08.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/53/stderr 2019-01-09 14:39:09.000000000 -0500 @@ -0,0 +1,80 @@ +================================================================= +==13353==ERROR: AddressSanitizer: container-overflow on address 0x603000010a68 at pc 0x00010f3ee59f bp 0x7ffee0e078b0 sp 0x7ffee0e07060 +READ of size 32 at 0x603000010a68 thread T0 + #0 0x10f3ee59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x112c8c8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x112c8b3dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x112f2688e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x1133c75ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x1133c4901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x11342bcfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #7 0x10ee34eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x10ee3327a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x112bae295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #10 0x10f29bbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x10eca1a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x10ec0a0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10ec07dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10ebed31d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10ef0aefe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10ebf060e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010a70 is located 0 bytes to the right of 32-byte region [0x603000010a50,0x603000010a70) +allocated by thread T0 here: + #0 0x10f3fcfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x112c8e004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x112c8c0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x112c8b282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x112f2688e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x1133c75ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x1133c4901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x11342bcfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #8 0x10ee34eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10ee3327a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x112bae295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #11 0x10f29bbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10eca1a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10ec0a0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10ec07dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10ebed31d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10ef0aefe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10ebf060e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c06000020f0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002100: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002110: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002120: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd +=>0x1c0600002140: fd fd fa fa 00 00 00 fc fa fa 00 00 00[fc]fa fa + 0x1c0600002150: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002180: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13353==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/53/test-source: line 82: 13353 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:118: exit code was 134, expected 0 53. nc4_netcdf_handler_tests.at:118: 53. BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:118): FAILED (nc4_netcdf_handler_tests.at:118) # -*- compilation -*- 54. nc4_netcdf_handler_tests.at:119: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:119: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:09.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/54/stderr 2019-01-09 14:39:09.000000000 -0500 @@ -0,0 +1,80 @@ +================================================================= +==13388==ERROR: AddressSanitizer: container-overflow on address 0x603000010c78 at pc 0x00010c2d559f bp 0x7ffee3f268b0 sp 0x7ffee3f26060 +READ of size 32 at 0x603000010c78 thread T0 + #0 0x10c2d559e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10fb6d8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10fb6c3dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10fe0788e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x1102a85ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x1102a5901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x11030ccfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #7 0x10bd19eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x10bd1827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x10fa8f295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #10 0x10c186be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x10bb86a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x10baeb0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10bae8dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10bace31d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10bdefefe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10bad160e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010c80 is located 0 bytes to the right of 32-byte region [0x603000010c60,0x603000010c80) +allocated by thread T0 here: + #0 0x10c2e3fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10fb6f004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10fb6d0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10fb6c282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10fe0788e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x1102a85ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x1102a5901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x11030ccfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #8 0x10bd19eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10bd1827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x10fa8f295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #11 0x10c186be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10bb86a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10baeb0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10bae8dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10bace31d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10bdefefe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10bad160e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002140: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002150: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600002180: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00[fc] + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021a0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c06000021b0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c06000021c0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021d0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13388==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/54/test-source: line 82: 13388 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:119: exit code was 134, expected 0 54. nc4_netcdf_handler_tests.at:119: 54. BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:119): FAILED (nc4_netcdf_handler_tests.at:119) # -*- compilation -*- 55. nc4_netcdf_handler_tests.at:120: testing BESCMD $abs_srcdir/nc/nc4_strings.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:120: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:10.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/55/stderr 2019-01-09 14:39:10.000000000 -0500 @@ -0,0 +1,81 @@ +================================================================= +==13422==ERROR: AddressSanitizer: container-overflow on address 0x60300000ee18 at pc 0x000107bde59f bp 0x7ffee882e4f0 sp 0x7ffee882dca0 +READ of size 32 at 0x60300000ee18 thread T0 + #0 0x107bde59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10b4728a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10b4713dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10b7dc26f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #4 0x10b751e00 in libdap::BaseType::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0x65e00) + #5 0x10b8d2747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #6 0x10bc12076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #7 0x107620eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x10761f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x10b394295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #10 0x107a8bbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x10748da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x1073f00bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x1073eddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x1073d331d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x1076f6efe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x1073d660e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000ee20 is located 0 bytes to the right of 32-byte region [0x60300000ee00,0x60300000ee20) +allocated by thread T0 here: + #0 0x107becfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10b474004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10b4720ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10b471282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10b7dc26f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #5 0x10b78ddcd in libdap::Array::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xa1dcd) + #6 0x10b7b6f06 in libdap::Grid::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xcaf06) + #7 0x10b8d2747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #8 0x10bc12076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #9 0x107620eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10761f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10b394295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #12 0x107a8bbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10748da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x1073f00bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x1073eddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x1073d331d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x1076f6efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x1073d660e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001d70: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600001d80: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001d90: 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00 + 0x1c0600001da0: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600001db0: 00 fa fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa +=>0x1c0600001dc0: 00 00 00[fc]fa fa 00 00 00 00 fa fa 00 00 00 00 + 0x1c0600001dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001df0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13422==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/55/test-source: line 82: 13422 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:120: exit code was 134, expected 0 55. nc4_netcdf_handler_tests.at:120: 55. BESCMD $abs_srcdir/nc/nc4_strings.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:120): FAILED (nc4_netcdf_handler_tests.at:120) # -*- compilation -*- 56. nc4_netcdf_handler_tests.at:121: testing BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:121: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:10.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/56/stderr 2019-01-09 14:39:11.000000000 -0500 @@ -0,0 +1,81 @@ +================================================================= +==13460==ERROR: AddressSanitizer: container-overflow on address 0x60300000ed28 at pc 0x000102dea59f bp 0x7ffeed61c4f0 sp 0x7ffeed61bca0 +READ of size 32 at 0x60300000ed28 thread T0 + #0 0x102dea59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1066848a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1066833dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x1069ee26f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #4 0x106963e00 in libdap::BaseType::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0x65e00) + #5 0x106ae4747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #6 0x106e24076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #7 0x10282feb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x10282e27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x1065a6295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #10 0x102c9bbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x10269ca9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x1026020bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x1025ffdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x1025e531d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x102905efe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x1025e860e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000ed30 is located 0 bytes to the right of 32-byte region [0x60300000ed10,0x60300000ed30) +allocated by thread T0 here: + #0 0x102df8fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x106686004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1066840ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x106683282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x1069ee26f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #5 0x10699fdcd in libdap::Array::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xa1dcd) + #6 0x1069c8f06 in libdap::Grid::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xcaf06) + #7 0x106ae4747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #8 0x106e24076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #9 0x10282feb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10282e27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x1065a6295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #12 0x102c9bbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10269ca9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x1026020bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x1025ffdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x1025e531d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x102905efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x1025e860e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001d50: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001d60: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001d70: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 + 0x1c0600001d80: 00 00 fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001d90: 00 00 00 fa fa fa 00 00 00 00 fa fa 00 00 00 fa +=>0x1c0600001da0: fa fa 00 00 00[fc]fa fa 00 00 00 00 fa fa 00 00 + 0x1c0600001db0: 00 00 fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001df0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13460==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/56/test-source: line 82: 13460 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:121: exit code was 134, expected 0 56. nc4_netcdf_handler_tests.at:121: 56. BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:121): FAILED (nc4_netcdf_handler_tests.at:121) # -*- compilation -*- 57. nc4_netcdf_handler_tests.at:122: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:122: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:11.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/57/stderr 2019-01-09 14:39:12.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==13494==ERROR: AddressSanitizer: container-overflow on address 0x60300000e278 at pc 0x000105145129 bp 0x7ffeed2ceaf0 sp 0x7ffeed2ceae8 +READ of size 8 at 0x60300000e278 thread T0 + #0 0x105145128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x104c712b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x105171fd4 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:546 + #3 0x102b7ceb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #4 0x102b7b27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #5 0x10491c295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #6 0x102fe6be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #7 0x1029e9a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #8 0x1029500bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x10294ddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x10293331d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x102c52efe in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10293660e in main StandAloneApp.cc:345 + #13 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e278 is located 24 bytes inside of 32-byte region [0x60300000e260,0x60300000e280) +allocated by thread T0 here: + #0 0x103141fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1049fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1049fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1049f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x104d38fbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x104d39508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x104d1752e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x105144176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x10514407c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x10514402c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x104c6d6f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x10510d5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x10510a901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x105171cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #14 0x102b7ceb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #15 0x102b7b27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #16 0x10491c295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #17 0x102fe6be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #18 0x1029e9a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #19 0x1029500bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #20 0x10294ddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #21 0x10293331d in StandAloneApp::run() StandAloneApp.cc:251 + #22 0x102c52efe in BESApp::main(int, char**) BESApp.cc:58 + #23 0x10293660e in main StandAloneApp.cc:345 + #24 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001bf0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c00: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c10: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c20: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c30: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600001c40: fd fd fd fa fa fa fd fd fd fd fa fa 00 00 00[fc] + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c60: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c90: fd fd fa fa 00 00 00 fc fa fa 00 00 00 00 fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13494==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/57/test-source: line 82: 13494 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:122: exit code was 134, expected 0 57. nc4_netcdf_handler_tests.at:122: 57. BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:122): FAILED (nc4_netcdf_handler_tests.at:122) # -*- compilation -*- 58. nc4_netcdf_handler_tests.at:123: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:123: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:12.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/58/stderr 2019-01-09 14:39:12.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==13532==ERROR: AddressSanitizer: container-overflow on address 0x60300000e488 at pc 0x00011282a129 bp 0x7ffee1da1af0 sp 0x7ffee1da1ae8 +READ of size 8 at 0x60300000e488 thread T0 + #0 0x11282a128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x1123a82b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x112856fd4 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:546 + #3 0x10e0a9eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #4 0x10e0a827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #5 0x10edb2295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #6 0x10e516be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #7 0x10df16a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #8 0x10de7d0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x10de7add8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x10de6031d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x10e17fefe in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10de6360e in main StandAloneApp.cc:345 + #13 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e488 is located 24 bytes inside of 32-byte region [0x60300000e470,0x60300000e490) +allocated by thread T0 here: + #0 0x10f377fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10ee92004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10ee900ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10ee8f282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x11246ffbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x112470508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x11244e52e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x112829176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x11282907c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x11282902c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x1123a46f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x1127f25ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x1127ef901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x112856cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #14 0x10e0a9eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #15 0x10e0a827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #16 0x10edb2295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #17 0x10e516be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #18 0x10df16a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #19 0x10de7d0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #20 0x10de7add8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #21 0x10de6031d in StandAloneApp::run() StandAloneApp.cc:251 + #22 0x10e17fefe in BESApp::main(int, char**) BESApp.cc:58 + #23 0x10de6360e in main StandAloneApp.cc:345 + #24 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001c40: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c60: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fd fa fa 00 00 +=>0x1c0600001c90: 00[fc]fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001ca0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001cb0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001cc0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001cd0: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00 00 + 0x1c0600001ce0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13532==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/58/test-source: line 82: 13532 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:123: exit code was 134, expected 0 58. nc4_netcdf_handler_tests.at:123: 58. BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:123): FAILED (nc4_netcdf_handler_tests.at:123) # -*- compilation -*- 59. nc4_netcdf_handler_tests.at:124: testing BESCMD $abs_srcdir/nc/ref_tst_compound.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:124: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:13.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/59/stderr 2019-01-09 14:39:13.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==13566==ERROR: AddressSanitizer: container-overflow on address 0x60300000d4c8 at pc 0x00010f77959f bp 0x7ffee0a79ff0 sp 0x7ffee0a797a0 +READ of size 32 at 0x60300000d4c8 thread T0 + #0 0x10f77959e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1130168a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1130153dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x11337fe31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x1137552ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x11375089f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x11374e901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x1137b5cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #8 0x10f1c1eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10f1c027a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x112f38295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #11 0x10f629be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10f02ea9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10ef940bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10ef91dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10ef7731d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10f297efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10ef7a60e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d4d0 is located 0 bytes to the right of 32-byte region [0x60300000d4b0,0x60300000d4d0) +allocated by thread T0 here: + #0 0x10f787fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x113018004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1130160ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x113015282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x11337fe31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x1137552ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x11375089f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x11374e901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x1137b5cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #9 0x10f1c1eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10f1c027a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x112f38295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #12 0x10f629be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10f02ea9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10ef940bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10ef91dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10ef7731d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10f297efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10ef7a60e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001a40: fa fa 00 00 00 fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001a50: fd fa fa fa 00 00 00 fa fa fa fd fd fd fa fa fa + 0x1c0600001a60: fd fd fd fa fa fa fd fd fd fd fa fa 00 00 00 fa + 0x1c0600001a70: fa fa fd fd fd fa fa fa fd fd fd fa fa fa 00 00 + 0x1c0600001a80: 00 fa fa fa 00 00 00 fa fa fa fd fd fd fa fa fa +=>0x1c0600001a90: fd fd fd fa fa fa 00 00 00[fc]fa fa fa fa fa fa + 0x1c0600001aa0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ab0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ac0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ad0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ae0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13566==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/59/test-source: line 82: 13566 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:124: exit code was 134, expected 0 59. nc4_netcdf_handler_tests.at:124: 59. BESCMD $abs_srcdir/nc/ref_tst_compound.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:124): FAILED (nc4_netcdf_handler_tests.at:124) # -*- compilation -*- 60. nc4_netcdf_handler_tests.at:125: testing BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:125: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:13.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/60/stderr 2019-01-09 14:39:14.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==13604==ERROR: AddressSanitizer: container-overflow on address 0x60300000d918 at pc 0x000108b8459f bp 0x7ffee7671ff0 sp 0x7ffee76717a0 +READ of size 32 at 0x60300000d918 thread T0 + #0 0x108b8459e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10c41e8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10c41d3dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10c787e31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x10cb5d2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x10cb5889f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x10cb56901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10cbbdcfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #8 0x1085c7eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x1085c627a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x10c340295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #11 0x108a33be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x108434a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10839c0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x108399dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10837f31d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10869defe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10838260e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d920 is located 0 bytes to the right of 32-byte region [0x60300000d900,0x60300000d920) +allocated by thread T0 here: + #0 0x108b92fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10c420004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10c41e0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10c41d282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10c787e31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x10cb5d2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x10cb5889f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x10cb56901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x10cbbdcfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #9 0x1085c7eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x1085c627a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10c340295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #12 0x108a33be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x108434a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10839c0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x108399dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10837f31d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10869defe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10838260e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001ad0: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600001ae0: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 00 fa fa + 0x1c0600001af0: 00 00 00 00 fa fa 00 00 00 00 fa fa fd fd fd fd + 0x1c0600001b00: fa fa fd fd fd fa fa fa fd fd fd fa fa fa 00 00 + 0x1c0600001b10: 00 fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600001b20: 00 00 00[fc]fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13604==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/60/test-source: line 82: 13604 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:125: exit code was 134, expected 0 60. nc4_netcdf_handler_tests.at:125: 60. BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:125): FAILED (nc4_netcdf_handler_tests.at:125) # -*- compilation -*- 64. nc4_netcdf_handler_tests.at:129: testing BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:129: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:15.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/64/stderr 2019-01-09 14:39:15.000000000 -0500 @@ -0,0 +1,106 @@ +================================================================= +==13730==ERROR: AddressSanitizer: container-overflow on address 0x60300000eae8 at pc 0x00010c90d59f bp 0x7ffee3af9590 sp 0x7ffee3af8d40 +READ of size 32 at 0x60300000eae8 thread T0 + #0 0x10c90d59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x110125f75 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x110124aad in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1582 + #3 0x1104b8d39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #4 0x1104b8948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #5 0x1104b1abc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #6 0x1104b1a2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #7 0x1104b2056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #8 0x1104d023b in libdap::Vector::Vector(libdap::Vector const&) (libdap.25.dylib:x86_64+0x8323b) + #9 0x1104ee35b in libdap::Array::Array(libdap::Array const&) (libdap.25.dylib:x86_64+0xa135b) + #10 0x110923fb6 in NCArray::NCArray(NCArray const&) NCArray.cc:79 + #11 0x110923eac in NCArray::NCArray(NCArray const&) NCArray.cc:80 + #12 0x110923e5c in NCArray::ptr_duplicate() NCArray.cc:65 + #13 0x110538e36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #14 0x110539508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #15 0x1106256db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #16 0x11062598c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #17 0x110625d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #18 0x110630ba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #19 0x11063315e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #20 0x11063325c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #21 0x11096e7cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #22 0x10c352eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #23 0x10c35127a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #24 0x11011c295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #25 0x10c7bbbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #26 0x10c1bfa9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #27 0x10c1240bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #28 0x10c121dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #29 0x10c10731d in StandAloneApp::run() StandAloneApp.cc:251 + #30 0x10c428efe in BESApp::main(int, char**) BESApp.cc:58 + #31 0x10c10a60e in main StandAloneApp.cc:345 + #32 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000eaf0 is located 0 bytes to the right of 32-byte region [0x60300000ead0,0x60300000eaf0) +allocated by thread T0 here: + #0 0x10c91bfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1101276d4 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x11012577c in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x110124952 in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1578 + #4 0x1104b8d39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #5 0x1104b8948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #6 0x1104b1abc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #7 0x1104b1a2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #8 0x1104b2056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #9 0x1104d023b in libdap::Vector::Vector(libdap::Vector const&) (libdap.25.dylib:x86_64+0x8323b) + #10 0x1104ee35b in libdap::Array::Array(libdap::Array const&) (libdap.25.dylib:x86_64+0xa135b) + #11 0x110923fb6 in NCArray::NCArray(NCArray const&) NCArray.cc:79 + #12 0x110923eac in NCArray::NCArray(NCArray const&) NCArray.cc:80 + #13 0x110923e5c in NCArray::ptr_duplicate() NCArray.cc:65 + #14 0x110538e36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #15 0x110539508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #16 0x1106256db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #17 0x11062598c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #18 0x110625d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #19 0x110630ba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #20 0x11063315e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #21 0x11063325c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #22 0x11096e7cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #23 0x10c352eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #24 0x10c35127a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #25 0x11011c295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #26 0x10c7bbbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #27 0x10c1bfa9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #28 0x10c1240bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #29 0x10c121dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001d00: 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 00 fa + 0x1c0600001d10: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600001d20: 00 fa fa fa fd fd fd fd fa fa 00 00 00 00 fa fa + 0x1c0600001d30: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 00 + 0x1c0600001d40: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 +=>0x1c0600001d50: 00 00 fa fa 00 00 00 fa fa fa 00 00 00[fc]fa fa + 0x1c0600001d60: 00 00 00 fa fa fa 00 00 00 fa fa fa fa fa fa fa + 0x1c0600001d70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001d90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13730==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/64/test-source: line 82: 13730 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:129: exit code was 134, expected 0 64. nc4_netcdf_handler_tests.at:129: 64. BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:129): FAILED (nc4_netcdf_handler_tests.at:129) # -*- compilation -*- 65. nc4_netcdf_handler_tests.at:130: testing BESCMD $abs_srcdir/nc/ref_tst_enum_data_1.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:130: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:16.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/65/stderr 2019-01-09 14:39:16.000000000 -0500 @@ -0,0 +1,105 @@ +================================================================= +==13764==ERROR: AddressSanitizer: container-overflow on address 0x60300000e488 at pc 0x00010b50f59f bp 0x7ffee4ef2970 sp 0x7ffee4ef2120 +READ of size 32 at 0x60300000e488 thread T0 + #0 0x10b50f59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10ed25f75 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10ed24aad in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1582 + #3 0x10f0b8d39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #4 0x10f0b8948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #5 0x10f0b1abc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #6 0x10f0b1a2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #7 0x10f0b2056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #8 0x10f0ba286 in libdap::Byte::Byte(libdap::Byte const&) (libdap.25.dylib:x86_64+0x6d286) + #9 0x10f53b0a6 in NCByte::NCByte(NCByte const&) NCByte.cc:71 + #10 0x10f53b10c in NCByte::NCByte(NCByte const&) NCByte.cc:72 + #11 0x10f53b26c in NCByte::ptr_duplicate() NCByte.cc:93 + #12 0x10f138e36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #13 0x10f139508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #14 0x10f2256db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #15 0x10f22598c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #16 0x10f225d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #17 0x10f230ba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #18 0x10f23315e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #19 0x10f23325c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #20 0x10f56e7cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #21 0x10af59eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #22 0x10af5827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #23 0x10ed1c295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #24 0x10b3c1be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #25 0x10adc6a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #26 0x10ad2b0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #27 0x10ad28dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #28 0x10ad0e31d in StandAloneApp::run() StandAloneApp.cc:251 + #29 0x10b02fefe in BESApp::main(int, char**) BESApp.cc:58 + #30 0x10ad1160e in main StandAloneApp.cc:345 + #31 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e490 is located 0 bytes to the right of 32-byte region [0x60300000e470,0x60300000e490) +allocated by thread T0 here: + #0 0x10b51dfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10ed276d4 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10ed2577c in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10ed24952 in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1578 + #4 0x10f0b8d39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #5 0x10f0b8948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #6 0x10f0b1abc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #7 0x10f0b1a2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #8 0x10f0b2056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #9 0x10f0ba286 in libdap::Byte::Byte(libdap::Byte const&) (libdap.25.dylib:x86_64+0x6d286) + #10 0x10f53b0a6 in NCByte::NCByte(NCByte const&) NCByte.cc:71 + #11 0x10f53b10c in NCByte::NCByte(NCByte const&) NCByte.cc:72 + #12 0x10f53b26c in NCByte::ptr_duplicate() NCByte.cc:93 + #13 0x10f138e36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #14 0x10f139508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #15 0x10f2256db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #16 0x10f22598c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #17 0x10f225d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #18 0x10f230ba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #19 0x10f23315e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #20 0x10f23325c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #21 0x10f56e7cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #22 0x10af59eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #23 0x10af5827a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #24 0x10ed1c295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #25 0x10b3c1be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #26 0x10adc6a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #27 0x10ad2b0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #28 0x10ad28dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #29 0x10ad0e31d in StandAloneApp::run() StandAloneApp.cc:251 + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001c40: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001c50: fa fa 00 00 00 fa fa fa fd fd fd fd fa fa 00 00 + 0x1c0600001c60: 00 00 fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001c70: 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001c80: fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 +=>0x1c0600001c90: 00[fc]fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001ca0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001cb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001cc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001cd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ce0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13764==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/65/test-source: line 82: 13764 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:130: exit code was 134, expected 0 65. nc4_netcdf_handler_tests.at:130: 65. BESCMD $abs_srcdir/nc/ref_tst_enum_data_1.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:130): FAILED (nc4_netcdf_handler_tests.at:130) # -*- compilation -*- 66. nc4_netcdf_handler_tests.at:131: testing BESCMD $abs_srcdir/nc/ref_tst_enum_data_2.nc.dmr.bescmd ... ./nc4_netcdf_handler_tests.at:131: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:17.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/66/stderr 2019-01-09 14:39:17.000000000 -0500 @@ -0,0 +1,105 @@ +================================================================= +==13802==ERROR: AddressSanitizer: container-overflow on address 0x60300000e308 at pc 0x000107ca459f bp 0x7ffee8a6f970 sp 0x7ffee8a6f120 +READ of size 32 at 0x60300000e308 thread T0 + #0 0x107ca459e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10b425f75 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10b424aad in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1582 + #3 0x10b6fbd39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #4 0x10b6fb948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #5 0x10b6f4abc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #6 0x10b6f4a2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #7 0x10b6f5056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #8 0x10b768546 in libdap::UInt32::UInt32(libdap::UInt32 const&) (libdap.25.dylib:x86_64+0xd8546) + #9 0x10bb36ee6 in NCUInt32::NCUInt32(NCUInt32 const&) NCUInt32.cc:47 + #10 0x10bb36f4c in NCUInt32::NCUInt32(NCUInt32 const&) NCUInt32.cc:48 + #11 0x10bb370ac in NCUInt32::ptr_duplicate() NCUInt32.cc:70 + #12 0x10b77be36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #13 0x10b77c508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #14 0x10b8686db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #15 0x10b86898c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #16 0x10b868d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #17 0x10b873ba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #18 0x10b87615e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #19 0x10b87625c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #20 0x10bb637cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #21 0x1077fbeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #22 0x1077fa27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #23 0x10b41c295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #24 0x10724dbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #25 0x107668a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #26 0x1071ae0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #27 0x1071abdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #28 0x10719131d in StandAloneApp::run() StandAloneApp.cc:251 + #29 0x1078d1efe in BESApp::main(int, char**) BESApp.cc:58 + #30 0x10719460e in main StandAloneApp.cc:345 + #31 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e310 is located 0 bytes to the right of 32-byte region [0x60300000e2f0,0x60300000e310) +allocated by thread T0 here: + #0 0x107cb2fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10b4276d4 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10b42577c in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10b424952 in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1578 + #4 0x10b6fbd39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #5 0x10b6fb948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #6 0x10b6f4abc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #7 0x10b6f4a2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #8 0x10b6f5056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #9 0x10b768546 in libdap::UInt32::UInt32(libdap::UInt32 const&) (libdap.25.dylib:x86_64+0xd8546) + #10 0x10bb36ee6 in NCUInt32::NCUInt32(NCUInt32 const&) NCUInt32.cc:47 + #11 0x10bb36f4c in NCUInt32::NCUInt32(NCUInt32 const&) NCUInt32.cc:48 + #12 0x10bb370ac in NCUInt32::ptr_duplicate() NCUInt32.cc:70 + #13 0x10b77be36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #14 0x10b77c508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #15 0x10b8686db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #16 0x10b86898c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #17 0x10b868d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #18 0x10b873ba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #19 0x10b87615e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #20 0x10b87625c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #21 0x10bb637cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #22 0x1077fbeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #23 0x1077fa27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #24 0x10b41c295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #25 0x10724dbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #26 0x107668a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #27 0x1071ae0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #28 0x1071abdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #29 0x10719131d in StandAloneApp::run() StandAloneApp.cc:251 + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001c10: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001c20: fa fa 00 00 00 fa fa fa fd fd fd fd fa fa 00 00 + 0x1c0600001c30: 00 00 fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001c40: 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001c50: fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 +=>0x1c0600001c60: 00[fc]fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001c70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001c80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001c90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ca0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001cb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13802==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/66/test-source: line 82: 13802 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:131: exit code was 134, expected 0 66. nc4_netcdf_handler_tests.at:131: 66. BESCMD $abs_srcdir/nc/ref_tst_enum_data_2.nc.dmr.bescmd (nc4_netcdf_handler_tests.at:131): FAILED (nc4_netcdf_handler_tests.at:131) # -*- compilation -*- 69. nc4_netcdf_handler_tests.at:136: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:136: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:18.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/69/stderr 2019-01-09 14:39:18.000000000 -0500 @@ -0,0 +1,80 @@ +================================================================= +==13900==ERROR: AddressSanitizer: container-overflow on address 0x603000010a68 at pc 0x00010ccb259f bp 0x7ffee3545250 sp 0x7ffee3544a00 +READ of size 32 at 0x603000010a68 thread T0 + #0 0x10ccb259e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1107fa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1107f93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x1109b088e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x110dfe5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x110dfb901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x110e62cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #7 0x10c6f8eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x10c6f727a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x11072a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #10 0x10cb64be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x10c565a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x10c4cd0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10c4cadd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10c4b031d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10c7ceefe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10c4b360e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010a70 is located 0 bytes to the right of 32-byte region [0x603000010a50,0x603000010a70) +allocated by thread T0 here: + #0 0x10ccc0fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1107fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1107fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1107f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x1109b088e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x110dfe5ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x110dfb901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x110e62cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #8 0x10c6f8eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10c6f727a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x11072a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #11 0x10cb64be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10c565a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10c4cd0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10c4cadd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10c4b031d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10c7ceefe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10c4b360e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c06000020f0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002100: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002110: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002120: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd +=>0x1c0600002140: fd fd fa fa 00 00 00 fc fa fa 00 00 00[fc]fa fa + 0x1c0600002150: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002180: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13900==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 69. nc4_netcdf_handler_tests.at:136: 69. BESCMD $abs_srcdir/nc/nc4_nc_classic_compressed.nc.dap.bescmd (nc4_netcdf_handler_tests.at:136): FAILED (nc4_netcdf_handler_tests.at:136) # -*- compilation -*- 70. nc4_netcdf_handler_tests.at:137: testing BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:137: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:19.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/70/stderr 2019-01-09 14:39:19.000000000 -0500 @@ -0,0 +1,80 @@ +================================================================= +==13938==ERROR: AddressSanitizer: container-overflow on address 0x603000010c78 at pc 0x00010694e59f bp 0x7ffee98a4250 sp 0x7ffee98a3a00 +READ of size 32 at 0x603000010c78 thread T0 + #0 0x10694e59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10a1fa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10a1f93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10a49488e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #4 0x10a9305ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #5 0x10a92d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #6 0x10a994cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #7 0x106398eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x10639727a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x10a12a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #10 0x106801be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x106205a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x10616e0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10616bdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10615131d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10646eefe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10615460e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000010c80 is located 0 bytes to the right of 32-byte region [0x603000010c60,0x603000010c80) +allocated by thread T0 here: + #0 0x10695cfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10a1fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10a1fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10a1f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10a49488e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x10a9305ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x10a92d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10a994cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #8 0x106398eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10639727a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x10a12a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #11 0x106801be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x106205a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10616e0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10616bdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10615131d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10646eefe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10615460e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002130: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002140: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600002150: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600002160: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600002170: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600002180: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00[fc] + 0x1c0600002190: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021a0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c06000021b0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c06000021c0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c06000021d0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13938==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 70. nc4_netcdf_handler_tests.at:137: 70. BESCMD $abs_srcdir/nc/nc4_nc_classic_no_comp.nc.dap.bescmd (nc4_netcdf_handler_tests.at:137): FAILED (nc4_netcdf_handler_tests.at:137) # -*- compilation -*- 71. nc4_netcdf_handler_tests.at:138: testing BESCMD $abs_srcdir/nc/nc4_strings.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:138: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:19.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/71/stderr 2019-01-09 14:39:19.000000000 -0500 @@ -0,0 +1,81 @@ +================================================================= +==13974==ERROR: AddressSanitizer: container-overflow on address 0x60300000ee18 at pc 0x000107b1359f bp 0x7ffee88f6e90 sp 0x7ffee88f6640 +READ of size 32 at 0x60300000ee18 thread T0 + #0 0x107b1359e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10b3fa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10b3f93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10b73d26f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #4 0x10b6b2e00 in libdap::BaseType::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0x65e00) + #5 0x10b833747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #6 0x10bb6e076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #7 0x107556eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x10755527a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x10b32a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #10 0x1079c1be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x1073c3a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x1073280bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x107325dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10730b31d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10762cefe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10730e60e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000ee20 is located 0 bytes to the right of 32-byte region [0x60300000ee00,0x60300000ee20) +allocated by thread T0 here: + #0 0x107b21fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10b3fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10b3fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10b3f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10b73d26f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #5 0x10b6eedcd in libdap::Array::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xa1dcd) + #6 0x10b717f06 in libdap::Grid::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xcaf06) + #7 0x10b833747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #8 0x10bb6e076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #9 0x107556eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10755527a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10b32a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #12 0x1079c1be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x1073c3a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x1073280bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x107325dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10730b31d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10762cefe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10730e60e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001d70: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600001d80: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001d90: 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00 + 0x1c0600001da0: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600001db0: 00 fa fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa +=>0x1c0600001dc0: 00 00 00[fc]fa fa 00 00 00 00 fa fa 00 00 00 00 + 0x1c0600001dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001df0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==13974==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 71. nc4_netcdf_handler_tests.at:138: 71. BESCMD $abs_srcdir/nc/nc4_strings.nc.dap.bescmd (nc4_netcdf_handler_tests.at:138): FAILED (nc4_netcdf_handler_tests.at:138) # -*- compilation -*- 72. nc4_netcdf_handler_tests.at:139: testing BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:139: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:20.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/72/stderr 2019-01-09 14:39:20.000000000 -0500 @@ -0,0 +1,81 @@ +================================================================= +==14014==ERROR: AddressSanitizer: container-overflow on address 0x60300000ed28 at pc 0x00010d53759f bp 0x7ffee2fa6e90 sp 0x7ffee2fa6640 +READ of size 32 at 0x60300000ed28 thread T0 + #0 0x10d53759e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x110dfa8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x110df93dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x11113d26f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #4 0x1110b2e00 in libdap::BaseType::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0x65e00) + #5 0x111233747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #6 0x11156e076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #7 0x10cf83eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #8 0x10cf8227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #9 0x110d2a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #10 0x10d3eabe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #11 0x10cdf0a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #12 0x10cc780bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10cc75dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10cc5b31d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10d059efe in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10cc5e60e in main StandAloneApp.cc:345 + #17 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000ed30 is located 0 bytes to the right of 32-byte region [0x60300000ed10,0x60300000ed30) +allocated by thread T0 here: + #0 0x10d545fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x110dfc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x110dfa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x110df9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x11113d26f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #5 0x1110eedcd in libdap::Array::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xa1dcd) + #6 0x111117f06 in libdap::Grid::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xcaf06) + #7 0x111233747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #8 0x11156e076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #9 0x10cf83eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10cf8227a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x110d2a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #12 0x10d3eabe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10cdf0a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10cc780bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10cc75dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10cc5b31d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10d059efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10cc5e60e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001d50: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001d60: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001d70: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 + 0x1c0600001d80: 00 00 fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001d90: 00 00 00 fa fa fa 00 00 00 00 fa fa 00 00 00 fa +=>0x1c0600001da0: fa fa 00 00 00[fc]fa fa 00 00 00 00 fa fa 00 00 + 0x1c0600001db0: 00 00 fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001df0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14014==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 72. nc4_netcdf_handler_tests.at:139: 72. BESCMD $abs_srcdir/nc/nc4_strings_comp.nc.dap.bescmd (nc4_netcdf_handler_tests.at:139): FAILED (nc4_netcdf_handler_tests.at:139) # -*- compilation -*- 73. nc4_netcdf_handler_tests.at:140: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:140: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:21.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/73/stderr 2019-01-09 14:39:21.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==14049==ERROR: AddressSanitizer: container-overflow on address 0x60300000e278 at pc 0x0001096d9129 bp 0x7ffeead3b490 sp 0x7ffeead3b488 +READ of size 8 at 0x60300000e278 thread T0 + #0 0x1096d9128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x1092042b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x109705fd4 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:546 + #3 0x105114eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #4 0x10511327a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #5 0x108e963f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #6 0x105582be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #7 0x104f81a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #8 0x104ee40bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x104ee1dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x104ec731d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x1051eaefe in BESApp::main(int, char**) BESApp.cc:58 + #12 0x104eca60e in main StandAloneApp.cc:345 + #13 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e278 is located 24 bytes inside of 32-byte region [0x60300000e260,0x60300000e280) +allocated by thread T0 here: + #0 0x1056ddfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x108f68004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x108f660ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x108f65282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x1092cbfbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x1092cc508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x1092aa52e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x1096d8176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x1096d807c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x1096d802c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x1092006f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x1096a15ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x10969e901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x109705cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #14 0x105114eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #15 0x10511327a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #16 0x108e963f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #17 0x105582be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #18 0x104f81a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #19 0x104ee40bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #20 0x104ee1dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #21 0x104ec731d in StandAloneApp::run() StandAloneApp.cc:251 + #22 0x1051eaefe in BESApp::main(int, char**) BESApp.cc:58 + #23 0x104eca60e in main StandAloneApp.cc:345 + #24 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001bf0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c00: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c10: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c20: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c30: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600001c40: fd fd fd fa fa fa fd fd fd fd fa fa 00 00 00[fc] + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c60: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c90: fd fd fa fa 00 00 00 fc fa fa 00 00 00 00 fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14049==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 73. nc4_netcdf_handler_tests.at:140: 73. BESCMD $abs_srcdir/nc/nc4_unsigned_types.nc.dap.bescmd (nc4_netcdf_handler_tests.at:140): FAILED (nc4_netcdf_handler_tests.at:140) # -*- compilation -*- 74. nc4_netcdf_handler_tests.at:141: testing BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:141: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:22.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/74/stderr 2019-01-09 14:39:22.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==14088==ERROR: AddressSanitizer: container-overflow on address 0x60300000e488 at pc 0x000108e68129 bp 0x7ffeeb5be490 sp 0x7ffeeb5be488 +READ of size 8 at 0x60300000e488 thread T0 + #0 0x108e68128 in NCGrid::transfer_attributes(libdap::AttrTable*) NCGrid.cc:126 + #1 0x1089982b8 in libdap::DDS::transfer_attributes(libdap::DAS*) (libdap.25.dylib:x86_64+0x242b8) + #2 0x108e94fd4 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:546 + #3 0x10488feb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #4 0x10488e27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #5 0x10862a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #6 0x104cf7be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #7 0x1046fca9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #8 0x1046610bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x10465edd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x10464431d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x104965efe in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10464760e in main StandAloneApp.cc:345 + #13 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e488 is located 24 bytes inside of 32-byte region [0x60300000e470,0x60300000e490) +allocated by thread T0 here: + #0 0x104e57fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1086fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1086fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1086f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x108a5ffbf in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebfbf) + #5 0x108a60508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #6 0x108a3e52e in libdap::Grid::Grid(libdap::Grid const&) (libdap.25.dylib:x86_64+0xca52e) + #7 0x108e67176 in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:69 + #8 0x108e6707c in NCGrid::NCGrid(NCGrid const&) NCGrid.cc:70 + #9 0x108e6702c in NCGrid::ptr_duplicate() NCGrid.cc:60 + #10 0x1089946f8 in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x206f8) + #11 0x108e305ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #12 0x108e2d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #13 0x108e94cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #14 0x10488feb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #15 0x10488e27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #16 0x10862a3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #17 0x104cf7be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #18 0x1046fca9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #19 0x1046610bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #20 0x10465edd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #21 0x10464431d in StandAloneApp::run() StandAloneApp.cc:251 + #22 0x104965efe in BESApp::main(int, char**) BESApp.cc:58 + #23 0x10464760e in main StandAloneApp.cc:345 + #24 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow NCGrid.cc:126 in NCGrid::transfer_attributes(libdap::AttrTable*) +Shadow bytes around the buggy address: + 0x1c0600001c40: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c50: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001c60: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001c70: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001c80: fa fa fd fd fd fa fa fa fd fd fd fd fa fa 00 00 +=>0x1c0600001c90: 00[fc]fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001ca0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001cb0: fa fa fd fd fd fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001cc0: fd fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa + 0x1c0600001cd0: fd fd fd fd fa fa 00 00 00 fc fa fa 00 00 00 00 + 0x1c0600001ce0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14088==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 74. nc4_netcdf_handler_tests.at:141: 74. BESCMD $abs_srcdir/nc/nc4_unsigned_types_comp.nc.dap.bescmd (nc4_netcdf_handler_tests.at:141): FAILED (nc4_netcdf_handler_tests.at:141) # -*- compilation -*- 75. nc4_netcdf_handler_tests.at:142: testing BESCMD $abs_srcdir/nc/ref_tst_compound.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:142: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:22.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/75/stderr 2019-01-09 14:39:22.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==14123==ERROR: AddressSanitizer: container-overflow on address 0x60300000d4c8 at pc 0x00010a1c559f bp 0x7ffee6031990 sp 0x7ffee6031140 +READ of size 32 at 0x60300000d4c8 thread T0 + #0 0x10a1c559e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x10da5f8a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x10da5e3dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x10ddc8e31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x10e19e2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x10e19989f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x10e197901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x10e1fecfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #8 0x109c0ceb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x109c0b27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x10d98f3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #11 0x10a073be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x109a79a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x1099dd0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x1099dadd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x1099c031d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x109ce2efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x1099c360e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d4d0 is located 0 bytes to the right of 32-byte region [0x60300000d4b0,0x60300000d4d0) +allocated by thread T0 here: + #0 0x10a1d3fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x10da61004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x10da5f0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10da5e282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10ddc8e31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x10e19e2ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x10e19989f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x10e197901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x10e1fecfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #9 0x109c0ceb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x109c0b27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10d98f3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #12 0x10a073be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x109a79a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x1099dd0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x1099dadd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x1099c031d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x109ce2efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x1099c360e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001a40: fa fa 00 00 00 fa fa fa fd fd fd fa fa fa fd fd + 0x1c0600001a50: fd fa fa fa 00 00 00 fa fa fa fd fd fd fa fa fa + 0x1c0600001a60: fd fd fd fa fa fa fd fd fd fd fa fa 00 00 00 fa + 0x1c0600001a70: fa fa fd fd fd fa fa fa fd fd fd fa fa fa 00 00 + 0x1c0600001a80: 00 fa fa fa 00 00 00 fa fa fa fd fd fd fa fa fa +=>0x1c0600001a90: fd fd fd fa fa fa 00 00 00[fc]fa fa fa fa fa fa + 0x1c0600001aa0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ab0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ac0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ad0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ae0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14123==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 75. nc4_netcdf_handler_tests.at:142: 75. BESCMD $abs_srcdir/nc/ref_tst_compound.nc.dap.bescmd (nc4_netcdf_handler_tests.at:142): FAILED (nc4_netcdf_handler_tests.at:142) # -*- compilation -*- 76. nc4_netcdf_handler_tests.at:143: testing BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:143: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:23.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/76/stderr 2019-01-09 14:39:23.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==14162==ERROR: AddressSanitizer: container-overflow on address 0x60300000d918 at pc 0x00010d0cb59f bp 0x7ffee312e990 sp 0x7ffee312e140 +READ of size 32 at 0x60300000d918 thread T0 + #0 0x10d0cb59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1109628a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1109613dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x110ccbe31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #4 0x1110a12ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #5 0x11109c89f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #6 0x11109a901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x111101cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #8 0x10cb0deb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10cb0c27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x1108923f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #11 0x10cf7abe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10c97aa9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10c8e00bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10c8dddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10c8c331d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10cbe3efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10c8c660e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000d920 is located 0 bytes to the right of 32-byte region [0x60300000d900,0x60300000d920) +allocated by thread T0 here: + #0 0x10d0d9fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x110964004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1109620ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x110961282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x110ccbe31 in libdap::Constructor::add_var(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xefe31) + #5 0x1110a12ae in build_user_defined(int, int, int, std::__1::basic_string, std::__1::allocator > const&, int, int*) ncdds.cc:233 + #6 0x11109c89f in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:537 + #7 0x11109a901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #8 0x111101cfc in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:539 + #9 0x10cb0deb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10cb0c27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x1108923f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #12 0x10cf7abe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10c97aa9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10c8e00bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10c8dddd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10c8c331d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10cbe3efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10c8c660e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001ad0: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600001ae0: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 00 fa fa + 0x1c0600001af0: 00 00 00 00 fa fa 00 00 00 00 fa fa fd fd fd fd + 0x1c0600001b00: fa fa fd fd fd fa fa fa fd fd fd fa fa fa 00 00 + 0x1c0600001b10: 00 fa fa fa fd fd fd fa fa fa fd fd fd fa fa fa +=>0x1c0600001b20: 00 00 00[fc]fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001b70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14162==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 76. nc4_netcdf_handler_tests.at:143: 76. BESCMD $abs_srcdir/nc/ref_tst_compound2.nc.dap.bescmd (nc4_netcdf_handler_tests.at:143): FAILED (nc4_netcdf_handler_tests.at:143) # -*- compilation -*- 80. nc4_netcdf_handler_tests.at:147: testing BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:147: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:24.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/80/stderr 2019-01-09 14:39:24.000000000 -0500 @@ -0,0 +1,106 @@ +================================================================= +==14292==ERROR: AddressSanitizer: container-overflow on address 0x60300000eae8 at pc 0x000106cf059f bp 0x7ffee9719f30 sp 0x7ffee97196e0 +READ of size 32 at 0x60300000eae8 thread T0 + #0 0x106cf059e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1084b1f75 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1084b0aad in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1582 + #3 0x10886bd39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #4 0x10886b948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #5 0x108864abc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #6 0x108864a2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #7 0x108865056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #8 0x10888323b in libdap::Vector::Vector(libdap::Vector const&) (libdap.25.dylib:x86_64+0x8323b) + #9 0x1088a135b in libdap::Array::Array(libdap::Array const&) (libdap.25.dylib:x86_64+0xa135b) + #10 0x108cdbfb6 in NCArray::NCArray(NCArray const&) NCArray.cc:79 + #11 0x108cdbeac in NCArray::NCArray(NCArray const&) NCArray.cc:80 + #12 0x108cdbe5c in NCArray::ptr_duplicate() NCArray.cc:65 + #13 0x1088ebe36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #14 0x1088ec508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #15 0x1089d86db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #16 0x1089d898c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #17 0x1089d8d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #18 0x1089e3ba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #19 0x1089e615e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #20 0x1089e625c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #21 0x108d267cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #22 0x106734eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #23 0x10673327a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #24 0x1084b63f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #25 0x106b9cbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #26 0x1065a1a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #27 0x1065040bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #28 0x106501dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #29 0x1064e731d in StandAloneApp::run() StandAloneApp.cc:251 + #30 0x10680aefe in BESApp::main(int, char**) BESApp.cc:58 + #31 0x1064ea60e in main StandAloneApp.cc:345 + #32 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000eaf0 is located 0 bytes to the right of 32-byte region [0x60300000ead0,0x60300000eaf0) +allocated by thread T0 here: + #0 0x106cfefa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1084b36d4 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1084b177c in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1084b0952 in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1578 + #4 0x10886bd39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #5 0x10886b948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #6 0x108864abc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #7 0x108864a2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #8 0x108865056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #9 0x10888323b in libdap::Vector::Vector(libdap::Vector const&) (libdap.25.dylib:x86_64+0x8323b) + #10 0x1088a135b in libdap::Array::Array(libdap::Array const&) (libdap.25.dylib:x86_64+0xa135b) + #11 0x108cdbfb6 in NCArray::NCArray(NCArray const&) NCArray.cc:79 + #12 0x108cdbeac in NCArray::NCArray(NCArray const&) NCArray.cc:80 + #13 0x108cdbe5c in NCArray::ptr_duplicate() NCArray.cc:65 + #14 0x1088ebe36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #15 0x1088ec508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #16 0x1089d86db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #17 0x1089d898c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #18 0x1089d8d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #19 0x1089e3ba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #20 0x1089e615e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #21 0x1089e625c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #22 0x108d267cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #23 0x106734eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #24 0x10673327a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #25 0x1084b63f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #26 0x106b9cbe0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #27 0x1065a1a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #28 0x1065040bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #29 0x106501dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001d00: 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 00 fa + 0x1c0600001d10: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600001d20: 00 fa fa fa fd fd fd fd fa fa 00 00 00 00 fa fa + 0x1c0600001d30: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 00 + 0x1c0600001d40: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 +=>0x1c0600001d50: 00 00 fa fa 00 00 00 fa fa fa 00 00 00[fc]fa fa + 0x1c0600001d60: 00 00 00 fa fa fa 00 00 00 fa fa fa fa fa fa fa + 0x1c0600001d70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001d90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14292==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 80. nc4_netcdf_handler_tests.at:147: 80. BESCMD $abs_srcdir/nc/ref_tst_enum_data.nc.dap.bescmd (nc4_netcdf_handler_tests.at:147): FAILED (nc4_netcdf_handler_tests.at:147) # -*- compilation -*- 81. nc4_netcdf_handler_tests.at:148: testing BESCMD $abs_srcdir/nc/ref_tst_enum_data_1.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:148: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:25.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/81/stderr 2019-01-09 14:39:25.000000000 -0500 @@ -0,0 +1,105 @@ +================================================================= +==14327==ERROR: AddressSanitizer: container-overflow on address 0x60300000e488 at pc 0x000101de559f bp 0x7ffeee622310 sp 0x7ffeee621ac0 +READ of size 32 at 0x60300000e488 thread T0 + #0 0x101de559e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1055a9f75 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1055a8aad in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1582 + #3 0x105963d39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #4 0x105963948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #5 0x10595cabc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #6 0x10595ca2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #7 0x10595d056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #8 0x105965286 in libdap::Byte::Byte(libdap::Byte const&) (libdap.25.dylib:x86_64+0x6d286) + #9 0x105deb0a6 in NCByte::NCByte(NCByte const&) NCByte.cc:71 + #10 0x105deb10c in NCByte::NCByte(NCByte const&) NCByte.cc:72 + #11 0x105deb26c in NCByte::ptr_duplicate() NCByte.cc:93 + #12 0x1059e3e36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #13 0x1059e4508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #14 0x105ad06db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #15 0x105ad098c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #16 0x105ad0d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #17 0x105adbba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #18 0x105ade15e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #19 0x105ade25c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #20 0x105e1e7cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #21 0x10182beb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #22 0x10182a27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #23 0x1055ae3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #24 0x101c92be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #25 0x101698a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #26 0x1015fc0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #27 0x1015f9dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #28 0x1015df31d in StandAloneApp::run() StandAloneApp.cc:251 + #29 0x101901efe in BESApp::main(int, char**) BESApp.cc:58 + #30 0x1015e260e in main StandAloneApp.cc:345 + #31 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e490 is located 0 bytes to the right of 32-byte region [0x60300000e470,0x60300000e490) +allocated by thread T0 here: + #0 0x101df3fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1055ab6d4 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1055a977c in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1055a8952 in void std::__1::vector >::__push_back_slow_path(libdap::D4Attribute* const&) vector:1578 + #4 0x105963d39 in libdap::D4Attributes::m_duplicate(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6bd39) + #5 0x105963948 in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x6b948) + #6 0x10595cabc in libdap::D4Attributes::D4Attributes(libdap::D4Attributes const&) (libdap.25.dylib:x86_64+0x64abc) + #7 0x10595ca2a in libdap::BaseType::m_duplicate(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x64a2a) + #8 0x10595d056 in libdap::BaseType::BaseType(libdap::BaseType const&) (libdap.25.dylib:x86_64+0x65056) + #9 0x105965286 in libdap::Byte::Byte(libdap::Byte const&) (libdap.25.dylib:x86_64+0x6d286) + #10 0x105deb0a6 in NCByte::NCByte(NCByte const&) NCByte.cc:71 + #11 0x105deb10c in NCByte::NCByte(NCByte const&) NCByte.cc:72 + #12 0x105deb26c in NCByte::ptr_duplicate() NCByte.cc:93 + #13 0x1059e3e36 in libdap::Constructor::m_duplicate(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xebe36) + #14 0x1059e4508 in libdap::Constructor::Constructor(libdap::Constructor const&) (libdap.25.dylib:x86_64+0xec508) + #15 0x105ad06db in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d86db) + #16 0x105ad098c in libdap::D4Group::D4Group(libdap::D4Group const&) (libdap.25.dylib:x86_64+0x1d898c) + #17 0x105ad0d7c in libdap::D4Group::ptr_duplicate() (libdap.25.dylib:x86_64+0x1d8d7c) + #18 0x105adbba2 in libdap::DMR::m_duplicate(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e3ba2) + #19 0x105ade15e in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e615e) + #20 0x105ade25c in libdap::DMR::DMR(libdap::DMR const&) (libdap.25.dylib:x86_64+0x1e625c) + #21 0x105e1e7cb in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:554 + #22 0x10182beb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #23 0x10182a27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #24 0x1055ae3f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #25 0x101c92be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #26 0x101698a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #27 0x1015fc0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #28 0x1015f9dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #29 0x1015df31d in StandAloneApp::run() StandAloneApp.cc:251 + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600001c40: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001c50: fa fa 00 00 00 fa fa fa fd fd fd fd fa fa 00 00 + 0x1c0600001c60: 00 00 fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001c70: 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600001c80: fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 +=>0x1c0600001c90: 00[fc]fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600001ca0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001cb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001cc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001cd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600001ce0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14327==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 81. nc4_netcdf_handler_tests.at:148: 81. BESCMD $abs_srcdir/nc/ref_tst_enum_data_1.nc.dap.bescmd (nc4_netcdf_handler_tests.at:148): FAILED (nc4_netcdf_handler_tests.at:148) # -*- compilation -*- 83. nc4_netcdf_handler_tests.at:151: testing BESCMD $abs_srcdir/nc/stringtest.nc.dap.bescmd ... ./nc4_netcdf_handler_tests.at:151: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:26.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/83/stderr 2019-01-09 14:39:26.000000000 -0500 @@ -0,0 +1,96 @@ +================================================================= +==14398==ERROR: AddressSanitizer: container-overflow on address 0x60c000003f40 at pc 0x000102ab0949 bp 0x7ffeed90a920 sp 0x7ffeed90a0c0 +WRITE of size 24 at 0x60c000003f40 thread T0 + #0 0x102ab0948 in wrap_memset (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1b948) + #1 0x106697a78 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::__construct_at_end(unsigned long) (libdap.25.dylib:x86_64+0x9aa78) + #2 0x106aef946 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1081 + #3 0x106ae11ec in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1074 + #4 0x106adeba0 in NCArray::do_cardinal_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:265 + #5 0x106ae6753 in NCArray::do_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:455 + #6 0x106ae91fc in NCArray::read() NCArray.cc:499 + #7 0x106686156 in libdap::Vector::serialize(libdap::D4StreamMarshaller&, libdap::DMR&, bool) (libdap.25.dylib:x86_64+0x89156) + #8 0x1067dad5a in libdap::D4Group::serialize(libdap::D4StreamMarshaller&, libdap::DMR&, bool) (libdap.25.dylib:x86_64+0x1ddd5a) + #9 0x10630dd98 in BESDapResponseBuilder::serialize_dap4_data(std::__1::basic_ostream >&, libdap::DMR&, bool) BESDapResponseBuilder.cc:1352 + #10 0x10630bd19 in BESDapResponseBuilder::send_dap4_data_using_ce(std::__1::basic_ostream >&, libdap::DMR&, bool) BESDapResponseBuilder.cc:1293 + #11 0x10630ca94 in BESDapResponseBuilder::send_dap4_data(std::__1::basic_ostream >&, libdap::DMR&, bool) BESDapResponseBuilder.cc:1323 + #12 0x1062ecb33 in SendDap4Data::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:302 + #13 0x1062e17fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #14 0x1062e02a4 in BESDapTransmit::send_basic_dap4data(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:365 + #15 0x10253e047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #16 0x1062b3b58 in BESDap4ResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDap4ResponseHandler.cc:118 + #17 0x10299c5fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #18 0x102997c57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #19 0x102397a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #20 0x1023010bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #21 0x1022fedd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #22 0x1022e431d in StandAloneApp::run() StandAloneApp.cc:251 + #23 0x102600efe in BESApp::main(int, char**) BESApp.cc:58 + #24 0x1022e760e in main StandAloneApp.cc:345 + #25 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60c000003f40 is located 0 bytes inside of 120-byte region [0x60c000003f40,0x60c000003fb8) +allocated by thread T0 here: + #0 0x102af7fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1023f87a6 in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::allocate(unsigned long) new:228 + #2 0x106aef92e in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1080 + #3 0x106ae11ec in std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >::vector(unsigned long) vector:1074 + #4 0x106adeba0 in NCArray::do_cardinal_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:265 + #5 0x106ae6753 in NCArray::do_array_read(int, int, int, std::__1::vector >&, bool, int, int, unsigned long*, unsigned long*, long*, bool) NCArray.cc:455 + #6 0x106ae91fc in NCArray::read() NCArray.cc:499 + #7 0x106686156 in libdap::Vector::serialize(libdap::D4StreamMarshaller&, libdap::DMR&, bool) (libdap.25.dylib:x86_64+0x89156) + #8 0x1067dad5a in libdap::D4Group::serialize(libdap::D4StreamMarshaller&, libdap::DMR&, bool) (libdap.25.dylib:x86_64+0x1ddd5a) + #9 0x10630dd98 in BESDapResponseBuilder::serialize_dap4_data(std::__1::basic_ostream >&, libdap::DMR&, bool) BESDapResponseBuilder.cc:1352 + #10 0x10630bd19 in BESDapResponseBuilder::send_dap4_data_using_ce(std::__1::basic_ostream >&, libdap::DMR&, bool) BESDapResponseBuilder.cc:1293 + #11 0x10630ca94 in BESDapResponseBuilder::send_dap4_data(std::__1::basic_ostream >&, libdap::DMR&, bool) BESDapResponseBuilder.cc:1323 + #12 0x1062ecb33 in SendDap4Data::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:302 + #13 0x1062e17fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #14 0x1062e02a4 in BESDapTransmit::send_basic_dap4data(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:365 + #15 0x10253e047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #16 0x1062b3b58 in BESDap4ResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDap4ResponseHandler.cc:118 + #17 0x10299c5fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #18 0x102997c57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #19 0x102397a9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #20 0x1023010bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #21 0x1022fedd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #22 0x1022e431d in StandAloneApp::run() StandAloneApp.cc:251 + #23 0x102600efe in BESApp::main(int, char**) BESApp.cc:58 + #24 0x1022e760e in main StandAloneApp.cc:345 + #25 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1b948) in wrap_memset +Shadow bytes around the buggy address: + 0x1c1800000790: 00 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa + 0x1c18000007a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fa + 0x1c18000007b0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 + 0x1c18000007c0: 00 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa + 0x1c18000007d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fa +=>0x1c18000007e0: fa fa fa fa fa fa fa fa[fc]fc fc fc fc fc fc fc + 0x1c18000007f0: fc fc fc fc fc fc fc fa fa fa fa fa fa fa fa fa + 0x1c1800000800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c1800000810: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c1800000820: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c1800000830: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14398==ABORTING +C++ library exception: ios_base::clear: unspecified iostream_category error +Exiting. stdout: ./nc4_netcdf_handler_tests.at:151: exit code was 1, expected 0 83. nc4_netcdf_handler_tests.at:151: 83. BESCMD $abs_srcdir/nc/stringtest.nc.dap.bescmd (nc4_netcdf_handler_tests.at:151): FAILED (nc4_netcdf_handler_tests.at:151) # -*- compilation -*- 86. nc4_netcdf_handler_tests.at:156: testing BESCMD $abs_srcdir/nc/zero_length_array.nc.8.bescmd ... ./nc4_netcdf_handler_tests.at:156: besstandalone -c $abs_builddir/bes.conf -i $input | getdap -Ms - --- /dev/null 2019-01-09 14:39:27.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/86/stderr 2019-01-09 14:39:27.000000000 -0500 @@ -0,0 +1,80 @@ +================================================================= +==14494==ERROR: AddressSanitizer: container-overflow on address 0x60300000e6c8 at pc 0x000105275e4b bp 0x7ffeee9be810 sp 0x7ffeee9be808 +READ of size 8 at 0x60300000e6c8 thread T0 + #0 0x105275e4a in BESDapResponseBuilder::serialize_dap2_data_dds(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:789 + #1 0x10527ecd3 in BESDapResponseBuilder::send_dap2_data(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) BESDapResponseBuilder.cc:1148 + #2 0x1052612a2 in SendDataDDS::send_internal(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:209 + #3 0x1052587fa in Sender::send(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:80 + #4 0x105256e64 in BESDapTransmit::send_basic_data(BESResponseObject*, BESDataHandlerInterface&) BESDapTransmit.cc:353 + #5 0x1014a2047 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #6 0x105218798 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #7 0x1018fa5fd in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #8 0x1018f5c57 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #9 0x1012fba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #10 0x10125f0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #11 0x10125cdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #12 0x10124231d in StandAloneApp::run() StandAloneApp.cc:251 + #13 0x101564efe in BESApp::main(int, char**) BESApp.cc:58 + #14 0x10124560e in main StandAloneApp.cc:345 + #15 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x60300000e6c8 is located 24 bytes inside of 32-byte region [0x60300000e6b0,0x60300000e6d0) +allocated by thread T0 here: + #0 0x101a50fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x1052fc004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1052fa0ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1052f9282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x10559488e in libdap::DDS::add_var(libdap::BaseType*) (libdap.25.dylib:x86_64+0x2088e) + #5 0x105a305ff in read_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&, int, int) ncdds.cc:553 + #6 0x105a2d901 in nc_read_dataset_variables(libdap::DDS&, std::__1::basic_string, std::__1::allocator > const&) ncdds.cc:629 + #7 0x105a9d0cc in NCRequestHandler::get_dds_with_attributes(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&, libdap::DDS*) NCRequestHandler.cc:324 + #8 0x105a92070 in NCRequestHandler::nc_build_data(BESDataHandlerInterface&) NCRequestHandler.cc:451 + #9 0x10148eeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10148d27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x10521818c in BESDataResponseHandler::execute(BESDataHandlerInterface&) BESDataResponseHandler.cc:148 + #12 0x1018f5be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x1012fba9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10125f0bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10125cdd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10124231d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x101564efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10124560e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow BESDapResponseBuilder.cc:789 in BESDapResponseBuilder::serialize_dap2_data_dds(std::__1::basic_ostream >&, libdap::DDS**, libdap::ConstraintEvaluator&, bool) +Shadow bytes around the buggy address: + 0x1c0600001c80: fa fa fd fd fd fd fa fa fd fd fd fd fa fa 00 00 + 0x1c0600001c90: 00 00 fa fa fd fd fd fd fa fa fd fd fd fd fa fa + 0x1c0600001ca0: fd fd fd fa fa fa fd fd fd fa fa fa fd fd fd fa + 0x1c0600001cb0: fa fa fd fd fd fd fa fa 00 00 00 fc fa fa fd fd + 0x1c0600001cc0: fd fd fa fa 00 00 00 fc fa fa fd fd fd fd fa fa +=>0x1c0600001cd0: 00 00 00 fc fa fa 00 00 00[fc]fa fa 00 00 00 00 + 0x1c0600001ce0: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 + 0x1c0600001cf0: 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa + 0x1c0600001d00: 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00 + 0x1c0600001d10: fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa 00 00 + 0x1c0600001d20: 00 00 fa fa 00 00 00 00 fa fa 00 00 00 00 fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14494==ABORTING +Network I/O Error(1). This may be due to a bug in libdap or a +problem with the network connection. stdout: 86. nc4_netcdf_handler_tests.at:156: 86. BESCMD $abs_srcdir/nc/zero_length_array.nc.8.bescmd (nc4_netcdf_handler_tests.at:156): FAILED (nc4_netcdf_handler_tests.at:156) # -*- compilation -*- 87. nc4_netcdf_handler_tests.at:158: testing BESCMD $abs_srcdir/nc/zero_length_array.nc.9.bescmd ... ./nc4_netcdf_handler_tests.at:158: besstandalone $cached -c $abs_builddir/bes.conf -i $input --- /dev/null 2019-01-09 14:39:28.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/87/stderr 2019-01-09 14:39:28.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==14533==ERROR: AddressSanitizer: container-overflow on address 0x6030000114e8 at pc 0x00010cc7459f bp 0x7ffee3788e50 sp 0x7ffee3788600 +READ of size 32 at 0x6030000114e8 thread T0 + #0 0x10cc7459e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1105178a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1105163dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x11088126f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #4 0x110832dcd in libdap::Array::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xa1dcd) + #5 0x11085bf06 in libdap::Grid::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xcaf06) + #6 0x110977747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #7 0x110cb7076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #8 0x10c6bfeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10c6be27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x110439295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #11 0x10cb27be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10c52ca9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x10c4950bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10c492dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10c47831d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10c795efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10c47b60e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x6030000114f0 is located 0 bytes to the right of 32-byte region [0x6030000114d0,0x6030000114f0) +allocated by thread T0 here: + #0 0x10cc82fa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x110519004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1105170ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x110516282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x11088126f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #5 0x110832dcd in libdap::Array::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xa1dcd) + #6 0x11085bf06 in libdap::Grid::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xcaf06) + #7 0x110977747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #8 0x110cb7076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #9 0x10c6bfeb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10c6be27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x110439295 in BESDMRResponseHandler::execute(BESDataHandlerInterface&) BESDMRResponseHandler.cc:123 + #12 0x10cb27be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10c52ca9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x10c4950bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10c492dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10c47831d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10c795efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10c47b60e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002240: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600002250: fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600002260: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600002270: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 00 + 0x1c0600002280: fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 +=>0x1c0600002290: 00 fa fa fa 00 00 00 fc fa fa 00 00 00[fc]fa fa + 0x1c06000022a0: 00 00 00 00 fa fa 00 00 00 00 fa fa fa fa fa fa + 0x1c06000022b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c06000022c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c06000022d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c06000022e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14533==ABORTING +/Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/87/test-source: line 82: 14533 Abort trap: 6 besstandalone $cached -c $abs_builddir/bes.conf -i $input stdout: ./nc4_netcdf_handler_tests.at:158: exit code was 134, expected 0 87. nc4_netcdf_handler_tests.at:158: 87. BESCMD $abs_srcdir/nc/zero_length_array.nc.9.bescmd (nc4_netcdf_handler_tests.at:158): FAILED (nc4_netcdf_handler_tests.at:158) # -*- compilation -*- 88. nc4_netcdf_handler_tests.at:159: testing BESCMD $abs_srcdir/nc/zero_length_array.nc.10.bescmd ... ./nc4_netcdf_handler_tests.at:159: besstandalone -c $abs_builddir/bes.conf -i $input | getdap4 -D -M -s - --- /dev/null 2019-01-09 14:39:28.000000000 -0500 +++ /Users/vskorole/opendap/hyrax/bes/modules/netcdf_handler/tests/nc4_netcdf_handler_tests.dir/at-groups/88/stderr 2019-01-09 14:39:29.000000000 -0500 @@ -0,0 +1,82 @@ +================================================================= +==14567==ERROR: AddressSanitizer: container-overflow on address 0x6030000114e8 at pc 0x0001018dd59f bp 0x7ffeeeb2a7f0 sp 0x7ffeeeb29fa0 +READ of size 32 at 0x6030000114e8 thread T0 + #0 0x1018dd59e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) + #1 0x1051768a5 in std::__1::vector >::__swap_out_circular_buffer(std::__1::__split_buffer&>&) memory:1697 + #2 0x1051753dd in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1582 + #3 0x1054e026f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #4 0x105491dcd in libdap::Array::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xa1dcd) + #5 0x1054baf06 in libdap::Grid::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xcaf06) + #6 0x1055d6747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #7 0x105916076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #8 0x101320eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #9 0x10131f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #10 0x1050a63f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #11 0x101789be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #12 0x10118da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #13 0x1010f40bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x1010f1dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x1010d731d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x1013f6efe in BESApp::main(int, char**) BESApp.cc:58 + #17 0x1010da60e in main StandAloneApp.cc:345 + #18 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +0x6030000114f0 is located 0 bytes to the right of 32-byte region [0x6030000114d0,0x6030000114f0) +allocated by thread T0 here: + #0 0x1018ebfa2 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62fa2) + #1 0x105178004 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:228 + #2 0x1051760ac in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x105175282 in void std::__1::vector >::__push_back_slow_path(libdap::BaseType* const&) vector:1578 + #4 0x1054e026f in libdap::Constructor::add_var_nocopy(libdap::BaseType*, libdap::Part) (libdap.25.dylib:x86_64+0xf026f) + #5 0x105491dcd in libdap::Array::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xa1dcd) + #6 0x1054baf06 in libdap::Grid::transform_to_dap4(libdap::D4Group*, libdap::Constructor*) (libdap.25.dylib:x86_64+0xcaf06) + #7 0x1055d6747 in libdap::DMR::build_using_dds(libdap::DDS&) (libdap.25.dylib:x86_64+0x1e6747) + #8 0x105916076 in NCRequestHandler::nc_build_dmr(BESDataHandlerInterface&) NCRequestHandler.cc:547 + #9 0x101320eb5 in BESRequestHandlerList::execute_current(BESDataHandlerInterface&) BESRequestHandlerList.cc:273 + #10 0x10131f27a in BESRequestHandlerList::execute_each(BESDataHandlerInterface&) BESRequestHandlerList.cc:167 + #11 0x1050a63f3 in BESDap4ResponseHandler::execute(BESDataHandlerInterface&) BESDap4ResponseHandler.cc:100 + #12 0x101789be0 in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:285 + #13 0x10118da9c in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:521 + #14 0x1010f40bb in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x1010f1dd8 in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x1010d731d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x1013f6efe in BESApp::main(int, char**) BESApp.cc:58 + #18 0x1010da60e in main StandAloneApp.cc:345 + #19 0x7fff5863a014 in start (libdyld.dylib:x86_64+0x1014) + +HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. +If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. +SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5459e) in __asan_memcpy +Shadow bytes around the buggy address: + 0x1c0600002240: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600002250: fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600002260: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600002270: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 00 + 0x1c0600002280: fa fa 00 00 00 00 fa fa 00 00 00 fa fa fa 00 00 +=>0x1c0600002290: 00 fa fa fa 00 00 00 fc fa fa 00 00 00[fc]fa fa + 0x1c06000022a0: 00 00 00 00 fa fa 00 00 00 00 fa fa fa fa fa fa + 0x1c06000022b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c06000022c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c06000022d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c06000022e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa +Shadow byte legend (one shadow byte represents 8 application bytes): + Addressable: 00 + Partially addressable: 01 02 03 04 05 06 07 + Heap left redzone: fa + Freed heap region: fd + Stack left redzone: f1 + Stack mid redzone: f2 + Stack right redzone: f3 + Stack after return: f5 + Stack use after scope: f8 + Global redzone: f9 + Global init order: f6 + Poisoned by user: f7 + Container overflow: fc + Array cookie: ac + Intra object redzone: bb + ASan internal: fe + Left alloca redzone: ca + Right alloca redzone: cb +==14567==ABORTING +Exception: Found an unexpected end of input (EOF) while reading a DAP4 data response. (1) stdout: The data: 88. nc4_netcdf_handler_tests.at:159: 88. BESCMD $abs_srcdir/nc/zero_length_array.nc.10.bescmd (nc4_netcdf_handler_tests.at:159): FAILED (nc4_netcdf_handler_tests.at:159) ## ------------------- ## ## ../../../config.log ## ## ------------------- ## | This file contains any messages produced by compilers while | running configure, to aid debugging if configure makes a mistake. | | It was created by bes configure 3.20.2, which was | generated by GNU Autoconf 2.69. Invocation command line was | | $ ./configure --prefix=/Users/vskorole/opendap/hyrax/build --enable-developer --with-dependencies=/Users/vskorole/opendap/hyrax/build/deps --enable-asan | | ## --------- ## | ## Platform. ## | ## --------- ## | | hostname = mbp-vskorole.edn.ecs.nasa.gov | uname -m = x86_64 | uname -r = 17.7.0 | uname -s = Darwin | uname -v = Darwin Kernel Version 17.7.0: Wed Oct 10 23:06:14 PDT 2018; root:xnu-4570.71.13~1/RELEASE_X86_64 | | /usr/bin/uname -p = i386 | /bin/uname -X = unknown | | /bin/arch = unknown | /usr/bin/arch -k = unknown | /usr/convex/getsysinfo = unknown | /usr/bin/hostinfo = Mach kernel version: | Darwin Kernel Version 17.7.0: Wed Oct 10 23:06:14 PDT 2018; root:xnu-4570.71.13~1/RELEASE_X86_64 | Kernel configured for up to 8 processors. | 4 processors are physically available. | 8 processors are logically available. | Processor type: x86_64h (Intel x86-64h Haswell) | Processors active: 0 1 2 3 4 5 6 7 | Primary memory available: 16.00 gigabytes | Default processor set: 339 tasks, 1324 threads, 8 processors | Load average: 1.90, Mach factor: 6.08 | /bin/machine = unknown | /usr/bin/oslevel = unknown | /bin/universe = unknown | | PATH: /Users/vskorole/.nvm/versions/node/v8.10.0/bin | PATH: /System/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin | PATH: /Users/vskorole/Downloads/Software/apache-ant-1.9.9/bin | PATH: /Users/vskorole/apache-maven-3.5.0/bin | PATH: /Users/vskorole/Library/Python/3.6/bin | PATH: /Library/Frameworks/Python.framework/Versions/3.6/bin | PATH: /Applications/QGIS.app/Contents/MacOS/bin | PATH: /opt/local/bin | PATH: /opt/local/sbin | PATH: /Users/vskorole/opendap/hyrax/build/bin | PATH: /Users/vskorole/opendap/hyrax/build/deps/bin | PATH: /usr/local/bin | PATH: /usr/bin | PATH: /bin | PATH: /usr/sbin | PATH: /sbin | PATH: /opt/X11/bin | | | ## ----------- ## | ## Core tests. ## | ## ----------- ## | | configure:2737: Package Major Version: 3 | configure:2739: Package Minor Version: 20 | configure:2741: Package SubMinor Version: 2 | configure:2875: checking for a BSD-compatible install | configure:2943: result: /usr/bin/install -c | configure:2954: checking whether build environment is sane | configure:3009: result: yes | configure:3160: checking for a thread-safe mkdir -p | configure:3199: result: conf/install-sh -c -d | configure:3206: checking for gawk | configure:3236: result: no | configure:3206: checking for mawk | configure:3236: result: no | configure:3206: checking for nawk | configure:3236: result: no | configure:3206: checking for awk | configure:3222: found /usr/bin/awk | configure:3233: result: awk | configure:3244: checking whether make sets $(MAKE) | configure:3266: result: yes | configure:3295: checking whether make supports nested variables | configure:3312: result: yes | configure:3391: checking how to create a pax tar archive | configure:3402: tar --version | bsdtar 2.8.3 - libarchive 2.8.3 | configure:3405: $? = 0 | configure:3445: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar | configure:3448: $? = 0 | configure:3452: tar -xf - &5 | Apple LLVM version 10.0.0 (clang-1000.11.45.5) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | configure:4075: $? = 0 | configure:4064: gcc -v >&5 | Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | Apple LLVM version 10.0.0 (clang-1000.11.45.5) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | configure:4075: $? = 0 | configure:4064: gcc -V >&5 | clang: error: argument to '-V' is missing (expected 1 value) | clang: error: no input files | configure:4075: $? = 1 | configure:4064: gcc -qversion >&5 | clang: error: unknown argument: '-qversion' | clang: error: no input files | configure:4075: $? = 1 | configure:4095: checking whether the C compiler works | configure:4117: gcc conftest.c >&5 | configure:4121: $? = 0 | configure:4169: result: yes | configure:4172: checking for C compiler default output file name | configure:4174: result: a.out | configure:4180: checking for suffix of executables | configure:4187: gcc -o conftest conftest.c >&5 | configure:4191: $? = 0 | configure:4213: result: | configure:4235: checking whether we are cross compiling | configure:4243: gcc -o conftest conftest.c >&5 | configure:4247: $? = 0 | configure:4254: ./conftest | configure:4258: $? = 0 | configure:4273: result: no | configure:4278: checking for suffix of object files | configure:4300: gcc -c conftest.c >&5 | configure:4304: $? = 0 | configure:4325: result: o | configure:4329: checking whether we are using the GNU C compiler | configure:4348: gcc -c conftest.c >&5 | configure:4348: $? = 0 | configure:4357: result: yes | configure:4366: checking whether gcc accepts -g | configure:4386: gcc -c -g conftest.c >&5 | configure:4386: $? = 0 | configure:4427: result: yes | configure:4444: checking for gcc option to accept ISO C89 | configure:4507: gcc -c -g -O2 conftest.c >&5 | configure:4507: $? = 0 | configure:4520: result: none needed | configure:4545: checking whether gcc understands -c and -o together | configure:4567: gcc -c conftest.c -o conftest2.o | configure:4570: $? = 0 | configure:4567: gcc -c conftest.c -o conftest2.o | configure:4570: $? = 0 | configure:4582: result: yes | configure:4601: checking dependency style of gcc | configure:4712: result: gcc3 | configure:4727: checking for a sed that does not truncate output | configure:4791: result: /usr/bin/sed | configure:4809: checking for grep that handles long lines and -e | configure:4867: result: /usr/bin/grep | configure:4872: checking for egrep | configure:4934: result: /usr/bin/grep -E | configure:4939: checking for fgrep | configure:5001: result: /usr/bin/grep -F | configure:5036: checking for ld used by gcc | configure:5103: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | configure:5110: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld | configure:5125: result: no | configure:5137: checking for BSD- or MS-compatible name lister (nm) | configure:5191: result: /usr/bin/nm -B | configure:5321: checking the name lister (/usr/bin/nm -B) interface | configure:5328: gcc -c -g -O2 conftest.c >&5 | configure:5331: /usr/bin/nm -B "conftest.o" | configure:5334: output | 00000000000001d0 S _some_variable | configure:5341: result: BSD nm | configure:5344: checking whether ln -s works | configure:5348: result: yes | configure:5356: checking the maximum length of command line arguments | configure:5487: result: 196608 | configure:5535: checking how to convert x86_64-apple-darwin17.7.0 file names to x86_64-apple-darwin17.7.0 format | configure:5575: result: func_convert_file_noop | configure:5582: checking how to convert x86_64-apple-darwin17.7.0 file names to toolchain format | configure:5602: result: func_convert_file_noop | configure:5609: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files | configure:5616: result: -r | configure:5690: checking for objdump | configure:5706: found /usr/bin/objdump | configure:5717: result: objdump | configure:5749: checking how to recognize dependent libraries | configure:5949: result: pass_all | configure:6034: checking for dlltool | configure:6064: result: no | configure:6094: checking how to associate runtime and link libraries | configure:6121: result: printf %s\n | configure:6182: checking for ar | configure:6198: found /usr/bin/ar | configure:6209: result: ar | configure:6246: checking for archiver @FILE support | configure:6263: gcc -c -g -O2 conftest.c >&5 | configure:6263: $? = 0 | configure:6266: ar cru libconftest.a @conftest.lst >&5 | ar: @conftest.lst: No such file or directory | configure:6269: $? = 1 | configure:6289: result: no | configure:6347: checking for strip | configure:6363: found /usr/bin/strip | configure:6374: result: strip | configure:6446: checking for ranlib | configure:6462: found /usr/bin/ranlib | configure:6473: result: ranlib | configure:6575: checking command to parse /usr/bin/nm -B output from gcc object | configure:6728: gcc -c -g -O2 conftest.c >&5 | configure:6731: $? = 0 | configure:6735: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm | configure:6738: $? = 0 | cannot find nm_test_var in conftest.nm | configure:6728: gcc -c -g -O2 conftest.c >&5 | configure:6731: $? = 0 | configure:6735: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm | configure:6738: $? = 0 | configure:6804: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 | warning: (x86_64) could not find object file symbol for symbol _main | configure:6807: $? = 0 | configure:6845: result: ok | configure:6892: checking for sysroot | configure:6922: result: no | configure:6929: checking for a working dd | configure:6967: result: /bin/dd | configure:6971: checking how to truncate binary pipes | configure:6986: result: /bin/dd bs=4096 count=1 | configure:7315: checking for mt | configure:7345: result: no | configure:7365: checking if : is a manifest tool | configure:7371: : '-?' | configure:7379: result: no | configure:7435: checking for dsymutil | configure:7451: found /usr/bin/dsymutil | configure:7462: result: dsymutil | configure:7527: checking for nmedit | configure:7543: found /usr/bin/nmedit | configure:7554: result: nmedit | configure:7619: checking for lipo | configure:7635: found /usr/bin/lipo | configure:7646: result: lipo | configure:7711: checking for otool | configure:7727: found /usr/bin/otool | configure:7738: result: otool | configure:7803: checking for otool64 | configure:7833: result: no | configure:7878: checking for -single_module linker flag | gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c | configure:7911: result: yes | configure:7914: checking for -exported_symbols_list linker flag | configure:7934: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5 | configure:7934: $? = 0 | configure:7944: result: yes | configure:7947: checking for -force_load linker flag | gcc -g -O2 -c -o conftest.o conftest.c | ar cru libconftest.a conftest.o | ranlib libconftest.a | gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a | configure:7979: result: yes | configure:8056: checking how to run the C preprocessor | configure:8087: gcc -E conftest.c | configure:8087: $? = 0 | configure:8101: gcc -E conftest.c | conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found | #include | ^~~~~~~~~~~~~~~~~~ | 1 error generated. | configure:8101: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | /* end confdefs.h. */ | | #include | configure:8126: result: gcc -E | configure:8146: gcc -E conftest.c | configure:8146: $? = 0 | configure:8160: gcc -E conftest.c | conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found | #include | ^~~~~~~~~~~~~~~~~~ | 1 error generated. | configure:8160: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | /* end confdefs.h. */ | | #include | configure:8189: checking for ANSI C header files | configure:8209: gcc -c -g -O2 conftest.c >&5 | configure:8209: $? = 0 | configure:8282: gcc -o conftest -g -O2 conftest.c >&5 | configure:8282: $? = 0 | configure:8282: ./conftest | configure:8282: $? = 0 | configure:8293: result: yes | configure:8306: checking for sys/types.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8306: checking for sys/stat.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8306: checking for stdlib.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8306: checking for string.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8306: checking for memory.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8306: checking for strings.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8306: checking for inttypes.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8306: checking for stdint.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8306: checking for unistd.h | configure:8306: gcc -c -g -O2 conftest.c >&5 | configure:8306: $? = 0 | configure:8306: result: yes | configure:8320: checking for dlfcn.h | configure:8320: gcc -c -g -O2 conftest.c >&5 | configure:8320: $? = 0 | configure:8320: result: yes | configure:8576: checking for objdir | configure:8591: result: .libs | configure:8855: checking if gcc supports -fno-rtti -fno-exceptions | configure:8873: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 | configure:8877: $? = 0 | configure:8890: result: yes | configure:9248: checking for gcc option to produce PIC | configure:9255: result: -fno-common -DPIC | configure:9263: checking if gcc PIC flag -fno-common -DPIC works | configure:9281: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5 | configure:9285: $? = 0 | configure:9298: result: yes | configure:9327: checking if gcc static flag -static works | configure:9355: result: no | configure:9370: checking if gcc supports -c -o file.o | configure:9391: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 | configure:9395: $? = 0 | configure:9417: result: yes | configure:9425: checking if gcc supports -c -o file.o | configure:9472: result: yes | configure:9505: checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries | configure:10764: result: yes | configure:11004: checking dynamic linker characteristics | configure:11822: result: darwin17.7.0 dyld | configure:11944: checking how to hardcode library paths into programs | configure:11969: result: immediate | configure:12517: checking whether stripping libraries is possible | configure:12531: result: yes | configure:12557: checking if libtool supports shared libraries | configure:12559: result: yes | configure:12562: checking whether to build shared libraries | configure:12587: result: yes | configure:12590: checking whether to build static libraries | configure:12594: result: yes | configure:12745: checking for pthread_kill in -lpthread | configure:12770: gcc -o conftest -g -O2 conftest.c -lpthread >&5 | configure:12770: $? = 0 | configure:12779: result: yes | configure:12845: checking for gcc | configure:12872: result: gcc | configure:13101: checking for C compiler version | configure:13110: gcc --version >&5 | Apple LLVM version 10.0.0 (clang-1000.11.45.5) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | configure:13121: $? = 0 | configure:13110: gcc -v >&5 | Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | Apple LLVM version 10.0.0 (clang-1000.11.45.5) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | configure:13121: $? = 0 | configure:13110: gcc -V >&5 | clang: error: argument to '-V' is missing (expected 1 value) | clang: error: no input files | configure:13121: $? = 1 | configure:13110: gcc -qversion >&5 | clang: error: unknown argument: '-qversion' | clang: error: no input files | configure:13121: $? = 1 | configure:13125: checking whether we are using the GNU C compiler | configure:13153: result: yes | configure:13162: checking whether gcc accepts -g | configure:13223: result: yes | configure:13240: checking for gcc option to accept ISO C89 | configure:13316: result: none needed | configure:13341: checking whether gcc understands -c and -o together | configure:13378: result: yes | configure:13397: checking dependency style of gcc | configure:13508: result: gcc3 | configure:13581: checking for g++ | configure:13597: found /usr/bin/g++ | configure:13608: result: g++ | configure:13635: checking for C++ compiler version | configure:13644: g++ --version >&5 | Apple LLVM version 10.0.0 (clang-1000.11.45.5) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | configure:13655: $? = 0 | configure:13644: g++ -v >&5 | Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | Apple LLVM version 10.0.0 (clang-1000.11.45.5) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | configure:13655: $? = 0 | configure:13644: g++ -V >&5 | clang: error: argument to '-V' is missing (expected 1 value) | clang: error: no input files | configure:13655: $? = 1 | configure:13644: g++ -qversion >&5 | clang: error: unknown argument: '-qversion' | clang: error: no input files | configure:13655: $? = 1 | configure:13659: checking whether we are using the GNU C++ compiler | configure:13678: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer conftest.cpp >&5 | configure:13678: $? = 0 | configure:13687: result: yes | configure:13696: checking whether g++ accepts -g | configure:13716: g++ -c -g conftest.cpp >&5 | configure:13716: $? = 0 | configure:13757: result: yes | configure:13782: checking dependency style of g++ | configure:13893: result: gcc3 | configure:13926: checking how to run the C++ preprocessor | configure:13953: g++ -E conftest.cpp | configure:13953: $? = 0 | configure:13967: g++ -E conftest.cpp | conftest.cpp:25:10: fatal error: 'ac_nonexistent.h' file not found | #include | ^~~~~~~~~~~~~~~~~~ | 1 error generated. | configure:13967: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | /* end confdefs.h. */ | | #include | configure:13992: result: g++ -E | configure:14012: g++ -E conftest.cpp | configure:14012: $? = 0 | configure:14026: g++ -E conftest.cpp | conftest.cpp:25:10: fatal error: 'ac_nonexistent.h' file not found | #include | ^~~~~~~~~~~~~~~~~~ | 1 error generated. | configure:14026: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | /* end confdefs.h. */ | | #include | configure:14188: checking for ld used by g++ | configure:14255: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | configure:14262: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld | configure:14277: result: no | configure:14332: checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries | configure:15405: result: yes | configure:15441: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer conftest.cpp >&5 | configure:15444: $? = 0 | configure:15925: checking for g++ option to produce PIC | configure:15932: result: -fno-common -DPIC | configure:15940: checking if g++ PIC flag -fno-common -DPIC works | configure:15958: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer -fno-common -DPIC -DPIC conftest.cpp >&5 | configure:15962: $? = 0 | configure:15975: result: yes | configure:15998: checking if g++ static flag -static works | configure:16026: result: no | configure:16038: checking if g++ supports -c -o file.o | configure:16059: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer -o out/conftest2.o conftest.cpp >&5 | configure:16063: $? = 0 | configure:16085: result: yes | configure:16090: checking if g++ supports -c -o file.o | configure:16137: result: yes | configure:16167: checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries | configure:16207: result: yes | configure:16348: checking dynamic linker characteristics | configure:17093: result: darwin17.7.0 dyld | configure:17158: checking how to hardcode library paths into programs | configure:17183: result: immediate | configure:17223: checking whether make sets $(MAKE) | configure:17245: result: yes | configure:17259: checking for flex | configure:17275: found /usr/bin/flex | configure:17286: result: flex | configure:17324: flex conftest.l | configure:17328: $? = 0 | configure:17330: checking lex output file root | configure:17344: result: lex.yy | configure:17349: checking lex library | configure:17363: gcc -o conftest -g -O2 conftest.c >&5 | Undefined symbols for architecture x86_64: | "_yywrap", referenced from: | _yylex in conftest-9b87a2.o | _main in conftest-9b87a2.o | ld: symbol(s) not found for architecture x86_64 | clang: error: linker command failed with exit code 1 (use -v to see invocation) | configure:17363: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | /* end confdefs.h. */ | | | | #line 3 "lex.yy.c" | | | | #define YY_INT_ALIGNED short int | | | | /* A lexical scanner generated by flex */ | | | | #define FLEX_SCANNER | | #define YY_FLEX_MAJOR_VERSION 2 | | #define YY_FLEX_MINOR_VERSION 5 | | #define YY_FLEX_SUBMINOR_VERSION 35 | | #if YY_FLEX_SUBMINOR_VERSION > 0 | | #define FLEX_BETA | | #endif | | | | /* First, we deal with platform-specific or compiler-specific issues. */ | | | | /* begin standard C headers. */ | | #include | | #include | | #include | | #include | | | | /* end standard C headers. */ | | | | /* flex integer type definitions */ | | | | #ifndef FLEXINT_H | | #define FLEXINT_H | | | | /* C99 systems have . Non-C99 systems may or may not. */ | | | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | | * if you want the limit (max/min) macros for int types. | | */ | | #ifndef __STDC_LIMIT_MACROS | | #define __STDC_LIMIT_MACROS 1 | | #endif | | | | #include | | typedef int8_t flex_int8_t; | | typedef uint8_t flex_uint8_t; | | typedef int16_t flex_int16_t; | | typedef uint16_t flex_uint16_t; | | typedef int32_t flex_int32_t; | | typedef uint32_t flex_uint32_t; | | typedef uint64_t flex_uint64_t; | | #else | | typedef signed char flex_int8_t; | | typedef short int flex_int16_t; | | typedef int flex_int32_t; | | typedef unsigned char flex_uint8_t; | | typedef unsigned short int flex_uint16_t; | | typedef unsigned int flex_uint32_t; | | #endif /* ! C99 */ | | | | /* Limits of integral types. */ | | #ifndef INT8_MIN | | #define INT8_MIN (-128) | | #endif | | #ifndef INT16_MIN | | #define INT16_MIN (-32767-1) | | #endif | | #ifndef INT32_MIN | | #define INT32_MIN (-2147483647-1) | | #endif | | #ifndef INT8_MAX | | #define INT8_MAX (127) | | #endif | | #ifndef INT16_MAX | | #define INT16_MAX (32767) | | #endif | | #ifndef INT32_MAX | | #define INT32_MAX (2147483647) | | #endif | | #ifndef UINT8_MAX | | #define UINT8_MAX (255U) | | #endif | | #ifndef UINT16_MAX | | #define UINT16_MAX (65535U) | | #endif | | #ifndef UINT32_MAX | | #define UINT32_MAX (4294967295U) | | #endif | | | | #endif /* ! FLEXINT_H */ | | | | #ifdef __cplusplus | | | | /* The "const" storage-class-modifier is valid. */ | | #define YY_USE_CONST | | | | #else /* ! __cplusplus */ | | | | /* C99 requires __STDC__ to be defined as 1. */ | | #if defined (__STDC__) | | | | #define YY_USE_CONST | | | | #endif /* defined (__STDC__) */ | | #endif /* ! __cplusplus */ | | | | #ifdef YY_USE_CONST | | #define yyconst const | | #else | | #define yyconst | | #endif | | | | /* Returned upon end-of-file. */ | | #define YY_NULL 0 | | | | /* Promotes a possibly negative, possibly signed char to an unsigned | | * integer for use as an array index. If the signed char is negative, | | * we want to instead treat it as an 8-bit unsigned char, hence the | | * double cast. | | */ | | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) | | | | /* Enter a start condition. This macro really ought to take a parameter, | | * but we do it the disgusting crufty way forced on us by the ()-less | | * definition of BEGIN. | | */ | | #define BEGIN (yy_start) = 1 + 2 * | | | | /* Translate the current start state into a value that can be later handed | | * to BEGIN to return to the state. The YYSTATE alias is for lex | | * compatibility. | | */ | | #define YY_START (((yy_start) - 1) / 2) | | #define YYSTATE YY_START | | | | /* Action number for EOF rule of a given start state. */ | | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | | | | /* Special action meaning "start processing a new file". */ | | #define YY_NEW_FILE yyrestart(yyin ) | | | | #define YY_END_OF_BUFFER_CHAR 0 | | | | /* Size of default input buffer. */ | | #ifndef YY_BUF_SIZE | | #define YY_BUF_SIZE 16384 | | #endif | | | | /* The state buf must be large enough to hold one state per character in the main buffer. | | */ | | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | | | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | | #define YY_TYPEDEF_YY_BUFFER_STATE | | typedef struct yy_buffer_state *YY_BUFFER_STATE; | | #endif | | | | #ifndef YY_TYPEDEF_YY_SIZE_T | | #define YY_TYPEDEF_YY_SIZE_T | | typedef size_t yy_size_t; | | #endif | | | | extern yy_size_t yyleng; | | | | extern FILE *yyin, *yyout; | | | | #define EOB_ACT_CONTINUE_SCAN 0 | | #define EOB_ACT_END_OF_FILE 1 | | #define EOB_ACT_LAST_MATCH 2 | | | | #define YY_LESS_LINENO(n) | | | | /* Return all but the first "n" matched characters back to the input stream. */ | | #define yyless(n) \ | | do \ | | { \ | | /* Undo effects of setting up yytext. */ \ | | int yyless_macro_arg = (n); \ | | YY_LESS_LINENO(yyless_macro_arg);\ | | *yy_cp = (yy_hold_char); \ | | YY_RESTORE_YY_MORE_OFFSET \ | | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | | } \ | | while ( 0 ) | | | | #define unput(c) yyunput( c, (yytext_ptr) ) | | | | #ifndef YY_STRUCT_YY_BUFFER_STATE | | #define YY_STRUCT_YY_BUFFER_STATE | | struct yy_buffer_state | | { | | FILE *yy_input_file; | | | | char *yy_ch_buf; /* input buffer */ | | char *yy_buf_pos; /* current position in input buffer */ | | | | /* Size of input buffer in bytes, not including room for EOB | | * characters. | | */ | | yy_size_t yy_buf_size; | | | | /* Number of characters read into yy_ch_buf, not including EOB | | * characters. | | */ | | yy_size_t yy_n_chars; | | | | /* Whether we "own" the buffer - i.e., we know we created it, | | * and can realloc() it to grow it, and should free() it to | | * delete it. | | */ | | int yy_is_our_buffer; | | | | /* Whether this is an "interactive" input source; if so, and | | * if we're using stdio for input, then we want to use getc() | | * instead of fread(), to make sure we stop fetching input after | | * each newline. | | */ | | int yy_is_interactive; | | | | /* Whether we're considered to be at the beginning of a line. | | * If so, '^' rules will be active on the next match, otherwise | | * not. | | */ | | int yy_at_bol; | | | | int yy_bs_lineno; /**< The line count. */ | | int yy_bs_column; /**< The column count. */ | | | | /* Whether to try to fill the input buffer when we reach the | | * end of it. | | */ | | int yy_fill_buffer; | | | | int yy_buffer_status; | | | | #define YY_BUFFER_NEW 0 | | #define YY_BUFFER_NORMAL 1 | | /* When an EOF's been seen but there's still some text to process | | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | | * shouldn't try reading from the input source any more. We might | | * still have a bunch of tokens to match, though, because of | | * possible backing-up. | | * | | * When we actually see the EOF, we change the status to "new" | | * (via yyrestart()), so that the user can continue scanning by | | * just pointing yyin at a new input file. | | */ | | #define YY_BUFFER_EOF_PENDING 2 | | | | }; | | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | | | | /* Stack of input buffers. */ | | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ | | | | /* We provide macros for accessing buffer states in case in the | | * future we want to put the buffer states in a more general | | * "scanner state". | | * | | * Returns the top of the stack, or NULL. | | */ | | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | | : NULL) | | | | /* Same as previous macro, but useful when we know that the buffer stack is not | | * NULL or when we need an lvalue. For internal use only. | | */ | | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | | | /* yy_hold_char holds the character lost when yytext is formed. */ | | static char yy_hold_char; | | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ | | yy_size_t yyleng; | | | | /* Points to current character in buffer. */ | | static char *yy_c_buf_p = (char *) 0; | | static int yy_init = 0; /* whether we need to initialize */ | | static int yy_start = 0; /* start state number */ | | | | /* Flag which is used to allow yywrap()'s to do buffer switches | | * instead of setting up a fresh yyin. A bit of a hack ... | | */ | | static int yy_did_buffer_switch_on_eof; | | | | void yyrestart (FILE *input_file ); | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); | | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); | | void yy_delete_buffer (YY_BUFFER_STATE b ); | | void yy_flush_buffer (YY_BUFFER_STATE b ); | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); | | void yypop_buffer_state (void ); | | | | static void yyensure_buffer_stack (void ); | | static void yy_load_buffer_state (void ); | | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); | | | | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) | | | | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); | | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); | | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); | | | | void *yyalloc (yy_size_t ); | | void *yyrealloc (void *,yy_size_t ); | | void yyfree (void * ); | | | | #define yy_new_buffer yy_create_buffer | | | | #define yy_set_interactive(is_interactive) \ | | { \ | | if ( ! YY_CURRENT_BUFFER ){ \ | | yyensure_buffer_stack (); \ | | YY_CURRENT_BUFFER_LVALUE = \ | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ | | } \ | | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | | } | | | | #define yy_set_bol(at_bol) \ | | { \ | | if ( ! YY_CURRENT_BUFFER ){\ | | yyensure_buffer_stack (); \ | | YY_CURRENT_BUFFER_LVALUE = \ | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ | | } \ | | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | | } | | | | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | | | | /* Begin user sect3 */ | | | | typedef unsigned char YY_CHAR; | | | | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; | | | | typedef int yy_state_type; | | | | extern int yylineno; | | | | int yylineno = 1; | | | | extern char *yytext; | | #define yytext_ptr yytext | | | | static yy_state_type yy_get_previous_state (void ); | | static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); | | static int yy_get_next_buffer (void ); | | static void yy_fatal_error (yyconst char msg[] ); | | | | /* Done after the current pattern has been matched and before the | | * corresponding action - sets up yytext. | | */ | | #define YY_DO_BEFORE_ACTION \ | | (yytext_ptr) = yy_bp; \ | | (yytext_ptr) -= (yy_more_len); \ | | yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \ | | (yy_hold_char) = *yy_cp; \ | | *yy_cp = '\0'; \ | | (yy_c_buf_p) = yy_cp; | | | | #define YY_NUM_RULES 8 | | #define YY_END_OF_BUFFER 9 | | /* This struct is not used in this scanner, | | but its presence is necessary. */ | | struct yy_trans_info | | { | | flex_int32_t yy_verify; | | flex_int32_t yy_nxt; | | }; | | static yyconst flex_int16_t yy_acclist[23] = | | { 0, | | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | | 7, 8 | | } ; | | | | static yyconst flex_int16_t yy_accept[14] = | | { 0, | | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | | 20, 23, 23 | | } ; | | | | static yyconst flex_int32_t yy_ec[256] = | | { 0, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, | | | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1 | | } ; | | | | static yyconst flex_int32_t yy_meta[9] = | | { 0, | | 1, 1, 1, 1, 1, 1, 1, 1 | | } ; | | | | static yyconst flex_int16_t yy_base[13] = | | { 0, | | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | | 10, 10 | | } ; | | | | static yyconst flex_int16_t yy_def[13] = | | { 0, | | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | | 12, 0 | | } ; | | | | static yyconst flex_int16_t yy_nxt[19] = | | { 0, | | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | | 12, 12, 12, 12, 12, 12, 12, 12 | | } ; | | | | static yyconst flex_int16_t yy_chk[19] = | | { 0, | | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | | 12, 12, 12, 12, 12, 12, 12, 12 | | } ; | | | | extern int yy_flex_debug; | | int yy_flex_debug = 0; | | | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | | static char *yy_full_match; | | static int yy_lp; | | #define REJECT \ | | { \ | | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ | | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ | | ++(yy_lp); \ | | goto find_rule; \ | | } | | | | static int yy_more_flag = 0; | | static int yy_more_len = 0; | | #define yymore() ((yy_more_flag) = 1) | | #define YY_MORE_ADJ (yy_more_len) | | #define YY_RESTORE_YY_MORE_OFFSET | | char *yytext; | | #line 1 "conftest.l" | | #line 469 "lex.yy.c" | | | | #define INITIAL 0 | | | | #ifndef YY_NO_UNISTD_H | | /* Special case for "unistd.h", since it is non-ANSI. We include it way | | * down here because we want the user's section 1 to have been scanned first. | | * The user has a chance to override it with an option. | | */ | | #include | | #endif | | | | #ifndef YY_EXTRA_TYPE | | #define YY_EXTRA_TYPE void * | | #endif | | | | static int yy_init_globals (void ); | | | | /* Accessor methods to globals. | | These are made visible to non-reentrant scanners for convenience. */ | | | | int yylex_destroy (void ); | | | | int yyget_debug (void ); | | | | void yyset_debug (int debug_flag ); | | | | YY_EXTRA_TYPE yyget_extra (void ); | | | | void yyset_extra (YY_EXTRA_TYPE user_defined ); | | | | FILE *yyget_in (void ); | | | | void yyset_in (FILE * in_str ); | | | | FILE *yyget_out (void ); | | | | void yyset_out (FILE * out_str ); | | | | yy_size_t yyget_leng (void ); | | | | char *yyget_text (void ); | | | | int yyget_lineno (void ); | | | | void yyset_lineno (int line_number ); | | | | /* Macros after this point can all be overridden by user definitions in | | * section 1. | | */ | | | | #ifndef YY_SKIP_YYWRAP | | #ifdef __cplusplus | | extern "C" int yywrap (void ); | | #else | | extern int yywrap (void ); | | #endif | | #endif | | | | static void yyunput (int c,char *buf_ptr ); | | | | #ifndef yytext_ptr | | static void yy_flex_strncpy (char *,yyconst char *,int ); | | #endif | | | | #ifdef YY_NEED_STRLEN | | static int yy_flex_strlen (yyconst char * ); | | #endif | | | | #ifndef YY_NO_INPUT | | | | #ifdef __cplusplus | | static int yyinput (void ); | | #else | | static int input (void ); | | #endif | | | | #endif | | | | /* Amount of stuff to slurp up with each read. */ | | #ifndef YY_READ_BUF_SIZE | | #define YY_READ_BUF_SIZE 8192 | | #endif | | | | /* Copy whatever the last rule matched to the standard output. */ | | #ifndef ECHO | | /* This used to be an fputs(), but since the string might contain NUL's, | | * we now use fwrite(). | | */ | | #define ECHO fwrite( yytext, yyleng, 1, yyout ) | | #endif | | | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | | * is returned in "result". | | */ | | #ifndef YY_INPUT | | #define YY_INPUT(buf,result,max_size) \ | | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | | { \ | | int c = '*'; \ | | yy_size_t n; \ | | for ( n = 0; n < max_size && \ | | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | | buf[n] = (char) c; \ | | if ( c == '\n' ) \ | | buf[n++] = (char) c; \ | | if ( c == EOF && ferror( yyin ) ) \ | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | | result = n; \ | | } \ | | else \ | | { \ | | errno=0; \ | | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ | | { \ | | if( errno != EINTR) \ | | { \ | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | | break; \ | | } \ | | errno=0; \ | | clearerr(yyin); \ | | } \ | | }\ | | \ | | | | #endif | | | | /* No semi-colon after return; correct usage is to write "yyterminate();" - | | * we don't want an extra ';' after the "return" because that will cause | | * some compilers to complain about unreachable statements. | | */ | | #ifndef yyterminate | | #define yyterminate() return YY_NULL | | #endif | | | | /* Number of entries by which start-condition stack grows. */ | | #ifndef YY_START_STACK_INCR | | #define YY_START_STACK_INCR 25 | | #endif | | | | /* Report a fatal error. */ | | #ifndef YY_FATAL_ERROR | | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | | #endif | | | | /* end tables serialization structures and prototypes */ | | | | /* Default declaration of generated scanner - a define so the user can | | * easily add parameters. | | */ | | #ifndef YY_DECL | | #define YY_DECL_IS_OURS 1 | | | | extern int yylex (void); | | | | #define YY_DECL int yylex (void) | | #endif /* !YY_DECL */ | | | | /* Code executed at the beginning of each rule, after yytext and yyleng | | * have been set up. | | */ | | #ifndef YY_USER_ACTION | | #define YY_USER_ACTION | | #endif | | | | /* Code executed at the end of each rule. */ | | #ifndef YY_BREAK | | #define YY_BREAK break; | | #endif | | | | #define YY_RULE_SETUP \ | | YY_USER_ACTION | | | | /** The main scanner function which does all the work. | | */ | | YY_DECL | | { | | register yy_state_type yy_current_state; | | register char *yy_cp, *yy_bp; | | register int yy_act; | | | | #line 1 "conftest.l" | | | | #line 653 "lex.yy.c" | | | | if ( !(yy_init) ) | | { | | (yy_init) = 1; | | | | #ifdef YY_USER_INIT | | YY_USER_INIT; | | #endif | | | | /* Create the reject buffer large enough to save one state per allowed character. */ | | if ( ! (yy_state_buf) ) | | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); | | if ( ! (yy_state_buf) ) | | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | | | | if ( ! (yy_start) ) | | (yy_start) = 1; /* first start state */ | | | | if ( ! yyin ) | | yyin = stdin; | | | | if ( ! yyout ) | | yyout = stdout; | | | | if ( ! YY_CURRENT_BUFFER ) { | | yyensure_buffer_stack (); | | YY_CURRENT_BUFFER_LVALUE = | | yy_create_buffer(yyin,YY_BUF_SIZE ); | | } | | | | yy_load_buffer_state( ); | | } | | | | while ( 1 ) /* loops until end-of-file is reached */ | | { | | (yy_more_len) = 0; | | if ( (yy_more_flag) ) | | { | | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); | | (yy_more_flag) = 0; | | } | | yy_cp = (yy_c_buf_p); | | | | /* Support of yytext. */ | | *yy_cp = (yy_hold_char); | | | | /* yy_bp points to the position in yy_ch_buf of the start of | | * the current run. | | */ | | yy_bp = yy_cp; | | | | yy_current_state = (yy_start); | | | | (yy_state_ptr) = (yy_state_buf); | | *(yy_state_ptr)++ = yy_current_state; | | | | yy_match: | | do | | { | | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | { | | yy_current_state = (int) yy_def[yy_current_state]; | | if ( yy_current_state >= 13 ) | | yy_c = yy_meta[(unsigned int) yy_c]; | | } | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | *(yy_state_ptr)++ = yy_current_state; | | ++yy_cp; | | } | | while ( yy_base[yy_current_state] != 10 ); | | | | yy_find_action: | | yy_current_state = *--(yy_state_ptr); | | (yy_lp) = yy_accept[yy_current_state]; | | goto find_rule; /* Shut up GCC warning -Wall */ | | find_rule: /* we branch to this label when backing up */ | | for ( ; ; ) /* until we find what rule we matched */ | | { | | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | | { | | yy_act = yy_acclist[(yy_lp)]; | | { | | (yy_full_match) = yy_cp; | | break; | | } | | } | | --yy_cp; | | yy_current_state = *--(yy_state_ptr); | | (yy_lp) = yy_accept[yy_current_state]; | | } | | | | YY_DO_BEFORE_ACTION; | | | | do_action: /* This label is used only to access EOF actions. */ | | | | switch ( yy_act ) | | { /* beginning of action switch */ | | case 1: | | YY_RULE_SETUP | | #line 2 "conftest.l" | | { ECHO; } | | YY_BREAK | | case 2: | | YY_RULE_SETUP | | #line 3 "conftest.l" | | { REJECT; } | | YY_BREAK | | case 3: | | YY_RULE_SETUP | | #line 4 "conftest.l" | | { yymore (); } | | YY_BREAK | | case 4: | | YY_RULE_SETUP | | #line 5 "conftest.l" | | { yyless (1); } | | YY_BREAK | | case 5: | | YY_RULE_SETUP | | #line 6 "conftest.l" | | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ | | yyless ((input () != 0)); } | | YY_BREAK | | case 6: | | YY_RULE_SETUP | | #line 8 "conftest.l" | | { unput (yytext[0]); } | | YY_BREAK | | case 7: | | YY_RULE_SETUP | | #line 9 "conftest.l" | | { BEGIN INITIAL; } | | YY_BREAK | | case 8: | | YY_RULE_SETUP | | #line 10 "conftest.l" | | ECHO; | | YY_BREAK | | #line 793 "lex.yy.c" | | case YY_STATE_EOF(INITIAL): | | yyterminate(); | | | | case YY_END_OF_BUFFER: | | { | | /* Amount of text matched not including the EOB char. */ | | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | | *yy_cp = (yy_hold_char); | | YY_RESTORE_YY_MORE_OFFSET | | | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | | { | | /* We're scanning a new file or input source. It's | | * possible that this happened because the user | | * just pointed yyin at a new source and called | | * yylex(). If so, then we have to assure | | * consistency between YY_CURRENT_BUFFER and our | | * globals. Here is the right place to do so, because | | * this is the first action (other than possibly a | | * back-up) that will match for the new input source. | | */ | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | | } | | | | /* Note that here we test for yy_c_buf_p "<=" to the position | | * of the first EOB in the buffer, since yy_c_buf_p will | | * already have been incremented past the NUL character | | * (since all states make transitions on EOB to the | | * end-of-buffer state). Contrast this with the test | | * in input(). | | */ | | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | | { /* This was really a NUL. */ | | yy_state_type yy_next_state; | | | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | | | | yy_current_state = yy_get_previous_state( ); | | | | /* Okay, we're now positioned to make the NUL | | * transition. We couldn't have | | * yy_get_previous_state() go ahead and do it | | * for us because it doesn't know how to deal | | * with the possibility of jamming (and we don't | | * want to build jamming into it because then it | | * will run more slowly). | | */ | | | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | | | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | | | if ( yy_next_state ) | | { | | /* Consume the NUL. */ | | yy_cp = ++(yy_c_buf_p); | | yy_current_state = yy_next_state; | | goto yy_match; | | } | | | | else | | { | | yy_cp = (yy_c_buf_p); | | goto yy_find_action; | | } | | } | | | | else switch ( yy_get_next_buffer( ) ) | | { | | case EOB_ACT_END_OF_FILE: | | { | | (yy_did_buffer_switch_on_eof) = 0; | | | | if ( yywrap( ) ) | | { | | /* Note: because we've taken care in | | * yy_get_next_buffer() to have set up | | * yytext, we can now set up | | * yy_c_buf_p so that if some total | | * hoser (like flex itself) wants to | | * call the scanner after we return the | | * YY_NULL, it'll still work - another | | * YY_NULL will get returned. | | */ | | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | | | yy_act = YY_STATE_EOF(YY_START); | | goto do_action; | | } | | | | else | | { | | if ( ! (yy_did_buffer_switch_on_eof) ) | | YY_NEW_FILE; | | } | | break; | | } | | | | case EOB_ACT_CONTINUE_SCAN: | | (yy_c_buf_p) = | | (yytext_ptr) + yy_amount_of_matched_text; | | | | yy_current_state = yy_get_previous_state( ); | | | | yy_cp = (yy_c_buf_p); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | goto yy_match; | | | | case EOB_ACT_LAST_MATCH: | | (yy_c_buf_p) = | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | | | | yy_current_state = yy_get_previous_state( ); | | | | yy_cp = (yy_c_buf_p); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | goto yy_find_action; | | } | | break; | | } | | | | default: | | YY_FATAL_ERROR( | | "fatal flex scanner internal error--no action found" ); | | } /* end of action switch */ | | } /* end of scanning one token */ | | } /* end of yylex */ | | | | /* yy_get_next_buffer - try to read in a new buffer | | * | | * Returns a code representing an action: | | * EOB_ACT_LAST_MATCH - | | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | | * EOB_ACT_END_OF_FILE - end of file | | */ | | static int yy_get_next_buffer (void) | | { | | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | | register char *source = (yytext_ptr); | | register int number_to_move, i; | | int ret_val; | | | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | | YY_FATAL_ERROR( | | "fatal flex scanner internal error--end of buffer missed" ); | | | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | | { /* Don't try to fill the buffer, so this is an EOF. */ | | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | | { | | /* We matched a single character, the EOB, so | | * treat this as a final EOF. | | */ | | return EOB_ACT_END_OF_FILE; | | } | | | | else | | { | | /* We matched some text prior to the EOB, first | | * process it. | | */ | | return EOB_ACT_LAST_MATCH; | | } | | } | | | | /* Try to read more data. */ | | | | /* First move last chars to start of buffer. */ | | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; | | | | for ( i = 0; i < number_to_move; ++i ) | | *(dest++) = *(source++); | | | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | | /* don't do the read, it's not guaranteed to return an EOF, | | * just force an EOF | | */ | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | | | else | | { | | yy_size_t num_to_read = | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | | | while ( num_to_read <= 0 ) | | { /* Not enough room in the buffer - grow it. */ | | | | YY_FATAL_ERROR( | | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); | | | | } | | | | if ( num_to_read > YY_READ_BUF_SIZE ) | | num_to_read = YY_READ_BUF_SIZE; | | | | /* Read in more data. */ | | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | | (yy_n_chars), num_to_read ); | | | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | | } | | | | if ( (yy_n_chars) == 0 ) | | { | | if ( number_to_move == YY_MORE_ADJ ) | | { | | ret_val = EOB_ACT_END_OF_FILE; | | yyrestart(yyin ); | | } | | | | else | | { | | ret_val = EOB_ACT_LAST_MATCH; | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | | YY_BUFFER_EOF_PENDING; | | } | | } | | | | else | | ret_val = EOB_ACT_CONTINUE_SCAN; | | | | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | | /* Extend the array by 50%, plus the number we really need. */ | | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); | | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | | } | | | | (yy_n_chars) += number_to_move; | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | | | return ret_val; | | } | | | | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | | | static yy_state_type yy_get_previous_state (void) | | { | | register yy_state_type yy_current_state; | | register char *yy_cp; | | | | yy_current_state = (yy_start); | | | | (yy_state_ptr) = (yy_state_buf); | | *(yy_state_ptr)++ = yy_current_state; | | | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | | { | | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | { | | yy_current_state = (int) yy_def[yy_current_state]; | | if ( yy_current_state >= 13 ) | | yy_c = yy_meta[(unsigned int) yy_c]; | | } | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | *(yy_state_ptr)++ = yy_current_state; | | } | | | | return yy_current_state; | | } | | | | /* yy_try_NUL_trans - try to make a transition on the NUL character | | * | | * synopsis | | * next_state = yy_try_NUL_trans( current_state ); | | */ | | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | | { | | register int yy_is_jam; | | | | register YY_CHAR yy_c = 1; | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | { | | yy_current_state = (int) yy_def[yy_current_state]; | | if ( yy_current_state >= 13 ) | | yy_c = yy_meta[(unsigned int) yy_c]; | | } | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | yy_is_jam = (yy_current_state == 12); | | if ( ! yy_is_jam ) | | *(yy_state_ptr)++ = yy_current_state; | | | | return yy_is_jam ? 0 : yy_current_state; | | } | | | | static void yyunput (int c, register char * yy_bp ) | | { | | register char *yy_cp; | | | | yy_cp = (yy_c_buf_p); | | | | /* undo effects of setting up yytext */ | | *yy_cp = (yy_hold_char); | | | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | | { /* need to shift things up to make room */ | | /* +2 for EOB chars. */ | | register yy_size_t number_to_move = (yy_n_chars) + 2; | | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | | register char *source = | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | | | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | | *--dest = *--source; | | | | yy_cp += (int) (dest - source); | | yy_bp += (int) (dest - source); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | | | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | | } | | | | *--yy_cp = (char) c; | | | | (yytext_ptr) = yy_bp; | | (yy_hold_char) = *yy_cp; | | (yy_c_buf_p) = yy_cp; | | } | | | | #ifndef YY_NO_INPUT | | #ifdef __cplusplus | | static int yyinput (void) | | #else | | static int input (void) | | #endif | | | | { | | int c; | | | | *(yy_c_buf_p) = (yy_hold_char); | | | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | | { | | /* yy_c_buf_p now points to the character we want to return. | | * If this occurs *before* the EOB characters, then it's a | | * valid NUL; if not, then we've hit the end of the buffer. | | */ | | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | | /* This was really a NUL. */ | | *(yy_c_buf_p) = '\0'; | | | | else | | { /* need more input */ | | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); | | ++(yy_c_buf_p); | | | | switch ( yy_get_next_buffer( ) ) | | { | | case EOB_ACT_LAST_MATCH: | | /* This happens because yy_g_n_b() | | * sees that we've accumulated a | | * token and flags that we need to | | * try matching the token before | | * proceeding. But for input(), | | * there's no matching to consider. | | * So convert the EOB_ACT_LAST_MATCH | | * to EOB_ACT_END_OF_FILE. | | */ | | | | /* Reset buffer status. */ | | yyrestart(yyin ); | | | | /*FALLTHROUGH*/ | | | | case EOB_ACT_END_OF_FILE: | | { | | if ( yywrap( ) ) | | return 0; | | | | if ( ! (yy_did_buffer_switch_on_eof) ) | | YY_NEW_FILE; | | #ifdef __cplusplus | | return yyinput(); | | #else | | return input(); | | #endif | | } | | | | case EOB_ACT_CONTINUE_SCAN: | | (yy_c_buf_p) = (yytext_ptr) + offset; | | break; | | } | | } | | } | | | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | | (yy_hold_char) = *++(yy_c_buf_p); | | | | return c; | | } | | #endif /* ifndef YY_NO_INPUT */ | | | | /** Immediately switch to a different input stream. | | * @param input_file A readable stream. | | * | | * @note This function does not reset the start condition to @c INITIAL . | | */ | | void yyrestart (FILE * input_file ) | | { | | | | if ( ! YY_CURRENT_BUFFER ){ | | yyensure_buffer_stack (); | | YY_CURRENT_BUFFER_LVALUE = | | yy_create_buffer(yyin,YY_BUF_SIZE ); | | } | | | | yy_init_buffer(YY_CURRENT_BUFFER,input_file ); | | yy_load_buffer_state( ); | | } | | | | /** Switch to a different input buffer. | | * @param new_buffer The new input buffer. | | * | | */ | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | | { | | | | /* TODO. We should be able to replace this entire function body | | * with | | * yypop_buffer_state(); | | * yypush_buffer_state(new_buffer); | | */ | | yyensure_buffer_stack (); | | if ( YY_CURRENT_BUFFER == new_buffer ) | | return; | | | | if ( YY_CURRENT_BUFFER ) | | { | | /* Flush out information for old buffer. */ | | *(yy_c_buf_p) = (yy_hold_char); | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | | } | | | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | yy_load_buffer_state( ); | | | | /* We don't actually know whether we did this switch during | | * EOF (yywrap()) processing, but the only time this flag | | * is looked at is after yywrap() is called, so it's safe | | * to go ahead and always set it. | | */ | | (yy_did_buffer_switch_on_eof) = 1; | | } | | | | static void yy_load_buffer_state (void) | | { | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | | (yy_hold_char) = *(yy_c_buf_p); | | } | | | | /** Allocate and initialize an input buffer state. | | * @param file A readable stream. | | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | | * | | * @return the allocated buffer state. | | */ | | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | | { | | YY_BUFFER_STATE b; | | | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | | if ( ! b ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | | | b->yy_buf_size = size; | | | | /* yy_ch_buf has to be 2 characters longer than the size given because | | * we need to put in 2 end-of-buffer characters. | | */ | | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); | | if ( ! b->yy_ch_buf ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | | | b->yy_is_our_buffer = 1; | | | | yy_init_buffer(b,file ); | | | | return b; | | } | | | | /** Destroy the buffer. | | * @param b a buffer created with yy_create_buffer() | | * | | */ | | void yy_delete_buffer (YY_BUFFER_STATE b ) | | { | | | | if ( ! b ) | | return; | | | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | | | if ( b->yy_is_our_buffer ) | | yyfree((void *) b->yy_ch_buf ); | | | | yyfree((void *) b ); | | } | | | | #ifndef __cplusplus | | extern int isatty (int ); | | #endif /* __cplusplus */ | | | | /* Initializes or reinitializes a buffer. | | * This function is sometimes called more than once on the same buffer, | | * such as during a yyrestart() or at EOF. | | */ | | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | | | | { | | int oerrno = errno; | | | | yy_flush_buffer(b ); | | | | b->yy_input_file = file; | | b->yy_fill_buffer = 1; | | | | /* If b is the current buffer, then yy_init_buffer was _probably_ | | * called from yyrestart() or through yy_get_next_buffer. | | * In that case, we don't want to reset the lineno or column. | | */ | | if (b != YY_CURRENT_BUFFER){ | | b->yy_bs_lineno = 1; | | b->yy_bs_column = 0; | | } | | | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | | | | errno = oerrno; | | } | | | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | | * | | */ | | void yy_flush_buffer (YY_BUFFER_STATE b ) | | { | | if ( ! b ) | | return; | | | | b->yy_n_chars = 0; | | | | /* We always need two end-of-buffer characters. The first causes | | * a transition to the end-of-buffer state. The second causes | | * a jam in that state. | | */ | | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | | | | b->yy_buf_pos = &b->yy_ch_buf[0]; | | | | b->yy_at_bol = 1; | | b->yy_buffer_status = YY_BUFFER_NEW; | | | | if ( b == YY_CURRENT_BUFFER ) | | yy_load_buffer_state( ); | | } | | | | /** Pushes the new state onto the stack. The new state becomes | | * the current state. This function will allocate the stack | | * if necessary. | | * @param new_buffer The new state. | | * | | */ | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | | { | | if (new_buffer == NULL) | | return; | | | | yyensure_buffer_stack(); | | | | /* This block is copied from yy_switch_to_buffer. */ | | if ( YY_CURRENT_BUFFER ) | | { | | /* Flush out information for old buffer. */ | | *(yy_c_buf_p) = (yy_hold_char); | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | | } | | | | /* Only push if top exists. Otherwise, replace top. */ | | if (YY_CURRENT_BUFFER) | | (yy_buffer_stack_top)++; | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | | | /* copied from yy_switch_to_buffer. */ | | yy_load_buffer_state( ); | | (yy_did_buffer_switch_on_eof) = 1; | | } | | | | /** Removes and deletes the top of the stack, if present. | | * The next element becomes the new top. | | * | | */ | | void yypop_buffer_state (void) | | { | | if (!YY_CURRENT_BUFFER) | | return; | | | | yy_delete_buffer(YY_CURRENT_BUFFER ); | | YY_CURRENT_BUFFER_LVALUE = NULL; | | if ((yy_buffer_stack_top) > 0) | | --(yy_buffer_stack_top); | | | | if (YY_CURRENT_BUFFER) { | | yy_load_buffer_state( ); | | (yy_did_buffer_switch_on_eof) = 1; | | } | | } | | | | /* Allocates the stack if it does not exist. | | * Guarantees space for at least one push. | | */ | | static void yyensure_buffer_stack (void) | | { | | yy_size_t num_to_alloc; | | | | if (!(yy_buffer_stack)) { | | | | /* First allocation is just for 2 elements, since we don't know if this | | * scanner will even need a stack. We use 2 instead of 1 to avoid an | | * immediate realloc on the next call. | | */ | | num_to_alloc = 1; | | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | | (num_to_alloc * sizeof(struct yy_buffer_state*) | | ); | | if ( ! (yy_buffer_stack) ) | | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | | | | (yy_buffer_stack_max) = num_to_alloc; | | (yy_buffer_stack_top) = 0; | | return; | | } | | | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | | | | /* Increase the buffer to prepare for a possible push. */ | | int grow_size = 8 /* arbitrary grow size */; | | | | num_to_alloc = (yy_buffer_stack_max) + grow_size; | | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | | ((yy_buffer_stack), | | num_to_alloc * sizeof(struct yy_buffer_state*) | | ); | | if ( ! (yy_buffer_stack) ) | | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | | | /* zero only the new slots.*/ | | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | | (yy_buffer_stack_max) = num_to_alloc; | | } | | } | | | | /** Setup the input buffer state to scan directly from a user-specified character buffer. | | * @param base the character buffer | | * @param size the size in bytes of the character buffer | | * | | * @return the newly allocated buffer state object. | | */ | | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | | { | | YY_BUFFER_STATE b; | | | | if ( size < 2 || | | base[size-2] != YY_END_OF_BUFFER_CHAR || | | base[size-1] != YY_END_OF_BUFFER_CHAR ) | | /* They forgot to leave room for the EOB's. */ | | return 0; | | | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | | if ( ! b ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | | | | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ | | b->yy_buf_pos = b->yy_ch_buf = base; | | b->yy_is_our_buffer = 0; | | b->yy_input_file = 0; | | b->yy_n_chars = b->yy_buf_size; | | b->yy_is_interactive = 0; | | b->yy_at_bol = 1; | | b->yy_fill_buffer = 0; | | b->yy_buffer_status = YY_BUFFER_NEW; | | | | yy_switch_to_buffer(b ); | | | | return b; | | } | | | | /** Setup the input buffer state to scan a string. The next call to yylex() will | | * scan from a @e copy of @a str. | | * @param yystr a NUL-terminated string to scan | | * | | * @return the newly allocated buffer state object. | | * @note If you want to scan bytes that may contain NUL values, then use | | * yy_scan_bytes() instead. | | */ | | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) | | { | | | | return yy_scan_bytes(yystr,strlen(yystr) ); | | } | | | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | | * scan from a @e copy of @a bytes. | | * @param bytes the byte buffer to scan | | * @param len the number of bytes in the buffer pointed to by @a bytes. | | * | | * @return the newly allocated buffer state object. | | */ | | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) | | { | | YY_BUFFER_STATE b; | | char *buf; | | yy_size_t n, i; | | | | /* Get memory for full buffer, including space for trailing EOB's. */ | | n = _yybytes_len + 2; | | buf = (char *) yyalloc(n ); | | if ( ! buf ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | | | | for ( i = 0; i < _yybytes_len; ++i ) | | buf[i] = yybytes[i]; | | | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | | | | b = yy_scan_buffer(buf,n ); | | if ( ! b ) | | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | | | | /* It's okay to grow etc. this buffer, and we should throw it | | * away when we're done. | | */ | | b->yy_is_our_buffer = 1; | | | | return b; | | } | | | | #ifndef YY_EXIT_FAILURE | | #define YY_EXIT_FAILURE 2 | | #endif | | | | static void yy_fatal_error (yyconst char* msg ) | | { | | (void) fprintf( stderr, "%s\n", msg ); | | exit( YY_EXIT_FAILURE ); | | } | | | | /* Redefine yyless() so it works in section 3 code. */ | | | | #undef yyless | | #define yyless(n) \ | | do \ | | { \ | | /* Undo effects of setting up yytext. */ \ | | int yyless_macro_arg = (n); \ | | YY_LESS_LINENO(yyless_macro_arg);\ | | yytext[yyleng] = (yy_hold_char); \ | | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | | (yy_hold_char) = *(yy_c_buf_p); \ | | *(yy_c_buf_p) = '\0'; \ | | yyleng = yyless_macro_arg; \ | | } \ | | while ( 0 ) | | | | /* Accessor methods (get/set functions) to struct members. */ | | | | /** Get the current line number. | | * | | */ | | int yyget_lineno (void) | | { | | | | return yylineno; | | } | | | | /** Get the input stream. | | * | | */ | | FILE *yyget_in (void) | | { | | return yyin; | | } | | | | /** Get the output stream. | | * | | */ | | FILE *yyget_out (void) | | { | | return yyout; | | } | | | | /** Get the length of the current token. | | * | | */ | | yy_size_t yyget_leng (void) | | { | | return yyleng; | | } | | | | /** Get the current token. | | * | | */ | | | | char *yyget_text (void) | | { | | return yytext; | | } | | | | /** Set the current line number. | | * @param line_number | | * | | */ | | void yyset_lineno (int line_number ) | | { | | | | yylineno = line_number; | | } | | | | /** Set the input stream. This does not discard the current | | * input buffer. | | * @param in_str A readable stream. | | * | | * @see yy_switch_to_buffer | | */ | | void yyset_in (FILE * in_str ) | | { | | yyin = in_str ; | | } | | | | void yyset_out (FILE * out_str ) | | { | | yyout = out_str ; | | } | | | | int yyget_debug (void) | | { | | return yy_flex_debug; | | } | | | | void yyset_debug (int bdebug ) | | { | | yy_flex_debug = bdebug ; | | } | | | | static int yy_init_globals (void) | | { | | /* Initialization is the same as for the non-reentrant scanner. | | * This function is called from yylex_destroy(), so don't allocate here. | | */ | | | | (yy_buffer_stack) = 0; | | (yy_buffer_stack_top) = 0; | | (yy_buffer_stack_max) = 0; | | (yy_c_buf_p) = (char *) 0; | | (yy_init) = 0; | | (yy_start) = 0; | | | | (yy_state_buf) = 0; | | (yy_state_ptr) = 0; | | (yy_full_match) = 0; | | (yy_lp) = 0; | | | | /* Defined in main.c */ | | #ifdef YY_STDINIT | | yyin = stdin; | | yyout = stdout; | | #else | | yyin = (FILE *) 0; | | yyout = (FILE *) 0; | | #endif | | | | /* For future reference: Set errno on error, since we are called by | | * yylex_init() | | */ | | return 0; | | } | | | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | | int yylex_destroy (void) | | { | | | | /* Pop the buffer stack, destroying each element. */ | | while(YY_CURRENT_BUFFER){ | | yy_delete_buffer(YY_CURRENT_BUFFER ); | | YY_CURRENT_BUFFER_LVALUE = NULL; | | yypop_buffer_state(); | | } | | | | /* Destroy the stack itself. */ | | yyfree((yy_buffer_stack) ); | | (yy_buffer_stack) = NULL; | | | | yyfree ( (yy_state_buf) ); | | (yy_state_buf) = NULL; | | | | /* Reset the globals. This is important in a non-reentrant scanner so the next time | | * yylex() is called, initialization will occur. */ | | yy_init_globals( ); | | | | return 0; | | } | | | | /* | | * Internal utility routines. | | */ | | | | #ifndef yytext_ptr | | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) | | { | | register int i; | | for ( i = 0; i < n; ++i ) | | s1[i] = s2[i]; | | } | | #endif | | | | #ifdef YY_NEED_STRLEN | | static int yy_flex_strlen (yyconst char * s ) | | { | | register int n; | | for ( n = 0; s[n]; ++n ) | | ; | | | | return n; | | } | | #endif | | | | void *yyalloc (yy_size_t size ) | | { | | return (void *) malloc( size ); | | } | | | | void *yyrealloc (void * ptr, yy_size_t size ) | | { | | /* The cast to (char *) in the following accommodates both | | * implementations that use char* generic pointers, and those | | * that use void* generic pointers. It works with the latter | | * because both ANSI C and C++ allow castless assignment from | | * any pointer type to void*, and deal with argument conversions | | * as though doing an assignment. | | */ | | return (void *) realloc( (char *) ptr, size ); | | } | | | | void yyfree (void * ptr ) | | { | | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | | } | | | | #define YYTABLES_NAME "yytables" | | | | #line 10 "conftest.l" | | | | | | #ifdef YYTEXT_POINTER | | extern char *yytext; | | #endif | | int | | main (void) | | { | | return ! yylex () + ! yywrap (); | | } | configure:17363: gcc -o conftest -g -O2 conftest.c -lfl >&5 | ld: library not found for -lfl | clang: error: linker command failed with exit code 1 (use -v to see invocation) | configure:17363: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | /* end confdefs.h. */ | | | | #line 3 "lex.yy.c" | | | | #define YY_INT_ALIGNED short int | | | | /* A lexical scanner generated by flex */ | | | | #define FLEX_SCANNER | | #define YY_FLEX_MAJOR_VERSION 2 | | #define YY_FLEX_MINOR_VERSION 5 | | #define YY_FLEX_SUBMINOR_VERSION 35 | | #if YY_FLEX_SUBMINOR_VERSION > 0 | | #define FLEX_BETA | | #endif | | | | /* First, we deal with platform-specific or compiler-specific issues. */ | | | | /* begin standard C headers. */ | | #include | | #include | | #include | | #include | | | | /* end standard C headers. */ | | | | /* flex integer type definitions */ | | | | #ifndef FLEXINT_H | | #define FLEXINT_H | | | | /* C99 systems have . Non-C99 systems may or may not. */ | | | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | | * if you want the limit (max/min) macros for int types. | | */ | | #ifndef __STDC_LIMIT_MACROS | | #define __STDC_LIMIT_MACROS 1 | | #endif | | | | #include | | typedef int8_t flex_int8_t; | | typedef uint8_t flex_uint8_t; | | typedef int16_t flex_int16_t; | | typedef uint16_t flex_uint16_t; | | typedef int32_t flex_int32_t; | | typedef uint32_t flex_uint32_t; | | typedef uint64_t flex_uint64_t; | | #else | | typedef signed char flex_int8_t; | | typedef short int flex_int16_t; | | typedef int flex_int32_t; | | typedef unsigned char flex_uint8_t; | | typedef unsigned short int flex_uint16_t; | | typedef unsigned int flex_uint32_t; | | #endif /* ! C99 */ | | | | /* Limits of integral types. */ | | #ifndef INT8_MIN | | #define INT8_MIN (-128) | | #endif | | #ifndef INT16_MIN | | #define INT16_MIN (-32767-1) | | #endif | | #ifndef INT32_MIN | | #define INT32_MIN (-2147483647-1) | | #endif | | #ifndef INT8_MAX | | #define INT8_MAX (127) | | #endif | | #ifndef INT16_MAX | | #define INT16_MAX (32767) | | #endif | | #ifndef INT32_MAX | | #define INT32_MAX (2147483647) | | #endif | | #ifndef UINT8_MAX | | #define UINT8_MAX (255U) | | #endif | | #ifndef UINT16_MAX | | #define UINT16_MAX (65535U) | | #endif | | #ifndef UINT32_MAX | | #define UINT32_MAX (4294967295U) | | #endif | | | | #endif /* ! FLEXINT_H */ | | | | #ifdef __cplusplus | | | | /* The "const" storage-class-modifier is valid. */ | | #define YY_USE_CONST | | | | #else /* ! __cplusplus */ | | | | /* C99 requires __STDC__ to be defined as 1. */ | | #if defined (__STDC__) | | | | #define YY_USE_CONST | | | | #endif /* defined (__STDC__) */ | | #endif /* ! __cplusplus */ | | | | #ifdef YY_USE_CONST | | #define yyconst const | | #else | | #define yyconst | | #endif | | | | /* Returned upon end-of-file. */ | | #define YY_NULL 0 | | | | /* Promotes a possibly negative, possibly signed char to an unsigned | | * integer for use as an array index. If the signed char is negative, | | * we want to instead treat it as an 8-bit unsigned char, hence the | | * double cast. | | */ | | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) | | | | /* Enter a start condition. This macro really ought to take a parameter, | | * but we do it the disgusting crufty way forced on us by the ()-less | | * definition of BEGIN. | | */ | | #define BEGIN (yy_start) = 1 + 2 * | | | | /* Translate the current start state into a value that can be later handed | | * to BEGIN to return to the state. The YYSTATE alias is for lex | | * compatibility. | | */ | | #define YY_START (((yy_start) - 1) / 2) | | #define YYSTATE YY_START | | | | /* Action number for EOF rule of a given start state. */ | | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | | | | /* Special action meaning "start processing a new file". */ | | #define YY_NEW_FILE yyrestart(yyin ) | | | | #define YY_END_OF_BUFFER_CHAR 0 | | | | /* Size of default input buffer. */ | | #ifndef YY_BUF_SIZE | | #define YY_BUF_SIZE 16384 | | #endif | | | | /* The state buf must be large enough to hold one state per character in the main buffer. | | */ | | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | | | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | | #define YY_TYPEDEF_YY_BUFFER_STATE | | typedef struct yy_buffer_state *YY_BUFFER_STATE; | | #endif | | | | #ifndef YY_TYPEDEF_YY_SIZE_T | | #define YY_TYPEDEF_YY_SIZE_T | | typedef size_t yy_size_t; | | #endif | | | | extern yy_size_t yyleng; | | | | extern FILE *yyin, *yyout; | | | | #define EOB_ACT_CONTINUE_SCAN 0 | | #define EOB_ACT_END_OF_FILE 1 | | #define EOB_ACT_LAST_MATCH 2 | | | | #define YY_LESS_LINENO(n) | | | | /* Return all but the first "n" matched characters back to the input stream. */ | | #define yyless(n) \ | | do \ | | { \ | | /* Undo effects of setting up yytext. */ \ | | int yyless_macro_arg = (n); \ | | YY_LESS_LINENO(yyless_macro_arg);\ | | *yy_cp = (yy_hold_char); \ | | YY_RESTORE_YY_MORE_OFFSET \ | | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | | } \ | | while ( 0 ) | | | | #define unput(c) yyunput( c, (yytext_ptr) ) | | | | #ifndef YY_STRUCT_YY_BUFFER_STATE | | #define YY_STRUCT_YY_BUFFER_STATE | | struct yy_buffer_state | | { | | FILE *yy_input_file; | | | | char *yy_ch_buf; /* input buffer */ | | char *yy_buf_pos; /* current position in input buffer */ | | | | /* Size of input buffer in bytes, not including room for EOB | | * characters. | | */ | | yy_size_t yy_buf_size; | | | | /* Number of characters read into yy_ch_buf, not including EOB | | * characters. | | */ | | yy_size_t yy_n_chars; | | | | /* Whether we "own" the buffer - i.e., we know we created it, | | * and can realloc() it to grow it, and should free() it to | | * delete it. | | */ | | int yy_is_our_buffer; | | | | /* Whether this is an "interactive" input source; if so, and | | * if we're using stdio for input, then we want to use getc() | | * instead of fread(), to make sure we stop fetching input after | | * each newline. | | */ | | int yy_is_interactive; | | | | /* Whether we're considered to be at the beginning of a line. | | * If so, '^' rules will be active on the next match, otherwise | | * not. | | */ | | int yy_at_bol; | | | | int yy_bs_lineno; /**< The line count. */ | | int yy_bs_column; /**< The column count. */ | | | | /* Whether to try to fill the input buffer when we reach the | | * end of it. | | */ | | int yy_fill_buffer; | | | | int yy_buffer_status; | | | | #define YY_BUFFER_NEW 0 | | #define YY_BUFFER_NORMAL 1 | | /* When an EOF's been seen but there's still some text to process | | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | | * shouldn't try reading from the input source any more. We might | | * still have a bunch of tokens to match, though, because of | | * possible backing-up. | | * | | * When we actually see the EOF, we change the status to "new" | | * (via yyrestart()), so that the user can continue scanning by | | * just pointing yyin at a new input file. | | */ | | #define YY_BUFFER_EOF_PENDING 2 | | | | }; | | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | | | | /* Stack of input buffers. */ | | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ | | | | /* We provide macros for accessing buffer states in case in the | | * future we want to put the buffer states in a more general | | * "scanner state". | | * | | * Returns the top of the stack, or NULL. | | */ | | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | | : NULL) | | | | /* Same as previous macro, but useful when we know that the buffer stack is not | | * NULL or when we need an lvalue. For internal use only. | | */ | | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | | | /* yy_hold_char holds the character lost when yytext is formed. */ | | static char yy_hold_char; | | static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ | | yy_size_t yyleng; | | | | /* Points to current character in buffer. */ | | static char *yy_c_buf_p = (char *) 0; | | static int yy_init = 0; /* whether we need to initialize */ | | static int yy_start = 0; /* start state number */ | | | | /* Flag which is used to allow yywrap()'s to do buffer switches | | * instead of setting up a fresh yyin. A bit of a hack ... | | */ | | static int yy_did_buffer_switch_on_eof; | | | | void yyrestart (FILE *input_file ); | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); | | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); | | void yy_delete_buffer (YY_BUFFER_STATE b ); | | void yy_flush_buffer (YY_BUFFER_STATE b ); | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); | | void yypop_buffer_state (void ); | | | | static void yyensure_buffer_stack (void ); | | static void yy_load_buffer_state (void ); | | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); | | | | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) | | | | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); | | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); | | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); | | | | void *yyalloc (yy_size_t ); | | void *yyrealloc (void *,yy_size_t ); | | void yyfree (void * ); | | | | #define yy_new_buffer yy_create_buffer | | | | #define yy_set_interactive(is_interactive) \ | | { \ | | if ( ! YY_CURRENT_BUFFER ){ \ | | yyensure_buffer_stack (); \ | | YY_CURRENT_BUFFER_LVALUE = \ | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ | | } \ | | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | | } | | | | #define yy_set_bol(at_bol) \ | | { \ | | if ( ! YY_CURRENT_BUFFER ){\ | | yyensure_buffer_stack (); \ | | YY_CURRENT_BUFFER_LVALUE = \ | | yy_create_buffer(yyin,YY_BUF_SIZE ); \ | | } \ | | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | | } | | | | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | | | | /* Begin user sect3 */ | | | | typedef unsigned char YY_CHAR; | | | | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; | | | | typedef int yy_state_type; | | | | extern int yylineno; | | | | int yylineno = 1; | | | | extern char *yytext; | | #define yytext_ptr yytext | | | | static yy_state_type yy_get_previous_state (void ); | | static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); | | static int yy_get_next_buffer (void ); | | static void yy_fatal_error (yyconst char msg[] ); | | | | /* Done after the current pattern has been matched and before the | | * corresponding action - sets up yytext. | | */ | | #define YY_DO_BEFORE_ACTION \ | | (yytext_ptr) = yy_bp; \ | | (yytext_ptr) -= (yy_more_len); \ | | yyleng = (yy_size_t) (yy_cp - (yytext_ptr)); \ | | (yy_hold_char) = *yy_cp; \ | | *yy_cp = '\0'; \ | | (yy_c_buf_p) = yy_cp; | | | | #define YY_NUM_RULES 8 | | #define YY_END_OF_BUFFER 9 | | /* This struct is not used in this scanner, | | but its presence is necessary. */ | | struct yy_trans_info | | { | | flex_int32_t yy_verify; | | flex_int32_t yy_nxt; | | }; | | static yyconst flex_int16_t yy_acclist[23] = | | { 0, | | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | | 7, 8 | | } ; | | | | static yyconst flex_int16_t yy_accept[14] = | | { 0, | | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | | 20, 23, 23 | | } ; | | | | static yyconst flex_int32_t yy_ec[256] = | | { 0, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, | | | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1 | | } ; | | | | static yyconst flex_int32_t yy_meta[9] = | | { 0, | | 1, 1, 1, 1, 1, 1, 1, 1 | | } ; | | | | static yyconst flex_int16_t yy_base[13] = | | { 0, | | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | | 10, 10 | | } ; | | | | static yyconst flex_int16_t yy_def[13] = | | { 0, | | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | | 12, 0 | | } ; | | | | static yyconst flex_int16_t yy_nxt[19] = | | { 0, | | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | | 12, 12, 12, 12, 12, 12, 12, 12 | | } ; | | | | static yyconst flex_int16_t yy_chk[19] = | | { 0, | | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | | 12, 12, 12, 12, 12, 12, 12, 12 | | } ; | | | | extern int yy_flex_debug; | | int yy_flex_debug = 0; | | | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | | static char *yy_full_match; | | static int yy_lp; | | #define REJECT \ | | { \ | | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ | | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ | | ++(yy_lp); \ | | goto find_rule; \ | | } | | | | static int yy_more_flag = 0; | | static int yy_more_len = 0; | | #define yymore() ((yy_more_flag) = 1) | | #define YY_MORE_ADJ (yy_more_len) | | #define YY_RESTORE_YY_MORE_OFFSET | | char *yytext; | | #line 1 "conftest.l" | | #line 469 "lex.yy.c" | | | | #define INITIAL 0 | | | | #ifndef YY_NO_UNISTD_H | | /* Special case for "unistd.h", since it is non-ANSI. We include it way | | * down here because we want the user's section 1 to have been scanned first. | | * The user has a chance to override it with an option. | | */ | | #include | | #endif | | | | #ifndef YY_EXTRA_TYPE | | #define YY_EXTRA_TYPE void * | | #endif | | | | static int yy_init_globals (void ); | | | | /* Accessor methods to globals. | | These are made visible to non-reentrant scanners for convenience. */ | | | | int yylex_destroy (void ); | | | | int yyget_debug (void ); | | | | void yyset_debug (int debug_flag ); | | | | YY_EXTRA_TYPE yyget_extra (void ); | | | | void yyset_extra (YY_EXTRA_TYPE user_defined ); | | | | FILE *yyget_in (void ); | | | | void yyset_in (FILE * in_str ); | | | | FILE *yyget_out (void ); | | | | void yyset_out (FILE * out_str ); | | | | yy_size_t yyget_leng (void ); | | | | char *yyget_text (void ); | | | | int yyget_lineno (void ); | | | | void yyset_lineno (int line_number ); | | | | /* Macros after this point can all be overridden by user definitions in | | * section 1. | | */ | | | | #ifndef YY_SKIP_YYWRAP | | #ifdef __cplusplus | | extern "C" int yywrap (void ); | | #else | | extern int yywrap (void ); | | #endif | | #endif | | | | static void yyunput (int c,char *buf_ptr ); | | | | #ifndef yytext_ptr | | static void yy_flex_strncpy (char *,yyconst char *,int ); | | #endif | | | | #ifdef YY_NEED_STRLEN | | static int yy_flex_strlen (yyconst char * ); | | #endif | | | | #ifndef YY_NO_INPUT | | | | #ifdef __cplusplus | | static int yyinput (void ); | | #else | | static int input (void ); | | #endif | | | | #endif | | | | /* Amount of stuff to slurp up with each read. */ | | #ifndef YY_READ_BUF_SIZE | | #define YY_READ_BUF_SIZE 8192 | | #endif | | | | /* Copy whatever the last rule matched to the standard output. */ | | #ifndef ECHO | | /* This used to be an fputs(), but since the string might contain NUL's, | | * we now use fwrite(). | | */ | | #define ECHO fwrite( yytext, yyleng, 1, yyout ) | | #endif | | | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | | * is returned in "result". | | */ | | #ifndef YY_INPUT | | #define YY_INPUT(buf,result,max_size) \ | | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | | { \ | | int c = '*'; \ | | yy_size_t n; \ | | for ( n = 0; n < max_size && \ | | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | | buf[n] = (char) c; \ | | if ( c == '\n' ) \ | | buf[n++] = (char) c; \ | | if ( c == EOF && ferror( yyin ) ) \ | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | | result = n; \ | | } \ | | else \ | | { \ | | errno=0; \ | | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ | | { \ | | if( errno != EINTR) \ | | { \ | | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | | break; \ | | } \ | | errno=0; \ | | clearerr(yyin); \ | | } \ | | }\ | | \ | | | | #endif | | | | /* No semi-colon after return; correct usage is to write "yyterminate();" - | | * we don't want an extra ';' after the "return" because that will cause | | * some compilers to complain about unreachable statements. | | */ | | #ifndef yyterminate | | #define yyterminate() return YY_NULL | | #endif | | | | /* Number of entries by which start-condition stack grows. */ | | #ifndef YY_START_STACK_INCR | | #define YY_START_STACK_INCR 25 | | #endif | | | | /* Report a fatal error. */ | | #ifndef YY_FATAL_ERROR | | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | | #endif | | | | /* end tables serialization structures and prototypes */ | | | | /* Default declaration of generated scanner - a define so the user can | | * easily add parameters. | | */ | | #ifndef YY_DECL | | #define YY_DECL_IS_OURS 1 | | | | extern int yylex (void); | | | | #define YY_DECL int yylex (void) | | #endif /* !YY_DECL */ | | | | /* Code executed at the beginning of each rule, after yytext and yyleng | | * have been set up. | | */ | | #ifndef YY_USER_ACTION | | #define YY_USER_ACTION | | #endif | | | | /* Code executed at the end of each rule. */ | | #ifndef YY_BREAK | | #define YY_BREAK break; | | #endif | | | | #define YY_RULE_SETUP \ | | YY_USER_ACTION | | | | /** The main scanner function which does all the work. | | */ | | YY_DECL | | { | | register yy_state_type yy_current_state; | | register char *yy_cp, *yy_bp; | | register int yy_act; | | | | #line 1 "conftest.l" | | | | #line 653 "lex.yy.c" | | | | if ( !(yy_init) ) | | { | | (yy_init) = 1; | | | | #ifdef YY_USER_INIT | | YY_USER_INIT; | | #endif | | | | /* Create the reject buffer large enough to save one state per allowed character. */ | | if ( ! (yy_state_buf) ) | | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); | | if ( ! (yy_state_buf) ) | | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | | | | if ( ! (yy_start) ) | | (yy_start) = 1; /* first start state */ | | | | if ( ! yyin ) | | yyin = stdin; | | | | if ( ! yyout ) | | yyout = stdout; | | | | if ( ! YY_CURRENT_BUFFER ) { | | yyensure_buffer_stack (); | | YY_CURRENT_BUFFER_LVALUE = | | yy_create_buffer(yyin,YY_BUF_SIZE ); | | } | | | | yy_load_buffer_state( ); | | } | | | | while ( 1 ) /* loops until end-of-file is reached */ | | { | | (yy_more_len) = 0; | | if ( (yy_more_flag) ) | | { | | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); | | (yy_more_flag) = 0; | | } | | yy_cp = (yy_c_buf_p); | | | | /* Support of yytext. */ | | *yy_cp = (yy_hold_char); | | | | /* yy_bp points to the position in yy_ch_buf of the start of | | * the current run. | | */ | | yy_bp = yy_cp; | | | | yy_current_state = (yy_start); | | | | (yy_state_ptr) = (yy_state_buf); | | *(yy_state_ptr)++ = yy_current_state; | | | | yy_match: | | do | | { | | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | { | | yy_current_state = (int) yy_def[yy_current_state]; | | if ( yy_current_state >= 13 ) | | yy_c = yy_meta[(unsigned int) yy_c]; | | } | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | *(yy_state_ptr)++ = yy_current_state; | | ++yy_cp; | | } | | while ( yy_base[yy_current_state] != 10 ); | | | | yy_find_action: | | yy_current_state = *--(yy_state_ptr); | | (yy_lp) = yy_accept[yy_current_state]; | | goto find_rule; /* Shut up GCC warning -Wall */ | | find_rule: /* we branch to this label when backing up */ | | for ( ; ; ) /* until we find what rule we matched */ | | { | | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | | { | | yy_act = yy_acclist[(yy_lp)]; | | { | | (yy_full_match) = yy_cp; | | break; | | } | | } | | --yy_cp; | | yy_current_state = *--(yy_state_ptr); | | (yy_lp) = yy_accept[yy_current_state]; | | } | | | | YY_DO_BEFORE_ACTION; | | | | do_action: /* This label is used only to access EOF actions. */ | | | | switch ( yy_act ) | | { /* beginning of action switch */ | | case 1: | | YY_RULE_SETUP | | #line 2 "conftest.l" | | { ECHO; } | | YY_BREAK | | case 2: | | YY_RULE_SETUP | | #line 3 "conftest.l" | | { REJECT; } | | YY_BREAK | | case 3: | | YY_RULE_SETUP | | #line 4 "conftest.l" | | { yymore (); } | | YY_BREAK | | case 4: | | YY_RULE_SETUP | | #line 5 "conftest.l" | | { yyless (1); } | | YY_BREAK | | case 5: | | YY_RULE_SETUP | | #line 6 "conftest.l" | | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ | | yyless ((input () != 0)); } | | YY_BREAK | | case 6: | | YY_RULE_SETUP | | #line 8 "conftest.l" | | { unput (yytext[0]); } | | YY_BREAK | | case 7: | | YY_RULE_SETUP | | #line 9 "conftest.l" | | { BEGIN INITIAL; } | | YY_BREAK | | case 8: | | YY_RULE_SETUP | | #line 10 "conftest.l" | | ECHO; | | YY_BREAK | | #line 793 "lex.yy.c" | | case YY_STATE_EOF(INITIAL): | | yyterminate(); | | | | case YY_END_OF_BUFFER: | | { | | /* Amount of text matched not including the EOB char. */ | | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | | *yy_cp = (yy_hold_char); | | YY_RESTORE_YY_MORE_OFFSET | | | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | | { | | /* We're scanning a new file or input source. It's | | * possible that this happened because the user | | * just pointed yyin at a new source and called | | * yylex(). If so, then we have to assure | | * consistency between YY_CURRENT_BUFFER and our | | * globals. Here is the right place to do so, because | | * this is the first action (other than possibly a | | * back-up) that will match for the new input source. | | */ | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | | } | | | | /* Note that here we test for yy_c_buf_p "<=" to the position | | * of the first EOB in the buffer, since yy_c_buf_p will | | * already have been incremented past the NUL character | | * (since all states make transitions on EOB to the | | * end-of-buffer state). Contrast this with the test | | * in input(). | | */ | | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | | { /* This was really a NUL. */ | | yy_state_type yy_next_state; | | | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | | | | yy_current_state = yy_get_previous_state( ); | | | | /* Okay, we're now positioned to make the NUL | | * transition. We couldn't have | | * yy_get_previous_state() go ahead and do it | | * for us because it doesn't know how to deal | | * with the possibility of jamming (and we don't | | * want to build jamming into it because then it | | * will run more slowly). | | */ | | | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | | | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | | | if ( yy_next_state ) | | { | | /* Consume the NUL. */ | | yy_cp = ++(yy_c_buf_p); | | yy_current_state = yy_next_state; | | goto yy_match; | | } | | | | else | | { | | yy_cp = (yy_c_buf_p); | | goto yy_find_action; | | } | | } | | | | else switch ( yy_get_next_buffer( ) ) | | { | | case EOB_ACT_END_OF_FILE: | | { | | (yy_did_buffer_switch_on_eof) = 0; | | | | if ( yywrap( ) ) | | { | | /* Note: because we've taken care in | | * yy_get_next_buffer() to have set up | | * yytext, we can now set up | | * yy_c_buf_p so that if some total | | * hoser (like flex itself) wants to | | * call the scanner after we return the | | * YY_NULL, it'll still work - another | | * YY_NULL will get returned. | | */ | | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | | | yy_act = YY_STATE_EOF(YY_START); | | goto do_action; | | } | | | | else | | { | | if ( ! (yy_did_buffer_switch_on_eof) ) | | YY_NEW_FILE; | | } | | break; | | } | | | | case EOB_ACT_CONTINUE_SCAN: | | (yy_c_buf_p) = | | (yytext_ptr) + yy_amount_of_matched_text; | | | | yy_current_state = yy_get_previous_state( ); | | | | yy_cp = (yy_c_buf_p); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | goto yy_match; | | | | case EOB_ACT_LAST_MATCH: | | (yy_c_buf_p) = | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | | | | yy_current_state = yy_get_previous_state( ); | | | | yy_cp = (yy_c_buf_p); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | goto yy_find_action; | | } | | break; | | } | | | | default: | | YY_FATAL_ERROR( | | "fatal flex scanner internal error--no action found" ); | | } /* end of action switch */ | | } /* end of scanning one token */ | | } /* end of yylex */ | | | | /* yy_get_next_buffer - try to read in a new buffer | | * | | * Returns a code representing an action: | | * EOB_ACT_LAST_MATCH - | | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | | * EOB_ACT_END_OF_FILE - end of file | | */ | | static int yy_get_next_buffer (void) | | { | | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | | register char *source = (yytext_ptr); | | register int number_to_move, i; | | int ret_val; | | | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | | YY_FATAL_ERROR( | | "fatal flex scanner internal error--end of buffer missed" ); | | | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | | { /* Don't try to fill the buffer, so this is an EOF. */ | | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | | { | | /* We matched a single character, the EOB, so | | * treat this as a final EOF. | | */ | | return EOB_ACT_END_OF_FILE; | | } | | | | else | | { | | /* We matched some text prior to the EOB, first | | * process it. | | */ | | return EOB_ACT_LAST_MATCH; | | } | | } | | | | /* Try to read more data. */ | | | | /* First move last chars to start of buffer. */ | | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; | | | | for ( i = 0; i < number_to_move; ++i ) | | *(dest++) = *(source++); | | | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | | /* don't do the read, it's not guaranteed to return an EOF, | | * just force an EOF | | */ | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | | | else | | { | | yy_size_t num_to_read = | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | | | while ( num_to_read <= 0 ) | | { /* Not enough room in the buffer - grow it. */ | | | | YY_FATAL_ERROR( | | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); | | | | } | | | | if ( num_to_read > YY_READ_BUF_SIZE ) | | num_to_read = YY_READ_BUF_SIZE; | | | | /* Read in more data. */ | | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | | (yy_n_chars), num_to_read ); | | | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | | } | | | | if ( (yy_n_chars) == 0 ) | | { | | if ( number_to_move == YY_MORE_ADJ ) | | { | | ret_val = EOB_ACT_END_OF_FILE; | | yyrestart(yyin ); | | } | | | | else | | { | | ret_val = EOB_ACT_LAST_MATCH; | | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | | YY_BUFFER_EOF_PENDING; | | } | | } | | | | else | | ret_val = EOB_ACT_CONTINUE_SCAN; | | | | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | | /* Extend the array by 50%, plus the number we really need. */ | | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); | | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | | } | | | | (yy_n_chars) += number_to_move; | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | | | return ret_val; | | } | | | | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | | | static yy_state_type yy_get_previous_state (void) | | { | | register yy_state_type yy_current_state; | | register char *yy_cp; | | | | yy_current_state = (yy_start); | | | | (yy_state_ptr) = (yy_state_buf); | | *(yy_state_ptr)++ = yy_current_state; | | | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | | { | | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | { | | yy_current_state = (int) yy_def[yy_current_state]; | | if ( yy_current_state >= 13 ) | | yy_c = yy_meta[(unsigned int) yy_c]; | | } | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | *(yy_state_ptr)++ = yy_current_state; | | } | | | | return yy_current_state; | | } | | | | /* yy_try_NUL_trans - try to make a transition on the NUL character | | * | | * synopsis | | * next_state = yy_try_NUL_trans( current_state ); | | */ | | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | | { | | register int yy_is_jam; | | | | register YY_CHAR yy_c = 1; | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | { | | yy_current_state = (int) yy_def[yy_current_state]; | | if ( yy_current_state >= 13 ) | | yy_c = yy_meta[(unsigned int) yy_c]; | | } | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | yy_is_jam = (yy_current_state == 12); | | if ( ! yy_is_jam ) | | *(yy_state_ptr)++ = yy_current_state; | | | | return yy_is_jam ? 0 : yy_current_state; | | } | | | | static void yyunput (int c, register char * yy_bp ) | | { | | register char *yy_cp; | | | | yy_cp = (yy_c_buf_p); | | | | /* undo effects of setting up yytext */ | | *yy_cp = (yy_hold_char); | | | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | | { /* need to shift things up to make room */ | | /* +2 for EOB chars. */ | | register yy_size_t number_to_move = (yy_n_chars) + 2; | | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | | register char *source = | | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | | | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | | *--dest = *--source; | | | | yy_cp += (int) (dest - source); | | yy_bp += (int) (dest - source); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | | | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | | } | | | | *--yy_cp = (char) c; | | | | (yytext_ptr) = yy_bp; | | (yy_hold_char) = *yy_cp; | | (yy_c_buf_p) = yy_cp; | | } | | | | #ifndef YY_NO_INPUT | | #ifdef __cplusplus | | static int yyinput (void) | | #else | | static int input (void) | | #endif | | | | { | | int c; | | | | *(yy_c_buf_p) = (yy_hold_char); | | | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | | { | | /* yy_c_buf_p now points to the character we want to return. | | * If this occurs *before* the EOB characters, then it's a | | * valid NUL; if not, then we've hit the end of the buffer. | | */ | | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | | /* This was really a NUL. */ | | *(yy_c_buf_p) = '\0'; | | | | else | | { /* need more input */ | | yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); | | ++(yy_c_buf_p); | | | | switch ( yy_get_next_buffer( ) ) | | { | | case EOB_ACT_LAST_MATCH: | | /* This happens because yy_g_n_b() | | * sees that we've accumulated a | | * token and flags that we need to | | * try matching the token before | | * proceeding. But for input(), | | * there's no matching to consider. | | * So convert the EOB_ACT_LAST_MATCH | | * to EOB_ACT_END_OF_FILE. | | */ | | | | /* Reset buffer status. */ | | yyrestart(yyin ); | | | | /*FALLTHROUGH*/ | | | | case EOB_ACT_END_OF_FILE: | | { | | if ( yywrap( ) ) | | return 0; | | | | if ( ! (yy_did_buffer_switch_on_eof) ) | | YY_NEW_FILE; | | #ifdef __cplusplus | | return yyinput(); | | #else | | return input(); | | #endif | | } | | | | case EOB_ACT_CONTINUE_SCAN: | | (yy_c_buf_p) = (yytext_ptr) + offset; | | break; | | } | | } | | } | | | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | | (yy_hold_char) = *++(yy_c_buf_p); | | | | return c; | | } | | #endif /* ifndef YY_NO_INPUT */ | | | | /** Immediately switch to a different input stream. | | * @param input_file A readable stream. | | * | | * @note This function does not reset the start condition to @c INITIAL . | | */ | | void yyrestart (FILE * input_file ) | | { | | | | if ( ! YY_CURRENT_BUFFER ){ | | yyensure_buffer_stack (); | | YY_CURRENT_BUFFER_LVALUE = | | yy_create_buffer(yyin,YY_BUF_SIZE ); | | } | | | | yy_init_buffer(YY_CURRENT_BUFFER,input_file ); | | yy_load_buffer_state( ); | | } | | | | /** Switch to a different input buffer. | | * @param new_buffer The new input buffer. | | * | | */ | | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | | { | | | | /* TODO. We should be able to replace this entire function body | | * with | | * yypop_buffer_state(); | | * yypush_buffer_state(new_buffer); | | */ | | yyensure_buffer_stack (); | | if ( YY_CURRENT_BUFFER == new_buffer ) | | return; | | | | if ( YY_CURRENT_BUFFER ) | | { | | /* Flush out information for old buffer. */ | | *(yy_c_buf_p) = (yy_hold_char); | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | | } | | | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | yy_load_buffer_state( ); | | | | /* We don't actually know whether we did this switch during | | * EOF (yywrap()) processing, but the only time this flag | | * is looked at is after yywrap() is called, so it's safe | | * to go ahead and always set it. | | */ | | (yy_did_buffer_switch_on_eof) = 1; | | } | | | | static void yy_load_buffer_state (void) | | { | | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | | (yy_hold_char) = *(yy_c_buf_p); | | } | | | | /** Allocate and initialize an input buffer state. | | * @param file A readable stream. | | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | | * | | * @return the allocated buffer state. | | */ | | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | | { | | YY_BUFFER_STATE b; | | | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | | if ( ! b ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | | | b->yy_buf_size = size; | | | | /* yy_ch_buf has to be 2 characters longer than the size given because | | * we need to put in 2 end-of-buffer characters. | | */ | | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); | | if ( ! b->yy_ch_buf ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | | | b->yy_is_our_buffer = 1; | | | | yy_init_buffer(b,file ); | | | | return b; | | } | | | | /** Destroy the buffer. | | * @param b a buffer created with yy_create_buffer() | | * | | */ | | void yy_delete_buffer (YY_BUFFER_STATE b ) | | { | | | | if ( ! b ) | | return; | | | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | | | if ( b->yy_is_our_buffer ) | | yyfree((void *) b->yy_ch_buf ); | | | | yyfree((void *) b ); | | } | | | | #ifndef __cplusplus | | extern int isatty (int ); | | #endif /* __cplusplus */ | | | | /* Initializes or reinitializes a buffer. | | * This function is sometimes called more than once on the same buffer, | | * such as during a yyrestart() or at EOF. | | */ | | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | | | | { | | int oerrno = errno; | | | | yy_flush_buffer(b ); | | | | b->yy_input_file = file; | | b->yy_fill_buffer = 1; | | | | /* If b is the current buffer, then yy_init_buffer was _probably_ | | * called from yyrestart() or through yy_get_next_buffer. | | * In that case, we don't want to reset the lineno or column. | | */ | | if (b != YY_CURRENT_BUFFER){ | | b->yy_bs_lineno = 1; | | b->yy_bs_column = 0; | | } | | | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | | | | errno = oerrno; | | } | | | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | | * | | */ | | void yy_flush_buffer (YY_BUFFER_STATE b ) | | { | | if ( ! b ) | | return; | | | | b->yy_n_chars = 0; | | | | /* We always need two end-of-buffer characters. The first causes | | * a transition to the end-of-buffer state. The second causes | | * a jam in that state. | | */ | | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | | | | b->yy_buf_pos = &b->yy_ch_buf[0]; | | | | b->yy_at_bol = 1; | | b->yy_buffer_status = YY_BUFFER_NEW; | | | | if ( b == YY_CURRENT_BUFFER ) | | yy_load_buffer_state( ); | | } | | | | /** Pushes the new state onto the stack. The new state becomes | | * the current state. This function will allocate the stack | | * if necessary. | | * @param new_buffer The new state. | | * | | */ | | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | | { | | if (new_buffer == NULL) | | return; | | | | yyensure_buffer_stack(); | | | | /* This block is copied from yy_switch_to_buffer. */ | | if ( YY_CURRENT_BUFFER ) | | { | | /* Flush out information for old buffer. */ | | *(yy_c_buf_p) = (yy_hold_char); | | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | | } | | | | /* Only push if top exists. Otherwise, replace top. */ | | if (YY_CURRENT_BUFFER) | | (yy_buffer_stack_top)++; | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | | | /* copied from yy_switch_to_buffer. */ | | yy_load_buffer_state( ); | | (yy_did_buffer_switch_on_eof) = 1; | | } | | | | /** Removes and deletes the top of the stack, if present. | | * The next element becomes the new top. | | * | | */ | | void yypop_buffer_state (void) | | { | | if (!YY_CURRENT_BUFFER) | | return; | | | | yy_delete_buffer(YY_CURRENT_BUFFER ); | | YY_CURRENT_BUFFER_LVALUE = NULL; | | if ((yy_buffer_stack_top) > 0) | | --(yy_buffer_stack_top); | | | | if (YY_CURRENT_BUFFER) { | | yy_load_buffer_state( ); | | (yy_did_buffer_switch_on_eof) = 1; | | } | | } | | | | /* Allocates the stack if it does not exist. | | * Guarantees space for at least one push. | | */ | | static void yyensure_buffer_stack (void) | | { | | yy_size_t num_to_alloc; | | | | if (!(yy_buffer_stack)) { | | | | /* First allocation is just for 2 elements, since we don't know if this | | * scanner will even need a stack. We use 2 instead of 1 to avoid an | | * immediate realloc on the next call. | | */ | | num_to_alloc = 1; | | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | | (num_to_alloc * sizeof(struct yy_buffer_state*) | | ); | | if ( ! (yy_buffer_stack) ) | | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | | | | (yy_buffer_stack_max) = num_to_alloc; | | (yy_buffer_stack_top) = 0; | | return; | | } | | | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | | | | /* Increase the buffer to prepare for a possible push. */ | | int grow_size = 8 /* arbitrary grow size */; | | | | num_to_alloc = (yy_buffer_stack_max) + grow_size; | | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | | ((yy_buffer_stack), | | num_to_alloc * sizeof(struct yy_buffer_state*) | | ); | | if ( ! (yy_buffer_stack) ) | | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | | | /* zero only the new slots.*/ | | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | | (yy_buffer_stack_max) = num_to_alloc; | | } | | } | | | | /** Setup the input buffer state to scan directly from a user-specified character buffer. | | * @param base the character buffer | | * @param size the size in bytes of the character buffer | | * | | * @return the newly allocated buffer state object. | | */ | | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | | { | | YY_BUFFER_STATE b; | | | | if ( size < 2 || | | base[size-2] != YY_END_OF_BUFFER_CHAR || | | base[size-1] != YY_END_OF_BUFFER_CHAR ) | | /* They forgot to leave room for the EOB's. */ | | return 0; | | | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | | if ( ! b ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | | | | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ | | b->yy_buf_pos = b->yy_ch_buf = base; | | b->yy_is_our_buffer = 0; | | b->yy_input_file = 0; | | b->yy_n_chars = b->yy_buf_size; | | b->yy_is_interactive = 0; | | b->yy_at_bol = 1; | | b->yy_fill_buffer = 0; | | b->yy_buffer_status = YY_BUFFER_NEW; | | | | yy_switch_to_buffer(b ); | | | | return b; | | } | | | | /** Setup the input buffer state to scan a string. The next call to yylex() will | | * scan from a @e copy of @a str. | | * @param yystr a NUL-terminated string to scan | | * | | * @return the newly allocated buffer state object. | | * @note If you want to scan bytes that may contain NUL values, then use | | * yy_scan_bytes() instead. | | */ | | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) | | { | | | | return yy_scan_bytes(yystr,strlen(yystr) ); | | } | | | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | | * scan from a @e copy of @a bytes. | | * @param bytes the byte buffer to scan | | * @param len the number of bytes in the buffer pointed to by @a bytes. | | * | | * @return the newly allocated buffer state object. | | */ | | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) | | { | | YY_BUFFER_STATE b; | | char *buf; | | yy_size_t n, i; | | | | /* Get memory for full buffer, including space for trailing EOB's. */ | | n = _yybytes_len + 2; | | buf = (char *) yyalloc(n ); | | if ( ! buf ) | | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | | | | for ( i = 0; i < _yybytes_len; ++i ) | | buf[i] = yybytes[i]; | | | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | | | | b = yy_scan_buffer(buf,n ); | | if ( ! b ) | | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | | | | /* It's okay to grow etc. this buffer, and we should throw it | | * away when we're done. | | */ | | b->yy_is_our_buffer = 1; | | | | return b; | | } | | | | #ifndef YY_EXIT_FAILURE | | #define YY_EXIT_FAILURE 2 | | #endif | | | | static void yy_fatal_error (yyconst char* msg ) | | { | | (void) fprintf( stderr, "%s\n", msg ); | | exit( YY_EXIT_FAILURE ); | | } | | | | /* Redefine yyless() so it works in section 3 code. */ | | | | #undef yyless | | #define yyless(n) \ | | do \ | | { \ | | /* Undo effects of setting up yytext. */ \ | | int yyless_macro_arg = (n); \ | | YY_LESS_LINENO(yyless_macro_arg);\ | | yytext[yyleng] = (yy_hold_char); \ | | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | | (yy_hold_char) = *(yy_c_buf_p); \ | | *(yy_c_buf_p) = '\0'; \ | | yyleng = yyless_macro_arg; \ | | } \ | | while ( 0 ) | | | | /* Accessor methods (get/set functions) to struct members. */ | | | | /** Get the current line number. | | * | | */ | | int yyget_lineno (void) | | { | | | | return yylineno; | | } | | | | /** Get the input stream. | | * | | */ | | FILE *yyget_in (void) | | { | | return yyin; | | } | | | | /** Get the output stream. | | * | | */ | | FILE *yyget_out (void) | | { | | return yyout; | | } | | | | /** Get the length of the current token. | | * | | */ | | yy_size_t yyget_leng (void) | | { | | return yyleng; | | } | | | | /** Get the current token. | | * | | */ | | | | char *yyget_text (void) | | { | | return yytext; | | } | | | | /** Set the current line number. | | * @param line_number | | * | | */ | | void yyset_lineno (int line_number ) | | { | | | | yylineno = line_number; | | } | | | | /** Set the input stream. This does not discard the current | | * input buffer. | | * @param in_str A readable stream. | | * | | * @see yy_switch_to_buffer | | */ | | void yyset_in (FILE * in_str ) | | { | | yyin = in_str ; | | } | | | | void yyset_out (FILE * out_str ) | | { | | yyout = out_str ; | | } | | | | int yyget_debug (void) | | { | | return yy_flex_debug; | | } | | | | void yyset_debug (int bdebug ) | | { | | yy_flex_debug = bdebug ; | | } | | | | static int yy_init_globals (void) | | { | | /* Initialization is the same as for the non-reentrant scanner. | | * This function is called from yylex_destroy(), so don't allocate here. | | */ | | | | (yy_buffer_stack) = 0; | | (yy_buffer_stack_top) = 0; | | (yy_buffer_stack_max) = 0; | | (yy_c_buf_p) = (char *) 0; | | (yy_init) = 0; | | (yy_start) = 0; | | | | (yy_state_buf) = 0; | | (yy_state_ptr) = 0; | | (yy_full_match) = 0; | | (yy_lp) = 0; | | | | /* Defined in main.c */ | | #ifdef YY_STDINIT | | yyin = stdin; | | yyout = stdout; | | #else | | yyin = (FILE *) 0; | | yyout = (FILE *) 0; | | #endif | | | | /* For future reference: Set errno on error, since we are called by | | * yylex_init() | | */ | | return 0; | | } | | | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | | int yylex_destroy (void) | | { | | | | /* Pop the buffer stack, destroying each element. */ | | while(YY_CURRENT_BUFFER){ | | yy_delete_buffer(YY_CURRENT_BUFFER ); | | YY_CURRENT_BUFFER_LVALUE = NULL; | | yypop_buffer_state(); | | } | | | | /* Destroy the stack itself. */ | | yyfree((yy_buffer_stack) ); | | (yy_buffer_stack) = NULL; | | | | yyfree ( (yy_state_buf) ); | | (yy_state_buf) = NULL; | | | | /* Reset the globals. This is important in a non-reentrant scanner so the next time | | * yylex() is called, initialization will occur. */ | | yy_init_globals( ); | | | | return 0; | | } | | | | /* | | * Internal utility routines. | | */ | | | | #ifndef yytext_ptr | | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) | | { | | register int i; | | for ( i = 0; i < n; ++i ) | | s1[i] = s2[i]; | | } | | #endif | | | | #ifdef YY_NEED_STRLEN | | static int yy_flex_strlen (yyconst char * s ) | | { | | register int n; | | for ( n = 0; s[n]; ++n ) | | ; | | | | return n; | | } | | #endif | | | | void *yyalloc (yy_size_t size ) | | { | | return (void *) malloc( size ); | | } | | | | void *yyrealloc (void * ptr, yy_size_t size ) | | { | | /* The cast to (char *) in the following accommodates both | | * implementations that use char* generic pointers, and those | | * that use void* generic pointers. It works with the latter | | * because both ANSI C and C++ allow castless assignment from | | * any pointer type to void*, and deal with argument conversions | | * as though doing an assignment. | | */ | | return (void *) realloc( (char *) ptr, size ); | | } | | | | void yyfree (void * ptr ) | | { | | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | | } | | | | #define YYTABLES_NAME "yytables" | | | | #line 10 "conftest.l" | | | | | | #ifdef YYTEXT_POINTER | | extern char *yytext; | | #endif | | int | | main (void) | | { | | return ! yylex () + ! yywrap (); | | } | configure:17363: gcc -o conftest -g -O2 conftest.c -ll >&5 | configure:17363: $? = 0 | configure:17373: result: -ll | configure:17379: checking whether yytext is a pointer | configure:17396: gcc -o conftest -g -O2 conftest.c -ll >&5 | configure:17396: $? = 0 | configure:17404: result: yes | configure:17440: checking for bison | configure:17456: found /Users/vskorole/opendap/hyrax/build/deps/bin/bison | configure:17467: result: bison | configure:17478: checking for library containing uuid_generate | configure:17509: gcc -o conftest -g -O2 conftest.c >&5 | configure:17509: $? = 0 | configure:17526: result: none required | configure:17539: checking for valgrind | configure:17555: found /usr/local/bin/valgrind | configure:17566: result: valgrind --logfile=memcheck | configure:17577: checking for perl | configure:17593: found /usr/bin/perl | configure:17604: result: /usr/bin/perl | configure:17615: checking for curl | configure:17634: found /usr/bin/curl | configure:17647: result: /usr/bin/curl | configure:17658: checking curl/curl.h usability | configure:17658: gcc -c -g -O2 conftest.c >&5 | configure:17658: $? = 0 | configure:17658: result: yes | configure:17658: checking curl/curl.h presence | configure:17658: gcc -E conftest.c | configure:17658: $? = 0 | configure:17658: result: yes | configure:17658: checking for curl/curl.h | configure:17658: result: yes | configure:17670: checking curl/multi.h usability | configure:17670: gcc -c -g -O2 conftest.c >&5 | configure:17670: $? = 0 | configure:17670: result: yes | configure:17670: checking curl/multi.h presence | configure:17670: gcc -E conftest.c | configure:17670: $? = 0 | configure:17670: result: yes | configure:17670: checking for curl/multi.h | configure:17670: result: yes | configure:17681: checking for library containing curl_multi_wait | configure:17712: gcc -o conftest -g -O2 conftest.c >&5 | Undefined symbols for architecture x86_64: | "_curl_multi_wait", referenced from: | _main in conftest-5d66dc.o | ld: symbol(s) not found for architecture x86_64 | clang: error: linker command failed with exit code 1 (use -v to see invocation) | configure:17712: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | /* end confdefs.h. */ | | | | /* Override any GCC internal prototype to avoid an error. | | Use char because int might match the return type of a GCC | | builtin and then its argument prototype would still apply. */ | | #ifdef __cplusplus | | extern "C" | | #endif | | char curl_multi_wait (); | | int | | main () | | { | | return curl_multi_wait (); | | ; | | return 0; | | } | configure:17712: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:17712: $? = 0 | configure:17729: result: -lcurl | configure:17740: checking for ANSI C header files | configure:17844: result: yes | configure:17858: checking for fcntl.h | configure:17858: gcc -c -g -O2 conftest.c >&5 | configure:17858: $? = 0 | configure:17858: result: yes | configure:17858: checking for float.h | configure:17858: gcc -c -g -O2 conftest.c >&5 | configure:17858: $? = 0 | configure:17858: result: yes | configure:17858: checking for malloc.h | configure:17858: gcc -c -g -O2 conftest.c >&5 | conftest.c:66:10: fatal error: 'malloc.h' file not found | #include | ^~~~~~~~~~ | 1 error generated. | configure:17858: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | /* end confdefs.h. */ | | #include | | #ifdef HAVE_SYS_TYPES_H | | # include | | #endif | | #ifdef HAVE_SYS_STAT_H | | # include | | #endif | | #ifdef STDC_HEADERS | | # include | | # include | | #else | | # ifdef HAVE_STDLIB_H | | # include | | # endif | | #endif | | #ifdef HAVE_STRING_H | | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | | # include | | # endif | | # include | | #endif | | #ifdef HAVE_STRINGS_H | | # include | | #endif | | #ifdef HAVE_INTTYPES_H | | # include | | #endif | | #ifdef HAVE_STDINT_H | | # include | | #endif | | #ifdef HAVE_UNISTD_H | | # include | | #endif | | | | #include | configure:17858: result: no | configure:17858: checking for stddef.h | configure:17858: gcc -c -g -O2 conftest.c >&5 | configure:17858: $? = 0 | configure:17858: result: yes | configure:17858: checking for stdlib.h | configure:17858: result: yes | configure:17858: checking for limits.h | configure:17858: gcc -c -g -O2 conftest.c >&5 | configure:17858: $? = 0 | configure:17858: result: yes | configure:17858: checking for unistd.h | configure:17858: result: yes | configure:17858: checking for pthread.h | configure:17858: gcc -c -g -O2 conftest.c >&5 | configure:17858: $? = 0 | configure:17858: result: yes | configure:17858: checking for bzlib.h | configure:17858: gcc -c -g -O2 conftest.c >&5 | configure:17858: $? = 0 | configure:17858: result: yes | configure:17858: checking for string.h | configure:17858: result: yes | configure:17858: checking for strings.h | configure:17858: result: yes | configure:17858: checking for sys/time.h | configure:17858: gcc -c -g -O2 conftest.c >&5 | configure:17858: $? = 0 | configure:17858: result: yes | configure:17895: checking uuid/uuid.h usability | configure:17895: gcc -c -g -O2 conftest.c >&5 | configure:17895: $? = 0 | configure:17895: result: yes | configure:17895: checking uuid/uuid.h presence | configure:17895: gcc -E conftest.c | configure:17895: $? = 0 | configure:17895: result: yes | configure:17895: checking for uuid/uuid.h | configure:17895: result: yes | configure:17909: checking uuid.h usability | configure:17909: gcc -c -g -O2 conftest.c >&5 | conftest.c:75:10: fatal error: 'uuid.h' file not found | #include | ^~~~~~~~ | 1 error generated. | configure:17909: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | /* end confdefs.h. */ | | #include | | #ifdef HAVE_SYS_TYPES_H | | # include | | #endif | | #ifdef HAVE_SYS_STAT_H | | # include | | #endif | | #ifdef STDC_HEADERS | | # include | | # include | | #else | | # ifdef HAVE_STDLIB_H | | # include | | # endif | | #endif | | #ifdef HAVE_STRING_H | | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | | # include | | # endif | | # include | | #endif | | #ifdef HAVE_STRINGS_H | | # include | | #endif | | #ifdef HAVE_INTTYPES_H | | # include | | #endif | | #ifdef HAVE_STDINT_H | | # include | | #endif | | #ifdef HAVE_UNISTD_H | | # include | | #endif | | #include | configure:17909: result: no | configure:17909: checking uuid.h presence | configure:17909: gcc -E conftest.c | conftest.c:42:10: fatal error: 'uuid.h' file not found | #include | ^~~~~~~~ | 1 error generated. | configure:17909: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | /* end confdefs.h. */ | | #include | configure:17909: result: no | configure:17909: checking for uuid.h | configure:17909: result: no | configure:17922: checking for an ANSI C-conforming const | configure:17988: gcc -c -g -O2 conftest.c >&5 | configure:17988: $? = 0 | configure:17995: result: yes | configure:18003: checking for inline | configure:18019: gcc -c -g -O2 conftest.c >&5 | configure:18019: $? = 0 | configure:18027: result: inline | configure:18045: checking for size_t | configure:18045: gcc -c -g -O2 conftest.c >&5 | configure:18045: $? = 0 | configure:18045: gcc -c -g -O2 conftest.c >&5 | conftest.c:78:21: error: expected expression | if (sizeof ((size_t))) | ^ | 1 error generated. | configure:18045: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | /* end confdefs.h. */ | | #include | | #ifdef HAVE_SYS_TYPES_H | | # include | | #endif | | #ifdef HAVE_SYS_STAT_H | | # include | | #endif | | #ifdef STDC_HEADERS | | # include | | # include | | #else | | # ifdef HAVE_STDLIB_H | | # include | | # endif | | #endif | | #ifdef HAVE_STRING_H | | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | | # include | | # endif | | # include | | #endif | | #ifdef HAVE_STRINGS_H | | # include | | #endif | | #ifdef HAVE_INTTYPES_H | | # include | | #endif | | #ifdef HAVE_STDINT_H | | # include | | #endif | | #ifdef HAVE_UNISTD_H | | # include | | #endif | | int | | main () | | { | | if (sizeof ((size_t))) | | return 0; | | ; | | return 0; | | } | configure:18045: result: yes | configure:18056: checking for stdbool.h that conforms to C99 | configure:18123: gcc -c -g -O2 conftest.c >&5 | conftest.c:91:24: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion] | bool e = &s; | ~ ^ | conftest.c:95:23: warning: address of array 'a' will always evaluate to 'true' [-Wpointer-bool-conversion] | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ~^ | conftest.c:95:28: warning: address of array 'b' will always evaluate to 'true' [-Wpointer-bool-conversion] | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ~^ | conftest.c:95:33: warning: address of array 'c' will always evaluate to 'true' [-Wpointer-bool-conversion] | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ~^ | conftest.c:95:38: warning: address of array 'd' will always evaluate to 'true' [-Wpointer-bool-conversion] | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ~^ | conftest.c:95:48: warning: address of array 'f' will always evaluate to 'true' [-Wpointer-bool-conversion] | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ~^ | conftest.c:95:53: warning: address of array 'g' will always evaluate to 'true' [-Wpointer-bool-conversion] | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ~^ | conftest.c:95:58: warning: address of array 'h' will always evaluate to 'true' [-Wpointer-bool-conversion] | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ~^ | conftest.c:95:63: warning: address of array 'i' will always evaluate to 'true' [-Wpointer-bool-conversion] | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | ~^ | conftest.c:96:30: warning: address of array 'n' will always evaluate to 'true' [-Wpointer-bool-conversion] | ~^ | conftest.c:96:35: warning: address of array 'o' will always evaluate to 'true' [-Wpointer-bool-conversion] | ~^ | conftest.c:96:40: warning: address of array 'p' will always evaluate to 'true' [-Wpointer-bool-conversion] | ~^ | 12 warnings generated. | configure:18123: $? = 0 | configure:18130: result: yes | configure:18132: checking for _Bool | configure:18132: gcc -c -g -O2 conftest.c >&5 | configure:18132: $? = 0 | configure:18132: gcc -c -g -O2 conftest.c >&5 | conftest.c:78:20: error: expected expression | if (sizeof ((_Bool))) | ^ | 1 error generated. | configure:18132: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | /* end confdefs.h. */ | | #include | | #ifdef HAVE_SYS_TYPES_H | | # include | | #endif | | #ifdef HAVE_SYS_STAT_H | | # include | | #endif | | #ifdef STDC_HEADERS | | # include | | # include | | #else | | # ifdef HAVE_STDLIB_H | | # include | | # endif | | #endif | | #ifdef HAVE_STRING_H | | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | | # include | | # endif | | # include | | #endif | | #ifdef HAVE_STRINGS_H | | # include | | #endif | | #ifdef HAVE_INTTYPES_H | | # include | | #endif | | #ifdef HAVE_STDINT_H | | # include | | #endif | | #ifdef HAVE_UNISTD_H | | # include | | #endif | | int | | main () | | { | | if (sizeof ((_Bool))) | | return 0; | | ; | | return 0; | | } | configure:18132: result: yes | configure:18149: checking for ptrdiff_t | configure:18149: gcc -c -g -O2 conftest.c >&5 | configure:18149: $? = 0 | configure:18149: gcc -c -g -O2 conftest.c >&5 | conftest.c:80:24: error: expected expression | if (sizeof ((ptrdiff_t))) | ^ | 1 error generated. | configure:18149: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | /* end confdefs.h. */ | | #include | | #ifdef HAVE_SYS_TYPES_H | | # include | | #endif | | #ifdef HAVE_SYS_STAT_H | | # include | | #endif | | #ifdef STDC_HEADERS | | # include | | # include | | #else | | # ifdef HAVE_STDLIB_H | | # include | | # endif | | #endif | | #ifdef HAVE_STRING_H | | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | | # include | | # endif | | # include | | #endif | | #ifdef HAVE_STRINGS_H | | # include | | #endif | | #ifdef HAVE_INTTYPES_H | | # include | | #endif | | #ifdef HAVE_STDINT_H | | # include | | #endif | | #ifdef HAVE_UNISTD_H | | # include | | #endif | | int | | main () | | { | | if (sizeof ((ptrdiff_t))) | | return 0; | | ; | | return 0; | | } | configure:18149: result: yes | configure:18159: checking whether struct tm is in sys/time.h or time.h | configure:18179: gcc -c -g -O2 conftest.c >&5 | configure:18179: $? = 0 | configure:18186: result: time.h | configure:18197: checking for working alloca.h | configure:18214: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18214: $? = 0 | configure:18222: result: yes | configure:18230: checking for alloca | configure:18267: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18267: $? = 0 | configure:18275: result: yes | configure:18384: checking for strdup | configure:18384: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:70:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] | char strdup (); | ^ | conftest.c:70:6: note: 'strdup' is a builtin with type 'char *(const char *)' | 1 warning generated. | configure:18384: $? = 0 | configure:18384: result: yes | configure:18384: checking for strftime | configure:18384: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18384: $? = 0 | configure:18384: result: yes | configure:18384: checking for strtol | configure:18384: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18384: $? = 0 | configure:18384: result: yes | configure:18384: checking for strcasecmp | configure:18384: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:73:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] | char strcasecmp (); | ^ | conftest.c:73:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' | 1 warning generated. | configure:18384: $? = 0 | configure:18384: result: yes | configure:18384: checking for strcspn | configure:18384: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:74:6: warning: incompatible redeclaration of library function 'strcspn' [-Wincompatible-library-redeclaration] | char strcspn (); | ^ | conftest.c:74:6: note: 'strcspn' is a builtin with type 'unsigned long (const char *, const char *)' | 1 warning generated. | configure:18384: $? = 0 | configure:18384: result: yes | configure:18384: checking for strerror | configure:18384: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:75:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] | char strerror (); | ^ | conftest.c:75:6: note: 'strerror' is a builtin with type 'char *(int)' | 1 warning generated. | configure:18384: $? = 0 | configure:18384: result: yes | configure:18384: checking for strncasecmp | configure:18384: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:76:6: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration] | char strncasecmp (); | ^ | conftest.c:76:6: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)' | 1 warning generated. | configure:18384: $? = 0 | configure:18384: result: yes | configure:18396: checking for strpbrk | configure:18396: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:77:6: warning: incompatible redeclaration of library function 'strpbrk' [-Wincompatible-library-redeclaration] | char strpbrk (); | ^ | conftest.c:77:6: note: 'strpbrk' is a builtin with type 'char *(const char *, const char *)' | 1 warning generated. | configure:18396: $? = 0 | configure:18396: result: yes | configure:18396: checking for strchr | configure:18396: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:78:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration] | char strchr (); | ^ | conftest.c:78:6: note: 'strchr' is a builtin with type 'char *(const char *, int)' | 1 warning generated. | configure:18396: $? = 0 | configure:18396: result: yes | configure:18396: checking for strrchr | configure:18396: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:79:6: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration] | char strrchr (); | ^ | conftest.c:79:6: note: 'strrchr' is a builtin with type 'char *(const char *, int)' | 1 warning generated. | configure:18396: $? = 0 | configure:18396: result: yes | configure:18396: checking for strspn | configure:18396: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:80:6: warning: incompatible redeclaration of library function 'strspn' [-Wincompatible-library-redeclaration] | char strspn (); | ^ | conftest.c:80:6: note: 'strspn' is a builtin with type 'unsigned long (const char *, const char *)' | 1 warning generated. | configure:18396: $? = 0 | configure:18396: result: yes | configure:18396: checking for strtoul | configure:18396: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18396: $? = 0 | configure:18396: result: yes | configure:18408: checking for timegm | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18408: $? = 0 | configure:18408: result: yes | configure:18408: checking for mktime | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18408: $? = 0 | configure:18408: result: yes | configure:18408: checking for atexit | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18408: $? = 0 | configure:18408: result: yes | configure:18408: checking for floor | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:85:6: warning: incompatible redeclaration of library function 'floor' [-Wincompatible-library-redeclaration] | char floor (); | ^ | conftest.c:85:6: note: 'floor' is a builtin with type 'double (double)' | 1 warning generated. | configure:18408: $? = 0 | configure:18408: result: yes | configure:18408: checking for isascii | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18408: $? = 0 | configure:18408: result: yes | configure:18408: checking for memmove | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:87:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration] | char memmove (); | ^ | conftest.c:87:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)' | 1 warning generated. | configure:18408: $? = 0 | configure:18408: result: yes | configure:18408: checking for memset | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:88:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration] | char memset (); | ^ | conftest.c:88:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)' | 1 warning generated. | configure:18408: $? = 0 | configure:18408: result: yes | configure:18408: checking for pow | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:89:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] | char pow (); | ^ | conftest.c:89:6: note: 'pow' is a builtin with type 'double (double, double)' | 1 warning generated. | configure:18408: $? = 0 | configure:18408: result: yes | configure:18408: checking for sqrt | configure:18408: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:90:6: warning: incompatible redeclaration of library function 'sqrt' [-Wincompatible-library-redeclaration] | char sqrt (); | ^ | conftest.c:90:6: note: 'sqrt' is a builtin with type 'double (double)' | 1 warning generated. | configure:18408: $? = 0 | configure:18408: result: yes | configure:18419: checking for library containing isdigit | configure:18450: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:75:6: warning: incompatible redeclaration of library function 'isdigit' [-Wincompatible-library-redeclaration] | char isdigit (); | ^ | conftest.c:75:6: note: 'isdigit' is a builtin with type 'int (int)' | 1 warning generated. | configure:18450: $? = 0 | configure:18467: result: none required | configure:18483: checking for special C compiler options needed for large files | configure:18528: result: no | configure:18534: checking for _FILE_OFFSET_BITS value needed for large files | configure:18559: gcc -c -g -O2 conftest.c >&5 | configure:18559: $? = 0 | configure:18591: result: no | configure:18676: checking for error_at_line | configure:18692: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:68:10: fatal error: 'error.h' file not found | #include | ^~~~~~~~~ | 1 error generated. | configure:18692: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | /* end confdefs.h. */ | | #include | | int | | main () | | { | | error_at_line (0, 0, "", 0, "an error occurred"); | | ; | | return 0; | | } | configure:18700: result: no | configure:18713: checking for stdlib.h | configure:18713: result: yes | configure:18723: checking for GNU libc compatible malloc | configure:18747: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18747: $? = 0 | configure:18747: ./conftest | configure:18747: $? = 0 | configure:18757: result: yes | configure:18778: checking for working memcmp | configure:18821: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18821: $? = 0 | configure:18821: ./conftest | configure:18821: $? = 0 | configure:18831: result: yes | configure:18840: checking whether time.h and sys/time.h may both be included | configure:18860: gcc -c -g -O2 conftest.c >&5 | configure:18860: $? = 0 | configure:18867: result: yes | configure:18883: checking for alarm | configure:18883: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:18883: $? = 0 | configure:18883: result: yes | configure:18896: checking for working mktime | configure:19098: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:19098: $? = 0 | configure:19098: ./conftest | configure:19098: $? = 1 | configure: program exited with status 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_MALLOC 1 | | #define TIME_WITH_SYS_TIME 1 | | #define HAVE_ALARM 1 | | /* end confdefs.h. */ | | /* Test program from Paul Eggert and Tony Leneis. */ | | #ifdef TIME_WITH_SYS_TIME | | # include | | # include | | #else | | # ifdef HAVE_SYS_TIME_H | | # include | | # else | | # include | | # endif | | #endif | | | | #include | | #include | | | | #ifdef HAVE_UNISTD_H | | # include | | #endif | | | | #ifndef HAVE_ALARM | | # define alarm(X) /* empty */ | | #endif | | | | /* Work around redefinition to rpl_putenv by other config tests. */ | | #undef putenv | | | | static time_t time_t_max; | | static time_t time_t_min; | | | | /* Values we'll use to set the TZ environment variable. */ | | static const char *tz_strings[] = { | | (const char *) 0, "TZ=GMT0", "TZ=JST-9", | | "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | | }; | | #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | | | | /* Return 0 if mktime fails to convert a date in the spring-forward gap. | | Based on a problem report from Andreas Jaeger. */ | | static int | | spring_forward_gap () | | { | | /* glibc (up to about 1998-10-07) failed this test. */ | | struct tm tm; | | | | /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | | instead of "TZ=America/Vancouver" in order to detect the bug even | | on systems that don't support the Olson extension, or don't have the | | full zoneinfo tables installed. */ | | putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | | | | tm.tm_year = 98; | | tm.tm_mon = 3; | | tm.tm_mday = 5; | | tm.tm_hour = 2; | | tm.tm_min = 0; | | tm.tm_sec = 0; | | tm.tm_isdst = -1; | | return mktime (&tm) != (time_t) -1; | | } | | | | static int | | mktime_test1 (time_t now) | | { | | struct tm *lt; | | return ! (lt = localtime (&now)) || mktime (lt) == now; | | } | | | | static int | | mktime_test (time_t now) | | { | | return (mktime_test1 (now) | | && mktime_test1 ((time_t) (time_t_max - now)) | | && mktime_test1 ((time_t) (time_t_min + now))); | | } | | | | static int | | irix_6_4_bug () | | { | | /* Based on code from Ariel Faigon. */ | | struct tm tm; | | tm.tm_year = 96; | | tm.tm_mon = 3; | | tm.tm_mday = 0; | | tm.tm_hour = 0; | | tm.tm_min = 0; | | tm.tm_sec = 0; | | tm.tm_isdst = -1; | | mktime (&tm); | | return tm.tm_mon == 2 && tm.tm_mday == 31; | | } | | | | static int | | bigtime_test (int j) | | { | | struct tm tm; | | time_t now; | | tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; | | now = mktime (&tm); | | if (now != (time_t) -1) | | { | | struct tm *lt = localtime (&now); | | if (! (lt | | && lt->tm_year == tm.tm_year | | && lt->tm_mon == tm.tm_mon | | && lt->tm_mday == tm.tm_mday | | && lt->tm_hour == tm.tm_hour | | && lt->tm_min == tm.tm_min | | && lt->tm_sec == tm.tm_sec | | && lt->tm_yday == tm.tm_yday | | && lt->tm_wday == tm.tm_wday | | && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) | | == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) | | return 0; | | } | | return 1; | | } | | | | static int | | year_2050_test () | | { | | /* The correct answer for 2050-02-01 00:00:00 in Pacific time, | | ignoring leap seconds. */ | | unsigned long int answer = 2527315200UL; | | | | struct tm tm; | | time_t t; | | tm.tm_year = 2050 - 1900; | | tm.tm_mon = 2 - 1; | | tm.tm_mday = 1; | | tm.tm_hour = tm.tm_min = tm.tm_sec = 0; | | tm.tm_isdst = -1; | | | | /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | | instead of "TZ=America/Vancouver" in order to detect the bug even | | on systems that don't support the Olson extension, or don't have the | | full zoneinfo tables installed. */ | | putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | | | | t = mktime (&tm); | | | | /* Check that the result is either a failure, or close enough | | to the correct answer that we can assume the discrepancy is | | due to leap seconds. */ | | return (t == (time_t) -1 | | || (0 < t && answer - 120 <= t && t <= answer + 120)); | | } | | | | int | | main () | | { | | time_t t, delta; | | int i, j; | | | | /* This test makes some buggy mktime implementations loop. | | Give up after 60 seconds; a mktime slower than that | | isn't worth using anyway. */ | | alarm (60); | | | | for (;;) | | { | | t = (time_t_max << 1) + 1; | | if (t <= time_t_max) | | break; | | time_t_max = t; | | } | | time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max; | | | | delta = time_t_max / 997; /* a suitable prime number */ | | for (i = 0; i < N_STRINGS; i++) | | { | | if (tz_strings[i]) | | putenv ((char*) tz_strings[i]); | | | | for (t = 0; t <= time_t_max - delta; t += delta) | | if (! mktime_test (t)) | | return 1; | | if (! (mktime_test ((time_t) 1) | | && mktime_test ((time_t) (60 * 60)) | | && mktime_test ((time_t) (60 * 60 * 24)))) | | return 1; | | | | for (j = 1; ; j <<= 1) | | if (! bigtime_test (j)) | | return 1; | | else if (INT_MAX / 2 < j) | | break; | | if (! bigtime_test (INT_MAX)) | | return 1; | | } | | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | | } | configure:19108: result: no | configure:19121: checking for stdlib.h | configure:19121: result: yes | configure:19131: checking for GNU libc compatible realloc | configure:19155: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:19155: $? = 0 | configure:19155: ./conftest | configure:19155: $? = 0 | configure:19165: result: yes | configure:19193: checking for working strtod | configure:19234: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:19234: $? = 0 | configure:19234: ./conftest | configure:19234: $? = 0 | configure:19244: result: yes | configure:19308: checking for vprintf | configure:19308: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | conftest.c:97:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration] | char vprintf (); | ^ | conftest.c:97:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)' | 1 warning generated. | configure:19308: $? = 0 | configure:19308: result: yes | configure:19314: checking for _doprnt | configure:19314: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | Undefined symbols for architecture x86_64: | "__doprnt", referenced from: | _main in conftest-2d7140.o | ld: symbol(s) not found for architecture x86_64 | clang: error: linker command failed with exit code 1 (use -v to see invocation) | configure:19314: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_MALLOC 1 | | #define TIME_WITH_SYS_TIME 1 | | #define HAVE_ALARM 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_REALLOC 1 | | #define HAVE_VPRINTF 1 | | /* end confdefs.h. */ | | /* Define _doprnt to an innocuous variant, in case declares _doprnt. | | For example, HP-UX 11i declares gettimeofday. */ | | #define _doprnt innocuous__doprnt | | | | /* System header to define __stub macros and hopefully few prototypes, | | which can conflict with char _doprnt (); below. | | Prefer to if __STDC__ is defined, since | | exists even on freestanding compilers. */ | | | | #ifdef __STDC__ | | # include | | #else | | # include | | #endif | | | | #undef _doprnt | | | | /* Override any GCC internal prototype to avoid an error. | | Use char because int might match the return type of a GCC | | builtin and then its argument prototype would still apply. */ | | #ifdef __cplusplus | | extern "C" | | #endif | | char _doprnt (); | | /* The GNU C library defines this for functions which it implements | | to always fail with ENOSYS. Some functions are actually named | | something starting with __ and the normal name is an alias. */ | | #if defined __stub__doprnt || defined __stub____doprnt | | choke me | | #endif | | | | int | | main () | | { | | return _doprnt (); | | ; | | return 0; | | } | configure:19314: result: no | configure:19327: checking for BZ2_bzReadOpen in -lbz2 | configure:19352: gcc -o conftest -g -O2 conftest.c -lbz2 -lcurl >&5 | configure:19352: $? = 0 | configure:19361: result: yes | configure:19390: checking for gzopen in -lz | configure:19415: gcc -o conftest -g -O2 conftest.c -lz -lcurl >&5 | configure:19415: $? = 0 | configure:19424: result: yes | configure:19431: checking for dlclose | configure:19431: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:19431: $? = 0 | configure:19431: result: yes | configure:19487: checking for a readline compatible library | configure:19522: gcc -o conftest -g -O2 conftest.c -lcurl -lreadline >&5 | configure:19522: $? = 0 | configure:19542: result: -lreadline | configure:19555: checking readline.h usability | configure:19555: gcc -c -g -O2 conftest.c >&5 | conftest.c:110:10: fatal error: 'readline.h' file not found | #include | ^~~~~~~~~~~~ | 1 error generated. | configure:19555: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_MALLOC 1 | | #define TIME_WITH_SYS_TIME 1 | | #define HAVE_ALARM 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_REALLOC 1 | | #define HAVE_VPRINTF 1 | | #define HAVE_LIBBZ2 1 | | #define HAVE_LIBREADLINE 1 | | /* end confdefs.h. */ | | #include | | #ifdef HAVE_SYS_TYPES_H | | # include | | #endif | | #ifdef HAVE_SYS_STAT_H | | # include | | #endif | | #ifdef STDC_HEADERS | | # include | | # include | | #else | | # ifdef HAVE_STDLIB_H | | # include | | # endif | | #endif | | #ifdef HAVE_STRING_H | | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | | # include | | # endif | | # include | | #endif | | #ifdef HAVE_STRINGS_H | | # include | | #endif | | #ifdef HAVE_INTTYPES_H | | # include | | #endif | | #ifdef HAVE_STDINT_H | | # include | | #endif | | #ifdef HAVE_UNISTD_H | | # include | | #endif | | #include | configure:19555: result: no | configure:19555: checking readline.h presence | configure:19555: gcc -E conftest.c | conftest.c:77:10: fatal error: 'readline.h' file not found | #include | ^~~~~~~~~~~~ | 1 error generated. | configure:19555: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_MALLOC 1 | | #define TIME_WITH_SYS_TIME 1 | | #define HAVE_ALARM 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_REALLOC 1 | | #define HAVE_VPRINTF 1 | | #define HAVE_LIBBZ2 1 | | #define HAVE_LIBREADLINE 1 | | /* end confdefs.h. */ | | #include | configure:19555: result: no | configure:19555: checking for readline.h | configure:19555: result: no | configure:19555: checking readline/readline.h usability | configure:19555: gcc -c -g -O2 conftest.c >&5 | configure:19555: $? = 0 | configure:19555: result: yes | configure:19555: checking readline/readline.h presence | configure:19555: gcc -E conftest.c | configure:19555: $? = 0 | configure:19555: result: yes | configure:19555: checking for readline/readline.h | configure:19555: result: yes | configure:19565: checking whether readline supports history | configure:19590: gcc -o conftest -g -O2 conftest.c -lcurl -lreadline >&5 | configure:19590: $? = 0 | configure:19597: result: yes | configure:19606: checking history.h usability | configure:19606: gcc -c -g -O2 conftest.c >&5 | conftest.c:112:10: fatal error: 'history.h' file not found | #include | ^~~~~~~~~~~ | 1 error generated. | configure:19606: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_MALLOC 1 | | #define TIME_WITH_SYS_TIME 1 | | #define HAVE_ALARM 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_REALLOC 1 | | #define HAVE_VPRINTF 1 | | #define HAVE_LIBBZ2 1 | | #define HAVE_LIBREADLINE 1 | | #define HAVE_READLINE_READLINE_H 1 | | #define HAVE_READLINE_HISTORY 1 | | /* end confdefs.h. */ | | #include | | #ifdef HAVE_SYS_TYPES_H | | # include | | #endif | | #ifdef HAVE_SYS_STAT_H | | # include | | #endif | | #ifdef STDC_HEADERS | | # include | | # include | | #else | | # ifdef HAVE_STDLIB_H | | # include | | # endif | | #endif | | #ifdef HAVE_STRING_H | | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | | # include | | # endif | | # include | | #endif | | #ifdef HAVE_STRINGS_H | | # include | | #endif | | #ifdef HAVE_INTTYPES_H | | # include | | #endif | | #ifdef HAVE_STDINT_H | | # include | | #endif | | #ifdef HAVE_UNISTD_H | | # include | | #endif | | #include | configure:19606: result: no | configure:19606: checking history.h presence | configure:19606: gcc -E conftest.c | conftest.c:79:10: fatal error: 'history.h' file not found | #include | ^~~~~~~~~~~ | 1 error generated. | configure:19606: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_MALLOC 1 | | #define TIME_WITH_SYS_TIME 1 | | #define HAVE_ALARM 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_REALLOC 1 | | #define HAVE_VPRINTF 1 | | #define HAVE_LIBBZ2 1 | | #define HAVE_LIBREADLINE 1 | | #define HAVE_READLINE_READLINE_H 1 | | #define HAVE_READLINE_HISTORY 1 | | /* end confdefs.h. */ | | #include | configure:19606: result: no | configure:19606: checking for history.h | configure:19606: result: no | configure:19606: checking readline/history.h usability | configure:19606: gcc -c -g -O2 conftest.c >&5 | configure:19606: $? = 0 | configure:19606: result: yes | configure:19606: checking readline/history.h presence | configure:19606: gcc -E conftest.c | configure:19606: $? = 0 | configure:19606: result: yes | configure:19606: checking for readline/history.h | configure:19606: result: yes | configure:19679: checking for pkg-config | configure:19712: result: no | configure:19748: checking for XML2 | configure:19827: result: no; used pkg-config | configure:19829: checking for libxml2 version >= 2.6.16 | configure:19853: result: yes; used xml2-config | configure:19866: checking for sys_errlist | configure:19882: gcc -o conftest -g -O2 conftest.c -lcurl >&5 | configure:19882: $? = 0 | configure:19890: result: yes | configure:19919: checking for DAP | configure:19990: checking for DAP_CLIENT | configure:20061: checking for DAP_SERVER | configure:20134: checking for dap-config | configure:20152: found /Users/vskorole/opendap/hyrax/build/bin/dap-config | configure:20165: result: /Users/vskorole/opendap/hyrax/build/bin/dap-config | configure:20218: checking for libdap version >= 3.18.0 | configure:20221: result: yes | configure:20282: checking whether to use libwrap | configure:20342: result: no | configure:20348: checking for tr1/functional | configure:20371: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer conftest.cpp >&5 | conftest.cpp:81:10: fatal error: 'tr1/functional' file not found | #include | ^~~~~~~~~~~~~~~~ | 1 error generated. | configure:20371: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_MALLOC 1 | | #define TIME_WITH_SYS_TIME 1 | | #define HAVE_ALARM 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_REALLOC 1 | | #define HAVE_VPRINTF 1 | | #define HAVE_LIBBZ2 1 | | #define HAVE_LIBREADLINE 1 | | #define HAVE_READLINE_READLINE_H 1 | | #define HAVE_READLINE_HISTORY 1 | | #define HAVE_READLINE_HISTORY_H 1 | | #define HAVE_SYS_ERRLIST 1 | | /* end confdefs.h. */ | | #include | | int | | main () | | { | | using std::tr1::hash; | | ; | | return 0; | | } | configure:20386: result: no | configure:20430: checking for cppunit-config | configure:20448: found /usr/local/bin/cppunit-config | configure:20461: result: /usr/local/bin/cppunit-config | configure:20471: checking for Cppunit - version >= 1.12.0 | configure:20517: result: 1.12.1 | configure:20681: result: Using /Users/vskorole/opendap/hyrax/build/deps as the dependencies prefix | configure:20793: checking for pkg-config | configure:20826: result: no | configure:20908: checking for curl-config | configure:20926: found /usr/bin/curl-config | configure:20938: result: /usr/bin/curl-config | configure:20962: checking for libcurl using curl-config | configure:20981: result: yes; found version 7.54.0 | configure:20997: checking the OS type for the freeform code | configure:21021: result: set to -DLINUX | configure:21030: checking the netCDF library | configure:21157: checking for nc_open in -lnetcdf | configure:21182: gcc -o conftest -g -O2 -L/Users/vskorole/opendap/hyrax/build/deps/lib conftest.c -lnetcdf -lcurl -lhdf5_hl -lhdf5 -ldl -lz -lm -lcurl >&5 | configure:21182: $? = 0 | configure:21192: result: yes | configure:21302: checking for netcdf.h with compiler | configure:21308: gcc -c -g -O2 -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c >&5 | configure:21308: $? = 0 | configure:21310: result: yes | configure:21322: checking for netcdf.h with preprocessor | configure:21328: gcc -E -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c | configure:21328: $? = 0 | configure:21330: result: yes | configure:21351: checking for netcdf 3 interface | configure:21374: gcc -c -g -O2 -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c >&5 | configure:21374: $? = 0 | configure:21388: result: yes | configure:21578: result: -lnetcdf -lcurl -lhdf5_hl -lhdf5 -ldl | configure:21598: checking for nc_inq_libvers in -lnetcdf | configure:21623: gcc -o conftest -g -O2 conftest.c -lnetcdf -L/Users/vskorole/opendap/hyrax/build/deps/lib -lnetcdf -lcurl -lhdf5_hl -lhdf5 -ldl -lcurl >&5 | configure:21623: $? = 0 | configure:21632: result: yes | configure:21653: checking the netCDF library version number | configure:21655: result: 4 | configure:21659: NC_BIN is /Users/vskorole/opendap/hyrax/build/deps/bin | configure:21694: Using /Users/vskorole/opendap/hyrax/build/deps as the GDAL prefix directory. | configure:21699: Set GDAL_LDFLAGS to -L/Users/vskorole/opendap/hyrax/build/deps/lib -lgdal -L/Users/vskorole/opendap/hyrax/build/deps/lib -lopenjp2 -L/Users/vskorole/opendap/hyrax/build/deps/lib -lnetcdf -lz -lpthread -ldl -lcurl -liconv -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm. | configure:21937: checking for opj_version in -lopenjp2 | configure:21962: gcc -o conftest -g -O2 conftest.c -lopenjp2 -lm -L/Users/vskorole/opendap/hyrax/build/deps/lib -lcurl >&5 | configure:21962: $? = 0 | configure:21971: result: yes | configure:21991: Found OPENJPEG; building GMLJP2 support. | configure:22058: checking for fits_is_url_absolute in -lcfitsio | configure:22084: gcc -o conftest -g -O2 -L/Users/vskorole/opendap/hyrax/build/deps/lib conftest.c -lcfitsio -lm | -lcurl >&5 | configure:22084: $? = 0 | configure:22093: result: yes | configure:22114: checking fitsio.h usability | configure:22114: gcc -c -g -O2 -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c >&5 | configure:22114: $? = 0 | configure:22114: result: yes | configure:22114: checking fitsio.h presence | configure:22114: gcc -E -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c | configure:22114: $? = 0 | configure:22114: result: yes | configure:22114: checking for fitsio.h | configure:22114: result: yes | configure:22204: -------------------------------------------------- | configure:22206: HDF4_PATH is: /Users/vskorole/opendap/hyrax/build/deps | configure:22208: HDF4_PATH_LIBDIR: /Users/vskorole/opendap/hyrax/build/deps/lib | configure:22210: HDF4_PATH_INC: /Users/vskorole/opendap/hyrax/build/deps/include | configure:22217: H4_CC: /Users/vskorole/opendap/hyrax/build/deps/bin/h4cc | configure:22225: --------------- Searching for HDF4 Libraries ------------------------ | configure:22233: HDF4_PATH_LIBDIR is set | configure:22245: checking for SZ_BufftoBuffCompress in -lsz | configure:22265: gcc -o conftest -g -O2 -L/Users/vskorole/opendap/hyrax/build/deps/lib conftest.c -lsz -lcurl >&5 | ld: library not found for -lsz | clang: error: linker command failed with exit code 1 (use -v to see invocation) | configure:22265: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.20.2" | | #define PACKAGE_STRING "bes 3.20.2" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.20.2" | | #define STDC_HEADERS 1 | | #define HAVE_SYS_TYPES_H 1 | | #define HAVE_SYS_STAT_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_MEMORY_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_INTTYPES_H 1 | | #define HAVE_STDINT_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_DLFCN_H 1 | | #define LT_OBJDIR ".libs/" | | #define DAPREADER_PACKAGE "dapreader_module" | | #define DAPREADER_VERSION "0.0.1" | | #define YYTEXT_POINTER 1 | | #define HAVE_CURL_CURL_H 1 | | #define HAVE_CURL_MULTI_H 1 | | #define HAVE_CURL_MULTI_API 1 | | #define STDC_HEADERS 1 | | #define HAVE_FCNTL_H 1 | | #define HAVE_FLOAT_H 1 | | #define HAVE_STDDEF_H 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_LIMITS_H 1 | | #define HAVE_UNISTD_H 1 | | #define HAVE_PTHREAD_H 1 | | #define HAVE_BZLIB_H 1 | | #define HAVE_STRING_H 1 | | #define HAVE_STRINGS_H 1 | | #define HAVE_SYS_TIME_H 1 | | #define HAVE_UUID_UUID_H 1 | | #define HAVE__BOOL 1 | | #define HAVE_STDBOOL_H 1 | | #define HAVE_PTRDIFF_T 1 | | #define HAVE_ALLOCA_H 1 | | #define HAVE_ALLOCA 1 | | #define HAVE_STRDUP 1 | | #define HAVE_STRFTIME 1 | | #define HAVE_STRTOL 1 | | #define HAVE_STRCASECMP 1 | | #define HAVE_STRCSPN 1 | | #define HAVE_STRERROR 1 | | #define HAVE_STRNCASECMP 1 | | #define HAVE_STRPBRK 1 | | #define HAVE_STRCHR 1 | | #define HAVE_STRRCHR 1 | | #define HAVE_STRSPN 1 | | #define HAVE_STRTOUL 1 | | #define HAVE_TIMEGM 1 | | #define HAVE_MKTIME 1 | | #define HAVE_ATEXIT 1 | | #define HAVE_FLOOR 1 | | #define HAVE_ISASCII 1 | | #define HAVE_MEMMOVE 1 | | #define HAVE_MEMSET 1 | | #define HAVE_POW 1 | | #define HAVE_SQRT 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_MALLOC 1 | | #define TIME_WITH_SYS_TIME 1 | | #define HAVE_ALARM 1 | | #define HAVE_STDLIB_H 1 | | #define HAVE_REALLOC 1 | | #define HAVE_VPRINTF 1 | | #define HAVE_LIBBZ2 1 | | #define HAVE_LIBREADLINE 1 | | #define HAVE_READLINE_READLINE_H 1 | | #define HAVE_READLINE_HISTORY 1 | | #define HAVE_READLINE_HISTORY_H 1 | | #define HAVE_SYS_ERRLIST 1 | | #define DAP_PROTOCOL_VERSION "3.2" | | #define ENABLE_UNIT_TESTS 1 | | #define NETCDF_VERSION 4 | | #define HAVE_FITSIO_H 1 | | /* end confdefs.h. */ | | | | /* Override any GCC internal prototype to avoid an error. | | Use char because int might match the return type of a GCC | | builtin and then its argument prototype would still apply. */ | | #ifdef __cplusplus | | extern "C" | | #endif | | char SZ_BufftoBuffCompress (); | | int | | main () | | { | | return SZ_BufftoBuffCompress (); | | ; | | return 0; | | } | configure:22273: result: no | configure:22296: checking for deflate in -lz | configure:22316: gcc -o conftest -g -O2 -L/Users/vskorole/opendap/hyrax/build/deps/lib conftest.c -lz -lcurl >&5 | configure:22316: $? = 0 | configure:22319: result: yes | configure:22336: checking for jpeg_start_compress in -ljpeg | configure:22356: gcc -o conftest -g -O2 -L/Users/vskorole/opendap/hyrax/build/deps/lib conftest.c -ljpeg -lcurl >&5 | configure:22356: $? = 0 | configure:22359: result: yes | configure:22376: checking for Hopen in -ldf | configure:22396: gcc -o conftest -g -O2 -L/Users/vskorole/opendap/hyrax/build/deps/lib conftest.c -ldf -ljpeg -lz -lcurl >&5 | configure:22396: $? = 0 | configure:22399: result: yes | configure:22416: checking for SDstart in -lmfhdf | configure:22436: gcc -o conftest -g -O2 -L/Users/vskorole/opendap/hyrax/build/deps/lib conftest.c -lmfhdf -ldf -ljpeg -lz -lcurl >&5 | configure:22436: $? = 0 | configure:22439: result: yes | configure:22761: --------------- Searching for HDF4 headers ------------------------ | configure:22769: HDF4_PATH_INC is set | configure:22776: checking for mfhdf.h with compiler | configure:22782: gcc -c -g -O2 -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c >&5 | configure:22782: $? = 0 | configure:22784: result: yes | configure:22795: checking for mfhdf.h with preprocessor | configure:22801: gcc -E -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c | configure:22801: $? = 0 | configure:22803: result: yes | configure:22904: ac_hdf4_h: yes | configure:22906: ac_hdf4_lib_ok: yes | configure:22933: CC: gcc | configure:22935: HDF4_PATH: /Users/vskorole/opendap/hyrax/build/deps | configure:22937: HDF4_LIBS: -lmfhdf -ldf -ljpeg -lz | configure:22939: HDF4_CFLAGS: -I/Users/vskorole/opendap/hyrax/build/deps/include | configure:22941: HDF4_LDFLAGS: -L/Users/vskorole/opendap/hyrax/build/deps/lib | configure:22964: HDFEOS2 set to true | configure:23049: checking for H5open in -lhdf5 | configure:23074: gcc -o conftest -g -O2 -L/Users/vskorole/opendap/hyrax/build/deps/lib conftest.c -lhdf5 -lhdf5_hl -ldl -lz -lm -lcurl >&5 | configure:23074: $? = 0 | configure:23084: result: yes | configure:23198: checking for hdf5.h with compiler | configure:23204: gcc -c -g -O2 -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c >&5 | configure:23204: $? = 0 | configure:23206: result: yes | configure:23218: checking for hdf5.h with preprocessor | configure:23224: gcc -E -I/Users/vskorole/opendap/hyrax/build/deps/include conftest.c | configure:23224: $? = 0 | configure:23226: result: yes | configure:23388: checking for icu version >= 3.6 | configure:23411: ICU_PATH: /Users/vskorole/opendap/hyrax/build/deps | configure:23472: checking for icu-config | configure:23490: found /Users/vskorole/opendap/hyrax/build/deps/bin/icu-config | configure:23502: result: /Users/vskorole/opendap/hyrax/build/deps/bin/icu-config | configure:23563: checking for icu (3.6) >= 3.6 | configure:23598: result: yes | configure:23612: ICU_CPPFLAGS= | configure:23614: ICU_LIBS=-lpthread -lm -L/Users/vskorole/opendap/hyrax/build/deps/lib -licui18n -licuuc -licudata -lpthread -lm | configure:23715: checking for libgridfields 1.0.3 | configure:23748: result: yes; used gridfields-config | configure:24119: checking that generated files are newer than configure | configure:24125: result: done | configure:24352: creating ./config.status | | ## ---------------------- ## | ## Running config.status. ## | ## ---------------------- ## | | This file was extended by bes config.status 3.20.2, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status | | on mbp-vskorole.edn.ecs.nasa.gov | | config.status:1542: creating Makefile | config.status:1542: creating abi_checker.xml | config.status:1542: creating bes_dispatch.pc | config.status:1542: creating bes_ppt.pc | config.status:1542: creating bes_xml_command.pc | config.status:1542: creating doxy.conf | config.status:1542: creating main_page.doxygen | config.status:1542: creating dispatch/Makefile | config.status:1542: creating dispatch/unit-tests/Makefile | config.status:1542: creating dispatch/tests/Makefile | config.status:1542: creating dispatch/tests/atlocal | config.status:1542: creating hello_world/Makefile | config.status:1542: creating hello_world/tests/Makefile | config.status:1542: creating hello_world/tests/atlocal | config.status:1542: creating docs/Makefile | config.status:1542: creating xmlcommand/Makefile | config.status:1542: creating xmlcommand/unit-tests/Makefile | config.status:1542: creating xmlcommand/tests/Makefile | config.status:1542: creating xmlcommand/tests/atlocal | config.status:1542: creating ppt/Makefile | config.status:1542: creating ppt/unit-tests/Makefile | config.status:1542: creating cmdln/Makefile | config.status:1542: creating cmdln/unit-tests/Makefile | config.status:1542: creating cmdln/tests/Makefile | config.status:1542: creating cmdln/tests/atlocal | config.status:1542: creating standalone/Makefile | config.status:1542: creating server/Makefile | config.status:1542: creating bin/Makefile | config.status:1542: creating templates/Makefile | config.status:1542: creating dap/Makefile | config.status:1542: creating dap/unit-tests/Makefile | config.status:1542: creating dap/tests/Makefile | config.status:1542: creating dap/tests/atlocal | config.status:1542: creating dapreader/Makefile | config.status:1542: creating dapreader/tests/Makefile | config.status:1542: creating dapreader/tests/atlocal | config.status:1542: creating functions/Makefile | config.status:1542: creating functions/tests/Makefile | config.status:1542: creating functions/tests/atlocal | config.status:1542: creating functions/unit-tests/Makefile | config.status:1542: creating bes-config | config.status:1542: creating besd | config.status:1542: creating server/besctl | config.status:1542: creating server/hyraxctl | config.status:1542: creating modules/Makefile | config.status:1542: creating modules/csv_handler/Makefile | config.status:1542: creating modules/csv_handler/tests/Makefile | config.status:1542: creating modules/csv_handler/tests/atlocal | config.status:1542: creating modules/usage/Makefile | config.status:1542: creating modules/asciival/Makefile | config.status:1542: creating modules/asciival/tests/Makefile | config.status:1542: creating modules/asciival/tests/atlocal | config.status:1542: creating modules/asciival/unit-tests/Makefile | config.status:1542: creating modules/cmr_module/Makefile | config.status:1542: creating modules/cmr_module/tests/Makefile | config.status:1542: creating modules/cmr_module/tests/atlocal | config.status:1542: creating modules/cmr_module/unit-tests/Makefile | config.status:1542: creating modules/httpd_catalog_module/Makefile | config.status:1542: creating modules/httpd_catalog_module/unit-tests/Makefile | config.status:1542: creating modules/httpd_catalog_module/tests/Makefile | config.status:1542: creating modules/httpd_catalog_module/tests/atlocal | config.status:1542: creating modules/www-interface/Makefile | config.status:1542: creating modules/debug_functions/Makefile | config.status:1542: creating modules/debug_functions/unit-tests/Makefile | config.status:1542: creating modules/debug_functions/tests/Makefile | config.status:1542: creating modules/debug_functions/tests/atlocal | config.status:1542: creating modules/dmrpp_module/Makefile | config.status:1542: creating modules/dmrpp_module/unit-tests/Makefile | config.status:1542: creating modules/dmrpp_module/tests/Makefile | config.status:1542: creating modules/dmrpp_module/tests/atlocal | config.status:1542: creating modules/dmrpp_module/data/Makefile | config.status:1542: creating modules/fileout_json/Makefile | config.status:1542: creating modules/fileout_json/unit-tests/Makefile | config.status:1542: creating modules/fileout_json/tests/Makefile | config.status:1542: creating modules/fileout_json/tests/atlocal | config.status:1542: creating modules/fileout_covjson/Makefile | config.status:1542: creating modules/fileout_covjson/unit-tests/Makefile | config.status:1542: creating modules/fileout_covjson/tests/Makefile | config.status:1542: creating modules/fileout_covjson/tests/atlocal | config.status:1542: creating modules/freeform_handler/Makefile | config.status:1542: creating modules/freeform_handler/tests/Makefile | config.status:1542: creating modules/freeform_handler/tests/atlocal | config.status:1542: creating modules/freeform_handler/FFND/Makefile | config.status:1542: creating modules/xml_data_handler/Makefile | config.status:1542: creating modules/xml_data_handler/unit-tests/Makefile | config.status:1542: creating modules/xml_data_handler/tests/Makefile | config.status:1542: creating modules/xml_data_handler/tests/atlocal | config.status:1542: creating modules/netcdf_handler/Makefile | config.status:1542: creating modules/netcdf_handler/tests/Makefile | config.status:1542: creating modules/netcdf_handler/tests/atlocal | config.status:1542: creating modules/fileout_netcdf/Makefile | config.status:1542: creating modules/fileout_netcdf/tests/Makefile | config.status:1542: creating modules/fileout_netcdf/tests/atlocal | config.status:1542: creating modules/fileout_netcdf/data/build_test_data/Makefile | config.status:1542: creating modules/gateway_module/Makefile | config.status:1542: creating modules/gateway_module/tests/Makefile | config.status:1542: creating modules/gateway_module/tests/atlocal | config.status:1542: creating modules/fileout_gdal/Makefile | config.status:1542: creating modules/fileout_gdal/tests/Makefile | config.status:1542: creating modules/fileout_gdal/tests/atlocal | config.status:1542: creating modules/fits_handler/Makefile | config.status:1542: creating modules/fits_handler/tests/atlocal | config.status:1542: creating modules/fits_handler/tests/Makefile | config.status:1542: creating modules/gdal_handler/Makefile | config.status:1542: creating modules/gdal_handler/tests/Makefile | config.status:1542: creating modules/gdal_handler/tests/atlocal | config.status:1542: creating modules/hdf4_handler/Makefile | config.status:1542: creating modules/hdf4_handler/hdfclass/Makefile | config.status:1542: creating modules/hdf4_handler/bes-testsuite/Makefile | config.status:1542: creating modules/hdf4_handler/bes-testsuite/atlocal | config.status:1542: creating modules/hdf5_handler/Makefile | config.status:1542: creating modules/hdf5_handler/bes-testsuite/Makefile | config.status:1542: creating modules/hdf5_handler/bes-testsuite/atlocal | config.status:1542: creating modules/hdf5_handler/gctp/Makefile | config.status:1542: creating modules/hdf5_handler/gctp/src/Makefile | config.status:1542: creating modules/ncml_module/Makefile | config.status:1542: creating modules/ncml_module/tests/Makefile | config.status:1542: creating modules/ncml_module/tests/atlocal | config.status:1542: creating modules/ugrid_functions/Makefile | config.status:1542: creating modules/ugrid_functions/unit-tests/Makefile | config.status:1542: creating modules/ugrid_functions/tests/Makefile | config.status:1542: creating modules/ugrid_functions/tests/atlocal | config.status:1542: creating modules/w10n_handler/Makefile | config.status:1542: creating modules/w10n_handler/unit-tests/Makefile | config.status:1542: creating modules/w10n_handler/tests/Makefile | config.status:1542: creating modules/w10n_handler/tests/atlocal | config.status:1542: creating modules/xml_data_handler/tests/generate_metadata_baseline.sh | config.status:1542: creating modules/xml_data_handler/tests/generate_data_baseline.sh | config.status:1542: creating modules/fits_handler/tests/generate_metadata_baseline.sh | config.status:1542: creating modules/fits_handler/tests/generate_data_baseline.sh | config.status:1542: creating modules/hdf4_handler/bes-testsuite/generate_metadata_baseline.sh | config.status:1542: creating modules/www-interface/js2h.pl | config.status:1542: creating config.h | config.status:1723: config.h is unchanged | config.status:1771: executing depfiles commands | config.status:1771: executing libtool commands | config.status:1771: executing cmdln/tests/atconfig commands | config.status:1771: executing hello_world/tests/atconfig commands | config.status:1771: executing dapreader/tests/atconfig commands | config.status:1771: executing dap/tests/atconfig commands | config.status:1771: executing functions/tests/atconfig commands | config.status:1771: executing dispatch/tests/atconfig commands | config.status:1771: executing xmlcommand/tests/atconfig commands | config.status:1771: executing modules/csv_handler/tests/atconfig commands | config.status:1771: executing modules/asciival/tests/atconfig commands | config.status:1771: executing modules/httpd_catalog_module/tests/atconfig commands | config.status:1771: executing modules/cmr_module/tests/atconfig commands | config.status:1771: executing modules/fileout_json/tests/atconfig commands | config.status:1771: executing modules/fileout_covjson/tests/atconfig commands | config.status:1771: executing modules/debug_functions/tests/atconfig commands | config.status:1771: executing modules/dmrpp_module/tests/atconfig commands | config.status:1771: executing modules/freeform_handler/tests/atconfig commands | config.status:1771: executing modules/xml_data_handler/tests/atconfig commands | config.status:1771: executing modules/netcdf_handler/tests/atconfig commands | config.status:1771: executing modules/fileout_netcdf/tests/atconfig commands | config.status:1771: executing modules/gateway_module/tests/atconfig commands | config.status:1771: executing modules/fileout_gdal/tests/atconfig commands | config.status:1771: executing modules/fits_handler/tests/atconfig commands | config.status:1771: executing modules/gdal_handler/tests/atconfig commands | config.status:1771: executing modules/ncml_module/tests/atconfig commands | config.status:1771: executing modules/ugrid_functions/tests/atconfig commands | config.status:1771: executing modules/w10n_handler/tests/atconfig commands | config.status:1771: executing modules/hdf4_handler/bes-testsuite/atconfig commands | config.status:1771: executing modules/hdf5_handler/bes-testsuite/atconfig commands | | ## ---------------- ## | ## Cache variables. ## | ## ---------------- ## | | ac_cv_build=x86_64-apple-darwin17.7.0 | ac_cv_c_compiler_gnu=yes | ac_cv_c_const=yes | ac_cv_c_inline=inline | ac_cv_cxx_compiler_gnu=yes | ac_cv_cxx_tr1_functional=no | ac_cv_env_CCC_set= | ac_cv_env_CCC_value= | ac_cv_env_CC_set= | ac_cv_env_CC_value= | ac_cv_env_CFLAGS_set= | ac_cv_env_CFLAGS_value= | ac_cv_env_CPPFLAGS_set= | ac_cv_env_CPPFLAGS_value= | ac_cv_env_CPPUNIT_CFLAGS_set= | ac_cv_env_CPPUNIT_CFLAGS_value= | ac_cv_env_CPPUNIT_LIBS_set= | ac_cv_env_CPPUNIT_LIBS_value= | ac_cv_env_CPP_set= | ac_cv_env_CPP_value= | ac_cv_env_CURL_CFLAGS_set= | ac_cv_env_CURL_CFLAGS_value= | ac_cv_env_CURL_CONFIG_set= | ac_cv_env_CURL_CONFIG_value= | ac_cv_env_CURL_LIBS_set= | ac_cv_env_CURL_LIBS_value= | ac_cv_env_CXXCPP_set= | ac_cv_env_CXXCPP_value= | ac_cv_env_CXXFLAGS_set= | ac_cv_env_CXXFLAGS_value= | ac_cv_env_CXX_set= | ac_cv_env_CXX_value= | ac_cv_env_DAP_CFLAGS_set= | ac_cv_env_DAP_CFLAGS_value= | ac_cv_env_DAP_CLIENT_CFLAGS_set= | ac_cv_env_DAP_CLIENT_CFLAGS_value= | ac_cv_env_DAP_CLIENT_LIBS_set= | ac_cv_env_DAP_CLIENT_LIBS_value= | ac_cv_env_DAP_LIBS_set= | ac_cv_env_DAP_LIBS_value= | ac_cv_env_DAP_SERVER_CFLAGS_set= | ac_cv_env_DAP_SERVER_CFLAGS_value= | ac_cv_env_DAP_SERVER_LIBS_set= | ac_cv_env_DAP_SERVER_LIBS_value= | ac_cv_env_ICU_CFLAGS_set= | ac_cv_env_ICU_CFLAGS_value= | ac_cv_env_ICU_CONFIG_set= | ac_cv_env_ICU_CONFIG_value= | ac_cv_env_ICU_LIBS_set= | ac_cv_env_ICU_LIBS_value= | ac_cv_env_LDFLAGS_set= | ac_cv_env_LDFLAGS_value= | ac_cv_env_LIBS_set= | ac_cv_env_LIBS_value= | ac_cv_env_LT_SYS_LIBRARY_PATH_set= | ac_cv_env_LT_SYS_LIBRARY_PATH_value= | ac_cv_env_PKG_CONFIG_set= | ac_cv_env_PKG_CONFIG_value= | ac_cv_env_XML2_CFLAGS_set= | ac_cv_env_XML2_CFLAGS_value= | ac_cv_env_XML2_LIBS_set= | ac_cv_env_XML2_LIBS_value= | ac_cv_env_build_alias_set= | ac_cv_env_build_alias_value= | ac_cv_env_host_alias_set= | ac_cv_env_host_alias_value= | ac_cv_env_target_alias_set= | ac_cv_env_target_alias_value= | ac_cv_func__doprnt=no | ac_cv_func_alarm=yes | ac_cv_func_alloca_works=yes | ac_cv_func_atexit=yes | ac_cv_func_dlclose=yes | ac_cv_func_floor=yes | ac_cv_func_isascii=yes | ac_cv_func_malloc_0_nonnull=yes | ac_cv_func_memcmp_working=yes | ac_cv_func_memmove=yes | ac_cv_func_memset=yes | ac_cv_func_mktime=yes | ac_cv_func_pow=yes | ac_cv_func_realloc_0_nonnull=yes | ac_cv_func_setvbuf_reversed=no | ac_cv_func_sqrt=yes | ac_cv_func_strcasecmp=yes | ac_cv_func_strchr=yes | ac_cv_func_strcspn=yes | ac_cv_func_strdup=yes | ac_cv_func_strerror=yes | ac_cv_func_strftime=yes | ac_cv_func_strncasecmp=yes | ac_cv_func_strpbrk=yes | ac_cv_func_strrchr=yes | ac_cv_func_strspn=yes | ac_cv_func_strtod=yes | ac_cv_func_strtol=yes | ac_cv_func_strtoul=yes | ac_cv_func_timegm=yes | ac_cv_func_vprintf=yes | ac_cv_func_working_mktime=no | ac_cv_header_bzlib_h=yes | ac_cv_header_curl_curl_h=yes | ac_cv_header_curl_multi_h=yes | ac_cv_header_dlfcn_h=yes | ac_cv_header_fcntl_h=yes | ac_cv_header_fitsio_h=yes | ac_cv_header_float_h=yes | ac_cv_header_history_h=no | ac_cv_header_inttypes_h=yes | ac_cv_header_limits_h=yes | ac_cv_header_malloc_h=no | ac_cv_header_memory_h=yes | ac_cv_header_pthread_h=yes | ac_cv_header_readline_h=no | ac_cv_header_readline_history_h=yes | ac_cv_header_readline_readline_h=yes | ac_cv_header_stdbool_h=yes | ac_cv_header_stdc=yes | ac_cv_header_stddef_h=yes | ac_cv_header_stdint_h=yes | ac_cv_header_stdlib_h=yes | ac_cv_header_string_h=yes | ac_cv_header_strings_h=yes | ac_cv_header_sys_stat_h=yes | ac_cv_header_sys_time_h=yes | ac_cv_header_sys_types_h=yes | ac_cv_header_time=yes | ac_cv_header_unistd_h=yes | ac_cv_header_uuid_h=no | ac_cv_header_uuid_uuid_h=yes | ac_cv_host=x86_64-apple-darwin17.7.0 | ac_cv_lib_bz2_BZ2_bzReadOpen=yes | ac_cv_lib_cfitsio_fits_is_url_absolute=yes | ac_cv_lib_error_at_line=no | ac_cv_lib_hdf5_H5open=yes | ac_cv_lib_lex=-ll | ac_cv_lib_netcdf_nc_inq_libvers=yes | ac_cv_lib_netcdf_nc_open=yes | ac_cv_lib_openjp2_opj_version=yes | ac_cv_lib_pthread_pthread_kill=yes | ac_cv_lib_z_gzopen=yes | ac_cv_objext=o | ac_cv_path_CPPUNIT_CONFIG=/usr/local/bin/cppunit-config | ac_cv_path_CURL=/usr/bin/curl | ac_cv_path_DAP_CONFIG=/Users/vskorole/opendap/hyrax/build/bin/dap-config | ac_cv_path_EGREP='/usr/bin/grep -E' | ac_cv_path_FGREP='/usr/bin/grep -F' | ac_cv_path_GREP=/usr/bin/grep | ac_cv_path_ICU_CONFIG=/Users/vskorole/opendap/hyrax/build/deps/bin/icu-config | ac_cv_path_SED=/usr/bin/sed | ac_cv_path_ac_pt_CURL_CONFIG=/usr/bin/curl-config | ac_cv_path_install='/usr/bin/install -c' | ac_cv_path_lt_DD=/bin/dd | ac_cv_prog_AWK=awk | ac_cv_prog_CPP='gcc -E' | ac_cv_prog_CXXCPP='g++ -E' | ac_cv_prog_LEX=flex | ac_cv_prog_PERL=/usr/bin/perl | ac_cv_prog_VALGRIND='valgrind --logfile=memcheck' | ac_cv_prog_YACC=bison | ac_cv_prog_ac_ct_AR=ar | ac_cv_prog_ac_ct_CC=gcc | ac_cv_prog_ac_ct_CXX=g++ | ac_cv_prog_ac_ct_DSYMUTIL=dsymutil | ac_cv_prog_ac_ct_LIPO=lipo | ac_cv_prog_ac_ct_NMEDIT=nmedit | ac_cv_prog_ac_ct_OBJDUMP=objdump | ac_cv_prog_ac_ct_OTOOL=otool | ac_cv_prog_ac_ct_RANLIB=ranlib | ac_cv_prog_ac_ct_STRIP=strip | ac_cv_prog_cc_c89= | ac_cv_prog_cc_g=yes | ac_cv_prog_cxx_g=yes | ac_cv_prog_lex_root=lex.yy | ac_cv_prog_lex_yytext_pointer=yes | ac_cv_prog_make_make_set=yes | ac_cv_search_curl_multi_wait=-lcurl | ac_cv_search_isdigit='none required' | ac_cv_search_uuid_generate='none required' | ac_cv_struct_tm=time.h | ac_cv_sys_file_offset_bits=no | ac_cv_sys_largefile_CC=no | ac_cv_type__Bool=yes | ac_cv_type_ptrdiff_t=yes | ac_cv_type_size_t=yes | ac_cv_working_alloca_h=yes | am_cv_CC_dependencies_compiler_type=gcc3 | am_cv_CXX_dependencies_compiler_type=gcc3 | am_cv_make_support_nested_variables=yes | am_cv_prog_cc_c_o=yes | am_cv_prog_tar_pax=gnutar | lt_cv_apple_cc_single_mod=yes | lt_cv_ar_at_file=no | lt_cv_deplibs_check_method=pass_all | lt_cv_file_magic_cmd='$MAGIC_CMD' | lt_cv_file_magic_test_file= | lt_cv_ld_exported_symbols_list=yes | lt_cv_ld_force_load=yes | lt_cv_ld_reload_flag=-r | lt_cv_nm_interface='BSD nm' | lt_cv_objdir=.libs | lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | lt_cv_path_LDCXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | lt_cv_path_NM='/usr/bin/nm -B' | lt_cv_path_mainfest_tool=no | lt_cv_prog_compiler_c_o=yes | lt_cv_prog_compiler_c_o_CXX=yes | lt_cv_prog_compiler_pic='-fno-common -DPIC' | lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC' | lt_cv_prog_compiler_pic_works=yes | lt_cv_prog_compiler_pic_works_CXX=yes | lt_cv_prog_compiler_rtti_exceptions=yes | lt_cv_prog_compiler_static_works=no | lt_cv_prog_compiler_static_works_CXX=no | lt_cv_prog_gnu_ld=no | lt_cv_prog_gnu_ldcxx=no | lt_cv_sharedlib_from_linklib_cmd='printf %s\n' | lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' | lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' | lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' | lt_cv_sys_global_symbol_to_import= | lt_cv_sys_max_cmd_len=196608 | lt_cv_to_host_file_cmd=func_convert_file_noop | lt_cv_to_tool_file_cmd=func_convert_file_noop | lt_cv_truncate_bin='/bin/dd bs=4096 count=1' | sic_cv_var_sys_errlist=yes | vl_cv_lib_readline=-lreadline | vl_cv_lib_readline_history=yes | | ## ----------------- ## | ## Output variables. ## | ## ----------------- ## | | ACLOCAL='${SHELL} /Users/vskorole/opendap/hyrax/bes/conf/missing aclocal-1.15' | ALLOCA='' | AMDEPBACKSLASH='\' | AMDEP_FALSE='#' | AMDEP_TRUE='' | AMTAR='$${TAR-tar}' | AM_BACKSLASH='\' | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | AM_DEFAULT_VERBOSITY='1' | AM_V='$(V)' | AR='ar' | AUTOCONF='${SHELL} /Users/vskorole/opendap/hyrax/bes/conf/missing autoconf' | AUTOHEADER='${SHELL} /Users/vskorole/opendap/hyrax/bes/conf/missing autoheader' | AUTOMAKE='${SHELL} /Users/vskorole/opendap/hyrax/bes/conf/missing automake-1.15' | AWK='awk' | BES_BZ2_LIBS='-lbz2' | BES_DAP_LIB='-L$(top_builddir)/dap -ldap_module' | BES_DEVELOPER_FALSE='#' | BES_DEVELOPER_TRUE='' | BES_DISPATCH_LIB='-L$(top_builddir)/dispatch -lbes_dispatch' | BES_DL_LIBS='' | BES_EXTRA_LIBS='-lcurl ' | BES_PPT_LIB='-L$(top_builddir)/ppt -lbes_ppt' | BES_XML_CMD_LIB='-L$(top_builddir)/xmlcommand -lbes_xml_command' | BES_ZLIB_LIBS='-lz' | BUILD_FITS_FALSE='#' | BUILD_FITS_TRUE='' | BUILD_GDAL_FALSE='#' | BUILD_GDAL_TRUE='' | BUILD_HDF4_FALSE='#' | BUILD_HDF4_TRUE='' | BUILD_HDF5_FALSE='#' | BUILD_HDF5_TRUE='' | BUILD_NCML_FALSE='#' | BUILD_NCML_TRUE='' | BUILD_NETCDF_FALSE='#' | BUILD_NETCDF_TRUE='' | BZ2UNCOMPRESS_FALSE='#' | BZ2UNCOMPRESS_TRUE='' | CC='gcc' | CCDEPMODE='depmode=gcc3' | CFITS_CPPFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include' | CFITS_LDFLAGS='-L/Users/vskorole/opendap/hyrax/build/deps/lib' | CFITS_LIBS='-lcfitsio' | CFLAGS='-g -O2' | COMPILER_IS_GCC_FALSE='#' | COMPILER_IS_GCC_TRUE='' | CPP='gcc -E' | CPPFLAGS='' | CPPUNIT_CFLAGS='-I/usr/local/include' | CPPUNIT_CONFIG='/usr/local/bin/cppunit-config' | CPPUNIT_FALSE='#' | CPPUNIT_LIBS='-L/usr/local/lib -lcppunit -ldl' | CPPUNIT_TRUE='' | CURL='/usr/bin/curl' | CURL_CFLAGS='' | CURL_CONFIG='/usr/bin/curl-config' | CURL_LIBS='-lcurl' | CXX='g++' | CXXCPP='g++ -E' | CXXDEPMODE='depmode=gcc3' | CXXFLAGS='-g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer' | CYGPATH_W='echo' | DAP_BUILTIN_MODULES_FALSE='#' | DAP_BUILTIN_MODULES_TRUE='' | DAP_CFLAGS='-I/Users/vskorole/opendap/hyrax/build/include/libdap -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2 ' | DAP_CLIENT_CFLAGS='-I/Users/vskorole/opendap/hyrax/build/include/libdap -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2 ' | DAP_CLIENT_LIBS='-L/Users/vskorole/opendap/hyrax/build/lib64 -L/Users/vskorole/opendap/hyrax/build/lib -ldap -ldapclient -lcurl -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_CLIENT_STATIC_LIBS='-L/Users/vskorole/opendap/hyrax/build/lib64 -L/Users/vskorole/opendap/hyrax/build/lib -ldap -ldapclient -lcurl -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_CONFIG='/Users/vskorole/opendap/hyrax/build/bin/dap-config' | DAP_LIBS='-L/Users/vskorole/opendap/hyrax/build/lib64 -L/Users/vskorole/opendap/hyrax/build/lib -ldap -ldapserver -ldapclient -lcurl -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_PROTOCOL_VERSION='' | DAP_SERVER_CFLAGS='-I/Users/vskorole/opendap/hyrax/build/include/libdap -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2 ' | DAP_SERVER_LIBS='-L/Users/vskorole/opendap/hyrax/build/lib64 -L/Users/vskorole/opendap/hyrax/build/lib -ldap -ldapserver -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_SERVER_STATIC_LIBS='-L/Users/vskorole/opendap/hyrax/build/lib64 -L/Users/vskorole/opendap/hyrax/build/lib -ldap -ldapserver -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_STATIC_LIBS='-L/Users/vskorole/opendap/hyrax/build/lib64 -L/Users/vskorole/opendap/hyrax/build/lib -ldap -ldapserver -ldapclient -lcurl -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DEFS='-DHAVE_CONFIG_H' | DEPDIR='.deps' | DLLTOOL='false' | DSYMUTIL='dsymutil' | DUMPBIN='' | ECHO_C='\c' | ECHO_N='' | ECHO_T='' | EGREP='/usr/bin/grep -E' | ENABLE_UNIT_TESTS='' | EXEEXT='' | FF_CPPFLAGS='-DLINUX' | FGREP='/usr/bin/grep -F' | GDAL_CFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include' | GDAL_CONFIG='' | GDAL_DEP_LDFLAGS='' | GDAL_LDFLAGS='-L/Users/vskorole/opendap/hyrax/build/deps/lib -lgdal -L/Users/vskorole/opendap/hyrax/build/deps/lib -lopenjp2 -L/Users/vskorole/opendap/hyrax/build/deps/lib -lnetcdf -lz -lpthread -ldl -lcurl -liconv -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm' | GDAL_OGR_ENABLED='' | GDAL_VERSION='' | GF_CFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include' | GF_LIBS='-L/Users/vskorole/opendap/hyrax/build/deps/lib64 -L/Users/vskorole/opendap/hyrax/build/deps/lib -lgridfields ' | GF_PATH='/Users/vskorole/opendap/hyrax/build/deps' | GREP='/usr/bin/grep' | H4_CC='/Users/vskorole/opendap/hyrax/build/deps/bin/h4cc' | H5_CPPFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include' | H5_LDFLAGS='-L/Users/vskorole/opendap/hyrax/build/deps/lib' | H5_LIBS='-lhdf5_hl -lhdf5 -ldl' | H5_PATH='/Users/vskorole/opendap/hyrax/build/deps' | HAVE_VALGRIND='' | HDF4_CFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include' | HDF4_LDFLAGS='-L/Users/vskorole/opendap/hyrax/build/deps/lib' | HDF4_LIBS='-lmfhdf -ldf -ljpeg -lz ' | HDF4_PATH='/Users/vskorole/opendap/hyrax/build/deps' | HDFEOS2_CPPFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include -DUSE_HDFEOS2_LIB' | HDFEOS2_DIR='/Users/vskorole/opendap/hyrax/build/deps' | HDFEOS2_FALSE='#' | HDFEOS2_LDFLAGS='-L/Users/vskorole/opendap/hyrax/build/deps/lib' | HDFEOS2_LIBS='-lhdfeos -lGctp' | HDFEOS2_TRUE='' | ICU_CFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include' | ICU_CONFIG='/Users/vskorole/opendap/hyrax/build/deps/bin/icu-config' | ICU_CPPFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include' | ICU_LIBS='-lpthread -lm -L/Users/vskorole/opendap/hyrax/build/deps/lib -licui18n -licuuc -licudata -lpthread -lm' | ICU_PATH='/Users/vskorole/opendap/hyrax/build/deps' | INSTALL_DATA='${INSTALL} -m 644' | INSTALL_PROGRAM='${INSTALL}' | INSTALL_SCRIPT='${INSTALL}' | INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' | LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' | LDFLAGS='' | LEX='flex' | LEXLIB='-ll' | LEX_OUTPUT_ROOT='lex.yy' | LIBDAP_FALSE='#' | LIBDAP_TRUE='' | LIBDISPATCH_VERSION='17:1:2' | LIBOBJS=' ${LIBOBJDIR}error$U.o ${LIBOBJDIR}mktime$U.o' | LIBPPT_VERSION='4:14:0' | LIBS='-lcurl ' | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | LIBXMLCOMMAND_VERSION='4:2:3' | LIB_DIS_AGE='2' | LIB_DIS_CURRENT='17' | LIB_DIS_REVISION='1' | LIB_PPT_AGE='0' | LIB_PPT_CURRENT='4' | LIB_PPT_REVISION='14' | LIB_XML_CMD_AGE='3' | LIB_XML_CMD_CURRENT='4' | LIB_XML_CMD_REVISION='2' | LIPO='lipo' | LN_S='ln -s' | LTLIBOBJS=' ${LIBOBJDIR}error$U.lo ${LIBOBJDIR}mktime$U.lo' | LT_SYS_LIBRARY_PATH='' | MAKEINFO='${SHELL} /Users/vskorole/opendap/hyrax/bes/conf/missing makeinfo' | MANIFEST_TOOL=':' | MKDIR_P='conf/install-sh -c -d' | NC_BIN_PATH='/Users/vskorole/opendap/hyrax/build/deps/bin' | NC_CONFIG='' | NC_CPPFLAGS='-I/Users/vskorole/opendap/hyrax/build/deps/include' | NC_LDFLAGS='-L/Users/vskorole/opendap/hyrax/build/deps/lib' | NC_LIBS='-lnetcdf -lcurl -lhdf5_hl -lhdf5 -ldl' | NC_NETCDF_3_CPPFLAG='-I/Users/vskorole/opendap/hyrax/build/deps/include' | NC_PATH='/Users/vskorole/opendap/hyrax/build/deps' | NETCDF4_TESTS_FALSE='#' | NETCDF4_TESTS_TRUE='' | NM='/usr/bin/nm -B' | NMEDIT='nmedit' | OBJDUMP='objdump' | OBJEXT='o' | OPENJPEG_FOUND_FALSE='#' | OPENJPEG_FOUND_TRUE='' | OTOOL64=':' | OTOOL='otool' | PACKAGE='bes' | PACKAGE_BUGREPORT='support@opendap.org' | PACKAGE_MAJOR_VERSION='3' | PACKAGE_MINOR_VERSION='20' | PACKAGE_NAME='bes' | PACKAGE_STRING='bes 3.20.2' | PACKAGE_SUBMINOR_VERSION='2' | PACKAGE_TARNAME='bes' | PACKAGE_URL='' | PACKAGE_VERSION='3.20.2' | PATH_SEPARATOR=':' | PERL='/usr/bin/perl' | PKG_CONFIG='' | POW_LIB='' | PTHREAD_LIBS='-lpthread' | RANLIB='ranlib' | READLINE_LIBS='-lreadline' | SED='/usr/bin/sed' | SET_MAKE='' | SHELL='/bin/sh' | STRIP='strip' | USE_ASAN_FALSE='#' | USE_ASAN_TRUE='' | USE_VALGRIND_FALSE='' | USE_VALGRIND_TRUE='#' | USING_GRIDFIELDS_FALSE='#' | USING_GRIDFIELDS_TRUE='' | VALGRIND='valgrind --logfile=memcheck' | VERSION='3.20.2' | WITH_CMR_FALSE='#' | WITH_CMR_TRUE='' | WITH_DEPENDENCIES_FALSE='#' | WITH_DEPENDENCIES_TRUE='' | XML2_CFLAGS='-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2' | XML2_LIBS='-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm' | XML2_STATIC_LIBS='-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm' | YACC='bison' | ac_bes_dependencies_prefix='/Users/vskorole/opendap/hyrax/build/deps' | ac_ct_AR='ar' | ac_ct_CC='gcc' | ac_ct_CXX='g++' | ac_ct_DUMPBIN='' | am__EXEEXT_FALSE='' | am__EXEEXT_TRUE='#' | am__fastdepCC_FALSE='#' | am__fastdepCC_TRUE='' | am__fastdepCXX_FALSE='#' | am__fastdepCXX_TRUE='' | am__include='include' | am__isrc='' | am__leading_dot='.' | am__nodep='_no' | am__quote='' | am__tar='tar --format=posix -chf - "$$tardir"' | am__untar='tar -xf -' | bindir='${exec_prefix}/bin' | build='x86_64-apple-darwin17.7.0' | build_alias='' | build_cpu='x86_64' | build_os='darwin17.7.0' | build_vendor='apple' | datadir='${datarootdir}' | datarootdir='${prefix}/share' | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | dvidir='${docdir}' | exec_prefix='${prefix}' | host='x86_64-apple-darwin17.7.0' | host_alias='' | host_cpu='x86_64' | host_os='darwin17.7.0' | host_vendor='apple' | htmldir='${docdir}' | includedir='${prefix}/include' | infodir='${datarootdir}/info' | install_sh='${SHELL} /Users/vskorole/opendap/hyrax/bes/conf/install-sh' | libdir='${exec_prefix}/lib' | libexecdir='${exec_prefix}/libexec' | localedir='${datarootdir}/locale' | localstatedir='${prefix}/var' | mandir='${datarootdir}/man' | mkdir_p='$(MKDIR_P)' | oldincludedir='/usr/include' | pdfdir='${docdir}' | prefix='/Users/vskorole/opendap/hyrax/build' | program_transform_name='s,x,x,' | psdir='${docdir}' | sbindir='${exec_prefix}/sbin' | sharedstatedir='${prefix}/com' | sysconfdir='${prefix}/etc' | target_alias='' | xmlprivatelibs='-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm' | xmlprivatereq='' | | ## ----------- ## | ## confdefs.h. ## | ## ----------- ## | | /* confdefs.h */ | #define PACKAGE_NAME "bes" | #define PACKAGE_TARNAME "bes" | #define PACKAGE_VERSION "3.20.2" | #define PACKAGE_STRING "bes 3.20.2" | #define PACKAGE_BUGREPORT "support@opendap.org" | #define PACKAGE_URL "" | #define PACKAGE "bes" | #define VERSION "3.20.2" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define DAPREADER_PACKAGE "dapreader_module" | #define DAPREADER_VERSION "0.0.1" | #define YYTEXT_POINTER 1 | #define HAVE_CURL_CURL_H 1 | #define HAVE_CURL_MULTI_H 1 | #define HAVE_CURL_MULTI_API 1 | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FLOAT_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_BZLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UUID_UUID_H 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_PTRDIFF_T 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STRDUP 1 | #define HAVE_STRFTIME 1 | #define HAVE_STRTOL 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCSPN 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRPBRK 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_STRSPN 1 | #define HAVE_STRTOUL 1 | #define HAVE_TIMEGM 1 | #define HAVE_MKTIME 1 | #define HAVE_ATEXIT 1 | #define HAVE_FLOOR 1 | #define HAVE_ISASCII 1 | #define HAVE_MEMMOVE 1 | #define HAVE_MEMSET 1 | #define HAVE_POW 1 | #define HAVE_SQRT 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_ALARM 1 | #define HAVE_STDLIB_H 1 | #define HAVE_REALLOC 1 | #define HAVE_VPRINTF 1 | #define HAVE_LIBBZ2 1 | #define HAVE_LIBREADLINE 1 | #define HAVE_READLINE_READLINE_H 1 | #define HAVE_READLINE_HISTORY 1 | #define HAVE_READLINE_HISTORY_H 1 | #define HAVE_SYS_ERRLIST 1 | #define DAP_PROTOCOL_VERSION "3.2" | #define ENABLE_UNIT_TESTS 1 | #define NETCDF_VERSION 4 | #define HAVE_FITSIO_H 1 | #define GRIDFIELDS 1 | | configure: exit 0 | | ## ---------------------- ## | ## Running config.status. ## | ## ---------------------- ## | | This file was extended by bes config.status 3.20.2, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status besd | | on mbp-vskorole.edn.ecs.nasa.gov | | config.status:1542: creating besd