[08:22:42.128] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [08:22:42.497] dumping /tmp/cores/postgres.13931.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [08:22:42.635] [New LWP 101830] [08:22:42.727] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [08:22:42.727] Program terminated with signal SIGQUIT, Quit. [08:22:42.727] Sent by thr_kill() from pid 13931 and user 1003. [08:22:42.727] #0 0x000000082cfb38fa in _sigprocmask () from /lib/libc.so.7 [08:22:42.781] [08:22:42.781] Thread 1 (LWP 101830): [08:22:42.781] #0 0x000000082cfb38fa in _sigprocmask () from /lib/libc.so.7 [08:22:42.781] No symbol table info available. [08:22:42.781] #1 0x000000082cfecf91 in _system () from /lib/libc.so.7 [08:22:42.781] No symbol table info available. [08:22:42.781] #2 0x000000082c7df9d3 in ?? () from /lib/libthr.so.3 [08:22:42.781] No symbol table info available. [08:22:42.781] #3 0x0000000000668cb5 in RestoreArchivedFile (path=path@entry=0x820f091d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820f095d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [08:22:42.781] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\0004\b\000\000\000\210\226\360 \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\0004\b\000\000\0000\224z5\b\000\000\000P\223z5\b\000\000\000H\223z5\b\000\000\000H\216z5\b\000\000\000\000\340\344\000\000\000\000\000\000\020\0335\b\000\000\000\000\020\n\000\000\000\000\000 \215\360 \b\000\000\000 \215\360 \b", '\000' , "\350\216\360 \b\000\000\000h\215\360 \b\000\000\000\b\000\000\0000\000\000\000"... [08:22:42.781] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\214\360 \b\000\000\000`\212\360 \b", '\000' , "\240V\006-\b", '\000' , "\005\002\256\000\000\000\000\000\300\211\360 \b\000\000\0000\000\000\000\000\000\000\000\210\220\360 \b", '\000' , "p\211\360 \b\000\000\000S\005\256", '\000' , "\005\002\256\000\000\000\000\000\210\220\360 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [08:22:42.781] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34912375232, st_mode = 64659, st_padding0 = 173, st_uid = 0, st_gid = 552636864, st_padding1 = 8, st_rdev = 35113854439, st_atim = {tv_sec = 15733, tv_nsec = 3}, st_mtim = {tv_sec = 35304114420, tv_nsec = 26880}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 1669128028526508241, tv_nsec = 34912375216}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35115128480, st_spare = {34912375152, 35114379951, 1728721055, 17823846478855382284, 1669128028526508241, 2, 0, 34912375216, 206158430240, 34912375248}} [08:22:42.781] restartRedoPtr = 34912374976 [08:22:42.781] restartTli = 8 [08:22:42.781] restartSegNo = [08:22:42.781] xlogRestoreCmd = 0x83517a238 "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\"" [08:22:42.781] rc = [08:22:42.781] #4 0x000000000064fd58 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [08:22:42.781] path = "pg_wal/00000002", '0' , "4", '\000' , "8 e!\b\000\000\000\001\000\000\000\000\000\000\000\b\304d!\b\000\000\0008b\350,\b\000\000\000\250\224\360 \b\000\000\000\360\223\360 \b\000\000\000`\222\360 \b", '\000' , "\bPd!\b\000\000\000 \000\000\000\000\000\000\000\340\223\360 \b\000\000\000\347\032\r\211\246\023\000\000\bPd!\b\000\000\000\bTd!\b\000\000\000\bXd!\b\000\000\000\b\\d!\b\000\000\000\b\220d!\b\000\000\000\b\224d!\b\000\000\000\b\230d!\b\000\000\000"... [08:22:42.781] histfname = "00000003.history\000\226\360 \b\000\000\000\237\211\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\321x\3708\031\357)\027\000\000\000\000\000\000\000" [08:22:42.781] fd = [08:22:42.781] #5 0x000000000064fe18 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [08:22:42.781] newestTLI = 2 [08:22:42.781] probeTLI = 3 [08:22:42.781] #6 0x000000000067423b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67211448) at ../src/backend/access/transam/xlogrecovery.c:4125 [08:22:42.781] oldtarget = 2 [08:22:42.781] currentTle = 0x0 [08:22:42.781] newtarget = [08:22:42.781] newExpectedTLEs = [08:22:42.781] found = [08:22:42.781] cell = [08:22:42.781] #7 0x0000000000670423 in WaitForWALToBecomeAvailable (RecPtr=67211472, tliRecPtr=67211448, replayTLI=2, replayLSN=67211448, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [08:22:42.781] startWalReceiver = false [08:22:42.781] streaming_reply_sent = true [08:22:42.781] now = [08:22:42.781] startWalReceiver = [08:22:42.781] oldSource = [08:22:42.781] wait_time = [08:22:42.781] __error = [08:22:42.781] __error = [08:22:42.781] __error = [08:22:42.781] havedata = [08:22:42.781] ptr = [08:22:42.781] tli = [08:22:42.781] __error = [08:22:42.781] latestChunkStart = [08:22:42.781] __error = [08:22:42.781] #8 XLogPageRead (xlogreader=0x83508c130, targetPagePtr=67207168, reqLen=4304, targetRecPtr=67211448, readBuf=0x8351768f8 "\027\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [08:22:42.781] private = 0x83508c110 [08:22:42.781] emode = 15 [08:22:42.781] targetSegNo = 4 [08:22:42.781] targetPageOff = 98304 [08:22:42.781] r = [08:22:42.781] #9 0x0000000000677182 in ReadPageInternal (state=state@entry=0x83508c130, pageptr=67207168, reqLen=4304) at ../src/backend/access/transam/xlogreader.c:1060 [08:22:42.781] targetSegNo = 4 [08:22:42.781] targetPageOff = 98304 [08:22:42.781] readLen = [08:22:42.781] hdr = [08:22:42.781] err = [08:22:42.781] #10 0x0000000000675ff2 in XLogDecodeNextRecord (state=0x83508c130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [08:22:42.781] errormsg = 0x820f0dc98 "" [08:22:42.781] randAccess = [08:22:42.781] decoded = 0x0 [08:22:42.781] RecPtr = 67211448 [08:22:42.781] assembled = false [08:22:42.781] targetPagePtr = 34912372672 [08:22:42.781] readOff = [08:22:42.781] record = [08:22:42.781] gotheader = [08:22:42.781] targetRecOff = 4280 [08:22:42.781] pageHeaderSize = [08:22:42.781] len = [08:22:42.781] total_len = [08:22:42.781] buffer = [08:22:42.781] gotlen = [08:22:42.781] pageHeader = [08:22:42.781] contdata = [08:22:42.781] save_copy = [08:22:42.781] #11 XLogReadAhead (state=0x83508c130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [08:22:42.781] result = [08:22:42.781] #12 0x000000000066d6d8 in XLogPrefetcherNextBlock (pgsr_private=35250473224, lsn=0x8351a7408) at ../src/backend/access/transam/xlogprefetcher.c:490 [08:22:42.781] nonblocking = false [08:22:42.781] record = 0x0 [08:22:42.781] prefetcher = 0x835178908 [08:22:42.781] reader = 0x83508c130 [08:22:42.781] replaying_lsn = 67211040 [08:22:42.781] #13 0x000000000066d342 in lrq_prefetch (lrq=0x8351a7168) at ../src/backend/access/transam/xlogprefetcher.c:252 [08:22:42.781] No locals. [08:22:42.781] #14 lrq_complete_lsn (lrq=0x8351a7168, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [08:22:42.781] No locals. [08:22:42.781] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835178908, errmsg=errmsg@entry=0x820f0dd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [08:22:42.781] replayed_up_to = [08:22:42.781] record = [08:22:42.781] #16 0x0000000000670e6a in ReadRecord (xlogprefetcher=0x835178908, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [08:22:42.781] errormsg = 0x83508c940 "" [08:22:42.781] xlogreader = 0x83508c130 [08:22:42.781] private = [08:22:42.781] record = [08:22:42.781] #17 0x0000000000671749 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [08:22:42.781] ru0 = {tv = {tv_sec = 1728721055, tv_usec = 342794}, ru = {ru_utime = {tv_sec = 0, tv_usec = 1324}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 26368, ru_ixrss = 6020, ru_idrss = 328, ru_isrss = 128, ru_minflt = 150, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 11, ru_nivcsw = 2}} [08:22:42.781] xtime = [08:22:42.781] reachedRecoveryTarget = false [08:22:42.781] replayTLI = 2 [08:22:42.781] record = [08:22:42.781] #18 0x0000000000661fe3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [08:22:42.782] wasShutdown = false [08:22:42.782] haveTblspcMap = false [08:22:42.782] haveBackupLabel = true [08:22:42.782] promoted = false [08:22:42.782] didCrash = [08:22:42.782] 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 = 742} [08:22:42.782] oldestActiveXID = [08:22:42.782] performedWalRecovery = [08:22:42.782] endOfRecoveryInfo = [08:22:42.782] EndOfLog = [08:22:42.782] EndOfLogTLI = [08:22:42.782] abortedRecPtr = [08:22:42.782] missingContrecPtr = [08:22:42.782] newTLI = [08:22:42.782] Insert = [08:22:42.782] #19 0x00000000008916bb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [08:22:42.782] No locals. [08:22:42.782] #20 0x000000000088b417 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 [08:22:42.782] pid = [08:22:42.782] #21 0x000000000088d984 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [08:22:42.782] pid = [08:22:42.782] __error = [08:22:42.782] #22 0x000000000088d5c5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820f12a20) at ../src/backend/postmaster/postmaster.c:1343 [08:22:42.782] userDoption = [08:22:42.782] listen_addr_saved = [08:22:42.782] output_config_variable = [08:22:42.782] opt = [08:22:42.782] status = [08:22:42.782] #23 0x00000000007c78ac in main (argc=4, argv=0x820f12a20) at ../src/backend/main/main.c:197 [08:22:42.782] do_check_root =