[05:34:46.027] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [05:34:46.447] dumping /tmp/cores/postgres.12528.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [05:34:46.595] [New LWP 101692] [05:34:46.687] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [05:34:46.687] Program terminated with signal SIGQUIT, Quit. [05:34:46.687] Sent by thr_kill() from pid 12528 and user 1003. [05:34:46.687] #0 0x000000082ae808fa in _sigprocmask () from /lib/libc.so.7 [05:34:46.740] [05:34:46.740] Thread 1 (LWP 101692): [05:34:46.740] #0 0x000000082ae808fa in _sigprocmask () from /lib/libc.so.7 [05:34:46.740] No symbol table info available. [05:34:46.740] #1 0x000000082aeb9f91 in _system () from /lib/libc.so.7 [05:34:46.740] No symbol table info available. [05:34:46.740] #2 0x0000000829f9c9d3 in ?? () from /lib/libthr.so.3 [05:34:46.740] No symbol table info available. [05:34:46.740] #3 0x00000000006697f5 in RestoreArchivedFile (path=path@entry=0x820dec1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820dec5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [05:34:46.740] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t 3\b\000\000\000\210\306\336 \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\000\315 3\b\000\000\000\360.\0325\b\000\000\000\b.\0325\b\000\000\000\000.\0325\b\000\000\000\000)\0325\b\000\000\000\000\340\344\000\000\000\000\000\000\200P4\b\000\000\000\000\020\n\000\000\000\000\000 \275\336 \b\000\000\000 \275\336 \b", '\000' , "\350\276\336 \b\000\000\000h\275\336 \b\000\000\000\b\000\000\0000\000\000\000"... [05:34:46.740] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\274\336 \b\000\000\000`\272\336 \b", '\000' , "\240&\363*\b", '\000' , "\345\v\256\000\000\000\000\000\300\271\336 \b\000\000\0000\000\000\000\000\000\000\000\210\300\336 \b", '\000' , "p\271\336 \b\000\000\0003\017\256", '\000' , "\345\v\256\000\000\000\000\000\210\300\336 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [05:34:46.740] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34911207872, st_mode = 1651, st_padding0 = 174, st_uid = 0, st_gid = 551469504, st_padding1 = 8, st_rdev = 35079042535, st_atim = {tv_sec = 9548, tv_nsec = 3}, st_mtim = {tv_sec = 35285658684, tv_nsec = 27720}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -1963177869235698664, tv_nsec = 34911207856}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35080316576, st_spare = {34911207792, 35079568047, 1729402231, 2180169947098126611, 16483566204473852952, 2, 0, 34911207856, 206158430240, 34911207888}} [05:34:46.740] restartRedoPtr = 34911207616 [05:34:46.740] restartTli = 8 [05:34:46.740] restartSegNo = [05:34:46.740] xlogRestoreCmd = 0x8344eb9f8 "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\"" [05:34:46.740] rc = [05:34:46.740] #4 0x0000000000650898 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [05:34:46.740] path = "pg_wal/00000002", '0' , "4", '\000' , "8\240\202!\b\000\000\000\001\000\000\000\000\000\000\000\bD\202!\b\000\000\00082\325*\b\000\000\000\250\304\336 \b\000\000\000\360\303\336 \b\000\000\000`\302\336 \b", '\000' , "\bЁ!\b\000\000\000 \000\000\000\000\000\000\000\340\303\336 \b\000\000\000\347j\371=\034\t\000\000\bЁ!\b\000\000\000\bԁ!\b\000\000\000\b\330\201!\b\000\000\000\b܁!\b\000\000\000\b\020\202!\b\000\000\000\b\024\202!\b\000\000\000\b\030\202!\b\000\000\000\b\034\202!\b"... [05:34:46.740] histfname = "00000003.history\000\306\336 \b\000\000\000O\224\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\030DL\031!d\301\344\000\000\000\000\000\000\000" [05:34:46.740] fd = [05:34:46.740] #5 0x0000000000650958 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [05:34:46.740] newestTLI = 2 [05:34:46.740] probeTLI = 3 [05:34:46.740] #6 0x0000000000674d7b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4125 [05:34:46.740] oldtarget = 2 [05:34:46.740] currentTle = 0x0 [05:34:46.740] newtarget = [05:34:46.740] newExpectedTLEs = [05:34:46.740] found = [05:34:46.740] cell = [05:34:46.740] #7 0x0000000000670f63 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [05:34:46.740] startWalReceiver = false [05:34:46.740] streaming_reply_sent = true [05:34:46.740] now = [05:34:46.740] startWalReceiver = [05:34:46.740] oldSource = [05:34:46.740] wait_time = [05:34:46.740] __error = [05:34:46.740] __error = [05:34:46.740] __error = [05:34:46.740] havedata = [05:34:46.740] ptr = [05:34:46.740] tli = [05:34:46.740] __error = [05:34:46.740] latestChunkStart = [05:34:46.740] __error = [05:34:46.740] #8 XLogPageRead (xlogreader=0x8343e4130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x8344e80b8 "\027\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [05:34:46.740] private = 0x8343e4110 [05:34:46.740] emode = 15 [05:34:46.740] targetSegNo = 4 [05:34:46.740] targetPageOff = 98304 [05:34:46.740] r = [05:34:46.740] #9 0x0000000000677cc2 in ReadPageInternal (state=state@entry=0x8343e4130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [05:34:46.740] targetSegNo = 4 [05:34:46.740] targetPageOff = 98304 [05:34:46.740] readLen = [05:34:46.740] hdr = [05:34:46.740] err = [05:34:46.740] #10 0x0000000000676b32 in XLogDecodeNextRecord (state=0x8343e4130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [05:34:46.740] errormsg = 0x820df0c98 "" [05:34:46.740] randAccess = [05:34:46.740] decoded = 0x0 [05:34:46.740] RecPtr = 67210816 [05:34:46.740] assembled = false [05:34:46.740] targetPagePtr = 34911205312 [05:34:46.740] readOff = [05:34:46.740] record = [05:34:46.740] gotheader = [05:34:46.740] targetRecOff = 3648 [05:34:46.740] pageHeaderSize = [05:34:46.740] len = [05:34:46.740] total_len = [05:34:46.740] buffer = [05:34:46.740] gotlen = [05:34:46.740] pageHeader = [05:34:46.740] contdata = [05:34:46.740] save_copy = [05:34:46.740] #11 XLogReadAhead (state=0x8343e4130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [05:34:46.740] result = [05:34:46.740] #12 0x000000000066e218 in XLogPrefetcherNextBlock (pgsr_private=35237306568, lsn=0x8344fe808) at ../src/backend/access/transam/xlogprefetcher.c:490 [05:34:46.740] nonblocking = false [05:34:46.740] record = 0x0 [05:34:46.740] prefetcher = 0x8344ea0c8 [05:34:46.740] reader = 0x8343e4130 [05:34:46.740] replaying_lsn = 67210408 [05:34:46.740] #13 0x000000000066de82 in lrq_prefetch (lrq=0x8344fe568) at ../src/backend/access/transam/xlogprefetcher.c:252 [05:34:46.740] No locals. [05:34:46.740] #14 lrq_complete_lsn (lrq=0x8344fe568, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [05:34:46.740] No locals. [05:34:46.740] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8344ea0c8, errmsg=errmsg@entry=0x820df0d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [05:34:46.740] replayed_up_to = [05:34:46.740] record = [05:34:46.740] #16 0x00000000006719aa in ReadRecord (xlogprefetcher=0x8344ea0c8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [05:34:46.740] errormsg = 0x8343e4940 "" [05:34:46.740] xlogreader = 0x8343e4130 [05:34:46.740] private = [05:34:46.740] record = [05:34:46.740] #17 0x0000000000672289 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [05:34:46.740] ru0 = {tv = {tv_sec = 1729402230, tv_usec = 487225}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1145}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 144, 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 = 1}} [05:34:46.740] xtime = [05:34:46.740] reachedRecoveryTarget = false [05:34:46.740] replayTLI = 2 [05:34:46.740] record = [05:34:46.740] #18 0x0000000000662b23 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [05:34:46.741] wasShutdown = false [05:34:46.741] haveTblspcMap = false [05:34:46.741] haveBackupLabel = true [05:34:46.741] promoted = false [05:34:46.741] didCrash = [05:34:46.741] 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} [05:34:46.741] oldestActiveXID = [05:34:46.741] performedWalRecovery = [05:34:46.741] endOfRecoveryInfo = [05:34:46.741] EndOfLog = [05:34:46.741] EndOfLogTLI = [05:34:46.741] abortedRecPtr = [05:34:46.741] missingContrecPtr = [05:34:46.741] newTLI = [05:34:46.741] Insert = [05:34:46.741] #19 0x000000000089213b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [05:34:46.741] No locals. [05:34:46.741] #20 0x000000000088be97 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 [05:34:46.741] pid = [05:34:46.741] #21 0x000000000088e404 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [05:34:46.741] pid = [05:34:46.741] __error = [05:34:46.741] #22 0x000000000088e045 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820df6060) at ../src/backend/postmaster/postmaster.c:1343 [05:34:46.741] userDoption = [05:34:46.741] listen_addr_saved = [05:34:46.741] output_config_variable = [05:34:46.741] opt = [05:34:46.741] status = [05:34:46.741] #23 0x00000000007c82cc in main (argc=4, argv=0x820df6060) at ../src/backend/main/main.c:197 [05:34:46.741] do_check_root =