[19:41:19.046] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [19:41:19.422] dumping /tmp/cores/postgres.12701.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:41:19.556] [New LWP 101689] [19:41:19.644] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [19:41:19.644] Program terminated with signal SIGQUIT, Quit. [19:41:19.644] Sent by thr_kill() from pid 12701 and user 1003. [19:41:19.644] #0 0x000000082a4e08fa in _sigprocmask () from /lib/libc.so.7 [19:41:19.694] [19:41:19.694] Thread 1 (LWP 101689): [19:41:19.694] #0 0x000000082a4e08fa in _sigprocmask () from /lib/libc.so.7 [19:41:19.694] No symbol table info available. [19:41:19.694] #1 0x000000082a519f91 in _system () from /lib/libc.so.7 [19:41:19.694] No symbol table info available. [19:41:19.694] #2 0x0000000829a949d3 in ?? () from /lib/libthr.so.3 [19:41:19.694] No symbol table info available. [19:41:19.694] #3 0x0000000000635295 in RestoreArchivedFile (path=path@entry=0x82166a1d0 "pg_wal/0\347", , xlogfname=xlogfname@entry=0x82166a620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [19:41:19.694] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2404\b\000\000\000\210\246f!\b\000\000\0009\000\000\000\000\000\000\000\000\000\344\000\000\000\000\000\000\020\n\000\000\000\000\000\200͠4\b\000\000\000\270\305z6\b\000\000\000\330\304z6\b\000\000\000\320\304z6\b\000\000\000пz6\b\000\000\000\000\340\344\000\000\000\000\000\000 ~5\b\000\000\000\000\020\n\000\000\000\000\000 \235f!\b\000\000\000 \235f!\b", '\000' , "\350\236f!\b\000\000\000h\235f!\b\000\000\000\b\000\000\0000\000\000\000Сf"... [19:41:19.694] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\234f!\b\000\000\000`\232f!\b", '\000' , "\240&Y*\b", '\000' , "u{\252\000\000\000\000\000\300\231f!\b\000\000\0000\000\000\000\000\000\000\000\210\240f!\b", '\000' , "p\231f!\b\000\000\000\303~\252", '\000' , "u{\252\000\000\000\000\000\210\240f!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [19:41:19.694] stat_buf = {st_dev = 34920113616, st_ino = 34920113696, st_nlink = 11987760, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 560374208, st_padding1 = 8, st_rdev = 35068949991, st_atim = {tv_sec = 35256001791, tv_nsec = 12145840}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34920113664}, st_size = 34920112688, st_blocks = 11224003, st_blksize = 698875971, st_flags = 8, st_gen = 34994216059, st_spare = {3320350, 35255951360, 4294967292, 9259542123273814144, 34920112432, 0, 11, 35058676208, 206158430240, 34920112592}} [19:41:19.694] restartRedoPtr = 33554472 [19:41:19.694] restartTli = 1 [19:41:19.694] restartSegNo = [19:41:19.694] xlogRestoreCmd = 0x8357ab7f8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000002", '0' , "4\" \"pg_wal/RECOVERYXLOG\"" [19:41:19.694] rc = [19:41:19.694] #4 0x000000000064091e in XLogFileRead (segno=segno@entry=4, emode=, tli=tli@entry=2, source=source@entry=XLOG_FROM_ARCHIVE, notfoundOk=true) at ../src/backend/access/transam/xlogrecovery.c:4221 [19:41:19.694] xlogfname = "00000002", '0' , "4\000\246f!\b\000\000\000p\246f!\b\000\000\000\365\271M*\b\000\000\000\0021\000\000\000\000\000\000\254\001\000\000\000\000\000" [19:41:19.694] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240&Y*\b\000\000\000@\246f!\b\000\000\000\257\272M*\b\000\000\000\346\315\320f\000\000\000\000\vm3ד\253\217z" [19:41:19.694] path = "pg_wal/0\347\3656\000\000\000\000\000\030\000\000\0000\000\000\000@\242f!\b\000\000\000 \241f!\b\000\000\000\251\006\250\000\000\000\000\000\360\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\000\340k5\b", '\000' , "\2408\271\000\000\000\000\000\220Z\271\000\000\000\000\000@\246f!\b\000\000\000\251\257\245\000\000\000\000\000\b\220\267!\b\000\000\000 \000\000\000\000\000\000\000\340\243f!\b\000\000\000\347\n\344\240+\n\000\000\b\220\267!\b\000\000\000\b\224\267!\b\000\000\000\b\230\267!\b\000\000\000\b\234\267!\b\000\000\000\bз!\b\000\000\000\bԷ!\b\000\000\000\bط!\b\000\000\000\bܷ!"... [19:41:19.694] fd = [19:41:19.694] #5 0x000000000063c5fc in XLogFileReadAnyTLI (segno=4, emode=13, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4349 [19:41:19.694] hent = [19:41:19.694] tli = 2 [19:41:19.694] cell__state = {l = 0x8357abe18, i = 0} [19:41:19.694] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\b\355\215\"\277\343\310b\220P\2033\b\000\000\0009\000\000\000\000\000\000\000\000\000\n\000\000\000\000\000@\000\b\000\000\000\000\000\240&Y*\b\000\000\000\220\247f!\b\000\000\000\353\274Q*\b", '\000' , "\002", '\000' , "\001\000\000\000\001V38\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\b\355\215\"\277\343\310b\000\300k5\b\000\000\000@\000\b\000\000\000\000\000"... [19:41:19.694] tles = 0x8357abe18 [19:41:19.694] cell = [19:41:19.694] fd = [19:41:19.694] cell__state = [19:41:19.694] hent = [19:41:19.694] tli = [19:41:19.694] beginseg = [19:41:19.694] __error = [19:41:19.694] __error = [19:41:19.694] #6 WaitForWALToBecomeAvailable (RecPtr=67117056, tliRecPtr=67209336, replayTLI=2, replayLSN=67209336, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3782 [19:41:19.694] startWalReceiver = [19:41:19.694] streaming_reply_sent = false [19:41:19.694] now = [19:41:19.694] startWalReceiver = [19:41:19.694] oldSource = [19:41:19.694] wait_time = [19:41:19.694] __error = [19:41:19.694] __error = [19:41:19.694] __error = [19:41:19.694] havedata = [19:41:19.694] ptr = [19:41:19.694] tli = [19:41:19.694] __error = [19:41:19.694] latestChunkStart = [19:41:19.694] __error = [19:41:19.694] #7 XLogPageRead (xlogreader=0x8356bd130, targetPagePtr=67108864, reqLen=8192, targetRecPtr=67209336, readBuf=0x8357a7eb8 "\026\321\005") at ../src/backend/access/transam/xlogrecovery.c:3363 [19:41:19.694] private = 0x8356bd110 [19:41:19.694] emode = 15 [19:41:19.694] targetSegNo = 4 [19:41:19.694] targetPageOff = 0 [19:41:19.694] r = [19:41:19.694] #8 0x0000000000643586 in ReadPageInternal (state=state@entry=0x8356bd130, pageptr=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1040 [19:41:19.694] targetSegmentPtr = 67108864 [19:41:19.694] targetSegNo = 4 [19:41:19.694] targetPageOff = 98304 [19:41:19.694] readLen = [19:41:19.694] hdr = [19:41:19.694] err = [19:41:19.694] #9 0x0000000000642472 in XLogDecodeNextRecord (state=0x8356bd130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [19:41:19.694] errormsg = 0x82166ec98 "" [19:41:19.694] randAccess = [19:41:19.694] decoded = 0x0 [19:41:19.694] RecPtr = 67209336 [19:41:19.694] assembled = false [19:41:19.694] targetPagePtr = 34920110016 [19:41:19.694] readOff = [19:41:19.694] record = [19:41:19.694] gotheader = [19:41:19.694] targetRecOff = 2168 [19:41:19.694] pageHeaderSize = [19:41:19.694] len = [19:41:19.694] total_len = [19:41:19.694] buffer = [19:41:19.694] gotlen = [19:41:19.694] pageHeader = [19:41:19.694] contdata = [19:41:19.694] save_copy = [19:41:19.694] #10 XLogReadAhead (state=0x8356bd130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [19:41:19.694] result = [19:41:19.694] #11 0x0000000000639bb8 in XLogPrefetcherNextBlock (pgsr_private=35256966856, lsn=0x8357d7b18) at ../src/backend/access/transam/xlogprefetcher.c:490 [19:41:19.694] nonblocking = false [19:41:19.694] record = 0x0 [19:41:19.694] prefetcher = 0x8357a9ec8 [19:41:19.694] reader = 0x8356bd130 [19:41:19.694] replaying_lsn = 67208928 [19:41:19.694] #12 0x0000000000639822 in lrq_prefetch (lrq=0x8357d78a8) at ../src/backend/access/transam/xlogprefetcher.c:252 [19:41:19.694] No locals. [19:41:19.694] #13 lrq_complete_lsn (lrq=0x8357d78a8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [19:41:19.694] No locals. [19:41:19.694] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8357a9ec8, errmsg=errmsg@entry=0x82166ed60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [19:41:19.694] replayed_up_to = [19:41:19.694] record = [19:41:19.694] #15 0x000000000063d2ea in ReadRecord (xlogprefetcher=0x8357a9ec8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3163 [19:41:19.695] errormsg = 0x8356bd940 "" [19:41:19.695] xlogreader = 0x8356bd130 [19:41:19.695] private = [19:41:19.695] record = [19:41:19.695] #16 0x000000000063dbc9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [19:41:19.695] ru0 = {tv = {tv_sec = 1724960229, tv_usec = 834206}, ru = {ru_utime = {tv_sec = 0, tv_usec = 1835}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 26412, ru_ixrss = 5996, ru_idrss = 324, ru_isrss = 128, ru_minflt = 150, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 12, ru_nivcsw = 2}} [19:41:19.695] xtime = [19:41:19.695] reachedRecoveryTarget = false [19:41:19.695] replayTLI = 2 [19:41:19.695] record = [19:41:19.695] #17 0x000000000062e5e3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [19:41:19.695] wasShutdown = false [19:41:19.695] haveTblspcMap = false [19:41:19.695] haveBackupLabel = true [19:41:19.695] promoted = false [19:41:19.695] didCrash = [19:41:19.695] 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 = 739} [19:41:19.695] oldestActiveXID = [19:41:19.695] performedWalRecovery = [19:41:19.695] endOfRecoveryInfo = [19:41:19.695] EndOfLog = [19:41:19.695] EndOfLogTLI = [19:41:19.695] abortedRecPtr = [19:41:19.695] missingContrecPtr = [19:41:19.695] newTLI = [19:41:19.695] Insert = [19:41:19.695] #18 0x000000000085a94b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [19:41:19.695] No locals. [19:41:19.695] #19 0x00000000008546b7 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:274 [19:41:19.695] pid = [19:41:19.695] #20 0x0000000000856c14 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3730 [19:41:19.695] pid = [19:41:19.695] __error = [19:41:19.695] #21 0x0000000000856855 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821673738) at ../src/backend/postmaster/postmaster.c:1338 [19:41:19.695] userDoption = [19:41:19.695] listen_addr_saved = [19:41:19.695] output_config_variable = [19:41:19.695] opt = [19:41:19.695] status = [19:41:19.695] #22 0x000000000079242c in main (argc=4, argv=0x821673738) at ../src/backend/main/main.c:197 [19:41:19.695] do_check_root =