[04:13:14.133] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [04:13:14.521] dumping /tmp/cores/postgres.14507.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [04:13:14.648] [New LWP 101870] [04:13:14.734] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [04:13:14.734] Program terminated with signal SIGQUIT, Quit. [04:13:14.734] Sent by thr_kill() from pid 14507 and user 1003. [04:13:14.734] #0 0x000000082a9c88fa in _sigprocmask () from /lib/libc.so.7 [04:13:14.788] [04:13:14.788] Thread 1 (LWP 101870): [04:13:14.788] #0 0x000000082a9c88fa in _sigprocmask () from /lib/libc.so.7 [04:13:14.788] No symbol table info available. [04:13:14.788] #1 0x000000082aa01f91 in _system () from /lib/libc.so.7 [04:13:14.788] No symbol table info available. [04:13:14.788] #2 0x000000082a7649d3 in ?? () from /lib/libthr.so.3 [04:13:14.788] No symbol table info available. [04:13:14.788] #3 0x0000000000635d65 in RestoreArchivedFile (path=path@entry=0x820ccc1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820ccc5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [04:13:14.788] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t`3\b\000\000\000\210\306\314 \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\315`3\b\000\000\000\020\004Z4\b\000\000\0000\003Z4\b\000\000\000(\003Z4\b\000\000\000(\376Y4\b\000\000\000\000\340\344\000\000\000\000\000\000\320\3723\b\000\000\000\000\020\n\000\000\000\000\000 \275\314 \b\000\000\000 \275\314 \b", '\000' , "\350\276\314 \b\000\000\000h\275\314 \b\000\000\000\b\000\000\0000\000\000\000"... [04:13:14.788] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\274\314 \b\000\000\000`\272\314 \b", '\000' , "\240\246\247*\b", '\000' , "u\224\252\000\000\000\000\000\300\271\314 \b\000\000\0000\000\000\000\000\000\000\000\210\300\314 \b", '\000' , "p\271\314 \b\000\000\000×\252", '\000' , "u\224\252\000\000\000\000\000\210\300\314 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [04:13:14.788] stat_buf = {st_dev = 90112, st_ino = 2, st_nlink = 34910028224, st_mode = 36611, st_padding0 = 170, st_uid = 0, st_gid = 550289856, st_padding1 = 8, st_rdev = 35074094567, st_atim = {tv_sec = 15378, tv_nsec = 3}, st_mtim = {tv_sec = 35294412788, tv_nsec = 28672}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 2702231248946381850, tv_nsec = 34910028208}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35075368608, st_spare = {34910028144, 35074620079, 1725422906, 14216476229678981696, 2702231248946381850, 2, 0, 34910028208, 206158430240, 34910028240}} [04:13:14.788] restartRedoPtr = 34910027968 [04:13:14.788] restartTli = 8 [04:13:14.788] restartSegNo = [04:13:14.788] xlogRestoreCmd = 0x833f75b78 "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\"" [04:13:14.788] rc = [04:13:14.788] #4 0x000000000061ce88 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [04:13:14.788] path = "pg_wal/00000002", '0' , "4", '\000' , "8\020\v!\b\000\000\000\001\000\000\000\000\000\000\000\b\264\n!\b\000\000\0008\262\211*\b\000\000\000\250\304\314 \b\000\000\000\360\303\314 \b\000\000\000`\302\314 \b", '\000' , "\b@\n!\b\000\000\000 \000\000\000\000\000\000\000\340\303\314 \b\000\000\000\347j߭\006\021\000\000\b@\n!\b\000\000\000\bD\n!\b\000\000\000\bH\n!\b\000\000\000\bL\n!\b\000\000\000\b\200\n!\b\000\000\000\b\204\n!\b\000\000\000\b\210\n!\b\000\000\000\b"... [04:13:14.788] histfname = "00000003.history\000\306\314 \b\000\000\000?#\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\032\304h\376\000A\200%\000\000\000\000\000\000\000" [04:13:14.788] fd = [04:13:14.788] #5 0x000000000061cf48 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [04:13:14.788] newestTLI = 2 [04:13:14.788] probeTLI = 3 [04:13:14.788] #6 0x00000000006411eb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67202168) at ../src/backend/access/transam/xlogrecovery.c:4126 [04:13:14.788] oldtarget = 2 [04:13:14.788] currentTle = 0x0 [04:13:14.788] newtarget = [04:13:14.788] newExpectedTLEs = [04:13:14.788] found = [04:13:14.788] cell = [04:13:14.788] #7 0x000000000063d3d3 in WaitForWALToBecomeAvailable (RecPtr=67202192, tliRecPtr=67202168, replayTLI=2, replayLSN=67202168, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [04:13:14.788] startWalReceiver = false [04:13:14.788] streaming_reply_sent = true [04:13:14.788] now = [04:13:14.788] startWalReceiver = [04:13:14.788] oldSource = [04:13:14.788] wait_time = [04:13:14.788] __error = [04:13:14.788] __error = [04:13:14.788] __error = [04:13:14.788] havedata = [04:13:14.788] ptr = [04:13:14.788] tli = [04:13:14.788] __error = [04:13:14.788] latestChunkStart = [04:13:14.788] __error = [04:13:14.788] #8 XLogPageRead (xlogreader=0x833e88130, targetPagePtr=67198976, reqLen=3216, targetRecPtr=67202168, readBuf=0x833f72238 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [04:13:14.788] private = 0x833e88110 [04:13:14.788] emode = 15 [04:13:14.788] targetSegNo = 4 [04:13:14.788] targetPageOff = 90112 [04:13:14.788] r = [04:13:14.788] #9 0x0000000000644132 in ReadPageInternal (state=state@entry=0x833e88130, pageptr=67198976, reqLen=3216) at ../src/backend/access/transam/xlogreader.c:1060 [04:13:14.788] targetSegNo = 4 [04:13:14.788] targetPageOff = 90112 [04:13:14.788] readLen = [04:13:14.788] hdr = [04:13:14.788] err = [04:13:14.788] #10 0x0000000000642fa2 in XLogDecodeNextRecord (state=0x833e88130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [04:13:14.788] errormsg = 0x820cd0c98 "" [04:13:14.788] randAccess = [04:13:14.788] decoded = 0x0 [04:13:14.788] RecPtr = 67202168 [04:13:14.788] assembled = false [04:13:14.788] targetPagePtr = 34910025664 [04:13:14.788] readOff = [04:13:14.788] record = [04:13:14.788] gotheader = [04:13:14.788] targetRecOff = 3192 [04:13:14.788] pageHeaderSize = [04:13:14.788] len = [04:13:14.788] total_len = [04:13:14.788] buffer = [04:13:14.788] gotlen = [04:13:14.788] pageHeader = [04:13:14.788] contdata = [04:13:14.788] save_copy = [04:13:14.788] #11 XLogReadAhead (state=0x833e88130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [04:13:14.788] result = [04:13:14.788] #12 0x000000000063a688 in XLogPrefetcherNextBlock (pgsr_private=35231580744, lsn=0x833fa3358) at ../src/backend/access/transam/xlogprefetcher.c:490 [04:13:14.788] nonblocking = false [04:13:14.788] record = 0x0 [04:13:14.788] prefetcher = 0x833f74248 [04:13:14.788] reader = 0x833e88130 [04:13:14.788] replaying_lsn = 67201760 [04:13:14.788] #13 0x000000000063a2f2 in lrq_prefetch (lrq=0x833fa30e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [04:13:14.788] No locals. [04:13:14.788] #14 lrq_complete_lsn (lrq=0x833fa30e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [04:13:14.788] No locals. [04:13:14.788] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x833f74248, errmsg=errmsg@entry=0x820cd0d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [04:13:14.788] replayed_up_to = [04:13:14.788] record = [04:13:14.788] #16 0x000000000063de1a in ReadRecord (xlogprefetcher=0x833f74248, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [04:13:14.788] errormsg = 0x833e88940 "" [04:13:14.788] xlogreader = 0x833e88130 [04:13:14.788] private = [04:13:14.788] record = [04:13:14.788] #17 0x000000000063e6f9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [04:13:14.788] ru0 = {tv = {tv_sec = 1725422906, tv_usec = 183504}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 978}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 140, 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}} [04:13:14.788] xtime = [04:13:14.788] reachedRecoveryTarget = false [04:13:14.788] replayTLI = 2 [04:13:14.788] record = [04:13:14.788] #18 0x000000000062f0b3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [04:13:14.788] wasShutdown = false [04:13:14.788] haveTblspcMap = false [04:13:14.788] haveBackupLabel = true [04:13:14.788] promoted = false [04:13:14.788] didCrash = [04:13:14.788] 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 = 741} [04:13:14.788] oldestActiveXID = [04:13:14.788] performedWalRecovery = [04:13:14.788] endOfRecoveryInfo = [04:13:14.788] EndOfLog = [04:13:14.788] EndOfLogTLI = [04:13:14.788] abortedRecPtr = [04:13:14.788] missingContrecPtr = [04:13:14.788] newTLI = [04:13:14.788] Insert = [04:13:14.788] #19 0x000000000085b4ab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [04:13:14.788] No locals. [04:13:14.788] #20 0x0000000000855217 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:274 [04:13:14.788] pid = [04:13:14.788] #21 0x0000000000857774 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [04:13:14.788] pid = [04:13:14.788] __error = [04:13:14.788] #22 0x00000000008573b5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820cd5d30) at ../src/backend/postmaster/postmaster.c:1338 [04:13:14.788] userDoption = [04:13:14.788] listen_addr_saved = [04:13:14.788] output_config_variable = [04:13:14.788] opt = [04:13:14.788] status = [04:13:14.788] #23 0x0000000000792f8c in main (argc=4, argv=0x820cd5d30) at ../src/backend/main/main.c:197 [04:13:14.788] do_check_root =