[08:00:33.175] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [08:00:33.467] dumping /tmp/cores/postgres.20440.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [08:00:33.591] [New LWP 101787] [08:00:33.675] Core was generated by `postgres: cascading_standby: startup recovering 000000020000000000000006'. [08:00:33.675] Program terminated with signal SIGQUIT, Quit. [08:00:33.675] Sent by thr_kill() from pid 20440 and user 1002. [08:00:33.675] #0 0x000000082cdc575a in _sigprocmask () from /lib/libc.so.7 [08:00:33.713] [08:00:33.713] Thread 1 (LWP 101787): [08:00:33.713] #0 0x000000082cdc575a in _sigprocmask () from /lib/libc.so.7 [08:00:33.713] No symbol table info available. [08:00:33.713] #1 0x000000082ce02a2f in _system () from /lib/libc.so.7 [08:00:33.713] No symbol table info available. [08:00:33.713] #2 0x000000082bf418a3 in ?? () from /lib/libthr.so.3 [08:00:33.713] No symbol table info available. [08:00:33.713] #3 0x0000000000686fe7 in RestoreArchivedFile (path=path@entry=0x8217431e0 "pg_wal/00000002", '0' , "6", xlogfname=xlogfname@entry=0x8217435e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [08:00:33.713] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\020\t\332,\b\000\000\000\360,t!\b\000\000\000`E\363+\b\000\000\000`d\346,\b", '\000' , "`-t!\b\000\000\000$\n\332,\b\000\000\000`d\346,\b", '\000' , "\340\217\332,\b", '\000' , "\b\000\000\000\2601t!\b", '\000' , "\340\217\332,\b", '\000' , "ai\252\004\331N\243\363\020\334l@\363?\000\000\001\000\000\000\000\000\000\000\200-t!\b\000\000\000\272\261\223\000\000\000\000\000`\263\347,\b\000\000\000"... [08:00:33.713] lastRestartPointFname = '0' , "\000\377\377\377\000\000\000\00080t!\b", '\000' , " )t!\b\000\000\000\326K\262", '\000' , "\225H\262\000\000\000\000\00080t!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "\225H\262\000\000\000\000\000\240/t!\b\000\000\000\373\377\377\377\000\000\000\000\005", '\000' , "\320)t!\b\000\000\000\373J\262", '\000' , "18$*t!\b\000\000\000"... [08:00:33.713] stat_buf = {st_dev = 6, st_ino = 2, st_nlink = 34921001424, st_mode = 17187, st_padding0 = 178, st_uid = 0, st_gid = 561263056, st_padding1 = 8, st_rdev = 35111829015, st_atim = {tv_sec = 34921001320, tv_nsec = 3}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 3551280, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 11, tv_nsec = -8348573312753860607}, st_size = -890781607296079519, st_blocks = 35113114320, st_blksize = 5, st_flags = 0, st_gen = 0, st_spare = {34921001408, 1, 34921001360, 35112356437, 0, 1749973998, 312458807761066555, 17555962466413472097, 206158430240, 34921001440}} [08:00:33.713] restartRedoPtr = 34921001168 [08:00:33.713] restartTli = 8 [08:00:33.713] restartSegNo = [08:00:33.713] xlogRestoreCmd = 0x3ff340772828 "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\"" [08:00:33.713] rc = [08:00:33.713] #4 0x000000000066de38 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [08:00:33.713] path = "pg_wal/00000002", '0' , "6\000\000\000\000\000\000\000\000\000\220P%@\363?\000\000\001\000\000\000\000\000\000\000\2602t!\b\000\000\000\0206t!\b\000\000\000\0200\343,\b\000\000\000ai\252\004\331N\243\363\200\t@@\363?\000\000\000\000\000\000\000\000\000\000\220P%@\363?\000\000\001\000\000\000\000\000\000\000\2602t!\b\000\000\000\0206t!\b\000\000\000\2635\343,\b\000\000\000\3002t!\b", '\000' , "\n", '\000' , "\330X@@\363?\000\000\000\020\000\000\000\000\000\000h6t!\b\000\000\000"... [08:00:33.713] histfname = "00000003.history\0006t!\b\000\000\000M\005\225\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000P6t!\b\000\000\000U\022\231\000\000\000\000" [08:00:33.713] fd = [08:00:33.713] #5 0x000000000066def8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [08:00:33.713] newestTLI = 2 [08:00:33.713] probeTLI = 3 [08:00:33.713] #6 0x000000000069242b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=105221256) at ../src/backend/access/transam/xlogrecovery.c:4135 [08:00:33.713] oldtarget = 2 [08:00:33.713] currentTle = 0x0 [08:00:33.713] newtarget = [08:00:33.713] newExpectedTLEs = [08:00:33.713] found = [08:00:33.713] cell = [08:00:33.713] #7 0x000000000068e623 in WaitForWALToBecomeAvailable (RecPtr=105221280, tliRecPtr=105221256, replayTLI=2, replayLSN=105221256, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3697 [08:00:33.713] startWalReceiver = false [08:00:33.713] streaming_reply_sent = true [08:00:33.713] now = [08:00:33.713] startWalReceiver = [08:00:33.713] oldSource = [08:00:33.713] wait_time = [08:00:33.713] __error = [08:00:33.713] __error = [08:00:33.713] __error = [08:00:33.713] havedata = [08:00:33.713] ptr = [08:00:33.713] tli = [08:00:33.713] __error = [08:00:33.713] latestChunkStart = [08:00:33.713] __error = [08:00:33.713] #8 XLogPageRead (xlogreader=0x3ff34061d130, targetPagePtr=105218048, reqLen=3232, targetRecPtr=105221256, readBuf=0x3ff34070fab8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3363 [08:00:33.713] private = 0x3ff34061d110 [08:00:33.713] emode = 15 [08:00:33.713] targetSegNo = 6 [08:00:33.713] targetPageOff = 4554752 [08:00:33.713] io_start = [08:00:33.713] r = [08:00:33.713] #9 0x000000000069538a in ReadPageInternal (state=state@entry=0x3ff34061d130, pageptr=105218048, reqLen=3232) at ../src/backend/access/transam/xlogreader.c:1061 [08:00:33.713] targetSegNo = 6 [08:00:33.713] targetPageOff = 4554752 [08:00:33.713] readLen = [08:00:33.713] hdr = [08:00:33.713] err = [08:00:33.713] #10 0x00000000006941b8 in XLogDecodeNextRecord (state=0x3ff34061d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [08:00:33.713] errormsg = 0xc14288 "" [08:00:33.713] randAccess = [08:00:33.713] decoded = 0x0 [08:00:33.713] RecPtr = 105221256 [08:00:33.713] assembled = false [08:00:33.713] targetPagePtr = 105218048 [08:00:33.713] readOff = [08:00:33.713] record = [08:00:33.713] gotheader = [08:00:33.713] targetRecOff = 3208 [08:00:33.713] pageHeaderSize = [08:00:33.713] len = [08:00:33.713] total_len = [08:00:33.713] buffer = [08:00:33.713] gotlen = [08:00:33.713] pageHeader = [08:00:33.713] contdata = [08:00:33.713] save_copy = [08:00:33.713] #11 XLogReadAhead (state=0x3ff34061d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [08:00:33.713] result = [08:00:33.713] #12 0x000000000068b8d8 in XLogPrefetcherNextBlock (pgsr_private=70313990757064, lsn=0x3ff340772088) at ../src/backend/access/transam/xlogprefetcher.c:490 [08:00:33.713] nonblocking = false [08:00:33.713] record = 0x0 [08:00:33.713] prefetcher = 0x3ff340711ac8 [08:00:33.713] reader = 0x3ff34061d130 [08:00:33.713] replaying_lsn = 105221208 [08:00:33.713] #13 0x000000000068b545 in lrq_prefetch (lrq=0x3ff340772018) at ../src/backend/access/transam/xlogprefetcher.c:252 [08:00:33.713] No locals. [08:00:33.713] #14 lrq_complete_lsn (lrq=0x3ff340772018, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [08:00:33.713] No locals. [08:00:33.713] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x3ff340711ac8, errmsg=errmsg@entry=0x821747d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [08:00:33.713] replayed_up_to = [08:00:33.713] record = [08:00:33.713] #16 0x000000000068f0da in ReadRecord (xlogprefetcher=0x3ff340711ac8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3162 [08:00:33.713] errormsg = 0x0 [08:00:33.713] xlogreader = 0x3ff34061d130 [08:00:33.713] private = [08:00:33.713] record = [08:00:33.713] #17 0x000000000068f9c9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1840 [08:00:33.713] ru0 = {tv = {tv_sec = 1749973996, tv_usec = 357678}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 910}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 161, 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 = 1}} [08:00:33.713] xtime = [08:00:33.713] reachedRecoveryTarget = false [08:00:33.713] replayTLI = 2 [08:00:33.713] record = [08:00:33.713] #18 0x00000000006800b3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:6033 [08:00:33.713] wasShutdown = false [08:00:33.713] haveTblspcMap = false [08:00:33.713] haveBackupLabel = true [08:00:33.713] promoted = false [08:00:33.713] didCrash = [08:00:33.713] checkPoint = {redo = 100664848, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 784} [08:00:33.713] oldestActiveXID = [08:00:33.713] performedWalRecovery = [08:00:33.713] endOfRecoveryInfo = [08:00:33.713] EndOfLog = [08:00:33.713] EndOfLogTLI = [08:00:33.713] abortedRecPtr = [08:00:33.713] missingContrecPtr = [08:00:33.713] newTLI = [08:00:33.713] Insert = [08:00:33.713] #19 0x00000000008c2c1b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [08:00:33.713] No locals. [08:00:33.713] #20 0x00000000008bc6ab in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=77, 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:290 [08:00:33.713] pid = [08:00:33.713] #21 0x00000000008bf487 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3973 [08:00:33.713] pmchild = 0x0 [08:00:33.713] pid = [08:00:33.713] #22 0x00000000008bee82 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82174d230) at ../src/backend/postmaster/postmaster.c:1393 [08:00:33.713] userDoption = [08:00:33.713] listen_addr_saved = false [08:00:33.713] output_config_variable = [08:00:33.713] opt = [08:00:33.713] status = [08:00:33.713] #23 0x00000000007f2020 in main (argc=4, argv=0x82174d230) at ../src/backend/main/main.c:227 [08:00:33.713] do_check_root = [08:00:33.713] dispatch_option = DISPATCH_POSTMASTER