[21:48:26.649] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [21:48:26.948] dumping /tmp/cores/postgres.25399.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [21:48:27.083] [New LWP 101860] [21:48:27.172] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [21:48:27.172] Program terminated with signal SIGQUIT, Quit. [21:48:27.172] Sent by thr_kill() from pid 25399 and user 1002. [21:48:27.172] #0 0x000000082b69275a in _sigprocmask () from /lib/libc.so.7 [21:48:27.215] [21:48:27.215] Thread 1 (LWP 101860): [21:48:27.215] #0 0x000000082b69275a in _sigprocmask () from /lib/libc.so.7 [21:48:27.215] No symbol table info available. [21:48:27.215] #1 0x000000082b6cfa7f in _system () from /lib/libc.so.7 [21:48:27.215] No symbol table info available. [21:48:27.215] #2 0x000000082a5a98a3 in ?? () from /lib/libthr.so.3 [21:48:27.215] No symbol table info available. [21:48:27.215] #3 0x0000000000687ec7 in RestoreArchivedFile (path=path@entry=0x82105a1e0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x82105a5e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [21:48:27.215] xlogpath = "pg_wal/RECOVERYHISTORY\000\335\020kt+\b\000\000\000\005", '\000' , "\242\005!\b\000\000\000\001\000\000\000\000\000\000\000\200\214Hlm \360\335\000\000\000\000\000\000\000\000\210\235\005!\b", '\000' , "\220&\000\000\000\000\000\000\020\346\310!\b\000\000\000p\235\005!\b\000\000\000$\333h+\b", '\000' , "\001\000\000\000@\226\213y\200\214Hlm \360\335\020kt+\b\000\000\000\005", '\000' , "\260\235\005!\b\000\000\000\315\322f\30734\000\000\250.V+\b\000\000\000"... [21:48:27.215] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000pg_wal/RECOVERYXLOG", '\000' , "\200\214Hlm \360\335\020kt+\b\000\000\000謿\000\000\000\000\000\370h\305C\302'\000\000\001\377\000\207\377\377\377\377\224^\002\000\000\000\000\000\001\000\000\000\000\000\000\000\200\201\000\000\352\003\000\000\353\003\000\000\000\000\000\000\377\377\377\377\377\377\377\377\336>lh\000\000\000\000X\207@\034\000\000\000\000\336>lh\000\000\000\000Ȥ?\034\000\000\000\000\336>lh\000\000\000\000\330\305@\034\000\000\000\000\336>lh\000\000\000\000@\221?"... [21:48:27.215] stat_buf = {st_dev = 4, st_ino = 2, st_nlink = 34913755600, st_mode = 28291, st_padding0 = 178, st_uid = 0, st_gid = 554017232, st_padding1 = 8, st_rdev = 35087502871, st_atim = {tv_sec = 7834484, tv_nsec = 3}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 35088045648, tv_nsec = 43715313807368}, st_size = 2834056, st_blocks = 35070305465, st_blksize = 1, st_flags = 0, st_gen = 43715318063104, st_spare = {34913755504, 35070301762, 35088045648, 12562064, 35088045648, 43715313837064, 34913755728, 57396993353076, 206158430240, 34913755616}} [21:48:27.215] restartRedoPtr = 34913755344 [21:48:27.215] restartTli = 8 [21:48:27.215] restartSegNo = [21:48:27.215] xlogRestoreCmd = 0x27c244170a68 "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\"" [21:48:27.215] rc = [21:48:27.215] #4 0x000000000066ed38 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [21:48:27.215] path = "pg_wal/00000002", '0' , "4\000\000\000\000\000\000\000\000\000\220P\305C\302'\000\000\001\000\000\000\000\000\000\000\260\242\005!\b\000\000\000\020\246\005!\b\000\000\000`\000p+\b\000\000\000\200\214Hlm \360݀\t\340C\302'\000\000\000\000\000\000\000\000\000\000\220P\305C\302'\000\000\001\000\000\000\000\000\000\000\260\242\005!\b\000\000\000\020\246\005!\b\000\000\000\003\006p+\b\000\000\000\300\242\005!\b", '\000' , "\n", '\000' , "\330X\340C\302'\000\000\000\020\000\000\000\000\000\000h\246\005!\b\000\000\000\220"... [21:48:27.215] histfname = "00000003.history\000\246\005!\b\000\000\000\375!\225\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000P\246\005!\b\000\000\000\025/\231\000\000\000\000" [21:48:27.215] fd = [21:48:27.215] #5 0x000000000066edf8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [21:48:27.215] newestTLI = 2 [21:48:27.215] probeTLI = 3 [21:48:27.215] #6 0x00000000006933ab in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209560) at ../src/backend/access/transam/xlogrecovery.c:4135 [21:48:27.215] oldtarget = 2 [21:48:27.215] currentTle = 0x0 [21:48:27.215] newtarget = [21:48:27.215] newExpectedTLEs = [21:48:27.215] found = [21:48:27.215] cell = [21:48:27.215] #7 0x000000000068f543 in WaitForWALToBecomeAvailable (RecPtr=67209584, tliRecPtr=67209560, replayTLI=2, replayLSN=67209560, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3697 [21:48:27.215] startWalReceiver = false [21:48:27.215] streaming_reply_sent = true [21:48:27.215] now = [21:48:27.215] startWalReceiver = [21:48:27.215] oldSource = [21:48:27.215] wait_time = [21:48:27.215] __error = [21:48:27.215] __error = [21:48:27.215] __error = [21:48:27.215] havedata = [21:48:27.215] ptr = [21:48:27.215] tli = [21:48:27.215] __error = [21:48:27.215] latestChunkStart = [21:48:27.215] __error = [21:48:27.215] #8 XLogPageRead (xlogreader=0x27c24401d130, targetPagePtr=67207168, reqLen=2416, targetRecPtr=67209560, readBuf=0x27c2441411f8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3363 [21:48:27.215] private = 0x27c24401d110 [21:48:27.215] emode = 15 [21:48:27.215] targetSegNo = 4 [21:48:27.215] targetPageOff = 98304 [21:48:27.215] io_start = [21:48:27.215] r = [21:48:27.215] #9 0x000000000069630a in ReadPageInternal (state=state@entry=0x27c24401d130, pageptr=67207168, reqLen=2416) at ../src/backend/access/transam/xlogreader.c:1061 [21:48:27.215] targetSegNo = 4 [21:48:27.215] targetPageOff = 98304 [21:48:27.215] readLen = [21:48:27.215] hdr = [21:48:27.215] err = [21:48:27.215] #10 0x0000000000695138 in XLogDecodeNextRecord (state=0x27c24401d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [21:48:27.215] errormsg = 0x2f000000300 [21:48:27.215] randAccess = [21:48:27.215] decoded = 0x0 [21:48:27.215] RecPtr = 67209560 [21:48:27.215] assembled = false [21:48:27.215] targetPagePtr = 67207168 [21:48:27.215] readOff = [21:48:27.215] record = [21:48:27.215] gotheader = [21:48:27.215] targetRecOff = 2392 [21:48:27.215] pageHeaderSize = [21:48:27.215] len = [21:48:27.215] total_len = [21:48:27.215] buffer = [21:48:27.215] gotlen = [21:48:27.215] pageHeader = [21:48:27.215] contdata = [21:48:27.215] save_copy = [21:48:27.215] #11 XLogReadAhead (state=0x27c24401d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [21:48:27.215] result = [21:48:27.215] #12 0x000000000068c7f8 in XLogPrefetcherNextBlock (pgsr_private=43715319312904, lsn=0x27c2441704c8) at ../src/backend/access/transam/xlogprefetcher.c:490 [21:48:27.215] nonblocking = false [21:48:27.215] record = 0x0 [21:48:27.215] prefetcher = 0x27c244143208 [21:48:27.215] reader = 0x27c24401d130 [21:48:27.215] replaying_lsn = 67209152 [21:48:27.215] #13 0x000000000068c465 in lrq_prefetch (lrq=0x27c244170258) at ../src/backend/access/transam/xlogprefetcher.c:252 [21:48:27.215] No locals. [21:48:27.215] #14 lrq_complete_lsn (lrq=0x27c244170258, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [21:48:27.215] No locals. [21:48:27.215] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x27c244143208, errmsg=errmsg@entry=0x82105ed60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [21:48:27.215] replayed_up_to = [21:48:27.215] record = [21:48:27.215] #16 0x000000000068fffa in ReadRecord (xlogprefetcher=0x27c244143208, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3162 [21:48:27.215] errormsg = 0x0 [21:48:27.215] xlogreader = 0x27c24401d130 [21:48:27.215] private = [21:48:27.215] record = [21:48:27.215] #17 0x00000000006908e9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1840 [21:48:27.215] ru0 = {tv = {tv_sec = 1751924446, tv_usec = 622702}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1086}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 159, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 13, ru_nivcsw = 3}} [21:48:27.215] xtime = [21:48:27.215] reachedRecoveryTarget = false [21:48:27.215] replayTLI = 2 [21:48:27.215] record = [21:48:27.215] #18 0x0000000000680f93 in StartupXLOG () at ../src/backend/access/transam/xlog.c:6033 [21:48:27.215] wasShutdown = false [21:48:27.215] haveTblspcMap = false [21:48:27.215] haveBackupLabel = true [21:48:27.215] promoted = false [21:48:27.215] didCrash = [21:48:27.215] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 752} [21:48:27.215] oldestActiveXID = [21:48:27.215] performedWalRecovery = [21:48:27.215] endOfRecoveryInfo = [21:48:27.215] EndOfLog = [21:48:27.215] EndOfLogTLI = [21:48:27.215] abortedRecPtr = [21:48:27.215] missingContrecPtr = [21:48:27.215] newTLI = [21:48:27.215] Insert = [21:48:27.215] #19 0x00000000008c444b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [21:48:27.215] No locals. [21:48:27.215] #20 0x00000000008bdedb in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=89, 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:290 [21:48:27.215] pid = [21:48:27.215] #21 0x00000000008c0cb7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3973 [21:48:27.215] pmchild = 0x0 [21:48:27.215] pid = [21:48:27.215] #22 0x00000000008c06b2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821063a10) at ../src/backend/postmaster/postmaster.c:1393 [21:48:27.215] userDoption = [21:48:27.215] listen_addr_saved = false [21:48:27.215] output_config_variable = [21:48:27.215] opt = [21:48:27.215] status = [21:48:27.215] #23 0x00000000007f3420 in main (argc=4, argv=0x821063a10) at ../src/backend/main/main.c:227 [21:48:27.215] do_check_root = [21:48:27.215] dispatch_option = DISPATCH_POSTMASTER