[07:20:59.863] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [07:21:00.167] dumping /tmp/cores/postgres.38689.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [07:21:00.295] [New LWP 102036] [07:21:00.379] Core was generated by `postgres: standby2: startup waiting for 000000020000000000000004'. [07:21:00.379] Program terminated with signal SIGQUIT, Quit. [07:21:00.379] Sent by thr_kill() from pid 38689 and user 1002. [07:21:00.379] #0 0x000000082b7c675a in _sigprocmask () from /lib/libc.so.7 [07:21:00.421] [07:21:00.421] Thread 1 (LWP 102036): [07:21:00.421] #0 0x000000082b7c675a in _sigprocmask () from /lib/libc.so.7 [07:21:00.421] No symbol table info available. [07:21:00.421] #1 0x000000082b803a2f in _system () from /lib/libc.so.7 [07:21:00.421] No symbol table info available. [07:21:00.421] #2 0x000000082aa0e8a3 in ?? () from /lib/libthr.so.3 [07:21:00.421] No symbol table info available. [07:21:00.421] #3 0x000000000067d757 in RestoreArchivedFile (path=path@entry=0x8214d31e0 "pg_wal/0\313", , xlogfname=xlogfname@entry=0x8214d3630 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [07:21:00.421] xlogpath = "pg_wal/RECOVERYXLOG\000RY\000\000\377\377\377\377\377\377\377\377pg_wal/00000002", '0' , "3\000\273\264\337g\000\000\000\000x\257\v\030\000\000\000\000\273\264\337g\000\000\000\000p]\v\030\000\000\000\000)\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000\020", '\000' ... [07:21:00.421] lastRestartPointFname = "00000001", '0' , "2\000\334g\000\000\000\000\000\204)M!\b\000\000\000\377\377\377\377\000\000\000\000H0M!\b", '\000' , "0)M!\b\000\000\0006\030\261", '\000' , "\365\024\261\000\000\000\000\000H0M!\b\000\000\000\376\377\377\377\000\000\000\000\324)M!\b\000\000\000\377\377\377\377\000\000\000\000\2300M!\b", '\000' , "\200)M!\b\000\000\0006\030\261\000\000\000\000\000\001\000\000\000\000\000\000\000\2300M!\b\000\000\000\2300M!\b\000\000\000\377\377\377\377\000\000\000\000\001", '\000' ... [07:21:00.421] stat_buf = {st_dev = 34918446560, st_ino = 34918446640, st_nlink = 12431488, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 558707152, st_padding1 = 8, st_rdev = 35088764439, st_atim = {tv_sec = 38554782786815, tv_nsec = 12640064}, st_mtim = {tv_sec = 875573296, tv_nsec = 0}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34918446608}, st_size = 34918445632, st_blocks = 11664323, st_blksize = 1298088780, st_flags = 1095979845, st_gen = 8391173058342372679, st_spare = {3373396, 38554782736384, 15, 0, 11, 34987255888, 0, 34918445360, 206158430240, 34918445536}} [07:21:00.421] restartRedoPtr = 33554472 [07:21:00.421] restartTli = 1 [07:21:00.421] restartSegNo = [07:21:00.421] xlogRestoreCmd = 0x2310bc370ce8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/043_no_contrecord_switch/data/t_043_no_contrecord_switch_primary_data/archives/00000002", '0' , "4\" \"pg_wal/RECOVERYXLOG\"" [07:21:00.421] rc = [07:21:00.421] #4 0x0000000000688da0 in XLogFileRead (segno=segno@entry=4, tli=tli@entry=2, source=source@entry=XLOG_FROM_ARCHIVE, notfoundOk=true) at ../src/backend/access/transam/xlogrecovery.c:4225 [07:21:00.421] xlogfname = "00000002", '0' , "4\000*\344\033\340\214\253\334\000\000\000\000\000\000\000\000\2206M!\b\000\000\000\2006M!\b\000\000\000\242\031|+\b\000\000" [07:21:00.421] activitymsg = "waiting for 00000002", '0' , "4\000#\000\000h\033\000\000\000\000\000\000\2206M!\b\000\000\000\003\000\000\000\000\000\000\000`6M!\b\000\000\000U\032|+\b\000\000" [07:21:00.421] path = "pg_wal/0\313\3477\000\000\000\000\000\030\000\000\0000\000\000\000P2M!\b\000\000\00001M!\b\000\000\000?\225\256\000\000\000\000\000\360\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\000\340!\274\020#\000\000\000\000\000\000\000\000\000\0000\303\300\000\000\000\000\0000\345\300\000\000\000\000\000P6M!\b\000\000\000i7\254\000\000\000\000\000\000\f#\274\020#\000\000\030(\000\000\000\000\000\000\001(\000\000\000\000\000\000\00002\274\020#\000\000|E/\000\000\000\000\000\000\f#\274\020#\000\000\020\345\300\000\000\000\000\0000\345\300\000\000\000\000\00085M!\177\003\000\000\333*\344\033\340\214\253\334UTC\000\b\000\000\000"... [07:21:00.421] fd = [07:21:00.421] #5 0x0000000000684aec in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4353 [07:21:00.421] hent = [07:21:00.421] tli = 2 [07:21:00.421] cell__state = {l = 0x2310bc345818, i = 0} [07:21:00.421] path = "\000\000\000\004\000\000\000\0000000002", '0' , "4\000\200R\345\273\020#\000\000\000\000\000\000\000\000\000\000\2007M!\b\000\000\000\312W\200+\b\000\000\000\200\000\000\002\000\000\000\000\270\0304\274\020#\000\000\002\000\000\000\000\000\000\000\200\000\000\002", '\000' , "\002", '\000' , "\001\000\000\0003\305h\000\000\000\000\000\000\000\000\002\000\000\000\000\005\000\000\000\000\000\000\000|\004\240\274\020#\000\0003\305h\000\000\000\000\000\220\004\240\274\020#\000\000\000\000\b\000\000\000\000\000|\004\240\274\020#\000\000\000xM!\b\000\000\000\220\004\240\274\020#", '\000' ... [07:21:00.421] tles = 0x2310bc345818 [07:21:00.421] cell = [07:21:00.421] fd = [07:21:00.421] cell__state = [07:21:00.421] hent = [07:21:00.421] tli = [07:21:00.421] beginseg = [07:21:00.421] __error = [07:21:00.421] __error = [07:21:00.421] #6 WaitForWALToBecomeAvailable (RecPtr=67173224, tliRecPtr=67173200, replayTLI=2, replayLSN=67173200, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3787 [07:21:00.421] startWalReceiver = [07:21:00.421] streaming_reply_sent = true [07:21:00.421] now = [07:21:00.421] startWalReceiver = [07:21:00.421] oldSource = [07:21:00.421] wait_time = [07:21:00.421] __error = [07:21:00.421] __error = [07:21:00.421] __error = [07:21:00.421] havedata = [07:21:00.421] ptr = [07:21:00.421] tli = [07:21:00.421] __error = [07:21:00.421] latestChunkStart = [07:21:00.421] __error = [07:21:00.421] #7 XLogPageRead (xlogreader=0x2310bc21d130, targetPagePtr=67166208, reqLen=7016, targetRecPtr=67173200, readBuf=0x2310bc3418b8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3357 [07:21:00.421] private = 0x2310bc21d110 [07:21:00.421] emode = 15 [07:21:00.421] targetSegNo = 4 [07:21:00.421] targetPageOff = 57344 [07:21:00.421] io_start = [07:21:00.421] r = [07:21:00.421] #8 0x000000000068baea in ReadPageInternal (state=state@entry=0x2310bc21d130, pageptr=67166208, reqLen=7016) at ../src/backend/access/transam/xlogreader.c:1061 [07:21:00.421] targetSegNo = 4 [07:21:00.421] targetPageOff = 57344 [07:21:00.421] readLen = [07:21:00.421] hdr = [07:21:00.421] err = [07:21:00.421] #9 0x000000000068a918 in XLogDecodeNextRecord (state=0x2310bc21d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [07:21:00.421] errormsg = 0xc0cd98 "" [07:21:00.421] randAccess = [07:21:00.421] decoded = 0x0 [07:21:00.421] RecPtr = 67173200 [07:21:00.421] assembled = false [07:21:00.421] targetPagePtr = 67166208 [07:21:00.421] readOff = [07:21:00.421] record = [07:21:00.421] gotheader = [07:21:00.421] targetRecOff = 6992 [07:21:00.421] pageHeaderSize = [07:21:00.421] len = [07:21:00.421] total_len = [07:21:00.421] buffer = [07:21:00.421] gotlen = [07:21:00.421] pageHeader = [07:21:00.421] contdata = [07:21:00.421] save_copy = [07:21:00.421] #10 XLogReadAhead (state=0x2310bc21d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [07:21:00.421] result = [07:21:00.421] #11 0x0000000000682048 in XLogPrefetcherNextBlock (pgsr_private=38554783987912, lsn=0x2310bc370698) at ../src/backend/access/transam/xlogprefetcher.c:490 [07:21:00.421] nonblocking = false [07:21:00.421] record = 0x0 [07:21:00.421] prefetcher = 0x2310bc3438c8 [07:21:00.421] reader = 0x2310bc21d130 [07:21:00.421] replaying_lsn = 67173160 [07:21:00.421] #12 0x0000000000681cb5 in lrq_prefetch (lrq=0x2310bc3704d8) at ../src/backend/access/transam/xlogprefetcher.c:252 [07:21:00.421] No locals. [07:21:00.421] #13 lrq_complete_lsn (lrq=0x2310bc3704d8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [07:21:00.421] No locals. [07:21:00.421] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x2310bc3438c8, errmsg=errmsg@entry=0x8214d7d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [07:21:00.421] replayed_up_to = [07:21:00.421] record = [07:21:00.421] #15 0x000000000068584a in ReadRecord (xlogprefetcher=0x2310bc3438c8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [07:21:00.422] errormsg = 0x0 [07:21:00.422] xlogreader = 0x2310bc21d130 [07:21:00.422] private = [07:21:00.422] record = [07:21:00.422] #16 0x0000000000686139 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [07:21:00.422] ru0 = {tv = {tv_sec = 1742714043, tv_usec = 98548}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1125}, ru_maxrss = 27548, ru_ixrss = 6148, ru_idrss = 372, ru_isrss = 128, ru_minflt = 158, 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 = 0}} [07:21:00.422] xtime = [07:21:00.422] reachedRecoveryTarget = false [07:21:00.422] replayTLI = 2 [07:21:00.422] record = [07:21:00.422] #17 0x0000000000676903 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [07:21:00.422] wasShutdown = false [07:21:00.422] haveTblspcMap = false [07:21:00.422] haveBackupLabel = true [07:21:00.422] promoted = false [07:21:00.422] didCrash = [07:21:00.422] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = 741, oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 749} [07:21:00.422] oldestActiveXID = [07:21:00.422] performedWalRecovery = [07:21:00.422] endOfRecoveryInfo = [07:21:00.422] EndOfLog = [07:21:00.422] EndOfLogTLI = [07:21:00.422] abortedRecPtr = [07:21:00.422] missingContrecPtr = [07:21:00.422] newTLI = [07:21:00.422] Insert = [07:21:00.422] #18 0x00000000008b5d9b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [07:21:00.422] No locals. [07:21:00.422] #19 0x00000000008af86b in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=89, 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:291 [07:21:00.422] pid = [07:21:00.422] #20 0x00000000008b2637 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3966 [07:21:00.422] pmchild = 0x0 [07:21:00.422] pid = [07:21:00.422] #21 0x00000000008b2032 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8214dc870) at ../src/backend/postmaster/postmaster.c:1392 [07:21:00.422] userDoption = [07:21:00.422] listen_addr_saved = false [07:21:00.422] output_config_variable = [07:21:00.422] opt = [07:21:00.422] status = [07:21:00.422] #22 0x00000000007e6b50 in main (argc=4, argv=0x8214dc870) at ../src/backend/main/main.c:230 [07:21:00.422] do_check_root = [07:21:00.422] dispatch_option = DISPATCH_POSTMASTER