[21:13:09.657] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [21:13:10.047] dumping /tmp/cores/postgres.12475.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [21:13:10.197] [New LWP 101669] [21:13:10.292] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [21:13:10.292] Program terminated with signal SIGQUIT, Quit. [21:13:10.292] Sent by thr_kill() from pid 12475 and user 1003. [21:13:10.292] #0 0x000000082b19b8fa in _sigprocmask () from /lib/libc.so.7 [21:13:10.351] [21:13:10.351] Thread 1 (LWP 101669): [21:13:10.351] #0 0x000000082b19b8fa in _sigprocmask () from /lib/libc.so.7 [21:13:10.351] No symbol table info available. [21:13:10.351] #1 0x000000082b1d4f91 in _system () from /lib/libc.so.7 [21:13:10.351] No symbol table info available. [21:13:10.351] #2 0x000000082a28b9d3 in ?? () from /lib/libthr.so.3 [21:13:10.351] No symbol table info available. [21:13:10.351] #3 0x000000000066a615 in RestoreArchivedFile (path=path@entry=0x8219141d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8219145d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [21:13:10.351] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t@5\b\000\000\000\210F\221!\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@5\b\000\000\000x\023\2336\b\000\000\000\230\022\2336\b\000\000\000\220\022\2336\b\000\000\000\220\r\2336\b\000\000\000\000\340\344\000\000\000\000\000\000\240\0316\b\000\000\000\000\020\n\000\000\000\000\000 =\221!\b\000\000\000 =\221!\b", '\000' , "\350>\221!\b\000\000\000h=\221!\b\000\000\000\b\000\000\0000\000\000\000"... [21:13:10.351] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260<\221!\b\000\000\000`:\221!\b", '\000' , "\240\326$+\b", '\000' , "%u\256\000\000\000\000\000H@\221!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "\2609\221!\b\000\000\000\233w\256", '\000' , "%u\256\000\000\000\000\000\210@\221!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [21:13:10.351] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34922906048, st_mode = 28595, st_padding0 = 174, st_uid = 0, st_gid = 563167680, st_padding1 = 8, st_rdev = 35082298855, st_atim = {tv_sec = 9435, tv_nsec = 3}, st_mtim = {tv_sec = 35292891964, tv_nsec = 27720}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -8514730172582978310, tv_nsec = 34922906032}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35083572896, st_spare = {34922905968, 35082824367, 1731358551, 1696595459040004541, 9932013901126573306, 2, 0, 34922906032, 206158430240, 34922906064}} [21:13:10.351] restartRedoPtr = 34922905792 [21:13:10.351] restartTli = 8 [21:13:10.351] restartSegNo = [21:13:10.351] xlogRestoreCmd = 0x8361629f8 "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\"" [21:13:10.351] rc = [21:13:10.351] #4 0x0000000000651698 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [21:13:10.351] path = "pg_wal/00000002", '0' , "4\000 A\221!\b\000\000\000\031\375\253\000\000\000\000\000\360\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\000`\a6\b", '\000' , "\3209\275\000\000\000\000\000\300[\275\000\000\000\000\000@F\221!\b\000\000\000y\245\251\000\000\000\000\000\bP\364!\b\000\000\000 \000\000\000\000\000\000\000\340C\221!\b\000\000\000\347\n\235J\207)\000\000\bP\364!\b\000\000\000\bT\364!\b\000\000\000\bX\364!\b\000\000\000\b\\\364!\b\000\000\000\b\220\364!\b\000\000\000\b\224\364!\b\000\000\000\b\230\364!\b\000\000\000"... [21:13:10.351] histfname = "00000003.history\000F\221!\b\000\000\000\257\354\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\372\034\344`\005\232Չ\000\000\000\000\000\000\000" [21:13:10.351] fd = [21:13:10.351] #5 0x0000000000651758 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [21:13:10.351] newestTLI = 2 [21:13:10.351] probeTLI = 3 [21:13:10.351] #6 0x0000000000675a2b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4114 [21:13:10.351] oldtarget = 2 [21:13:10.351] currentTle = 0x0 [21:13:10.351] newtarget = [21:13:10.351] newExpectedTLEs = [21:13:10.351] found = [21:13:10.351] cell = [21:13:10.351] #7 0x0000000000671c83 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3676 [21:13:10.351] startWalReceiver = false [21:13:10.351] streaming_reply_sent = true [21:13:10.351] now = [21:13:10.351] startWalReceiver = [21:13:10.351] oldSource = [21:13:10.351] wait_time = [21:13:10.351] __error = [21:13:10.351] __error = [21:13:10.351] __error = [21:13:10.351] havedata = [21:13:10.351] ptr = [21:13:10.351] tli = [21:13:10.351] __error = [21:13:10.351] latestChunkStart = [21:13:10.351] __error = [21:13:10.351] #8 XLogPageRead (xlogreader=0x836075130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x83615f0b8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [21:13:10.351] private = 0x836075110 [21:13:10.351] emode = 15 [21:13:10.351] targetSegNo = 4 [21:13:10.351] targetPageOff = 98304 [21:13:10.351] r = [21:13:10.351] #9 0x0000000000678972 in ReadPageInternal (state=state@entry=0x836075130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [21:13:10.351] targetSegNo = 4 [21:13:10.351] targetPageOff = 98304 [21:13:10.351] readLen = [21:13:10.351] hdr = [21:13:10.351] err = [21:13:10.351] #10 0x00000000006777e2 in XLogDecodeNextRecord (state=0x836075130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [21:13:10.351] errormsg = 0x821918c98 "" [21:13:10.351] randAccess = [21:13:10.351] decoded = 0x0 [21:13:10.351] RecPtr = 67210816 [21:13:10.351] assembled = false [21:13:10.351] targetPagePtr = 34922903488 [21:13:10.351] readOff = [21:13:10.351] record = [21:13:10.351] gotheader = [21:13:10.351] targetRecOff = 3648 [21:13:10.351] pageHeaderSize = [21:13:10.351] len = [21:13:10.351] total_len = [21:13:10.351] buffer = [21:13:10.351] gotlen = [21:13:10.351] pageHeader = [21:13:10.351] contdata = [21:13:10.351] save_copy = [21:13:10.351] #11 XLogReadAhead (state=0x836075130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [21:13:10.351] result = [21:13:10.351] #12 0x000000000066ef38 in XLogPrefetcherNextBlock (pgsr_private=35267154120, lsn=0x836190a88) at ../src/backend/access/transam/xlogprefetcher.c:490 [21:13:10.351] nonblocking = false [21:13:10.351] record = 0x0 [21:13:10.351] prefetcher = 0x8361610c8 [21:13:10.351] reader = 0x836075130 [21:13:10.351] replaying_lsn = 67210408 [21:13:10.351] #13 0x000000000066eba2 in lrq_prefetch (lrq=0x8361907e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [21:13:10.351] No locals. [21:13:10.351] #14 lrq_complete_lsn (lrq=0x8361907e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [21:13:10.351] No locals. [21:13:10.351] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8361610c8, errmsg=errmsg@entry=0x821918d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [21:13:10.351] replayed_up_to = [21:13:10.351] record = [21:13:10.351] #16 0x00000000006726ca in ReadRecord (xlogprefetcher=0x8361610c8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [21:13:10.351] errormsg = 0x836075940 "" [21:13:10.351] xlogreader = 0x836075130 [21:13:10.351] private = [21:13:10.351] record = [21:13:10.351] #17 0x0000000000672fa9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [21:13:10.351] ru0 = {tv = {tv_sec = 1731358550, tv_usec = 365930}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 943}, ru_maxrss = 26712, ru_ixrss = 6040, ru_idrss = 332, ru_isrss = 128, ru_minflt = 151, 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}} [21:13:10.351] xtime = [21:13:10.351] reachedRecoveryTarget = false [21:13:10.351] replayTLI = 2 [21:13:10.351] record = [21:13:10.351] #18 0x0000000000663943 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [21:13:10.351] wasShutdown = false [21:13:10.351] haveTblspcMap = false [21:13:10.351] haveBackupLabel = true [21:13:10.351] promoted = false [21:13:10.351] didCrash = [21:13:10.351] 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} [21:13:10.351] oldestActiveXID = [21:13:10.351] performedWalRecovery = [21:13:10.351] endOfRecoveryInfo = [21:13:10.351] EndOfLog = [21:13:10.351] EndOfLogTLI = [21:13:10.351] abortedRecPtr = [21:13:10.351] missingContrecPtr = [21:13:10.351] newTLI = [21:13:10.351] Insert = [21:13:10.351] #19 0x0000000000895f5b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [21:13:10.351] No locals. [21:13:10.351] #20 0x000000000088fcb7 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:266 [21:13:10.351] pid = [21:13:10.351] #21 0x0000000000892224 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3733 [21:13:10.351] pid = [21:13:10.351] __error = [21:13:10.351] #22 0x0000000000891e65 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82191daf0) at ../src/backend/postmaster/postmaster.c:1340 [21:13:10.351] userDoption = [21:13:10.351] listen_addr_saved = [21:13:10.351] output_config_variable = [21:13:10.351] opt = [21:13:10.351] status = [21:13:10.351] #23 0x00000000007cb6cc in main (argc=4, argv=0x82191daf0) at ../src/backend/main/main.c:196 [21:13:10.351] do_check_root =