[03:12:14.818] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [03:12:15.198] dumping /tmp/cores/postgres.11800.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [03:12:15.335] [New LWP 101758] [03:12:15.422] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [03:12:15.422] Program terminated with signal SIGQUIT, Quit. [03:12:15.422] Sent by thr_kill() from pid 11800 and user 1003. [03:12:15.422] #0 0x000000082c08726a in _sigprocmask () from /lib/libc.so.7 [03:12:15.463] [03:12:15.463] Thread 1 (LWP 101758): [03:12:15.463] #0 0x000000082c08726a in _sigprocmask () from /lib/libc.so.7 [03:12:15.463] No symbol table info available. [03:12:15.463] #1 0x000000082c0c2a60 in _system () from /lib/libc.so.7 [03:12:15.463] No symbol table info available. [03:12:15.463] #2 0x000000082ba6b0f3 in ?? () from /lib/libthr.so.3 [03:12:15.463] No symbol table info available. [03:12:15.463] #3 0x000000000062a3e6 in RestoreArchivedFile (path=path@entry=0x82118a1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x82118a5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=false) at ../src/backend/access/transam/xlogarchive.c:177 [03:12:15.463] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000\020\n\000\000\000\000\000X\214\3725\b\000\000\000p\213\3725\b\000\000\000h\213\3725\b\000\000\000h\206\3725\b\000\000\000\000\340\344\000\000\000\000\000\000P\v5\b\000\000\0000\020\n\000\000\000\000\000М\030!\b\000\000\000М\030!\b\000\000\000\200\200\200\200\200\200\200\2009\001\000\000\000\000\000\000P\242\030!\b", '\000' , "\b\000\000\0000\000\000\000\240\241\030!\b\000\000\000\240\240\030!\b\000\000\000\277\004\371+\b\000\000\000\002\000\000\000\000\000\000\000\t\024p\270<\037\000\0008\236\030!\b\000\000\000d\354"... [03:12:15.463] lastRestartPointFname = '0' , '\000' , "XZ\251\000\000\000\000\000\376\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\001", '\000' , "0\000\000\000\000\000\000\000\210\240\030!\b\000\000\000\264\231\030!\b", '\000' , "`\231\030!\b\000\000\000XZ\251\000\000\000\000\000\376\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\376\377\377\377\000\000\000\000\001\240\030!\b\000\000\000\210\240\030!\b\000\000\000"... [03:12:15.463] stat_buf = {st_dev = 2, st_ino = 11990376, st_nlink = 2, st_mode = 41408, st_padding0 = 8472, st_uid = 8, st_gid = 11097329, st_padding1 = 0, st_rdev = 18374403900871474943, st_atim = {tv_sec = -9187201950435737472, tv_nsec = 34915000656}, st_mtim = {tv_sec = 3, tv_nsec = 12025160}, st_ctim = {tv_sec = 35288412684, tv_nsec = 34915000640}, st_birthtim = {tv_sec = 35098469571, tv_nsec = 34915001856}, st_size = 7651511759974432769, st_blocks = -7409434315702469943, st_blksize = 78, st_flags = 0, st_gen = 2, st_spare = {0, 34915000752, 35099229680, 34915000704, 35098469373, 1712027320, 10417293750534972549, 206158430224, 34915000736, 206158430240}} [03:12:15.463] restartRedoPtr = [03:12:15.463] restartTli = [03:12:15.463] restartSegNo = [03:12:15.463] xlogRestoreCmd = 0x83507dce8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000003.history\" \"pg_wal/RECOVERYHISTORY\"" [03:12:15.463] rc = [03:12:15.463] #4 0x0000000000611f18 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [03:12:15.463] path = "pg_wal/00000002", '0' , "4\000\360", '\000' , "8\000\001\"\b\000\000\000\001\000\000\000\000\000\000\000\b\244\000\"\b\000\000\000\000f\365+\b\000\000\000\270\244\030!\b", '\000' , "p\242\030!\b\000\000\000\000\244\030!\b\000\000\000\b0\000\"\b\000\000\000 \000\000\000\000\000\000\000\360\243\030!\b\000\000\000<\253o\270<\037\000\000\b0\000\"\b\000\000\000\b4\000\"\b\000\000\000\b8\000\"\b\000\000\000\b<\000\"\b\000\000\000\bp\000\"\b\000\000\000"... [03:12:15.463] histfname = "00000003.history\000\246\030!\b\000\000\000\377\377\377\377\377\377\377\377P\246\030!\b\000\000\000\322H\214\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000" [03:12:15.463] fd = [03:12:15.463] #5 0x0000000000611fd8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [03:12:15.463] newestTLI = 2 [03:12:15.463] probeTLI = 3 [03:12:15.463] #6 0x000000000063576b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209312) at ../src/backend/access/transam/xlogrecovery.c:4113 [03:12:15.463] oldtarget = 2 [03:12:15.463] currentTle = 0x0 [03:12:15.463] newtarget = [03:12:15.463] newExpectedTLEs = [03:12:15.463] found = [03:12:15.463] cell = [03:12:15.463] #7 0x00000000006319b5 in WaitForWALToBecomeAvailable (RecPtr=67209336, tliRecPtr=67209312, replayTLI=3, replayLSN=34914998192, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3674 [03:12:15.463] startWalReceiver = false [03:12:15.463] streaming_reply_sent = true [03:12:15.463] now = [03:12:15.463] startWalReceiver = [03:12:15.463] oldSource = [03:12:15.463] wait_time = [03:12:15.463] __error = [03:12:15.463] __error = [03:12:15.463] __error = [03:12:15.463] havedata = [03:12:15.463] ptr = [03:12:15.463] tli = [03:12:15.463] __error = [03:12:15.463] latestChunkStart = [03:12:15.463] __error = [03:12:15.463] #8 XLogPageRead (xlogreader=0x834f910b0, targetPagePtr=67207168, reqLen=2168, targetRecPtr=67209312, readBuf=0x83507a4b8 "\025\321\006") at ../src/backend/access/transam/xlogrecovery.c:3351 [03:12:15.463] private = 0x834f91090 [03:12:15.463] emode = 15 [03:12:15.463] targetSegNo = 4 [03:12:15.463] targetPageOff = 98304 [03:12:15.463] r = [03:12:15.463] #9 0x0000000000638707 in ReadPageInternal (state=state@entry=0x834f910b0, pageptr=34914998192, pageptr@entry=67207168, reqLen=2168) at ../src/backend/access/transam/xlogreader.c:1060 [03:12:15.463] targetSegNo = 4 [03:12:15.463] targetPageOff = 98304 [03:12:15.463] readLen = [03:12:15.463] hdr = [03:12:15.463] err = [03:12:15.463] #10 0x0000000000637525 in XLogDecodeNextRecord (state=0x834f910b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [03:12:15.463] randAccess = [03:12:15.463] decoded = 0x0 [03:12:15.463] RecPtr = 67209312 [03:12:15.463] assembled = false [03:12:15.463] targetPagePtr = 67207168 [03:12:15.463] readOff = [03:12:15.463] record = [03:12:15.463] gotheader = [03:12:15.463] targetRecOff = 2144 [03:12:15.463] pageHeaderSize = [03:12:15.463] len = [03:12:15.463] errormsg = [03:12:15.463] total_len = [03:12:15.463] buffer = [03:12:15.463] gotlen = [03:12:15.463] pageHeader = [03:12:15.463] contdata = [03:12:15.463] save_copy = [03:12:15.463] #11 XLogReadAhead (state=0x834f910b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [03:12:15.463] result = [03:12:15.463] #12 0x000000000062ec4c in XLogPrefetcherNextBlock (pgsr_private=35248479968, lsn=0x8350aaad8) at ../src/backend/access/transam/xlogprefetcher.c:492 [03:12:15.463] nonblocking = false [03:12:15.463] record = 0x0 [03:12:15.463] prefetcher = 0x834f91ee0 [03:12:15.463] reader = 0x834f910b0 [03:12:15.463] replaying_lsn = 67208904 [03:12:15.463] #13 0x000000000062e8da in lrq_prefetch (lrq=0x8350aa868) at ../src/backend/access/transam/xlogprefetcher.c:252 [03:12:15.463] No locals. [03:12:15.463] #14 lrq_complete_lsn (lrq=0x8350aa868, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [03:12:15.463] No locals. [03:12:15.463] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834f91ee0, errmsg=errmsg@entry=0x82118ed60) at ../src/backend/access/transam/xlogprefetcher.c:1037 [03:12:15.463] replayed_up_to = [03:12:15.463] record = [03:12:15.463] #16 0x00000000006323ec in ReadRecord (xlogprefetcher=0x834f91ee0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3151 [03:12:15.463] errormsg = 0x834f918c0 "" [03:12:15.463] xlogreader = 0x834f910b0 [03:12:15.463] private = [03:12:15.463] record = [03:12:15.463] #17 0x0000000000632cc9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [03:12:15.463] ru0 = {tv = {tv_sec = 1712027319, tv_usec = 945656}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1031}, ru_maxrss = 25392, ru_ixrss = 5940, ru_idrss = 324, ru_isrss = 128, ru_minflt = 141, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 16, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 27, ru_nivcsw = 2}} [03:12:15.463] xtime = [03:12:15.463] reachedRecoveryTarget = false [03:12:15.463] replayTLI = 2 [03:12:15.463] record = [03:12:15.463] #18 0x0000000000623979 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5723 [03:12:15.463] promoted = false [03:12:15.463] didCrash = [03:12:15.463] wasShutdown = [03:12:15.463] haveTblspcMap = [03:12:15.463] haveBackupLabel = [03:12:15.463] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = 1, oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 738} [03:12:15.463] oldestActiveXID = [03:12:15.463] performedWalRecovery = [03:12:15.463] endOfRecoveryInfo = [03:12:15.463] EndOfLog = [03:12:15.463] EndOfLogTLI = [03:12:15.463] abortedRecPtr = [03:12:15.463] missingContrecPtr = [03:12:15.463] newTLI = [03:12:15.463] Insert = [03:12:15.463] #19 0x0000000000850deb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [03:12:15.463] No locals. [03:12:15.463] #20 0x000000000084a1d2 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:265 [03:12:15.463] pid = [03:12:15.463] #21 0x000000000084c635 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3928 [03:12:15.463] pid = [03:12:15.463] __error = [03:12:15.463] #22 0x000000000084c286 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821193728) at ../src/backend/postmaster/postmaster.c:1364 [03:12:15.463] userDoption = [03:12:15.463] listen_addr_saved = false [03:12:15.463] output_config_variable = [03:12:15.463] opt = [03:12:15.463] status = [03:12:15.463] #23 0x0000000000787165 in main (argc=4, argv=0x821193728) at ../src/backend/main/main.c:197 [03:12:15.463] do_check_root =