[07:17:05.023] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [07:17:05.321] dumping /tmp/cores/postgres.35051.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [07:17:05.448] [New LWP 101826] [07:17:05.528] Core was generated by `postgres: cascading_standby: startup recovering 000000020000000000000006'. [07:17:05.528] Program terminated with signal SIGQUIT, Quit. [07:17:05.528] Sent by thr_kill() from pid 35051 and user 1002. [07:17:05.528] #0 0x000000082ca4d75a in _sigprocmask () from /lib/libc.so.7 [07:17:05.567] [07:17:05.567] Thread 1 (LWP 101826): [07:17:05.567] #0 0x000000082ca4d75a in _sigprocmask () from /lib/libc.so.7 [07:17:05.567] No symbol table info available. [07:17:05.567] #1 0x000000082ca8aa2f in _system () from /lib/libc.so.7 [07:17:05.567] No symbol table info available. [07:17:05.567] #2 0x0000000829de38a3 in ?? () from /lib/libthr.so.3 [07:17:05.567] No symbol table info available. [07:17:05.567] #3 0x0000000000670ff7 in RestoreArchivedFile (path=path@entry=0x8219f61e0 "pg_wal/00000002", '0' , "6", xlogfname=xlogfname@entry=0x8219f65e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [07:17:05.567] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\020\211\242,\b\000\000\000\360\\\237!\b\000\000\000`e\335)\b\000\000\000`\344\256,\b", '\000' , "`]\237!\b\000\000\000$\212\242,\b\000\000\000`\344\256,\b", '\000' , "\340\017\243,\b", '\000' , "\b\000\000\000\260a\237!\b", '\000' , "\340\017\243,\b", '\000' , "2\327Iw\377l\tO\020ܬs\253\005\000\000\001\000\000\000\000\000\000\000\200]\237!\b\000\000\000\372\246\221\000\000\000\000\000`3\260,\b\000\000\000\300"... [07:17:05.567] lastRestartPointFname = '0' , "\000\377\377\377\000\000\000\000\204Y\237!\b\000\000\000\377\377\377\377\000\000\000\000H`\237!\b", '\000' , "0Y\237!\b\000\000\000\026\016\260", '\000' , "\325\n\260\000\000\000\000\000H`\237!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "\325\n\260\000\000\000\000\000\260_\237!\b\000\000\000\373\377\377\377\000\000\000\000\005", '\000' , "\340Y\237!\b\000\000\000;\r\260", '\000' ... [07:17:05.567] stat_buf = {st_dev = 6, st_ino = 2, st_nlink = 34923831760, st_mode = 1379, st_padding0 = 176, st_uid = 0, st_gid = 564093392, st_padding1 = 8, st_rdev = 35108191767, st_atim = {tv_sec = 34923831656, 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 = 8194952455813857281}, st_size = 5695203048260491058, st_blocks = 35109477072, st_blksize = 5, st_flags = 0, st_gen = 0, st_spare = {34923831744, 2, 34923831696, 35108719189, 0, 1742022450, 505908261032123340, 5695203048260491058, 206158430240, 34923831776}} [07:17:05.567] restartRedoPtr = 34923831504 [07:17:05.567] restartTli = 8 [07:17:05.567] restartSegNo = [07:17:05.567] xlogRestoreCmd = 0x5ab73b13338 "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\"" [07:17:05.567] rc = [07:17:05.567] #4 0x00000000006581b8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [07:17:05.567] path = "pg_wal/00000002", '0' , "6\000\000\000\000\000\000\000\000\000\220Pes\253\005\000\000\001\000\000\000\000\000\000\000\260b\237!\b\000\000\000\020f\237!\b\000\000\000\020\260\253,\b\000\000\0002\327Iw\377l\tO\200\t\200s\253\005\000\000\000\000\000\000\000\000\000\000\220Pes\253\005\000\000\001\000\000\000\000\000\000\000\260b\237!\b\000\000\000\020f\237!\b\000\000\000\263\265\253,\b\000\000\000\300b\237!\b", '\000' , "\n", '\000' , "\330X\200s\253\005\000\000\000\020\000\000\000\000\000\000hf\237!\b\000\000\000"... [07:17:05.567] histfname = "00000003.history\000f\237!\b\000\000\000}\364\222\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\0000f\237!\b\000\000\000b\211\244,\b\000\000" [07:17:05.567] fd = [07:17:05.567] #5 0x0000000000658278 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [07:17:05.567] newestTLI = 2 [07:17:05.567] probeTLI = 3 [07:17:05.567] #6 0x000000000067c42b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=105210712) at ../src/backend/access/transam/xlogrecovery.c:4129 [07:17:05.567] oldtarget = 2 [07:17:05.567] currentTle = 0x0 [07:17:05.567] newtarget = [07:17:05.567] newExpectedTLEs = [07:17:05.567] found = [07:17:05.567] cell = [07:17:05.567] #7 0x0000000000678633 in WaitForWALToBecomeAvailable (RecPtr=105210736, tliRecPtr=105210712, replayTLI=2, replayLSN=105210712, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3691 [07:17:05.567] startWalReceiver = false [07:17:05.567] streaming_reply_sent = true [07:17:05.567] now = [07:17:05.567] startWalReceiver = [07:17:05.567] oldSource = [07:17:05.567] wait_time = [07:17:05.567] __error = [07:17:05.567] __error = [07:17:05.567] __error = [07:17:05.567] havedata = [07:17:05.567] ptr = [07:17:05.567] tli = [07:17:05.567] __error = [07:17:05.567] latestChunkStart = [07:17:05.567] __error = [07:17:05.567] #8 XLogPageRead (xlogreader=0x5ab73a1d130, targetPagePtr=105209856, reqLen=880, targetRecPtr=105210712, readBuf=0x5ab73b0f9f8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3357 [07:17:05.567] private = 0x5ab73a1d110 [07:17:05.567] emode = 15 [07:17:05.567] targetSegNo = 6 [07:17:05.567] targetPageOff = 4546560 [07:17:05.567] io_start = [07:17:05.567] r = [07:17:05.567] #9 0x000000000067f38a in ReadPageInternal (state=state@entry=0x5ab73a1d130, pageptr=105209856, reqLen=880) at ../src/backend/access/transam/xlogreader.c:1061 [07:17:05.567] targetSegNo = 6 [07:17:05.567] targetPageOff = 4546560 [07:17:05.567] readLen = [07:17:05.567] hdr = [07:17:05.567] err = [07:17:05.567] #10 0x000000000067e1b8 in XLogDecodeNextRecord (state=0x5ab73a1d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [07:17:05.567] errormsg = 0x8219fac98 "" [07:17:05.567] randAccess = [07:17:05.567] decoded = 0x0 [07:17:05.567] RecPtr = 105210712 [07:17:05.567] assembled = false [07:17:05.567] targetPagePtr = 105209856 [07:17:05.567] readOff = [07:17:05.567] record = [07:17:05.567] gotheader = [07:17:05.567] targetRecOff = 856 [07:17:05.567] pageHeaderSize = [07:17:05.567] len = [07:17:05.567] total_len = [07:17:05.567] buffer = [07:17:05.567] gotlen = [07:17:05.567] pageHeader = [07:17:05.567] contdata = [07:17:05.567] save_copy = [07:17:05.567] #11 XLogReadAhead (state=0x5ab73a1d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [07:17:05.567] result = [07:17:05.567] #12 0x00000000006758e8 in XLogPrefetcherNextBlock (pgsr_private=6233938532872, lsn=0x5ab73b72028) at ../src/backend/access/transam/xlogprefetcher.c:490 [07:17:05.567] nonblocking = false [07:17:05.567] record = 0x0 [07:17:05.567] prefetcher = 0x5ab73b11a08 [07:17:05.567] reader = 0x5ab73a1d130 [07:17:05.567] replaying_lsn = 105210664 [07:17:05.567] #13 0x0000000000675555 in lrq_prefetch (lrq=0x5ab73b71fa8) at ../src/backend/access/transam/xlogprefetcher.c:252 [07:17:05.567] No locals. [07:17:05.567] #14 lrq_complete_lsn (lrq=0x5ab73b71fa8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [07:17:05.567] No locals. [07:17:05.567] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x5ab73b11a08, errmsg=errmsg@entry=0x8219fad60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [07:17:05.567] replayed_up_to = [07:17:05.567] record = [07:17:05.567] #16 0x00000000006790ea in ReadRecord (xlogprefetcher=0x5ab73b11a08, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [07:17:05.567] errormsg = 0x5ab73a1d940 "" [07:17:05.567] xlogreader = 0x5ab73a1d130 [07:17:05.567] private = [07:17:05.567] record = [07:17:05.567] #17 0x00000000006799d9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [07:17:05.567] ru0 = {tv = {tv_sec = 1742022448, tv_usec = 191191}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1093}, 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}} [07:17:05.567] xtime = [07:17:05.567] reachedRecoveryTarget = false [07:17:05.567] replayTLI = 2 [07:17:05.567] record = [07:17:05.567] #18 0x000000000066a1a3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [07:17:05.567] wasShutdown = false [07:17:05.567] haveTblspcMap = false [07:17:05.567] haveBackupLabel = true [07:17:05.567] promoted = false [07:17:05.567] didCrash = [07:17:05.567] 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} [07:17:05.567] oldestActiveXID = [07:17:05.567] performedWalRecovery = [07:17:05.567] endOfRecoveryInfo = [07:17:05.567] EndOfLog = [07:17:05.567] EndOfLogTLI = [07:17:05.567] abortedRecPtr = [07:17:05.567] missingContrecPtr = [07:17:05.567] newTLI = [07:17:05.567] Insert = [07:17:05.567] #19 0x00000000008a8ecb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [07:17:05.567] No locals. [07:17:05.567] #20 0x00000000008a2cdb 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 [07:17:05.567] pid = [07:17:05.567] #21 0x00000000008a58d7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3910 [07:17:05.567] pmchild = 0x0 [07:17:05.567] pid = [07:17:05.567] #22 0x00000000008a5473 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821a001f8) at ../src/backend/postmaster/postmaster.c:1377 [07:17:05.567] userDoption = [07:17:05.567] listen_addr_saved = false [07:17:05.567] output_config_variable = [07:17:05.567] opt = [07:17:05.567] status = [07:17:05.567] #23 0x00000000007da070 in main (argc=4, argv=0x821a001f8) at ../src/backend/main/main.c:230 [07:17:05.567] do_check_root = [07:17:05.567] dispatch_option = DISPATCH_POSTMASTER