[13:04:19.977] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [13:04:20.330] dumping /tmp/cores/postgres.12901.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [13:04:20.454] [New LWP 101812] [13:04:20.536] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [13:04:20.536] Program terminated with signal SIGQUIT, Quit. [13:04:20.536] Sent by thr_kill() from pid 12901 and user 1003. [13:04:20.536] #0 0x000000082b68a8fa in _sigprocmask () from /lib/libc.so.7 [13:04:20.581] [13:04:20.581] Thread 1 (LWP 101812): [13:04:20.581] #0 0x000000082b68a8fa in _sigprocmask () from /lib/libc.so.7 [13:04:20.581] No symbol table info available. [13:04:20.581] #1 0x000000082b6c3f91 in _system () from /lib/libc.so.7 [13:04:20.581] No symbol table info available. [13:04:20.581] #2 0x000000082a7149d3 in ?? () from /lib/libthr.so.3 [13:04:20.581] No symbol table info available. [13:04:20.581] #3 0x0000000000668f15 in RestoreArchivedFile (path=path@entry=0x8214421d0 "P\"D!\b", xlogfname=xlogfname@entry=0x821442620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [13:04:20.581] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\3004\b\000\000\000\210&D!\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\3004\b\000\000\000\240\261:6\b\000\000\000\300\260:6\b\000\000\000\270\260:6\b\000\000\000\270\253:6\b\000\000\000\000\340\344\000\000\000\000\000\000\360U5\b\000\000\000\000\020\n\000\000\000\000\000 \035D!\b\000\000\000 \035D!\b", '\000' , "\350\036D!\b\000\000\000h\035D!\b\000\000\000\b\000\000\0000\000\000\000"... [13:04:20.581] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\034D!\b\000\000\000`\032D!\b", '\000' , "\240\306s+\b", '\000' , "\325\344\255\000\000\000\000\000\300\031D!\b\000\000\0000\000\000\000\000\000\000\000\210 D!\b", '\000' , "p\031D!\b\000\000\000#\350\255", '\000' , "\325\344\255\000\000\000\000\000\210 D!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [13:04:20.581] stat_buf = {st_dev = 34917852624, st_ino = 34917852704, st_nlink = 12213456, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 558113216, st_padding1 = 8, st_rdev = 35087472103, st_atim = {tv_sec = 35253368063, tv_nsec = 12375632}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34917852672}, st_size = 34917851696, st_blocks = 11447699, st_blksize = 711983171, st_flags = 8, st_gen = 34931298952, st_spare = {35086783032, 34931278856, 34917851624, 34917852072, 34917851600, 56781715279010, 2596278, 134090501, 206158430240, 34917851600}} [13:04:20.581] restartRedoPtr = 33554472 [13:04:20.581] restartTli = 1 [13:04:20.581] restartSegNo = [13:04:20.581] xlogRestoreCmd = 0x835528578 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000002", '0' , "4\" \"pg_wal/RECOVERYXLOG\"" [13:04:20.581] rc = [13:04:20.581] #4 0x00000000006746fe in XLogFileRead (segno=segno@entry=4, tli=tli@entry=2, source=source@entry=XLOG_FROM_ARCHIVE, notfoundOk=true) at ../src/backend/access/transam/xlogrecovery.c:4221 [13:04:20.581] xlogfname = "00000002", '0' , "4\000&D!\b\000\000\000p&D!\b\000\000\000\365Yh+\b\000\000\000\3331\000\000\000\000\000\000x\000\000\000\000\000\000" [13:04:20.581] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\306s+\b\000\000\000@&D!\b\000\000\000\257Zh+\b\000\000\000\341\267\362f\000\000\000\000\351\215:\023\222\264Ճ" [13:04:20.581] path = "P\"D!\b\000\000\000s\n\370\205\2443\000\000\030\000\000\0000", '\000' , "8`\021\"\b\000\000\000\001\000\000\000\000\000\000\000\b\004\021\"\b\000\000\0008\322U+\b\000\000\000\250$D!\b\000\000\000\360#D!\b\000\000\000`\"D!\b", '\000' , "\b\220\020\"\b\000\000\000 \000\000\000\000\000\000\000\340#D!\b\000\000\000\347\252\367\205\2443\000\000\b\220\020\"\b\000\000\000\b\224\020\"\b\000\000\000\b\230\020\"\b\000\000\000\b\234\020\"\b\000\000\000\b\320\020\"\b\000\000\000\b\324\020\"\b\000\000\000\b\330\020\"\b\000\000\000"... [13:04:20.581] fd = [13:04:20.581] #5 0x00000000006703dc in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4349 [13:04:20.581] hent = [13:04:20.581] tli = 2 [13:04:20.581] cell__state = {l = 0x835528b98, i = 0} [13:04:20.581] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\0012\005\0042\342\375e\212\220@\3423\b\000\000\0009\000\000\000\000\000\000\000\000\000\n\000\000\000\000\000@\000\b\000\000\000\000\000\240\306s+\b\000\000\000\220'D!\b\000\000\000\353\\l+\b", '\000' , "\002", '\000' , "\001\000\000\000\001\201\3647\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "2\005\0042\342\375e\212\000\220C5\b\000\000\000@\000\b\000\000\000\000\000"... [13:04:20.581] tles = 0x835528b98 [13:04:20.581] cell = [13:04:20.581] fd = [13:04:20.581] cell__state = [13:04:20.581] hent = [13:04:20.581] tli = [13:04:20.581] beginseg = [13:04:20.581] __error = [13:04:20.581] __error = [13:04:20.581] #6 WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3783 [13:04:20.581] startWalReceiver = [13:04:20.581] streaming_reply_sent = true [13:04:20.581] now = [13:04:20.581] startWalReceiver = [13:04:20.581] oldSource = [13:04:20.581] wait_time = [13:04:20.581] __error = [13:04:20.581] __error = [13:04:20.581] __error = [13:04:20.581] havedata = [13:04:20.581] ptr = [13:04:20.581] tli = [13:04:20.581] __error = [13:04:20.581] latestChunkStart = [13:04:20.581] __error = [13:04:20.581] #7 XLogPageRead (xlogreader=0x83543a130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x835524c38 "\027\321\005") at ../src/backend/access/transam/xlogrecovery.c:3364 [13:04:20.581] private = 0x83543a110 [13:04:20.581] emode = 15 [13:04:20.581] targetSegNo = 4 [13:04:20.581] targetPageOff = 98304 [13:04:20.581] r = [13:04:20.581] #8 0x00000000006773e2 in ReadPageInternal (state=state@entry=0x83543a130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [13:04:20.581] targetSegNo = 4 [13:04:20.581] targetPageOff = 98304 [13:04:20.581] readLen = [13:04:20.581] hdr = [13:04:20.581] err = [13:04:20.581] #9 0x0000000000676252 in XLogDecodeNextRecord (state=0x83543a130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [13:04:20.581] errormsg = 0x2e300000300 [13:04:20.581] randAccess = [13:04:20.581] decoded = 0x0 [13:04:20.581] RecPtr = 67210816 [13:04:20.581] assembled = false [13:04:20.581] targetPagePtr = 34917849024 [13:04:20.581] readOff = [13:04:20.581] record = [13:04:20.581] gotheader = [13:04:20.581] targetRecOff = 3648 [13:04:20.581] pageHeaderSize = [13:04:20.581] len = [13:04:20.581] total_len = [13:04:20.581] buffer = [13:04:20.581] gotlen = [13:04:20.581] pageHeader = [13:04:20.581] contdata = [13:04:20.581] save_copy = [13:04:20.581] #10 XLogReadAhead (state=0x83543a130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [13:04:20.581] result = [13:04:20.581] #11 0x000000000066d938 in XLogPrefetcherNextBlock (pgsr_private=35254332488, lsn=0x835554b88) at ../src/backend/access/transam/xlogprefetcher.c:490 [13:04:20.581] nonblocking = false [13:04:20.581] record = 0x0 [13:04:20.581] prefetcher = 0x835526c48 [13:04:20.581] reader = 0x83543a130 [13:04:20.581] replaying_lsn = 67210408 [13:04:20.581] #12 0x000000000066d5a2 in lrq_prefetch (lrq=0x8355548e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [13:04:20.581] No locals. [13:04:20.581] #13 lrq_complete_lsn (lrq=0x8355548e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [13:04:20.581] No locals. [13:04:20.581] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835526c48, errmsg=errmsg@entry=0x821446d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [13:04:20.581] replayed_up_to = [13:04:20.581] record = [13:04:20.581] #15 0x00000000006710ca in ReadRecord (xlogprefetcher=0x835526c48, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [13:04:20.581] errormsg = 0x0 [13:04:20.581] xlogreader = 0x83543a130 [13:04:20.581] private = [13:04:20.581] record = [13:04:20.581] #16 0x00000000006719a9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [13:04:20.581] ru0 = {tv = {tv_sec = 1727182816, tv_usec = 845381}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1014}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 148, 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}} [13:04:20.581] xtime = [13:04:20.581] reachedRecoveryTarget = false [13:04:20.581] replayTLI = 2 [13:04:20.581] record = [13:04:20.581] #17 0x0000000000662263 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [13:04:20.581] wasShutdown = false [13:04:20.581] haveTblspcMap = false [13:04:20.581] haveBackupLabel = true [13:04:20.581] promoted = false [13:04:20.581] didCrash = [13:04:20.581] 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 = 739} [13:04:20.581] oldestActiveXID = [13:04:20.581] performedWalRecovery = [13:04:20.581] endOfRecoveryInfo = [13:04:20.581] EndOfLog = [13:04:20.581] EndOfLogTLI = [13:04:20.581] abortedRecPtr = [13:04:20.581] missingContrecPtr = [13:04:20.581] newTLI = [13:04:20.581] Insert = [13:04:20.581] #18 0x000000000089015b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [13:04:20.581] No locals. [13:04:20.581] #19 0x0000000000889eb7 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 [13:04:20.581] pid = [13:04:20.581] #20 0x000000000088c424 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [13:04:20.581] pid = [13:04:20.581] __error = [13:04:20.581] #21 0x000000000088c065 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82144c580) at ../src/backend/postmaster/postmaster.c:1343 [13:04:20.581] userDoption = [13:04:20.581] listen_addr_saved = [13:04:20.581] output_config_variable = [13:04:20.581] opt = [13:04:20.581] status = [13:04:20.581] #22 0x00000000007c744c in main (argc=4, argv=0x82144c580) at ../src/backend/main/main.c:197 [13:04:20.581] do_check_root =