[02:49:23.821] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [02:49:24.204] dumping /tmp/cores/postgres.14091.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [02:49:24.342] [New LWP 101846] [02:49:24.434] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [02:49:24.434] Program terminated with signal SIGQUIT, Quit. [02:49:24.434] Sent by thr_kill() from pid 14091 and user 1003. [02:49:24.434] #0 0x000000082caa08fa in _sigprocmask () from /lib/libc.so.7 [02:49:24.482] [02:49:24.482] Thread 1 (LWP 101846): [02:49:24.482] #0 0x000000082caa08fa in _sigprocmask () from /lib/libc.so.7 [02:49:24.482] No symbol table info available. [02:49:24.482] #1 0x000000082cad9f91 in _system () from /lib/libc.so.7 [02:49:24.482] No symbol table info available. [02:49:24.482] #2 0x000000082a7049d3 in ?? () from /lib/libthr.so.3 [02:49:24.482] No symbol table info available. [02:49:24.482] #3 0x0000000000635f45 in RestoreArchivedFile (path=path@entry=0x821a1e1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x821a1e5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [02:49:24.482] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t`5\b\000\000\000\210\346\241!\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\000\340\357Z6\b\000\000\000\000\357Z6\b\000\000\000\370\356Z6\b\000\000\000\370\351Z6\b\000\000\000\000\340\344\000\000\000\000\000\000p\3225\b\000\000\000\000\020\n\000\000\000\000\000 ݡ!\b\000\000\000 ݡ!\b", '\000' , "\350ޡ!\b\000\000\000hݡ!\b\000\000\000\b\000\000\0000\000\000\000\320\341\241!"... [02:49:24.482] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260ܡ!\b\000\000\000`ڡ!\b", '\000' , "\240&\265,\b", '\000' , "\025\256\252\000\000\000\000\000\300١!\b\000\000\0000\000\000\000\000\000\000\000\210\340\241!\b", '\000' , "p١!\b\000\000\000c\261\252", '\000' , "\025\256\252\000\000\000\000\000\210\340\241!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [02:49:24.482] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34923995584, st_mode = 43171, st_padding0 = 170, st_uid = 0, st_gid = 564257216, st_padding1 = 8, st_rdev = 35108533735, st_atim = {tv_sec = 14963, tv_nsec = 3}, st_mtim = {tv_sec = 35316664052, tv_nsec = 30464}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -8646723114726437936, tv_nsec = 34923995568}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35109807776, st_spare = {34923995504, 35109059247, 1724121916, 10857946538116517683, 9800020958983113680, 2, 0, 34923995568, 206158430240, 34923995600}} [02:49:24.482] restartRedoPtr = 34923995328 [02:49:24.482] restartTli = 8 [02:49:24.482] restartSegNo = [02:49:24.482] xlogRestoreCmd = 0x835cefb78 "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\"" [02:49:24.482] rc = [02:49:24.482] #4 0x000000000061d078 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [02:49:24.482] path = "pg_wal/00000002", '0' , "4", '\000' , "8\200Q\"\b\000\000\000\001\000\000\000\000\000\000\000\b$Q\"\b\000\000\00082\227,\b\000\000\000\250\344\241!\b\000\000\000\360\343\241!\b\000\000\000`\342\241!\b", '\000' , "\b\260P\"\b\000\000\000 \000\000\000\000\000\000\000\340\343\241!\b\000\000\000\347\352*\274v$\000\000\b\260P\"\b\000\000\000\b\264P\"\b\000\000\000\b\270P\"\b\000\000\000\b\274P\"\b\000\000\000\b\360P\"\b\000\000\000\b\364P\"\b\000\000\000\b\370P\"\b\000\000\000"... [02:49:24.482] histfname = "00000003.history\000\346\241!\b\000\000\000?K\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\320K\222\263#\253\000\210\000\000\000\000\000\000\000" [02:49:24.482] fd = [02:49:24.482] #5 0x000000000061d138 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [02:49:24.482] newestTLI = 2 [02:49:24.482] probeTLI = 3 [02:49:24.482] #6 0x000000000064136b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209336) at ../src/backend/access/transam/xlogrecovery.c:4125 [02:49:24.482] oldtarget = 2 [02:49:24.482] currentTle = 0x0 [02:49:24.482] newtarget = [02:49:24.482] newExpectedTLEs = [02:49:24.482] found = [02:49:24.482] cell = [02:49:24.482] #7 0x000000000063d553 in WaitForWALToBecomeAvailable (RecPtr=67209360, tliRecPtr=67209336, replayTLI=2, replayLSN=67209336, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3686 [02:49:24.482] startWalReceiver = false [02:49:24.482] streaming_reply_sent = true [02:49:24.482] now = [02:49:24.482] startWalReceiver = [02:49:24.482] oldSource = [02:49:24.482] wait_time = [02:49:24.482] __error = [02:49:24.482] __error = [02:49:24.482] __error = [02:49:24.482] havedata = [02:49:24.482] ptr = [02:49:24.482] tli = [02:49:24.482] __error = [02:49:24.482] latestChunkStart = [02:49:24.482] __error = [02:49:24.482] #8 XLogPageRead (xlogreader=0x835c02130, targetPagePtr=67207168, reqLen=2192, targetRecPtr=67209336, readBuf=0x835cec238 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3363 [02:49:24.482] private = 0x835c02110 [02:49:24.482] emode = 15 [02:49:24.482] targetSegNo = 4 [02:49:24.482] targetPageOff = 98304 [02:49:24.482] r = [02:49:24.482] #9 0x00000000006442b2 in ReadPageInternal (state=state@entry=0x835c02130, pageptr=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1060 [02:49:24.482] targetSegNo = 4 [02:49:24.482] targetPageOff = 98304 [02:49:24.482] readLen = [02:49:24.482] hdr = [02:49:24.482] err = [02:49:24.482] #10 0x0000000000643122 in XLogDecodeNextRecord (state=0x835c02130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [02:49:24.482] errormsg = 0x821a22c98 "" [02:49:24.482] randAccess = [02:49:24.482] decoded = 0x0 [02:49:24.482] RecPtr = 67209336 [02:49:24.482] assembled = false [02:49:24.482] targetPagePtr = 34923993024 [02:49:24.482] readOff = [02:49:24.482] record = [02:49:24.482] gotheader = [02:49:24.482] targetRecOff = 2168 [02:49:24.482] pageHeaderSize = [02:49:24.482] len = [02:49:24.482] total_len = [02:49:24.482] buffer = [02:49:24.482] gotlen = [02:49:24.482] pageHeader = [02:49:24.482] contdata = [02:49:24.482] save_copy = [02:49:24.482] #11 XLogReadAhead (state=0x835c02130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [02:49:24.482] result = [02:49:24.482] #12 0x000000000063a868 in XLogPrefetcherNextBlock (pgsr_private=35262489160, lsn=0x835d1d618) at ../src/backend/access/transam/xlogprefetcher.c:490 [02:49:24.482] nonblocking = false [02:49:24.482] record = 0x0 [02:49:24.482] prefetcher = 0x835cee248 [02:49:24.482] reader = 0x835c02130 [02:49:24.482] replaying_lsn = 67208928 [02:49:24.482] #13 0x000000000063a4d2 in lrq_prefetch (lrq=0x835d1d3a8) at ../src/backend/access/transam/xlogprefetcher.c:252 [02:49:24.482] No locals. [02:49:24.482] #14 lrq_complete_lsn (lrq=0x835d1d3a8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [02:49:24.482] No locals. [02:49:24.482] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835cee248, errmsg=errmsg@entry=0x821a22d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [02:49:24.482] replayed_up_to = [02:49:24.482] record = [02:49:24.482] #16 0x000000000063df9a in ReadRecord (xlogprefetcher=0x835cee248, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3163 [02:49:24.482] errormsg = 0x835c02940 "" [02:49:24.482] xlogreader = 0x835c02130 [02:49:24.482] private = [02:49:24.482] record = [02:49:24.482] #17 0x000000000063e879 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [02:49:24.482] ru0 = {tv = {tv_sec = 1724121915, tv_usec = 879823}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1252}, 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 = 2}} [02:49:24.482] xtime = [02:49:24.482] reachedRecoveryTarget = false [02:49:24.482] replayTLI = 2 [02:49:24.482] record = [02:49:24.482] #18 0x000000000062f293 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [02:49:24.482] wasShutdown = false [02:49:24.482] haveTblspcMap = false [02:49:24.482] haveBackupLabel = true [02:49:24.482] promoted = false [02:49:24.482] didCrash = [02:49:24.482] 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} [02:49:24.482] oldestActiveXID = [02:49:24.482] performedWalRecovery = [02:49:24.482] endOfRecoveryInfo = [02:49:24.482] EndOfLog = [02:49:24.482] EndOfLogTLI = [02:49:24.482] abortedRecPtr = [02:49:24.482] missingContrecPtr = [02:49:24.482] newTLI = [02:49:24.482] Insert = [02:49:24.482] #19 0x000000000085e84b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [02:49:24.482] No locals. [02:49:24.482] #20 0x00000000008585b7 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 [02:49:24.482] pid = [02:49:24.482] #21 0x000000000085ab14 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3730 [02:49:24.482] pid = [02:49:24.482] __error = [02:49:24.482] #22 0x000000000085a755 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821a27e18) at ../src/backend/postmaster/postmaster.c:1338 [02:49:24.482] userDoption = [02:49:24.482] listen_addr_saved = [02:49:24.482] output_config_variable = [02:49:24.482] opt = [02:49:24.482] status = [02:49:24.482] #23 0x00000000007940bc in main (argc=4, argv=0x821a27e18) at ../src/backend/main/main.c:197 [02:49:24.482] do_check_root =