# Checking port 62922 # Found port 62922 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=62922 host=/tmp/SaT2GEcYjI Log file: /tmp/cirrus-ci-build/src/bin/pg_combinebackup/tmp_check/log/002_compare_backups_primary.log [16:49:25.092](0.021s) # 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 17047 # 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 [16:49:25.778](0.686s) 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 [16:49:26.265](0.487s) ok 2 - incremental backup # Checking port 62923 # Found port 62923 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=62923 host=/tmp/SaT2GEcYjI 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 17409 # Checking port 62924 # Found port 62924 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=62924 host=/tmp/SaT2GEcYjI 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 7344406731444905862 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" ================================================================= ==17459==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000098 at pc 0x55c211d681b1 bp 0x7ffdbb56b040 sp 0x7ffdbb56b038 READ of size 8 at 0x602000000098 thread T0 #0 0x55c211d681b0 in fasthash_accum_cstring_aligned ../../../src/include/common/hashfn_unstable.h:243 #1 0x55c211d681b0 in fasthash_accum_cstring ../../../src/include/common/hashfn_unstable.h:311 #2 0x55c211d681b0 in hash_string_pointer /tmp/cirrus-ci-build/src/bin/pg_combinebackup/load_manifest.c:248 #3 0x55c211d695e8 in manifest_files_insert ../../../src/include/lib/simplehash.h:779 #4 0x55c211d696b8 in combinebackup_per_file_cb /tmp/cirrus-ci-build/src/bin/pg_combinebackup/load_manifest.c:198 #5 0x55c211d7178d in json_manifest_finalize_file /tmp/cirrus-ci-build/src/common/parse_manifest.c:548 #6 0x55c211d72245 in json_manifest_object_end /tmp/cirrus-ci-build/src/common/parse_manifest.c:219 #7 0x55c211d7c71c in parse_object /tmp/cirrus-ci-build/src/common/jsonapi.c:470 #8 0x55c211d7bdad in parse_array_element /tmp/cirrus-ci-build/src/common/jsonapi.c:500 #9 0x55c211d7c031 in parse_array /tmp/cirrus-ci-build/src/common/jsonapi.c:555 #10 0x55c211d7c3dd in parse_object_field /tmp/cirrus-ci-build/src/common/jsonapi.c:386 #11 0x55c211d7c677 in parse_object /tmp/cirrus-ci-build/src/common/jsonapi.c:450 #12 0x55c211d7cac1 in pg_parse_json /tmp/cirrus-ci-build/src/common/jsonapi.c:221 #13 0x55c211d729dc in json_parse_manifest /tmp/cirrus-ci-build/src/common/parse_manifest.c:148 #14 0x55c211d6a9fe in load_backup_manifest /tmp/cirrus-ci-build/src/bin/pg_combinebackup/load_manifest.c:159 #15 0x55c211d6aaa3 in load_backup_manifests /tmp/cirrus-ci-build/src/bin/pg_combinebackup/load_manifest.c:81 #16 0x55c211d657bc in main /tmp/cirrus-ci-build/src/bin/pg_combinebackup/pg_combinebackup.c:232 #17 0x7fadfb6d0d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #18 0x55c211d61779 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 0x7fadfbbee817 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:452 #1 0x55c211d78682 in pg_strdup /tmp/cirrus-ci-build/src/common/fe_memutils.c:95 #2 0x55c211d70a51 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 ==17459==ABORTING [16:49:27.871](1.606s) 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 17047 ### 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 17409 ### 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"