[21:34:37.029] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [21:34:37.333] dumping /tmp/cores/postgres.27006.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [21:34:37.463] [New LWP 101956] [21:34:37.545] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [21:34:37.545] Program terminated with signal SIGQUIT, Quit. [21:34:37.545] Sent by thr_kill() from pid 27006 and user 1002. [21:34:37.545] #0 0x000000082afd575a in _sigprocmask () from /lib/libc.so.7 [21:34:37.587] [21:34:37.587] Thread 1 (LWP 101956): [21:34:37.587] #0 0x000000082afd575a in _sigprocmask () from /lib/libc.so.7 [21:34:37.587] No symbol table info available. [21:34:37.587] #1 0x000000082b012a7f in _system () from /lib/libc.so.7 [21:34:37.587] No symbol table info available. [21:34:37.587] #2 0x000000082a4548a3 in ?? () from /lib/libthr.so.3 [21:34:37.587] No symbol table info available. [21:34:37.587] #3 0x0000000000687ec7 in RestoreArchivedFile (path=path@entry=0x8218541e0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8218545e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [21:34:37.587] xlogpath = "pg_wal/RECOVERYHISTORY\000\003\020\233\b+\b\000\000\000\005\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000B\205!\b\000\000\000\001\000\000\000\000\000\000\000\360=\205!\b\000\000\000\027\376\364*\b", '\000' , "\220\210\301\000\000\000\000\000002", '\000' , "002\000\000\000\000\00000000000", '\000' , "\260=\205!\b\000\000\000\315\322\b\261\222\017\000\000\250^\352*\b\000\000\000"... [21:34:37.587] lastRestartPointFname = '0' , '\000' , "\305s\262\000\000\000\000\0008@\205!\b\000\000\000\376\377\377\377\000\000\000\000\3049\205!\b\000\000\000\377\377\377\377\000\000\000\000\210@\205!\b", '\000' , "p9\205!\b\000\000\000\006w\262", '\000' , "\305s\262\000\000\000\000\000\210@\205!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [21:34:37.587] stat_buf = {st_dev = 4, st_ino = 2, st_nlink = 34922119632, st_mode = 28243, st_padding0 = 178, st_uid = 0, st_gid = 562381264, st_padding1 = 8, st_rdev = 35080437271, st_atim = {tv_sec = 34922119528, tv_nsec = 3}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 7781698948929945601}, st_size = 227951121022806225, st_blocks = 35081722640, st_blksize = 6, st_flags = 0, st_gen = 0, st_spare = {34922119616, 2, 34922119568, 35080964693, 34922119648, 1751923586, 7143539063583308760, 227951121022806225, 206158430240, 34922119648}} [21:34:37.587] restartRedoPtr = 34922119376 [21:34:37.587] restartTli = 8 [21:34:37.587] restartSegNo = [21:34:37.587] xlogRestoreCmd = 0x25134e570be8 "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\"" [21:34:37.587] rc = [21:34:37.587] #4 0x000000000066ed38 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [21:34:37.587] path = "pg_wal/00000002", '0' , "4", '\000' , "P\000\001N\023%\000\000\001\000\000\000\000\000\000\000\b\244\000N\023%\000\000 M\352*\b\000\000\000\270D\205!\b\000\000\000\bD\205!\b\000\000\000pB\205!\b", '\000' , "\b0\000N\023%\000\000 \000\000\000\000\000\000\000\360C\205!\b\000\000\000wl\b\261\222\017\000\000\b0\000N\023%\000\000\b4\000N\023%\000\000\b8\000N\023%\000\000\b<\000N\023%\000\000\bp\000N\023%\000\000\bt\000N\023%\000\000\bx\000N\023%\000\000"... [21:34:37.587] histfname = "00000003.history\000F\205!\b\000\000\000\315!\225\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\0000F\205!\b\000\000\000b\t\375*\b\000\000" [21:34:37.587] fd = [21:34:37.587] #5 0x000000000066edf8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [21:34:37.587] newestTLI = 2 [21:34:37.587] probeTLI = 3 [21:34:37.587] #6 0x00000000006933ab in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209560) at ../src/backend/access/transam/xlogrecovery.c:4135 [21:34:37.587] oldtarget = 2 [21:34:37.587] currentTle = 0x0 [21:34:37.587] newtarget = [21:34:37.587] newExpectedTLEs = [21:34:37.587] found = [21:34:37.587] cell = [21:34:37.587] #7 0x000000000068f543 in WaitForWALToBecomeAvailable (RecPtr=67209584, tliRecPtr=67209560, replayTLI=2, replayLSN=67209560, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3697 [21:34:37.587] startWalReceiver = false [21:34:37.587] streaming_reply_sent = true [21:34:37.587] now = [21:34:37.587] startWalReceiver = [21:34:37.587] oldSource = [21:34:37.587] wait_time = [21:34:37.587] __error = [21:34:37.587] __error = [21:34:37.587] __error = [21:34:37.587] havedata = [21:34:37.587] ptr = [21:34:37.587] tli = [21:34:37.587] __error = [21:34:37.587] latestChunkStart = [21:34:37.587] __error = [21:34:37.587] #8 XLogPageRead (xlogreader=0x25134e41d130, targetPagePtr=67207168, reqLen=2416, targetRecPtr=67209560, readBuf=0x25134e5415f8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3363 [21:34:37.587] private = 0x25134e41d110 [21:34:37.587] emode = 15 [21:34:37.587] targetSegNo = 4 [21:34:37.587] targetPageOff = 98304 [21:34:37.587] io_start = [21:34:37.587] r = [21:34:37.587] #9 0x000000000069630a in ReadPageInternal (state=state@entry=0x25134e41d130, pageptr=67207168, reqLen=2416) at ../src/backend/access/transam/xlogreader.c:1061 [21:34:37.587] targetSegNo = 4 [21:34:37.587] targetPageOff = 98304 [21:34:37.587] readLen = [21:34:37.587] hdr = [21:34:37.587] err = [21:34:37.587] #10 0x0000000000695138 in XLogDecodeNextRecord (state=0x25134e41d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [21:34:37.587] errormsg = 0x821858c98 "" [21:34:37.587] randAccess = [21:34:37.587] decoded = 0x0 [21:34:37.587] RecPtr = 67209560 [21:34:37.587] assembled = false [21:34:37.587] targetPagePtr = 67207168 [21:34:37.587] readOff = [21:34:37.587] record = [21:34:37.587] gotheader = [21:34:37.587] targetRecOff = 2392 [21:34:37.587] pageHeaderSize = [21:34:37.587] len = [21:34:37.587] total_len = [21:34:37.587] buffer = [21:34:37.587] gotlen = [21:34:37.587] pageHeader = [21:34:37.587] contdata = [21:34:37.587] save_copy = [21:34:37.587] #11 XLogReadAhead (state=0x25134e41d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [21:34:37.587] result = [21:34:37.587] #12 0x000000000068c7f8 in XLogPrefetcherNextBlock (pgsr_private=40764848748040, lsn=0x25134e570648) at ../src/backend/access/transam/xlogprefetcher.c:490 [21:34:37.587] nonblocking = false [21:34:37.587] record = 0x0 [21:34:37.587] prefetcher = 0x25134e543608 [21:34:37.587] reader = 0x25134e41d130 [21:34:37.587] replaying_lsn = 67209152 [21:34:37.587] #13 0x000000000068c465 in lrq_prefetch (lrq=0x25134e5703d8) at ../src/backend/access/transam/xlogprefetcher.c:252 [21:34:37.587] No locals. [21:34:37.587] #14 lrq_complete_lsn (lrq=0x25134e5703d8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [21:34:37.587] No locals. [21:34:37.587] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x25134e543608, errmsg=errmsg@entry=0x821858d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [21:34:37.587] replayed_up_to = [21:34:37.587] record = [21:34:37.587] #16 0x000000000068fffa in ReadRecord (xlogprefetcher=0x25134e543608, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3162 [21:34:37.587] errormsg = 0x25134e41d940 "" [21:34:37.587] xlogreader = 0x25134e41d130 [21:34:37.587] private = [21:34:37.587] record = [21:34:37.587] #17 0x00000000006908e9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1840 [21:34:37.587] ru0 = {tv = {tv_sec = 1751923585, tv_usec = 669938}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1233}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 160, 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}} [21:34:37.587] xtime = [21:34:37.587] reachedRecoveryTarget = false [21:34:37.587] replayTLI = 2 [21:34:37.587] record = [21:34:37.587] #18 0x0000000000680f93 in StartupXLOG () at ../src/backend/access/transam/xlog.c:6033 [21:34:37.587] wasShutdown = false [21:34:37.587] haveTblspcMap = false [21:34:37.587] haveBackupLabel = true [21:34:37.587] promoted = false [21:34:37.587] didCrash = [21:34:37.587] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 752} [21:34:37.587] oldestActiveXID = [21:34:37.587] performedWalRecovery = [21:34:37.587] endOfRecoveryInfo = [21:34:37.587] EndOfLog = [21:34:37.587] EndOfLogTLI = [21:34:37.587] abortedRecPtr = [21:34:37.587] missingContrecPtr = [21:34:37.587] newTLI = [21:34:37.587] Insert = [21:34:37.587] #19 0x00000000008c441b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [21:34:37.587] No locals. [21:34:37.587] #20 0x00000000008bdeab in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=89, 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:290 [21:34:37.587] pid = [21:34:37.587] #21 0x00000000008c0c87 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3973 [21:34:37.587] pmchild = 0x0 [21:34:37.587] pid = [21:34:37.587] #22 0x00000000008c0682 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82185e0c0) at ../src/backend/postmaster/postmaster.c:1393 [21:34:37.587] userDoption = [21:34:37.587] listen_addr_saved = false [21:34:37.587] output_config_variable = [21:34:37.587] opt = [21:34:37.587] status = [21:34:37.587] #23 0x00000000007f3420 in main (argc=4, argv=0x82185e0c0) at ../src/backend/main/main.c:227 [21:34:37.587] do_check_root = [21:34:37.587] dispatch_option = DISPATCH_POSTMASTER