[23:52:19.080] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [23:52:19.385] dumping /tmp/cores/postgres.16631.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [23:52:19.520] [New LWP 101704] [23:52:19.601] Core was generated by `postgres: standby2: startup recovering 000000020000000000000004'. [23:52:19.601] Program terminated with signal SIGQUIT, Quit. [23:52:19.601] Sent by thr_kill() from pid 16631 and user 1003. [23:52:19.601] #0 0x000000082b5cc8fa in _sigprocmask () from /lib/libc.so.7 [23:52:19.646] [23:52:19.646] Thread 1 (LWP 101704): [23:52:19.646] #0 0x000000082b5cc8fa in _sigprocmask () from /lib/libc.so.7 [23:52:19.646] No symbol table info available. [23:52:19.646] #1 0x000000082b605f91 in _system () from /lib/libc.so.7 [23:52:19.646] No symbol table info available. [23:52:19.646] #2 0x000000082a7869d3 in ?? () from /lib/libthr.so.3 [23:52:19.646] No symbol table info available. [23:52:19.646] #3 0x000000000066a375 in RestoreArchivedFile (path=path@entry=0x8217331d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8217335d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [23:52:19.646] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\274\3732", '\000' , "0000002", '0' , "\0003\000\177\017\234g\000\000\000\000\000\246\350/\000\000\000\000\177\017\234g\000\000\000\000\210<\350/\000\000\000\000)\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000 ", '\000' , "\350.s!\b\000\000\000h-s!\b\000\000\000\b\000\000\0000\000\000\000"... [23:52:19.646] lastRestartPointFname = '0' , "\000\250f\000\000\000\000\000p)s!\b\000\000\0000\000\000\000\000\000\000\00080s!\b", '\000' , " )s!\b\000\000\000\223*\257", '\000' , "E'\257", '\000' , "E'\257\000\000\000\000\000\300)s!\b\000\000\0000\000\000\000\000\000\000\000\2100s!\b", '\000' , "p)s!\b\000\000\000\223*\257", '\000' , "E'\257\000\000\000\000\000\2100s!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [23:52:19.646] stat_buf = {st_dev = 57344, st_ino = 2, st_nlink = 34920935872, st_mode = 8659, st_padding0 = 175, st_uid = 0, st_gid = 561197504, st_padding1 = 8, st_rdev = 35086693863, st_atim = {tv_sec = 12283, tv_nsec = 3}, st_mtim = {tv_sec = 35310134220, tv_nsec = 29400}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -6102695093978396283, tv_nsec = 34920935856}, st_size = 5, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35087967904, st_spare = {34920935792, 35087219375, 1738280832, 5431489858835154562, 12344048979731155333, 2, 0, 34920935856, 206158430240, 34920935888}} [23:52:19.646] restartRedoPtr = 34920935616 [23:52:19.646] restartTli = 8 [23:52:19.646] restartSegNo = [23:52:19.646] xlogRestoreCmd = 0x836bd3c38 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/043_no_contrecord_switch/data/t_043_no_contrecord_switch_primary_data/archives/00000003.history\" \"pg_wal/RECOVERYHISTORY\"" [23:52:19.646] rc = [23:52:19.646] #4 0x0000000000651438 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [23:52:19.646] path = "pg_wal/00000002", '0' , "4\000 1s!\b\000\000\000\231\255\254\000\000\000\000\000\360\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\000p\2566\b", '\000' , "й\277\000\000\000\000\000\320ۿ\000\000\000\000\000@6s!\b\000\000\000\351R\252\000\000\000\000\000\000\224\2576\b\000\000\000\030(\000\000\000\000\000\000\001(\000\000\000\000\000\000\000\260\2726\b\000\000\000_\t/\000\000\000\000\000\000\224\2576\b\000\000\000\260ۿ\000\000\000\000\000\320ۿ\000\000\000\000\000(5s!\177\003\000\000\205\t\346>%\337N\253UTC\000\b\000\000\000w\031_+"... [23:52:19.646] histfname = "00000003.history\0006s!\b\000\000\000\317W\221", '\000' , "\377\377\377\377\377\377\377\377\205\t\346>%\337N\253\000\000\000\000\000\000\000" [23:52:19.646] fd = [23:52:19.646] #5 0x00000000006514f8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [23:52:19.646] newestTLI = 2 [23:52:19.646] probeTLI = 3 [23:52:19.646] #6 0x000000000067579b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67173200) at ../src/backend/access/transam/xlogrecovery.c:4115 [23:52:19.646] oldtarget = 2 [23:52:19.646] currentTle = 0x0 [23:52:19.646] newtarget = [23:52:19.646] newExpectedTLEs = [23:52:19.646] found = [23:52:19.646] cell = [23:52:19.646] #7 0x00000000006719e3 in WaitForWALToBecomeAvailable (RecPtr=67173224, tliRecPtr=67173200, replayTLI=2, replayLSN=67173200, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3677 [23:52:19.646] startWalReceiver = false [23:52:19.646] streaming_reply_sent = true [23:52:19.646] now = [23:52:19.646] startWalReceiver = [23:52:19.646] oldSource = [23:52:19.646] wait_time = [23:52:19.646] __error = [23:52:19.646] __error = [23:52:19.646] __error = [23:52:19.646] havedata = [23:52:19.646] ptr = [23:52:19.646] tli = [23:52:19.646] __error = [23:52:19.646] latestChunkStart = [23:52:19.646] __error = [23:52:19.646] #8 XLogPageRead (xlogreader=0x836ae6130, targetPagePtr=67166208, reqLen=7016, targetRecPtr=67173200, readBuf=0x836bd02f8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [23:52:19.646] private = 0x836ae6110 [23:52:19.646] emode = 15 [23:52:19.646] targetSegNo = 4 [23:52:19.646] targetPageOff = 57344 [23:52:19.646] r = [23:52:19.646] #9 0x00000000006786e2 in ReadPageInternal (state=state@entry=0x836ae6130, pageptr=67166208, reqLen=7016) at ../src/backend/access/transam/xlogreader.c:1060 [23:52:19.646] targetSegNo = 4 [23:52:19.646] targetPageOff = 57344 [23:52:19.646] readLen = [23:52:19.646] hdr = [23:52:19.646] err = [23:52:19.646] #10 0x0000000000677552 in XLogDecodeNextRecord (state=0x836ae6130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [23:52:19.646] errormsg = 0x821737c98 "" [23:52:19.646] randAccess = [23:52:19.646] decoded = 0x0 [23:52:19.646] RecPtr = 67173200 [23:52:19.646] assembled = false [23:52:19.646] targetPagePtr = 34920933312 [23:52:19.646] readOff = [23:52:19.646] record = [23:52:19.646] gotheader = [23:52:19.646] targetRecOff = 6992 [23:52:19.646] pageHeaderSize = [23:52:19.646] len = [23:52:19.646] total_len = [23:52:19.646] buffer = [23:52:19.646] gotlen = [23:52:19.646] pageHeader = [23:52:19.646] contdata = [23:52:19.646] save_copy = [23:52:19.646] #11 XLogReadAhead (state=0x836ae6130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [23:52:19.646] result = [23:52:19.646] #12 0x000000000066ec98 in XLogPrefetcherNextBlock (pgsr_private=35278103304, lsn=0x836c01958) at ../src/backend/access/transam/xlogprefetcher.c:490 [23:52:19.646] nonblocking = false [23:52:19.646] record = 0x0 [23:52:19.646] prefetcher = 0x836bd2308 [23:52:19.646] reader = 0x836ae6130 [23:52:19.646] replaying_lsn = 67173160 [23:52:19.646] #13 0x000000000066e902 in lrq_prefetch (lrq=0x836c01828) at ../src/backend/access/transam/xlogprefetcher.c:252 [23:52:19.646] No locals. [23:52:19.646] #14 lrq_complete_lsn (lrq=0x836c01828, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [23:52:19.646] No locals. [23:52:19.646] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836bd2308, errmsg=errmsg@entry=0x821737d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [23:52:19.646] replayed_up_to = [23:52:19.646] record = [23:52:19.646] #16 0x000000000067243a in ReadRecord (xlogprefetcher=0x836bd2308, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [23:52:19.646] errormsg = 0x836ae6940 "" [23:52:19.646] xlogreader = 0x836ae6130 [23:52:19.646] private = [23:52:19.646] record = [23:52:19.646] #17 0x0000000000672d19 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [23:52:19.646] ru0 = {tv = {tv_sec = 1738280831, tv_usec = 498680}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 2452}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 152, 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}} [23:52:19.646] xtime = [23:52:19.646] reachedRecoveryTarget = false [23:52:19.646] replayTLI = 2 [23:52:19.646] record = [23:52:19.646] #18 0x00000000006636a3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [23:52:19.646] wasShutdown = false [23:52:19.646] haveTblspcMap = false [23:52:19.646] haveBackupLabel = true [23:52:19.646] promoted = false [23:52:19.646] didCrash = [23:52:19.646] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = 1, oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 743} [23:52:19.646] oldestActiveXID = [23:52:19.646] performedWalRecovery = [23:52:19.646] endOfRecoveryInfo = [23:52:19.646] EndOfLog = [23:52:19.646] EndOfLogTLI = [23:52:19.646] abortedRecPtr = [23:52:19.646] missingContrecPtr = [23:52:19.646] newTLI = [23:52:19.646] Insert = [23:52:19.646] #19 0x000000000089c08b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [23:52:19.646] No locals. [23:52:19.646] #20 0x0000000000896425 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=57, 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 [23:52:19.646] pid = [23:52:19.646] #21 0x0000000000899027 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [23:52:19.646] pmchild = 0x0 [23:52:19.646] pid = [23:52:19.646] #22 0x0000000000898bc2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82173cca0) at ../src/backend/postmaster/postmaster.c:1378 [23:52:19.646] userDoption = [23:52:19.646] listen_addr_saved = false [23:52:19.646] output_config_variable = [23:52:19.646] opt = [23:52:19.646] status = [23:52:19.646] #23 0x00000000007cf320 in main (argc=4, argv=0x82173cca0) at ../src/backend/main/main.c:230 [23:52:19.646] do_check_root = [23:52:19.646] dispatch_option = DISPATCH_POSTMASTER