[11:07:54.672] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [11:07:55.032] dumping /tmp/cores/postgres.11786.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:07:55.165] [New LWP 101810] [11:07:55.247] Core was generated by `postgres: standby2: startup waiting for 000000010000000000000003'. [11:07:55.247] Program terminated with signal SIGQUIT, Quit. [11:07:55.247] Sent by thr_kill() from pid 11786 and user 1003. [11:07:55.247] #0 0x000000082cf8b8fa in _sigprocmask () from /lib/libc.so.7 [11:07:55.298] [11:07:55.298] Thread 1 (LWP 101810): [11:07:55.298] #0 0x000000082cf8b8fa in _sigprocmask () from /lib/libc.so.7 [11:07:55.298] No symbol table info available. [11:07:55.298] #1 0x000000082cfc4f91 in _system () from /lib/libc.so.7 [11:07:55.298] No symbol table info available. [11:07:55.298] #2 0x000000082c4e59d3 in ?? () from /lib/libthr.so.3 [11:07:55.298] No symbol table info available. [11:07:55.298] #3 0x000000000066a5e5 in RestoreArchivedFile (path=path@entry=0x821a981d0 "pg_wal/00000001", '0' , "3", xlogfname=xlogfname@entry=0x821a985d0 "00000002.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [11:07:55.298] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "0000001", '0' , "\0002\0009\000\000\000\000\000\000\000\000\000\344\000\000\000\000\000\000\020\n\000\000\000\000\000\000\315@6\b\000\000\000\320L{7\b\000\000\000\350K{7\b\000\000\000\340K{7\b\000\000\000\340F{7\b\000\000\000\000\340\344\000\000\000\000\000\000@\2146\b\000\000\000\304\035\n\000\000\000\000\000 }\251!\b\000\000\000 }\251!\b", '\000' , "\350~\251!\b\000\000\000h}\251!\b\000\000\000\b\000\000\0000\000\000\000"... [11:07:55.298] lastRestartPointFname = '0' , "\000\252f\000\000\000\000\000pg_wal/00000001", '0' , "2", '\000' ... [11:07:55.298] stat_buf = {st_dev = 34924496560, st_ino = 1, st_nlink = 34924495296, st_mode = 28051, st_padding0 = 174, st_uid = 0, st_gid = 48, st_padding1 = 0, st_rdev = 1, st_atim = {tv_sec = 11306, tv_nsec = 2}, st_mtim = {tv_sec = 35331722884, tv_nsec = 28560}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -7768827333506957884, tv_nsec = 34924495280}, st_size = 6, st_blocks = 34924496416, st_blksize = 78, st_flags = 0, st_gen = 35114964640, st_spare = {34924495232, 35114222974, 2, 35114091638, 2163801540, 10677916740202593732, 34924495312, 12333984, 206158430240, 34924495312}} [11:07:55.298] restartRedoPtr = 34924495040 [11:07:55.298] restartTli = 8 [11:07:55.298] restartSegNo = [11:07:55.298] xlogRestoreCmd = 0x8368a80b8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/020_archive_status/data/t_020_archive_status_primary_data/archives/00000002.history\" \"pg_wal/RECOVERYHISTORY\"" [11:07:55.298] rc = [11:07:55.298] #4 0x0000000000651668 in existsTimeLineHistory (probeTLI=probeTLI@entry=2) at ../src/backend/access/transam/timeline.c:235 [11:07:55.298] path = "pg_wal/00000001", '0' , "3\000\b\204\b\"\b\000\000\000\310\004", '\000' , "8\035\274\000\000\000\000\000\260\250\370,\b\000\000\000xM\347,\b\000\000\000\304\375\370\200\263\224/\224\220P\3255\b", '\000' , "\330X@6\b\000\000\000\200\t@6\b", '\000' , "0\206\251!\b\000\000\000H]\377,\b\000\000\000\000\020\000\000\000\000\000\000@", '\000' , "9\000\000\000\000\000\000\000߆\251!\b\000\000\000\207\206\251!\b", '\000' ... [11:07:55.298] histfname = "00000002.history\000001", '0' , "3\000\000\000\000\240\326\003-\b\000\000\000@\206\251!\b\000\000\000\257j\370,\b\000\000" [11:07:55.298] fd = [11:07:55.298] #5 0x0000000000651728 in findNewestTimeLine (startTLI=startTLI@entry=1) at ../src/backend/access/transam/timeline.c:277 [11:07:55.298] newestTLI = 1 [11:07:55.298] probeTLI = 2 [11:07:55.298] #6 0x00000000006759fb in rescanLatestTimeLine (replayTLI=replayTLI@entry=1, replayLSN=replayLSN@entry=50331648) at ../src/backend/access/transam/xlogrecovery.c:4114 [11:07:55.298] oldtarget = 1 [11:07:55.298] currentTle = 0x0 [11:07:55.298] newtarget = [11:07:55.298] newExpectedTLEs = [11:07:55.298] found = [11:07:55.298] cell = [11:07:55.298] #7 0x0000000000671c53 in WaitForWALToBecomeAvailable (RecPtr=50331672, tliRecPtr=50331648, replayTLI=1, replayLSN=50331648, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3676 [11:07:55.298] startWalReceiver = false [11:07:55.298] streaming_reply_sent = false [11:07:55.298] now = [11:07:55.298] startWalReceiver = [11:07:55.298] oldSource = [11:07:55.298] wait_time = [11:07:55.298] __error = [11:07:55.298] __error = [11:07:55.298] __error = [11:07:55.298] havedata = [11:07:55.298] ptr = [11:07:55.298] tli = [11:07:55.298] __error = [11:07:55.298] latestChunkStart = [11:07:55.298] __error = [11:07:55.298] #8 XLogPageRead (xlogreader=0x8367a0130, targetPagePtr=50331648, reqLen=24, targetRecPtr=50331648, readBuf=0x8368a4778 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [11:07:55.298] private = 0x8367a0110 [11:07:55.298] emode = 15 [11:07:55.298] targetSegNo = 3 [11:07:55.298] targetPageOff = 0 [11:07:55.298] r = [11:07:55.298] #9 0x0000000000678942 in ReadPageInternal (state=state@entry=0x8367a0130, pageptr=50331648, reqLen=24) at ../src/backend/access/transam/xlogreader.c:1060 [11:07:55.298] targetSegNo = 3 [11:07:55.298] targetPageOff = 0 [11:07:55.298] readLen = [11:07:55.298] hdr = [11:07:55.298] err = [11:07:55.298] #10 0x00000000006777b2 in XLogDecodeNextRecord (state=0x8367a0130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [11:07:55.298] errormsg = 0xbd4218 "" [11:07:55.298] randAccess = [11:07:55.298] decoded = 0x0 [11:07:55.298] RecPtr = 50331648 [11:07:55.298] assembled = false [11:07:55.298] targetPagePtr = 34924492736 [11:07:55.298] readOff = [11:07:55.298] record = [11:07:55.298] gotheader = [11:07:55.298] targetRecOff = 0 [11:07:55.298] pageHeaderSize = [11:07:55.298] len = [11:07:55.298] total_len = [11:07:55.298] buffer = [11:07:55.298] gotlen = [11:07:55.298] pageHeader = [11:07:55.298] contdata = [11:07:55.298] save_copy = [11:07:55.298] #11 XLogReadAhead (state=0x8367a0130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [11:07:55.298] result = [11:07:55.298] #12 0x000000000066ef08 in XLogPrefetcherNextBlock (pgsr_private=35274778504, lsn=0x8368ba1e8) at ../src/backend/access/transam/xlogprefetcher.c:490 [11:07:55.298] nonblocking = false [11:07:55.298] record = 0x0 [11:07:55.298] prefetcher = 0x8368a6788 [11:07:55.298] reader = 0x8367a0130 [11:07:55.298] replaying_lsn = 33563920 [11:07:55.298] #13 0x000000000066eb72 in lrq_prefetch (lrq=0x8368ba0e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [11:07:55.298] No locals. [11:07:55.298] #14 lrq_complete_lsn (lrq=0x8368ba0e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [11:07:55.298] No locals. [11:07:55.298] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8368a6788, errmsg=errmsg@entry=0x821a9cd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [11:07:55.298] replayed_up_to = [11:07:55.298] record = [11:07:55.298] #16 0x000000000067269a in ReadRecord (xlogprefetcher=0x8368a6788, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=1) at ../src/backend/access/transam/xlogrecovery.c:3153 [11:07:55.298] errormsg = 0x0 [11:07:55.298] xlogreader = 0x8367a0130 [11:07:55.298] private = [11:07:55.298] record = [11:07:55.298] #17 0x0000000000672f79 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [11:07:55.298] ru0 = {tv = {tv_sec = 1731495809, tv_usec = 90199}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 942}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 149, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 3, ru_nivcsw = 1}} [11:07:55.298] xtime = [11:07:55.298] reachedRecoveryTarget = false [11:07:55.298] replayTLI = 1 [11:07:55.298] record = [11:07:55.298] #18 0x0000000000663913 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [11:07:55.298] wasShutdown = false [11:07:55.298] haveTblspcMap = false [11:07:55.298] haveBackupLabel = false [11:07:55.298] promoted = false [11:07:55.298] didCrash = [11:07:55.298] 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 = 743} [11:07:55.298] oldestActiveXID = [11:07:55.298] performedWalRecovery = [11:07:55.298] endOfRecoveryInfo = [11:07:55.298] EndOfLog = [11:07:55.298] EndOfLogTLI = [11:07:55.298] abortedRecPtr = [11:07:55.298] missingContrecPtr = [11:07:55.298] newTLI = [11:07:55.298] Insert = [11:07:55.298] #19 0x0000000000895cfb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [11:07:55.298] No locals. [11:07:55.298] #20 0x000000000088fa57 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:266 [11:07:55.298] pid = [11:07:55.298] #21 0x0000000000891fc4 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3733 [11:07:55.298] pid = [11:07:55.298] __error = [11:07:55.298] #22 0x0000000000891c05 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821aa1b80) at ../src/backend/postmaster/postmaster.c:1340 [11:07:55.298] userDoption = [11:07:55.298] listen_addr_saved = [11:07:55.298] output_config_variable = [11:07:55.298] opt = [11:07:55.298] status = [11:07:55.298] #23 0x00000000007cb46c in main (argc=4, argv=0x821aa1b80) at ../src/backend/main/main.c:196 [11:07:55.298] do_check_root =