[08:47:01.459] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [08:47:01.840] dumping /tmp/cores/postgres.13333.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [08:47:01.974] [New LWP 100125] [08:47:02.063] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [08:47:02.063] Program terminated with signal SIGQUIT, Quit. [08:47:02.063] Sent by thr_kill() from pid 13333 and user 1003. [08:47:02.063] #0 0x000000082a5be8fa in _sigprocmask () from /lib/libc.so.7 [08:47:02.117] [08:47:02.117] Thread 1 (LWP 100125): [08:47:02.117] #0 0x000000082a5be8fa in _sigprocmask () from /lib/libc.so.7 [08:47:02.117] No symbol table info available. [08:47:02.117] #1 0x000000082a5f7f91 in _system () from /lib/libc.so.7 [08:47:02.117] No symbol table info available. [08:47:02.117] #2 0x000000082a3329d3 in ?? () from /lib/libthr.so.3 [08:47:02.117] No symbol table info available. [08:47:02.117] #3 0x00000000006352d5 in RestoreArchivedFile (path=path@entry=0x8210871d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8210875d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [08:47:02.117] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t 4\b\000\000\000\210v\b!\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 4\b\000\000\000(\227\0326\b\000\000\000X\226\0326\b\000\000\000P\226\0326\b\000\000\000P\221\0326\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 m\b!\b\000\000\000 m\b!\b", '\000' , "\350n\b!\b\000\000\000hm\b!\b\000\000\000\b\000\000\0000\000\000\000"... [08:47:02.117] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260l\b!\b\000\000\000`j\b!\b", '\000' , "\240\006g*\b", '\000' , "e~\252\000\000\000\000\000\300i\b!\b\000\000\0000\000\000\000\000\000\000\000\210p\b!\b", '\000' , "pi\b!\b\000\000\000\263\201\252", '\000' , "e~\252\000\000\000\000\000\210p\b!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [08:47:02.117] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34913939904, st_mode = 30963, st_padding0 = 170, st_uid = 0, st_gid = 554201536, st_padding1 = 8, st_rdev = 35069859303, st_atim = {tv_sec = 10988, tv_nsec = 3}, st_mtim = {tv_sec = 35287262068, tv_nsec = 29568}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 2988238125054060401, tv_nsec = 34913939888}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35071133344, st_spare = {34913939824, 35070384815, 1725439335, 7254135732207808496, 2988238125054060401, 2, 0, 34913939888, 206158430240, 34913939920}} [08:47:02.117] restartRedoPtr = 34913939648 [08:47:02.117] restartTli = 8 [08:47:02.117] restartSegNo = [08:47:02.117] xlogRestoreCmd = 0x8351dabb8 "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\"" [08:47:02.117] rc = [08:47:02.117] #4 0x000000000061c368 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [08:47:02.117] path = "pg_wal/00000002", '0' , "4", '\000' , "8\360\244!\b\000\000\000\001\000\000\000\000\000\000\000\b\224\244!\b\000\000\0008\022I*\b\000\000\000\250t\b!\b\000\000\000\360s\b!\b\000\000\000`r\b!\b", '\000' , "\b \244!\b\000\000\000 \000\000\000\000\000\000\000\340s\b!\b\000\000\000\347*\204L\205)\000\000\b \244!\b\000\000\000\b$\244!\b\000\000\000\b(\244!\b\000\000\000\b,\244!\b\000\000\000\b`\244!\b\000\000\000\bd\244!\b\000\000\000\bh\244!\b\000\000\000"... [08:47:02.117] histfname = "00000003.history\000v\b!\b\000\000\000o\030\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000qg \f\276Zx)\000\000\000\000\000\000\000" [08:47:02.117] fd = [08:47:02.117] #5 0x000000000061c428 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [08:47:02.117] newestTLI = 2 [08:47:02.117] probeTLI = 3 [08:47:02.117] #6 0x000000000064075b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210776) at ../src/backend/access/transam/xlogrecovery.c:4126 [08:47:02.117] oldtarget = 2 [08:47:02.117] currentTle = 0x0 [08:47:02.117] newtarget = [08:47:02.117] newExpectedTLEs = [08:47:02.117] found = [08:47:02.117] cell = [08:47:02.117] #7 0x000000000063c943 in WaitForWALToBecomeAvailable (RecPtr=67210800, tliRecPtr=67210776, replayTLI=2, replayLSN=67210776, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [08:47:02.117] startWalReceiver = false [08:47:02.117] streaming_reply_sent = true [08:47:02.117] now = [08:47:02.117] startWalReceiver = [08:47:02.117] oldSource = [08:47:02.117] wait_time = [08:47:02.117] __error = [08:47:02.117] __error = [08:47:02.117] __error = [08:47:02.117] havedata = [08:47:02.117] ptr = [08:47:02.117] tli = [08:47:02.117] __error = [08:47:02.117] latestChunkStart = [08:47:02.117] __error = [08:47:02.117] #8 XLogPageRead (xlogreader=0x8350eb130, targetPagePtr=67207168, reqLen=3632, targetRecPtr=67210776, readBuf=0x8351d7278 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [08:47:02.117] private = 0x8350eb110 [08:47:02.117] emode = 15 [08:47:02.117] targetSegNo = 4 [08:47:02.117] targetPageOff = 98304 [08:47:02.117] r = [08:47:02.117] #9 0x00000000006436a2 in ReadPageInternal (state=state@entry=0x8350eb130, pageptr=67207168, reqLen=3632) at ../src/backend/access/transam/xlogreader.c:1060 [08:47:02.117] targetSegNo = 4 [08:47:02.117] targetPageOff = 98304 [08:47:02.117] readLen = [08:47:02.117] hdr = [08:47:02.117] err = [08:47:02.117] #10 0x0000000000642512 in XLogDecodeNextRecord (state=0x8350eb130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [08:47:02.117] errormsg = 0x82108bc98 "" [08:47:02.117] randAccess = [08:47:02.117] decoded = 0x0 [08:47:02.117] RecPtr = 67210776 [08:47:02.117] assembled = false [08:47:02.117] targetPagePtr = 34913937344 [08:47:02.117] readOff = [08:47:02.117] record = [08:47:02.117] gotheader = [08:47:02.117] targetRecOff = 3608 [08:47:02.117] pageHeaderSize = [08:47:02.117] len = [08:47:02.117] total_len = [08:47:02.117] buffer = [08:47:02.117] gotlen = [08:47:02.117] pageHeader = [08:47:02.117] contdata = [08:47:02.117] save_copy = [08:47:02.117] #11 XLogReadAhead (state=0x8350eb130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [08:47:02.117] result = [08:47:02.117] #12 0x0000000000639bf8 in XLogPrefetcherNextBlock (pgsr_private=35250868872, lsn=0x8352086c8) at ../src/backend/access/transam/xlogprefetcher.c:490 [08:47:02.117] nonblocking = false [08:47:02.117] record = 0x0 [08:47:02.117] prefetcher = 0x8351d9288 [08:47:02.117] reader = 0x8350eb130 [08:47:02.117] replaying_lsn = 67210368 [08:47:02.117] #13 0x0000000000639862 in lrq_prefetch (lrq=0x835208428) at ../src/backend/access/transam/xlogprefetcher.c:252 [08:47:02.117] No locals. [08:47:02.117] #14 lrq_complete_lsn (lrq=0x835208428, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [08:47:02.117] No locals. [08:47:02.117] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8351d9288, errmsg=errmsg@entry=0x82108bd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [08:47:02.117] replayed_up_to = [08:47:02.117] record = [08:47:02.117] #16 0x000000000063d38a in ReadRecord (xlogprefetcher=0x8351d9288, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [08:47:02.117] errormsg = 0x8350eb940 "" [08:47:02.117] xlogreader = 0x8350eb130 [08:47:02.117] private = [08:47:02.117] record = [08:47:02.117] #17 0x000000000063dc69 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [08:47:02.117] ru0 = {tv = {tv_sec = 1725439334, tv_usec = 771450}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1056}, ru_maxrss = 26740, ru_ixrss = 5996, ru_idrss = 324, ru_isrss = 128, 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}} [08:47:02.117] xtime = [08:47:02.117] reachedRecoveryTarget = false [08:47:02.117] replayTLI = 2 [08:47:02.117] record = [08:47:02.117] #18 0x000000000062e623 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [08:47:02.117] wasShutdown = false [08:47:02.117] haveTblspcMap = false [08:47:02.117] haveBackupLabel = true [08:47:02.117] promoted = false [08:47:02.117] didCrash = [08:47:02.117] 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} [08:47:02.117] oldestActiveXID = [08:47:02.117] performedWalRecovery = [08:47:02.117] endOfRecoveryInfo = [08:47:02.117] EndOfLog = [08:47:02.117] EndOfLogTLI = [08:47:02.117] abortedRecPtr = [08:47:02.117] missingContrecPtr = [08:47:02.117] newTLI = [08:47:02.117] Insert = [08:47:02.117] #19 0x000000000085a9db in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [08:47:02.117] No locals. [08:47:02.117] #20 0x0000000000854747 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 [08:47:02.117] pid = [08:47:02.117] #21 0x0000000000856ca4 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [08:47:02.117] pid = [08:47:02.117] __error = [08:47:02.117] #22 0x00000000008568e5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821091148) at ../src/backend/postmaster/postmaster.c:1338 [08:47:02.117] userDoption = [08:47:02.117] listen_addr_saved = [08:47:02.117] output_config_variable = [08:47:02.117] opt = [08:47:02.117] status = [08:47:02.117] #23 0x00000000007924bc in main (argc=4, argv=0x821091148) at ../src/backend/main/main.c:197 [08:47:02.117] do_check_root =