## ---------------------------------------------- ## ## bes 3.19.1 test suite: bes.conf besstandalone. ## ## ---------------------------------------------- ## fonc_handler_test: command line was: $ ./fonc_handler_test ## ---------- ## ## ChangeLog. ## ## ---------- ## | 2017-11-17 James Gallagher | | Merge branch 'master' of https://github.com/opendap/bes | | Various fixes. | | add hyraxctl | | Removed old comments and added a new one to besd.logrotate | ## --------- ## ## Platform. ## ## --------- ## hostname = edamame.local uname -m = x86_64 uname -r = 17.7.0 uname -s = Darwin uname -v = Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~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: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~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: 509 tasks, 3029 threads, 8 processors Load average: 2.36, Mach factor: 5.68 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Users/jimg/src/opendap/hyrax_git/bes/standalone PATH: /Users/jimg/src/opendap/hyrax_git/build/bin PATH: /Users/jimg/src/opendap/hyrax_git/build/deps/bin PATH: /Library/Frameworks/Python.framework/Versions/3.6/bin PATH: /usr/local/apache-maven/apache-maven-3.1.1/bin PATH: /usr/local/apache-ant-1.9.3/bin PATH: /usr/local/mysql/bin PATH: /Users/jimg/Library/Python/3.6/bin PATH: /Applications/Doxygen.app/Contents/Resources PATH: /usr/local/bin PATH: /usr/local/sbin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin PATH: /Applications/Xcode.app/Contents/Developer/usr/bin PATH: /Users/jimg/bin PATH: /Applications/itt/idl/idl/bin PATH: /usr/local/texlive/2013/bin/x86_64-darwin PATH: /Applications/HP_Fortify/HP_Fortify_SCA_and_Apps_4.10/bin PATH: /Applications/HP_Fortify/HP_Fortify_SCA_and_Apps_4.21/bin fonc_handler_test: 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/fileout_netcdf/tests' | abs_builddir='/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests' | at_srcdir='.' | abs_srcdir='/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests' | at_top_srcdir='../../..' | abs_top_srcdir='/Users/jimg/src/opendap/hyrax_git/bes' | at_top_build_prefix='../../../' | abs_top_builddir='/Users/jimg/src/opendap/hyrax_git/bes' | | # Backward compatibility with Autotest <= 2.59b: | at_top_builddir=$at_top_build_prefix | | AUTOTEST_PATH='standalone' | | SHELL=${CONFIG_SHELL-'/bin/sh'} fonc_handler_test: atlocal: ## ---------------- ## ## Tested programs. ## ## ---------------- ## ./handler_tests_macros.m4:8: /Users/jimg/src/opendap/hyrax_git/bes/standalone/besstandalone --version /Users/jimg/src/opendap/hyrax_git/bes/standalone/.libs/besstandalone: version 2.0 ## ------------------ ## ## Running the tests. ## ## ------------------ ## fonc_handler_test: starting at: Fri Aug 3 17:37:54 MDT 2018 1. BESCMD $abs_srcdir/bescmd/simpleT00.0.bescmd (fonc_handler_test.at:10): ok (0m0.064s 0m0.054s) 2. BESCMD $abs_srcdir/bescmd/simpleT00.1.bescmd (fonc_handler_test.at:11): ok (0m0.097s 0m0.072s) 3. BESCMD $abs_srcdir/bescmd/simpleT00.2.bescmd (fonc_handler_test.at:12): ok (0m0.092s 0m0.083s) 4. BESCMD $abs_srcdir/bescmd/simpleT00.3.bescmd (fonc_handler_test.at:13): ok (0m0.092s 0m0.077s) 5. BESCMD $abs_srcdir/bescmd/simpleT00.4.bescmd (fonc_handler_test.at:16): ok (0m0.094s 0m0.083s) 6. BESCMD $abs_srcdir/bescmd/simpleT00.5.bescmd (fonc_handler_test.at:17): ok (0m0.094s 0m0.082s) 7. BESCMD $abs_srcdir/bescmd/simpleT00.6.bescmd (fonc_handler_test.at:19): ok (0m0.095s 0m0.085s) 8. BESCMD $abs_srcdir/bescmd/simpleT00.7.bescmd (fonc_handler_test.at:20): ok (0m0.092s 0m0.075s) 9. BESCMD $abs_srcdir/bescmd/arrayT.0.bescmd (fonc_handler_test.at:22): ok (0m0.064s 0m0.056s) 10. BESCMD $abs_srcdir/bescmd/arrayT.1.bescmd (fonc_handler_test.at:23): ok (0m0.101s 0m0.077s) 13. BESCMD $abs_srcdir/bescmd/arrayT01.0.bescmd (fonc_handler_test.at:27): ok (0m0.066s 0m0.058s) 14. BESCMD $abs_srcdir/bescmd/arrayT01.1.bescmd (fonc_handler_test.at:28): ok (0m0.102s 0m0.078s) 17. BESCMD $abs_srcdir/bescmd/cedar.0.bescmd (fonc_handler_test.at:32): ok (0m0.094s 0m0.065s) 18. BESCMD $abs_srcdir/bescmd/cedar.1.bescmd (fonc_handler_test.at:33): ok (0m0.182s 0m0.112s) 21. BESCMD $abs_srcdir/bescmd/fits.0.bescmd (fonc_handler_test.at:37): ok (0m0.096s 0m0.057s) 22. BESCMD $abs_srcdir/bescmd/fits.1.bescmd (fonc_handler_test.at:38): ok (0m0.330s 0m0.091s) 25. BESCMD $abs_srcdir/bescmd/gridT.0.bescmd (fonc_handler_test.at:42): ok (0m0.067s 0m0.053s) 26. BESCMD $abs_srcdir/bescmd/gridT.1.bescmd (fonc_handler_test.at:43): ok (0m0.101s 0m0.079s) 29. BESCMD $abs_srcdir/bescmd/namesT.0.bescmd (fonc_handler_test.at:47): ok (0m0.069s 0m0.060s) 30. BESCMD $abs_srcdir/bescmd/namesT.1.bescmd (fonc_handler_test.at:48): ok (0m0.107s 0m0.085s) 33. BESCMD $abs_srcdir/bescmd/structT00.0.bescmd (fonc_handler_test.at:52): ok (0m0.067s 0m0.058s) 34. BESCMD $abs_srcdir/bescmd/structT00.1.bescmd (fonc_handler_test.at:53): ok (0m0.102s 0m0.081s) 35. BESCMD $abs_srcdir/bescmd/structT00.2.bescmd (fonc_handler_test.at:54): ok (0m0.100s 0m0.092s) 36. BESCMD $abs_srcdir/bescmd/structT00.3.bescmd (fonc_handler_test.at:55): ok (0m0.098s 0m0.084s) 37. BESCMD $abs_srcdir/bescmd/structT01.0.bescmd (fonc_handler_test.at:57): ok (0m0.066s 0m0.057s) 38. BESCMD $abs_srcdir/bescmd/structT01.1.bescmd (fonc_handler_test.at:58): ok (0m0.099s 0m0.077s) 41. BESCMD $abs_srcdir/bescmd/structT02.0.bescmd (fonc_handler_test.at:62): ok (0m0.067s 0m0.059s) 42. BESCMD $abs_srcdir/bescmd/structT02.1.bescmd (fonc_handler_test.at:63): ok (0m0.103s 0m0.081s) 43. BESCMD $abs_srcdir/bescmd/structT02.2.bescmd (fonc_handler_test.at:64): ok (0m0.097s 0m0.089s) 44. BESCMD $abs_srcdir/bescmd/structT02.3.bescmd (fonc_handler_test.at:65): ok (0m0.104s 0m0.091s) 45. BESCMD $abs_srcdir/bescmd/fnoc.0.bescmd (fonc_handler_test.at:76): ok (0m0.065s 0m0.054s) 48. BESCMD $abs_srcdir/bescmd/t_string.0.bescmd (fonc_handler_test.at:82): ok (0m0.070s 0m0.063s) 51. BESCMD $abs_srcdir/bescmd/hdf4.0.bescmd (fonc_handler_test.at:88): ok (0m0.092s 0m0.054s) 52. BESCMD $abs_srcdir/bescmd/hdf4.1.bescmd (fonc_handler_test.at:89): ok (0m0.425s 0m0.113s) 55. BESCMD $abs_srcdir/bescmd/hdf4_constraint.0.bescmd (fonc_handler_test.at:93): ok (0m0.099s 0m0.073s) 56. BESCMD $abs_srcdir/bescmd/hdf4_constraint.1.bescmd (fonc_handler_test.at:94): ok (0m0.140s 0m0.092s) 59. BESCMD $abs_srcdir/bescmd/function_result_unwrap.bescmd (fonc_handler_test.at:98): ok (0m0.100s 0m0.092s) fonc_handler_test: ending at: Fri Aug 3 17:38:20 MDT 2018 fonc_handler_test: test suite duration: 0h 0m 26s ## ------------- ## ## Test results. ## ## ------------- ## ERROR: All 67 tests were run, 30 failed unexpectedly. ## ------------------------ ## ## Summary of the failures. ## ## ------------------------ ## Failed tests: bes 3.19.1 test suite: bes.conf besstandalone test groups: NUM: FILE-NAME:LINE TEST-GROUP-NAME KEYWORDS 11: fonc_handler_test.at:24 BESCMD $abs_srcdir/bescmd/arrayT.2.bescmd netcdf 12: fonc_handler_test.at:25 BESCMD $abs_srcdir/bescmd/arrayT.3.bescmd netcdf 15: fonc_handler_test.at:29 BESCMD $abs_srcdir/bescmd/arrayT01.2.bescmd netcdf 16: fonc_handler_test.at:30 BESCMD $abs_srcdir/bescmd/arrayT01.3.bescmd netcdf 19: fonc_handler_test.at:34 BESCMD $abs_srcdir/bescmd/cedar.2.bescmd netcdf 20: fonc_handler_test.at:35 BESCMD $abs_srcdir/bescmd/cedar.3.bescmd netcdf 23: fonc_handler_test.at:39 BESCMD $abs_srcdir/bescmd/fits.2.bescmd netcdf 24: fonc_handler_test.at:40 BESCMD $abs_srcdir/bescmd/fits.3.bescmd netcdf 27: fonc_handler_test.at:44 BESCMD $abs_srcdir/bescmd/gridT.2.bescmd netcdf 28: fonc_handler_test.at:45 BESCMD $abs_srcdir/bescmd/gridT.3.bescmd netcdf 31: fonc_handler_test.at:49 BESCMD $abs_srcdir/bescmd/namesT.2.bescmd netcdf 32: fonc_handler_test.at:50 BESCMD $abs_srcdir/bescmd/namesT.3.bescmd netcdf 39: fonc_handler_test.at:59 BESCMD $abs_srcdir/bescmd/structT01.2.bescmd netcdf 40: fonc_handler_test.at:60 BESCMD $abs_srcdir/bescmd/structT01.3.bescmd netcdf 46: fonc_handler_test.at:77 BESCMD $abs_srcdir/bescmd/fnoc.1.bescmd netcdf 47: fonc_handler_test.at:78 BESCMD $abs_srcdir/bescmd/fnoc.2.bescmd netcdf 49: fonc_handler_test.at:83 BESCMD $abs_srcdir/bescmd/t_string.1.bescmd netcdf 50: fonc_handler_test.at:84 BESCMD $abs_srcdir/bescmd/t_string.2.bescmd netcdf 53: fonc_handler_test.at:90 BESCMD $abs_srcdir/bescmd/hdf4.2.bescmd netcdf 54: fonc_handler_test.at:91 BESCMD $abs_srcdir/bescmd/hdf4.3.bescmd netcdf 57: fonc_handler_test.at:95 BESCMD $abs_srcdir/bescmd/hdf4_constraint.2.bescmd netcdf 58: fonc_handler_test.at:96 BESCMD $abs_srcdir/bescmd/hdf4_constraint.3.bescmd netcdf 60: fonc_handler_test.at:101 BESCMD $abs_srcdir/bescmd/gridT.4.bescmd netcdf 61: fonc_handler_test.at:102 BESCMD $abs_srcdir/bescmd/gridT.5.bescmd netcdf 62: fonc_handler_test.at:103 BESCMD $abs_srcdir/bescmd/gridT.6.bescmd netcdf 63: fonc_handler_test.at:104 BESCMD $abs_srcdir/bescmd/gridT.7.bescmd netcdf 64: fonc_handler_test.at:106 BESCMD $abs_srcdir/bescmd/gridT.8.bescmd netcdf 65: fonc_handler_test.at:107 BESCMD $abs_srcdir/bescmd/gridT.9.bescmd netcdf 66: fonc_handler_test.at:108 BESCMD $abs_srcdir/bescmd/gridT.10.bescmd netcdf 67: fonc_handler_test.at:109 BESCMD $abs_srcdir/bescmd/gridT.11.bescmd netcdf ## ---------------------- ## ## Detailed failed tests. ## ## ---------------------- ## # -*- compilation -*- 11. fonc_handler_test.at:24: testing BESCMD $abs_srcdir/bescmd/arrayT.2.bescmd ... ./fonc_handler_test.at:24: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:37:54.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/11/stderr 2018-08-03 17:37:56.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==34004==ERROR: AddressSanitizer: container-overflow on address 0x602000003570 at pc 0x00010dae3106 bp 0x7ffee70a1050 sp 0x7ffee70a1048 +WRITE of size 8 at 0x602000003570 thread T0 + #0 0x10dae3105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10da77f89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x10da8d89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x108daf973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x10cb32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x1091b993d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x1091b4dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x108c10b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x108b7a8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x108b783aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x108b5de6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x108e80c24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x108b6112e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003570 is located 0 bytes inside of 16-byte region [0x602000003570,0x602000003580) +allocated by thread T0 here: + #0 0x10930db32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10db04422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10db028dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10dae8ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10dae2cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10da77f89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x10da8d89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x108daf973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x10cb32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x1091b993d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x1091b4dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x108c10b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x108b7a8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x108b783aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x108b5de6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x108e80c24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x108b6112e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd + 0x1c0400000660: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd + 0x1c0400000670: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd + 0x1c0400000680: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd + 0x1c0400000690: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fa +=>0x1c04000006a0: fa fa 00 fa fa fa 00 fa fa fa fc fa fa fa[fc]fc + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==34004==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/11/test-source: line 185: 34004 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:24: exit code was 134, expected 0 11. fonc_handler_test.at:24: 11. BESCMD $abs_srcdir/bescmd/arrayT.2.bescmd (fonc_handler_test.at:24): FAILED (fonc_handler_test.at:24) # -*- compilation -*- 12. fonc_handler_test.at:25: testing BESCMD $abs_srcdir/bescmd/arrayT.3.bescmd ... ./fonc_handler_test.at:25: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:37:56.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/12/stderr 2018-08-03 17:37:57.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==34030==ERROR: AddressSanitizer: container-overflow on address 0x602000003570 at pc 0x000114e29106 bp 0x7ffedfc4d050 sp 0x7ffedfc4d048 +WRITE of size 8 at 0x602000003570 thread T0 + #0 0x114e29105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x114dbdf89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x114dd389c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x110208973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x113d56e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x11060f93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x11060adcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x110069b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x10ffce8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x10ffcc3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x10ffb1e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x1102d9c24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10ffb512e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003570 is located 0 bytes inside of 16-byte region [0x602000003570,0x602000003580) +allocated by thread T0 here: + #0 0x110768b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x114e4a422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x114e488dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x114e2eea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x114e28cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x114dbdf89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x114dd389c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x110208973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x113d56e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x11060f93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x11060adcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x110069b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x10ffce8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10ffcc3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10ffb1e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x1102d9c24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10ffb512e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd + 0x1c0400000660: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd + 0x1c0400000670: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd + 0x1c0400000680: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd + 0x1c0400000690: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fa +=>0x1c04000006a0: fa fa 00 fa fa fa 00 fa fa fa fc fa fa fa[fc]fc + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==34030==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/12/test-source: line 185: 34030 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:25: exit code was 134, expected 0 12. fonc_handler_test.at:25: 12. BESCMD $abs_srcdir/bescmd/arrayT.3.bescmd (fonc_handler_test.at:25): FAILED (fonc_handler_test.at:25) # -*- compilation -*- 15. fonc_handler_test.at:29: testing BESCMD $abs_srcdir/bescmd/arrayT01.2.bescmd ... ./fonc_handler_test.at:29: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:37:57.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/15/stderr 2018-08-03 17:37:58.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==34114==ERROR: AddressSanitizer: container-overflow on address 0x6020000030f0 at pc 0x00010e41e106 bp 0x7ffee6658050 sp 0x7ffee6658048 +WRITE of size 8 at 0x6020000030f0 thread T0 + #0 0x10e41e105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10e3b2f89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x10e3c889c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x1097fc973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x10d34be50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x109c0793d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x109c02dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x10965db8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x1095c38d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x1095c13aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x1095a6e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x1098cdc24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x1095aa12e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x6020000030f0 is located 0 bytes inside of 16-byte region [0x6020000030f0,0x602000003100) +allocated by thread T0 here: + #0 0x109d5db32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10e43f422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10e43d8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10e423ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10e41dcd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10e3b2f89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x10e3c889c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x1097fc973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x10d34be50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x109c0793d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x109c02dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x10965db8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x1095c38d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x1095c13aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x1095a6e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x1098cdc24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x1095aa12e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c04000005c0: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa + 0x1c04000005d0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd + 0x1c04000005e0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd + 0x1c04000005f0: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa fd fa + 0x1c0400000600: fa fa fd fd fa fa 00 02 fa fa fd fa fa fa fd fa +=>0x1c0400000610: fa fa 00 fa fa fa 00 fa fa fa fc fa fa fa[fc]fc + 0x1c0400000620: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000630: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000640: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000650: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000660: 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 +==34114==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/15/test-source: line 185: 34114 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:29: exit code was 134, expected 0 15. fonc_handler_test.at:29: 15. BESCMD $abs_srcdir/bescmd/arrayT01.2.bescmd (fonc_handler_test.at:29): FAILED (fonc_handler_test.at:29) # -*- compilation -*- 16. fonc_handler_test.at:30: testing BESCMD $abs_srcdir/bescmd/arrayT01.3.bescmd ... ./fonc_handler_test.at:30: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:37:58.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/16/stderr 2018-08-03 17:37:58.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==34141==ERROR: AddressSanitizer: container-overflow on address 0x6020000030f0 at pc 0x00010a50c106 bp 0x7ffeea56a050 sp 0x7ffeea56a048 +WRITE of size 8 at 0x6020000030f0 thread T0 + #0 0x10a50c105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10a4a0f89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x10a4b689c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x1058ed973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x109439e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x105cf493d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x105cefdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x10574eb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x1056b18d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x1056af3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x105694e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x1059bec24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10569812e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x6020000030f0 is located 0 bytes inside of 16-byte region [0x6020000030f0,0x602000003100) +allocated by thread T0 here: + #0 0x105e49b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10a52d422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10a52b8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10a511ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10a50bcd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10a4a0f89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x10a4b689c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x1058ed973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x109439e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x105cf493d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x105cefdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x10574eb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x1056b18d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x1056af3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x105694e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x1059bec24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10569812e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c04000005c0: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa + 0x1c04000005d0: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fd + 0x1c04000005e0: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd + 0x1c04000005f0: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa fd fa + 0x1c0400000600: fa fa fd fd fa fa 00 02 fa fa fd fa fa fa fd fa +=>0x1c0400000610: fa fa 00 fa fa fa 00 fa fa fa fc fa fa fa[fc]fc + 0x1c0400000620: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000630: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000640: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000650: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000660: 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 +==34141==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/16/test-source: line 185: 34141 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:30: exit code was 134, expected 0 16. fonc_handler_test.at:30: 16. BESCMD $abs_srcdir/bescmd/arrayT01.3.bescmd (fonc_handler_test.at:30): FAILED (fonc_handler_test.at:30) # -*- compilation -*- 19. fonc_handler_test.at:34: testing BESCMD $abs_srcdir/bescmd/cedar.2.bescmd ... ./fonc_handler_test.at:34: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:37:59.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/19/stderr 2018-08-03 17:37:59.000000000 -0600 @@ -0,0 +1,81 @@ +================================================================= +==34225==ERROR: AddressSanitizer: container-overflow on address 0x60200000add0 at pc 0x00010cd9a106 bp 0x7ffee7cdd910 sp 0x7ffee7cdd908 +WRITE of size 8 at 0x60200000add0 thread T0 + #0 0x10cd9a105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10cd9273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x10cd9273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x10cd9273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #4 0x10cd2ef89 in FONcTransform::transform() FONcTransform.cc:149 + #5 0x10cd4489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #6 0x108171973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #7 0x10bd32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #8 0x10857e93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #9 0x108579dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #10 0x107fd2b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #11 0x107f3c8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #12 0x107f3a3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #13 0x107f1fe6d in StandAloneApp::run() StandAloneApp.cc:251 + #14 0x108242c24 in BESApp::main(int, char**) BESApp.cc:58 + #15 0x107f2312e in main StandAloneApp.cc:345 + #16 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x60200000add0 is located 0 bytes inside of 8-byte region [0x60200000add0,0x60200000add8) +allocated by thread T0 here: + #0 0x1086d6b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10cdbb422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10cdb98dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10cd9fea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10cd99cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10cd9273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x10cd9273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x10cd9273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #8 0x10cd2ef89 in FONcTransform::transform() FONcTransform.cc:149 + #9 0x10cd4489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #10 0x108171973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #11 0x10bd32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #12 0x10857e93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #13 0x108579dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #14 0x107fd2b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #15 0x107f3c8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x107f3a3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x107f1fe6d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x108242c24 in BESApp::main(int, char**) BESApp.cc:58 + #19 0x107f2312e in main StandAloneApp.cc:345 + #20 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400001560: fa fa 00 04 fa fa 00 04 fa fa 00 04 fa fa 00 04 + 0x1c0400001570: fa fa 00 04 fa fa 00 04 fa fa 00 04 fa fa 00 04 + 0x1c0400001580: fa fa 00 04 fa fa fd fa fa fa fd fa fa fa 00 fa + 0x1c0400001590: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fd fa + 0x1c04000015a0: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd +=>0x1c04000015b0: fa fa 00 fa fa fa fc fa fa fa[fc]fa fa fa fa fa + 0x1c04000015c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000015d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000015e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000015f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400001600: 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 +==34225==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/19/test-source: line 185: 34225 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:34: exit code was 134, expected 0 19. fonc_handler_test.at:34: 19. BESCMD $abs_srcdir/bescmd/cedar.2.bescmd (fonc_handler_test.at:34): FAILED (fonc_handler_test.at:34) # -*- compilation -*- 20. fonc_handler_test.at:35: testing BESCMD $abs_srcdir/bescmd/cedar.3.bescmd ... ./fonc_handler_test.at:35: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:00.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/20/stderr 2018-08-03 17:38:00.000000000 -0600 @@ -0,0 +1,81 @@ +================================================================= +==34251==ERROR: AddressSanitizer: container-overflow on address 0x60200000add0 at pc 0x000111d17106 bp 0x7ffee2d5d910 sp 0x7ffee2d5d908 +WRITE of size 8 at 0x60200000add0 thread T0 + #0 0x111d17105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x111d0f73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x111d0f73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x111d0f73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #4 0x111cabf89 in FONcTransform::transform() FONcTransform.cc:149 + #5 0x111cc189c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #6 0x10d0f8973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #7 0x110c44e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #8 0x10d50293d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #9 0x10d4fddcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #10 0x10cf59b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #11 0x10cebc8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #12 0x10ceba3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #13 0x10ce9fe6d in StandAloneApp::run() StandAloneApp.cc:251 + #14 0x10d1c9c24 in BESApp::main(int, char**) BESApp.cc:58 + #15 0x10cea312e in main StandAloneApp.cc:345 + #16 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x60200000add0 is located 0 bytes inside of 8-byte region [0x60200000add0,0x60200000add8) +allocated by thread T0 here: + #0 0x10d658b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x111d38422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x111d368dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x111d1cea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x111d16cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x111d0f73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x111d0f73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x111d0f73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #8 0x111cabf89 in FONcTransform::transform() FONcTransform.cc:149 + #9 0x111cc189c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #10 0x10d0f8973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #11 0x110c44e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #12 0x10d50293d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #13 0x10d4fddcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #14 0x10cf59b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #15 0x10cebc8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #16 0x10ceba3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #17 0x10ce9fe6d in StandAloneApp::run() StandAloneApp.cc:251 + #18 0x10d1c9c24 in BESApp::main(int, char**) BESApp.cc:58 + #19 0x10cea312e in main StandAloneApp.cc:345 + #20 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400001560: fa fa 00 04 fa fa 00 04 fa fa 00 04 fa fa 00 04 + 0x1c0400001570: fa fa 00 04 fa fa 00 04 fa fa 00 04 fa fa 00 04 + 0x1c0400001580: fa fa 00 04 fa fa fd fa fa fa fd fa fa fa 00 fa + 0x1c0400001590: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fd fa + 0x1c04000015a0: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd +=>0x1c04000015b0: fa fa 00 fa fa fa fc fa fa fa[fc]fa fa fa fa fa + 0x1c04000015c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000015d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000015e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000015f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400001600: 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 +==34251==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/20/test-source: line 185: 34251 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:35: exit code was 134, expected 0 20. fonc_handler_test.at:35: 20. BESCMD $abs_srcdir/bescmd/cedar.3.bescmd (fonc_handler_test.at:35): FAILED (fonc_handler_test.at:35) # -*- compilation -*- 23. fonc_handler_test.at:39: testing BESCMD $abs_srcdir/bescmd/fits.2.bescmd ... ./fonc_handler_test.at:39: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:01.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/23/stderr 2018-08-03 17:38:01.000000000 -0600 @@ -0,0 +1,79 @@ +================================================================= +==34335==ERROR: AddressSanitizer: container-overflow on address 0x602000013b90 at pc 0x000103684106 bp 0x7ffeee8ac0d0 sp 0x7ffeee8ac0c8 +WRITE of size 8 at 0x602000013b90 thread T0 + #0 0x103684105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10367c73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x10367c73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x103618f89 in FONcTransform::transform() FONcTransform.cc:149 + #4 0x10362e89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #5 0x1015a6973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #6 0x103132e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #7 0x1019ae93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #8 0x1019a9dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #9 0x101407b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #10 0x10136e8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #11 0x10136c3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #12 0x101351e6d in StandAloneApp::run() StandAloneApp.cc:251 + #13 0x101677c24 in BESApp::main(int, char**) BESApp.cc:58 + #14 0x10135512e in main StandAloneApp.cc:345 + #15 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000013b90 is located 0 bytes inside of 16-byte region [0x602000013b90,0x602000013ba0) +allocated by thread T0 here: + #0 0x101b03b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x1036a5422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1036a38dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x103689ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x103683cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10367c73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x10367c73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x103618f89 in FONcTransform::transform() FONcTransform.cc:149 + #8 0x10362e89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #9 0x1015a6973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #10 0x103132e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #11 0x1019ae93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #12 0x1019a9dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #13 0x101407b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #14 0x10136e8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10136c3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x101351e6d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x101677c24 in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10135512e in main StandAloneApp.cc:345 + #19 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400002720: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400002730: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400002740: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400002750: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400002760: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fc fa +=>0x1c0400002770: fa fa[fc]fc fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400002780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400002790: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000027a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000027b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000027c0: 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 +==34335==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/23/test-source: line 185: 34335 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:39: exit code was 134, expected 0 23. fonc_handler_test.at:39: 23. BESCMD $abs_srcdir/bescmd/fits.2.bescmd (fonc_handler_test.at:39): FAILED (fonc_handler_test.at:39) # -*- compilation -*- 24. fonc_handler_test.at:40: testing BESCMD $abs_srcdir/bescmd/fits.3.bescmd ... ./fonc_handler_test.at:40: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:01.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/24/stderr 2018-08-03 17:38:02.000000000 -0600 @@ -0,0 +1,79 @@ +================================================================= +==34361==ERROR: AddressSanitizer: container-overflow on address 0x602000013b90 at pc 0x00011312a106 bp 0x7ffee19ff0d0 sp 0x7ffee19ff0c8 +WRITE of size 8 at 0x602000013b90 thread T0 + #0 0x11312a105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x11312273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x11312273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x1130bef89 in FONcTransform::transform() FONcTransform.cc:149 + #4 0x1130d489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #5 0x10e450973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #6 0x112132e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #7 0x10e85c93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #8 0x10e857dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #9 0x10e2b1b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #10 0x10e21b8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #11 0x10e2193aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #12 0x10e1fee6d in StandAloneApp::run() StandAloneApp.cc:251 + #13 0x10e521c24 in BESApp::main(int, char**) BESApp.cc:58 + #14 0x10e20212e in main StandAloneApp.cc:345 + #15 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000013b90 is located 0 bytes inside of 16-byte region [0x602000013b90,0x602000013ba0) +allocated by thread T0 here: + #0 0x10eac6b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x11314b422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1131498dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x11312fea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x113129cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x11312273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x11312273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x1130bef89 in FONcTransform::transform() FONcTransform.cc:149 + #8 0x1130d489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #9 0x10e450973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #10 0x112132e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #11 0x10e85c93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #12 0x10e857dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #13 0x10e2b1b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #14 0x10e21b8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10e2193aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10e1fee6d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10e521c24 in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10e20212e in main StandAloneApp.cc:345 + #19 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400002720: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400002730: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400002740: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400002750: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400002760: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fc fa +=>0x1c0400002770: fa fa[fc]fc fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400002780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400002790: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000027a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000027b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000027c0: 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 +==34361==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/24/test-source: line 185: 34361 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:40: exit code was 134, expected 0 24. fonc_handler_test.at:40: 24. BESCMD $abs_srcdir/bescmd/fits.3.bescmd (fonc_handler_test.at:40): FAILED (fonc_handler_test.at:40) # -*- compilation -*- 27. fonc_handler_test.at:44: testing BESCMD $abs_srcdir/bescmd/gridT.2.bescmd ... ./fonc_handler_test.at:44: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:02.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/27/stderr 2018-08-03 17:38:03.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==34445==ERROR: AddressSanitizer: container-overflow on address 0x602000003510 at pc 0x00010eaab106 bp 0x7ffee5fcb050 sp 0x7ffee5fcb048 +WRITE of size 8 at 0x602000003510 thread T0 + #0 0x10eaab105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10ea3ff89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x10ea5589c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x109e8a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x10da32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x10a29593d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x10a290dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x109cebb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x109c508d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x109c4e3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x109c33e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x109f5bc24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x109c3712e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003510 is located 0 bytes inside of 8-byte region [0x602000003510,0x602000003518) +allocated by thread T0 here: + #0 0x10a3ecb32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10eacc422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10eaca8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10eab0ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10eaaacd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10ea3ff89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x10ea5589c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x109e8a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x10da32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x10a29593d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x10a290dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x109cebb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x109c508d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x109c4e3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x109c33e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x109f5bc24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x109c3712e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fd fa fa 00 fa + 0x1c0400000660: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 04 + 0x1c0400000670: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa fd fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa fc fa +=>0x1c04000006a0: fa fa[fc]fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==34445==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/27/test-source: line 185: 34445 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:44: exit code was 134, expected 0 27. fonc_handler_test.at:44: 27. BESCMD $abs_srcdir/bescmd/gridT.2.bescmd (fonc_handler_test.at:44): FAILED (fonc_handler_test.at:44) # -*- compilation -*- 28. fonc_handler_test.at:45: testing BESCMD $abs_srcdir/bescmd/gridT.3.bescmd ... ./fonc_handler_test.at:45: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:03.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/28/stderr 2018-08-03 17:38:04.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==34471==ERROR: AddressSanitizer: container-overflow on address 0x602000003510 at pc 0x0001075d2106 bp 0x7ffeed4aa050 sp 0x7ffeed4aa048 +WRITE of size 8 at 0x602000003510 thread T0 + #0 0x1075d2105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x107566f89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x10757c89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x1029a6973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x106532e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x102db293d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x102daddcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x102807b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x1027718d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x10276f3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x102754e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x102a77c24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10275812e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003510 is located 0 bytes inside of 8-byte region [0x602000003510,0x602000003518) +allocated by thread T0 here: + #0 0x102f07b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x1075f3422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1075f18dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1075d7ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x1075d1cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x107566f89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x10757c89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x1029a6973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x106532e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x102db293d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x102daddcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x102807b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x1027718d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10276f3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x102754e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x102a77c24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10275812e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fd fa fa 00 fa + 0x1c0400000660: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 04 + 0x1c0400000670: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa fd fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa fc fa +=>0x1c04000006a0: fa fa[fc]fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==34471==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/28/test-source: line 185: 34471 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:45: exit code was 134, expected 0 28. fonc_handler_test.at:45: 28. BESCMD $abs_srcdir/bescmd/gridT.3.bescmd (fonc_handler_test.at:45): FAILED (fonc_handler_test.at:45) # -*- compilation -*- 31. fonc_handler_test.at:49: testing BESCMD $abs_srcdir/bescmd/namesT.2.bescmd ... ./fonc_handler_test.at:49: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:04.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/31/stderr 2018-08-03 17:38:04.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==34555==ERROR: AddressSanitizer: container-overflow on address 0x602000003290 at pc 0x00010adaa106 bp 0x7ffee9ccc050 sp 0x7ffee9ccc048 +WRITE of size 8 at 0x602000003290 thread T0 + #0 0x10adaa105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10ad3ef89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x10ad5489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x10618b973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x109d32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x10659993d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x106594dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x105fecb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x105f4f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x105f4d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x105f32e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x10625cc24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x105f3612e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003290 is located 0 bytes inside of 8-byte region [0x602000003290,0x602000003298) +allocated by thread T0 here: + #0 0x1066f2b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10adcb422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10adc98dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10adafea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10ada9cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10ad3ef89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x10ad5489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x10618b973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x109d32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x10659993d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x106594dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x105fecb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x105f4f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x105f4d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x105f32e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10625cc24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x105f3612e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000600: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400000610: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd + 0x1c0400000620: fa fa fd fd fa fa fd fa fa fa 00 00 fa fa 00 fa + 0x1c0400000630: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa fd fa + 0x1c0400000640: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa fc fa +=>0x1c0400000650: fa fa[fc]fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000660: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000670: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000690: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006a0: 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 +==34555==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/31/test-source: line 185: 34555 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:49: exit code was 134, expected 0 31. fonc_handler_test.at:49: 31. BESCMD $abs_srcdir/bescmd/namesT.2.bescmd (fonc_handler_test.at:49): FAILED (fonc_handler_test.at:49) # -*- compilation -*- 32. fonc_handler_test.at:50: testing BESCMD $abs_srcdir/bescmd/namesT.3.bescmd ... ./fonc_handler_test.at:50: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:05.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/32/stderr 2018-08-03 17:38:05.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==34581==ERROR: AddressSanitizer: container-overflow on address 0x602000003290 at pc 0x0001135ff106 bp 0x7ffee1634050 sp 0x7ffee1634048 +WRITE of size 8 at 0x602000003290 thread T0 + #0 0x1135ff105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x113593f89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x1135a989c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x10e81c973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x110432e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x10ec2693d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x10ec21dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x10e67db8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x10e5e78d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x10e5e53aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x10e5cae6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x10e8edc24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10e5ce12e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003290 is located 0 bytes inside of 8-byte region [0x602000003290,0x602000003298) +allocated by thread T0 here: + #0 0x10ed7bb32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x113620422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x11361e8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x113604ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x1135fecd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x113593f89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x1135a989c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x10e81c973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x110432e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x10ec2693d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x10ec21dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x10e67db8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x10e5e78d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10e5e53aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10e5cae6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10e8edc24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10e5ce12e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000600: fa fa fd fa fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400000610: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fd + 0x1c0400000620: fa fa fd fd fa fa fd fa fa fa 00 00 fa fa 00 fa + 0x1c0400000630: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa fd fa + 0x1c0400000640: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa fc fa +=>0x1c0400000650: fa fa[fc]fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000660: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000670: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000690: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006a0: 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 +==34581==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/32/test-source: line 185: 34581 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:50: exit code was 134, expected 0 32. fonc_handler_test.at:50: 32. BESCMD $abs_srcdir/bescmd/namesT.3.bescmd (fonc_handler_test.at:50): FAILED (fonc_handler_test.at:50) # -*- compilation -*- 39. fonc_handler_test.at:59: testing BESCMD $abs_srcdir/bescmd/structT01.2.bescmd ... ./fonc_handler_test.at:59: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:06.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/39/stderr 2018-08-03 17:38:07.000000000 -0600 @@ -0,0 +1,79 @@ +================================================================= +==34805==ERROR: AddressSanitizer: container-overflow on address 0x6020000033b0 at pc 0x00010f32a106 bp 0x7ffee4d9b0d0 sp 0x7ffee4d9b0c8 +WRITE of size 8 at 0x6020000033b0 thread T0 + #0 0x10f32a105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10f32273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x10f32273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x10f2bef89 in FONcTransform::transform() FONcTransform.cc:149 + #4 0x10f2d489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #5 0x10b0b9973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #6 0x10ec32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #7 0x10b4c493d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #8 0x10b4bfdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #9 0x10af1ab8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #10 0x10ae7f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #11 0x10ae7d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #12 0x10ae62e6d in StandAloneApp::run() StandAloneApp.cc:251 + #13 0x10b18ac24 in BESApp::main(int, char**) BESApp.cc:58 + #14 0x10ae6612e in main StandAloneApp.cc:345 + #15 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x6020000033b0 is located 0 bytes inside of 16-byte region [0x6020000033b0,0x6020000033c0) +allocated by thread T0 here: + #0 0x10b619b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10f34b422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10f3498dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10f32fea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10f329cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10f32273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x10f32273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x10f2bef89 in FONcTransform::transform() FONcTransform.cc:149 + #8 0x10f2d489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #9 0x10b0b9973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #10 0x10ec32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #11 0x10b4c493d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #12 0x10b4bfdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #13 0x10af1ab8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #14 0x10ae7f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10ae7d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10ae62e6d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10b18ac24 in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10ae6612e in main StandAloneApp.cc:345 + #19 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000620: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400000630: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400000640: fa fa fd fd fa fa fd fa fa fa 00 00 fa fa 00 fa + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 00 fa + 0x1c0400000660: fa fa fd fa fa fa fd fd fa fa fd fa fa fa 00 00 +=>0x1c0400000670: fa fa fc fa fa fa[fc]fc fa fa fa fa fa fa fa fa + 0x1c0400000680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000690: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: 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 +==34805==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/39/test-source: line 185: 34805 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:59: exit code was 134, expected 0 39. fonc_handler_test.at:59: 39. BESCMD $abs_srcdir/bescmd/structT01.2.bescmd (fonc_handler_test.at:59): FAILED (fonc_handler_test.at:59) # -*- compilation -*- 40. fonc_handler_test.at:60: testing BESCMD $abs_srcdir/bescmd/structT01.3.bescmd ... ./fonc_handler_test.at:60: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:07.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/40/stderr 2018-08-03 17:38:07.000000000 -0600 @@ -0,0 +1,79 @@ +================================================================= +==34831==ERROR: AddressSanitizer: container-overflow on address 0x6020000033b0 at pc 0x00010e402106 bp 0x7ffee5cbb0d0 sp 0x7ffee5cbb0c8 +WRITE of size 8 at 0x6020000033b0 thread T0 + #0 0x10e402105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10e3fa73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x10e3fa73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x10e396f89 in FONcTransform::transform() FONcTransform.cc:149 + #4 0x10e3ac89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #5 0x10a19a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #6 0x10dd32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #7 0x10a5a193d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #8 0x10a59cdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #9 0x109ffbb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #10 0x109f5f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #11 0x109f5d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #12 0x109f42e6d in StandAloneApp::run() StandAloneApp.cc:251 + #13 0x10a26bc24 in BESApp::main(int, char**) BESApp.cc:58 + #14 0x109f4612e in main StandAloneApp.cc:345 + #15 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x6020000033b0 is located 0 bytes inside of 16-byte region [0x6020000033b0,0x6020000033c0) +allocated by thread T0 here: + #0 0x10a6f3b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10e423422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10e4218dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10e407ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10e401cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10e3fa73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x10e3fa73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x10e396f89 in FONcTransform::transform() FONcTransform.cc:149 + #8 0x10e3ac89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #9 0x10a19a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #10 0x10dd32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #11 0x10a5a193d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #12 0x10a59cdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #13 0x109ffbb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #14 0x109f5f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x109f5d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x109f42e6d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10a26bc24 in BESApp::main(int, char**) BESApp.cc:58 + #18 0x109f4612e in main StandAloneApp.cc:345 + #19 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000620: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400000630: fa fa fd fd fa fa fd fa fa fa fd fd fa fa fd fa + 0x1c0400000640: fa fa fd fd fa fa fd fa fa fa 00 00 fa fa 00 fa + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa 00 fa + 0x1c0400000660: fa fa fd fa fa fa fd fd fa fa fd fa fa fa 00 00 +=>0x1c0400000670: fa fa fc fa fa fa[fc]fc fa fa fa fa fa fa fa fa + 0x1c0400000680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400000690: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: 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 +==34831==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/40/test-source: line 185: 34831 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:60: exit code was 134, expected 0 40. fonc_handler_test.at:60: 40. BESCMD $abs_srcdir/bescmd/structT01.3.bescmd (fonc_handler_test.at:60): FAILED (fonc_handler_test.at:60) # -*- compilation -*- 46. fonc_handler_test.at:77: testing BESCMD $abs_srcdir/bescmd/fnoc.1.bescmd ... ./fonc_handler_test.at:77: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:09.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/46/stderr 2018-08-03 17:38:09.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==35026==ERROR: AddressSanitizer: container-overflow on address 0x603000006a60 at pc 0x00010b430106 bp 0x7ffee9646050 sp 0x7ffee9646048 +WRITE of size 8 at 0x603000006a60 thread T0 + #0 0x10b430105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10b3c4f89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x10b3da89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x10680a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x10a35de50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x106c1393d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x106c0edcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x10666bb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x1065d58d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x1065d33aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x1065b8e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x1068dbc24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x1065bc12e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000006a60 is located 0 bytes inside of 24-byte region [0x603000006a60,0x603000006a78) +allocated by thread T0 here: + #0 0x106d6bb32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10b451422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10b44f8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10b435ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10b42fcd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10b3c4f89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x10b3da89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x10680a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x10a35de50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x106c1393d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x106c0edcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x10666bb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x1065d58d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x1065d33aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x1065b8e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x1068dbc24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x1065bc12e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0600000cf0: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600000d00: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600000d10: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600000d20: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600000d30: 00 fa fa fa fd fd fd fa fa fa 00 00 00 fa fa fa +=>0x1c0600000d40: 00 00 00 fa fa fa 00 00 00 fc fa fa[fc]fc fc fa + 0x1c0600000d50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600000d60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600000d70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600000d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600000d90: 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 +==35026==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/46/test-source: line 185: 35026 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:77: exit code was 134, expected 0 46. fonc_handler_test.at:77: 46. BESCMD $abs_srcdir/bescmd/fnoc.1.bescmd (fonc_handler_test.at:77): FAILED (fonc_handler_test.at:77) # -*- compilation -*- 47. fonc_handler_test.at:78: testing BESCMD $abs_srcdir/bescmd/fnoc.2.bescmd ... ./fonc_handler_test.at:78: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:09.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/47/stderr 2018-08-03 17:38:10.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==35052==ERROR: AddressSanitizer: container-overflow on address 0x603000006a60 at pc 0x0001106fb106 bp 0x7ffee437b050 sp 0x7ffee437b048 +WRITE of size 8 at 0x603000006a60 thread T0 + #0 0x1106fb105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x11068ff89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x1106a589c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x10bad5973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x10f632e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x10bee093d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x10bedbdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x10b936b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x10b8a08d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x10b89e3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x10b883e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x10bba6c24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10b88712e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x603000006a60 is located 0 bytes inside of 24-byte region [0x603000006a60,0x603000006a78) +allocated by thread T0 here: + #0 0x10c032b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x11071c422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x11071a8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x110700ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x1106facd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x11068ff89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x1106a589c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x10bad5973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x10f632e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x10bee093d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x10bedbdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x10b936b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x10b8a08d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x10b89e3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10b883e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x10bba6c24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10b88712e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0600000cf0: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600000d00: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa + 0x1c0600000d10: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa + 0x1c0600000d20: fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 + 0x1c0600000d30: 00 fa fa fa fd fd fd fa fa fa 00 00 00 fa fa fa +=>0x1c0600000d40: 00 00 00 fa fa fa 00 00 00 fc fa fa[fc]fc fc fa + 0x1c0600000d50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600000d60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600000d70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600000d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0600000d90: 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 +==35052==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/47/test-source: line 185: 35052 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:78: exit code was 134, expected 0 47. fonc_handler_test.at:78: 47. BESCMD $abs_srcdir/bescmd/fnoc.2.bescmd (fonc_handler_test.at:78): FAILED (fonc_handler_test.at:78) # -*- compilation -*- 49. fonc_handler_test.at:83: testing BESCMD $abs_srcdir/bescmd/t_string.1.bescmd ... ./fonc_handler_test.at:83: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:10.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/49/stderr 2018-08-03 17:38:10.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==35106==ERROR: AddressSanitizer: container-overflow on address 0x6020000034f0 at pc 0x00010693a106 bp 0x7ffeee13c050 sp 0x7ffeee13c048 +WRITE of size 8 at 0x6020000034f0 thread T0 + #0 0x10693a105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x1068cef89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x1068e489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x101d17973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x105932e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x10211f93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x10211adcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x101b78b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x101adf8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x101add3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x101ac2e6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x101de8c24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x101ac612e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x6020000034f0 is located 0 bytes inside of 16-byte region [0x6020000034f0,0x602000003500) +allocated by thread T0 here: + #0 0x102276b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10695b422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1069598dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10693fea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x106939cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x1068cef89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x1068e489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x101d17973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x105932e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x10211f93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x10211adcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x101b78b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x101adf8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x101add3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x101ac2e6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x101de8c24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x101ac612e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000640: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd + 0x1c0400000650: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd + 0x1c0400000660: fa fa fd fa fa fa 00 00 fa fa fd fa fa fa 00 00 + 0x1c0400000670: fa fa fd fa fa fa 00 00 fa fa fd fa fa fa 00 00 + 0x1c0400000680: fa fa 00 fa fa fa fd fa fa fa fd fa fa fa fd fa +=>0x1c0400000690: fa fa 00 00 fa fa 00 fa fa fa fc fa fa fa[fc]fc + 0x1c04000006a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: 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 +==35106==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/49/test-source: line 185: 35106 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:83: exit code was 134, expected 0 49. fonc_handler_test.at:83: 49. BESCMD $abs_srcdir/bescmd/t_string.1.bescmd (fonc_handler_test.at:83): FAILED (fonc_handler_test.at:83) # -*- compilation -*- 50. fonc_handler_test.at:84: testing BESCMD $abs_srcdir/bescmd/t_string.2.bescmd ... ./fonc_handler_test.at:84: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:11.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/50/stderr 2018-08-03 17:38:11.000000000 -0600 @@ -0,0 +1,75 @@ +================================================================= +==35132==ERROR: AddressSanitizer: container-overflow on address 0x6020000034f0 at pc 0x00010dff5106 bp 0x7ffee6a81050 sp 0x7ffee6a81048 +WRITE of size 8 at 0x6020000034f0 thread T0 + #0 0x10dff5105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10df89f89 in FONcTransform::transform() FONcTransform.cc:149 + #2 0x10df9f89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #3 0x1093cf973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #4 0x10cf32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #5 0x1097dd93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #6 0x1097d8dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #7 0x109230b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #8 0x10919a8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #9 0x1091983aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #10 0x10917de6d in StandAloneApp::run() StandAloneApp.cc:251 + #11 0x1094a0c24 in BESApp::main(int, char**) BESApp.cc:58 + #12 0x10918112e in main StandAloneApp.cc:345 + #13 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x6020000034f0 is located 0 bytes inside of 16-byte region [0x6020000034f0,0x602000003500) +allocated by thread T0 here: + #0 0x109932b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10e016422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10e0148dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10dffaea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10dff4cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10df89f89 in FONcTransform::transform() FONcTransform.cc:149 + #6 0x10df9f89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #7 0x1093cf973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #8 0x10cf32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #9 0x1097dd93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #10 0x1097d8dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #11 0x109230b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #12 0x10919a8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #13 0x1091983aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #14 0x10917de6d in StandAloneApp::run() StandAloneApp.cc:251 + #15 0x1094a0c24 in BESApp::main(int, char**) BESApp.cc:58 + #16 0x10918112e in main StandAloneApp.cc:345 + #17 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000640: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd + 0x1c0400000650: fa fa fd fa fa fa fd fd fa fa fd fa fa fa fd fd + 0x1c0400000660: fa fa fd fa fa fa 00 00 fa fa fd fa fa fa 00 00 + 0x1c0400000670: fa fa fd fa fa fa 00 00 fa fa fd fa fa fa 00 00 + 0x1c0400000680: fa fa 00 fa fa fa fd fa fa fa fd fa fa fa fd fa +=>0x1c0400000690: fa fa 00 00 fa fa 00 fa fa fa fc fa fa fa[fc]fc + 0x1c04000006a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: 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 +==35132==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/50/test-source: line 185: 35132 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:84: exit code was 134, expected 0 50. fonc_handler_test.at:84: 50. BESCMD $abs_srcdir/bescmd/t_string.2.bescmd (fonc_handler_test.at:84): FAILED (fonc_handler_test.at:84) # -*- compilation -*- 53. fonc_handler_test.at:90: testing BESCMD $abs_srcdir/bescmd/hdf4.2.bescmd ... ./fonc_handler_test.at:90: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:12.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/53/stderr 2018-08-03 17:38:12.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35216==ERROR: AddressSanitizer: container-overflow on address 0x60200033b7f0 at pc 0x000112319106 bp 0x7ffee275c890 sp 0x7ffee275c888 +WRITE of size 8 at 0x60200033b7f0 thread T0 + #0 0x112319105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x11231173a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x1122adf89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x1122c389c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x10d6f4973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x111246e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x10dafe93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x10daf9dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x10d555b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x10d4be8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10d4bc3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x10d4a1e6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x10d7c5c24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10d4a512e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x60200033b7f0 is located 0 bytes inside of 16-byte region [0x60200033b7f0,0x60200033b800) +allocated by thread T0 here: + #0 0x10dc51b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x11233a422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1123388dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x11231eea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x112318cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x11231173a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x1122adf89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x1122c389c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x10d6f4973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x111246e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x10dafe93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x10daf9dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x10d555b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x10d4be8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10d4bc3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10d4a1e6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10d7c5c24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10d4a512e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c04000676a0: fa fa 00 fa fa fa fd fa fa fa 00 fa fa fa fd fd + 0x1c04000676b0: fa fa 00 fa fa fa fd fa fa fa fd fa fa fa 00 fa + 0x1c04000676c0: fa fa fd fa fa fa 00 fa fa fa fd fd fa fa 00 fa + 0x1c04000676d0: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa fd fa + 0x1c04000676e0: fa fa 00 fa fa fa fd fd fa fa 00 fa fa fa 00 00 +=>0x1c04000676f0: fa fa 00 fa fa fa 00 fa fa fa fc fa fa fa[fc]fc + 0x1c0400067700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400067710: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400067720: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400067730: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400067740: 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 +==35216==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/53/test-source: line 185: 35216 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:90: exit code was 134, expected 0 53. fonc_handler_test.at:90: 53. BESCMD $abs_srcdir/bescmd/hdf4.2.bescmd (fonc_handler_test.at:90): FAILED (fonc_handler_test.at:90) # -*- compilation -*- 54. fonc_handler_test.at:91: testing BESCMD $abs_srcdir/bescmd/hdf4.3.bescmd ... ./fonc_handler_test.at:91: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:12.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/54/stderr 2018-08-03 17:38:13.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35242==ERROR: AddressSanitizer: container-overflow on address 0x60200033b7f0 at pc 0x0001084e3106 bp 0x7ffeec6a8890 sp 0x7ffeec6a8888 +WRITE of size 8 at 0x60200033b7f0 thread T0 + #0 0x1084e3105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x1084db73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x108477f89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x10848d89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x1037a8973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x107532e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x103bb493d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x103bafdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x103609b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x1035728d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x1035703aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x103555e6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x103879c24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10355912e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x60200033b7f0 is located 0 bytes inside of 16-byte region [0x60200033b7f0,0x60200033b800) +allocated by thread T0 here: + #0 0x103d08b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x108504422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1085028dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1084e8ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x1084e2cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x1084db73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x108477f89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x10848d89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x1037a8973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x107532e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x103bb493d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x103bafdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x103609b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x1035728d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x1035703aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x103555e6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x103879c24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10355912e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c04000676a0: fa fa 00 fa fa fa fd fa fa fa 00 fa fa fa fd fd + 0x1c04000676b0: fa fa 00 fa fa fa fd fa fa fa fd fa fa fa 00 fa + 0x1c04000676c0: fa fa fd fa fa fa 00 fa fa fa fd fd fa fa 00 fa + 0x1c04000676d0: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa fd fa + 0x1c04000676e0: fa fa 00 fa fa fa fd fd fa fa 00 fa fa fa 00 00 +=>0x1c04000676f0: fa fa 00 fa fa fa 00 fa fa fa fc fa fa fa[fc]fc + 0x1c0400067700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400067710: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400067720: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400067730: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c0400067740: 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 +==35242==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/54/test-source: line 185: 35242 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:91: exit code was 134, expected 0 54. fonc_handler_test.at:91: 54. BESCMD $abs_srcdir/bescmd/hdf4.3.bescmd (fonc_handler_test.at:91): FAILED (fonc_handler_test.at:91) # -*- compilation -*- 57. fonc_handler_test.at:95: testing BESCMD $abs_srcdir/bescmd/hdf4_constraint.2.bescmd ... ./fonc_handler_test.at:95: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:14.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/57/stderr 2018-08-03 17:38:14.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35326==ERROR: AddressSanitizer: container-overflow on address 0x602000063d30 at pc 0x00010526a106 bp 0x7ffeef80b890 sp 0x7ffeef80b888 +WRITE of size 8 at 0x602000063d30 thread T0 + #0 0x10526a105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10526273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x1051fef89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x10521489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x10064a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x104232e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x100a5393d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x100a4edcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x1004abb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x10040f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10040d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x1003f2e6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x10071bc24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x1003f612e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000063d30 is located 0 bytes inside of 16-byte region [0x602000063d30,0x602000063d40) +allocated by thread T0 here: + #0 0x100ba8b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10528b422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1052898dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10526fea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x105269cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10526273a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x1051fef89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x10521489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x10064a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x104232e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x100a5393d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x100a4edcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x1004abb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x10040f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10040d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x1003f2e6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10071bc24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x1003f612e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c040000c750: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c040000c760: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c040000c770: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c040000c780: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c040000c790: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 fa +=>0x1c040000c7a0: fa fa fc fa fa fa[fc]fc fa fa fa fa fa fa fa fa + 0x1c040000c7b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c040000c7c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c040000c7d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c040000c7e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c040000c7f0: 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 +==35326==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/57/test-source: line 185: 35326 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:95: exit code was 134, expected 0 57. fonc_handler_test.at:95: 57. BESCMD $abs_srcdir/bescmd/hdf4_constraint.2.bescmd (fonc_handler_test.at:95): FAILED (fonc_handler_test.at:95) # -*- compilation -*- 58. fonc_handler_test.at:96: testing BESCMD $abs_srcdir/bescmd/hdf4_constraint.3.bescmd ... ./fonc_handler_test.at:96: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:14.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/58/stderr 2018-08-03 17:38:15.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35352==ERROR: AddressSanitizer: container-overflow on address 0x602000063d30 at pc 0x00010f9c2106 bp 0x7ffee50b7890 sp 0x7ffee50b7888 +WRITE of size 8 at 0x602000063d30 thread T0 + #0 0x10f9c2105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10f9ba73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #2 0x10f956f89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x10f96c89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x10ad9b973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x10e932e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x10b1a793d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x10b1a2dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x10abfcb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x10ab638d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10ab613aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x10ab46e6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x10ae6cc24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10ab4a12e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000063d30 is located 0 bytes inside of 16-byte region [0x602000063d30,0x602000063d40) +allocated by thread T0 here: + #0 0x10b2f9b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10f9e3422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10f9e18dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10f9c7ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10f9c1cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10f9ba73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #6 0x10f956f89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x10f96c89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x10ad9b973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x10e932e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x10b1a793d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x10b1a2dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x10abfcb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x10ab638d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10ab613aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10ab46e6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10ae6cc24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10ab4a12e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c040000c750: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c040000c760: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c040000c770: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c040000c780: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c040000c790: fa fa fd fa fa fa 00 00 fa fa 00 fa fa fa 00 fa +=>0x1c040000c7a0: fa fa fc fa fa fa[fc]fc fa fa fa fa fa fa fa fa + 0x1c040000c7b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c040000c7c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c040000c7d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c040000c7e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c040000c7f0: 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 +==35352==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/58/test-source: line 185: 35352 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:96: exit code was 134, expected 0 58. fonc_handler_test.at:96: 58. BESCMD $abs_srcdir/bescmd/hdf4_constraint.3.bescmd (fonc_handler_test.at:96): FAILED (fonc_handler_test.at:96) # -*- compilation -*- 60. fonc_handler_test.at:101: testing BESCMD $abs_srcdir/bescmd/gridT.4.bescmd ... ./fonc_handler_test.at:101: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:16.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/60/stderr 2018-08-03 17:38:16.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35419==ERROR: AddressSanitizer: container-overflow on address 0x602000003550 at pc 0x00011079a106 bp 0x7ffee42dc150 sp 0x7ffee42dc148 +WRITE of size 8 at 0x602000003550 thread T0 + #0 0x11079a105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x1107c7dd4 in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:175 + #2 0x11072ef89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x11074489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x10bb77973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x10f732e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x10bf8193d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x10bf7cdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x10b9d8b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x10b93e8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10b93c3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x10b921e6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x10bc48c24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10b92512e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003550 is located 0 bytes inside of 8-byte region [0x602000003550,0x602000003558) +allocated by thread T0 here: + #0 0x10c0d8b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x1107bb422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1107b98dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x11079fea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x110799cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x1107c7dd4 in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:175 + #6 0x11072ef89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x11074489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x10bb77973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x10f732e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x10bf8193d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x10bf7cdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x10b9d8b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x10b93e8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10b93c3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10b921e6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10bc48c24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10b92512e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd + 0x1c0400000660: fa fa 00 fa fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000670: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 fa +=>0x1c04000006a0: fa fa 00 fa fa fa fc fa fa fa[fc]fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==35419==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/60/test-source: line 185: 35419 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:101: exit code was 134, expected 0 60. fonc_handler_test.at:101: 60. BESCMD $abs_srcdir/bescmd/gridT.4.bescmd (fonc_handler_test.at:101): FAILED (fonc_handler_test.at:101) # -*- compilation -*- 61. fonc_handler_test.at:102: testing BESCMD $abs_srcdir/bescmd/gridT.5.bescmd ... ./fonc_handler_test.at:102: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:16.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/61/stderr 2018-08-03 17:38:16.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35445==ERROR: AddressSanitizer: container-overflow on address 0x602000003550 at pc 0x00010eb69106 bp 0x7ffee6005150 sp 0x7ffee6005148 +WRITE of size 8 at 0x602000003550 thread T0 + #0 0x10eb69105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10eb97ceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #2 0x10eafdf89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x10eb1389c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x109e4e973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x10ac32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x10a25c93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x10a257dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x109cafb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x109c158d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x109c133aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x109bf8e6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x109f1fc24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x109bfc12e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003550 is located 0 bytes inside of 16-byte region [0x602000003550,0x602000003560) +allocated by thread T0 here: + #0 0x10b20ab32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10eb8a422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10eb888dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10eb6eea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10eb68cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10eb97ceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #6 0x10eafdf89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x10eb1389c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x109e4e973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x10ac32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x10a25c93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x10a257dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x109cafb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x109c158d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x109c133aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x109bf8e6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x109f1fc24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x109bfc12e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd + 0x1c0400000660: fa fa 00 fa fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000670: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 fa +=>0x1c04000006a0: fa fa 00 fa fa fa fc fa fa fa[fc]fc fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==35445==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/61/test-source: line 185: 35445 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:102: exit code was 134, expected 0 61. fonc_handler_test.at:102: 61. BESCMD $abs_srcdir/bescmd/gridT.5.bescmd (fonc_handler_test.at:102): FAILED (fonc_handler_test.at:102) # -*- compilation -*- 62. fonc_handler_test.at:103: testing BESCMD $abs_srcdir/bescmd/gridT.6.bescmd ... ./fonc_handler_test.at:103: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:17.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/62/stderr 2018-08-03 17:38:17.000000000 -0600 @@ -0,0 +1,79 @@ +================================================================= +==35471==ERROR: AddressSanitizer: container-overflow on address 0x602000003570 at pc 0x000109fe2106 bp 0x7ffeeaa9a990 sp 0x7ffeeaa9a988 +WRITE of size 8 at 0x602000003570 thread T0 + #0 0x109fe2105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10a00fdd4 in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:175 + #2 0x109fda73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x109f76f89 in FONcTransform::transform() FONcTransform.cc:149 + #4 0x109f8c89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #5 0x1053b9973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #6 0x108f32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #7 0x1057c393d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #8 0x1057bedcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #9 0x10521ab8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #10 0x10517f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #11 0x10517d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #12 0x105162e6d in StandAloneApp::run() StandAloneApp.cc:251 + #13 0x10548ac24 in BESApp::main(int, char**) BESApp.cc:58 + #14 0x10516612e in main StandAloneApp.cc:345 + #15 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003570 is located 0 bytes inside of 8-byte region [0x602000003570,0x602000003578) +allocated by thread T0 here: + #0 0x105917b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10a003422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10a0018dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x109fe7ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x109fe1cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10a00fdd4 in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:175 + #6 0x109fda73a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x109f76f89 in FONcTransform::transform() FONcTransform.cc:149 + #8 0x109f8c89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #9 0x1053b9973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #10 0x108f32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #11 0x1057c393d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #12 0x1057bedcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #13 0x10521ab8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #14 0x10517f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10517d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x105162e6d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10548ac24 in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10516612e in main StandAloneApp.cc:345 + #19 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd + 0x1c0400000660: fa fa 00 fa fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000670: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 fa +=>0x1c04000006a0: fa fa 00 fa fa fa 00 fa fa fa fc fa fa fa[fc]fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==35471==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/62/test-source: line 185: 35471 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:103: exit code was 134, expected 0 62. fonc_handler_test.at:103: 62. BESCMD $abs_srcdir/bescmd/gridT.6.bescmd (fonc_handler_test.at:103): FAILED (fonc_handler_test.at:103) # -*- compilation -*- 63. fonc_handler_test.at:104: testing BESCMD $abs_srcdir/bescmd/gridT.7.bescmd ... ./fonc_handler_test.at:104: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:18.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/63/stderr 2018-08-03 17:38:18.000000000 -0600 @@ -0,0 +1,79 @@ +================================================================= +==35497==ERROR: AddressSanitizer: container-overflow on address 0x602000003530 at pc 0x000105c00106 bp 0x7ffeeee74990 sp 0x7ffeeee74988 +WRITE of size 8 at 0x602000003530 thread T0 + #0 0x105c00105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x105c2eceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #2 0x105bf873a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x105b94f89 in FONcTransform::transform() FONcTransform.cc:149 + #4 0x105baa89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #5 0x100fdd973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #6 0x104b32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #7 0x1013ea93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #8 0x1013e5dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #9 0x100e3eb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #10 0x100da58d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #11 0x100da33aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #12 0x100d88e6d in StandAloneApp::run() StandAloneApp.cc:251 + #13 0x1010aec24 in BESApp::main(int, char**) BESApp.cc:58 + #14 0x100d8c12e in main StandAloneApp.cc:345 + #15 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003530 is located 0 bytes inside of 16-byte region [0x602000003530,0x602000003540) +allocated by thread T0 here: + #0 0x101542b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x105c21422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x105c1f8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x105c05ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x105bffcd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x105c2eceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #6 0x105bf873a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x105b94f89 in FONcTransform::transform() FONcTransform.cc:149 + #8 0x105baa89c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #9 0x100fdd973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #10 0x104b32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #11 0x1013ea93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #12 0x1013e5dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #13 0x100e3eb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #14 0x100da58d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x100da33aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x100d88e6d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x1010aec24 in BESApp::main(int, char**) BESApp.cc:58 + #18 0x100d8c12e in main StandAloneApp.cc:345 + #19 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fd fa fa 00 fa + 0x1c0400000660: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 04 + 0x1c0400000670: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa fd fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa 00 fa +=>0x1c04000006a0: fa fa fc fa fa fa[fc]fc fa fa fa fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==35497==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/63/test-source: line 185: 35497 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:104: exit code was 134, expected 0 63. fonc_handler_test.at:104: 63. BESCMD $abs_srcdir/bescmd/gridT.7.bescmd (fonc_handler_test.at:104): FAILED (fonc_handler_test.at:104) # -*- compilation -*- 64. fonc_handler_test.at:106: testing BESCMD $abs_srcdir/bescmd/gridT.8.bescmd ... ./fonc_handler_test.at:106: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:18.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/64/stderr 2018-08-03 17:38:18.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35523==ERROR: AddressSanitizer: container-overflow on address 0x602000003550 at pc 0x00010ad7a106 bp 0x7ffee9d01150 sp 0x7ffee9d01148 +WRITE of size 8 at 0x602000003550 thread T0 + #0 0x10ad7a105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x10ada7dd4 in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:175 + #2 0x10ad0ef89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x10ad2489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x106154973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x109d32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x10655e93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x106559dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x105fb5b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x105f198d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x105f173aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x105efce6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x106225c24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x105f0012e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003550 is located 0 bytes inside of 8-byte region [0x602000003550,0x602000003558) +allocated by thread T0 here: + #0 0x1066b4b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x10ad9b422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x10ad998dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x10ad7fea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x10ad79cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x10ada7dd4 in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:175 + #6 0x10ad0ef89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x10ad2489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x106154973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x109d32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x10655e93d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x106559dcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x105fb5b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x105f198d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x105f173aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x105efce6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x106225c24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x105f0012e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd + 0x1c0400000660: fa fa 00 fa fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000670: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 fa +=>0x1c04000006a0: fa fa 00 fa fa fa fc fa fa fa[fc]fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==35523==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/64/test-source: line 185: 35523 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:106: exit code was 134, expected 0 64. fonc_handler_test.at:106: 64. BESCMD $abs_srcdir/bescmd/gridT.8.bescmd (fonc_handler_test.at:106): FAILED (fonc_handler_test.at:106) # -*- compilation -*- 65. fonc_handler_test.at:107: testing BESCMD $abs_srcdir/bescmd/gridT.9.bescmd ... ./fonc_handler_test.at:107: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:19.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/65/stderr 2018-08-03 17:38:19.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35550==ERROR: AddressSanitizer: container-overflow on address 0x602000003550 at pc 0x000105a3a106 bp 0x7ffeef0db150 sp 0x7ffeef0db148 +WRITE of size 8 at 0x602000003550 thread T0 + #0 0x105a3a105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x105a68ceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #2 0x1059cef89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x1059e489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x100d74973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x104a32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x10118193d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x10117cdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x100bd5b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x100b3f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x100b3d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x100b22e6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x100e45c24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x100b2612e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003550 is located 0 bytes inside of 16-byte region [0x602000003550,0x602000003560) +allocated by thread T0 here: + #0 0x1014bfb32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x105a5b422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x105a598dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x105a3fea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x105a39cd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x105a68ceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #6 0x1059cef89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x1059e489c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x100d74973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x104a32e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x10118193d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x10117cdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x100bd5b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x100b3f8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x100b3d3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x100b22e6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x100e45c24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x100b2612e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd + 0x1c0400000660: fa fa 00 fa fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000670: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 fa +=>0x1c04000006a0: fa fa 00 fa fa fa fc fa fa fa[fc]fc fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==35550==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/65/test-source: line 185: 35550 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:107: exit code was 134, expected 0 65. fonc_handler_test.at:107: 65. BESCMD $abs_srcdir/bescmd/gridT.9.bescmd (fonc_handler_test.at:107): FAILED (fonc_handler_test.at:107) # -*- compilation -*- 66. fonc_handler_test.at:108: testing BESCMD $abs_srcdir/bescmd/gridT.10.bescmd ... ./fonc_handler_test.at:108: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:20.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/66/stderr 2018-08-03 17:38:20.000000000 -0600 @@ -0,0 +1,77 @@ +================================================================= +==35576==ERROR: AddressSanitizer: container-overflow on address 0x602000003550 at pc 0x0001148ae106 bp 0x7ffee01c7150 sp 0x7ffee01c7148 +WRITE of size 8 at 0x602000003550 thread T0 + #0 0x1148ae105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x1148dcceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #2 0x114842f89 in FONcTransform::transform() FONcTransform.cc:149 + #3 0x11485889c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #4 0x10fc8a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #5 0x113832e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #6 0x11009293d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #7 0x11008ddcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #8 0x10faebb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #9 0x10fa538d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #10 0x10fa513aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #11 0x10fa36e6d in StandAloneApp::run() StandAloneApp.cc:251 + #12 0x10fd5bc24 in BESApp::main(int, char**) BESApp.cc:58 + #13 0x10fa3a12e in main StandAloneApp.cc:345 + #14 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003550 is located 0 bytes inside of 16-byte region [0x602000003550,0x602000003560) +allocated by thread T0 here: + #0 0x1101ebb32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x1148cf422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x1148cd8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x1148b3ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x1148adcd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x1148dcceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #6 0x114842f89 in FONcTransform::transform() FONcTransform.cc:149 + #7 0x11485889c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #8 0x10fc8a973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #9 0x113832e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #10 0x11009293d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #11 0x11008ddcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #12 0x10faebb8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #13 0x10fa538d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #14 0x10fa513aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #15 0x10fa36e6d in StandAloneApp::run() StandAloneApp.cc:251 + #16 0x10fd5bc24 in BESApp::main(int, char**) BESApp.cc:58 + #17 0x10fa3a12e in main StandAloneApp.cc:345 + #18 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fd + 0x1c0400000660: fa fa 00 fa fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000670: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fd fa fa fd fa fa fa fd fa fa fa 00 fa +=>0x1c04000006a0: fa fa 00 fa fa fa fc fa fa fa[fc]fc fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==35576==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/66/test-source: line 185: 35576 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:108: exit code was 134, expected 0 66. fonc_handler_test.at:108: 66. BESCMD $abs_srcdir/bescmd/gridT.10.bescmd (fonc_handler_test.at:108): FAILED (fonc_handler_test.at:108) # -*- compilation -*- 67. fonc_handler_test.at:109: testing BESCMD $abs_srcdir/bescmd/gridT.11.bescmd ... ./fonc_handler_test.at:109: besstandalone -c $abs_builddir/bes.conf -i $input > test.nc --- /dev/null 2018-08-03 17:38:20.000000000 -0600 +++ /Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/67/stderr 2018-08-03 17:38:20.000000000 -0600 @@ -0,0 +1,79 @@ +================================================================= +==35602==ERROR: AddressSanitizer: container-overflow on address 0x602000003530 at pc 0x000110a3f106 bp 0x7ffee167d990 sp 0x7ffee167d988 +WRITE of size 8 at 0x602000003530 thread T0 + #0 0x110a3f105 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:131 + #1 0x110a6dceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #2 0x110a3773a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #3 0x1109d3f89 in FONcTransform::transform() FONcTransform.cc:149 + #4 0x1109e989c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #5 0x10e7d7973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #6 0x110332e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #7 0x10ebe193d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #8 0x10ebdcdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #9 0x10e638b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #10 0x10e59c8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #11 0x10e59a3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #12 0x10e57fe6d in StandAloneApp::run() StandAloneApp.cc:251 + #13 0x10e8a8c24 in BESApp::main(int, char**) BESApp.cc:58 + #14 0x10e58312e in main StandAloneApp.cc:345 + #15 0x7fff59ad3014 in start (libdyld.dylib:x86_64+0x1014) + +0x602000003530 is located 0 bytes inside of 16-byte region [0x602000003530,0x602000003540) +allocated by thread T0 here: + #0 0x10ed39b32 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x62b32) + #1 0x110a60422 in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) new:226 + #2 0x110a5e8dc in std::__1::__split_buffer&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator&) __split_buffer:310 + #3 0x110a44ea3 in std::__1::vector >::reserve(unsigned long) vector:1530 + #4 0x110a3ecd0 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcArray.cc:124 + #5 0x110a6dceb in FONcGrid::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcGrid.cc:196 + #6 0x110a3773a in FONcStructure::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) FONcStructure.cc:110 + #7 0x1109d3f89 in FONcTransform::transform() FONcTransform.cc:149 + #8 0x1109e989c in FONcTransmitter::send_data(BESResponseObject*, BESDataHandlerInterface&) FONcTransmitter.cc:287 + #9 0x10e7d7973 in BESTransmitter::send_response(std::__1::basic_string, std::__1::allocator > const&, BESResponseObject*, BESDataHandlerInterface&) BESTransmitter.cc:87 + #10 0x110332e50 in BESDataResponseHandler::transmit(BESTransmitter*, BESDataHandlerInterface&) BESDataResponseHandler.cc:165 + #11 0x10ebe193d in BESXMLInterface::transmit_data() BESXMLInterface.cc:330 + #12 0x10ebdcdcd in BESXMLInterface::execute_data_request_plan() BESXMLInterface.cc:287 + #13 0x10e638b8d in BESInterface::execute_request(std::__1::basic_string, std::__1::allocator > const&) BESInterface.cc:513 + #14 0x10e59c8d8 in StandAloneClient::executeCommand(std::__1::basic_string, std::__1::allocator > const&, int) StandAloneClient.cc:237 + #15 0x10e59a3aa in StandAloneClient::executeCommands(std::__1::basic_ifstream >&, int) StandAloneClient.cc:349 + #16 0x10e57fe6d in StandAloneApp::run() StandAloneApp.cc:251 + #17 0x10e8a8c24 in BESApp::main(int, char**) BESApp.cc:58 + #18 0x10e58312e in main StandAloneApp.cc:345 + #19 0x7fff59ad3014 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 FONcArray.cc:131 in FONcArray::convert(std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > >) +Shadow bytes around the buggy address: + 0x1c0400000650: fa fa fd fa fa fa fd fa fa fa fd fd fa fa 00 fa + 0x1c0400000660: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 04 + 0x1c0400000670: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa fd fa + 0x1c0400000680: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa + 0x1c0400000690: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa 00 fa +=>0x1c04000006a0: fa fa fc fa fa fa[fc]fc fa fa fa fa fa fa fa fa + 0x1c04000006b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa + 0x1c04000006f0: 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 +==35602==ABORTING +/Users/jimg/src/opendap/hyrax_git/bes/modules/fileout_netcdf/tests/fonc_handler_test.dir/at-groups/67/test-source: line 185: 35602 Abort trap: 6 besstandalone -c $abs_builddir/bes.conf -i $input > test.nc ./fonc_handler_test.at:109: exit code was 134, expected 0 67. fonc_handler_test.at:109: 67. BESCMD $abs_srcdir/bescmd/gridT.11.bescmd (fonc_handler_test.at:109): FAILED (fonc_handler_test.at:109) ## ------------------- ## ## ../../../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.19.1, which was | generated by GNU Autoconf 2.69. Invocation command line was | | $ ./configure --prefix=/Users/jimg/src/opendap/hyrax_git/build --enable-developer --enable-asan --with-dependencies=/Users/jimg/src/opendap/hyrax_git/build/deps | | ## --------- ## | ## Platform. ## | ## --------- ## | | hostname = edamame.local | uname -m = x86_64 | uname -r = 17.7.0 | uname -s = Darwin | uname -v = Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~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: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~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: 483 tasks, 2785 threads, 8 processors | Load average: 1.52, Mach factor: 6.47 | /bin/machine = unknown | /usr/bin/oslevel = unknown | /bin/universe = unknown | | PATH: /Users/jimg/src/opendap/hyrax_git/build/bin | PATH: /Users/jimg/src/opendap/hyrax_git/build/deps/bin | PATH: /Library/Frameworks/Python.framework/Versions/3.6/bin | PATH: /usr/local/apache-maven/apache-maven-3.1.1/bin | PATH: /usr/local/apache-ant-1.9.3/bin | PATH: /usr/local/mysql/bin | PATH: /Users/jimg/Library/Python/3.6/bin | PATH: /Applications/Doxygen.app/Contents/Resources | PATH: /usr/local/bin | PATH: /usr/local/sbin | PATH: /bin | PATH: /sbin | PATH: /usr/bin | PATH: /usr/sbin | PATH: /Applications/Xcode.app/Contents/Developer/usr/bin | PATH: /Users/jimg/bin | PATH: /Applications/itt/idl/idl/bin | PATH: /Applications/MATLAB_R2015a.app/bin | PATH: /usr/local/texlive/2013/bin/x86_64-darwin | PATH: /Applications/HP_Fortify/HP_Fortify_SCA_and_Apps_4.10/bin | PATH: /Applications/HP_Fortify/HP_Fortify_SCA_and_Apps_4.21/bin | | | ## ----------- ## | ## Core tests. ## | ## ----------- ## | | configure:2732: Package Major Version: 3 | configure:2734: Package Minor Version: 19 | configure:2736: Package SubMinor Version: 1 | configure:2870: checking for a BSD-compatible install | configure:2938: result: /usr/bin/install -c | configure:2949: checking whether build environment is sane | configure:3004: result: yes | configure:3155: checking for a thread-safe mkdir -p | configure:3194: result: conf/install-sh -c -d | configure:3201: checking for gawk | configure:3231: result: no | configure:3201: checking for mawk | configure:3231: result: no | configure:3201: checking for nawk | configure:3231: result: no | configure:3201: checking for awk | configure:3217: found /usr/bin/awk | configure:3228: result: awk | configure:3239: checking whether make sets $(MAKE) | configure:3261: result: yes | configure:3290: checking whether make supports nested variables | configure:3307: result: yes | configure:3386: checking how to create a pax tar archive | configure:3397: tar --version | bsdtar 2.8.3 - libarchive 2.8.3 | configure:3400: $? = 0 | configure:3440: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar | configure:3443: $? = 0 | configure:3447: tar -xf - &5 | Apple LLVM version 9.1.0 (clang-902.0.39.2) | 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:4069: $? = 0 | configure:4058: 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 9.1.0 (clang-902.0.39.2) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | configure:4069: $? = 0 | configure:4058: gcc -V >&5 | clang: error: argument to '-V' is missing (expected 1 value) | clang: error: no input files | configure:4069: $? = 1 | configure:4058: gcc -qversion >&5 | clang: error: unknown argument: '-qversion' | clang: error: no input files | configure:4069: $? = 1 | configure:4089: checking whether the C compiler works | configure:4111: gcc conftest.c >&5 | configure:4115: $? = 0 | configure:4163: result: yes | configure:4166: checking for C compiler default output file name | configure:4168: result: a.out | configure:4174: checking for suffix of executables | configure:4181: gcc -o conftest conftest.c >&5 | configure:4185: $? = 0 | configure:4207: result: | configure:4229: checking whether we are cross compiling | configure:4237: gcc -o conftest conftest.c >&5 | configure:4241: $? = 0 | configure:4248: ./conftest | configure:4252: $? = 0 | configure:4267: result: no | configure:4272: checking for suffix of object files | configure:4294: gcc -c conftest.c >&5 | configure:4298: $? = 0 | configure:4319: result: o | configure:4323: checking whether we are using the GNU C compiler | configure:4342: gcc -c conftest.c >&5 | configure:4342: $? = 0 | configure:4351: result: yes | configure:4360: checking whether gcc accepts -g | configure:4380: gcc -c -g conftest.c >&5 | configure:4380: $? = 0 | configure:4421: result: yes | configure:4438: checking for gcc option to accept ISO C89 | configure:4501: gcc -c -g -O2 conftest.c >&5 | configure:4501: $? = 0 | configure:4514: result: none needed | configure:4539: checking whether gcc understands -c and -o together | configure:4561: gcc -c conftest.c -o conftest2.o | configure:4564: $? = 0 | configure:4561: gcc -c conftest.c -o conftest2.o | configure:4564: $? = 0 | configure:4576: result: yes | configure:4595: checking dependency style of gcc | configure:4706: result: gcc3 | configure:4721: checking for a sed that does not truncate output | configure:4785: result: /usr/bin/sed | configure:4803: checking for grep that handles long lines and -e | configure:4861: result: /usr/bin/grep | configure:4866: checking for egrep | configure:4928: result: /usr/bin/grep -E | configure:4933: checking for fgrep | configure:4995: result: /usr/bin/grep -F | configure:5030: checking for ld used by gcc | configure:5097: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | configure:5104: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld | configure:5119: result: no | configure:5131: checking for BSD- or MS-compatible name lister (nm) | configure:5185: result: /usr/bin/nm -B | configure:5315: checking the name lister (/usr/bin/nm -B) interface | configure:5322: gcc -c -g -O2 conftest.c >&5 | configure:5325: /usr/bin/nm -B "conftest.o" | configure:5328: output | 00000000000001d0 S _some_variable | configure:5335: result: BSD nm | configure:5338: checking whether ln -s works | configure:5342: result: yes | configure:5350: checking the maximum length of command line arguments | configure:5481: result: 196608 | configure:5529: checking how to convert x86_64-apple-darwin17.7.0 file names to x86_64-apple-darwin17.7.0 format | configure:5569: result: func_convert_file_noop | configure:5576: checking how to convert x86_64-apple-darwin17.7.0 file names to toolchain format | configure:5596: result: func_convert_file_noop | configure:5603: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files | configure:5610: result: -r | configure:5684: checking for objdump | configure:5700: found /usr/bin/objdump | configure:5711: result: objdump | configure:5743: checking how to recognize dependent libraries | configure:5943: result: pass_all | configure:6028: checking for dlltool | configure:6058: result: no | configure:6088: checking how to associate runtime and link libraries | configure:6115: result: printf %s\n | configure:6176: checking for ar | configure:6192: found /usr/bin/ar | configure:6203: result: ar | configure:6240: checking for archiver @FILE support | configure:6257: gcc -c -g -O2 conftest.c >&5 | configure:6257: $? = 0 | configure:6260: ar cru libconftest.a @conftest.lst >&5 | ar: @conftest.lst: No such file or directory | configure:6263: $? = 1 | configure:6283: result: no | configure:6341: checking for strip | configure:6357: found /usr/bin/strip | configure:6368: result: strip | configure:6440: checking for ranlib | configure:6456: found /usr/bin/ranlib | configure:6467: result: ranlib | configure:6569: checking command to parse /usr/bin/nm -B output from gcc object | configure:6722: gcc -c -g -O2 conftest.c >&5 | configure:6725: $? = 0 | configure:6729: /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:6732: $? = 0 | cannot find nm_test_var in conftest.nm | configure:6722: gcc -c -g -O2 conftest.c >&5 | configure:6725: $? = 0 | configure:6729: /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:6732: $? = 0 | configure:6798: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 | warning: (x86_64) could not find object file symbol for symbol _main | configure:6801: $? = 0 | configure:6839: result: ok | configure:6886: checking for sysroot | configure:6916: result: no | configure:6923: checking for a working dd | configure:6961: result: /bin/dd | configure:6965: checking how to truncate binary pipes | configure:6980: result: /bin/dd bs=4096 count=1 | configure:7309: checking for mt | configure:7339: result: no | configure:7359: checking if : is a manifest tool | configure:7365: : '-?' | configure:7373: result: no | configure:7429: checking for dsymutil | configure:7445: found /usr/bin/dsymutil | configure:7456: result: dsymutil | configure:7521: checking for nmedit | configure:7537: found /usr/bin/nmedit | configure:7548: result: nmedit | configure:7613: checking for lipo | configure:7629: found /usr/bin/lipo | configure:7640: result: lipo | configure:7705: checking for otool | configure:7721: found /usr/bin/otool | configure:7732: result: otool | configure:7797: checking for otool64 | configure:7827: result: no | configure:7872: checking for -single_module linker flag | gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c | configure:7905: result: yes | configure:7908: checking for -exported_symbols_list linker flag | configure:7928: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5 | configure:7928: $? = 0 | configure:7938: result: yes | configure:7941: 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:7973: result: yes | configure:8050: checking how to run the C preprocessor | configure:8081: gcc -E conftest.c | configure:8081: $? = 0 | configure:8095: gcc -E conftest.c | conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found | #include | ^~~~~~~~~~~~~~~~~~ | 1 error generated. | configure:8095: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | /* end confdefs.h. */ | | #include | configure:8120: result: gcc -E | configure:8140: gcc -E conftest.c | configure:8140: $? = 0 | configure:8154: gcc -E conftest.c | conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found | #include | ^~~~~~~~~~~~~~~~~~ | 1 error generated. | configure:8154: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | /* end confdefs.h. */ | | #include | configure:8183: checking for ANSI C header files | configure:8203: gcc -c -g -O2 conftest.c >&5 | configure:8203: $? = 0 | configure:8276: gcc -o conftest -g -O2 conftest.c >&5 | configure:8276: $? = 0 | configure:8276: ./conftest | configure:8276: $? = 0 | configure:8287: result: yes | configure:8300: checking for sys/types.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8300: checking for sys/stat.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8300: checking for stdlib.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8300: checking for string.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8300: checking for memory.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8300: checking for strings.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8300: checking for inttypes.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8300: checking for stdint.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8300: checking for unistd.h | configure:8300: gcc -c -g -O2 conftest.c >&5 | configure:8300: $? = 0 | configure:8300: result: yes | configure:8314: checking for dlfcn.h | configure:8314: gcc -c -g -O2 conftest.c >&5 | configure:8314: $? = 0 | configure:8314: result: yes | configure:8570: checking for objdir | configure:8585: result: .libs | configure:8849: checking if gcc supports -fno-rtti -fno-exceptions | configure:8867: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 | configure:8871: $? = 0 | configure:8884: result: yes | configure:9242: checking for gcc option to produce PIC | configure:9249: result: -fno-common -DPIC | configure:9257: checking if gcc PIC flag -fno-common -DPIC works | configure:9275: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5 | configure:9279: $? = 0 | configure:9292: result: yes | configure:9321: checking if gcc static flag -static works | configure:9349: result: no | configure:9364: checking if gcc supports -c -o file.o | configure:9385: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 | configure:9389: $? = 0 | configure:9411: result: yes | configure:9419: checking if gcc supports -c -o file.o | configure:9466: result: yes | configure:9499: checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries | configure:10758: result: yes | configure:10998: checking dynamic linker characteristics | configure:11816: result: darwin17.7.0 dyld | configure:11938: checking how to hardcode library paths into programs | configure:11963: result: immediate | configure:12511: checking whether stripping libraries is possible | configure:12525: result: yes | configure:12551: checking if libtool supports shared libraries | configure:12553: result: yes | configure:12556: checking whether to build shared libraries | configure:12581: result: yes | configure:12584: checking whether to build static libraries | configure:12588: result: yes | configure:12711: checking for pthread_kill in -lpthread | configure:12736: gcc -o conftest -g -O2 conftest.c -lpthread >&5 | configure:12736: $? = 0 | configure:12745: result: yes | configure:12811: checking for gcc | configure:12838: result: gcc | configure:13067: checking for C compiler version | configure:13076: gcc --version >&5 | Apple LLVM version 9.1.0 (clang-902.0.39.2) | 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:13087: $? = 0 | configure:13076: 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 9.1.0 (clang-902.0.39.2) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | configure:13087: $? = 0 | configure:13076: gcc -V >&5 | clang: error: argument to '-V' is missing (expected 1 value) | clang: error: no input files | configure:13087: $? = 1 | configure:13076: gcc -qversion >&5 | clang: error: unknown argument: '-qversion' | clang: error: no input files | configure:13087: $? = 1 | configure:13091: checking whether we are using the GNU C compiler | configure:13119: result: yes | configure:13128: checking whether gcc accepts -g | configure:13189: result: yes | configure:13206: checking for gcc option to accept ISO C89 | configure:13282: result: none needed | configure:13307: checking whether gcc understands -c and -o together | configure:13344: result: yes | configure:13363: checking dependency style of gcc | configure:13474: result: gcc3 | configure:13547: checking for g++ | configure:13563: found /usr/bin/g++ | configure:13574: result: g++ | configure:13601: checking for C++ compiler version | configure:13610: g++ --version >&5 | Apple LLVM version 9.1.0 (clang-902.0.39.2) | 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:13621: $? = 0 | configure:13610: 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 9.1.0 (clang-902.0.39.2) | Target: x86_64-apple-darwin17.7.0 | Thread model: posix | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | configure:13621: $? = 0 | configure:13610: g++ -V >&5 | clang: error: argument to '-V' is missing (expected 1 value) | clang: error: no input files | configure:13621: $? = 1 | configure:13610: g++ -qversion >&5 | clang: error: unknown argument: '-qversion' | clang: error: no input files | configure:13621: $? = 1 | configure:13625: checking whether we are using the GNU C++ compiler | configure:13644: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer conftest.cpp >&5 | configure:13644: $? = 0 | configure:13653: result: yes | configure:13662: checking whether g++ accepts -g | configure:13682: g++ -c -g conftest.cpp >&5 | configure:13682: $? = 0 | configure:13723: result: yes | configure:13748: checking dependency style of g++ | configure:13859: result: gcc3 | configure:13892: checking how to run the C++ preprocessor | configure:13919: g++ -E conftest.cpp | configure:13919: $? = 0 | configure:13933: g++ -E conftest.cpp | conftest.cpp:25:10: fatal error: 'ac_nonexistent.h' file not found | #include | ^~~~~~~~~~~~~~~~~~ | 1 error generated. | configure:13933: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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:13958: result: g++ -E | configure:13978: g++ -E conftest.cpp | configure:13978: $? = 0 | configure:13992: g++ -E conftest.cpp | conftest.cpp:25:10: fatal error: 'ac_nonexistent.h' file not found | #include | ^~~~~~~~~~~~~~~~~~ | 1 error generated. | configure:13992: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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:14154: checking for ld used by g++ | configure:14221: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | configure:14228: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld | configure:14243: result: no | configure:14298: checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries | configure:15371: result: yes | configure:15407: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer conftest.cpp >&5 | configure:15410: $? = 0 | configure:15891: checking for g++ option to produce PIC | configure:15898: result: -fno-common -DPIC | configure:15906: checking if g++ PIC flag -fno-common -DPIC works | configure:15924: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer -fno-common -DPIC -DPIC conftest.cpp >&5 | configure:15928: $? = 0 | configure:15941: result: yes | configure:15964: checking if g++ static flag -static works | configure:15992: result: no | configure:16004: checking if g++ supports -c -o file.o | configure:16025: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer -o out/conftest2.o conftest.cpp >&5 | configure:16029: $? = 0 | configure:16051: result: yes | configure:16056: checking if g++ supports -c -o file.o | configure:16103: result: yes | configure:16133: checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries | configure:16173: result: yes | configure:16314: checking dynamic linker characteristics | configure:17059: result: darwin17.7.0 dyld | configure:17124: checking how to hardcode library paths into programs | configure:17149: result: immediate | configure:17189: checking whether make sets $(MAKE) | configure:17211: result: yes | configure:17225: checking for flex | configure:17241: found /usr/bin/flex | configure:17252: result: flex | configure:17290: flex conftest.l | configure:17294: $? = 0 | configure:17296: checking lex output file root | configure:17310: result: lex.yy | configure:17315: checking lex library | configure:17329: gcc -o conftest -g -O2 conftest.c >&5 | Undefined symbols for architecture x86_64: | "_yywrap", referenced from: | _yylex in conftest-1b3eae.o | _main in conftest-1b3eae.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:17329: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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:17329: 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:17329: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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:17329: gcc -o conftest -g -O2 conftest.c -ll >&5 | configure:17329: $? = 0 | configure:17339: result: -ll | configure:17345: checking whether yytext is a pointer | configure:17362: gcc -o conftest -g -O2 conftest.c -ll >&5 | configure:17362: $? = 0 | configure:17370: result: yes | configure:17406: checking for bison | configure:17422: found /Users/jimg/src/opendap/hyrax_git/build/deps/bin/bison | configure:17433: result: bison | configure:17444: checking for library containing uuid_generate | configure:17475: gcc -o conftest -g -O2 conftest.c >&5 | configure:17475: $? = 0 | configure:17492: result: none required | configure:17505: checking for valgrind | configure:17521: found /usr/local/bin/valgrind | configure:17532: result: valgrind --logfile=memcheck | configure:17543: checking for perl | configure:17559: found /usr/bin/perl | configure:17570: result: /usr/bin/perl | configure:17581: checking for curl | configure:17600: found /usr/bin/curl | configure:17613: result: /usr/bin/curl | configure:17622: checking for ANSI C header files | configure:17726: result: yes | configure:17740: checking for fcntl.h | configure:17740: gcc -c -g -O2 conftest.c >&5 | configure:17740: $? = 0 | configure:17740: result: yes | configure:17740: checking for float.h | configure:17740: gcc -c -g -O2 conftest.c >&5 | configure:17740: $? = 0 | configure:17740: result: yes | configure:17740: checking for malloc.h | configure:17740: gcc -c -g -O2 conftest.c >&5 | conftest.c:63:10: fatal error: 'malloc.h' file not found | #include | ^~~~~~~~~~ | 1 error generated. | configure:17740: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:17740: result: no | configure:17740: checking for stddef.h | configure:17740: gcc -c -g -O2 conftest.c >&5 | configure:17740: $? = 0 | configure:17740: result: yes | configure:17740: checking for stdlib.h | configure:17740: result: yes | configure:17740: checking for limits.h | configure:17740: gcc -c -g -O2 conftest.c >&5 | configure:17740: $? = 0 | configure:17740: result: yes | configure:17740: checking for unistd.h | configure:17740: result: yes | configure:17740: checking for pthread.h | configure:17740: gcc -c -g -O2 conftest.c >&5 | configure:17740: $? = 0 | configure:17740: result: yes | configure:17740: checking for bzlib.h | configure:17740: gcc -c -g -O2 conftest.c >&5 | configure:17740: $? = 0 | configure:17740: result: yes | configure:17740: checking for string.h | configure:17740: result: yes | configure:17740: checking for strings.h | configure:17740: result: yes | configure:17740: checking for sys/time.h | configure:17740: gcc -c -g -O2 conftest.c >&5 | configure:17740: $? = 0 | configure:17740: result: yes | configure:17777: checking uuid/uuid.h usability | configure:17777: gcc -c -g -O2 conftest.c >&5 | configure:17777: $? = 0 | configure:17777: result: yes | configure:17777: checking uuid/uuid.h presence | configure:17777: gcc -E conftest.c | configure:17777: $? = 0 | configure:17777: result: yes | configure:17777: checking for uuid/uuid.h | configure:17777: result: yes | configure:17791: checking uuid.h usability | configure:17791: gcc -c -g -O2 conftest.c >&5 | conftest.c:72:10: fatal error: 'uuid.h' file not found | #include | ^~~~~~~~ | 1 error generated. | configure:17791: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:17791: result: no | configure:17791: checking uuid.h presence | configure:17791: gcc -E conftest.c | conftest.c:39:10: fatal error: 'uuid.h' file not found | #include | ^~~~~~~~ | 1 error generated. | configure:17791: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:17791: result: no | configure:17791: checking for uuid.h | configure:17791: result: no | configure:17804: checking for an ANSI C-conforming const | configure:17870: gcc -c -g -O2 conftest.c >&5 | configure:17870: $? = 0 | configure:17877: result: yes | configure:17885: checking for inline | configure:17901: gcc -c -g -O2 conftest.c >&5 | configure:17901: $? = 0 | configure:17909: result: inline | configure:17927: checking for size_t | configure:17927: gcc -c -g -O2 conftest.c >&5 | configure:17927: $? = 0 | configure:17927: gcc -c -g -O2 conftest.c >&5 | conftest.c:75:21: error: expected expression | if (sizeof ((size_t))) | ^ | 1 error generated. | configure:17927: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:17927: result: yes | configure:17938: checking for stdbool.h that conforms to C99 | configure:18005: gcc -c -g -O2 conftest.c >&5 | conftest.c:88:24: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion] | bool e = &s; | ~ ^ | conftest.c:92: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:92: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:92: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:92: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:92: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:92: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:92: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:92: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:93:30: warning: address of array 'n' will always evaluate to 'true' [-Wpointer-bool-conversion] | ~^ | conftest.c:93:35: warning: address of array 'o' will always evaluate to 'true' [-Wpointer-bool-conversion] | ~^ | conftest.c:93:40: warning: address of array 'p' will always evaluate to 'true' [-Wpointer-bool-conversion] | ~^ | 12 warnings generated. | configure:18005: $? = 0 | configure:18012: result: yes | configure:18014: checking for _Bool | configure:18014: gcc -c -g -O2 conftest.c >&5 | configure:18014: $? = 0 | configure:18014: gcc -c -g -O2 conftest.c >&5 | conftest.c:75:20: error: expected expression | if (sizeof ((_Bool))) | ^ | 1 error generated. | configure:18014: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:18014: result: yes | configure:18031: checking for ptrdiff_t | configure:18031: gcc -c -g -O2 conftest.c >&5 | configure:18031: $? = 0 | configure:18031: gcc -c -g -O2 conftest.c >&5 | conftest.c:77:24: error: expected expression | if (sizeof ((ptrdiff_t))) | ^ | 1 error generated. | configure:18031: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:18031: result: yes | configure:18041: checking whether struct tm is in sys/time.h or time.h | configure:18061: gcc -c -g -O2 conftest.c >&5 | configure:18061: $? = 0 | configure:18068: result: time.h | configure:18079: checking for working alloca.h | configure:18096: gcc -o conftest -g -O2 conftest.c >&5 | configure:18096: $? = 0 | configure:18104: result: yes | configure:18112: checking for alloca | configure:18149: gcc -o conftest -g -O2 conftest.c >&5 | configure:18149: $? = 0 | configure:18157: result: yes | configure:18266: checking for strdup | configure:18266: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:67:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] | char strdup (); | ^ | conftest.c:67:6: note: 'strdup' is a builtin with type 'char *(const char *)' | 1 warning generated. | configure:18266: $? = 0 | configure:18266: result: yes | configure:18266: checking for strftime | configure:18266: gcc -o conftest -g -O2 conftest.c >&5 | configure:18266: $? = 0 | configure:18266: result: yes | configure:18266: checking for strtol | configure:18266: gcc -o conftest -g -O2 conftest.c >&5 | configure:18266: $? = 0 | configure:18266: result: yes | configure:18266: checking for strcasecmp | configure:18266: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:70:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] | char strcasecmp (); | ^ | conftest.c:70:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' | 1 warning generated. | configure:18266: $? = 0 | configure:18266: result: yes | configure:18266: checking for strcspn | configure:18266: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:71:6: warning: incompatible redeclaration of library function 'strcspn' [-Wincompatible-library-redeclaration] | char strcspn (); | ^ | conftest.c:71:6: note: 'strcspn' is a builtin with type 'unsigned long (const char *, const char *)' | 1 warning generated. | configure:18266: $? = 0 | configure:18266: result: yes | configure:18266: checking for strerror | configure:18266: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:72:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] | char strerror (); | ^ | conftest.c:72:6: note: 'strerror' is a builtin with type 'char *(int)' | 1 warning generated. | configure:18266: $? = 0 | configure:18266: result: yes | configure:18266: checking for strncasecmp | configure:18266: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:73:6: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration] | char strncasecmp (); | ^ | conftest.c:73:6: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)' | 1 warning generated. | configure:18266: $? = 0 | configure:18266: result: yes | configure:18278: checking for strpbrk | configure:18278: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:74:6: warning: incompatible redeclaration of library function 'strpbrk' [-Wincompatible-library-redeclaration] | char strpbrk (); | ^ | conftest.c:74:6: note: 'strpbrk' is a builtin with type 'char *(const char *, const char *)' | 1 warning generated. | configure:18278: $? = 0 | configure:18278: result: yes | configure:18278: checking for strchr | configure:18278: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:75:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration] | char strchr (); | ^ | conftest.c:75:6: note: 'strchr' is a builtin with type 'char *(const char *, int)' | 1 warning generated. | configure:18278: $? = 0 | configure:18278: result: yes | configure:18278: checking for strrchr | configure:18278: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:76:6: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration] | char strrchr (); | ^ | conftest.c:76:6: note: 'strrchr' is a builtin with type 'char *(const char *, int)' | 1 warning generated. | configure:18278: $? = 0 | configure:18278: result: yes | configure:18278: checking for strspn | configure:18278: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:77:6: warning: incompatible redeclaration of library function 'strspn' [-Wincompatible-library-redeclaration] | char strspn (); | ^ | conftest.c:77:6: note: 'strspn' is a builtin with type 'unsigned long (const char *, const char *)' | 1 warning generated. | configure:18278: $? = 0 | configure:18278: result: yes | configure:18278: checking for strtoul | configure:18278: gcc -o conftest -g -O2 conftest.c >&5 | configure:18278: $? = 0 | configure:18278: result: yes | configure:18290: checking for timegm | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | configure:18290: $? = 0 | configure:18290: result: yes | configure:18290: checking for mktime | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | configure:18290: $? = 0 | configure:18290: result: yes | configure:18290: checking for atexit | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | configure:18290: $? = 0 | configure:18290: result: yes | configure:18290: checking for floor | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:82:6: warning: incompatible redeclaration of library function 'floor' [-Wincompatible-library-redeclaration] | char floor (); | ^ | conftest.c:82:6: note: 'floor' is a builtin with type 'double (double)' | 1 warning generated. | configure:18290: $? = 0 | configure:18290: result: yes | configure:18290: checking for isascii | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | configure:18290: $? = 0 | configure:18290: result: yes | configure:18290: checking for memmove | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:84:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration] | char memmove (); | ^ | conftest.c:84:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)' | 1 warning generated. | configure:18290: $? = 0 | configure:18290: result: yes | configure:18290: checking for memset | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:85:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration] | char memset (); | ^ | conftest.c:85:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)' | 1 warning generated. | configure:18290: $? = 0 | configure:18290: result: yes | configure:18290: checking for pow | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:86:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] | char pow (); | ^ | conftest.c:86:6: note: 'pow' is a builtin with type 'double (double, double)' | 1 warning generated. | configure:18290: $? = 0 | configure:18290: result: yes | configure:18290: checking for sqrt | configure:18290: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:87:6: warning: incompatible redeclaration of library function 'sqrt' [-Wincompatible-library-redeclaration] | char sqrt (); | ^ | conftest.c:87:6: note: 'sqrt' is a builtin with type 'double (double)' | 1 warning generated. | configure:18290: $? = 0 | configure:18290: result: yes | configure:18301: checking for library containing isdigit | configure:18332: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:72:6: warning: incompatible redeclaration of library function 'isdigit' [-Wincompatible-library-redeclaration] | char isdigit (); | ^ | conftest.c:72:6: note: 'isdigit' is a builtin with type 'int (int)' | 1 warning generated. | configure:18332: $? = 0 | configure:18349: result: none required | configure:18365: checking for special C compiler options needed for large files | configure:18410: result: no | configure:18416: checking for _FILE_OFFSET_BITS value needed for large files | configure:18441: gcc -c -g -O2 conftest.c >&5 | configure:18441: $? = 0 | configure:18473: result: no | configure:18558: checking for error_at_line | configure:18574: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:65:10: fatal error: 'error.h' file not found | #include | ^~~~~~~~~ | 1 error generated. | configure:18574: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:18582: result: no | configure:18595: checking for stdlib.h | configure:18595: result: yes | configure:18605: checking for GNU libc compatible malloc | configure:18629: gcc -o conftest -g -O2 conftest.c >&5 | configure:18629: $? = 0 | configure:18629: ./conftest | configure:18629: $? = 0 | configure:18639: result: yes | configure:18660: checking for working memcmp | configure:18703: gcc -o conftest -g -O2 conftest.c >&5 | configure:18703: $? = 0 | configure:18703: ./conftest | configure:18703: $? = 0 | configure:18713: result: yes | configure:18722: checking whether time.h and sys/time.h may both be included | configure:18742: gcc -c -g -O2 conftest.c >&5 | configure:18742: $? = 0 | configure:18749: result: yes | configure:18765: checking for alarm | configure:18765: gcc -o conftest -g -O2 conftest.c >&5 | configure:18765: $? = 0 | configure:18765: result: yes | configure:18778: checking for working mktime | configure:18980: gcc -o conftest -g -O2 conftest.c >&5 | configure:18980: $? = 0 | configure:18980: ./conftest | configure:18980: $? = 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.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:18990: result: no | configure:19003: checking for stdlib.h | configure:19003: result: yes | configure:19013: checking for GNU libc compatible realloc | configure:19037: gcc -o conftest -g -O2 conftest.c >&5 | configure:19037: $? = 0 | configure:19037: ./conftest | configure:19037: $? = 0 | configure:19047: result: yes | configure:19075: checking for working strtod | configure:19116: gcc -o conftest -g -O2 conftest.c >&5 | configure:19116: $? = 0 | configure:19116: ./conftest | configure:19116: $? = 0 | configure:19126: result: yes | configure:19190: checking for vprintf | configure:19190: gcc -o conftest -g -O2 conftest.c >&5 | conftest.c:94:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration] | char vprintf (); | ^ | conftest.c:94:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)' | 1 warning generated. | configure:19190: $? = 0 | configure:19190: result: yes | configure:19196: checking for _doprnt | configure:19196: gcc -o conftest -g -O2 conftest.c >&5 | Undefined symbols for architecture x86_64: | "__doprnt", referenced from: | _main in conftest-f01d9f.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:19196: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:19196: result: no | configure:19209: checking for BZ2_bzReadOpen in -lbz2 | configure:19234: gcc -o conftest -g -O2 conftest.c -lbz2 >&5 | configure:19234: $? = 0 | configure:19243: result: yes | configure:19272: checking for gzopen in -lz | configure:19297: gcc -o conftest -g -O2 conftest.c -lz >&5 | configure:19297: $? = 0 | configure:19306: result: yes | configure:19313: checking for dlclose | configure:19313: gcc -o conftest -g -O2 conftest.c >&5 | configure:19313: $? = 0 | configure:19313: result: yes | configure:19369: checking for a readline compatible library | configure:19404: gcc -o conftest -g -O2 conftest.c -lreadline >&5 | configure:19404: $? = 0 | configure:19424: result: -lreadline | configure:19437: checking readline.h usability | configure:19437: gcc -c -g -O2 conftest.c >&5 | conftest.c:107:10: fatal error: 'readline.h' file not found | #include | ^~~~~~~~~~~~ | 1 error generated. | configure:19437: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:19437: result: no | configure:19437: checking readline.h presence | configure:19437: gcc -E conftest.c | conftest.c:74:10: fatal error: 'readline.h' file not found | #include | ^~~~~~~~~~~~ | 1 error generated. | configure:19437: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:19437: result: no | configure:19437: checking for readline.h | configure:19437: result: no | configure:19437: checking readline/readline.h usability | configure:19437: gcc -c -g -O2 conftest.c >&5 | configure:19437: $? = 0 | configure:19437: result: yes | configure:19437: checking readline/readline.h presence | configure:19437: gcc -E conftest.c | configure:19437: $? = 0 | configure:19437: result: yes | configure:19437: checking for readline/readline.h | configure:19437: result: yes | configure:19447: checking whether readline supports history | configure:19472: gcc -o conftest -g -O2 conftest.c -lreadline >&5 | configure:19472: $? = 0 | configure:19479: result: yes | configure:19488: checking history.h usability | configure:19488: gcc -c -g -O2 conftest.c >&5 | conftest.c:109:10: fatal error: 'history.h' file not found | #include | ^~~~~~~~~~~ | 1 error generated. | configure:19488: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:19488: result: no | configure:19488: checking history.h presence | configure:19488: gcc -E conftest.c | conftest.c:76:10: fatal error: 'history.h' file not found | #include | ^~~~~~~~~~~ | 1 error generated. | configure:19488: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:19488: result: no | configure:19488: checking for history.h | configure:19488: result: no | configure:19488: checking readline/history.h usability | configure:19488: gcc -c -g -O2 conftest.c >&5 | configure:19488: $? = 0 | configure:19488: result: yes | configure:19488: checking readline/history.h presence | configure:19488: gcc -E conftest.c | configure:19488: $? = 0 | configure:19488: result: yes | configure:19488: checking for readline/history.h | configure:19488: result: yes | configure:19561: checking for pkg-config | configure:19594: result: no | configure:19630: checking for XML2 | configure:19709: result: no; used pkg-config | configure:19711: checking for libxml2 version >= 2.6.16 | configure:19735: result: yes; used xml2-config | configure:19748: checking for sys_errlist | configure:19764: gcc -o conftest -g -O2 conftest.c >&5 | configure:19764: $? = 0 | configure:19772: result: yes | configure:19801: checking for DAP | configure:19872: checking for DAP_CLIENT | configure:19943: checking for DAP_SERVER | configure:20016: checking for dap-config | configure:20034: found /Users/jimg/src/opendap/hyrax_git/build/bin/dap-config | configure:20047: result: /Users/jimg/src/opendap/hyrax_git/build/bin/dap-config | configure:20100: checking for libdap version >= 3.18.0 | configure:20103: result: yes | configure:20164: checking whether to use libwrap | configure:20224: result: no | configure:20230: checking for tr1/functional | configure:20253: g++ -c -g3 -O0 -Wall -W -Wcast-align -fsanitize=address -fno-omit-frame-pointer conftest.cpp >&5 | conftest.cpp:78:10: fatal error: 'tr1/functional' file not found | #include | ^~~~~~~~~~~~~~~~ | 1 error generated. | configure:20253: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:20268: result: no | configure:20312: checking for cppunit-config | configure:20330: found /usr/local/bin/cppunit-config | configure:20343: result: /usr/local/bin/cppunit-config | configure:20353: checking for Cppunit - version >= 1.12.0 | configure:20399: result: 1.13.2 | configure:20563: result: Using /Users/jimg/src/opendap/hyrax_git/build/deps as the dependencies prefix | configure:20675: checking for pkg-config | configure:20708: result: no | configure:20790: checking for curl-config | configure:20808: found /usr/bin/curl-config | configure:20820: result: /usr/bin/curl-config | configure:20844: checking for libcurl using curl-config | configure:20863: result: yes; found version 7.54.0 | configure:20879: checking the OS type for the freeform code | configure:20903: result: set to -DLINUX | configure:20912: checking the netCDF library | configure:21039: checking for nc_open in -lnetcdf | configure:21064: gcc -o conftest -g -O2 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib conftest.c -lnetcdf -lcurl -lhdf5_hl -lhdf5 -ldl -lz -lm >&5 | configure:21064: $? = 0 | configure:21074: result: yes | configure:21184: checking for netcdf.h with compiler | configure:21190: gcc -c -g -O2 -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c >&5 | configure:21190: $? = 0 | configure:21192: result: yes | configure:21204: checking for netcdf.h with preprocessor | configure:21210: gcc -E -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c | configure:21210: $? = 0 | configure:21212: result: yes | configure:21233: checking for netcdf 3 interface | configure:21256: gcc -c -g -O2 -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c >&5 | configure:21256: $? = 0 | configure:21270: result: yes | configure:21460: result: -lnetcdf -lcurl -lhdf5_hl -lhdf5 -ldl | configure:21480: checking for nc_inq_libvers in -lnetcdf | configure:21505: gcc -o conftest -g -O2 conftest.c -lnetcdf -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib -lnetcdf -lcurl -lhdf5_hl -lhdf5 -ldl >&5 | configure:21505: $? = 0 | configure:21514: result: yes | configure:21535: checking the netCDF library version number | configure:21537: result: 4 | configure:21541: NC_BIN is /Users/jimg/src/opendap/hyrax_git/build/deps/bin | configure:21576: Using /Users/jimg/src/opendap/hyrax_git/build/deps as the GDAL prefix directory. | configure:21581: Set GDAL_LDFLAGS to -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib -lgdal -L/usr/local/lib -lexpat -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib -lopenjp2 -lpng -lz -lpthread -ldl -lcurl -liconv -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm. | configure:21819: checking for opj_version in -lopenjp2 | configure:21844: gcc -o conftest -g -O2 conftest.c -lopenjp2 -lm -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib >&5 | configure:21844: $? = 0 | configure:21853: result: yes | configure:21873: Found OPENJPEG; building GMLJP2 support. | configure:21940: checking for fits_is_url_absolute in -lcfitsio | configure:21966: gcc -o conftest -g -O2 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib conftest.c -lcfitsio -lm | >&5 | configure:21966: $? = 0 | configure:21975: result: yes | configure:21996: checking fitsio.h usability | configure:21996: gcc -c -g -O2 -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c >&5 | configure:21996: $? = 0 | configure:21996: result: yes | configure:21996: checking fitsio.h presence | configure:21996: gcc -E -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c | configure:21996: $? = 0 | configure:21996: result: yes | configure:21996: checking for fitsio.h | configure:21996: result: yes | configure:22086: -------------------------------------------------- | configure:22088: HDF4_PATH is: /Users/jimg/src/opendap/hyrax_git/build/deps | configure:22090: HDF4_PATH_LIBDIR: /Users/jimg/src/opendap/hyrax_git/build/deps/lib | configure:22092: HDF4_PATH_INC: /Users/jimg/src/opendap/hyrax_git/build/deps/include | configure:22099: H4_CC: /Users/jimg/src/opendap/hyrax_git/build/deps/bin/h4cc | configure:22107: --------------- Searching for HDF4 Libraries ------------------------ | configure:22115: HDF4_PATH_LIBDIR is set | configure:22127: checking for SZ_BufftoBuffCompress in -lsz | configure:22147: gcc -o conftest -g -O2 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib conftest.c -lsz >&5 | ld: library not found for -lsz | clang: error: linker command failed with exit code 1 (use -v to see invocation) | configure:22147: $? = 1 | configure: failed program was: | | /* confdefs.h */ | | #define PACKAGE_NAME "bes" | | #define PACKAGE_TARNAME "bes" | | #define PACKAGE_VERSION "3.19.1" | | #define PACKAGE_STRING "bes 3.19.1" | | #define PACKAGE_BUGREPORT "support@opendap.org" | | #define PACKAGE_URL "" | | #define PACKAGE "bes" | | #define VERSION "3.19.1" | | #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 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:22155: result: no | configure:22178: checking for deflate in -lz | configure:22198: gcc -o conftest -g -O2 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib conftest.c -lz >&5 | configure:22198: $? = 0 | configure:22201: result: yes | configure:22218: checking for jpeg_start_compress in -ljpeg | configure:22238: gcc -o conftest -g -O2 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib conftest.c -ljpeg >&5 | configure:22238: $? = 0 | configure:22241: result: yes | configure:22258: checking for Hopen in -ldf | configure:22278: gcc -o conftest -g -O2 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib conftest.c -ldf -ljpeg -lz >&5 | configure:22278: $? = 0 | configure:22281: result: yes | configure:22298: checking for SDstart in -lmfhdf | configure:22318: gcc -o conftest -g -O2 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib conftest.c -lmfhdf -ldf -ljpeg -lz >&5 | configure:22318: $? = 0 | configure:22321: result: yes | configure:22643: --------------- Searching for HDF4 headers ------------------------ | configure:22651: HDF4_PATH_INC is set | configure:22658: checking for mfhdf.h with compiler | configure:22664: gcc -c -g -O2 -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c >&5 | configure:22664: $? = 0 | configure:22666: result: yes | configure:22677: checking for mfhdf.h with preprocessor | configure:22683: gcc -E -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c | configure:22683: $? = 0 | configure:22685: result: yes | configure:22786: ac_hdf4_h: yes | configure:22788: ac_hdf4_lib_ok: yes | configure:22815: CC: gcc | configure:22817: HDF4_PATH: /Users/jimg/src/opendap/hyrax_git/build/deps | configure:22819: HDF4_LIBS: -lmfhdf -ldf -ljpeg -lz | configure:22821: HDF4_CFLAGS: -I/Users/jimg/src/opendap/hyrax_git/build/deps/include | configure:22823: HDF4_LDFLAGS: -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib | configure:22846: HDFEOS2 set to true | configure:22931: checking for H5open in -lhdf5 | configure:22956: gcc -o conftest -g -O2 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib conftest.c -lhdf5 -lhdf5_hl -ldl -lz -lm >&5 | configure:22956: $? = 0 | configure:22966: result: yes | configure:23080: checking for hdf5.h with compiler | configure:23086: gcc -c -g -O2 -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c >&5 | configure:23086: $? = 0 | configure:23088: result: yes | configure:23100: checking for hdf5.h with preprocessor | configure:23106: gcc -E -I/Users/jimg/src/opendap/hyrax_git/build/deps/include conftest.c | configure:23106: $? = 0 | configure:23108: result: yes | configure:23270: checking for icu version >= 3.6 | configure:23293: ICU_PATH: /Users/jimg/src/opendap/hyrax_git/build/deps | configure:23354: checking for icu-config | configure:23372: found /Users/jimg/src/opendap/hyrax_git/build/deps/bin/icu-config | configure:23384: result: /Users/jimg/src/opendap/hyrax_git/build/deps/bin/icu-config | configure:23445: checking for icu (3.6) >= 3.6 | configure:23480: result: yes | configure:23494: ICU_CPPFLAGS= | configure:23496: ICU_LIBS=-lpthread -lm -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib -licui18n -licuuc -licudata -lpthread -lm | configure:23597: checking for libgridfields 1.0.3 | configure:23630: result: yes; used gridfields-config | configure:23995: checking that generated files are newer than configure | configure:24001: result: done | configure:24220: creating ./config.status | | ## ---------------------- ## | ## Running config.status. ## | ## ---------------------- ## | | This file was extended by bes config.status 3.19.1, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status | | on edamame.local | | config.status:1525: creating Makefile | config.status:1525: creating abi_checker.xml | config.status:1525: creating bes_dispatch.pc | config.status:1525: creating bes_ppt.pc | config.status:1525: creating bes_xml_command.pc | config.status:1525: creating doxy.conf | config.status:1525: creating main_page.doxygen | config.status:1525: creating dispatch/Makefile | config.status:1525: creating dispatch/unit-tests/Makefile | config.status:1525: creating dispatch/tests/Makefile | config.status:1525: creating dispatch/tests/atlocal | config.status:1525: creating hello_world/Makefile | config.status:1525: creating hello_world/tests/Makefile | config.status:1525: creating hello_world/tests/atlocal | config.status:1525: creating docs/Makefile | config.status:1525: creating xmlcommand/Makefile | config.status:1525: creating xmlcommand/unit-tests/Makefile | config.status:1525: creating xmlcommand/tests/Makefile | config.status:1525: creating xmlcommand/tests/atlocal | config.status:1525: creating ppt/Makefile | config.status:1525: creating ppt/unit-tests/Makefile | config.status:1525: creating cmdln/Makefile | config.status:1525: creating cmdln/unit-tests/Makefile | config.status:1525: creating cmdln/tests/Makefile | config.status:1525: creating cmdln/tests/atlocal | config.status:1525: creating standalone/Makefile | config.status:1525: creating server/Makefile | config.status:1525: creating bin/Makefile | config.status:1525: creating templates/Makefile | config.status:1525: creating dap/Makefile | config.status:1525: creating dap/unit-tests/Makefile | config.status:1525: creating dap/tests/Makefile | config.status:1525: creating dap/tests/atlocal | config.status:1525: creating dapreader/Makefile | config.status:1525: creating dapreader/tests/Makefile | config.status:1525: creating dapreader/tests/atlocal | config.status:1525: creating functions/Makefile | config.status:1525: creating functions/tests/Makefile | config.status:1525: creating functions/tests/atlocal | config.status:1525: creating functions/unit-tests/Makefile | config.status:1525: creating bes-config | config.status:1525: creating besd | config.status:1525: creating server/besctl | config.status:1525: creating server/hyraxctl | config.status:1525: creating modules/Makefile | config.status:1525: creating modules/csv_handler/Makefile | config.status:1525: creating modules/csv_handler/tests/Makefile | config.status:1525: creating modules/csv_handler/tests/atlocal | config.status:1525: creating modules/usage/Makefile | config.status:1525: creating modules/asciival/Makefile | config.status:1525: creating modules/asciival/tests/Makefile | config.status:1525: creating modules/asciival/tests/atlocal | config.status:1525: creating modules/asciival/unit-tests/Makefile | config.status:1525: creating modules/www-interface/Makefile | config.status:1525: creating modules/debug_functions/Makefile | config.status:1525: creating modules/debug_functions/unit-tests/Makefile | config.status:1525: creating modules/debug_functions/tests/Makefile | config.status:1525: creating modules/debug_functions/tests/atlocal | config.status:1525: creating modules/dmrpp_module/Makefile | config.status:1525: creating modules/dmrpp_module/unit-tests/Makefile | config.status:1525: creating modules/dmrpp_module/tests/Makefile | config.status:1525: creating modules/dmrpp_module/tests/atlocal | config.status:1525: creating modules/dmrpp_module/data/Makefile | config.status:1525: creating modules/fileout_json/Makefile | config.status:1525: creating modules/fileout_json/unit-tests/Makefile | config.status:1525: creating modules/fileout_json/tests/Makefile | config.status:1525: creating modules/fileout_json/tests/atlocal | config.status:1525: creating modules/fileout_covjson/Makefile | config.status:1525: creating modules/fileout_covjson/unit-tests/Makefile | config.status:1525: creating modules/fileout_covjson/tests/Makefile | config.status:1525: creating modules/fileout_covjson/tests/atlocal | config.status:1525: creating modules/freeform_handler/Makefile | config.status:1525: creating modules/freeform_handler/tests/Makefile | config.status:1525: creating modules/freeform_handler/tests/atlocal | config.status:1525: creating modules/freeform_handler/FFND/Makefile | config.status:1525: creating modules/xml_data_handler/Makefile | config.status:1525: creating modules/xml_data_handler/unit-tests/Makefile | config.status:1525: creating modules/xml_data_handler/tests/Makefile | config.status:1525: creating modules/xml_data_handler/tests/atlocal | config.status:1525: creating modules/netcdf_handler/Makefile | config.status:1525: creating modules/netcdf_handler/tests/Makefile | config.status:1525: creating modules/netcdf_handler/tests/atlocal | config.status:1525: creating modules/fileout_netcdf/Makefile | config.status:1525: creating modules/fileout_netcdf/tests/Makefile | config.status:1525: creating modules/fileout_netcdf/tests/atlocal | config.status:1525: creating modules/fileout_netcdf/data/build_test_data/Makefile | config.status:1525: creating modules/gateway_module/Makefile | config.status:1525: creating modules/gateway_module/tests/Makefile | config.status:1525: creating modules/gateway_module/tests/atlocal | config.status:1525: creating modules/fileout_gdal/Makefile | config.status:1525: creating modules/fileout_gdal/tests/Makefile | config.status:1525: creating modules/fileout_gdal/tests/atlocal | config.status:1525: creating modules/fits_handler/Makefile | config.status:1525: creating modules/fits_handler/tests/atlocal | config.status:1525: creating modules/fits_handler/tests/Makefile | config.status:1525: creating modules/gdal_handler/Makefile | config.status:1525: creating modules/gdal_handler/tests/Makefile | config.status:1525: creating modules/gdal_handler/tests/atlocal | config.status:1525: creating modules/hdf4_handler/Makefile | config.status:1525: creating modules/hdf4_handler/hdfclass/Makefile | config.status:1525: creating modules/hdf4_handler/bes-testsuite/Makefile | config.status:1525: creating modules/hdf4_handler/bes-testsuite/atlocal | config.status:1525: creating modules/hdf5_handler/Makefile | config.status:1525: creating modules/hdf5_handler/bes-testsuite/Makefile | config.status:1525: creating modules/hdf5_handler/bes-testsuite/atlocal | config.status:1525: creating modules/hdf5_handler/gctp/Makefile | config.status:1525: creating modules/hdf5_handler/gctp/src/Makefile | config.status:1525: creating modules/ncml_module/Makefile | config.status:1525: creating modules/ncml_module/tests/Makefile | config.status:1525: creating modules/ncml_module/tests/atlocal | config.status:1525: creating modules/ugrid_functions/Makefile | config.status:1525: creating modules/ugrid_functions/unit-tests/Makefile | config.status:1525: creating modules/ugrid_functions/tests/Makefile | config.status:1525: creating modules/ugrid_functions/tests/atlocal | config.status:1525: creating modules/w10n_handler/Makefile | config.status:1525: creating modules/w10n_handler/unit-tests/Makefile | config.status:1525: creating modules/w10n_handler/tests/Makefile | config.status:1525: creating modules/w10n_handler/tests/atlocal | config.status:1525: creating modules/xml_data_handler/tests/generate_metadata_baseline.sh | config.status:1525: creating modules/xml_data_handler/tests/generate_data_baseline.sh | config.status:1525: creating modules/fits_handler/tests/generate_metadata_baseline.sh | config.status:1525: creating modules/fits_handler/tests/generate_data_baseline.sh | config.status:1525: creating modules/hdf4_handler/bes-testsuite/generate_metadata_baseline.sh | config.status:1525: creating modules/www-interface/js2h.pl | config.status:1525: creating config.h | config.status:1706: config.h is unchanged | config.status:1754: executing depfiles commands | config.status:1754: executing libtool commands | config.status:1754: executing cmdln/tests/atconfig commands | config.status:1754: executing hello_world/tests/atconfig commands | config.status:1754: executing dapreader/tests/atconfig commands | config.status:1754: executing dap/tests/atconfig commands | config.status:1754: executing functions/tests/atconfig commands | config.status:1754: executing dispatch/tests/atconfig commands | config.status:1754: executing xmlcommand/tests/atconfig commands | config.status:1754: executing modules/csv_handler/tests/atconfig commands | config.status:1754: executing modules/asciival/tests/atconfig commands | config.status:1754: executing modules/fileout_json/tests/atconfig commands | config.status:1754: executing modules/fileout_covjson/tests/atconfig commands | config.status:1754: executing modules/debug_functions/tests/atconfig commands | config.status:1754: executing modules/dmrpp_module/tests/atconfig commands | config.status:1754: executing modules/freeform_handler/tests/atconfig commands | config.status:1754: executing modules/xml_data_handler/tests/atconfig commands | config.status:1754: executing modules/netcdf_handler/tests/atconfig commands | config.status:1754: executing modules/fileout_netcdf/tests/atconfig commands | config.status:1754: executing modules/gateway_module/tests/atconfig commands | config.status:1754: executing modules/fileout_gdal/tests/atconfig commands | config.status:1754: executing modules/fits_handler/tests/atconfig commands | config.status:1754: executing modules/gdal_handler/tests/atconfig commands | config.status:1754: executing modules/ncml_module/tests/atconfig commands | config.status:1754: executing modules/ugrid_functions/tests/atconfig commands | config.status:1754: executing modules/w10n_handler/tests/atconfig commands | config.status:1754: executing modules/hdf4_handler/bes-testsuite/atconfig commands | config.status:1754: 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_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/jimg/src/opendap/hyrax_git/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/jimg/src/opendap/hyrax_git/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_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/jimg/src/opendap/hyrax_git/bes/conf/missing aclocal-1.14' | 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/jimg/src/opendap/hyrax_git/bes/conf/missing autoconf' | AUTOHEADER='${SHELL} /Users/jimg/src/opendap/hyrax_git/bes/conf/missing autoheader' | AUTOMAKE='${SHELL} /Users/jimg/src/opendap/hyrax_git/bes/conf/missing automake-1.14' | 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=' ' | 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/jimg/src/opendap/hyrax_git/build/deps/include' | CFITS_LDFLAGS='-L/Users/jimg/src/opendap/hyrax_git/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/jimg/src/opendap/hyrax_git/build/include/libdap -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2 ' | DAP_CLIENT_CFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/include/libdap -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2 ' | DAP_CLIENT_LIBS='-L/Users/jimg/src/opendap/hyrax_git/build/lib64 -L/Users/jimg/src/opendap/hyrax_git/build/lib -ldap -ldapclient -lcurl -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_CLIENT_STATIC_LIBS='-L/Users/jimg/src/opendap/hyrax_git/build/lib64 -L/Users/jimg/src/opendap/hyrax_git/build/lib -ldap -ldapclient -lcurl -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_CONFIG='/Users/jimg/src/opendap/hyrax_git/build/bin/dap-config' | DAP_LIBS='-L/Users/jimg/src/opendap/hyrax_git/build/lib64 -L/Users/jimg/src/opendap/hyrax_git/build/lib -ldap -ldapserver -ldapclient -lcurl -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_PROTOCOL_VERSION='' | DAP_SERVER_CFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/include/libdap -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2 ' | DAP_SERVER_LIBS='-L/Users/jimg/src/opendap/hyrax_git/build/lib64 -L/Users/jimg/src/opendap/hyrax_git/build/lib -ldap -ldapserver -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_SERVER_STATIC_LIBS='-L/Users/jimg/src/opendap/hyrax_git/build/lib64 -L/Users/jimg/src/opendap/hyrax_git/build/lib -ldap -ldapserver -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -lpthread ' | DAP_STATIC_LIBS='-L/Users/jimg/src/opendap/hyrax_git/build/lib64 -L/Users/jimg/src/opendap/hyrax_git/build/lib -ldap -ldapserver -ldapclient -lcurl -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.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/jimg/src/opendap/hyrax_git/build/deps/include' | GDAL_CONFIG='' | GDAL_DEP_LDFLAGS='' | GDAL_LDFLAGS='-L/Users/jimg/src/opendap/hyrax_git/build/deps/lib -lgdal -L/usr/local/lib -lexpat -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib -lopenjp2 -lpng -lz -lpthread -ldl -lcurl -liconv -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm' | GDAL_OGR_ENABLED='' | GDAL_VERSION='' | GF_CFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/deps/include' | GF_LIBS='-L/Users/jimg/src/opendap/hyrax_git/build/deps/lib64 -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib -lgridfields ' | GF_PATH='/Users/jimg/src/opendap/hyrax_git/build/deps' | GREP='/usr/bin/grep' | H4_CC='/Users/jimg/src/opendap/hyrax_git/build/deps/bin/h4cc' | H5_CPPFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/deps/include' | H5_LDFLAGS='-L/Users/jimg/src/opendap/hyrax_git/build/deps/lib' | H5_LIBS='-lhdf5_hl -lhdf5 -ldl' | H5_PATH='/Users/jimg/src/opendap/hyrax_git/build/deps' | HAVE_VALGRIND='' | HDF4_CFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/deps/include' | HDF4_LDFLAGS='-L/Users/jimg/src/opendap/hyrax_git/build/deps/lib' | HDF4_LIBS='-lmfhdf -ldf -ljpeg -lz ' | HDF4_PATH='/Users/jimg/src/opendap/hyrax_git/build/deps' | HDFEOS2_CPPFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/deps/include -DUSE_HDFEOS2_LIB' | HDFEOS2_DIR='/Users/jimg/src/opendap/hyrax_git/build/deps' | HDFEOS2_FALSE='#' | HDFEOS2_LDFLAGS='-L/Users/jimg/src/opendap/hyrax_git/build/deps/lib' | HDFEOS2_LIBS='-lhdfeos -lGctp' | HDFEOS2_TRUE='' | ICU_CFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/deps/include' | ICU_CONFIG='/Users/jimg/src/opendap/hyrax_git/build/deps/bin/icu-config' | ICU_CPPFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/deps/include' | ICU_LIBS='-lpthread -lm -L/Users/jimg/src/opendap/hyrax_git/build/deps/lib -licui18n -licuuc -licudata -lpthread -lm' | ICU_PATH='/Users/jimg/src/opendap/hyrax_git/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='15:2:0' | LIBOBJS=' ${LIBOBJDIR}error$U.o ${LIBOBJDIR}mktime$U.o' | LIBPPT_VERSION='4:11:0' | LIBS='' | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | LIBXMLCOMMAND_VERSION='3:4:2' | LIB_DIS_AGE='0' | LIB_DIS_CURRENT='15' | LIB_DIS_REVISION='2' | LIB_PPT_AGE='0' | LIB_PPT_CURRENT='4' | LIB_PPT_REVISION='11' | LIB_XML_CMD_AGE='2' | LIB_XML_CMD_CURRENT='3' | LIB_XML_CMD_REVISION='4' | LIPO='lipo' | LN_S='ln -s' | LTLIBOBJS=' ${LIBOBJDIR}error$U.lo ${LIBOBJDIR}mktime$U.lo' | LT_SYS_LIBRARY_PATH='' | MAKEINFO='${SHELL} /Users/jimg/src/opendap/hyrax_git/bes/conf/missing makeinfo' | MANIFEST_TOOL=':' | MKDIR_P='conf/install-sh -c -d' | NC_BIN_PATH='/Users/jimg/src/opendap/hyrax_git/build/deps/bin' | NC_CONFIG='' | NC_CPPFLAGS='-I/Users/jimg/src/opendap/hyrax_git/build/deps/include' | NC_LDFLAGS='-L/Users/jimg/src/opendap/hyrax_git/build/deps/lib' | NC_LIBS='-lnetcdf -lcurl -lhdf5_hl -lhdf5 -ldl' | NC_NETCDF_3_CPPFLAG='-I/Users/jimg/src/opendap/hyrax_git/build/deps/include' | NC_PATH='/Users/jimg/src/opendap/hyrax_git/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='19' | PACKAGE_NAME='bes' | PACKAGE_STRING='bes 3.19.1' | PACKAGE_SUBMINOR_VERSION='1' | PACKAGE_TARNAME='bes' | PACKAGE_URL='' | PACKAGE_VERSION='3.19.1' | 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.19.1' | WITH_DEPENDENCIES_FALSE='#' | WITH_DEPENDENCIES_TRUE='' | XML2_CFLAGS='-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2' | XML2_LIBS='-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm' | XML2_STATIC_LIBS='-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm' | YACC='bison' | ac_bes_dependencies_prefix='/Users/jimg/src/opendap/hyrax_git/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/jimg/src/opendap/hyrax_git/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/jimg/src/opendap/hyrax_git/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.13.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.19.1" | #define PACKAGE_STRING "bes 3.19.1" | #define PACKAGE_BUGREPORT "support@opendap.org" | #define PACKAGE_URL "" | #define PACKAGE "bes" | #define VERSION "3.19.1" | #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 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.19.1, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status modules/netcdf_handler/Makefile depfiles | | on edamame.local | | config.status:1525: creating modules/netcdf_handler/Makefile | config.status:1754: executing depfiles commands | | ## ---------------------- ## | ## Running config.status. ## | ## ---------------------- ## | | This file was extended by bes config.status 3.19.1, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status modules/dmrpp_module/tests/Makefile | | on edamame.local | | config.status:1525: creating modules/dmrpp_module/tests/Makefile | | ## ---------------------- ## | ## Running config.status. ## | ## ---------------------- ## | | This file was extended by bes config.status 3.19.1, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status modules/netcdf_handler/Makefile depfiles | | on edamame.local | | config.status:1525: creating modules/netcdf_handler/Makefile | config.status:1754: executing depfiles commands | | ## ---------------------- ## | ## Running config.status. ## | ## ---------------------- ## | | This file was extended by bes config.status 3.19.1, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status besd | | on edamame.local | | config.status:1525: creating besd | | ## ---------------------- ## | ## Running config.status. ## | ## ---------------------- ## | | This file was extended by bes config.status 3.19.1, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status modules/netcdf_handler/Makefile depfiles | | on edamame.local | | config.status:1525: creating modules/netcdf_handler/Makefile | config.status:1754: executing depfiles commands | | ## ---------------------- ## | ## Running config.status. ## | ## ---------------------- ## | | This file was extended by bes config.status 3.19.1, which was | generated by GNU Autoconf 2.69. Invocation command line was | | CONFIG_FILES = | CONFIG_HEADERS = | CONFIG_LINKS = | CONFIG_COMMANDS = | $ ./config.status modules/ncml_module/tests/Makefile | | on edamame.local | | config.status:1525: creating modules/ncml_module/tests/Makefile