# Checking port 60550 # Found port 60550 Name: primary Data directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/archives Connection string: port=60550 host=/tmp/CnC3FSNmAf Log file: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/log/002_compare_backups_primary.log [10:37:35.038](0.046s) # 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_combinebackup/tmp_check/t_002_compare_backups_primary_data/pgdata # Running: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/../../../src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/pgdata ### Enabling WAL archiving for node "primary" ### Starting node "primary" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/log/002_compare_backups_primary.log -o --cluster-name=primary start waiting for server to start.... done server started # Postmaster PID for node "primary" is 21658 # Running: pg_basebackup -D /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup1 --no-sync -cfast [10:37:36.168](1.129s) ok 1 - full backup # Running: pg_basebackup -D /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup2 --no-sync -cfast --incremental /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup1/backup_manifest [10:37:36.665](0.497s) ok 2 - incremental backup # Checking port 60551 # Found port 60551 Name: pitr1 Data directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr1_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr1_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr1_data/archives Connection string: port=60551 host=/tmp/CnC3FSNmAf Log file: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/log/002_compare_backups_pitr1.log # Initializing node "pitr1" from backup "backup1" of node "primary" ### Enabling WAL restore for node "pitr1" ### Starting node "pitr1" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr1_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/log/002_compare_backups_pitr1.log -o --cluster-name=pitr1 start waiting for server to start.... done server started # Postmaster PID for node "pitr1" is 22082 # Checking port 60552 # Found port 60552 Name: pitr2 Data directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr2_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr2_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr2_data/archives Connection string: port=60552 host=/tmp/CnC3FSNmAf Log file: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/log/002_compare_backups_pitr2.log # Initializing node "pitr2" from backup "backup2" of node "primary" # Running: pg_combinebackup -d /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup1 /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup2 -o /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr2_data/pgdata pg_combinebackup: read server version 17 from "/tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup2/PG_VERSION" pg_combinebackup: reading "/tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup2/global/pg_control" pg_combinebackup: reading "/tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup1/global/pg_control" pg_combinebackup: system identifier is 7342826572342065605 pg_combinebackup: reading "/tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup2/backup_label" pg_combinebackup: reading "/tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup1/backup_label" ================================================================= ==22122==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000098 at pc 0x5599aa0651b1 bp 0x7ffff52caa80 sp 0x7ffff52caa78 READ of size 8 at 0x602000000098 thread T0 #0 0x5599aa0651b0 in fasthash_accum_cstring_aligned ../../../src/include/common/hashfn_unstable.h:243 #1 0x5599aa0651b0 in fasthash_accum_cstring ../../../src/include/common/hashfn_unstable.h:311 #2 0x5599aa0651b0 in hash_string_pointer /tmp/cirrus-ci-build/src/bin/pg_combinebackup/load_manifest.c:248 #3 0x5599aa0665e8 in manifest_files_insert ../../../src/include/lib/simplehash.h:779 #4 0x5599aa0666b8 in combinebackup_per_file_cb /tmp/cirrus-ci-build/src/bin/pg_combinebackup/load_manifest.c:198 #5 0x5599aa06e78d in json_manifest_finalize_file /tmp/cirrus-ci-build/src/common/parse_manifest.c:548 #6 0x5599aa06f245 in json_manifest_object_end /tmp/cirrus-ci-build/src/common/parse_manifest.c:219 #7 0x5599aa07971c in parse_object /tmp/cirrus-ci-build/src/common/jsonapi.c:470 #8 0x5599aa078dad in parse_array_element /tmp/cirrus-ci-build/src/common/jsonapi.c:500 #9 0x5599aa079031 in parse_array /tmp/cirrus-ci-build/src/common/jsonapi.c:555 #10 0x5599aa0793dd in parse_object_field /tmp/cirrus-ci-build/src/common/jsonapi.c:386 #11 0x5599aa079677 in parse_object /tmp/cirrus-ci-build/src/common/jsonapi.c:450 #12 0x5599aa079ac1 in pg_parse_json /tmp/cirrus-ci-build/src/common/jsonapi.c:221 #13 0x5599aa06f9dc in json_parse_manifest /tmp/cirrus-ci-build/src/common/parse_manifest.c:148 #14 0x5599aa0679fe in load_backup_manifest /tmp/cirrus-ci-build/src/bin/pg_combinebackup/load_manifest.c:159 #15 0x5599aa067aa3 in load_backup_manifests /tmp/cirrus-ci-build/src/bin/pg_combinebackup/load_manifest.c:81 #16 0x5599aa0627bc in main /tmp/cirrus-ci-build/src/bin/pg_combinebackup/pg_combinebackup.c:232 #17 0x7f60ab7efd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #18 0x5599aa05e779 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_combinebackup+0xf779) 0x60200000009d is located 0 bytes to the right of 13-byte region [0x602000000090,0x60200000009d) allocated by thread T0 here: #0 0x7f60abd0d817 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:452 #1 0x5599aa075682 in pg_strdup /tmp/cirrus-ci-build/src/common/fe_memutils.c:95 #2 0x5599aa06da51 in json_manifest_array_start /tmp/cirrus-ci-build/src/common/parse_manifest.c:256 SUMMARY: AddressSanitizer: heap-buffer-overflow ../../../src/include/common/hashfn_unstable.h:243 in fasthash_accum_cstring_aligned Shadow bytes around the buggy address: 0x0c047fff7fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c047fff7fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c047fff7fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c047fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c047fff8000: fa fa 00 00 fa fa 02 fa fa fa 06 fa fa fa 05 fa =>0x0c047fff8010: fa fa 00[05]fa fa 05 fa fa fa 04 fa fa fa 00 06 0x0c047fff8020: fa fa 07 fa fa fa 00 01 fa fa 00 01 fa fa 04 fa 0x0c047fff8030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff8040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff8060: 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 Shadow gap: cc ==22122==ABORTING [10:37:38.404](1.740s) Bail out! command "pg_combinebackup -d /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup1 /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/backup/backup2 -o /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr2_data/pgdata" died with signal 6 # Postmaster PID for node "primary" is 21658 ### Stopping node "primary" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_primary_data/pgdata -m immediate stop waiting for server to shut down... done server stopped # No postmaster PID for node "primary" # Postmaster PID for node "pitr1" is 22082 ### Stopping node "pitr1" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/t_002_compare_backups_pitr1_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "pitr1" # No postmaster PID for node "pitr2"