# Checking port 49492 # Found port 49492 Name: main Data directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup Archive directory: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/archives Connection string: port=49492 host=/tmp/nHD8iVxdtD Log file: /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/log/004_pg_dump_parallel_main.log [20:23:42.285](0.063s) # 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_004_pg_dump_parallel_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_004_pg_dump_parallel_main_data/pgdata ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/pgdata -l /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/log/004_pg_dump_parallel_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 28500 # Running: createdb regression_src # Running: createdb regression_dest1 # Running: createdb regression_dest2 # Running: pg_dump -Fd --no-sync -j2 -f /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump1 port=49492 host=/tmp/nHD8iVxdtD dbname='regression_src' ================================================================= ==28611==ERROR: AddressSanitizer: global-buffer-overflow on address 0x55bbc3d5467c at pc 0x55bbc3ce3c5b bp 0x7fff6655f5a0 sp 0x7fff6655f598 READ of size 4 at 0x55bbc3d5467c thread T0 #0 0x55bbc3ce3c5a in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 #1 0x55bbc3d22b8c in pg_qsort ../../src/include/lib/sort_template.h:364 #2 0x55bbc3ce8371 in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #3 0x55bbc3cd8555 in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #4 0x7fdc765c4d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x55bbc3c8dec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x55bbc3d5467c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x55bbc3d545c0) 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: 0x0ab7f87a2870: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0ab7f87a2880: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0ab7f87a2890: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0ab7f87a28a0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0ab7f87a28b0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0ab7f87a28c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0ab7f87a28d0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0ab7f87a28e0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0ab7f87a28f0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0ab7f87a2900: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0ab7f87a2910: 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 ==28611==ABORTING [20:23:43.619](1.335s) not ok 1 - parallel dump [20:23:43.619](0.000s) [20:23:43.619](0.000s) # Failed test 'parallel dump' # at t/004_pg_dump_parallel.pl line 49. # Running: pg_restore -v -d port=49492 host=/tmp/nHD8iVxdtD dbname='regression_dest1' -j3 /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump1 pg_restore: error: directory "/tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump1" does not appear to be a valid archive ("toc.dat" does not exist) [20:23:43.640](0.021s) not ok 2 - parallel restore [20:23:43.641](0.000s) [20:23:43.641](0.000s) # Failed test 'parallel restore' # at t/004_pg_dump_parallel.pl line 56. # Running: pg_dump -Fd --no-sync -j2 -f /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump2 --inserts port=49492 host=/tmp/nHD8iVxdtD dbname='regression_src' ================================================================= ==28647==ERROR: AddressSanitizer: global-buffer-overflow on address 0x56455844867c at pc 0x5645583d7c5b bp 0x7ffc525b2aa0 sp 0x7ffc525b2a98 READ of size 4 at 0x56455844867c thread T0 #0 0x5645583d7c5a in DOTypeNameCompare /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:204 #1 0x564558416b8c in pg_qsort ../../src/include/lib/sort_template.h:364 #2 0x5645583dc371 in sortDumpableObjectsByTypeName /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump_sort.c:192 #3 0x5645583cc555 in main /tmp/cirrus-ci-build/src/bin/pg_dump/pg_dump.c:993 #4 0x7f9589885d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #5 0x564558381ec9 in _start (/tmp/cirrus-ci-build/tmp_install/usr/local/pgsql/bin/pg_dump+0x3aec9) 0x56455844867c is located 0 bytes to the right of global variable 'dbObjectTypePriority' defined in 'pg_dump_sort.c:105:18' (0x5645584485c0) 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: 0x0ac92b081070: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 0x0ac92b081080: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 0x0ac92b081090: 00 00 00 00 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 0x0ac92b0810a0: 03 f9 f9 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 0x0ac92b0810b0: 00 00 06 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 =>0x0ac92b0810c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04] 0x0ac92b0810d0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x0ac92b0810e0: 00 00 00 00 00 00 00 04 f9 f9 f9 f9 00 00 00 00 0x0ac92b0810f0: 07 f9 f9 f9 f9 f9 f9 f9 07 f9 f9 f9 f9 f9 f9 f9 0x0ac92b081100: 00 00 00 00 00 05 f9 f9 f9 f9 f9 f9 00 00 00 06 0x0ac92b081110: 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 ==28647==ABORTING [20:23:44.016](0.376s) not ok 3 - parallel dump as inserts [20:23:44.016](0.000s) [20:23:44.016](0.000s) # Failed test 'parallel dump as inserts' # at t/004_pg_dump_parallel.pl line 64. # Running: pg_restore -v -d port=49492 host=/tmp/nHD8iVxdtD dbname='regression_dest2' -j3 /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump2 pg_restore: error: directory "/tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/backup/dump2" does not appear to be a valid archive ("toc.dat" does not exist) [20:23:44.029](0.012s) not ok 4 - parallel restore as inserts [20:23:44.029](0.000s) [20:23:44.029](0.000s) # Failed test 'parallel restore as inserts' # at t/004_pg_dump_parallel.pl line 73. [20:23:44.029](0.000s) 1..4 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/src/bin/pg_dump/tmp_check/t_004_pg_dump_parallel_main_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" [20:23:44.134](0.104s) # Looks like you failed 4 tests of 4.