# Checking port 50956 # Found port 50956 Name: main Data directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/archives Connection string: port=50956 host=/tmp/i06ZYewMUJ Log file: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/log/005_pg_dump_filterfile_main.log [10:40:00.054](0.052s) # initializing database system by copying initdb template # Running: cp -RPp /tmp/cirrus-ci-build/tmp_install/initdb-template /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/pgdata # Running: /tmp/cirrus-ci-build/src/bin/pg_dump/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/pgdata ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/log/005_pg_dump_filterfile_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 26519 # Running: pg_dump -p 50956 -f /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/backup/plain.sql --filter=/tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/tmp_test_xy7i/inputfile.txt postgres ================================================================= ==26877==ERROR: AddressSanitizer: global-buffer-overflow on address 0x55a9074e567c at pc 0x55a907474ba5 bp 0x7fff95edbe20 sp 0x7fff95edbe18 READ of size 4 at 0x55a9074e567c thread T0 #0 0x55a907474ba4 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 #1 0x55a9074b3b6f in pg_qsort ../../src/include/lib/sort_template.h:354 #2 0x55a9074792bb in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #3 0x55a90746949f in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #4 0x7f2776d6ad09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x55a90741eec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x55a9074e567c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x55a9074e55c0) 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: 0x0ab5a0e94a70: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0ab5a0e94a80: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0ab5a0e94a90: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0ab5a0e94aa0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0ab5a0e94ab0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0ab5a0e94ac0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0ab5a0e94ad0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0ab5a0e94ae0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0ab5a0e94af0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0ab5a0e94b00: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0ab5a0e94b10: 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 ==26877==ABORTING [10:40:02.675](2.621s) not ok 1 - filter file without patterns [10:40:02.675](0.000s) [10:40:02.675](0.000s) # Failed test 'filter file without patterns' # at t/005_pg_dump_filterfile.pl line 92. could not read "/tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/backup/plain.sql": No such file or directory at t/005_pg_dump_filterfile.pl line 99. # Postmaster PID for node "main" is 26519 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_005_pg_dump_filterfile_main_data/pgdata -m immediate stop waiting for server to shut down... done server stopped # No postmaster PID for node "main" [10:40:02.698](0.023s) # Tests were run but no plan was declared and done_testing() was not seen. [10:40:02.698](0.000s) # Looks like your test exited with 2 just after 1.