command: "/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump" --host /tmp/GAFftgcfIv --port 57366 --username postgres --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/dump/pg_upgrade_dump_16387.custom" 'dbname=regression' >> "/tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/t_002_pg_upgrade_new_node_data/pgdata/pg_upgrade_output.d/20240424T104136.436/log/pg_upgrade_dump_16387.log" 2>&1 ================================================================= ==38733==ERROR: AddressSanitizer: global-buffer-overflow on address 0x55e80eb0467c at pc 0x55e80ea93bb2 bp 0x7ffca09d71e0 sp 0x7ffca09d71d8 READ of size 4 at 0x55e80eb0467c thread T0 #0 0x55e80ea93bb1 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:205 #1 0x55e80ead2760 in pg_qsort_med3 ../../src/include/lib/sort_template.h:267 #2 0x55e80ead2917 in pg_qsort ../../src/include/lib/sort_template.h:343 #3 0x55e80ea982bb in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #4 0x55e80ea8849f in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #5 0x7f24c599ad09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #6 0x55e80ea3dec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x55e80eb0467c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x55e80eb045c0) of size 188 SUMMARY: AddressSanitizer: global-buffer-overflow /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:205 in DOTypeNameCompare Shadow bytes around the buggy address: 0x0abd81d58870: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0abd81d58880: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0abd81d58890: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0abd81d588a0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0abd81d588b0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0abd81d588c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0abd81d588d0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0abd81d588e0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0abd81d588f0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0abd81d58900: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0abd81d58910: 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 ==38733==ABORTING Aborted (core dumped)