[11:34:39.528] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [11:34:39.897] dumping /tmp/cores/postgres.12134.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:34:40.031] [New LWP 101750] [11:34:40.113] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [11:34:40.113] Program terminated with signal SIGQUIT, Quit. [11:34:40.113] Sent by thr_kill() from pid 12134 and user 1003. [11:34:40.113] #0 0x000000082e0e68fa in _sigprocmask () from /lib/libc.so.7 [11:34:40.161] [11:34:40.161] Thread 1 (LWP 101750): [11:34:40.161] #0 0x000000082e0e68fa in _sigprocmask () from /lib/libc.so.7 [11:34:40.161] No symbol table info available. [11:34:40.161] #1 0x000000082e11ff91 in _system () from /lib/libc.so.7 [11:34:40.161] No symbol table info available. [11:34:40.161] #2 0x000000082db3b9d3 in ?? () from /lib/libthr.so.3 [11:34:40.161] No symbol table info available. [11:34:40.161] #3 0x00000000006352a5 in RestoreArchivedFile (path=path@entry=0x82115b1d0 "P\262\025!\b", xlogfname=xlogfname@entry=0x82115b620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [11:34:40.161] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\3408\b\000\000\000\210\266\025!\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\315\3408\b\000\000\000\360\233\\:\b\000\000\000\020\233\\:\b\000\000\000\b\233\\:\b\000\000\000\b\226\\:\b\000\000\000\000\340\344\000\000\000\000\000\000\220*9\b\000\000\000\000\020\n\000\000\000\000\000 \255\025!\b\000\000\000 \255\025!\b", '\000' , "\350\256\025!\b\000\000\000h\255\025!\b\000\000\000\b\000\000\0000\000\000\000"... [11:34:40.161] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\254\025!\b\000\000\000`\252\025!\b", '\000' , "\240\206\031.\b", '\000' , "\245|\252\000\000\000\000\000\300\251\025!\b\000\000\0000\000\000\000\000\000\000\000\210\260\025!\b", '\000' , "p\251\025!\b\000\000\000\363\177\252", '\000' , "\245|\252\000\000\000\000\000\210\260\025!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [11:34:40.161] stat_buf = {st_dev = 34914809296, st_ino = 34914809376, st_nlink = 11988064, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 555069888, st_padding1 = 8, st_rdev = 35131889127, st_atim = {tv_sec = 35317634303, tv_nsec = 12146144}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34914809344}, st_size = 34914808368, st_blocks = 11224307, st_blksize = 766705731, st_flags = 8, st_gen = 34929578632, st_spare = {35131200056, 34929558536, 34914808296, 34914808744, 34914808272, 69430097173666, 2595059, 134090501, 206158430240, 34914808272}} [11:34:40.161] restartRedoPtr = 33554472 [11:34:40.161] restartTli = 1 [11:34:40.161] restartSegNo = [11:34:40.161] xlogRestoreCmd = 0x839271a38 "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\"" [11:34:40.161] rc = [11:34:40.161] #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 [11:34:40.161] xlogfname = "00000002", '0' , "4\000\266\025!\b\000\000\000p\266\025!\b\000\000\000\365\031\016.\b\000\000\000\355.\000\000\000\000\000\000\205\000\000\000\000\000\000" [11:34:40.161] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\206\031.\b\000\000\000@\266\025!\b\000\000\000\257\032\016.\b\000\000\000\000e\314f\000\000\000\000\330\032{V\211\006", [11:34:40.161] path = "P\262\025!\b\000\000\000sZGt%?\000\000\030\000\000\0000", '\000' , "8 \367!\b\000\000\000\001\000\000\000\000\000\000\000\b\304\366!\b\000\000\0008\222\373-\b\000\000\000\250\264\025!\b\000\000\000\360\263\025!\b\000\000\000`\262\025!\b", '\000' , "\bP\366!\b\000\000\000 \000\000\000\000\000\000\000\340\263\025!\b\000\000\000\347\372Ft%?\000\000\bP\366!\b\000\000\000\bT\366!\b\000\000\000\bX\366!\b\000\000\000\b\\\366!\b\000\000\000\b\220\366!\b\000\000\000\b\224\366!\b\000\000\000\b\230\366!\b\000\000\000"... [11:34:40.161] fd = [11:34:40.161] #5 0x000000000063c60c in XLogFileReadAnyTLI (segno=4, emode=13, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4349 [11:34:40.161] hent = [11:34:40.161] tli = 2 [11:34:40.161] cell__state = {l = 0x839272058, i = 0} [11:34:40.161] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\227\342\"\365L\342\017w\220\000\0317\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\206\031.\b\000\000\000\220\267\025!\b\000\000\000\353\034\022.\b", '\000' , "\002", '\000' , "\001\000\000\000\001v\270;\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\227\342\"\365L\342\017w\0000\0309\b\000\000\000@\000\b\000\000\000\000\000"... [11:34:40.161] tles = 0x839272058 [11:34:40.161] cell = [11:34:40.161] fd = [11:34:40.161] cell__state = [11:34:40.161] hent = [11:34:40.161] tli = [11:34:40.161] beginseg = [11:34:40.161] __error = [11:34:40.161] __error = [11:34:40.161] #6 WaitForWALToBecomeAvailable (RecPtr=67209360, tliRecPtr=67209336, replayTLI=2, replayLSN=67209336, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3782 [11:34:40.161] startWalReceiver = [11:34:40.161] streaming_reply_sent = true [11:34:40.161] now = [11:34:40.161] startWalReceiver = [11:34:40.161] oldSource = [11:34:40.161] wait_time = [11:34:40.161] __error = [11:34:40.161] __error = [11:34:40.161] __error = [11:34:40.161] havedata = [11:34:40.161] ptr = [11:34:40.161] tli = [11:34:40.161] __error = [11:34:40.161] latestChunkStart = [11:34:40.161] __error = [11:34:40.161] #7 XLogPageRead (xlogreader=0x839184130, targetPagePtr=67207168, reqLen=2192, targetRecPtr=67209336, readBuf=0x83926e0f8 "\026\321\005") at ../src/backend/access/transam/xlogrecovery.c:3363 [11:34:40.161] private = 0x839184110 [11:34:40.161] emode = 15 [11:34:40.161] targetSegNo = 4 [11:34:40.161] targetPageOff = 98304 [11:34:40.161] r = [11:34:40.161] #8 0x0000000000643612 in ReadPageInternal (state=state@entry=0x839184130, pageptr=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1060 [11:34:40.161] targetSegNo = 4 [11:34:40.161] targetPageOff = 98304 [11:34:40.161] readLen = [11:34:40.161] hdr = [11:34:40.161] err = [11:34:40.161] #9 0x0000000000642482 in XLogDecodeNextRecord (state=0x839184130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [11:34:40.161] errormsg = 0x2e300000300 [11:34:40.161] randAccess = [11:34:40.161] decoded = 0x0 [11:34:40.161] RecPtr = 67209336 [11:34:40.161] assembled = false [11:34:40.161] targetPagePtr = 34914805696 [11:34:40.161] readOff = [11:34:40.161] record = [11:34:40.161] gotheader = [11:34:40.161] targetRecOff = 2168 [11:34:40.161] pageHeaderSize = [11:34:40.161] len = [11:34:40.161] total_len = [11:34:40.161] buffer = [11:34:40.161] gotlen = [11:34:40.161] pageHeader = [11:34:40.161] contdata = [11:34:40.161] save_copy = [11:34:40.161] #10 XLogReadAhead (state=0x839184130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [11:34:40.161] result = [11:34:40.161] #11 0x0000000000639bc8 in XLogPrefetcherNextBlock (pgsr_private=35318595848, lsn=0x83929f6d8) at ../src/backend/access/transam/xlogprefetcher.c:490 [11:34:40.161] nonblocking = false [11:34:40.161] record = 0x0 [11:34:40.161] prefetcher = 0x839270108 [11:34:40.161] reader = 0x839184130 [11:34:40.161] replaying_lsn = 67208928 [11:34:40.161] #12 0x0000000000639832 in lrq_prefetch (lrq=0x83929f468) at ../src/backend/access/transam/xlogprefetcher.c:252 [11:34:40.161] No locals. [11:34:40.161] #13 lrq_complete_lsn (lrq=0x83929f468, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [11:34:40.161] No locals. [11:34:40.161] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x839270108, errmsg=errmsg@entry=0x82115fd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [11:34:40.161] replayed_up_to = [11:34:40.161] record = [11:34:40.161] #15 0x000000000063d2fa in ReadRecord (xlogprefetcher=0x839270108, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3163 [11:34:40.161] errormsg = 0x0 [11:34:40.161] xlogreader = 0x839184130 [11:34:40.161] private = [11:34:40.161] record = [11:34:40.161] #16 0x000000000063dbd9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [11:34:40.161] ru0 = {tv = {tv_sec = 1724671232, tv_usec = 238433}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1126}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 145, 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}} [11:34:40.161] xtime = [11:34:40.161] reachedRecoveryTarget = false [11:34:40.161] replayTLI = 2 [11:34:40.161] record = [11:34:40.161] #17 0x000000000062e5f3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [11:34:40.161] wasShutdown = false [11:34:40.161] haveTblspcMap = false [11:34:40.161] haveBackupLabel = true [11:34:40.161] promoted = false [11:34:40.161] didCrash = [11:34:40.161] 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} [11:34:40.161] oldestActiveXID = [11:34:40.161] performedWalRecovery = [11:34:40.161] endOfRecoveryInfo = [11:34:40.161] EndOfLog = [11:34:40.161] EndOfLogTLI = [11:34:40.161] abortedRecPtr = [11:34:40.161] missingContrecPtr = [11:34:40.161] newTLI = [11:34:40.161] Insert = [11:34:40.161] #18 0x000000000085ab9b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [11:34:40.161] No locals. [11:34:40.161] #19 0x0000000000854907 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 [11:34:40.161] pid = [11:34:40.161] #20 0x0000000000856e64 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3730 [11:34:40.161] pid = [11:34:40.161] __error = [11:34:40.161] #21 0x0000000000856aa5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8211648d0) at ../src/backend/postmaster/postmaster.c:1338 [11:34:40.161] userDoption = [11:34:40.161] listen_addr_saved = [11:34:40.161] output_config_variable = [11:34:40.161] opt = [11:34:40.161] status = [11:34:40.161] #22 0x00000000007926dc in main (argc=4, argv=0x8211648d0) at ../src/backend/main/main.c:197 [11:34:40.161] do_check_root =