# Checking port 53237 # Found port 53237 Name: main Data directory: /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/t_001_base_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/t_001_base_main_data/backup Archive directory: /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/t_001_base_main_data/archives Connection string: port=53237 host=/tmp/c3BsXlVpTt Log file: /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/log/001_base_main.log [17:38:51.022](0.035s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/tmp_install/initdb-template /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/t_001_base_main_data/pgdata # Running: /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/../../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/t_001_base_main_data/pgdata --create-role regress_dump_login_role ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/t_001_base_main_data/pgdata -l /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/log/001_base_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 34347 # Running: pg_dump --no-sync --file=/tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/tmp_test_AeDM/binary_upgrade.sql --schema-only --binary-upgrade --dbname=postgres ================================================================= ==34417==ERROR: AddressSanitizer: global-buffer-overflow on address 0x56160477e67c at pc 0x56160470dcd3 bp 0x7fff96d301f0 sp 0x7fff96d301e8 READ of size 4 at 0x56160477e67c thread T0 #0 0x56160470dcd2 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 #1 0x56160474cc04 in pg_qsort ../../src/include/lib/sort_template.h:364 #2 0x5616047123e9 in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #3 0x561604702555 in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #4 0x7fe4cafdbd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x5616046b7ec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x56160477e67c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x56160477e5c0) of size 188 SUMMARY: AddressSanitizer: global-buffer-overflow /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 in DOTypeNameCompare Shadow bytes around the buggy address: 0x0ac3408e7c70: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0ac3408e7c80: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0ac3408e7c90: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0ac3408e7ca0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0ac3408e7cb0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0ac3408e7cc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0ac3408e7cd0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0ac3408e7ce0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0ac3408e7cf0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0ac3408e7d00: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0ac3408e7d10: f9 f9 f9 f9 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 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 Shadow gap: cc ==34417==ABORTING [17:38:51.669](0.647s) not ok 1 - binary_upgrade: pg_dump runs [17:38:51.669](0.000s) [17:38:51.669](0.000s) # Failed test 'binary_upgrade: pg_dump runs' # at t/001_base.pl line 908. could not read "/tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/tmp_test_AeDM/binary_upgrade.sql": No such file or directory at t/001_base.pl line 922. # Postmaster PID for node "main" is 34347 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/test/modules/test_pg_dump/tmp_check/t_001_base_main_data/pgdata -m immediate stop waiting for server to shut down... done server stopped # No postmaster PID for node "main" [17:38:51.690](0.021s) # Tests were run but no plan was declared and done_testing() was not seen. [17:38:51.691](0.000s) # Looks like your test exited with 2 just after 1.