[20:08:34.589] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [20:08:35.049] dumping /tmp/cores/postgres.17440.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [20:08:35.202] [New LWP 100164] [20:08:35.301] Core was generated by `postgres: cascading_standby: startup recovering 000000020000000000000006'. [20:08:35.301] Program terminated with signal SIGQUIT, Quit. [20:08:35.301] Sent by thr_kill() from pid 17440 and user 1003. [20:08:35.301] #0 0x000000082a72d26a in _sigprocmask () from /lib/libc.so.7 [20:08:35.348] [20:08:35.348] Thread 1 (LWP 100164): [20:08:35.348] #0 0x000000082a72d26a in _sigprocmask () from /lib/libc.so.7 [20:08:35.348] No symbol table info available. [20:08:35.348] #1 0x000000082a768a60 in _system () from /lib/libc.so.7 [20:08:35.348] No symbol table info available. [20:08:35.348] #2 0x000000082a1e70f3 in ?? () from /lib/libthr.so.3 [20:08:35.348] No symbol table info available. [20:08:35.348] #3 0x0000000000611006 in RestoreArchivedFile (path=path@entry=0x8212691d0 "pg_wal/00000002", '0' , "6", xlogfname=xlogfname@entry=0x8212695d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=false) at ../src/backend/access/transam/xlogarchive.c:177 [20:08:35.348] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\270\240\264\000\000\000\000\000\340\214&!\b\000\000\000R|p*\b\000\000\000\340\214&!\b\000\000\000\220\244\035*\b\000\000\000\260\351|*\b", '\000' , "P\215&!\b\000\000\000Y}p*\b\000\000\000\260\351|*\b", '\000' , "`\003q*\b", '\000' , "\360\000~*\b\000\000\000\b\000\000\0000\000\000\000\240\221&!\b\000\000\000\240\220&!\b\000\000\000\277dc*\b\000\000\000\002\000\000\000\000\000\000\000\360\000~*\b\000\000\000p\215&!\b\000\000\000"... [20:08:35.348] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\0000\000\000\000\000\000\000\0008\220&!\b\000\000\000d\211&!\b", '\000' , "\020\211&!\b\000\000\000\2134\247\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\001\220&!\b\000\000\0008\220&!\b\000\000\000x1\247\000\000\000\000\000\373\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\373\377\377\377\000\000\000\000\001\217&!\b\000\000\000\240\217&!\b\000\000\000\005\000\000\000\000\000\000\000\300\211&!\b\000\000\000\2663\247\000\000\000\000\000\002", '\000' ... [20:08:35.348] stat_buf = {st_dev = 2, st_ino = 11837624, st_nlink = 2, st_mode = 37312, st_padding0 = 8486, st_uid = 8, st_gid = 10955793, st_padding1 = 0, st_rdev = 18374403900871474943, st_atim = {tv_sec = -9187201950435737472, tv_nsec = 34915914064}, st_mtim = {tv_sec = 3, tv_nsec = 11872328}, st_ctim = {tv_sec = 35319189388, tv_nsec = 34915914048}, st_birthtim = {tv_sec = 35071886531, tv_nsec = 0}, st_size = -1225556973609549823, st_blocks = 7920063783411288623, st_blksize = 78, st_flags = 0, st_gen = 2, st_spare = {0, 34915914160, 35072646640, 34915914112, 35071886333, 1710533166, 13291048586544570795, 206158430224, 34915914144, 206158430240}} [20:08:35.348] restartRedoPtr = [20:08:35.348] restartTli = [20:08:35.348] restartSegNo = [20:08:35.348] xlogRestoreCmd = 0x8351ba428 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/035_standby_logical_decoding/data/t_035_standby_logical_decoding_standby_data/archives/00000003.history\" \"pg_wal/RECOVERYHISTORY\"" [20:08:35.348] rc = [20:08:35.348] #4 0x00000000005f8c58 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [20:08:35.348] path = "pg_wal/00000002", '0' , "6\000\000\000\000\000\000\000\000\000\220\300\2113\b\000\000\000\330X\2004\b", '\000' , "\020\226&!\b\000\000\0004\247y*\b\000\000\000\000\020\000\000\000\000\000\000@", '\000' , "9\000\000\000\000\000\000\000\277\226&!\b\000\000\000g\226&!\b\000\000\000\001\000\000\000\000\000\000\000\215\200\216\214\307!\000\000\317\317\317\317\317\311\377\3770000000600000000\b\213&!\b\000\000\000\000\000\n", '\000' , "\020\000\000\000\000\000\000"... [20:08:35.348] histfname = "00000003.history\000\226&!\b\000\000\000\377\377\377\377\377\377\377\377P\226&!\b\000\000\000Br\212\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000" [20:08:35.348] fd = [20:08:35.348] #5 0x00000000005f8d18 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [20:08:35.348] newestTLI = 2 [20:08:35.348] probeTLI = 3 [20:08:35.348] #6 0x000000000061c38b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=105158216) at ../src/backend/access/transam/xlogrecovery.c:4113 [20:08:35.348] oldtarget = 2 [20:08:35.348] currentTle = 0x0 [20:08:35.348] newtarget = [20:08:35.348] newExpectedTLEs = [20:08:35.348] found = [20:08:35.348] cell = [20:08:35.348] #7 0x00000000006185d5 in WaitForWALToBecomeAvailable (RecPtr=105158240, tliRecPtr=105158216, replayTLI=3, replayLSN=34915911600, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3674 [20:08:35.348] startWalReceiver = false [20:08:35.348] streaming_reply_sent = true [20:08:35.348] now = [20:08:35.348] startWalReceiver = [20:08:35.348] oldSource = [20:08:35.348] wait_time = [20:08:35.348] __error = [20:08:35.348] __error = [20:08:35.348] __error = [20:08:35.348] havedata = [20:08:35.348] ptr = [20:08:35.348] tli = [20:08:35.348] __error = [20:08:35.348] latestChunkStart = [20:08:35.348] __error = [20:08:35.348] #8 XLogPageRead (xlogreader=0x8350cd0b0, targetPagePtr=105152512, reqLen=5728, targetRecPtr=105158216, readBuf=0x8351b6bf8 "\024\321\006") at ../src/backend/access/transam/xlogrecovery.c:3351 [20:08:35.348] private = 0x8350cd090 [20:08:35.348] emode = 15 [20:08:35.348] targetSegNo = 6 [20:08:35.348] targetPageOff = 4489216 [20:08:35.348] r = [20:08:35.348] #9 0x000000000061f327 in ReadPageInternal (state=state@entry=0x8350cd0b0, pageptr=34915911600, pageptr@entry=105152512, reqLen=5728) at ../src/backend/access/transam/xlogreader.c:1060 [20:08:35.348] targetSegNo = 6 [20:08:35.348] targetPageOff = 4489216 [20:08:35.348] readLen = [20:08:35.348] hdr = [20:08:35.348] err = [20:08:35.348] #10 0x000000000061e145 in XLogDecodeNextRecord (state=0x8350cd0b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [20:08:35.348] randAccess = [20:08:35.348] decoded = 0x0 [20:08:35.348] RecPtr = 105158216 [20:08:35.348] assembled = false [20:08:35.348] targetPagePtr = 105152512 [20:08:35.348] readOff = [20:08:35.348] record = [20:08:35.348] gotheader = [20:08:35.348] targetRecOff = 5704 [20:08:35.348] pageHeaderSize = [20:08:35.348] len = [20:08:35.348] errormsg = [20:08:35.348] total_len = [20:08:35.348] buffer = [20:08:35.348] gotlen = [20:08:35.348] pageHeader = [20:08:35.348] contdata = [20:08:35.348] save_copy = [20:08:35.348] #11 XLogReadAhead (state=0x8350cd0b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [20:08:35.348] result = [20:08:35.348] #12 0x000000000061586c in XLogPrefetcherNextBlock (pgsr_private=35249774304, lsn=0x8351e6d28) at ../src/backend/access/transam/xlogprefetcher.c:492 [20:08:35.348] nonblocking = false [20:08:35.348] record = 0x0 [20:08:35.348] prefetcher = 0x8350cdee0 [20:08:35.348] reader = 0x8350cd0b0 [20:08:35.348] replaying_lsn = 105158168 [20:08:35.348] #13 0x00000000006154fa in lrq_prefetch (lrq=0x8351e6ca8) at ../src/backend/access/transam/xlogprefetcher.c:252 [20:08:35.348] No locals. [20:08:35.348] #14 lrq_complete_lsn (lrq=0x8351e6ca8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [20:08:35.348] No locals. [20:08:35.348] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8350cdee0, errmsg=errmsg@entry=0x82126dd60) at ../src/backend/access/transam/xlogprefetcher.c:1037 [20:08:35.348] replayed_up_to = [20:08:35.348] record = [20:08:35.348] #16 0x000000000061900c in ReadRecord (xlogprefetcher=0x8350cdee0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3151 [20:08:35.348] errormsg = 0x8350cd8c0 "" [20:08:35.348] xlogreader = 0x8350cd0b0 [20:08:35.348] private = [20:08:35.348] record = [20:08:35.348] #17 0x00000000006198e9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [20:08:35.348] ru0 = {tv = {tv_sec = 1710533162, tv_usec = 668287}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 908}, 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 = 5, ru_nivcsw = 2}} [20:08:35.348] xtime = [20:08:35.348] reachedRecoveryTarget = false [20:08:35.348] replayTLI = 2 [20:08:35.348] record = [20:08:35.348] #18 0x000000000060a599 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5723 [20:08:35.348] promoted = false [20:08:35.348] didCrash = [20:08:35.348] wasShutdown = [20:08:35.348] haveTblspcMap = [20:08:35.348] haveBackupLabel = [20:08:35.348] checkPoint = {redo = 100664816, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = 1, oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 769} [20:08:35.348] oldestActiveXID = [20:08:35.348] performedWalRecovery = [20:08:35.348] endOfRecoveryInfo = [20:08:35.348] EndOfLog = [20:08:35.348] EndOfLogTLI = [20:08:35.348] abortedRecPtr = [20:08:35.348] missingContrecPtr = [20:08:35.348] newTLI = [20:08:35.348] Insert = [20:08:35.348] #19 0x0000000000833a50 in StartupProcessMain () at ../src/backend/postmaster/startup.c:252 [20:08:35.348] No locals. [20:08:35.348] #20 0x00000000008292b6 in AuxiliaryProcessMain (auxtype=auxtype@entry=B_STARTUP) at ../src/backend/postmaster/auxprocess.c:91 [20:08:35.348] No locals. [20:08:35.348] #21 0x000000000082e7ec in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:5336 [20:08:35.348] pid = [20:08:35.348] #22 0x000000000082e286 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821272658) at ../src/backend/postmaster/postmaster.c:1470 [20:08:35.348] userDoption = [20:08:35.348] listen_addr_saved = false [20:08:35.348] output_config_variable = [20:08:35.348] opt = [20:08:35.348] status = [20:08:35.348] #23 0x000000000076b7f5 in main (argc=4, argv=0x821272658) at ../src/backend/main/main.c:197 [20:08:35.348] do_check_root =