[10:46:43.166] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [10:46:43.516] dumping /tmp/cores/cp.11621.core for /bin/cp [10:46:43.567] [New LWP 101665] [10:46:43.567] Core was generated by `cp /tmp/cirrus-ci-build/build/testrun/recovery/020_archive_status/data/t_020_arc'. [10:46:43.567] Program terminated with signal SIGQUIT, Quit. [10:46:43.567] Sent by kill() from pid 10646 and user 1003. [10:46:43.567] #0 0x0000442ad2ee9ff0 in ?? () [10:46:43.568] [10:46:43.568] Thread 1 (LWP 101665): [10:46:43.568] #0 0x0000442ad2ee9ff0 in ?? () [10:46:43.568] No symbol table info available. [10:46:43.568] #1 0x0000000000000003 in ?? () [10:46:43.568] No symbol table info available. [10:46:43.568] #2 0x00001dfa070e9148 in ?? () [10:46:43.568] No symbol table info available. [10:46:43.568] #3 0x00001dfa070e914b in ?? () [10:46:43.568] No symbol table info available. [10:46:43.568] #4 0x00001dfa070e91d3 in ?? () [10:46:43.568] No symbol table info available. [10:46:43.568] #5 0x0000000000000000 in ?? () [10:46:43.568] No symbol table info available. [10:46:43.574] [10:46:43.574] [10:46:43.574] [10:46:43.644] dumping /tmp/cores/postgres.12093.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [10:46:43.786] [New LWP 101649] [10:46:43.884] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [10:46:43.884] Program terminated with signal SIGQUIT, Quit. [10:46:43.884] Sent by thr_kill() from pid 12093 and user 1003. [10:46:43.884] #0 0x000000082b5758fa in _sigprocmask () from /lib/libc.so.7 [10:46:43.936] [10:46:43.936] Thread 1 (LWP 101649): [10:46:43.936] #0 0x000000082b5758fa in _sigprocmask () from /lib/libc.so.7 [10:46:43.936] No symbol table info available. [10:46:43.936] #1 0x000000082b5aef91 in _system () from /lib/libc.so.7 [10:46:43.936] No symbol table info available. [10:46:43.936] #2 0x000000082a17b9d3 in ?? () from /lib/libthr.so.3 [10:46:43.936] No symbol table info available. [10:46:43.936] #3 0x0000000000665fa5 in RestoreArchivedFile (path=path@entry=0x82119e1d0 "P\342\031!\b", xlogfname=xlogfname@entry=0x82119e620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [10:46:43.936] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\3404\b\000\000\000\210\346\031!\b\000\000\0009\000\000\000\000\000\000\000\000\000\344\000\000\000\000\000\000\020\n\000\000\000\000\000\200\315\3404\b\000\000\000h\243\0326\b\000\000\000\210\242\0326\b\000\000\000\200\242\0326\b\000\000\000\200\235\0326\b\000\000\000\000\340\344\000\000\000\000\000\000\20095\b\000\000\000\000\020\n\000\000\000\000\000 \335\031!\b\000\000\000 \335\031!\b", '\000' , "\350\336\031!\b\000\000\000h\335\031!\b\000\000\000\b\000\000\0000\000\000\000"... [10:46:43.936] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\334\031!\b\000\000\000`\332\031!\b", '\000' , "\240vb+\b", '\000' , "\365\213\255\000\000\000\000\000\300\331\031!\b\000\000\0000\000\000\000\000\000\000\000\210\340\031!\b", '\000' , "p\331\031!\b\000\000\000C\217\255", '\000' , "\365\213\255\000\000\000\000\000\210\340\031!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [10:46:43.936] stat_buf = {st_dev = 34915083728, st_ino = 34915083808, st_nlink = 12188224, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 555344320, st_padding1 = 8, st_rdev = 35086337511, st_atim = {tv_sec = 35251504383, tv_nsec = 12346304}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34915083776}, st_size = 34915082800, st_blocks = 11424387, st_blksize = 706150467, st_flags = 8, st_gen = 34928472712, st_spare = {35085648440, 34928452616, 34915082728, 34915083176, 34915082704, 24549047581858, 2595027, 134090501, 206158430240, 34915082704}} [10:46:43.936] restartRedoPtr = 33554472 [10:46:43.936] restartTli = 1 [10:46:43.936] restartSegNo = [10:46:43.936] xlogRestoreCmd = 0x835361478 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000002", '0' , "4\" \"pg_wal/RECOVERYXLOG\"" [10:46:43.936] rc = [10:46:43.936] #4 0x000000000067168e in XLogFileRead (segno=segno@entry=4, emode=, tli=tli@entry=2, source=source@entry=XLOG_FROM_ARCHIVE, notfoundOk=true) at ../src/backend/access/transam/xlogrecovery.c:4222 [10:46:43.936] xlogfname = "00000002", '0' , "4\000\346\031!\b\000\000\000p\346\031!\b\000\000\000\365\tW+\b\000\000\000\317.\000\000\000\000\000\000b\000\000\000\000\000\000" [10:46:43.936] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240vb+\b\000\000\000@\346\031!\b\000\000\000\257\nW+\b\000\000\000\223\334\332f\000\000\000\000\307\351\352e\353\261\306\177" [10:46:43.936] path = "P\342\031!\b\000\000\000s\272B\305S\026\000\000\030\000\000\0000", '\000' , "8@\346!\b\000\000\000\001\000\000\000\000\000\000\000\b\344\345!\b\000\000\0008\202D+\b\000\000\000\250\344\031!\b\000\000\000\360\343\031!\b\000\000\000`\342\031!\b", '\000' , "\bp\345!\b\000\000\000 \000\000\000\000\000\000\000\340\343\031!\b\000\000\000\347ZB\305S\026\000\000\bp\345!\b\000\000\000\bt\345!\b\000\000\000\bx\345!\b\000\000\000\b|\345!\b\000\000\000\b\260\345!\b\000\000\000\b\264\345!\b\000\000\000\b\270\345!\b\000\000\000"... [10:46:43.936] fd = [10:46:43.936] #5 0x000000000066d36c in XLogFileReadAnyTLI (segno=4, emode=13, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4350 [10:46:43.936] hent = [10:46:43.936] tli = 2 [10:46:43.936] cell__state = {l = 0x835361a98, i = 0} [10:46:43.936] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\0015\224\027\234\237\000\234Ґ\340\0364\b\000\000\0009\000\000\000\000\000\000\000\000\000\n\000\000\000\000\000@\000\b\000\000\000\000\000\240vb+\b\000\000\000\220\347\031!\b\000\000\000\353\f[+\b", '\000' , "\002", '\000' , "\001\000\000\000\001\306\3358\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "5\224\027\234\237\000\234\322\000 '5\b\000\000\000@\000\b\000\000\000\000\000\326"... [10:46:43.936] tles = 0x835361a98 [10:46:43.936] cell = [10:46:43.936] fd = [10:46:43.936] cell__state = [10:46:43.936] hent = [10:46:43.936] tli = [10:46:43.936] beginseg = [10:46:43.936] __error = [10:46:43.936] __error = [10:46:43.936] #6 WaitForWALToBecomeAvailable (RecPtr=67210800, tliRecPtr=67210776, replayTLI=2, replayLSN=67210776, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3783 [10:46:43.936] startWalReceiver = [10:46:43.936] streaming_reply_sent = true [10:46:43.936] now = [10:46:43.936] startWalReceiver = [10:46:43.936] oldSource = [10:46:43.936] wait_time = [10:46:43.936] __error = [10:46:43.936] __error = [10:46:43.936] __error = [10:46:43.936] havedata = [10:46:43.936] ptr = [10:46:43.936] tli = [10:46:43.936] __error = [10:46:43.936] latestChunkStart = [10:46:43.936] __error = [10:46:43.936] #7 XLogPageRead (xlogreader=0x835273130, targetPagePtr=67207168, reqLen=3632, targetRecPtr=67210776, readBuf=0x83535db38 "\026\321\005") at ../src/backend/access/transam/xlogrecovery.c:3364 [10:46:43.936] private = 0x835273110 [10:46:43.936] emode = 15 [10:46:43.936] targetSegNo = 4 [10:46:43.936] targetPageOff = 98304 [10:46:43.936] r = [10:46:43.936] #8 0x0000000000674372 in ReadPageInternal (state=state@entry=0x835273130, pageptr=67207168, reqLen=3632) at ../src/backend/access/transam/xlogreader.c:1060 [10:46:43.936] targetSegNo = 4 [10:46:43.936] targetPageOff = 98304 [10:46:43.936] readLen = [10:46:43.936] hdr = [10:46:43.936] err = [10:46:43.936] #9 0x00000000006731e2 in XLogDecodeNextRecord (state=0x835273130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [10:46:43.936] errormsg = 0x2e300000300 [10:46:43.936] randAccess = [10:46:43.936] decoded = 0x0 [10:46:43.936] RecPtr = 67210776 [10:46:43.936] assembled = false [10:46:43.936] targetPagePtr = 34915080128 [10:46:43.936] readOff = [10:46:43.936] record = [10:46:43.936] gotheader = [10:46:43.936] targetRecOff = 3608 [10:46:43.936] pageHeaderSize = [10:46:43.936] len = [10:46:43.936] total_len = [10:46:43.936] buffer = [10:46:43.936] gotlen = [10:46:43.936] pageHeader = [10:46:43.936] contdata = [10:46:43.936] save_copy = [10:46:43.936] #10 XLogReadAhead (state=0x835273130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [10:46:43.936] result = [10:46:43.936] #11 0x000000000066a8c8 in XLogPrefetcherNextBlock (pgsr_private=35252468552, lsn=0x83538e808) at ../src/backend/access/transam/xlogprefetcher.c:490 [10:46:43.936] nonblocking = false [10:46:43.936] record = 0x0 [10:46:43.936] prefetcher = 0x83535fb48 [10:46:43.936] reader = 0x835273130 [10:46:43.936] replaying_lsn = 67210368 [10:46:43.936] #12 0x000000000066a532 in lrq_prefetch (lrq=0x83538e568) at ../src/backend/access/transam/xlogprefetcher.c:252 [10:46:43.936] No locals. [10:46:43.936] #13 lrq_complete_lsn (lrq=0x83538e568, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [10:46:43.936] No locals. [10:46:43.936] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x83535fb48, errmsg=errmsg@entry=0x8211a2d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [10:46:43.936] replayed_up_to = [10:46:43.936] record = [10:46:43.936] #15 0x000000000066e05a in ReadRecord (xlogprefetcher=0x83535fb48, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [10:46:43.936] errormsg = 0x0 [10:46:43.936] xlogreader = 0x835273130 [10:46:43.936] private = [10:46:43.936] record = [10:46:43.936] #16 0x000000000066e939 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [10:46:43.936] ru0 = {tv = {tv_sec = 1725619346, tv_usec = 912839}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1269}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 146, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 12, ru_nivcsw = 2}} [10:46:43.936] xtime = [10:46:43.936] reachedRecoveryTarget = false [10:46:43.936] replayTLI = 2 [10:46:43.936] record = [10:46:43.936] #17 0x000000000065f2f3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [10:46:43.936] wasShutdown = false [10:46:43.936] haveTblspcMap = false [10:46:43.936] haveBackupLabel = true [10:46:43.936] promoted = false [10:46:43.936] didCrash = [10:46:43.936] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = 1, oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 739} [10:46:43.936] oldestActiveXID = [10:46:43.936] performedWalRecovery = [10:46:43.936] endOfRecoveryInfo = [10:46:43.936] EndOfLog = [10:46:43.936] EndOfLogTLI = [10:46:43.936] abortedRecPtr = [10:46:43.936] missingContrecPtr = [10:46:43.936] newTLI = [10:46:43.936] Insert = [10:46:43.936] #18 0x000000000088b7ab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [10:46:43.936] No locals. [10:46:43.936] #19 0x0000000000885517 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, startup_data=startup_data@entry=0x0, startup_data_len=startup_data_len@entry=0, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:274 [10:46:43.936] pid = [10:46:43.936] #20 0x0000000000887a74 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [10:46:43.936] pid = [10:46:43.936] __error = [10:46:43.936] #21 0x00000000008876b5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8211a76d0) at ../src/backend/postmaster/postmaster.c:1338 [10:46:43.936] userDoption = [10:46:43.936] listen_addr_saved = [10:46:43.936] output_config_variable = [10:46:43.936] opt = [10:46:43.936] status = [10:46:43.936] #22 0x00000000007c328c in main (argc=4, argv=0x8211a76d0) at ../src/backend/main/main.c:197 [10:46:43.936] do_check_root =