[10:12:43.831] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [10:12:44.157] dumping /tmp/cores/postgres.33497.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [10:12:44.286] [New LWP 101825] [10:12:44.365] Core was generated by `postgres: cascading_standby: startup recovering 000000020000000000000006'. [10:12:44.365] Program terminated with signal SIGQUIT, Quit. [10:12:44.365] Sent by thr_kill() from pid 33497 and user 1002. [10:12:44.365] #0 0x000000082d4dc75a in _sigprocmask () from /lib/libc.so.7 [10:12:44.405] [10:12:44.405] Thread 1 (LWP 101825): [10:12:44.405] #0 0x000000082d4dc75a in _sigprocmask () from /lib/libc.so.7 [10:12:44.405] No symbol table info available. [10:12:44.405] #1 0x000000082d519a2f in _system () from /lib/libc.so.7 [10:12:44.405] No symbol table info available. [10:12:44.405] #2 0x000000082b5898a3 in ?? () from /lib/libthr.so.3 [10:12:44.405] No symbol table info available. [10:12:44.405] #3 0x0000000000670e47 in RestoreArchivedFile (path=path@entry=0x821bac1e0 "pg_wal/00000002", '0' , "6", xlogfname=xlogfname@entry=0x821bac5e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [10:12:44.405] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\020yK-\b\000\000\000\360\274\272!\b\000\000\000`\305W+\b\000\000\000`\324W-\b", '\000' , "`\275\272!\b\000\000\000$zK-\b\000\000\000`\324W-\b", '\000' , "\340\377K-\b", '\000' , "\b\000\000\000\260\301\272!\b", '\000' , "\340\377K-\b", '\000' , "^\250\265\315ь\261\263\020\334L\253\320\031\000\000\001\000\000\000\000\000\000\000\200\275\272!\b\000\000\000\372\243\221\000\000\000\000\000`#Y-\b\000\000\000\300"... [10:12:44.405] lastRestartPointFname = '0' , "\000\377\377\377\000\000\000\000\204\271\272!\b\000\000\000\377\377\377\377\000\000\000\000H\300\272!\b", '\000' , "0\271\272!\b\000\000\000\246\a\260", '\000' , "e\004\260\000\000\000\000\000H\300\272!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "e\004\260\000\000\000\000\000\260\277\272!\b\000\000\000\373\377\377\377\000\000\000\000\005", '\000' , "\340\271\272!\b\000\000\000\313\006\260", '\000' ... [10:12:44.405] stat_buf = {st_dev = 6, st_ino = 2, st_nlink = 34925625808, st_mode = 65267, st_padding0 = 175, st_uid = 0, st_gid = 565887440, st_padding1 = 8, st_rdev = 35119263255, st_atim = {tv_sec = 34925625704, 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 = -919681828128817151}, st_size = -5498458837315377058, st_blocks = 35120548560, st_blksize = 5, st_flags = 0, st_gen = 0, st_spare = {34925625792, 1, 34925625744, 35119790677, 0, 1741860349, 14642839745244932160, 12948285236394174558, 206158430240, 34925625824}} [10:12:44.405] restartRedoPtr = 34925625552 [10:12:44.405] restartTli = 8 [10:12:44.405] restartSegNo = [10:12:44.405] xlogRestoreCmd = 0x19d0ab5135f8 "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\"" [10:12:44.405] rc = [10:12:44.405] #4 0x0000000000658008 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [10:12:44.405] path = "pg_wal/00000002", '0' , "6\000\000\000\000\000\000\000\000\000\220P\005\253\320\031\000\000\001\000\000\000\000\000\000\000\260º!\b\000\000\000\020ƺ!\b\000\000\000\020\240T-\b\000\000\000^\250\265\315ь\261\263\200\t \253\320\031\000\000\000\000\000\000\000\000\000\000\220P\005\253\320\031\000\000\001\000\000\000\000\000\000\000\260º!\b\000\000\000\020ƺ!\b\000\000\000\263\245T-\b\000\000\000\300º!\b", '\000' , "\n", '\000' , "\330X \253\320\031\000\000\000\020\000\000\000\000\000\000hƺ!\b\000\000\000\220P\005\253\320\031", '\000' ... [10:12:44.405] histfname = "00000003.history\000ƺ!\b\000\000\000}\361\222\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000Pƺ!\b\000\000\000\025\356\226\000\000\000\000" [10:12:44.405] fd = [10:12:44.405] #5 0x00000000006580c8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [10:12:44.405] newestTLI = 2 [10:12:44.405] probeTLI = 3 [10:12:44.405] #6 0x000000000067c27b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=105210360) at ../src/backend/access/transam/xlogrecovery.c:4129 [10:12:44.405] oldtarget = 2 [10:12:44.405] currentTle = 0x0 [10:12:44.405] newtarget = [10:12:44.405] newExpectedTLEs = [10:12:44.405] found = [10:12:44.405] cell = [10:12:44.405] #7 0x0000000000678483 in WaitForWALToBecomeAvailable (RecPtr=105210384, tliRecPtr=105210360, replayTLI=2, replayLSN=105210360, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3691 [10:12:44.405] startWalReceiver = false [10:12:44.405] streaming_reply_sent = true [10:12:44.405] now = [10:12:44.405] startWalReceiver = [10:12:44.405] oldSource = [10:12:44.405] wait_time = [10:12:44.405] __error = [10:12:44.405] __error = [10:12:44.405] __error = [10:12:44.405] havedata = [10:12:44.405] ptr = [10:12:44.405] tli = [10:12:44.405] __error = [10:12:44.405] latestChunkStart = [10:12:44.405] __error = [10:12:44.405] #8 XLogPageRead (xlogreader=0x19d0ab41d130, targetPagePtr=105209856, reqLen=528, targetRecPtr=105210360, readBuf=0x19d0ab50fcb8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3357 [10:12:44.405] private = 0x19d0ab41d110 [10:12:44.405] emode = 15 [10:12:44.405] targetSegNo = 6 [10:12:44.405] targetPageOff = 4546560 [10:12:44.405] io_start = [10:12:44.405] r = [10:12:44.405] #9 0x000000000067f1da in ReadPageInternal (state=state@entry=0x19d0ab41d130, pageptr=105209856, reqLen=528) at ../src/backend/access/transam/xlogreader.c:1061 [10:12:44.405] targetSegNo = 6 [10:12:44.405] targetPageOff = 4546560 [10:12:44.405] readLen = [10:12:44.405] hdr = [10:12:44.405] err = [10:12:44.405] #10 0x000000000067e008 in XLogDecodeNextRecord (state=0x19d0ab41d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [10:12:44.405] errormsg = 0xc11928 "" [10:12:44.405] randAccess = [10:12:44.405] decoded = 0x0 [10:12:44.405] RecPtr = 105210360 [10:12:44.405] assembled = false [10:12:44.405] targetPagePtr = 105209856 [10:12:44.405] readOff = [10:12:44.405] record = [10:12:44.405] gotheader = [10:12:44.405] targetRecOff = 504 [10:12:44.405] pageHeaderSize = [10:12:44.405] len = [10:12:44.405] total_len = [10:12:44.405] buffer = [10:12:44.405] gotlen = [10:12:44.405] pageHeader = [10:12:44.405] contdata = [10:12:44.405] save_copy = [10:12:44.405] #11 XLogReadAhead (state=0x19d0ab41d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [10:12:44.405] result = [10:12:44.405] #12 0x0000000000675738 in XLogPrefetcherNextBlock (pgsr_private=28384018111688, lsn=0x19d0ab5721e8) at ../src/backend/access/transam/xlogprefetcher.c:490 [10:12:44.405] nonblocking = false [10:12:44.405] record = 0x0 [10:12:44.405] prefetcher = 0x19d0ab511cc8 [10:12:44.405] reader = 0x19d0ab41d130 [10:12:44.405] replaying_lsn = 105210312 [10:12:44.405] #13 0x00000000006753a5 in lrq_prefetch (lrq=0x19d0ab572168) at ../src/backend/access/transam/xlogprefetcher.c:252 [10:12:44.405] No locals. [10:12:44.405] #14 lrq_complete_lsn (lrq=0x19d0ab572168, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [10:12:44.405] No locals. [10:12:44.405] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x19d0ab511cc8, errmsg=errmsg@entry=0x821bb0d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [10:12:44.405] replayed_up_to = [10:12:44.405] record = [10:12:44.405] #16 0x0000000000678f3a in ReadRecord (xlogprefetcher=0x19d0ab511cc8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [10:12:44.405] errormsg = 0x0 [10:12:44.405] xlogreader = 0x19d0ab41d130 [10:12:44.405] private = [10:12:44.405] record = [10:12:44.405] #17 0x0000000000679829 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [10:12:44.405] ru0 = {tv = {tv_sec = 1741860348, tv_usec = 104623}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1135}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 159, 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}} [10:12:44.405] xtime = [10:12:44.406] reachedRecoveryTarget = false [10:12:44.406] replayTLI = 2 [10:12:44.406] record = [10:12:44.406] #18 0x0000000000669ff3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [10:12:44.406] wasShutdown = false [10:12:44.406] haveTblspcMap = false [10:12:44.406] haveBackupLabel = true [10:12:44.406] promoted = false [10:12:44.406] didCrash = [10:12:44.406] checkPoint = {redo = 100664848, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = 1, oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 780} [10:12:44.406] oldestActiveXID = [10:12:44.406] performedWalRecovery = [10:12:44.406] endOfRecoveryInfo = [10:12:44.406] EndOfLog = [10:12:44.406] EndOfLogTLI = [10:12:44.406] abortedRecPtr = [10:12:44.406] missingContrecPtr = [10:12:44.406] newTLI = [10:12:44.406] Insert = [10:12:44.406] #19 0x00000000008a8d0b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [10:12:44.406] No locals. [10:12:44.406] #20 0x00000000008a2b1b in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=45, 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:288 [10:12:44.406] pid = [10:12:44.406] #21 0x00000000008a5717 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3910 [10:12:44.406] pmchild = 0x0 [10:12:44.406] pid = [10:12:44.406] #22 0x00000000008a52b3 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821bb5b90) at ../src/backend/postmaster/postmaster.c:1377 [10:12:44.406] userDoption = [10:12:44.406] listen_addr_saved = false [10:12:44.406] output_config_variable = [10:12:44.406] opt = [10:12:44.406] status = [10:12:44.406] #23 0x00000000007d9ec0 in main (argc=4, argv=0x821bb5b90) at ../src/backend/main/main.c:230 [10:12:44.406] do_check_root = [10:12:44.406] dispatch_option = DISPATCH_POSTMASTER