[10:09:58.563] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [10:09:58.911] dumping /tmp/cores/postgres.13553.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [10:09:59.047] [New LWP 101813] [10:09:59.136] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [10:09:59.136] Program terminated with signal SIGQUIT, Quit. [10:09:59.136] Sent by thr_kill() from pid 13553 and user 1003. [10:09:59.136] #0 0x000000082c2db8fa in _sigprocmask () from /lib/libc.so.7 [10:09:59.186] [10:09:59.186] Thread 1 (LWP 101813): [10:09:59.186] #0 0x000000082c2db8fa in _sigprocmask () from /lib/libc.so.7 [10:09:59.186] No symbol table info available. [10:09:59.186] #1 0x000000082c314f91 in _system () from /lib/libc.so.7 [10:09:59.186] No symbol table info available. [10:09:59.186] #2 0x000000082aec59d3 in ?? () from /lib/libthr.so.3 [10:09:59.186] No symbol table info available. [10:09:59.186] #3 0x0000000000665ff5 in RestoreArchivedFile (path=path@entry=0x8218fb1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8218fb5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [10:09:59.186] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t`4\b\000\000\000\210\266\217!\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`4\b\000\000\000\300k:5\b\000\000\000\340j:5\b\000\000\000\330j:5\b\000\000\000\330e:5\b\000\000\000\000\340\344\000\000\000\000\000\0000\3124\b\000\000\000\000\020\n\000\000\000\000\000 \255\217!\b\000\000\000 \255\217!\b", '\000' , "讏!\b\000\000\000h\255\217!\b\000\000\000\b\000\000\0000\000\000\000б\217"... [10:09:59.186] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\254\217!\b\000\000\000`\252\217!\b", '\000' , "\240\3268,\b", '\000' , "\005\215\255\000\000\000\000\000\300\251\217!\b\000\000\0000\000\000\000\000\000\000\000\210\260\217!\b", '\000' , "p\251\217!\b\000\000\000S\220\255", '\000' , "\005\215\255\000\000\000\000\000\210\260\217!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [10:09:59.186] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34922803648, st_mode = 34707, st_padding0 = 173, st_uid = 0, st_gid = 563065280, st_padding1 = 8, st_rdev = 35100386791, st_atim = {tv_sec = 12527, tv_nsec = 3}, st_mtim = {tv_sec = 35296671476, tv_nsec = 30464}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -6750281380407115347, tv_nsec = 34922803632}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35101660832, st_spare = {34922803568, 35100912303, 1725617154, 16495409323366666862, 11696462693302436269, 2, 0, 34922803632, 206158430240, 34922803664}} [10:09:59.186] restartRedoPtr = 34922803392 [10:09:59.186] restartTli = 8 [10:09:59.186] restartSegNo = [10:09:59.186] xlogRestoreCmd = 0x834c6c438 "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\"" [10:09:59.186] rc = [10:09:59.186] #4 0x000000000064d088 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [10:09:59.186] path = "pg_wal/00000002", '0' , "4", '\000' , "80\361!\b\000\000\000\001\000\000\000\000\000\000\000\b\324\360!\b\000\000\0008\342\032,\b\000\000\000\250\264\217!\b\000\000\000\360\263\217!\b\000\000\000`\262\217!\b", '\000' , "\b`\360!\b\000\000\000 \000\000\000\000\000\000\000\340\263\217!\b\000\000\000\347\neI\0057\000\000\b`\360!\b\000\000\000\bd\360!\b\000\000\000\bh\360!\b\000\000\000\bl\360!\b\000\000\000\b\240\360!\b\000\000\000\b\244\360!\b\000\000\000\b\250\360!\b\000\000\000\b\254"... [10:09:59.186] histfname = "00000003.history\000\266\217!\b\000\000\000_&\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\255\201\346Z\331.R\242\000\000\000\000\000\000\000" [10:09:59.186] fd = [10:09:59.186] #5 0x000000000064d148 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [10:09:59.186] newestTLI = 2 [10:09:59.186] probeTLI = 3 [10:09:59.186] #6 0x000000000067147b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210776) at ../src/backend/access/transam/xlogrecovery.c:4126 [10:09:59.186] oldtarget = 2 [10:09:59.186] currentTle = 0x0 [10:09:59.186] newtarget = [10:09:59.186] newExpectedTLEs = [10:09:59.186] found = [10:09:59.186] cell = [10:09:59.186] #7 0x000000000066d663 in WaitForWALToBecomeAvailable (RecPtr=67210800, tliRecPtr=67210776, replayTLI=2, replayLSN=67210776, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [10:09:59.186] startWalReceiver = false [10:09:59.186] streaming_reply_sent = true [10:09:59.186] now = [10:09:59.186] startWalReceiver = [10:09:59.186] oldSource = [10:09:59.186] wait_time = [10:09:59.186] __error = [10:09:59.186] __error = [10:09:59.186] __error = [10:09:59.186] havedata = [10:09:59.186] ptr = [10:09:59.186] tli = [10:09:59.186] __error = [10:09:59.186] latestChunkStart = [10:09:59.186] __error = [10:09:59.186] #8 XLogPageRead (xlogreader=0x834b7e130, targetPagePtr=67207168, reqLen=3632, targetRecPtr=67210776, readBuf=0x834c68af8 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [10:09:59.186] private = 0x834b7e110 [10:09:59.186] emode = 15 [10:09:59.186] targetSegNo = 4 [10:09:59.186] targetPageOff = 98304 [10:09:59.186] r = [10:09:59.186] #9 0x00000000006743c2 in ReadPageInternal (state=state@entry=0x834b7e130, pageptr=67207168, reqLen=3632) at ../src/backend/access/transam/xlogreader.c:1060 [10:09:59.186] targetSegNo = 4 [10:09:59.186] targetPageOff = 98304 [10:09:59.186] readLen = [10:09:59.186] hdr = [10:09:59.186] err = [10:09:59.186] #10 0x0000000000673232 in XLogDecodeNextRecord (state=0x834b7e130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [10:09:59.186] errormsg = 0x8218ffc98 "" [10:09:59.186] randAccess = [10:09:59.186] decoded = 0x0 [10:09:59.186] RecPtr = 67210776 [10:09:59.186] assembled = false [10:09:59.186] targetPagePtr = 34922801088 [10:09:59.186] readOff = [10:09:59.186] record = [10:09:59.186] gotheader = [10:09:59.186] targetRecOff = 3608 [10:09:59.186] pageHeaderSize = [10:09:59.186] len = [10:09:59.186] total_len = [10:09:59.186] buffer = [10:09:59.186] gotlen = [10:09:59.186] pageHeader = [10:09:59.186] contdata = [10:09:59.186] save_copy = [10:09:59.186] #11 XLogReadAhead (state=0x834b7e130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [10:09:59.186] result = [10:09:59.186] #12 0x000000000066a918 in XLogPrefetcherNextBlock (pgsr_private=35245173512, lsn=0x834c98e88) at ../src/backend/access/transam/xlogprefetcher.c:490 [10:09:59.186] nonblocking = false [10:09:59.186] record = 0x0 [10:09:59.186] prefetcher = 0x834c6ab08 [10:09:59.186] reader = 0x834b7e130 [10:09:59.186] replaying_lsn = 67210368 [10:09:59.186] #13 0x000000000066a582 in lrq_prefetch (lrq=0x834c98be8) at ../src/backend/access/transam/xlogprefetcher.c:252 [10:09:59.186] No locals. [10:09:59.186] #14 lrq_complete_lsn (lrq=0x834c98be8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [10:09:59.186] No locals. [10:09:59.186] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834c6ab08, errmsg=errmsg@entry=0x8218ffd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [10:09:59.186] replayed_up_to = [10:09:59.186] record = [10:09:59.186] #16 0x000000000066e0aa in ReadRecord (xlogprefetcher=0x834c6ab08, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [10:09:59.186] errormsg = 0x834b7e940 "" [10:09:59.186] xlogreader = 0x834b7e130 [10:09:59.186] private = [10:09:59.186] record = [10:09:59.186] #17 0x000000000066e989 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [10:09:59.186] ru0 = {tv = {tv_sec = 1725617154, tv_usec = 316645}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1063}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 149, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 5, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 18, ru_nivcsw = 2}} [10:09:59.186] xtime = [10:09:59.186] reachedRecoveryTarget = false [10:09:59.186] replayTLI = 2 [10:09:59.186] record = [10:09:59.186] #18 0x000000000065f343 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [10:09:59.186] wasShutdown = false [10:09:59.186] haveTblspcMap = false [10:09:59.186] haveBackupLabel = true [10:09:59.186] promoted = false [10:09:59.186] didCrash = [10:09:59.186] 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} [10:09:59.186] oldestActiveXID = [10:09:59.186] performedWalRecovery = [10:09:59.186] endOfRecoveryInfo = [10:09:59.186] EndOfLog = [10:09:59.186] EndOfLogTLI = [10:09:59.186] abortedRecPtr = [10:09:59.186] missingContrecPtr = [10:09:59.186] newTLI = [10:09:59.186] Insert = [10:09:59.186] #19 0x000000000088b7fb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [10:09:59.186] No locals. [10:09:59.186] #20 0x0000000000885567 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 [10:09:59.186] pid = [10:09:59.186] #21 0x0000000000887ac4 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [10:09:59.186] pid = [10:09:59.186] __error = [10:09:59.186] #22 0x0000000000887705 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821904a38) at ../src/backend/postmaster/postmaster.c:1338 [10:09:59.186] userDoption = [10:09:59.186] listen_addr_saved = [10:09:59.186] output_config_variable = [10:09:59.186] opt = [10:09:59.186] status = [10:09:59.186] #23 0x00000000007c32dc in main (argc=4, argv=0x821904a38) at ../src/backend/main/main.c:197 [10:09:59.186] do_check_root =