[01:22:09.882] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [01:22:10.200] dumping /tmp/cores/postgres.12142.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [01:22:10.322] [New LWP 101702] [01:22:10.398] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [01:22:10.398] Program terminated with signal SIGQUIT, Quit. [01:22:10.398] Sent by thr_kill() from pid 12142 and user 1003. [01:22:10.398] #0 0x000000082d2cf8fa in _sigprocmask () from /lib/libc.so.7 [01:22:10.442] [01:22:10.442] Thread 1 (LWP 101702): [01:22:10.442] #0 0x000000082d2cf8fa in _sigprocmask () from /lib/libc.so.7 [01:22:10.442] No symbol table info available. [01:22:10.442] #1 0x000000082d308f91 in _system () from /lib/libc.so.7 [01:22:10.442] No symbol table info available. [01:22:10.442] #2 0x000000082c14c9d3 in ?? () from /lib/libthr.so.3 [01:22:10.442] No symbol table info available. [01:22:10.442] #3 0x00000000006352a5 in RestoreArchivedFile (path=path@entry=0x8219541d0 "PB\225!\b", xlogfname=xlogfname@entry=0x821954620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [01:22:10.442] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2004\b\000\000\000\210F\225!\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\000̀4\b\000\000\000\360{Z5\b\000\000\000\030{Z5\b\000\000\000\020{Z5\b\000\000\000\020vZ5\b\000\000\000\000\340\344\000\000\000\000\000\000\240\3524\b\000\000\000\000\020\n\000\000\000\000\000 =\225!\b\000\000\000 =\225!\b", '\000' , "\350>\225!\b\000\000\000h=\225!\b\000\000\000\b\000\000\0000\000\000\000\320"... [01:22:10.442] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260<\225!\b\000\000\000`:\225!\b", '\000' , "\240\0268-\b", '\000' , "\225z\252\000\000\000\000\000\3009\225!\b\000\000\0000\000\000\000\000\000\000\000\210@\225!\b", '\000' , "p9\225!\b\000\000\000\343}\252", '\000' , "\225z\252\000\000\000\000\000\210@\225!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [01:22:10.442] stat_buf = {st_dev = 34923169232, st_ino = 34923169312, st_nlink = 11987536, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 563429824, st_padding1 = 8, st_rdev = 35117114855, st_atim = {tv_sec = 35246331135, tv_nsec = 12145616}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34923169280}, st_size = 34923168304, st_blocks = 11223779, st_blksize = 739508291, st_flags = 8, st_gen = 34937098888, st_spare = {35116425784, 34937078792, 34923168232, 34923168680, 34923168208, 54602734607522, 2595095, 134090501, 206158430240, 34923168208}} [01:22:10.442] restartRedoPtr = 33554472 [01:22:10.442] restartTli = 1 [01:22:10.442] restartSegNo = [01:22:10.442] xlogRestoreCmd = 0x834e8dd38 "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\"" [01:22:10.442] rc = [01:22:10.442] #4 0x000000000064092e 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 [01:22:10.442] xlogfname = "00000002", '0' , "4\000F\225!\b\000\000\000pF\225!\b\000\000\000\365\251,-\b\000\000\000\355.\000\000\000\000\000\000\230\000\000\000\000\000\000" [01:22:10.442] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\0268-\b\000\000\000@F\225!\b\000\000\000\257\252,-\b\000\000\000Y\022\325f\000\000\000\000\346\352:\022\016?\327", [01:22:10.442] path = "PB\225!\b\000\000\000s\232\2310\2511\000\000\030\000\000\0000", '\000' , "8\340i\"\b\000\000\000\001\000\000\000\000\000\000\000\b\204i\"\b\000\000\0008\"\032-\b\000\000\000\250D\225!\b\000\000\000\360C\225!\b\000\000\000`B\225!\b", '\000' , "\b\020i\"\b\000\000\000 \000\000\000\000\000\000\000\340C\225!\b\000\000\000\347:\2310\2511\000\000\b\020i\"\b\000\000\000\b\024i\"\b\000\000\000\b\030i\"\b\000\000\000\b\034i\"\b\000\000\000\bPi\"\b\000\000\000\bTi\"\b\000\000\000\bXi\"\b\000\000\000"... [01:22:10.442] fd = [01:22:10.442] #5 0x000000000063c60c in XLogFileReadAnyTLI (segno=4, emode=13, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4349 [01:22:10.442] hent = [01:22:10.442] tli = 2 [01:22:10.442] cell__state = {l = 0x834e8e358, i = 0} [01:22:10.442] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\327\371I\301\026{{C\220\360h3\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\0268-\b\000\000\000\220G\225!\b\000\000\000\353\2540-\b", '\000' , "\002", '\000' , "\001\000\000\000\001f\2277\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\327\371I\301\026{{C\0000\3304\b\000\000\000@\000\b\000\000\000\000\000"... [01:22:10.442] tles = 0x834e8e358 [01:22:10.442] cell = [01:22:10.442] fd = [01:22:10.442] cell__state = [01:22:10.442] hent = [01:22:10.442] tli = [01:22:10.442] beginseg = [01:22:10.442] __error = [01:22:10.442] __error = [01:22:10.442] #6 WaitForWALToBecomeAvailable (RecPtr=67209360, tliRecPtr=67209336, replayTLI=2, replayLSN=67209336, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3782 [01:22:10.442] startWalReceiver = [01:22:10.442] streaming_reply_sent = true [01:22:10.442] now = [01:22:10.442] startWalReceiver = [01:22:10.442] oldSource = [01:22:10.442] wait_time = [01:22:10.442] __error = [01:22:10.442] __error = [01:22:10.442] __error = [01:22:10.442] havedata = [01:22:10.442] ptr = [01:22:10.442] tli = [01:22:10.442] __error = [01:22:10.442] latestChunkStart = [01:22:10.442] __error = [01:22:10.442] #7 XLogPageRead (xlogreader=0x834d84130, targetPagePtr=67207168, reqLen=2192, targetRecPtr=67209336, readBuf=0x834e8a3f8 "\026\321\005") at ../src/backend/access/transam/xlogrecovery.c:3363 [01:22:10.442] private = 0x834d84110 [01:22:10.442] emode = 15 [01:22:10.442] targetSegNo = 4 [01:22:10.442] targetPageOff = 98304 [01:22:10.442] r = [01:22:10.442] #8 0x0000000000643612 in ReadPageInternal (state=state@entry=0x834d84130, pageptr=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1060 [01:22:10.442] targetSegNo = 4 [01:22:10.442] targetPageOff = 98304 [01:22:10.442] readLen = [01:22:10.442] hdr = [01:22:10.442] err = [01:22:10.442] #9 0x0000000000642482 in XLogDecodeNextRecord (state=0x834d84130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [01:22:10.442] errormsg = 0x2e300000300 [01:22:10.442] randAccess = [01:22:10.442] decoded = 0x0 [01:22:10.442] RecPtr = 67209336 [01:22:10.442] assembled = false [01:22:10.442] targetPagePtr = 34923165632 [01:22:10.442] readOff = [01:22:10.442] record = [01:22:10.442] gotheader = [01:22:10.442] targetRecOff = 2168 [01:22:10.442] pageHeaderSize = [01:22:10.442] len = [01:22:10.442] total_len = [01:22:10.442] buffer = [01:22:10.442] gotlen = [01:22:10.442] pageHeader = [01:22:10.442] contdata = [01:22:10.442] save_copy = [01:22:10.442] #10 XLogReadAhead (state=0x834d84130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [01:22:10.442] result = [01:22:10.442] #11 0x0000000000639bc8 in XLogPrefetcherNextBlock (pgsr_private=35247408136, lsn=0x834ea0118) at ../src/backend/access/transam/xlogprefetcher.c:490 [01:22:10.442] nonblocking = false [01:22:10.442] record = 0x0 [01:22:10.442] prefetcher = 0x834e8c408 [01:22:10.442] reader = 0x834d84130 [01:22:10.442] replaying_lsn = 67208928 [01:22:10.442] #12 0x0000000000639832 in lrq_prefetch (lrq=0x834e9fea8) at ../src/backend/access/transam/xlogprefetcher.c:252 [01:22:10.442] No locals. [01:22:10.442] #13 lrq_complete_lsn (lrq=0x834e9fea8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [01:22:10.442] No locals. [01:22:10.442] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834e8c408, errmsg=errmsg@entry=0x821958d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [01:22:10.442] replayed_up_to = [01:22:10.442] record = [01:22:10.442] #15 0x000000000063d2fa in ReadRecord (xlogprefetcher=0x834e8c408, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3163 [01:22:10.442] errormsg = 0x0 [01:22:10.442] xlogreader = 0x834d84130 [01:22:10.442] private = [01:22:10.442] record = [01:22:10.442] #16 0x000000000063dbd9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [01:22:10.442] ru0 = {tv = {tv_sec = 1725239897, tv_usec = 357015}, 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 = 148, 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}} [01:22:10.442] xtime = [01:22:10.442] reachedRecoveryTarget = false [01:22:10.442] replayTLI = 2 [01:22:10.442] record = [01:22:10.442] #17 0x000000000062e5f3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [01:22:10.442] wasShutdown = false [01:22:10.442] haveTblspcMap = false [01:22:10.442] haveBackupLabel = true [01:22:10.442] promoted = false [01:22:10.442] didCrash = [01:22:10.442] 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} [01:22:10.442] oldestActiveXID = [01:22:10.442] performedWalRecovery = [01:22:10.442] endOfRecoveryInfo = [01:22:10.442] EndOfLog = [01:22:10.442] EndOfLogTLI = [01:22:10.442] abortedRecPtr = [01:22:10.442] missingContrecPtr = [01:22:10.442] newTLI = [01:22:10.442] Insert = [01:22:10.442] #18 0x000000000085a89b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [01:22:10.442] No locals. [01:22:10.442] #19 0x0000000000854607 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 [01:22:10.442] pid = [01:22:10.442] #20 0x0000000000856b64 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3730 [01:22:10.442] pid = [01:22:10.442] __error = [01:22:10.442] #21 0x00000000008567a5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82195d7e0) at ../src/backend/postmaster/postmaster.c:1338 [01:22:10.442] userDoption = [01:22:10.442] listen_addr_saved = [01:22:10.442] output_config_variable = [01:22:10.442] opt = [01:22:10.442] status = [01:22:10.442] #22 0x000000000079240c in main (argc=4, argv=0x82195d7e0) at ../src/backend/main/main.c:197 [01:22:10.442] do_check_root =