[15:00:35.382] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:00:35.721] dumping /tmp/cores/postgres.14046.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:00:35.847] [New LWP 101842] [15:00:35.927] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [15:00:35.927] Program terminated with signal SIGQUIT, Quit. [15:00:35.927] Sent by thr_kill() from pid 14046 and user 1003. [15:00:35.927] #0 0x000000082ba078fa in _sigprocmask () from /lib/libc.so.7 [15:00:35.975] [15:00:35.975] Thread 1 (LWP 101842): [15:00:35.975] #0 0x000000082ba078fa in _sigprocmask () from /lib/libc.so.7 [15:00:35.975] No symbol table info available. [15:00:35.975] #1 0x000000082ba40f91 in _system () from /lib/libc.so.7 [15:00:35.975] No symbol table info available. [15:00:35.975] #2 0x000000082b0999d3 in ?? () from /lib/libthr.so.3 [15:00:35.975] No symbol table info available. [15:00:35.975] #3 0x00000000006352d5 in RestoreArchivedFile (path=path@entry=0x82162f1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x82162f5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [15:00:35.975] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\3003\b\000\000\000\210\366b!\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\3003\b\000\000\000\340!\2724\b\000\000\000\000!\2724\b\000\000\000\370 \2724\b\000\000\000\370\033\2724\b\000\000\000\000\340\344\000\000\000\000\000\000p64\b\000\000\000\000\020\n\000\000\000\000\000 \355b!\b\000\000\000 \355b!\b", '\000' , "\350\356b!\b\000\000\000h\355b!\b\000\000\000\b\000\000\0000\000\000\000"... [15:00:35.975] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\354b!\b\000\000\000`\352b!\b", '\000' , "\240\226\253+\b", '\000' , "E\177\252\000\000\000\000\000\300\351b!\b\000\000\0000\000\000\000\000\000\000\000\210\360b!\b", '\000' , "p\351b!\b\000\000\000\223\202\252", '\000' , "E\177\252\000\000\000\000\000\210\360b!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [15:00:35.975] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34919870912, st_mode = 31187, st_padding0 = 170, st_uid = 0, st_gid = 560132544, st_padding1 = 8, st_rdev = 35091129831, st_atim = {tv_sec = 13451, tv_nsec = 3}, st_mtim = {tv_sec = 35278403316, tv_nsec = 30464}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -5893553669134330041, tv_nsec = 34919870896}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35092403872, st_spare = {34919870832, 35091655343, 1725029758, 6389692584405208792, 12553190404575221575, 2, 0, 34919870896, 206158430240, 34919870928}} [15:00:35.975] restartRedoPtr = 34919870656 [15:00:35.975] restartTli = 8 [15:00:35.975] restartSegNo = [15:00:35.975] xlogRestoreCmd = 0x83432fb78 "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\"" [15:00:35.975] rc = [15:00:35.975] #4 0x000000000061c3f8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [15:00:35.975] path = "pg_wal/00000002", '0' , "4", '\000' , "8\000\025\"\b\000\000\000\001\000\000\000\000\000\000\000\b\244\024\"\b\000\000\0008\242\215+\b\000\000\000\250\364b!\b\000\000\000\360\363b!\b\000\000\000`\362b!\b", '\000' , "\b0\024\"\b\000\000\000 \000\000\000\000\000\000\000\340\363b!\b\000\000\000\347\212Q8\336\v\000\000\b0\024\"\b\000\000\000\b4\024\"\b\000\000\000\b8\024\"\b\000\000\000\b<\024\"\b\000\000\000\bp\024\"\b\000\000\000\bt\024\"\b\000\000\000\bx\024\"\b\000\000\000"... [15:00:35.975] histfname = "00000003.history\000\366b!\b\000\000\000\317\027\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000GW\214\316)\3445\256\000\000\000\000\000\000\000" [15:00:35.975] fd = [15:00:35.975] #5 0x000000000061c4b8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [15:00:35.975] newestTLI = 2 [15:00:35.975] probeTLI = 3 [15:00:35.975] #6 0x00000000006406fb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67212448) at ../src/backend/access/transam/xlogrecovery.c:4125 [15:00:35.975] oldtarget = 2 [15:00:35.975] currentTle = 0x0 [15:00:35.975] newtarget = [15:00:35.975] newExpectedTLEs = [15:00:35.975] found = [15:00:35.975] cell = [15:00:35.975] #7 0x000000000063c8e3 in WaitForWALToBecomeAvailable (RecPtr=67212472, tliRecPtr=67212448, replayTLI=2, replayLSN=67212448, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3686 [15:00:35.975] startWalReceiver = false [15:00:35.975] streaming_reply_sent = true [15:00:35.975] now = [15:00:35.975] startWalReceiver = [15:00:35.975] oldSource = [15:00:35.975] wait_time = [15:00:35.975] __error = [15:00:35.975] __error = [15:00:35.975] __error = [15:00:35.975] havedata = [15:00:35.975] ptr = [15:00:35.975] tli = [15:00:35.975] __error = [15:00:35.975] latestChunkStart = [15:00:35.975] __error = [15:00:35.975] #8 XLogPageRead (xlogreader=0x834242130, targetPagePtr=67207168, reqLen=5304, targetRecPtr=67212448, readBuf=0x83432c238 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3363 [15:00:35.975] private = 0x834242110 [15:00:35.975] emode = 15 [15:00:35.975] targetSegNo = 4 [15:00:35.975] targetPageOff = 98304 [15:00:35.975] r = [15:00:35.975] #9 0x0000000000643642 in ReadPageInternal (state=state@entry=0x834242130, pageptr=67207168, reqLen=5304) at ../src/backend/access/transam/xlogreader.c:1060 [15:00:35.975] targetSegNo = 4 [15:00:35.975] targetPageOff = 98304 [15:00:35.975] readLen = [15:00:35.975] hdr = [15:00:35.975] err = [15:00:35.975] #10 0x00000000006424b2 in XLogDecodeNextRecord (state=0x834242130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [15:00:35.975] errormsg = 0x821633c98 "" [15:00:35.975] randAccess = [15:00:35.975] decoded = 0x0 [15:00:35.975] RecPtr = 67212448 [15:00:35.975] assembled = false [15:00:35.975] targetPagePtr = 34919868352 [15:00:35.975] readOff = [15:00:35.975] record = [15:00:35.975] gotheader = [15:00:35.975] targetRecOff = 5280 [15:00:35.975] pageHeaderSize = [15:00:35.975] len = [15:00:35.975] total_len = [15:00:35.975] buffer = [15:00:35.975] gotlen = [15:00:35.975] pageHeader = [15:00:35.975] contdata = [15:00:35.975] save_copy = [15:00:35.975] #11 XLogReadAhead (state=0x834242130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [15:00:35.975] result = [15:00:35.975] #12 0x0000000000639bf8 in XLogPrefetcherNextBlock (pgsr_private=35235488328, lsn=0x83435da98) at ../src/backend/access/transam/xlogprefetcher.c:490 [15:00:35.975] nonblocking = false [15:00:35.975] record = 0x0 [15:00:35.975] prefetcher = 0x83432e248 [15:00:35.975] reader = 0x834242130 [15:00:35.975] replaying_lsn = 67212040 [15:00:35.975] #13 0x0000000000639862 in lrq_prefetch (lrq=0x83435d828) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:00:35.975] No locals. [15:00:35.975] #14 lrq_complete_lsn (lrq=0x83435d828, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:00:35.975] No locals. [15:00:35.975] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x83432e248, errmsg=errmsg@entry=0x821633d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [15:00:35.975] replayed_up_to = [15:00:35.975] record = [15:00:35.975] #16 0x000000000063d32a in ReadRecord (xlogprefetcher=0x83432e248, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3163 [15:00:35.975] errormsg = 0x834242940 "" [15:00:35.975] xlogreader = 0x834242130 [15:00:35.975] private = [15:00:35.975] record = [15:00:35.975] #17 0x000000000063dc09 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [15:00:35.975] ru0 = {tv = {tv_sec = 1725029757, tv_usec = 781201}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1003}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, 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 = 13, ru_nivcsw = 2}} [15:00:35.975] xtime = [15:00:35.975] reachedRecoveryTarget = false [15:00:35.975] replayTLI = 2 [15:00:35.975] record = [15:00:35.975] #18 0x000000000062e623 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [15:00:35.975] wasShutdown = false [15:00:35.975] haveTblspcMap = false [15:00:35.975] haveBackupLabel = true [15:00:35.975] promoted = false [15:00:35.975] didCrash = [15:00:35.975] 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 = 740} [15:00:35.975] oldestActiveXID = [15:00:35.975] performedWalRecovery = [15:00:35.975] endOfRecoveryInfo = [15:00:35.975] EndOfLog = [15:00:35.975] EndOfLogTLI = [15:00:35.975] abortedRecPtr = [15:00:35.975] missingContrecPtr = [15:00:35.975] newTLI = [15:00:35.975] Insert = [15:00:35.975] #19 0x000000000085a86b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:00:35.975] No locals. [15:00:35.975] #20 0x00000000008545d7 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 [15:00:35.975] pid = [15:00:35.975] #21 0x0000000000856b34 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3730 [15:00:35.975] pid = [15:00:35.975] __error = [15:00:35.975] #22 0x0000000000856775 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8216386a8) at ../src/backend/postmaster/postmaster.c:1338 [15:00:35.975] userDoption = [15:00:35.975] listen_addr_saved = [15:00:35.975] output_config_variable = [15:00:35.975] opt = [15:00:35.975] status = [15:00:35.975] #23 0x000000000079243c in main (argc=4, argv=0x8216386a8) at ../src/backend/main/main.c:197 [15:00:35.975] do_check_root =