[12:48:53.366] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [12:48:53.681] dumping /tmp/cores/postgres.19806.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [12:48:53.822] [New LWP 101894] [12:48:53.903] Core was generated by `postgres: cascading_standby: startup recovering 000000020000000000000006'. [12:48:53.903] Program terminated with signal SIGQUIT, Quit. [12:48:53.903] Sent by thr_kill() from pid 19806 and user 1003. [12:48:53.903] #0 0x000000082dd698fa in _sigprocmask () from /lib/libc.so.7 [12:48:53.946] [12:48:53.946] Thread 1 (LWP 101894): [12:48:53.946] #0 0x000000082dd698fa in _sigprocmask () from /lib/libc.so.7 [12:48:53.946] No symbol table info available. [12:48:53.946] #1 0x000000082dda2f91 in _system () from /lib/libc.so.7 [12:48:53.946] No symbol table info available. [12:48:53.946] #2 0x000000082b65e9d3 in ?? () from /lib/libthr.so.3 [12:48:53.946] No symbol table info available. [12:48:53.946] #3 0x0000000000673485 in RestoreArchivedFile (path=path@entry=0x82154b1d0 "pg_wal/00000002", '0' , "6", xlogfname=xlogfname@entry=0x82154b5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [12:48:53.946] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000I\324-\b", '\000' , "\020\024e+\b\000\000\0000\200\340-\b", '\000' , "P\255T!\b\000\000\000\024J\324-\b\000\000\0000\200\340-\b", '\000' , "\240\317\324-\b", '\000' , "\b\000\000\000\240\261T!\b", '\000' , "\240\317\324-\b", '\000' , "´\000Ks\277\016\361\020\260\b6\b\000\000\000\001\000\000\000\000\000\000\000\350\256T!\b\000\000\000h\255T!\b\000\000\000\b\000\000\0000\000\000\000б"... [12:48:53.946] lastRestartPointFname = '0' , "\000\207\257\000\000\000\000\000p\251T!\b\000\000\0000\000\000\000\000\000\000\0008\260T!\b", '\000' , " \251T!\b\000\000\0003\213\257", '\000' , "凯\000\000\000\000\0008\260T!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "凯\000\000\000\000\000\240\257T!\b\000\000\000\373\377\377\377\000\000\000\000\005", '\000' , "ЩT!\b\000\000\000[\212\257\000\000\000\000\000 \257T!\b\000\000\000,\177\257\000\000"... [12:48:53.946] stat_buf = {st_dev = 4546560, st_ino = 2, st_nlink = 34918937024, st_mode = 33395, st_padding0 = 175, st_uid = 0, st_gid = 559198656, st_padding1 = 8, st_rdev = 35128231399, st_atim = {tv_sec = 20319, tv_nsec = 3}, st_mtim = {tv_sec = 35297149396, tv_nsec = 23520}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -1076712758994488126, tv_nsec = 34918937008}, st_size = 5, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35129505440, st_spare = {34918936944, 35128756911, 1736513021, 498820714881356963, 17370031314715063490, 2, 0, 34918937008, 206158430240, 34918937040}} [12:48:53.946] restartRedoPtr = 34918936768 [12:48:53.946] restartTli = 8 [12:48:53.946] restartSegNo = [12:48:53.946] xlogRestoreCmd = 0x836114af8 "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\"" [12:48:53.946] rc = [12:48:53.946] #4 0x000000000065a6a8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [12:48:53.946] path = "pg_wal/00000002", '0' , "6\000\b\364F\"\b\000\000\000\310\004", '\000' , "\360>\275\000\000\000\000\000\260\210\326-\b\000\000\000x-\305-\b\000\000\000´\000Ks\277\016\361\220 '4\b", '\000' , "\330X`5\b\000\000\000\200\t`5\b", '\000' , "0\266T!\b\000\000\000H=\335-\b\000\000\000\000\020\000\000\000\000\000\000@", '\000' , "9\000\000\000\000\000\000\000߶T!\b\000\000\000\207\266T!\b", '\000' , "\244\366"... [12:48:53.946] histfname = "00000003.history\000\266T!\b\000\000\000\377\302\221\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000´\000Ks\277\016\361\000\000\000\000\000\000\000" [12:48:53.946] fd = [12:48:53.946] #5 0x000000000065a768 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [12:48:53.946] newestTLI = 2 [12:48:53.946] probeTLI = 3 [12:48:53.946] #6 0x000000000067e89b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=105214368) at ../src/backend/access/transam/xlogrecovery.c:4114 [12:48:53.946] oldtarget = 2 [12:48:53.946] currentTle = 0x0 [12:48:53.946] newtarget = [12:48:53.946] newExpectedTLEs = [12:48:53.946] found = [12:48:53.946] cell = [12:48:53.946] #7 0x000000000067aaf3 in WaitForWALToBecomeAvailable (RecPtr=105214392, tliRecPtr=105214368, replayTLI=2, replayLSN=105214368, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3676 [12:48:53.946] startWalReceiver = false [12:48:53.946] streaming_reply_sent = true [12:48:53.946] now = [12:48:53.946] startWalReceiver = [12:48:53.946] oldSource = [12:48:53.946] wait_time = [12:48:53.946] __error = [12:48:53.946] __error = [12:48:53.946] __error = [12:48:53.946] havedata = [12:48:53.946] ptr = [12:48:53.946] tli = [12:48:53.946] __error = [12:48:53.946] latestChunkStart = [12:48:53.946] __error = [12:48:53.946] #8 XLogPageRead (xlogreader=0x836027130, targetPagePtr=105209856, reqLen=4536, targetRecPtr=105214368, readBuf=0x8361111b8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [12:48:53.946] private = 0x836027110 [12:48:53.946] emode = 15 [12:48:53.946] targetSegNo = 6 [12:48:53.946] targetPageOff = 4546560 [12:48:53.946] r = [12:48:53.946] #9 0x00000000006817e2 in ReadPageInternal (state=state@entry=0x836027130, pageptr=105209856, reqLen=4536) at ../src/backend/access/transam/xlogreader.c:1060 [12:48:53.946] targetSegNo = 6 [12:48:53.946] targetPageOff = 4546560 [12:48:53.946] readLen = [12:48:53.946] hdr = [12:48:53.946] err = [12:48:53.946] #10 0x0000000000680652 in XLogDecodeNextRecord (state=0x836027130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [12:48:53.946] errormsg = 0x82154fc98 "" [12:48:53.946] randAccess = [12:48:53.946] decoded = 0x0 [12:48:53.946] RecPtr = 105214368 [12:48:53.946] assembled = false [12:48:53.946] targetPagePtr = 34918934464 [12:48:53.946] readOff = [12:48:53.946] record = [12:48:53.946] gotheader = [12:48:53.946] targetRecOff = 4512 [12:48:53.946] pageHeaderSize = [12:48:53.946] len = [12:48:53.946] total_len = [12:48:53.946] buffer = [12:48:53.946] gotlen = [12:48:53.946] pageHeader = [12:48:53.946] contdata = [12:48:53.946] save_copy = [12:48:53.946] #11 XLogReadAhead (state=0x836027130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [12:48:53.946] result = [12:48:53.946] #12 0x0000000000677da8 in XLogPrefetcherNextBlock (pgsr_private=35266834888, lsn=0x8361424e8) at ../src/backend/access/transam/xlogprefetcher.c:490 [12:48:53.946] nonblocking = false [12:48:53.946] record = 0x0 [12:48:53.946] prefetcher = 0x8361131c8 [12:48:53.946] reader = 0x836027130 [12:48:53.946] replaying_lsn = 105214320 [12:48:53.946] #13 0x0000000000677a12 in lrq_prefetch (lrq=0x836142468) at ../src/backend/access/transam/xlogprefetcher.c:252 [12:48:53.946] No locals. [12:48:53.946] #14 lrq_complete_lsn (lrq=0x836142468, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [12:48:53.946] No locals. [12:48:53.946] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8361131c8, errmsg=errmsg@entry=0x82154fd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [12:48:53.946] replayed_up_to = [12:48:53.946] record = [12:48:53.946] #16 0x000000000067b53a in ReadRecord (xlogprefetcher=0x8361131c8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [12:48:53.946] errormsg = 0x836027940 "" [12:48:53.946] xlogreader = 0x836027130 [12:48:53.946] private = [12:48:53.946] record = [12:48:53.946] #17 0x000000000067be19 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [12:48:53.946] ru0 = {tv = {tv_sec = 1736513018, tv_usec = 746244}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 959}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 146, 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 = 3}} [12:48:53.946] xtime = [12:48:53.946] reachedRecoveryTarget = false [12:48:53.946] replayTLI = 2 [12:48:53.946] record = [12:48:53.946] #18 0x000000000066c7b3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [12:48:53.946] wasShutdown = false [12:48:53.947] haveTblspcMap = false [12:48:53.947] haveBackupLabel = true [12:48:53.947] promoted = false [12:48:53.947] didCrash = [12:48:53.947] 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 = 776} [12:48:53.947] oldestActiveXID = [12:48:53.947] performedWalRecovery = [12:48:53.947] endOfRecoveryInfo = [12:48:53.947] EndOfLog = [12:48:53.947] EndOfLogTLI = [12:48:53.947] abortedRecPtr = [12:48:53.947] missingContrecPtr = [12:48:53.947] newTLI = [12:48:53.947] Insert = [12:48:53.947] #19 0x00000000008a2e5b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [12:48:53.947] No locals. [12:48:53.947] #20 0x000000000089d485 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:274 [12:48:53.947] pid = [12:48:53.947] #21 0x00000000008a0087 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3711 [12:48:53.947] pmchild = 0x0 [12:48:53.947] pid = [12:48:53.947] #22 0x000000000089fc22 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821554f88) at ../src/backend/postmaster/postmaster.c:1363 [12:48:53.947] userDoption = [12:48:53.947] listen_addr_saved = false [12:48:53.947] output_config_variable = [12:48:53.947] opt = [12:48:53.947] status = [12:48:53.947] #23 0x00000000007d7220 in main (argc=4, argv=0x821554f88) at ../src/backend/main/main.c:230 [12:48:53.947] do_check_root = [12:48:53.947] dispatch_option = DISPATCH_POSTMASTER