[00:48:13.988] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [00:48:14.294] dumping /tmp/cores/postgres.25977.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:48:14.423] [New LWP 101785] [00:48:14.509] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [00:48:14.509] Program terminated with signal SIGQUIT, Quit. [00:48:14.509] Sent by thr_kill() from pid 25977 and user 1002. [00:48:14.509] #0 0x000000082c6e775a in _sigprocmask () from /lib/libc.so.7 [00:48:14.548] [00:48:14.548] Thread 1 (LWP 101785): [00:48:14.548] #0 0x000000082c6e775a in _sigprocmask () from /lib/libc.so.7 [00:48:14.548] No symbol table info available. [00:48:14.548] #1 0x000000082c724a7f in _system () from /lib/libc.so.7 [00:48:14.548] No symbol table info available. [00:48:14.548] #2 0x000000082b4238a3 in ?? () from /lib/libthr.so.3 [00:48:14.548] No symbol table info available. [00:48:14.548] #3 0x0000000000688c27 in RestoreArchivedFile (path=path@entry=0x820e591e0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820e595e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [00:48:14.548] xlogpath = "pg_wal/RECOVERYHISTORY\000e\020\273y,\b\000\000\000\005", '\000' , "\222\345 \b\000\000\000\001\000\000\000\000\000\000\000\267蹄\372|\241e\000\000\000\000\000\000\000\000\210\215\345 \b", '\000' , "\354$\000\000\000\000\000\000\020\266\331!\b\000\000\000p\215\345 \b\000\000\000$+n,\b", '\000' , "\001\000\000\000R\313NF\267蹄\372|\241e\020\273y,\b\000\000\000\005", '\000' , "\260\215\345 \b\000\000\000\315\022xiD7\000\000\250~[,\b\000\000\000\234\360\\,"... [00:48:14.548] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000pg_wal/RECOVERYXLOG\000RY\000\000\000\000\000\000\000\000\000\000\267蹄\372|\241e\020\273y,\b\000\000\000\370ڿ\000\000\000\000\000\370x\245\302\3469\000\000\001\377\000\207\377\377\377\377_c\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\377L_\252h\000\000\000\000@\003\362\020\000\000\000\000L_\252h\000\000\000\000\020\021\361\020\000\000\000\000L_\252h\000\000\000\000\b6\362\020\000\000\000\000L_\252h\000\000\000\000\240\371\360"... [00:48:14.548] stat_buf = {st_dev = 4, st_ino = 2, st_nlink = 34911654352, st_mode = 39811, st_padding0 = 178, st_uid = 0, st_gid = 551915984, st_padding1 = 8, st_rdev = 35104628247, st_atim = {tv_sec = 34911654248, tv_nsec = 3}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 35105171024, tv_nsec = 8261848319500746753}, st_size = 7323271884491581623, st_blocks = 35105913616, st_blksize = 6, st_flags = 0, st_gen = 0, st_spare = {34911654336, 2, 34911654288, 35105155669, 745432656, 1755995980, 17359725349322635968, 7323271884491581623, 206158430240, 34911654368}} [00:48:14.548] restartRedoPtr = 34911654096 [00:48:14.548] restartTli = 8 [00:48:14.548] restartSegNo = [00:48:14.548] xlogRestoreCmd = 0x39e6c2f8b3a8 "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\"" [00:48:14.548] rc = [00:48:14.548] #4 0x000000000066ff18 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [00:48:14.548] path = "pg_wal/00000002", '0' , "4\000\000\000\000\000\000\000\000\000\220`\245\302\3469\000\000\001\000\000\000\000\000\000\000\260\222\345 \b\000\000\000\020\226\345 \b\000\000\000`Pu,\b\000\000\000\267蹄\372|\241e\200\t\300\302\3469\000\000\000\000\000\000\000\000\000\000\220`\245\302\3469\000\000\001\000\000\000\000\000\000\000\260\222\345 \b\000\000\000\020\226\345 \b\000\000\000\003Vu,\b\000\000\000\300\222\345 \b", '\000' , "\n", '\000' , "\330X\300\302\3469\000\000\000\020\000\000\000\000\000\000h\226\345 \b\000\000\000\220`"... [00:48:14.548] histfname = "00000003.history\000\226\345 \b\000\000\000}X\225\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\0000\226\345 \b\000\000\000b)n,\b\000\000" [00:48:14.548] fd = [00:48:14.548] #5 0x000000000066ffd8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [00:48:14.548] newestTLI = 2 [00:48:14.548] probeTLI = 3 [00:48:14.548] #6 0x000000000069411b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67202144) at ../src/backend/access/transam/xlogrecovery.c:4136 [00:48:14.548] oldtarget = 2 [00:48:14.548] currentTle = 0x0 [00:48:14.548] newtarget = [00:48:14.548] newExpectedTLEs = [00:48:14.548] found = [00:48:14.548] cell = [00:48:14.548] #7 0x00000000006902a3 in WaitForWALToBecomeAvailable (RecPtr=67202168, tliRecPtr=67202144, replayTLI=2, replayLSN=67202144, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3698 [00:48:14.548] startWalReceiver = false [00:48:14.548] streaming_reply_sent = true [00:48:14.548] now = [00:48:14.548] startWalReceiver = [00:48:14.548] oldSource = [00:48:14.548] wait_time = [00:48:14.548] __error = [00:48:14.548] __error = [00:48:14.548] __error = [00:48:14.548] havedata = [00:48:14.548] ptr = [00:48:14.548] tli = [00:48:14.548] __error = [00:48:14.548] latestChunkStart = [00:48:14.548] __error = [00:48:14.548] #8 XLogPageRead (xlogreader=0x39e6c2e1d0a0, targetPagePtr=67198976, reqLen=3192, targetRecPtr=67202144, readBuf=0x39e6c2f5b738 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [00:48:14.548] private = 0x39e6c2e1d080 [00:48:14.548] emode = 15 [00:48:14.548] targetSegNo = 4 [00:48:14.548] targetPageOff = 90112 [00:48:14.548] io_start = [00:48:14.548] r = [00:48:14.548] #9 0x00000000006970da in ReadPageInternal (state=0x39e6c2e1d0a0, pageptr=pageptr@entry=67198976, reqLen=3192) at ../src/backend/access/transam/xlogreader.c:1071 [00:48:14.548] targetSegNo = 4 [00:48:14.548] targetPageOff = 90112 [00:48:14.548] readLen = [00:48:14.548] hdr = [00:48:14.548] err = [00:48:14.548] #10 0x0000000000695e8b in XLogDecodeNextRecord (state=0x39e6c2e1d0a0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [00:48:14.548] errormsg = 0x820e5dc98 "" [00:48:14.548] randAccess = [00:48:14.548] decoded = 0x0 [00:48:14.548] RecPtr = 67202144 [00:48:14.548] assembled = false [00:48:14.548] targetPagePtr = 67198976 [00:48:14.548] targetRecOff = 3168 [00:48:14.548] readOff = [00:48:14.548] pageHeaderSize = [00:48:14.548] record = [00:48:14.548] gotheader = [00:48:14.548] len = [00:48:14.548] total_len = [00:48:14.548] buffer = [00:48:14.548] gotlen = [00:48:14.548] pageHeader = [00:48:14.548] contdata = [00:48:14.548] save_copy = [00:48:14.548] #11 XLogReadAhead (state=0x39e6c2e1d0a0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:984 [00:48:14.548] result = [00:48:14.548] #12 0x000000000068d558 in XLogPrefetcherNextBlock (pgsr_private=63663274843856, lsn=0x39e6c2f8ae08) at ../src/backend/access/transam/xlogprefetcher.c:490 [00:48:14.548] nonblocking = false [00:48:14.548] record = 0x0 [00:48:14.548] prefetcher = 0x39e6c2e1ded0 [00:48:14.548] reader = 0x39e6c2e1d0a0 [00:48:14.548] replaying_lsn = 67201736 [00:48:14.548] #13 0x000000000068d1c5 in lrq_prefetch (lrq=0x39e6c2f8ab98) at ../src/backend/access/transam/xlogprefetcher.c:252 [00:48:14.548] No locals. [00:48:14.548] #14 lrq_complete_lsn (lrq=0x39e6c2f8ab98, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [00:48:14.548] No locals. [00:48:14.548] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x39e6c2e1ded0, errmsg=errmsg@entry=0x820e5dd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [00:48:14.548] replayed_up_to = [00:48:14.548] record = [00:48:14.548] #16 0x0000000000690d5a in ReadRecord (xlogprefetcher=0x39e6c2e1ded0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3163 [00:48:14.548] errormsg = 0x39e6c2e1d8b0 "" [00:48:14.548] xlogreader = 0x39e6c2e1d0a0 [00:48:14.548] private = [00:48:14.548] record = [00:48:14.548] #17 0x0000000000691659 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1841 [00:48:14.548] ru0 = {tv = {tv_sec = 1755995980, tv_usec = 334911}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1235}, ru_maxrss = 27780, ru_ixrss = 6168, ru_idrss = 376, ru_isrss = 128, ru_minflt = 161, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 16, ru_nivcsw = 3}} [00:48:14.548] xtime = [00:48:14.548] reachedRecoveryTarget = false [00:48:14.548] replayTLI = 2 [00:48:14.548] record = [00:48:14.548] #18 0x0000000000681e83 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5874 [00:48:14.548] wasShutdown = false [00:48:14.548] haveTblspcMap = false [00:48:14.548] haveBackupLabel = true [00:48:14.548] timebuf = "2025-08-24 00:39:39 UTC", '\000' [00:48:14.548] promoted = false [00:48:14.548] didCrash = [00:48:14.548] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = 747, oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 755} [00:48:14.548] oldestActiveXID = [00:48:14.548] performedWalRecovery = [00:48:14.548] endOfRecoveryInfo = [00:48:14.548] EndOfLog = [00:48:14.548] EndOfLogTLI = [00:48:14.548] abortedRecPtr = [00:48:14.548] missingContrecPtr = [00:48:14.548] newTLI = [00:48:14.548] Insert = [00:48:14.548] #19 0x00000000008c686b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [00:48:14.548] No locals. [00:48:14.548] #20 0x00000000008c029b 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 [00:48:14.548] pid = [00:48:14.548] #21 0x00000000008c30d7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3983 [00:48:14.548] pmchild = 0x0 [00:48:14.548] pid = [00:48:14.548] #22 0x00000000008c29e7 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820e62ae0) at ../src/backend/postmaster/postmaster.c:1396 [00:48:14.548] userDoption = [00:48:14.548] listen_addr_saved = false [00:48:14.548] output_config_variable = [00:48:14.548] opt = [00:48:14.548] status = [00:48:14.548] #23 0x00000000007f5430 in main (argc=4, argv=0x820e62ae0) at ../src/backend/main/main.c:231 [00:48:14.548] do_check_root = [00:48:14.548] dispatch_option = DISPATCH_POSTMASTER