[09:02:15.861] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [09:02:16.186] dumping /tmp/cores/postgres.17036.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [09:02:16.320] [New LWP 101631] [09:02:16.402] Core was generated by `postgres: cascading_standby: startup recovering 000000020000000000000006'. [09:02:16.402] Program terminated with signal SIGQUIT, Quit. [09:02:16.402] Sent by thr_kill() from pid 17036 and user 1003. [09:02:16.402] #0 0x000000082b9908fa in _sigprocmask () from /lib/libc.so.7 [09:02:16.448] [09:02:16.448] Thread 1 (LWP 101631): [09:02:16.448] #0 0x000000082b9908fa in _sigprocmask () from /lib/libc.so.7 [09:02:16.448] No symbol table info available. [09:02:16.448] #1 0x000000082b9c9f91 in _system () from /lib/libc.so.7 [09:02:16.448] No symbol table info available. [09:02:16.448] #2 0x000000082ad099d3 in ?? () from /lib/libthr.so.3 [09:02:16.448] No symbol table info available. [09:02:16.448] #3 0x00000000006738c5 in RestoreArchivedFile (path=path@entry=0x8214251d0 "pg_wal/00000002", '0' , "6", xlogfname=xlogfname@entry=0x8214255d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [09:02:16.448] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000\271\226+\b", '\000' , "\020\304\317*\b\000\000\0000\360\242+\b", '\000' , "PMB!\b\000\000\000\024\272\226+\b\000\000\0000\360\242+\b", '\000' , "\240?\227+\b", '\000' , "\b\000\000\000\240QB!\b", '\000' , "\240?\227+\b", '\000' , "\377\227G\241)\037\364\312\0200g5\b\000\000\000\001\000\000\000\000\000\000\000\350NB!\b\000\000\000hMB!\b\000\000\000\b\000\000\0000\000\000\000"... [09:02:16.448] lastRestartPointFname = '0' , "\000\222\257\000\000\000\000\000pIB!\b\000\000\0000\000\000\000\000\000\000\0008PB!\b", '\000' , " IB!\b\000\000\000\023\226\257\000\000\000\000\000\001\000\000\000\000\000\000\0008PB!\b\000\000\0008PB!\b\000\000\000\377\377\377\377\000\000\000\000\001", '\000' , "Œ\257\000\000\000\000\000\240OB!\b\000\000\000\373\377\377\377\000\000\000\000\005", '\000' , "\320IB!\b\000\000\000;\225\257\000\000\000\000\000 OB!\b\000\000\000\f"... [09:02:16.448] stat_buf = {st_dev = 4521984, st_ino = 2, st_nlink = 34917732800, st_mode = 36179, st_padding0 = 175, st_uid = 0, st_gid = 557994432, st_padding1 = 8, st_rdev = 35090642407, st_atim = {tv_sec = 12896, tv_nsec = 3}, st_mtim = {tv_sec = 35315778844, tv_nsec = 24360}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -3822395920070764545, tv_nsec = 34917732784}, st_size = 5, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35091916448, st_spare = {34917732720, 35091167919, 1737017821, 14794036760206734139, 14624348153638787071, 2, 0, 34917732784, 206158430240, 34917732816}} [09:02:16.448] restartRedoPtr = 34917732544 [09:02:16.448] restartTli = 8 [09:02:16.448] restartSegNo = [09:02:16.448] xlogRestoreCmd = 0x8356fcf38 "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\"" [09:02:16.448] rc = [09:02:16.448] #4 0x000000000065aae8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [09:02:16.448] path = "pg_wal/00000002", '0' , "6\000\b\344\037\"\b\000\000\000\310\004", '\000' , "\260N\275\000\000\000\000\000\260\370\230+\b\000\000\000x\235\207+\b\000\000\000\377\227G\241)\037\364ʐp14\b", '\000' , "\330X\3004\b\000\000\000\200\t\3004\b", '\000' , "0VB!\b\000\000\000H\255\237+\b\000\000\000\000\020\000\000\000\000\000\000@", '\000' , "9\000\000\000\000\000\000\000\337VB!\b\000\000\000\207VB!\b", '\000' , "T"... [09:02:16.448] histfname = "00000003.history\000VB!\b\000\000\000\357ב\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\377\227G\241)\037\364\312\000\000\000\000\000\000\000" [09:02:16.448] fd = [09:02:16.448] #5 0x000000000065aba8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [09:02:16.448] newestTLI = 2 [09:02:16.448] probeTLI = 3 [09:02:16.448] #6 0x000000000067ecdb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=105189680) at ../src/backend/access/transam/xlogrecovery.c:4114 [09:02:16.448] oldtarget = 2 [09:02:16.448] currentTle = 0x0 [09:02:16.448] newtarget = [09:02:16.448] newExpectedTLEs = [09:02:16.448] found = [09:02:16.448] cell = [09:02:16.448] #7 0x000000000067af33 in WaitForWALToBecomeAvailable (RecPtr=105189704, tliRecPtr=105189680, replayTLI=2, replayLSN=105189680, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3676 [09:02:16.448] startWalReceiver = false [09:02:16.448] streaming_reply_sent = true [09:02:16.448] now = [09:02:16.448] startWalReceiver = [09:02:16.448] oldSource = [09:02:16.448] wait_time = [09:02:16.448] __error = [09:02:16.448] __error = [09:02:16.448] __error = [09:02:16.448] havedata = [09:02:16.448] ptr = [09:02:16.448] tli = [09:02:16.448] __error = [09:02:16.448] latestChunkStart = [09:02:16.448] __error = [09:02:16.448] #8 XLogPageRead (xlogreader=0x83560f130, targetPagePtr=105185280, reqLen=4424, targetRecPtr=105189680, readBuf=0x8356f95f8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [09:02:16.448] private = 0x83560f110 [09:02:16.448] emode = 15 [09:02:16.448] targetSegNo = 6 [09:02:16.448] targetPageOff = 4521984 [09:02:16.448] r = [09:02:16.448] #9 0x0000000000681c22 in ReadPageInternal (state=state@entry=0x83560f130, pageptr=105185280, reqLen=4424) at ../src/backend/access/transam/xlogreader.c:1060 [09:02:16.448] targetSegNo = 6 [09:02:16.448] targetPageOff = 4521984 [09:02:16.448] readLen = [09:02:16.448] hdr = [09:02:16.448] err = [09:02:16.448] #10 0x0000000000680a92 in XLogDecodeNextRecord (state=0x83560f130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [09:02:16.448] errormsg = 0x821429c98 "" [09:02:16.448] randAccess = [09:02:16.448] decoded = 0x0 [09:02:16.448] RecPtr = 105189680 [09:02:16.448] assembled = false [09:02:16.448] targetPagePtr = 34917730240 [09:02:16.448] readOff = [09:02:16.448] record = [09:02:16.448] gotheader = [09:02:16.448] targetRecOff = 4400 [09:02:16.448] pageHeaderSize = [09:02:16.448] len = [09:02:16.448] total_len = [09:02:16.448] buffer = [09:02:16.448] gotlen = [09:02:16.448] pageHeader = [09:02:16.448] contdata = [09:02:16.448] save_copy = [09:02:16.448] #11 XLogReadAhead (state=0x83560f130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [09:02:16.448] result = [09:02:16.448] #12 0x00000000006781e8 in XLogPrefetcherNextBlock (pgsr_private=35256251912, lsn=0x83572a828) at ../src/backend/access/transam/xlogprefetcher.c:490 [09:02:16.448] nonblocking = false [09:02:16.448] record = 0x0 [09:02:16.448] prefetcher = 0x8356fb608 [09:02:16.448] reader = 0x83560f130 [09:02:16.448] replaying_lsn = 105189632 [09:02:16.448] #13 0x0000000000677e52 in lrq_prefetch (lrq=0x83572a7a8) at ../src/backend/access/transam/xlogprefetcher.c:252 [09:02:16.448] No locals. [09:02:16.448] #14 lrq_complete_lsn (lrq=0x83572a7a8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [09:02:16.448] No locals. [09:02:16.448] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8356fb608, errmsg=errmsg@entry=0x821429d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [09:02:16.448] replayed_up_to = [09:02:16.448] record = [09:02:16.448] #16 0x000000000067b97a in ReadRecord (xlogprefetcher=0x8356fb608, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [09:02:16.448] errormsg = 0x83560f940 "" [09:02:16.448] xlogreader = 0x83560f130 [09:02:16.448] private = [09:02:16.448] record = [09:02:16.448] #17 0x000000000067c259 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [09:02:16.448] ru0 = {tv = {tv_sec = 1737017819, tv_usec = 551236}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1002}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 151, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 6, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 11, ru_nivcsw = 1}} [09:02:16.448] xtime = [09:02:16.448] reachedRecoveryTarget = false [09:02:16.448] replayTLI = 2 [09:02:16.448] record = [09:02:16.448] #18 0x000000000066cbf3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [09:02:16.448] wasShutdown = false [09:02:16.449] haveTblspcMap = false [09:02:16.449] haveBackupLabel = true [09:02:16.449] promoted = false [09:02:16.449] didCrash = [09:02:16.449] 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 = 774} [09:02:16.449] oldestActiveXID = [09:02:16.449] performedWalRecovery = [09:02:16.449] endOfRecoveryInfo = [09:02:16.449] EndOfLog = [09:02:16.449] EndOfLogTLI = [09:02:16.449] abortedRecPtr = [09:02:16.449] missingContrecPtr = [09:02:16.449] newTLI = [09:02:16.449] Insert = [09:02:16.449] #19 0x00000000008a430b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [09:02:16.449] No locals. [09:02:16.449] #20 0x000000000089e1b5 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 [09:02:16.449] pid = [09:02:16.449] #21 0x00000000008a0db7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3791 [09:02:16.449] pmchild = 0x0 [09:02:16.449] pid = [09:02:16.449] #22 0x00000000008a0952 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82142f5b8) at ../src/backend/postmaster/postmaster.c:1369 [09:02:16.449] userDoption = [09:02:16.449] listen_addr_saved = false [09:02:16.449] output_config_variable = [09:02:16.449] opt = [09:02:16.449] status = [09:02:16.449] #23 0x00000000007d7d50 in main (argc=4, argv=0x82142f5b8) at ../src/backend/main/main.c:230 [09:02:16.449] do_check_root = [09:02:16.449] dispatch_option = DISPATCH_POSTMASTER