[15:41:54.115] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:41:54.429] dumping /tmp/cores/postgres.14007.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:41:54.564] [New LWP 101941] [15:41:54.640] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [15:41:54.640] Program terminated with signal SIGQUIT, Quit. [15:41:54.640] Sent by thr_kill() from pid 14007 and user 1003. [15:41:54.640] #0 0x000000082c0f58fa in _sigprocmask () from /lib/libc.so.7 [15:41:54.682] [15:41:54.682] Thread 1 (LWP 101941): [15:41:54.682] #0 0x000000082c0f58fa in _sigprocmask () from /lib/libc.so.7 [15:41:54.682] No symbol table info available. [15:41:54.682] #1 0x000000082c12ef91 in _system () from /lib/libc.so.7 [15:41:54.682] No symbol table info available. [15:41:54.682] #2 0x000000082a9b99d3 in ?? () from /lib/libthr.so.3 [15:41:54.682] No symbol table info available. [15:41:54.682] #3 0x0000000000669b25 in RestoreArchivedFile (path=path@entry=0x820c261d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820c265d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [15:41:54.682] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\0007\b\000\000\000\210f\302 \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\0007\b\000\000\000\020\311;8\b\000\000\0000\310;8\b\000\000\000(\310;8\b\000\000\000(\303;8\b\000\000\000\000\340\344\000\000\000\000\000\000Є7\b\000\000\000\000\020\n\000\000\000\000\000 ]\302 \b\000\000\000 ]\302 \b", '\000' , "\350^\302 \b\000\000\000h]\302 \b\000\000\000\b\000\000\0000\000\000\000\320"... [15:41:54.682] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\\\302 \b\000\000\000`Z\302 \b", '\000' , "\240v\032,\b", '\000' , "%(\257\000\000\000\000\000\300Y\302 \b\000\000\0000\000\000\000\000\000\000\000\210`\302 \b", '\000' , "pY\302 \b\000\000\000s+\257", '\000' , "%(\257\000\000\000\000\000\210`\302 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [15:41:54.682] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34909348288, st_mode = 8883, st_padding0 = 175, st_uid = 0, st_gid = 549609920, st_padding1 = 8, st_rdev = 35098396135, st_atim = {tv_sec = 15445, tv_nsec = 3}, st_mtim = {tv_sec = 35337855108, tv_nsec = 28560}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -5981884982809812798, tv_nsec = 34909348272}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35099670176, st_spare = {34909348208, 35098921647, 1737387359, 8739889187413351314, 12464859090899738818, 2, 0, 34909348272, 206158430240, 34909348304}} [15:41:54.682] restartRedoPtr = 34909348032 [15:41:54.682] restartTli = 8 [15:41:54.682] restartSegNo = [15:41:54.682] xlogRestoreCmd = 0x837815f78 "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\"" [15:41:54.682] rc = [15:41:54.682] #4 0x0000000000650c08 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [15:41:54.682] path = "pg_wal/00000002", '0' , "4", '\000' , "8 \326 \b\000\000\000\001\000\000\000\000\000\000\000\b\304\325 \b\000\000\0008\202\374+\b\000\000\000\250d\302 \b\000\000\000\360c\302 \b\000\000\000`b\302 \b", '\000' , "\bP\325 \b\000\000\000 \000\000\000\000\000\000\000\340c\302 \b\000\000\000\347Z\226Y\213\032\000\000\bP\325 \b\000\000\000\bT\325 \b\000\000\000\bX\325 \b\000\000\000\b\\\325 \b\000\000\000\b\220\325 \b\000\000\000\b\224\325 \b\000\000\000\b\230\325 \b\000\000\000"... [15:41:54.682] histfname = "00000003.history\000f\302 \b\000\000\000_i\221", '\000' , "\377\377\377\377\377\377\377\377 `0M\023\374\254\000\000\000\000\000\000\000" [15:41:54.682] fd = [15:41:54.682] #5 0x0000000000650cc8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [15:41:54.682] newestTLI = 2 [15:41:54.682] probeTLI = 3 [15:41:54.682] #6 0x0000000000674f4b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210792) at ../src/backend/access/transam/xlogrecovery.c:4115 [15:41:54.682] oldtarget = 2 [15:41:54.682] currentTle = 0x0 [15:41:54.682] newtarget = [15:41:54.682] newExpectedTLEs = [15:41:54.682] found = [15:41:54.682] cell = [15:41:54.682] #7 0x0000000000671193 in WaitForWALToBecomeAvailable (RecPtr=67210816, tliRecPtr=67210792, replayTLI=2, replayLSN=67210792, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3677 [15:41:54.682] startWalReceiver = false [15:41:54.682] streaming_reply_sent = true [15:41:54.682] now = [15:41:54.682] startWalReceiver = [15:41:54.682] oldSource = [15:41:54.682] wait_time = [15:41:54.682] __error = [15:41:54.682] __error = [15:41:54.682] __error = [15:41:54.682] havedata = [15:41:54.682] ptr = [15:41:54.682] tli = [15:41:54.682] __error = [15:41:54.682] latestChunkStart = [15:41:54.682] __error = [15:41:54.682] #8 XLogPageRead (xlogreader=0x837728130, targetPagePtr=67207168, reqLen=3648, targetRecPtr=67210792, readBuf=0x837812638 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [15:41:54.682] private = 0x837728110 [15:41:54.682] emode = 15 [15:41:54.682] targetSegNo = 4 [15:41:54.682] targetPageOff = 98304 [15:41:54.682] r = [15:41:54.682] #9 0x0000000000677e92 in ReadPageInternal (state=state@entry=0x837728130, pageptr=67207168, reqLen=3648) at ../src/backend/access/transam/xlogreader.c:1060 [15:41:54.682] targetSegNo = 4 [15:41:54.682] targetPageOff = 98304 [15:41:54.682] readLen = [15:41:54.682] hdr = [15:41:54.682] err = [15:41:54.682] #10 0x0000000000676d02 in XLogDecodeNextRecord (state=0x837728130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [15:41:54.682] errormsg = 0x820c2ac98 "" [15:41:54.682] randAccess = [15:41:54.682] decoded = 0x0 [15:41:54.682] RecPtr = 67210792 [15:41:54.682] assembled = false [15:41:54.682] targetPagePtr = 34909345728 [15:41:54.682] readOff = [15:41:54.682] record = [15:41:54.682] gotheader = [15:41:54.682] targetRecOff = 3624 [15:41:54.682] pageHeaderSize = [15:41:54.682] len = [15:41:54.682] total_len = [15:41:54.682] buffer = [15:41:54.682] gotlen = [15:41:54.682] pageHeader = [15:41:54.682] contdata = [15:41:54.682] save_copy = [15:41:54.682] #11 XLogReadAhead (state=0x837728130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [15:41:54.682] result = [15:41:54.682] #12 0x000000000066e448 in XLogPrefetcherNextBlock (pgsr_private=35290957384, lsn=0x837842cc8) at ../src/backend/access/transam/xlogprefetcher.c:490 [15:41:54.682] nonblocking = false [15:41:54.682] record = 0x0 [15:41:54.682] prefetcher = 0x837814648 [15:41:54.682] reader = 0x837728130 [15:41:54.682] replaying_lsn = 67210384 [15:41:54.682] #13 0x000000000066e0b2 in lrq_prefetch (lrq=0x837842a28) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:41:54.682] No locals. [15:41:54.682] #14 lrq_complete_lsn (lrq=0x837842a28, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:41:54.682] No locals. [15:41:54.682] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x837814648, errmsg=errmsg@entry=0x820c2ad60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [15:41:54.682] replayed_up_to = [15:41:54.682] record = [15:41:54.682] #16 0x0000000000671bea in ReadRecord (xlogprefetcher=0x837814648, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [15:41:54.682] errormsg = 0x837728940 "" [15:41:54.682] xlogreader = 0x837728130 [15:41:54.682] private = [15:41:54.682] record = [15:41:54.682] #17 0x00000000006724c9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [15:41:54.682] ru0 = {tv = {tv_sec = 1737387358, tv_usec = 752485}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1085}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 150, 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}} [15:41:54.682] xtime = [15:41:54.682] reachedRecoveryTarget = false [15:41:54.682] replayTLI = 2 [15:41:54.682] record = [15:41:54.682] #18 0x0000000000662e53 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [15:41:54.682] wasShutdown = false [15:41:54.682] haveTblspcMap = false [15:41:54.682] haveBackupLabel = true [15:41:54.682] promoted = false [15:41:54.682] didCrash = [15:41:54.682] 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 = 743} [15:41:54.682] oldestActiveXID = [15:41:54.682] performedWalRecovery = [15:41:54.682] endOfRecoveryInfo = [15:41:54.682] EndOfLog = [15:41:54.682] EndOfLogTLI = [15:41:54.682] abortedRecPtr = [15:41:54.682] missingContrecPtr = [15:41:54.682] newTLI = [15:41:54.682] Insert = [15:41:54.682] #19 0x000000000089cccb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:41:54.682] No locals. [15:41:54.682] #20 0x0000000000896b75 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=57, 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 [15:41:54.682] pid = [15:41:54.682] #21 0x0000000000899777 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3791 [15:41:54.682] pmchild = 0x0 [15:41:54.682] pid = [15:41:54.682] #22 0x0000000000899312 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820c30440) at ../src/backend/postmaster/postmaster.c:1369 [15:41:54.682] userDoption = [15:41:54.682] listen_addr_saved = false [15:41:54.682] output_config_variable = [15:41:54.682] opt = [15:41:54.682] status = [15:41:54.682] #23 0x00000000007cdd80 in main (argc=4, argv=0x820c30440) at ../src/backend/main/main.c:230 [15:41:54.682] do_check_root = [15:41:54.682] dispatch_option = DISPATCH_POSTMASTER