[15:54:43.297] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:54:43.644] dumping /tmp/cores/postgres.13003.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:54:43.779] [New LWP 101733] [15:54:43.861] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [15:54:43.861] Program terminated with signal SIGQUIT, Quit. [15:54:43.861] Sent by thr_kill() from pid 13003 and user 1003. [15:54:43.861] #0 0x000000082b39d8fa in _sigprocmask () from /lib/libc.so.7 [15:54:43.909] [15:54:43.909] Thread 1 (LWP 101733): [15:54:43.909] #0 0x000000082b39d8fa in _sigprocmask () from /lib/libc.so.7 [15:54:43.909] No symbol table info available. [15:54:43.909] #1 0x000000082b3d6f91 in _system () from /lib/libc.so.7 [15:54:43.909] No symbol table info available. [15:54:43.909] #2 0x000000082a07e9d3 in ?? () from /lib/libthr.so.3 [15:54:43.909] No symbol table info available. [15:54:43.909] #3 0x0000000000670a25 in RestoreArchivedFile (path=path@entry=0x82156f1d0 "P\362V!\b", xlogfname=xlogfname@entry=0x82156f620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [15:54:43.909] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2004\b\000\000\000\210\366V!\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̀4\b\000\000\000\340\210\3325\b\000\000\000\000\210\3325\b\000\000\000\370\207\3325\b\000\000\000\370\202\3325\b\000\000\000\000\340\344\000\000\000\000\000\000p\0045\b\000\000\000\000\020\n\000\000\000\000\000 \355V!\b\000\000\000 \355V!\b", '\000' , "\350\356V!\b\000\000\000h\355V!\b\000\000\000\b\000\000\0000\000\000\000\320"... [15:54:43.909] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\354V!\b\000\000\000`\352V!\b", '\000' , "\240\366D+\b", '\000' , "\245\t\257\000\000\000\000\000H\360V!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "\260\351V!\b\000\000\000\033\f\257", '\000' , "\245\t\257\000\000\000\000\000\210\360V!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [15:54:43.909] stat_buf = {st_dev = 34919085520, st_ino = 34919085600, st_nlink = 12283840, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 559346112, st_padding1 = 8, st_rdev = 35084404199, st_atim = {tv_sec = 35248026879, tv_nsec = 12448448}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34919085568}, st_size = 34919084592, st_blocks = 11521955, st_blksize = 705101891, st_flags = 8, st_gen = 34925113992, st_spare = {35083715128, 34925093896, 34919084520, 34919084968, 34919084496, 35871942122658, 2615107, 134090501, 206158430240, 34919084496}} [15:54:43.909] restartRedoPtr = 33554472 [15:54:43.909] restartTli = 1 [15:54:43.909] restartSegNo = [15:54:43.909] xlogRestoreCmd = 0x8350101f8 "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\"" [15:54:43.909] rc = [15:54:43.909] #4 0x000000000067c09e in XLogFileRead (segno=segno@entry=4, tli=tli@entry=2, source=source@entry=XLOG_FROM_ARCHIVE, notfoundOk=true) at ../src/backend/access/transam/xlogrecovery.c:4210 [15:54:43.909] xlogfname = "00000002", '0' , "4\000\366V!\b\000\000\000p\366V!\b\000\000\000\365\2119+\b\000\000\000@2\000\000\000\000\000\000\227\000\000\000\000\000\000" [15:54:43.909] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\366D+\b\000\000\000@\366V!\b\000\000\000\257\2129+\b\000\000\000\271\264Yg\000\000\000\000\327\v\334\027\360", [15:54:43.909] path = "P\362V!\b\000\000\000s\032^\026\240 \000\000\030\000\000\0000", '\000' , "8\000\263!\b\000\000\000\001\000\000\000\000\000\000\000\b\244\262!\b\000\000\0008\002'+\b\000\000\000\250\364V!\b\000\000\000\360\363V!\b\000\000\000`\362V!\b", '\000' , "\b0\262!\b\000\000\000 \000\000\000\000\000\000\000\340\363V!\b\000\000\000\347\272]\026\240 \000\000\b0\262!\b\000\000\000\b4\262!\b\000\000\000\b8\262!\b\000\000\000\b<\262!\b\000\000\000\bp\262!\b\000\000\000\bt\262!\b\000\000\000\bx\262!\b\000\000\000"... [15:54:43.909] fd = [15:54:43.909] #5 0x0000000000677dec in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4338 [15:54:43.909] hent = [15:54:43.909] tli = 2 [15:54:43.909] cell__state = {l = 0x835010818, i = 0} [15:54:43.909] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001i\255\222\021\203-\341T\220\360\2413\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\240\366D+\b\000\000\000\220\367V!\b\000\000\000\353\214=+\b", '\000' , "\002", '\000' , "\001\000\000\000\001\377\377\377\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "i\255\222\021\203-\341T\000\020\3624\b\000\000\000@\000\b\000\000\000\000\000"... [15:54:43.909] tles = 0x835010818 [15:54:43.909] cell = [15:54:43.909] fd = [15:54:43.909] cell__state = [15:54:43.909] hent = [15:54:43.909] tli = [15:54:43.909] beginseg = [15:54:43.909] __error = [15:54:43.909] __error = [15:54:43.909] #6 WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3772 [15:54:43.909] startWalReceiver = [15:54:43.909] streaming_reply_sent = true [15:54:43.909] now = [15:54:43.909] startWalReceiver = [15:54:43.909] oldSource = [15:54:43.909] wait_time = [15:54:43.909] __error = [15:54:43.909] __error = [15:54:43.909] __error = [15:54:43.909] havedata = [15:54:43.909] ptr = [15:54:43.909] tli = [15:54:43.909] __error = [15:54:43.909] latestChunkStart = [15:54:43.909] __error = [15:54:43.909] #7 XLogPageRead (xlogreader=0x834f22130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x83500c8b8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [15:54:43.909] private = 0x834f22110 [15:54:43.909] emode = 15 [15:54:43.909] targetSegNo = 4 [15:54:43.909] targetPageOff = 98304 [15:54:43.909] r = [15:54:43.909] #8 0x000000000067ed82 in ReadPageInternal (state=state@entry=0x834f22130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [15:54:43.909] targetSegNo = 4 [15:54:43.909] targetPageOff = 98304 [15:54:43.909] readLen = [15:54:43.909] hdr = [15:54:43.909] err = [15:54:43.909] #9 0x000000000067dbf2 in XLogDecodeNextRecord (state=0x834f22130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [15:54:43.909] errormsg = 0x2e600000300 [15:54:43.909] randAccess = [15:54:43.909] decoded = 0x0 [15:54:43.909] RecPtr = 67210816 [15:54:43.909] assembled = false [15:54:43.909] targetPagePtr = 34919081920 [15:54:43.909] readOff = [15:54:43.909] record = [15:54:43.909] gotheader = [15:54:43.909] targetRecOff = 3648 [15:54:43.909] pageHeaderSize = [15:54:43.909] len = [15:54:43.909] total_len = [15:54:43.909] buffer = [15:54:43.909] gotlen = [15:54:43.909] pageHeader = [15:54:43.909] contdata = [15:54:43.909] save_copy = [15:54:43.909] #10 XLogReadAhead (state=0x834f22130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [15:54:43.909] result = [15:54:43.909] #11 0x0000000000675348 in XLogPrefetcherNextBlock (pgsr_private=35248990408, lsn=0x83503cf08) at ../src/backend/access/transam/xlogprefetcher.c:490 [15:54:43.909] nonblocking = false [15:54:43.909] record = 0x0 [15:54:43.909] prefetcher = 0x83500e8c8 [15:54:43.909] reader = 0x834f22130 [15:54:43.909] replaying_lsn = 67210408 [15:54:43.909] #12 0x0000000000674fb2 in lrq_prefetch (lrq=0x83503cc68) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:54:43.909] No locals. [15:54:43.909] #13 lrq_complete_lsn (lrq=0x83503cc68, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:54:43.909] No locals. [15:54:43.909] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x83500e8c8, errmsg=errmsg@entry=0x821573d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [15:54:43.909] replayed_up_to = [15:54:43.909] record = [15:54:43.909] #15 0x0000000000678ada in ReadRecord (xlogprefetcher=0x83500e8c8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [15:54:43.909] errormsg = 0x0 [15:54:43.909] xlogreader = 0x834f22130 [15:54:43.909] private = [15:54:43.909] record = [15:54:43.909] #16 0x00000000006793b9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [15:54:43.909] ru0 = {tv = {tv_sec = 1733932216, tv_usec = 885729}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1036}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 150, 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}} [15:54:43.909] xtime = [15:54:43.909] reachedRecoveryTarget = false [15:54:43.909] replayTLI = 2 [15:54:43.909] record = [15:54:43.909] #17 0x0000000000669d53 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [15:54:43.909] wasShutdown = false [15:54:43.909] haveTblspcMap = false [15:54:43.909] haveBackupLabel = true [15:54:43.909] promoted = false [15:54:43.909] didCrash = [15:54:43.909] 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 = 742} [15:54:43.909] oldestActiveXID = [15:54:43.909] performedWalRecovery = [15:54:43.909] endOfRecoveryInfo = [15:54:43.909] EndOfLog = [15:54:43.909] EndOfLogTLI = [15:54:43.909] abortedRecPtr = [15:54:43.909] missingContrecPtr = [15:54:43.909] newTLI = [15:54:43.909] Insert = [15:54:43.909] #18 0x000000000089dd5b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:54:43.909] No locals. [15:54:43.909] #19 0x0000000000898385 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 [15:54:43.909] pid = [15:54:43.909] #20 0x000000000089af87 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3714 [15:54:43.909] pmchild = 0x0 [15:54:43.909] pid = [15:54:43.909] #21 0x000000000089ab27 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821578d30) at ../src/backend/postmaster/postmaster.c:1366 [15:54:43.909] userDoption = [15:54:43.909] listen_addr_saved = false [15:54:43.909] output_config_variable = [15:54:43.909] opt = [15:54:43.909] status = [15:54:43.909] #22 0x00000000007d26eb in main (argc=4, argv=0x821578d30) at ../src/backend/main/main.c:224 [15:54:43.909] do_check_root = [15:54:43.909] dispatch_option = DISPATCH_POSTMASTER