[05:12:36.252] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [05:12:36.606] dumping /tmp/cores/postgres.13003.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [05:12:36.731] [New LWP 101710] [05:12:36.817] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [05:12:36.817] Program terminated with signal SIGQUIT, Quit. [05:12:36.817] Sent by thr_kill() from pid 13003 and user 1003. [05:12:36.817] #0 0x000000082a8a58fa in _sigprocmask () from /lib/libc.so.7 [05:12:36.866] [05:12:36.866] Thread 1 (LWP 101710): [05:12:36.866] #0 0x000000082a8a58fa in _sigprocmask () from /lib/libc.so.7 [05:12:36.866] No symbol table info available. [05:12:36.866] #1 0x000000082a8def91 in _system () from /lib/libc.so.7 [05:12:36.866] No symbol table info available. [05:12:36.866] #2 0x000000082a3f19d3 in ?? () from /lib/libthr.so.3 [05:12:36.866] No symbol table info available. [05:12:36.866] #3 0x0000000000669455 in RestoreArchivedFile (path=path@entry=0x820c761d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820c765d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [05:12:36.866] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t@5\b\000\000\000\210f\307 \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@5\b\000\000\000\220\374\0326\b\000\000\000\260\373\0326\b\000\000\000\250\373\0326\b\000\000\000\250\366\0326\b\000\000\000\000\340\344\000\000\000\000\000\000\320\3535\b\000\000\000\000\020\n\000\000\000\000\000 ]\307 \b\000\000\000 ]\307 \b", '\000' , "\350^\307 \b\000\000\000h]\307 \b\000\000\000\b\000\000\0000\000\000\000"... [05:12:36.866] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\\\307 \b\000\000\000`Z\307 \b", '\000' , "\240v\225*\b", '\000' , "\245\346\255\000\000\000\000\000\300Y\307 \b\000\000\0000\000\000\000\000\000\000\000\210`\307 \b", '\000' , "pY\307 \b\000\000\000\363\351\255", '\000' , "\245\346\255\000\000\000\000\000\210`\307 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [05:12:36.866] stat_buf = {st_dev = 90112, st_ino = 2, st_nlink = 34909675968, st_mode = 57651, st_padding0 = 173, st_uid = 0, st_gid = 549937600, st_padding1 = 8, st_rdev = 35072902631, st_atim = {tv_sec = 10898, tv_nsec = 3}, st_mtim = {tv_sec = 35309958004, tv_nsec = 29568}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 9175131590861441244, tv_nsec = 34909675952}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35074176672, st_spare = {34909675888, 35073428143, 1726722512, 4708654974995684366, 9175131590861441244, 2, 0, 34909675952, 206158430240, 34909675984}} [05:12:36.866] restartRedoPtr = 34909675712 [05:12:36.866] restartTli = 8 [05:12:36.866] restartSegNo = [05:12:36.866] xlogRestoreCmd = 0x835e862f8 "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\"" [05:12:36.866] rc = [05:12:36.866] #4 0x0000000000650518 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [05:12:36.866] path = "pg_wal/00000002", '0' , "4", '\000' , "8\240#!\b\000\000\000\001\000\000\000\000\000\000\000\bD#!\b\000\000\0008\202w*\b\000\000\000\250d\307 \b\000\000\000\360c\307 \b\000\000\000`b\307 \b", '\000' , "\b\320\"!\b\000\000\000 \000\000\000\000\000\000\000\340c\307 \b\000\000\000\347\332\371\b\3541\000\000\b\320\"!\b\000\000\000\b\324\"!\b\000\000\000\b\330\"!\b\000\000\000\b\334\"!\b\000\000\000\b\020#!\b\000\000\000\b\024#!\b\000\000\000\b\030#!\b\000\000\000"... [05:12:36.866] histfname = "00000003.history\000f\307 \b\000\000\000_x\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\334\310\302葝T\177\000\000\000\000\000\000\000" [05:12:36.866] fd = [05:12:36.866] #5 0x00000000006505d8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [05:12:36.866] newestTLI = 2 [05:12:36.866] probeTLI = 3 [05:12:36.866] #6 0x00000000006748db in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67203968) at ../src/backend/access/transam/xlogrecovery.c:4125 [05:12:36.866] oldtarget = 2 [05:12:36.866] currentTle = 0x0 [05:12:36.866] newtarget = [05:12:36.866] newExpectedTLEs = [05:12:36.866] found = [05:12:36.866] cell = [05:12:36.866] #7 0x0000000000670ac3 in WaitForWALToBecomeAvailable (RecPtr=67203992, tliRecPtr=67203968, replayTLI=2, replayLSN=67203968, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [05:12:36.866] startWalReceiver = false [05:12:36.866] streaming_reply_sent = true [05:12:36.866] now = [05:12:36.866] startWalReceiver = [05:12:36.866] oldSource = [05:12:36.866] wait_time = [05:12:36.866] __error = [05:12:36.866] __error = [05:12:36.866] __error = [05:12:36.866] havedata = [05:12:36.866] ptr = [05:12:36.866] tli = [05:12:36.866] __error = [05:12:36.866] latestChunkStart = [05:12:36.866] __error = [05:12:36.866] #8 XLogPageRead (xlogreader=0x835d98130, targetPagePtr=67198976, reqLen=5016, targetRecPtr=67203968, readBuf=0x835e829b8 "\027\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [05:12:36.866] private = 0x835d98110 [05:12:36.866] emode = 15 [05:12:36.866] targetSegNo = 4 [05:12:36.866] targetPageOff = 90112 [05:12:36.866] r = [05:12:36.866] #9 0x0000000000677822 in ReadPageInternal (state=state@entry=0x835d98130, pageptr=67198976, reqLen=5016) at ../src/backend/access/transam/xlogreader.c:1060 [05:12:36.866] targetSegNo = 4 [05:12:36.866] targetPageOff = 90112 [05:12:36.866] readLen = [05:12:36.866] hdr = [05:12:36.866] err = [05:12:36.866] #10 0x0000000000676692 in XLogDecodeNextRecord (state=0x835d98130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [05:12:36.866] errormsg = 0x820c7ac98 "" [05:12:36.866] randAccess = [05:12:36.866] decoded = 0x0 [05:12:36.866] RecPtr = 67203968 [05:12:36.866] assembled = false [05:12:36.866] targetPagePtr = 34909673408 [05:12:36.866] readOff = [05:12:36.866] record = [05:12:36.866] gotheader = [05:12:36.866] targetRecOff = 4992 [05:12:36.866] pageHeaderSize = [05:12:36.866] len = [05:12:36.866] total_len = [05:12:36.866] buffer = [05:12:36.866] gotlen = [05:12:36.866] pageHeader = [05:12:36.866] contdata = [05:12:36.866] save_copy = [05:12:36.866] #11 XLogReadAhead (state=0x835d98130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [05:12:36.866] result = [05:12:36.866] #12 0x000000000066dd78 in XLogPrefetcherNextBlock (pgsr_private=35264154056, lsn=0x835eb3958) at ../src/backend/access/transam/xlogprefetcher.c:490 [05:12:36.866] nonblocking = false [05:12:36.866] record = 0x0 [05:12:36.866] prefetcher = 0x835e849c8 [05:12:36.866] reader = 0x835d98130 [05:12:36.866] replaying_lsn = 67203560 [05:12:36.866] #13 0x000000000066d9e2 in lrq_prefetch (lrq=0x835eb36e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [05:12:36.866] No locals. [05:12:36.866] #14 lrq_complete_lsn (lrq=0x835eb36e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [05:12:36.866] No locals. [05:12:36.866] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835e849c8, errmsg=errmsg@entry=0x820c7ad60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [05:12:36.866] replayed_up_to = [05:12:36.866] record = [05:12:36.866] #16 0x000000000067150a in ReadRecord (xlogprefetcher=0x835e849c8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [05:12:36.866] errormsg = 0x835d98940 "" [05:12:36.866] xlogreader = 0x835d98130 [05:12:36.866] private = [05:12:36.866] record = [05:12:36.866] #17 0x0000000000671de9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [05:12:36.866] ru0 = {tv = {tv_sec = 1726722511, tv_usec = 671686}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1079}, 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 = 12, ru_nivcsw = 2}} [05:12:36.866] xtime = [05:12:36.866] reachedRecoveryTarget = false [05:12:36.866] replayTLI = 2 [05:12:36.866] record = [05:12:36.866] #18 0x00000000006627a3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [05:12:36.866] wasShutdown = false [05:12:36.866] haveTblspcMap = false [05:12:36.866] haveBackupLabel = true [05:12:36.866] promoted = false [05:12:36.866] didCrash = [05:12:36.866] 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} [05:12:36.866] oldestActiveXID = [05:12:36.866] performedWalRecovery = [05:12:36.866] endOfRecoveryInfo = [05:12:36.866] EndOfLog = [05:12:36.866] EndOfLogTLI = [05:12:36.866] abortedRecPtr = [05:12:36.866] missingContrecPtr = [05:12:36.866] newTLI = [05:12:36.866] Insert = [05:12:36.866] #19 0x000000000089091b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [05:12:36.866] No locals. [05:12:36.866] #20 0x000000000088a687 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 [05:12:36.866] pid = [05:12:36.866] #21 0x000000000088cbe4 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [05:12:36.866] pid = [05:12:36.866] __error = [05:12:36.866] #22 0x000000000088c825 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820c7ffc0) at ../src/backend/postmaster/postmaster.c:1338 [05:12:36.866] userDoption = [05:12:36.866] listen_addr_saved = [05:12:36.866] output_config_variable = [05:12:36.866] opt = [05:12:36.866] status = [05:12:36.866] #23 0x00000000007c768c in main (argc=4, argv=0x820c7ffc0) at ../src/backend/main/main.c:197 [05:12:36.866] do_check_root =