# Checking port 64082 # Found port 64082 Name: main Data directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_003_pg_dump_with_server_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_003_pg_dump_with_server_main_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_003_pg_dump_with_server_main_data/archives Connection string: port=64082 host=/tmp/qmbsiSFebj Log file: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/log/003_pg_dump_with_server_main.log [10:39:56.007](0.073s) # 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_003_pg_dump_with_server_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_003_pg_dump_with_server_main_data/pgdata ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_003_pg_dump_with_server_main_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/log/003_pg_dump_with_server_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 25931 # Running: pg_dump -p 64082 --include-foreign-data=s0 postgres [10:39:57.120](1.113s) ok 1 - correctly fails to dump a foreign table from a dummy FDW: exit code not 0 [10:39:57.120](0.000s) not ok 2 - correctly fails to dump a foreign table from a dummy FDW: matches [10:39:57.120](0.000s) [10:39:57.120](0.000s) # Failed test 'correctly fails to dump a foreign table from a dummy FDW: matches' # at t/003_pg_dump_with_server.pl line 31. [10:39:57.120](0.000s) # '================================================================= # ==26016==ERROR: AddressSanitizer: global-buffer-overflow on address 0x5635c6cf967c at pc 0x5635c6c88ba5 bp 0x7ffff8c742f0 sp 0x7ffff8c742e8 # READ of size 4 at 0x5635c6cf967c thread T0 # #0 0x5635c6c88ba4 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 # #1 0x5635c6cc7b6f in pg_qsort ../../src/include/lib/sort_template.h:354 # #2 0x5635c6c8d2bb in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 # #3 0x5635c6c7d49f in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 # #4 0x7fd8f4f9cd09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) # #5 0x5635c6c32ec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) # # 0x5635c6cf967c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x5635c6cf95c0) 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: # 0x0ac738d97270: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 # 0x0ac738d97280: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 # 0x0ac738d97290: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 # 0x0ac738d972a0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 # 0x0ac738d972b0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 # =>0x0ac738d972c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] # 0x0ac738d972d0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 # 0x0ac738d972e0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 # 0x0ac738d972f0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 # 0x0ac738d97300: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 # 0x0ac738d97310: 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 # ==26016==ABORTING # ' # doesn't match '(?^:foreign-data wrapper \"dummy\" has no handler\r?\npg_dump: detail: Query was: .*t0)' # Running: pg_dump -p 64082 -a --include-foreign-data=s2 postgres ================================================================= ==26053==ERROR: AddressSanitizer: global-buffer-overflow on address 0x55f58041867c at pc 0x55f5803a7ba5 bp 0x7ffc12b2e460 sp 0x7ffc12b2e458 READ of size 4 at 0x55f58041867c thread T0 #0 0x55f5803a7ba4 in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 #1 0x55f5803e6b6f in pg_qsort ../../src/include/lib/sort_template.h:354 #2 0x55f5803ac2bb in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #3 0x55f58039c49f in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #4 0x7fe0b739ad09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x55f580351ec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x55f58041867c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x55f5804185c0) 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: 0x0abf3007b070: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0abf3007b080: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0abf3007b090: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0abf3007b0a0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0abf3007b0b0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0abf3007b0c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0abf3007b0d0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0abf3007b0e0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0abf3007b0f0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0abf3007b100: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0abf3007b110: 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 ==26053==ABORTING [10:39:57.418](0.297s) not ok 3 - dump foreign server with no tables [10:39:57.418](0.000s) [10:39:57.418](0.000s) # Failed test 'dump foreign server with no tables' # at t/003_pg_dump_with_server.pl line 36. [10:39:57.418](0.000s) 1..3 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_003_pg_dump_with_server_main_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" [10:39:57.535](0.116s) # Looks like you failed 2 tests of 3.