[00:38:52.035] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [00:38:52.394] dumping /tmp/cores/postgres.12487.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:38:52.600] [New LWP 100104] [00:38:52.704] Core was generated by `postgres: standby: startup waiting for 000000010000000000000005'. [00:38:52.704] Program terminated with signal SIGQUIT, Quit. [00:38:52.704] Sent by thr_kill() from pid 12487 and user 1003. [00:38:52.704] #0 0x000000082c7258fa in _sigprocmask () from /lib/libc.so.7 [00:38:52.771] [00:38:52.771] Thread 1 (LWP 100104): [00:38:52.771] #0 0x000000082c7258fa in _sigprocmask () from /lib/libc.so.7 [00:38:52.771] No symbol table info available. [00:38:52.771] #1 0x000000082c75ef91 in _system () from /lib/libc.so.7 [00:38:52.771] No symbol table info available. [00:38:52.771] #2 0x000000082a17a9d3 in ?? () from /lib/libthr.so.3 [00:38:52.771] No symbol table info available. [00:38:52.771] #3 0x000000000066f545 in RestoreArchivedFile (path=path@entry=0x821a971d0 "pg_wal/00000001", '0' , "5", xlogfname=xlogfname@entry=0x821a975d0 "00000002.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [00:38:52.771] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "0000001", '0' , "\0004\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̀4\b\000\000\000P\244\2325\b\000\000\000x\243\2325\b\000\000\000p\243\2325\b\000\000\000p\236\2325\b\000\000\000\000\340\344\000\000\000\000\000\000`;5\b\000\000\000\002\021\n\000\000\000\000\000 m\251!\b\000\000\000 m\251!\b", '\000' , "\350n\251!\b\000\000\000hm\251!\b\000\000\000\b\000\000\0000\000\000\000\320"... [00:38:52.771] lastRestartPointFname = '0' , "\000\372f\000\000\000\000\000pg_wal/00000001", '0' , "2", '\000' , "U\344\257\000\000\000\000\000\300i\251!\b\000\000\0000\000\000\000\000\000\000\000\210p\251!\b", '\000' , "pi\251!\b\000\000\000\243\347\257", '\000' , "U\344\257\000\000\000\000\000\210p\251!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [00:38:52.771] stat_buf = {st_dev = 34924492464, st_ino = 1, st_nlink = 34924491200, st_mode = 57059, st_padding0 = 175, st_uid = 0, st_gid = 48, st_padding1 = 0, st_rdev = 1, st_atim = {tv_sec = 35251623167, tv_nsec = 2}, st_mtim = {tv_sec = 35304219596, tv_nsec = 29400}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34924492288}, st_size = 34924491312, st_blocks = 11586115, st_blksize = 706150467, st_flags = 8, st_gen = 34974080123, st_spare = {3362142, 35251572736, 4294967292, 9259542123273814144, 34924491056, 0, 11, 35065909744, 206158430240, 34924491216}} [00:38:52.771] restartRedoPtr = 34924490944 [00:38:52.771] restartTli = 8 [00:38:52.771] restartSegNo = [00:38:52.771] xlogRestoreCmd = 0x835399c38 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/020_archive_status/data/t_020_archive_status_primary_data/archives/00000002.history\" \"pg_wal/RECOVERYHISTORY\"" [00:38:52.771] rc = [00:38:52.771] #4 0x0000000000656598 in existsTimeLineHistory (probeTLI=probeTLI@entry=2) at ../src/backend/access/transam/timeline.c:235 [00:38:52.771] path = "pg_wal/00000001", '0' , "5\000 q\251!\b\000\000\000\231j\255\000\000\000\000\000\360\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\000\020)5\b", '\000' , "\240\350\300\000\000\000\000\000\240\n\301\000\000\000\000\000@v\251!\b\000\000\000\351\017\253\000\000\000\000\000\bp\203\"\b\000\000\000 \000\000\000\000\000\000\000\340s\251!\b\000\000\000\347\272\330\327\375\031\000\000\bp\203\"\b\000\000\000\bt\203\"\b\000\000\000\bx\203\"\b\000\000\000\b|\203\"\b\000\000\000\b\260\203\"\b\000\000\000\b\264\203\"\b\000\000\000\b\270\203\"\b\000\000\000"... [00:38:52.771] histfname = "00000002.history\000001", '0' , "5\000\000\000\000\240v},\b\000\000\000@v\251!\b\000\000\000\257\nr,\b\000\000" [00:38:52.771] fd = [00:38:52.771] #5 0x0000000000656658 in findNewestTimeLine (startTLI=startTLI@entry=1) at ../src/backend/access/transam/timeline.c:277 [00:38:52.771] newestTLI = 1 [00:38:52.771] probeTLI = 2 [00:38:52.771] #6 0x000000000067a9db in rescanLatestTimeLine (replayTLI=replayTLI@entry=1, replayLSN=replayLSN@entry=83886080) at ../src/backend/access/transam/xlogrecovery.c:4129 [00:38:52.771] oldtarget = 1 [00:38:52.771] currentTle = 0x0 [00:38:52.771] newtarget = [00:38:52.771] newExpectedTLEs = [00:38:52.771] found = [00:38:52.771] cell = [00:38:52.771] #7 0x0000000000676bc3 in WaitForWALToBecomeAvailable (RecPtr=83886104, tliRecPtr=83886080, replayTLI=1, replayLSN=83886080, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3691 [00:38:52.771] startWalReceiver = false [00:38:52.771] streaming_reply_sent = false [00:38:52.771] now = [00:38:52.771] startWalReceiver = [00:38:52.771] oldSource = [00:38:52.771] wait_time = [00:38:52.771] __error = [00:38:52.771] __error = [00:38:52.771] __error = [00:38:52.771] havedata = [00:38:52.771] ptr = [00:38:52.771] tli = [00:38:52.771] __error = [00:38:52.771] latestChunkStart = [00:38:52.771] __error = [00:38:52.771] #8 XLogPageRead (xlogreader=0x835290130, targetPagePtr=83886080, reqLen=24, targetRecPtr=83886080, readBuf=0x8353962f8 "\030\321\002") at ../src/backend/access/transam/xlogrecovery.c:3357 [00:38:52.771] private = 0x835290110 [00:38:52.771] emode = 15 [00:38:52.771] targetSegNo = 5 [00:38:52.771] targetPageOff = 0 [00:38:52.771] io_start = [00:38:52.771] r = [00:38:52.771] #9 0x000000000067d922 in ReadPageInternal (state=state@entry=0x835290130, pageptr=83886080, reqLen=24) at ../src/backend/access/transam/xlogreader.c:1061 [00:38:52.771] targetSegNo = 5 [00:38:52.771] targetPageOff = 0 [00:38:52.771] readLen = [00:38:52.771] hdr = [00:38:52.771] err = [00:38:52.771] #10 0x000000000067c792 in XLogDecodeNextRecord (state=0x835290130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [00:38:52.771] errormsg = 0xc0f308 "" [00:38:52.771] randAccess = [00:38:52.771] decoded = 0x0 [00:38:52.771] RecPtr = 83886080 [00:38:52.771] assembled = false [00:38:52.771] targetPagePtr = 34924488640 [00:38:52.771] readOff = [00:38:52.771] record = [00:38:52.771] gotheader = [00:38:52.771] targetRecOff = 0 [00:38:52.771] pageHeaderSize = [00:38:52.771] len = [00:38:52.771] total_len = [00:38:52.771] buffer = [00:38:52.771] gotlen = [00:38:52.771] pageHeader = [00:38:52.771] contdata = [00:38:52.771] save_copy = [00:38:52.771] #11 XLogReadAhead (state=0x835290130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [00:38:52.771] result = [00:38:52.771] #12 0x0000000000673e68 in XLogPrefetcherNextBlock (pgsr_private=35252699912, lsn=0x8353abb28) at ../src/backend/access/transam/xlogprefetcher.c:490 [00:38:52.771] nonblocking = false [00:38:52.771] record = 0x0 [00:38:52.771] prefetcher = 0x835398308 [00:38:52.771] reader = 0x835290130 [00:38:52.771] replaying_lsn = 67109152 [00:38:52.771] #13 0x0000000000673ad2 in lrq_prefetch (lrq=0x8353aba28) at ../src/backend/access/transam/xlogprefetcher.c:252 [00:38:52.771] No locals. [00:38:52.771] #14 lrq_complete_lsn (lrq=0x8353aba28, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [00:38:52.771] No locals. [00:38:52.771] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835398308, errmsg=errmsg@entry=0x821a9bd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [00:38:52.771] replayed_up_to = [00:38:52.771] record = [00:38:52.771] #16 0x000000000067767a in ReadRecord (xlogprefetcher=0x835398308, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=1) at ../src/backend/access/transam/xlogrecovery.c:3156 [00:38:52.771] errormsg = 0x0 [00:38:52.771] xlogreader = 0x835290130 [00:38:52.771] private = [00:38:52.771] record = [00:38:52.771] #17 0x0000000000677f59 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [00:38:52.771] ru0 = {tv = {tv_sec = 1740702518, tv_usec = 251035}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1272}, ru_maxrss = 26052, ru_ixrss = 6124, ru_idrss = 368, ru_isrss = 128, ru_minflt = 155, 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}} [00:38:52.771] xtime = [00:38:52.771] reachedRecoveryTarget = false [00:38:52.771] replayTLI = 1 [00:38:52.771] record = [00:38:52.771] #18 0x00000000006688b3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [00:38:52.771] wasShutdown = false [00:38:52.771] haveTblspcMap = false [00:38:52.772] haveBackupLabel = false [00:38:52.772] promoted = false [00:38:52.772] didCrash = [00:38:52.772] 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 = 748} [00:38:52.772] oldestActiveXID = [00:38:52.772] performedWalRecovery = [00:38:52.772] endOfRecoveryInfo = [00:38:52.772] EndOfLog = [00:38:52.772] EndOfLogTLI = [00:38:52.772] abortedRecPtr = [00:38:52.772] missingContrecPtr = [00:38:52.772] newTLI = [00:38:52.772] Insert = [00:38:52.772] #19 0x00000000008a5f0b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [00:38:52.772] No locals. [00:38:52.772] #20 0x00000000008a02a5 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=57, 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 [00:38:52.772] pid = [00:38:52.772] #21 0x00000000008a2ea7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [00:38:52.772] pmchild = 0x0 [00:38:52.772] pid = [00:38:52.772] #22 0x00000000008a2a42 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821aa0b48) at ../src/backend/postmaster/postmaster.c:1378 [00:38:52.772] userDoption = [00:38:52.772] listen_addr_saved = false [00:38:52.772] output_config_variable = [00:38:52.772] opt = [00:38:52.772] status = [00:38:52.772] #23 0x00000000007d7040 in main (argc=4, argv=0x821aa0b48) at ../src/backend/main/main.c:230 [00:38:52.772] do_check_root = [00:38:52.772] dispatch_option = DISPATCH_POSTMASTER