[20:40:19.616] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [20:40:20.023] dumping /tmp/cores/postgres.16427.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [20:40:20.162] [New LWP 100183] [20:40:20.256] Core was generated by `postgres: standby2: startup recovering 000000010000000000000006'. [20:40:20.256] Program terminated with signal SIGQUIT, Quit. [20:40:20.256] Sent by thr_kill() from pid 16427 and user 1003. [20:40:20.256] #0 0x000000082cace26a in _sigprocmask () from /lib/libc.so.7 [20:40:20.307] [20:40:20.307] Thread 1 (LWP 100183): [20:40:20.307] #0 0x000000082cace26a in _sigprocmask () from /lib/libc.so.7 [20:40:20.307] No symbol table info available. [20:40:20.307] #1 0x000000082cb09a60 in _system () from /lib/libc.so.7 [20:40:20.307] No symbol table info available. [20:40:20.307] #2 0x000000082c0980f3 in ?? () from /lib/libthr.so.3 [20:40:20.307] No symbol table info available. [20:40:20.307] #3 0x0000000000635886 in RestoreArchivedFile (path=path@entry=0x820d681d0 "pg_wal/00000001", '0' , "6", xlogfname=xlogfname@entry=0x820d685d0 "00000002.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=false) at ../src/backend/access/transam/xlogarchive.c:177 [20:40:20.307] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000\020\n\000\000\000\000\000\210[\3736\b\000\000\000\240Z\3736\b\000\000\000\230Z\3736\b\000\000\000\230U\3736\b\000\000\000\000\340\344\000\000\000\000\000\000\260\2516\b\000\000\0000\020\n\000\000\000\000\000\320|\326 \b\000\000\000\320|\326 \b\000\000\000\340\373\377\377\377\177\000\000\200}\326 \b\000\000\000\003\000\000\000\000\000\000\000\b\001\000\000\000\000\000\000'(\000\000\000\000\000\000\b\000\000\0000\000\000\000\240\201\326 \b\000\000\000\240\200\326 \b\000\000\000\277t\235,\b\000\000\000\002\000\000\000\000\000\000\000\tt\205\253\264\b\000\0008~\326 \b\000\000\000"... [20:40:20.307] lastRestartPointFname = '0' , '\000' , "pg_wal/RECOVE\000Y\000LOG\000\000\000\000\0008\300\252\000\000\000\000\000\376\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\001", '\000' , "0\000\000\000\000\000\000\000\210\200\326 \b\000\000\000\264y\326 \b", '\000' , "`y\326 \b\000\000\0008\300\252\000\000\000\000\000\376\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\376\377\377\377\000\000\000\000\001\200\326 \b\000\000\000\210\200\326 \b\000\000\000"... [20:40:20.307] stat_buf = {st_dev = 1, st_ino = 12097256, st_nlink = 1, st_mode = 33216, st_padding0 = 8406, st_uid = 8, st_gid = 11188945, st_padding1 = 0, st_rdev = 18374403900871474943, st_atim = {tv_sec = -9187201950435737472, tv_nsec = 34910667088}, st_mtim = {tv_sec = 2, tv_nsec = 12132072}, st_ctim = {tv_sec = 35306513164, tv_nsec = 34910667072}, st_birthtim = {tv_sec = 35109246147, tv_nsec = 34910668288}, st_size = 7331324997484412929, st_blocks = 7362464749364094631, st_blksize = 78, st_flags = 0, st_gen = 2, st_spare = {0, 34910667184, 35110006256, 34910667136, 35109245949, 1713472664, 14876981609760352021, 206158430224, 34910667168, 206158430240}} [20:40:20.307] restartRedoPtr = [20:40:20.307] restartTli = [20:40:20.307] restartSegNo = [20:40:20.307] xlogRestoreCmd = 0x836a63ee8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/040_standby_failover_slots_sync/data/t_040_standby_failover_slots_sync_publisher_data/archives/00000002.history\" \"pg_wal/RECOVERYHISTORY\"" [20:40:20.307] rc = [20:40:20.307] #4 0x000000000061cd28 in existsTimeLineHistory (probeTLI=probeTLI@entry=2) at ../src/backend/access/transam/timeline.c:235 [20:40:20.307] path = "pg_wal/00000001", '0' , "6\000\360", '\000' , "8 \t!\b\000\000\000\001\000\000\000\000\000\000\000\b\304\b!\b\000\000\000\000֙,\b\000\000\000\270\204\326 \b", '\000' , "p\202\326 \b\000\000\000\000\204\326 \b\000\000\000\bP\b!\b\000\000\000 \000\000\000\000\000\000\000\360\203\326 \b\000\000\000<\v\205\253\264\b\000\000\bP\b!\b\000\000\000\bT\b!\b\000\000\000\bX\b!\b\000\000\000\b\\\b!\b\000\000\000\b\220\b!\b\000\000\000\b"... [20:40:20.307] histfname = "00000002.history\000\206\326 \b\000\000\000\377\377\377\377\377\377\377\377P\206\326 \b\000\000\000B\206\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000" [20:40:20.307] fd = [20:40:20.307] #5 0x000000000061cde8 in findNewestTimeLine (startTLI=startTLI@entry=1) at ../src/backend/access/transam/timeline.c:277 [20:40:20.307] newestTLI = 1 [20:40:20.307] probeTLI = 2 [20:40:20.307] #6 0x0000000000640c0b in rescanLatestTimeLine (replayTLI=replayTLI@entry=1, replayLSN=replayLSN@entry=100683512) at ../src/backend/access/transam/xlogrecovery.c:4113 [20:40:20.307] oldtarget = 1 [20:40:20.307] currentTle = 0x0 [20:40:20.307] newtarget = [20:40:20.307] newExpectedTLEs = [20:40:20.307] found = [20:40:20.307] cell = [20:40:20.307] #7 0x000000000063ce55 in WaitForWALToBecomeAvailable (RecPtr=100683536, tliRecPtr=100683512, replayTLI=3, replayLSN=34910664624, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3674 [20:40:20.307] startWalReceiver = false [20:40:20.307] streaming_reply_sent = true [20:40:20.307] now = [20:40:20.307] startWalReceiver = [20:40:20.307] oldSource = [20:40:20.307] wait_time = [20:40:20.307] __error = [20:40:20.307] __error = [20:40:20.307] __error = [20:40:20.307] havedata = [20:40:20.307] ptr = [20:40:20.307] tli = [20:40:20.307] __error = [20:40:20.307] latestChunkStart = [20:40:20.307] __error = [20:40:20.307] #8 XLogPageRead (xlogreader=0x8369770b0, targetPagePtr=100679680, reqLen=3856, targetRecPtr=100683512, readBuf=0x836a606b8 "\025\321\006") at ../src/backend/access/transam/xlogrecovery.c:3351 [20:40:20.307] private = 0x836977090 [20:40:20.307] emode = 15 [20:40:20.307] targetSegNo = 6 [20:40:20.307] targetPageOff = 16384 [20:40:20.307] r = [20:40:20.307] #9 0x0000000000643ba7 in ReadPageInternal (state=state@entry=0x8369770b0, pageptr=34910664624, pageptr@entry=100679680, reqLen=3856) at ../src/backend/access/transam/xlogreader.c:1060 [20:40:20.307] targetSegNo = 6 [20:40:20.307] targetPageOff = 16384 [20:40:20.307] readLen = [20:40:20.307] hdr = [20:40:20.307] err = [20:40:20.307] #10 0x00000000006429c5 in XLogDecodeNextRecord (state=0x8369770b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [20:40:20.307] randAccess = [20:40:20.307] decoded = 0x0 [20:40:20.307] RecPtr = 100683512 [20:40:20.307] assembled = false [20:40:20.307] targetPagePtr = 100679680 [20:40:20.307] readOff = [20:40:20.307] record = [20:40:20.307] gotheader = [20:40:20.307] targetRecOff = 3832 [20:40:20.307] pageHeaderSize = [20:40:20.307] len = [20:40:20.307] errormsg = [20:40:20.307] total_len = [20:40:20.307] buffer = [20:40:20.307] gotlen = [20:40:20.307] pageHeader = [20:40:20.307] contdata = [20:40:20.307] save_copy = [20:40:20.307] #11 XLogReadAhead (state=0x8369770b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [20:40:20.307] result = [20:40:20.307] #12 0x000000000063a0ec in XLogPrefetcherNextBlock (pgsr_private=35275636448, lsn=0x836a90b78) at ../src/backend/access/transam/xlogprefetcher.c:492 [20:40:20.307] nonblocking = false [20:40:20.307] record = 0x0 [20:40:20.307] prefetcher = 0x836977ee0 [20:40:20.307] reader = 0x8369770b0 [20:40:20.307] replaying_lsn = 100683464 [20:40:20.307] #13 0x0000000000639d7a in lrq_prefetch (lrq=0x836a90aa8) at ../src/backend/access/transam/xlogprefetcher.c:252 [20:40:20.307] No locals. [20:40:20.307] #14 lrq_complete_lsn (lrq=0x836a90aa8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [20:40:20.307] No locals. [20:40:20.307] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836977ee0, errmsg=errmsg@entry=0x820d6cd60) at ../src/backend/access/transam/xlogprefetcher.c:1037 [20:40:20.307] replayed_up_to = [20:40:20.307] record = [20:40:20.307] #16 0x000000000063d88c in ReadRecord (xlogprefetcher=0x836977ee0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=1) at ../src/backend/access/transam/xlogrecovery.c:3151 [20:40:20.307] errormsg = 0x8369778c0 "" [20:40:20.307] xlogreader = 0x8369770b0 [20:40:20.307] private = [20:40:20.307] record = [20:40:20.307] #17 0x000000000063e169 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [20:40:20.307] ru0 = {tv = {tv_sec = 1713472658, tv_usec = 687150}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1057}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 143, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 6, ru_nivcsw = 2}} [20:40:20.307] xtime = [20:40:20.307] reachedRecoveryTarget = false [20:40:20.307] replayTLI = 1 [20:40:20.308] record = [20:40:20.308] #18 0x000000000062ed59 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5806 [20:40:20.308] promoted = false [20:40:20.308] didCrash = [20:40:20.308] wasShutdown = [20:40:20.308] haveTblspcMap = [20:40:20.308] haveBackupLabel = [20:40:20.308] checkPoint = {redo = 83886120, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = 1, oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 751} [20:40:20.308] oldestActiveXID = [20:40:20.308] performedWalRecovery = [20:40:20.308] endOfRecoveryInfo = [20:40:20.308] EndOfLog = [20:40:20.308] EndOfLogTLI = [20:40:20.308] abortedRecPtr = [20:40:20.308] missingContrecPtr = [20:40:20.308] newTLI = [20:40:20.308] Insert = [20:40:20.308] #19 0x0000000000861eab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [20:40:20.308] No locals. [20:40:20.308] #20 0x000000000085b152 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, 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:265 [20:40:20.308] pid = [20:40:20.308] #21 0x000000000085d6f5 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3928 [20:40:20.308] pid = [20:40:20.308] __error = [20:40:20.308] #22 0x000000000085d346 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820d72128) at ../src/backend/postmaster/postmaster.c:1364 [20:40:20.308] userDoption = [20:40:20.308] listen_addr_saved = false [20:40:20.308] output_config_variable = [20:40:20.308] opt = [20:40:20.308] status = [20:40:20.308] #23 0x0000000000795045 in main (argc=4, argv=0x820d72128) at ../src/backend/main/main.c:197 [20:40:20.308] do_check_root =