[05:15:14.897] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [05:15:15.206] dumping /tmp/cores/postgres.38553.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [05:15:15.346] [New LWP 101936] [05:15:15.438] Core was generated by `postgres: cascading_standby: startup recovering 000000020000000000000006'. [05:15:15.438] Program terminated with signal SIGQUIT, Quit. [05:15:15.438] Sent by thr_kill() from pid 38553 and user 1002. [05:15:15.438] #0 0x000000082d3e875a in _sigprocmask () from /lib/libc.so.7 [05:15:15.479] [05:15:15.479] Thread 1 (LWP 101936): [05:15:15.479] #0 0x000000082d3e875a in _sigprocmask () from /lib/libc.so.7 [05:15:15.479] No symbol table info available. [05:15:15.479] #1 0x000000082d425a2f in _system () from /lib/libc.so.7 [05:15:15.479] No symbol table info available. [05:15:15.479] #2 0x000000082cc868a3 in ?? () from /lib/libthr.so.3 [05:15:15.479] No symbol table info available. [05:15:15.479] #3 0x0000000000686d17 in RestoreArchivedFile (path=path@entry=0x8212a91e0 "pg_wal/00000002", '0' , "6", xlogfname=xlogfname@entry=0x8212a95e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [05:15:15.479] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\0209<-\b\000\000\000\360\214*!\b\000\000\000`\225\307,\b\000\000\000`\224H-\b", '\000' , "`\215*!\b\000\000\000$:<-\b\000\000\000`\224H-\b", '\000' , "\340\277<-\b", '\000' , "\b\000\000\000\260\221*!\b", '\000' , "\340\277<-\b", '\000' , "+v\223\344\370\303\016\317\020\334\354\264P\001\000\000\001\000\000\000\000\000\000\000\200\215*!\b\000\000\000*\266\223\000\000\000\000\000`\343I-\b\000\000\000"... [05:15:15.479] lastRestartPointFname = '0' , "\000\377\377\377\000\000\000\0008\220*!\b", '\000' , " \211*!\b\000\000\000\026j\262", '\000' , "\325f\262\000\000\000\000\0008\220*!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "\325f\262\000\000\000\000\000\240\217*!\b\000\000\000\373\377\377\377\000\000\000\000\005", '\000' , "Љ*!\b\000\000\000;i\262", '\000' , "39$\212*!\b\000\000\000\376"... [05:15:15.479] stat_buf = {st_dev = 6, st_ino = 2, st_nlink = 34916176336, st_mode = 24931, st_padding0 = 178, st_uid = 0, st_gid = 556437968, st_padding1 = 8, st_rdev = 35118263831, st_atim = {tv_sec = 34916176232, 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 = 5045262563231662081}, st_size = -3526665984430344661, st_blocks = 35119549136, st_blksize = 5, st_flags = 0, st_gen = 0, st_spare = {34916176320, 1, 34916176272, 35118791253, 0, 1745816859, 700034010119725670, 14920078089279206955, 206158430240, 34916176352}} [05:15:15.479] restartRedoPtr = 34916176080 [05:15:15.479] restartTli = 8 [05:15:15.479] restartSegNo = [05:15:15.479] xlogRestoreCmd = 0x150b4f724a8 "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\"" [05:15:15.479] rc = [05:15:15.479] #4 0x000000000066db88 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [05:15:15.479] path = "pg_wal/00000002", '0' , "6\000\000\000\000\000\000\000\000\000\220P\245\264P\001\000\000\001\000\000\000\000\000\000\000\260\222*!\b\000\000\000\020\226*!\b\000\000\000\020`E-\b\000\000\000+v\223\344\370\303\016π\t\300\264P\001\000\000\000\000\000\000\000\000\000\000\220P\245\264P\001\000\000\001\000\000\000\000\000\000\000\260\222*!\b\000\000\000\020\226*!\b\000\000\000\263eE-\b\000\000\000\300\222*!\b", '\000' , "\n", '\000' , "\330X\300\264P\001\000\000\000\020\000\000\000\000\000\000h\226*!\b\000\000\000\220"... [05:15:15.479] histfname = "00000003.history\000\226*!\b\000\000\000\035\n\225\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000P\226*!\b\000\000\000U\030\231\000\000\000\000" [05:15:15.479] fd = [05:15:15.479] #5 0x000000000066dc48 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [05:15:15.479] newestTLI = 2 [05:15:15.479] probeTLI = 3 [05:15:15.479] #6 0x000000000069215b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=105227432) at ../src/backend/access/transam/xlogrecovery.c:4135 [05:15:15.479] oldtarget = 2 [05:15:15.479] currentTle = 0x0 [05:15:15.479] newtarget = [05:15:15.479] newExpectedTLEs = [05:15:15.479] found = [05:15:15.479] cell = [05:15:15.479] #7 0x000000000068e353 in WaitForWALToBecomeAvailable (RecPtr=105227456, tliRecPtr=105227432, replayTLI=2, replayLSN=105227432, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3697 [05:15:15.479] startWalReceiver = false [05:15:15.479] streaming_reply_sent = true [05:15:15.479] now = [05:15:15.479] startWalReceiver = [05:15:15.479] oldSource = [05:15:15.479] wait_time = [05:15:15.479] __error = [05:15:15.479] __error = [05:15:15.479] __error = [05:15:15.479] havedata = [05:15:15.479] ptr = [05:15:15.479] tli = [05:15:15.479] __error = [05:15:15.479] latestChunkStart = [05:15:15.479] __error = [05:15:15.479] #8 XLogPageRead (xlogreader=0x150b4e1d130, targetPagePtr=105226240, reqLen=1216, targetRecPtr=105227432, readBuf=0x150b4f0f638 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3363 [05:15:15.479] private = 0x150b4e1d110 [05:15:15.479] emode = 15 [05:15:15.479] targetSegNo = 6 [05:15:15.479] targetPageOff = 4562944 [05:15:15.479] io_start = [05:15:15.479] r = [05:15:15.479] #9 0x00000000006950ba in ReadPageInternal (state=state@entry=0x150b4e1d130, pageptr=105226240, reqLen=1216) at ../src/backend/access/transam/xlogreader.c:1061 [05:15:15.479] targetSegNo = 6 [05:15:15.479] targetPageOff = 4562944 [05:15:15.479] readLen = [05:15:15.479] hdr = [05:15:15.479] err = [05:15:15.479] #10 0x0000000000693ee8 in XLogDecodeNextRecord (state=0x150b4e1d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [05:15:15.479] errormsg = 0xc14d00 "" [05:15:15.479] randAccess = [05:15:15.479] decoded = 0x0 [05:15:15.479] RecPtr = 105227432 [05:15:15.479] assembled = false [05:15:15.479] targetPagePtr = 105226240 [05:15:15.479] readOff = [05:15:15.479] record = [05:15:15.479] gotheader = [05:15:15.479] targetRecOff = 1192 [05:15:15.479] pageHeaderSize = [05:15:15.479] len = [05:15:15.479] total_len = [05:15:15.479] buffer = [05:15:15.479] gotlen = [05:15:15.479] pageHeader = [05:15:15.479] contdata = [05:15:15.479] save_copy = [05:15:15.479] #11 XLogReadAhead (state=0x150b4e1d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [05:15:15.479] result = [05:15:15.479] #12 0x000000000068b608 in XLogPrefetcherNextBlock (pgsr_private=1446144710216, lsn=0x150b4f71d18) at ../src/backend/access/transam/xlogprefetcher.c:490 [05:15:15.479] nonblocking = false [05:15:15.479] record = 0x0 [05:15:15.479] prefetcher = 0x150b4f11648 [05:15:15.479] reader = 0x150b4e1d130 [05:15:15.479] replaying_lsn = 105227384 [05:15:15.479] #13 0x000000000068b275 in lrq_prefetch (lrq=0x150b4f71c98) at ../src/backend/access/transam/xlogprefetcher.c:252 [05:15:15.479] No locals. [05:15:15.479] #14 lrq_complete_lsn (lrq=0x150b4f71c98, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [05:15:15.479] No locals. [05:15:15.479] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x150b4f11648, errmsg=errmsg@entry=0x8212add60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [05:15:15.479] replayed_up_to = [05:15:15.479] record = [05:15:15.479] #16 0x000000000068ee0a in ReadRecord (xlogprefetcher=0x150b4f11648, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3162 [05:15:15.479] errormsg = 0x0 [05:15:15.479] xlogreader = 0x150b4e1d130 [05:15:15.479] private = [05:15:15.479] record = [05:15:15.479] #17 0x000000000068f6f9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1840 [05:15:15.479] ru0 = {tv = {tv_sec = 1745816857, tv_usec = 750303}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1087}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 157, 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}} [05:15:15.479] xtime = [05:15:15.479] reachedRecoveryTarget = false [05:15:15.479] replayTLI = 2 [05:15:15.479] record = [05:15:15.479] #18 0x000000000067fe03 in StartupXLOG () at ../src/backend/access/transam/xlog.c:6033 [05:15:15.480] wasShutdown = false [05:15:15.480] haveTblspcMap = false [05:15:15.480] haveBackupLabel = true [05:15:15.480] promoted = false [05:15:15.480] didCrash = [05:15:15.480] 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 = 785} [05:15:15.480] oldestActiveXID = [05:15:15.480] performedWalRecovery = [05:15:15.480] endOfRecoveryInfo = [05:15:15.480] EndOfLog = [05:15:15.480] EndOfLogTLI = [05:15:15.480] abortedRecPtr = [05:15:15.480] missingContrecPtr = [05:15:15.480] newTLI = [05:15:15.480] Insert = [05:15:15.480] #19 0x00000000008c2fab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:262 [05:15:15.480] No locals. [05:15:15.480] #20 0x00000000008bca0b 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 [05:15:15.480] pid = [05:15:15.480] #21 0x00000000008bf7f7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3973 [05:15:15.480] pmchild = 0x0 [05:15:15.480] pid = [05:15:15.480] #22 0x00000000008bf1f2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8212b3560) at ../src/backend/postmaster/postmaster.c:1393 [05:15:15.480] userDoption = [05:15:15.480] listen_addr_saved = false [05:15:15.480] output_config_variable = [05:15:15.480] opt = [05:15:15.480] status = [05:15:15.480] #23 0x00000000007f2640 in main (argc=4, argv=0x8212b3560) at ../src/backend/main/main.c:227 [05:15:15.480] do_check_root = [05:15:15.480] dispatch_option = DISPATCH_POSTMASTER