[18:58:50.939] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [18:58:51.270] dumping /tmp/cores/postgres.12062.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [18:58:51.402] [New LWP 101765] [18:58:51.483] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [18:58:51.483] Program terminated with signal SIGQUIT, Quit. [18:58:51.483] Sent by thr_kill() from pid 12062 and user 1003. [18:58:51.483] #0 0x000000082b13326a in _sigprocmask () from /lib/libc.so.7 [18:58:51.521] [18:58:51.521] Thread 1 (LWP 101765): [18:58:51.521] #0 0x000000082b13326a in _sigprocmask () from /lib/libc.so.7 [18:58:51.521] No symbol table info available. [18:58:51.521] #1 0x000000082b16ea60 in _system () from /lib/libc.so.7 [18:58:51.521] No symbol table info available. [18:58:51.521] #2 0x0000000829c2e0f3 in ?? () from /lib/libthr.so.3 [18:58:51.521] No symbol table info available. [18:58:51.521] #3 0x000000000062a5b6 in RestoreArchivedFile (path=path@entry=0x820cc61d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820cc65d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=false) at ../src/backend/access/transam/xlogarchive.c:177 [18:58:51.521] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000\020\n\000\000\000\000\000 B;7\b\000\000\000 A;7\b\000\000\000\030A;7\b\000\000\000\030<;7\b\000\000\000\000\340\344\000\000\000\000\000\000\260v6\b\000\000\0000\020\n\000\000\000\000\000\320\\\314 \b\000\000\000\320\\\314 \b\000\000\000\200\200\200\200\200\200\200\2009\001\000\000\000\000\000\000Pb\314 \b\000\000\0000\000\000\000\000\000\000\0000\000\000\000\000\000\000\000\b\000\000\0000\000\000\000\240a\314 \b\000\000\000\240`\314 \b\000\000\000\277\304\003+\b\000\000\000\002\000\000\000\000\000\000\000\tt\325z\\/\000\0008^\314 \b\000\000\000"... [18:58:51.521] lastRestartPointFname = '0' , '\000' , "h\201\251\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`\314 \b\000\000\000\264Y\314 \b", '\000' , "`Y\314 \b\000\000\000h\201\251\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`\314 \b\000\000\000\210`\314 \b\000\000\000"... [18:58:51.521] stat_buf = {st_dev = 2, st_ino = 12000536, st_nlink = 2, st_mode = 25024, st_padding0 = 8396, st_uid = 8, st_gid = 11107329, st_padding1 = 0, st_rdev = 18374403900871474943, st_atim = {tv_sec = -9187201950435737472, tv_nsec = 34910003536}, st_mtim = {tv_sec = 3, tv_nsec = 12035320}, st_ctim = {tv_sec = 35321012748, tv_nsec = 34910003520}, st_birthtim = {tv_sec = 35082396867, tv_nsec = 34910004736}, st_size = -6192961348951867391, st_blocks = -731510127648482594, st_blksize = 78, st_flags = 0, st_gen = 2, st_spare = {0, 34910003632, 35083156976, 34910003584, 35082396669, 1712084157, 1035137955824313174, 206158430224, 34910003616, 206158430240}} [18:58:51.521] restartRedoPtr = [18:58:51.521] restartTli = [18:58:51.521] restartSegNo = [18:58:51.521] xlogRestoreCmd = 0x83674f6a8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000003.history\" \"pg_wal/RECOVERYHISTORY\"" [18:58:51.521] rc = [18:58:51.521] #4 0x00000000006120e8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [18:58:51.521] path = "pg_wal/00000002", '0' , "4\000\360", '\000' , "8\260\306!\b\000\000\000\001\000\000\000\000\000\000\000\bT\306!\b\000\000\000\000&\000+\b\000\000\000\270d\314 \b", '\000' , "pb\314 \b\000\000\000\000d\314 \b\000\000\000\b\340\305!\b\000\000\000 \000\000\000\000\000\000\000\360c\314 \b\000\000\000<\v\325z\\/\000\000\b\340\305!\b\000\000\000\b\344\305!\b\000\000\000\b\350\305!\b\000\000\000\b\354\305!\b\000\000\000\b \306!\b\000\000\000"... [18:58:51.521] histfname = "00000003.history\000f\314 \b\000\000\000\377\377\377\377\377\377\377\377Pf\314 \b\000\000\000\002p\214\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000" [18:58:51.521] fd = [18:58:51.521] #5 0x00000000006121a8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [18:58:51.521] newestTLI = 2 [18:58:51.521] probeTLI = 3 [18:58:51.521] #6 0x000000000063593b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209312) at ../src/backend/access/transam/xlogrecovery.c:4113 [18:58:51.521] oldtarget = 2 [18:58:51.521] currentTle = 0x0 [18:58:51.521] newtarget = [18:58:51.521] newExpectedTLEs = [18:58:51.521] found = [18:58:51.521] cell = [18:58:51.521] #7 0x0000000000631b85 in WaitForWALToBecomeAvailable (RecPtr=67209336, tliRecPtr=67209312, replayTLI=3, replayLSN=34910001072, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3674 [18:58:51.521] startWalReceiver = false [18:58:51.521] streaming_reply_sent = true [18:58:51.521] now = [18:58:51.521] startWalReceiver = [18:58:51.521] oldSource = [18:58:51.521] wait_time = [18:58:51.521] __error = [18:58:51.521] __error = [18:58:51.521] __error = [18:58:51.521] havedata = [18:58:51.521] ptr = [18:58:51.521] tli = [18:58:51.521] __error = [18:58:51.521] latestChunkStart = [18:58:51.521] __error = [18:58:51.521] #8 XLogPageRead (xlogreader=0x83664a0b0, targetPagePtr=67207168, reqLen=2168, targetRecPtr=67209312, readBuf=0x83674be78 "\025\321\006") at ../src/backend/access/transam/xlogrecovery.c:3351 [18:58:51.521] private = 0x83664a090 [18:58:51.521] emode = 15 [18:58:51.521] targetSegNo = 4 [18:58:51.521] targetPageOff = 98304 [18:58:51.521] r = [18:58:51.521] #9 0x00000000006388d7 in ReadPageInternal (state=state@entry=0x83664a0b0, pageptr=34910001072, pageptr@entry=67207168, reqLen=2168) at ../src/backend/access/transam/xlogreader.c:1060 [18:58:51.521] targetSegNo = 4 [18:58:51.521] targetPageOff = 98304 [18:58:51.521] readLen = [18:58:51.521] hdr = [18:58:51.521] err = [18:58:51.521] #10 0x00000000006376f5 in XLogDecodeNextRecord (state=0x83664a0b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [18:58:51.521] randAccess = [18:58:51.521] decoded = 0x0 [18:58:51.521] RecPtr = 67209312 [18:58:51.521] assembled = false [18:58:51.521] targetPagePtr = 67207168 [18:58:51.521] readOff = [18:58:51.521] record = [18:58:51.521] gotheader = [18:58:51.521] targetRecOff = 2144 [18:58:51.521] pageHeaderSize = [18:58:51.521] len = [18:58:51.521] errormsg = [18:58:51.521] total_len = [18:58:51.521] buffer = [18:58:51.521] gotlen = [18:58:51.521] pageHeader = [18:58:51.521] contdata = [18:58:51.521] save_copy = [18:58:51.521] #11 XLogReadAhead (state=0x83664a0b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [18:58:51.521] result = [18:58:51.521] #12 0x000000000062ee1c in XLogPrefetcherNextBlock (pgsr_private=35272306400, lsn=0x836760e58) at ../src/backend/access/transam/xlogprefetcher.c:492 [18:58:51.521] nonblocking = false [18:58:51.521] record = 0x0 [18:58:51.521] prefetcher = 0x83664aee0 [18:58:51.521] reader = 0x83664a0b0 [18:58:51.521] replaying_lsn = 67208904 [18:58:51.521] #13 0x000000000062eaaa in lrq_prefetch (lrq=0x836760be8) at ../src/backend/access/transam/xlogprefetcher.c:252 [18:58:51.521] No locals. [18:58:51.521] #14 lrq_complete_lsn (lrq=0x836760be8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [18:58:51.521] No locals. [18:58:51.521] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x83664aee0, errmsg=errmsg@entry=0x820ccad60) at ../src/backend/access/transam/xlogprefetcher.c:1037 [18:58:51.521] replayed_up_to = [18:58:51.521] record = [18:58:51.521] #16 0x00000000006325bc in ReadRecord (xlogprefetcher=0x83664aee0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3151 [18:58:51.521] errormsg = 0x83664a8c0 "" [18:58:51.521] xlogreader = 0x83664a0b0 [18:58:51.521] private = [18:58:51.521] record = [18:58:51.521] #17 0x0000000000632e99 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [18:58:51.521] ru0 = {tv = {tv_sec = 1712084156, tv_usec = 466168}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1198}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 146, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 13, ru_nivcsw = 2}} [18:58:51.521] xtime = [18:58:51.521] reachedRecoveryTarget = false [18:58:51.521] replayTLI = 2 [18:58:51.521] record = [18:58:51.521] #18 0x0000000000623b49 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5723 [18:58:51.521] promoted = false [18:58:51.521] didCrash = [18:58:51.521] wasShutdown = [18:58:51.521] haveTblspcMap = [18:58:51.521] haveBackupLabel = [18:58:51.521] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = 1, oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 738} [18:58:51.521] oldestActiveXID = [18:58:51.521] performedWalRecovery = [18:58:51.521] endOfRecoveryInfo = [18:58:51.521] EndOfLog = [18:58:51.521] EndOfLogTLI = [18:58:51.521] abortedRecPtr = [18:58:51.521] missingContrecPtr = [18:58:51.521] newTLI = [18:58:51.521] Insert = [18:58:51.521] #19 0x0000000000850eab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [18:58:51.521] No locals. [18:58:51.521] #20 0x000000000084a292 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 [18:58:51.521] pid = [18:58:51.521] #21 0x000000000084c6f5 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3928 [18:58:51.521] pid = [18:58:51.521] __error = [18:58:51.521] #22 0x000000000084c346 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820ccf5c8) at ../src/backend/postmaster/postmaster.c:1364 [18:58:51.521] userDoption = [18:58:51.521] listen_addr_saved = false [18:58:51.521] output_config_variable = [18:58:51.521] opt = [18:58:51.521] status = [18:58:51.521] #23 0x0000000000787375 in main (argc=4, argv=0x820ccf5c8) at ../src/backend/main/main.c:197 [18:58:51.521] do_check_root =