[23:21:51.275] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [23:21:51.704] dumping /tmp/cores/postgres.12355.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [23:21:51.843] [New LWP 100626] [23:21:51.931] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [23:21:51.931] Program terminated with signal SIGQUIT, Quit. [23:21:51.931] Sent by thr_kill() from pid 12355 and user 1003. [23:21:51.931] #0 0x000000082b93726a in _sigprocmask () from /lib/libc.so.7 [23:21:51.977] [23:21:51.977] Thread 1 (LWP 100626): [23:21:51.977] #0 0x000000082b93726a in _sigprocmask () from /lib/libc.so.7 [23:21:51.977] No symbol table info available. [23:21:51.977] #1 0x000000082b972a60 in _system () from /lib/libc.so.7 [23:21:51.977] No symbol table info available. [23:21:51.977] #2 0x000000082adea0f3 in ?? () from /lib/libthr.so.3 [23:21:51.977] No symbol table info available. [23:21:51.977] #3 0x0000000000626d66 in RestoreArchivedFile (path=path@entry=0x820ffb1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820ffb5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=false) at ../src/backend/access/transam/xlogarchive.c:177 [23:21:51.977] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000\020\n\000\000\000\000\000X>{7\b\000\000\000p={7\b\000\000\000h={7\b\000\000\000h8{7\b\000\000\000\000\340\344\000\000\000\000\000\000Po6\b\000\000\0000\020\n\000\000\000\000\000Ь\377 \b\000\000\000Ь\377 \b\000\000\000\200\200\200\200\200\200\200\2009\001\000\000\000\000\000\000P\262\377 \b", '\000' , "\b\000\000\0000\000\000\000\240\261\377 \b\000\000\000\240\260\377 \b\000\000\000\277\004\204+\b\000\000\000\002\000\000\000\000\000\000\000\t\364\036I<:\000\0008\256\377 \b\000\000\000d\354"... [23:21:51.977] lastRestartPointFname = '0' , '\000' , "\330\352\250\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\260\377 \b\000\000\000\264\251\377 \b", '\000' , "`\251\377 \b\000\000\000\330\352\250\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\260\377 \b\000\000\000\210\260\377 \b\000\000\000"... [23:21:51.977] stat_buf = {st_dev = 2, st_ino = 11959208, st_nlink = 2, st_mode = 45504, st_padding0 = 8447, st_uid = 8, st_gid = 11068785, st_padding1 = 0, st_rdev = 18374403900871474943, st_atim = {tv_sec = -9187201950435737472, tv_nsec = 34913366352}, st_mtim = {tv_sec = 3, tv_nsec = 11993976}, st_ctim = {tv_sec = 35327803916, tv_nsec = 34913366336}, st_birthtim = {tv_sec = 35090801859, tv_nsec = 34913367552}, st_size = 2145423910533857281, st_blocks = -3464135271034586962, st_blksize = 78, st_flags = 0, st_gen = 2, st_spare = {0, 34913366448, 35091561968, 34913366400, 35090801661, 1711063097, 4766536483333007460, 206158430224, 34913366432, 206158430240}} [23:21:51.977] restartRedoPtr = [23:21:51.977] restartTli = [23:21:51.977] restartSegNo = [23:21:51.977] xlogRestoreCmd = 0x8366bdbe8 "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\"" [23:21:51.977] rc = [23:21:51.977] #4 0x000000000060e9b8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [23:21:51.977] path = "pg_wal/00000002", '0' , "4\000\360", '\000' , "8\300x!\b\000\000\000\001\000\000\000\000\000\000\000\bdx!\b\000\000\000\000f\200+\b\000\000\000\270\264\377 \b", '\000' , "p\262\377 \b\000\000\000\000\264\377 \b\000\000\000\b\360w!\b\000\000\000 \000\000\000\000\000\000\000\360\263\377 \b\000\000\000<\213\036I<:\000\000\b\360w!\b\000\000\000\b\364w!\b\000\000\000\b\370w!\b\000\000\000\b\374w!\b\000\000\000\b0x!\b\000\000\000"... [23:21:51.977] histfname = "00000003.history\000\266\377 \b\000\000\000\377\377\377\377\377\377\377\377P\266\377 \b\000\000\000B\357\213\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000" [23:21:51.977] fd = [23:21:51.977] #5 0x000000000060ea78 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [23:21:51.977] newestTLI = 2 [23:21:51.977] probeTLI = 3 [23:21:51.977] #6 0x00000000006320eb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209336) at ../src/backend/access/transam/xlogrecovery.c:4113 [23:21:51.977] oldtarget = 2 [23:21:51.977] currentTle = 0x0 [23:21:51.977] newtarget = [23:21:51.977] newExpectedTLEs = [23:21:51.977] found = [23:21:51.977] cell = [23:21:51.977] #7 0x000000000062e335 in WaitForWALToBecomeAvailable (RecPtr=67209360, tliRecPtr=67209336, replayTLI=3, replayLSN=34913363888, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3674 [23:21:51.977] startWalReceiver = false [23:21:51.977] streaming_reply_sent = true [23:21:51.977] now = [23:21:51.977] startWalReceiver = [23:21:51.977] oldSource = [23:21:51.977] wait_time = [23:21:51.977] __error = [23:21:51.977] __error = [23:21:51.977] __error = [23:21:51.977] havedata = [23:21:51.977] ptr = [23:21:51.977] tli = [23:21:51.977] __error = [23:21:51.977] latestChunkStart = [23:21:51.977] __error = [23:21:51.977] #8 XLogPageRead (xlogreader=0x8365d10b0, targetPagePtr=67207168, reqLen=2192, targetRecPtr=67209336, readBuf=0x8366ba3b8 "\024\321\006") at ../src/backend/access/transam/xlogrecovery.c:3351 [23:21:51.977] private = 0x8365d1090 [23:21:51.977] emode = 15 [23:21:51.977] targetSegNo = 4 [23:21:51.977] targetPageOff = 98304 [23:21:51.977] r = [23:21:51.977] #9 0x0000000000635087 in ReadPageInternal (state=state@entry=0x8365d10b0, pageptr=34913363888, pageptr@entry=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1060 [23:21:51.977] targetSegNo = 4 [23:21:51.977] targetPageOff = 98304 [23:21:51.977] readLen = [23:21:51.977] hdr = [23:21:51.977] err = [23:21:51.977] #10 0x0000000000633ea5 in XLogDecodeNextRecord (state=0x8365d10b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [23:21:51.977] randAccess = [23:21:51.977] decoded = 0x0 [23:21:51.977] RecPtr = 67209336 [23:21:51.977] assembled = false [23:21:51.977] targetPagePtr = 67207168 [23:21:51.977] readOff = [23:21:51.977] record = [23:21:51.977] gotheader = [23:21:51.977] targetRecOff = 2168 [23:21:51.977] pageHeaderSize = [23:21:51.977] len = [23:21:51.977] errormsg = [23:21:51.977] total_len = [23:21:51.977] buffer = [23:21:51.977] gotlen = [23:21:51.977] pageHeader = [23:21:51.977] contdata = [23:21:51.977] save_copy = [23:21:51.977] #11 XLogReadAhead (state=0x8365d10b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [23:21:51.977] result = [23:21:51.977] #12 0x000000000062b5cc in XLogPrefetcherNextBlock (pgsr_private=35271810784, lsn=0x8366ead58) at ../src/backend/access/transam/xlogprefetcher.c:492 [23:21:51.977] nonblocking = false [23:21:51.977] record = 0x0 [23:21:51.977] prefetcher = 0x8365d1ee0 [23:21:51.977] reader = 0x8365d10b0 [23:21:51.977] replaying_lsn = 67208928 [23:21:51.977] #13 0x000000000062b25a in lrq_prefetch (lrq=0x8366eaae8) at ../src/backend/access/transam/xlogprefetcher.c:252 [23:21:51.977] No locals. [23:21:51.977] #14 lrq_complete_lsn (lrq=0x8366eaae8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [23:21:51.977] No locals. [23:21:51.977] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8365d1ee0, errmsg=errmsg@entry=0x820fffd60) at ../src/backend/access/transam/xlogprefetcher.c:1037 [23:21:51.977] replayed_up_to = [23:21:51.977] record = [23:21:51.977] #16 0x000000000062ed6c in ReadRecord (xlogprefetcher=0x8365d1ee0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3151 [23:21:51.977] errormsg = 0x8365d18c0 "" [23:21:51.977] xlogreader = 0x8365d10b0 [23:21:51.977] private = [23:21:51.977] record = [23:21:51.977] #17 0x000000000062f649 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [23:21:51.977] ru0 = {tv = {tv_sec = 1711063096, tv_usec = 579074}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 990}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 143, 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 = 3}} [23:21:51.977] xtime = [23:21:51.977] reachedRecoveryTarget = false [23:21:51.977] replayTLI = 2 [23:21:51.977] record = [23:21:51.977] #18 0x00000000006202f9 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5723 [23:21:51.977] promoted = false [23:21:51.977] didCrash = [23:21:51.977] wasShutdown = [23:21:51.977] haveTblspcMap = [23:21:51.977] haveBackupLabel = [23:21:51.977] 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} [23:21:51.977] oldestActiveXID = [23:21:51.977] performedWalRecovery = [23:21:51.977] endOfRecoveryInfo = [23:21:51.977] EndOfLog = [23:21:51.977] EndOfLogTLI = [23:21:51.977] abortedRecPtr = [23:21:51.977] missingContrecPtr = [23:21:51.977] newTLI = [23:21:51.977] Insert = [23:21:51.977] #19 0x000000000084b5eb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [23:21:51.977] No locals. [23:21:51.977] #20 0x00000000008449d2 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 [23:21:51.977] pid = [23:21:51.977] #21 0x0000000000846e35 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3928 [23:21:51.977] pid = [23:21:51.977] __error = [23:21:51.977] #22 0x0000000000846a86 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821004b58) at ../src/backend/postmaster/postmaster.c:1364 [23:21:51.977] userDoption = [23:21:51.977] listen_addr_saved = false [23:21:51.977] output_config_variable = [23:21:51.977] opt = [23:21:51.977] status = [23:21:51.977] #23 0x0000000000782db5 in main (argc=4, argv=0x821004b58) at ../src/backend/main/main.c:197 [23:21:51.977] do_check_root =