[20:39:41.827] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [20:39:42.225] dumping /tmp/cores/postgres.12201.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [20:39:42.386] [New LWP 101636] [20:39:42.493] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [20:39:42.493] Program terminated with signal SIGQUIT, Quit. [20:39:42.493] Sent by thr_kill() from pid 12201 and user 1003. [20:39:42.493] #0 0x000000082e8bd8fa in _sigprocmask () from /lib/libc.so.7 [20:39:42.552] [20:39:42.552] Thread 1 (LWP 101636): [20:39:42.552] #0 0x000000082e8bd8fa in _sigprocmask () from /lib/libc.so.7 [20:39:42.552] No symbol table info available. [20:39:42.552] #1 0x000000082e8f6f91 in _system () from /lib/libc.so.7 [20:39:42.552] No symbol table info available. [20:39:42.552] #2 0x000000082c4089d3 in ?? () from /lib/libthr.so.3 [20:39:42.552] No symbol table info available. [20:39:42.552] #3 0x0000000000635225 in RestoreArchivedFile (path=path@entry=0x82120e1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x82120e5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [20:39:42.552] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\3404\b\000\000\000\210\346 !\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\3404\b\000\000\0000ƺ6\b\000\000\000Pź6\b\000\000\000Hź6\b\000\000\000H\300\2726\b\000\000\000\000\340\344\000\000\000\000\000\000\020\1775\b\000\000\000\000\020\n\000\000\000\000\000 \335 !\b\000\000\000 \335 !\b", '\000' , "\350\336 !\b\000\000\000h\335 !\b\000\000\000\b\000\000\0000\000\000\000\320\341 "... [20:39:42.552] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\334 !\b\000\000\000`\332 !\b", '\000' , "\240\366\226.\b", '\000' , "\005{\252\000\000\000\000\000\300\331 !\b\000\000\0000\000\000\000\000\000\000\000\210\340 !\b", '\000' , "p\331 !\b\000\000\000S~\252", '\000' , "\005{\252\000\000\000\000\000\210\340 !\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [20:39:42.552] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34915541440, st_mode = 30099, st_padding0 = 170, st_uid = 0, st_gid = 555803072, st_padding1 = 8, st_rdev = 35140109799, st_atim = {tv_sec = 8972, tv_nsec = 3}, st_mtim = {tv_sec = 35295909620, tv_nsec = 30464}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 5784566951696006431, tv_nsec = 34915541424}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35141383840, st_spare = {34915541360, 35140635311, 1725395732, 10123660312383998586, 5784566951696006431, 2, 0, 34915541424, 206158430240, 34915541456}} [20:39:42.552] restartRedoPtr = 34915541184 [20:39:42.552] restartTli = 8 [20:39:42.552] restartSegNo = [20:39:42.552] xlogRestoreCmd = 0x8357ba178 "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\"" [20:39:42.552] rc = [20:39:42.552] #4 0x000000000061c348 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [20:39:42.552] path = "pg_wal/00000002", '0' , "4", '\000' , "8\020\237!\b\000\000\000\001\000\000\000\000\000\000\000\b\264\236!\b\000\000\0008\002y.\b\000\000\000\250\344 !\b\000\000\000\360\343 !\b\000\000\000`\342 !\b", '\000' , "\b@\236!\b\000\000\000 \000\000\000\000\000\000\000\340\343 !\b\000\000\000\347j\266\374%\000\000\000\b@\236!\b\000\000\000\bD\236!\b\000\000\000\bH\236!\b\000\000\000\bL\236!\b\000\000\000\b\200\236!\b\000\000\000\b\204\236!\b\000\000\000\b\210\236!\b\000\000\000"... [20:39:42.552] histfname = "00000003.history\000\346 !\b\000\000\000\017\027\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\037\375M\237\376\350FP\000\000\000\000\000\000\000" [20:39:42.552] fd = [20:39:42.552] #5 0x000000000061c408 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [20:39:42.552] newestTLI = 2 [20:39:42.552] probeTLI = 3 [20:39:42.552] #6 0x00000000006406ab in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209336) at ../src/backend/access/transam/xlogrecovery.c:4126 [20:39:42.552] oldtarget = 2 [20:39:42.552] currentTle = 0x0 [20:39:42.552] newtarget = [20:39:42.552] newExpectedTLEs = [20:39:42.552] found = [20:39:42.552] cell = [20:39:42.552] #7 0x000000000063c893 in WaitForWALToBecomeAvailable (RecPtr=67209360, tliRecPtr=67209336, replayTLI=2, replayLSN=67209336, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [20:39:42.552] startWalReceiver = false [20:39:42.552] streaming_reply_sent = true [20:39:42.552] now = [20:39:42.552] startWalReceiver = [20:39:42.552] oldSource = [20:39:42.552] wait_time = [20:39:42.552] __error = [20:39:42.552] __error = [20:39:42.552] __error = [20:39:42.552] havedata = [20:39:42.552] ptr = [20:39:42.552] tli = [20:39:42.552] __error = [20:39:42.552] latestChunkStart = [20:39:42.552] __error = [20:39:42.552] #8 XLogPageRead (xlogreader=0x8356cc130, targetPagePtr=67207168, reqLen=2192, targetRecPtr=67209336, readBuf=0x8357b6838 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [20:39:42.552] private = 0x8356cc110 [20:39:42.552] emode = 15 [20:39:42.552] targetSegNo = 4 [20:39:42.552] targetPageOff = 98304 [20:39:42.552] r = [20:39:42.552] #9 0x00000000006435f2 in ReadPageInternal (state=state@entry=0x8356cc130, pageptr=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1060 [20:39:42.552] targetSegNo = 4 [20:39:42.552] targetPageOff = 98304 [20:39:42.552] readLen = [20:39:42.552] hdr = [20:39:42.552] err = [20:39:42.552] #10 0x0000000000642462 in XLogDecodeNextRecord (state=0x8356cc130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [20:39:42.552] errormsg = 0x821212c98 "" [20:39:42.552] randAccess = [20:39:42.552] decoded = 0x0 [20:39:42.552] RecPtr = 67209336 [20:39:42.552] assembled = false [20:39:42.552] targetPagePtr = 34915538880 [20:39:42.552] readOff = [20:39:42.552] record = [20:39:42.552] gotheader = [20:39:42.552] targetRecOff = 2168 [20:39:42.552] pageHeaderSize = [20:39:42.552] len = [20:39:42.552] total_len = [20:39:42.552] buffer = [20:39:42.552] gotlen = [20:39:42.552] pageHeader = [20:39:42.552] contdata = [20:39:42.552] save_copy = [20:39:42.552] #11 XLogReadAhead (state=0x8356cc130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [20:39:42.552] result = [20:39:42.552] #12 0x0000000000639b48 in XLogPrefetcherNextBlock (pgsr_private=35257026632, lsn=0x8357e7a58) at ../src/backend/access/transam/xlogprefetcher.c:490 [20:39:42.552] nonblocking = false [20:39:42.552] record = 0x0 [20:39:42.552] prefetcher = 0x8357b8848 [20:39:42.552] reader = 0x8356cc130 [20:39:42.552] replaying_lsn = 67208928 [20:39:42.552] #13 0x00000000006397b2 in lrq_prefetch (lrq=0x8357e77e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [20:39:42.552] No locals. [20:39:42.552] #14 lrq_complete_lsn (lrq=0x8357e77e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [20:39:42.552] No locals. [20:39:42.552] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8357b8848, errmsg=errmsg@entry=0x821212d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [20:39:42.552] replayed_up_to = [20:39:42.552] record = [20:39:42.552] #16 0x000000000063d2da in ReadRecord (xlogprefetcher=0x8357b8848, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [20:39:42.552] errormsg = 0x8356cc940 "" [20:39:42.552] xlogreader = 0x8356cc130 [20:39:42.552] private = [20:39:42.552] record = [20:39:42.552] #17 0x000000000063dbb9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [20:39:42.552] ru0 = {tv = {tv_sec = 1725395731, tv_usec = 922587}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1232}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 146, 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}} [20:39:42.552] xtime = [20:39:42.552] reachedRecoveryTarget = false [20:39:42.552] replayTLI = 2 [20:39:42.552] record = [20:39:42.552] #18 0x000000000062e573 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [20:39:42.552] wasShutdown = false [20:39:42.552] haveTblspcMap = false [20:39:42.552] haveBackupLabel = true [20:39:42.552] promoted = false [20:39:42.552] didCrash = [20:39:42.552] 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} [20:39:42.552] oldestActiveXID = [20:39:42.552] performedWalRecovery = [20:39:42.552] endOfRecoveryInfo = [20:39:42.552] EndOfLog = [20:39:42.552] EndOfLogTLI = [20:39:42.552] abortedRecPtr = [20:39:42.552] missingContrecPtr = [20:39:42.552] newTLI = [20:39:42.552] Insert = [20:39:42.552] #19 0x000000000085a89b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [20:39:42.552] No locals. [20:39:42.552] #20 0x0000000000854607 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 [20:39:42.552] pid = [20:39:42.552] #21 0x0000000000856b64 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [20:39:42.552] pid = [20:39:42.552] __error = [20:39:42.552] #22 0x00000000008567a5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821217d10) at ../src/backend/postmaster/postmaster.c:1338 [20:39:42.552] userDoption = [20:39:42.552] listen_addr_saved = [20:39:42.552] output_config_variable = [20:39:42.552] opt = [20:39:42.552] status = [20:39:42.552] #23 0x000000000079240c in main (argc=4, argv=0x821217d10) at ../src/backend/main/main.c:197 [20:39:42.552] do_check_root =