[19:56:03.223] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [19:56:03.595] dumping /tmp/cores/postgres.35373.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:56:03.751] [New LWP 101954] [19:56:03.855] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [19:56:03.855] Program terminated with signal SIGQUIT, Quit. [19:56:03.855] Sent by thr_kill() from pid 35373 and user 1002. [19:56:03.855] #0 0x000000082b4c45da in _sigprocmask () from /lib/libc.so.7 [19:56:03.906] [19:56:03.906] Thread 1 (LWP 101954): [19:56:03.906] #0 0x000000082b4c45da in _sigprocmask () from /lib/libc.so.7 [19:56:03.906] No symbol table info available. [19:56:03.906] #1 0x000000082b501a3c in _system () from /lib/libc.so.7 [19:56:03.906] No symbol table info available. [19:56:03.906] #2 0x000000082b165953 in ?? () from /lib/libthr.so.3 [19:56:03.906] No symbol table info available. [19:56:03.906] #3 0x00000000006b5379 in RestoreArchivedFile (path=path@entry=0x8217451b0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8217455b0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:178 [19:56:03.906] xlogpath = "pg_wal/RECOVERYHISTORY\000\211PyW+\b\000\000\000\005\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\320Qt!\b\000\000\000\001\000\000\000\000\000\000\000\300Mt!\b\000\000\000\207\342C+\b", '\000' , "P\275\311\000\000\000\000\000002", '\000' , "002\000\000\000\000\00000000000", '\000' ... [19:56:03.906] lastRestartPointFname = '0' , '\000' , "y\266#+\207\001\201\211PyW+\b\000\000\000\360\306\307", '\000' , "\001\377\000\207\377\377\377\377F\307\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\377H\232\373i\000\000\000\000\340\243N\017\000\000\000\000H\232\373i\000\000\000\000\220\346L\017\000\000\000\000H\232\373i\000\000\000\000"... [19:56:03.906] stat_buf = {st_dev = 12997108, st_ino = 2, st_nlink = 34921009568, st_mode = 37523, st_bsdflags = 184, st_uid = 0, st_gid = 561271200, st_padding1 = 8, st_rdev = 35085607559, st_atim = {tv_sec = 2651984, tv_nsec = 3}, st_mtim = {tv_sec = 0, tv_nsec = 35217533956}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 35086152880, tv_nsec = 12874957205512}, st_size = 2853312, st_blocks = 35082609993, st_blksize = 1, st_flags = 0, st_gen = 12874957922312, st_filerev = 34921009504, st_spare = {35086143870, 2, 35086012805, 726414512, 9908202335247775353, 34921009584, 13099280, 206158430240, 34921009584}} [19:56:03.906] restartRedoPtr = 34921009312 [19:56:03.906] restartTli = 8 [19:56:03.906] restartSegNo = [19:56:03.906] xlogRestoreCmd = 0xbb5af918068 "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\"" [19:56:03.906] rc = [19:56:03.906] #4 0x000000000069b448 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:236 [19:56:03.906] path = "pg_wal/00000002", '0' , "4\000\000\000\000\000\000\000\000\000\220@E\257\265\v\000\000\001\000\000\000\000\000\000\000\200Rt!\b\000\000\000\340Ut!\b\000\000\000\256\023S+\b\000\000\000y\266#+\207\001\201\211\200\t`\257\265\v\000\000\000\000\000\000\000\000\000\000\220@E\257\265\v\000\000\001\000\000\000\000\000\000\000\200Rt!\b\000\000\000\340Ut!\b\000\000\000C\031S+\b\000\000\000\001", '\000' , "\n", '\000' , "\330X`\257\265\v\000\000\000\020\000\000\000\000\000\000HVt!\b\000\000\000"... [19:56:03.906] histfname = "00000003.history\0000200000", '\000' , '\377' , "8Vt!\b\000\000" [19:56:03.906] fd = [19:56:03.906] #5 0x000000000069b508 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:278 [19:56:03.906] newestTLI = 2 [19:56:03.906] probeTLI = 3 [19:56:03.906] #6 0x00000000006c0d6b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67202720) at ../src/backend/access/transam/xlogrecovery.c:4124 [19:56:03.906] oldtarget = 2 [19:56:03.906] currentTle = 0x0 [19:56:03.906] newtarget = [19:56:03.906] newExpectedTLEs = [19:56:03.906] found = [19:56:03.906] cell = [19:56:03.906] #7 0x00000000006bca90 in WaitForWALToBecomeAvailable (RecPtr=67202744, randAccess=false, fetching_ckpt=false, tliRecPtr=67202720, replayTLI=2, replayLSN=67202720, nonblocking=false) at ../src/backend/access/transam/xlogrecovery.c:3686 [19:56:03.906] startWalReceiver = false [19:56:03.906] streaming_reply_sent = true [19:56:03.906] now = [19:56:03.906] #8 XLogPageRead (xlogreader=0xbb5af826c78, targetPagePtr=67198976, reqLen=3768, targetRecPtr=67202720, readBuf=0xbb5af914838 "\037\321\001") at ../src/backend/access/transam/xlogrecovery.c:3333 [19:56:03.906] private = 0xbb5af826c58 [19:56:03.906] emode = 15 [19:56:03.906] targetSegNo = 4 [19:56:03.906] targetPageOff = 90112 [19:56:03.906] io_start = [19:56:03.906] r = [19:56:03.906] #9 0x00000000006c45fc in ReadPageInternal (state=0xbb5af826c78, pageptr=pageptr@entry=67198976, reqLen=3768) at ../src/backend/access/transam/xlogreader.c:1072 [19:56:03.906] targetSegNo = 4 [19:56:03.906] targetPageOff = 90112 [19:56:03.906] readLen = [19:56:03.906] hdr = [19:56:03.906] err = [19:56:03.906] #10 0x00000000006c33a5 in XLogDecodeNextRecord (state=0xbb5af826c78, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:599 [19:56:03.906] errormsg = 0x0 [19:56:03.906] randAccess = [19:56:03.906] decoded = [19:56:03.906] RecPtr = 67202720 [19:56:03.906] assembled = false [19:56:03.906] targetPagePtr = 67198976 [19:56:03.906] readOff = [19:56:03.906] record = [19:56:03.906] gotheader = [19:56:03.906] targetRecOff = 3744 [19:56:03.906] pageHeaderSize = [19:56:03.906] len = [19:56:03.906] total_len = [19:56:03.906] buffer = [19:56:03.906] gotlen = [19:56:03.906] pageHeader = [19:56:03.906] contdata = [19:56:03.906] save_copy = [19:56:03.906] #11 XLogReadAhead (state=0xbb5af826c78, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:985 [19:56:03.906] result = [19:56:03.906] #12 0x00000000006b9fd8 in XLogPrefetcherNextBlock (pgsr_private=12874961551016, lsn=0xbb5af917ac8) at ../src/backend/access/transam/xlogprefetcher.c:495 [19:56:03.906] nonblocking = false [19:56:03.906] record = 0x0 [19:56:03.906] prefetcher = 0xbb5af827ea8 [19:56:03.906] reader = 0xbb5af826c78 [19:56:03.906] replaying_lsn = 67202312 [19:56:03.906] #13 0x00000000006b9bd4 in lrq_prefetch (lrq=0xbb5af917858) at ../src/backend/access/transam/xlogprefetcher.c:263 [19:56:03.906] No locals. [19:56:03.906] #14 lrq_complete_lsn (lrq=0xbb5af917858, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:301 [19:56:03.906] No locals. [19:56:03.906] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0xbb5af827ea8, errmsg=errmsg@entry=0x821749d60) at ../src/backend/access/transam/xlogprefetcher.c:1040 [19:56:03.906] replayed_up_to = [19:56:03.906] record = [19:56:03.906] #16 0x00000000006bd96c in ReadRecord (xlogprefetcher=0xbb5af827ea8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3130 [19:56:03.906] errormsg = 0x0 [19:56:03.906] xlogreader = 0xbb5af826c78 [19:56:03.906] private = [19:56:03.906] record = [19:56:03.906] #17 0x00000000006be249 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1805 [19:56:03.906] ru0 = {tv = {tv_sec = 1778096712, tv_usec = 269694}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1373}, ru_maxrss = 29572, ru_ixrss = 6492, ru_idrss = 388, ru_isrss = 128, ru_minflt = 162, 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 = 3}} [19:56:03.906] xtime = [19:56:03.906] reachedRecoveryTarget = false [19:56:03.906] replayTLI = 2 [19:56:03.906] record = [19:56:03.906] #18 0x00000000006adf40 in StartupXLOG () at ../src/backend/access/transam/xlog.c:6278 [19:56:03.906] wasShutdown = false [19:56:03.906] haveTblspcMap = false [19:56:03.906] haveBackupLabel = true [19:56:03.906] timebuf = "2026-05-06 19:45:11 UTC", '\000' [19:56:03.906] promoted = false [19:56:03.906] didCrash = [19:56:03.906] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , logicalDecodingEnabled = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = 1, oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 692, dataChecksumState = } [19:56:03.906] oldestActiveXID = [19:56:03.906] performedWalRecovery = [19:56:03.906] endOfRecoveryInfo = [19:56:03.906] EndOfLog = [19:56:03.906] EndOfLogTLI = [19:56:03.906] abortedRecPtr = [19:56:03.906] missingContrecPtr = [19:56:03.906] newTLI = [19:56:03.906] Insert = [19:56:03.906] #19 0x000000000091a78e in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:257 [19:56:03.906] No locals. [19:56:03.906] #20 0x0000000000914135 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:268 [19:56:03.906] pid = [19:56:03.906] #21 0x0000000000916fb7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:4030 [19:56:03.906] pmchild = 0x0 [19:56:03.906] pid = [19:56:03.906] #22 0x000000000091682e in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82174f4f8) at ../src/backend/postmaster/postmaster.c:1408 [19:56:03.906] optctx = {nargc = 4, nargv = 0x82174f4f8, ostr = 0x36bb3a "B:bC:c:D:d:EeFf:h:ijk:lN:OPp:r:S:sTt:W:-:", opterr = 1, optarg = 0x82174fbf4 "cluster-name=cascade", optind = 4, optopt = 45, place = 0x2f181e ""} [19:56:03.906] userDoption = [19:56:03.906] listen_addr_saved = false [19:56:03.906] output_config_variable = [19:56:03.906] opt = [19:56:03.906] status = [19:56:03.906] #23 0x000000000083b87d in main (argc=4, argv=0x82174f4f8) at ../src/backend/main/main.c:231 [19:56:03.906] do_check_root = [19:56:03.906] dispatch_option = DISPATCH_POSTMASTER