[18:06:26.618] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [18:06:26.963] dumping /tmp/cores/postgres.13060.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [18:06:27.084] [New LWP 101730] [18:06:27.161] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [18:06:27.161] Program terminated with signal SIGQUIT, Quit. [18:06:27.161] Sent by thr_kill() from pid 13060 and user 1003. [18:06:27.161] #0 0x000000082ce688fa in _sigprocmask () from /lib/libc.so.7 [18:06:27.205] [18:06:27.205] Thread 1 (LWP 101730): [18:06:27.205] #0 0x000000082ce688fa in _sigprocmask () from /lib/libc.so.7 [18:06:27.205] No symbol table info available. [18:06:27.205] #1 0x000000082cea1f91 in _system () from /lib/libc.so.7 [18:06:27.205] No symbol table info available. [18:06:27.205] #2 0x000000082b7539d3 in ?? () from /lib/libthr.so.3 [18:06:27.205] No symbol table info available. [18:06:27.205] #3 0x0000000000667425 in RestoreArchivedFile (path=path@entry=0x8215961d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8215965d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [18:06:27.205] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\3405\b\000\000\000\210fY!\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\3405\b\000\000\000(T\3736\b\000\000\000HS\3736\b\000\000\000@S\3736\b\000\000\000@N\3736\b\000\000\000\000\340\344\000\000\000\000\000\000\000\2336\b\000\000\000\000\020\n\000\000\000\000\000 ]Y!\b\000\000\000 ]Y!\b", '\000' , "\350^Y!\b\000\000\000h]Y!\b\000\000\000\b\000\000\0000\000\000\000"... [18:06:27.205] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\\Y!\b\000\000\000`ZY!\b", '\000' , "\240\246\361,\b", '\000' , "婭\000\000\000\000\000\300YY!\b\000\000\0000\000\000\000\000\000\000\000\210`Y!\b", '\000' , "pYY!\b\000\000\0003\255\255", '\000' , "婭\000\000\000\000\000\210`Y!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [18:06:27.205] stat_buf = {st_dev = 67117056, st_ino = 2, st_nlink = 34919244224, st_mode = 42099, st_padding0 = 173, st_uid = 0, st_gid = 559505728, st_padding1 = 8, st_rdev = 0, st_atim = {tv_sec = 10996, tv_nsec = 3}, st_mtim = {tv_sec = 35310587892, tv_nsec = 28672}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -3064033044810694655}, st_birthtim = {tv_sec = -5447894529776186116, tv_nsec = 34919244208}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35113772704, st_spare = {34919244144, 35113024175, 1726336940, 13113244525215780552, 12998849543933365500, 2, 0, 34919244208, 206158430240, 34919244240}} [18:06:27.205] restartRedoPtr = 34919243968 [18:06:27.205] restartTli = 8 [18:06:27.205] restartSegNo = [18:06:27.205] xlogRestoreCmd = 0x8369796f8 "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\"" [18:06:27.205] rc = [18:06:27.205] #4 0x000000000064e4b8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [18:06:27.205] path = "pg_wal/00000002", '0' , "4", '\000' , "8\020\226!\b\000\000\000\001\000\000\000\000\000\000\000\b\264\225!\b\000\000\0008\262\323,\b\000\000\000\250dY!\b\000\000\000\360cY!\b\000\000\000`bY!\b", '\000' , "\b@\225!\b\000\000\000 \000\000\000\000\000\000\000\340cY!\b\000\000\000\347\n\273\027\275)\000\000\b@\225!\b\000\000\000\bD\225!\b\000\000\000\bH\225!\b\000\000\000\bL\225!\b\000\000\000\b\200\225!\b\000\000\000\b\204\225!\b\000\000\000\b\210\225!\b\000\000\000"... [18:06:27.205] histfname = "00000003.history\000\214\345\022\3120e\264\000\000\000\000\000\000\000\000\240\246\361,\b\000\000\000\000\366\2578\b\000\000\000@fY!\b\000\000\000\272_\336,\b\000\000" [18:06:27.205] fd = [18:06:27.205] #5 0x000000000064e578 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [18:06:27.205] newestTLI = 2 [18:06:27.205] probeTLI = 3 [18:06:27.205] #6 0x00000000006728ab in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210776) at ../src/backend/access/transam/xlogrecovery.c:4125 [18:06:27.205] oldtarget = 2 [18:06:27.205] currentTle = 0x0 [18:06:27.205] newtarget = [18:06:27.205] newExpectedTLEs = [18:06:27.205] found = [18:06:27.205] cell = [18:06:27.205] #7 0x000000000066ea93 in WaitForWALToBecomeAvailable (RecPtr=67117056, tliRecPtr=67210776, replayTLI=2, replayLSN=67210776, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [18:06:27.205] startWalReceiver = false [18:06:27.205] streaming_reply_sent = false [18:06:27.205] now = [18:06:27.205] startWalReceiver = [18:06:27.205] oldSource = [18:06:27.205] wait_time = [18:06:27.205] __error = [18:06:27.205] __error = [18:06:27.205] __error = [18:06:27.205] havedata = [18:06:27.205] ptr = [18:06:27.205] tli = [18:06:27.205] __error = [18:06:27.205] latestChunkStart = [18:06:27.205] __error = [18:06:27.205] #8 XLogPageRead (xlogreader=0x83688b130, targetPagePtr=67108864, reqLen=8192, targetRecPtr=67210776, readBuf=0x836975db8 "\026\321\005") at ../src/backend/access/transam/xlogrecovery.c:3364 [18:06:27.205] private = 0x83688b110 [18:06:27.205] emode = 15 [18:06:27.205] targetSegNo = 4 [18:06:27.205] targetPageOff = 0 [18:06:27.205] r = [18:06:27.205] #9 0x0000000000675776 in ReadPageInternal (state=state@entry=0x83688b130, pageptr=67207168, reqLen=3632) at ../src/backend/access/transam/xlogreader.c:1040 [18:06:27.205] targetSegmentPtr = 67108864 [18:06:27.205] targetSegNo = 4 [18:06:27.205] targetPageOff = 98304 [18:06:27.205] readLen = [18:06:27.205] hdr = [18:06:27.205] err = [18:06:27.205] #10 0x0000000000674662 in XLogDecodeNextRecord (state=0x83688b130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [18:06:27.205] errormsg = 0x82159ac98 "" [18:06:27.205] randAccess = [18:06:27.205] decoded = 0x0 [18:06:27.205] RecPtr = 67210776 [18:06:27.205] assembled = false [18:06:27.205] targetPagePtr = 34919241664 [18:06:27.205] readOff = [18:06:27.205] record = [18:06:27.205] gotheader = [18:06:27.205] targetRecOff = 3608 [18:06:27.205] pageHeaderSize = [18:06:27.205] len = [18:06:27.205] total_len = [18:06:27.205] buffer = [18:06:27.205] gotlen = [18:06:27.205] pageHeader = [18:06:27.205] contdata = [18:06:27.205] save_copy = [18:06:27.205] #11 XLogReadAhead (state=0x83688b130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [18:06:27.205] result = [18:06:27.205] #12 0x000000000066bd48 in XLogPrefetcherNextBlock (pgsr_private=35275636168, lsn=0x8369a5ec8) at ../src/backend/access/transam/xlogprefetcher.c:490 [18:06:27.205] nonblocking = false [18:06:27.205] record = 0x0 [18:06:27.205] prefetcher = 0x836977dc8 [18:06:27.205] reader = 0x83688b130 [18:06:27.205] replaying_lsn = 67210368 [18:06:27.205] #13 0x000000000066b9b2 in lrq_prefetch (lrq=0x8369a5c28) at ../src/backend/access/transam/xlogprefetcher.c:252 [18:06:27.205] No locals. [18:06:27.205] #14 lrq_complete_lsn (lrq=0x8369a5c28, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [18:06:27.205] No locals. [18:06:27.205] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836977dc8, errmsg=errmsg@entry=0x82159ad60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [18:06:27.205] replayed_up_to = [18:06:27.205] record = [18:06:27.205] #16 0x000000000066f4da in ReadRecord (xlogprefetcher=0x836977dc8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [18:06:27.205] errormsg = 0x83688b940 "" [18:06:27.205] xlogreader = 0x83688b130 [18:06:27.205] private = [18:06:27.205] record = [18:06:27.205] #17 0x000000000066fdb9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [18:06:27.205] ru0 = {tv = {tv_sec = 1726336939, tv_usec = 817435}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 994}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 148, 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 = 3}} [18:06:27.205] xtime = [18:06:27.205] reachedRecoveryTarget = false [18:06:27.205] replayTLI = 2 [18:06:27.205] record = [18:06:27.205] #18 0x0000000000660773 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [18:06:27.205] wasShutdown = false [18:06:27.205] haveTblspcMap = false [18:06:27.205] haveBackupLabel = true [18:06:27.205] promoted = false [18:06:27.205] didCrash = [18:06:27.205] 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} [18:06:27.205] oldestActiveXID = [18:06:27.205] performedWalRecovery = [18:06:27.205] endOfRecoveryInfo = [18:06:27.205] EndOfLog = [18:06:27.205] EndOfLogTLI = [18:06:27.205] abortedRecPtr = [18:06:27.205] missingContrecPtr = [18:06:27.205] newTLI = [18:06:27.205] Insert = [18:06:27.205] #19 0x000000000088d14b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [18:06:27.205] No locals. [18:06:27.205] #20 0x0000000000886eb7 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 [18:06:27.205] pid = [18:06:27.205] #21 0x0000000000889414 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [18:06:27.205] pid = [18:06:27.205] __error = [18:06:27.205] #22 0x0000000000889055 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8215a0378) at ../src/backend/postmaster/postmaster.c:1338 [18:06:27.205] userDoption = [18:06:27.205] listen_addr_saved = [18:06:27.205] output_config_variable = [18:06:27.205] opt = [18:06:27.205] status = [18:06:27.205] #23 0x00000000007c47ec in main (argc=4, argv=0x8215a0378) at ../src/backend/main/main.c:197 [18:06:27.205] do_check_root =