command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/nnvPYI6RYu --port 49957 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_004_subscription_new_sub_data/pgdata/pg_upgrade_output.d/20240424T104147.987/dump/pg_upgrade_dump_5.custom" 'dbname=postgres' >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_004_subscription_new_sub_data/pgdata/pg_upgrade_output.d/20240424T104147.987/log/pg_upgrade_dump_5.log" 2>&1 ================================================================= ==40505==ERROR: AddressSanitizer: global-buffer-overflow on address 0x5597d20df67c at pc 0x5597d206eba5 bp 0x7ffde3dbd7c0 sp 0x7ffde3dbd7b8 READ of size 4 at 0x5597d20df67c thread T0 #0 0x5597d206eba4 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 #1 0x5597d20adb6f in pg_qsort ../../src/include/lib/sort_template.h:354 #2 0x5597d20732bb in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #3 0x5597d206349f in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #4 0x7fcd6710ed09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x5597d2018ec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x5597d20df67c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x5597d20df5c0) 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: 0x0ab37a413e70: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0ab37a413e80: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0ab37a413e90: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0ab37a413ea0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0ab37a413eb0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0ab37a413ec0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0ab37a413ed0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0ab37a413ee0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0ab37a413ef0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0ab37a413f00: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0ab37a413f10: 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 ==40505==ABORTING Aborted (core dumped)