[11:14:55.265] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [11:14:55.608] dumping /tmp/cores/postgres.13434.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:14:55.732] [New LWP 101737] [11:14:55.812] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [11:14:55.812] Program terminated with signal SIGQUIT, Quit. [11:14:55.812] Sent by thr_kill() from pid 13434 and user 1003. [11:14:55.812] #0 0x000000082b6578fa in _sigprocmask () from /lib/libc.so.7 [11:14:55.861] [11:14:55.861] Thread 1 (LWP 101737): [11:14:55.861] #0 0x000000082b6578fa in _sigprocmask () from /lib/libc.so.7 [11:14:55.861] No symbol table info available. [11:14:55.861] #1 0x000000082b690f91 in _system () from /lib/libc.so.7 [11:14:55.861] No symbol table info available. [11:14:55.861] #2 0x000000082b1909d3 in ?? () from /lib/libthr.so.3 [11:14:55.861] No symbol table info available. [11:14:55.861] #3 0x0000000000669905 in RestoreArchivedFile (path=path@entry=0x820d631d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820d635d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [11:14:55.861] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\2405\b\000\000\000\2106\326 \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͠5\b\000\000\000\3609\0337\b\000\000\000 9\0337\b\000\000\000\0309\0337\b\000\000\000\0304\0337\b\000\000\000\000\340\344\000\000\000\000\000\000\260f6\b\000\000\000\000\020\n\000\000\000\000\000 -\326 \b\000\000\000 -\326 \b", '\000' , "\350.\326 \b\000\000\000h-\326 \b\000\000\000\b\000\000\0000\000\000\000\320"... [11:14:55.861] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260,\326 \b\000\000\000`*\326 \b", '\000' , "\240\226p+\b", '\000' , "\245\005\256\000\000\000\000\000\300)\326 \b\000\000\0000\000\000\000\000\000\000\000\2100\326 \b", '\000' , "p)\326 \b\000\000\000\363\b\256", '\000' , "\245\005\256\000\000\000\000\000\2100\326 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [11:14:55.861] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34910646720, st_mode = 51, st_padding0 = 174, st_uid = 0, st_gid = 550908352, st_padding1 = 8, st_rdev = 35087263207, st_atim = {tv_sec = 12741, tv_nsec = 3}, st_mtim = {tv_sec = 35322146692, tv_nsec = 28560}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -2731334843743863549, tv_nsec = 34910646704}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35088537248, st_spare = {34910646640, 35087788719, 1727867446, 218310785806240906, 15715409229965688067, 2, 0, 34910646704, 206158430240, 34910646736}} [11:14:55.861] restartRedoPtr = 34910646464 [11:14:55.861] restartTli = 8 [11:14:55.861] restartSegNo = [11:14:55.861] xlogRestoreCmd = 0x836634378 "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\"" [11:14:55.861] rc = [11:14:55.861] #4 0x00000000006509a8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [11:14:55.861] path = "pg_wal/00000002", '0' , "4", '\000' , "80\261!\b\000\000\000\001\000\000\000\000\000\000\000\b\324\260!\b\000\000\0008\242R+\b\000\000\000\2504\326 \b\000\000\000\3603\326 \b\000\000\000`2\326 \b", '\000' , "\b`\260!\b\000\000\000 \000\000\000\000\000\000\000\3403\326 \b\000\000\000\347z\031x\211\001\000\000\b`\260!\b\000\000\000\bd\260!\b\000\000\000\bh\260!\b\000\000\000\bl\260!\b\000\000\000\b\240\260!\b\000\000\000\b\244\260!\b\000\000\000\b\250\260!\b\000\000\000\b"... [11:14:55.861] histfname = "00000003.history\0006\326 \b\000\000\000\237\211\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\003\375\377KnY\030\332\000\000\000\000\000\000\000" [11:14:55.861] fd = [11:14:55.861] #5 0x0000000000650a68 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [11:14:55.861] newestTLI = 2 [11:14:55.861] probeTLI = 3 [11:14:55.861] #6 0x0000000000674e8b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4125 [11:14:55.861] oldtarget = 2 [11:14:55.861] currentTle = 0x0 [11:14:55.861] newtarget = [11:14:55.861] newExpectedTLEs = [11:14:55.861] found = [11:14:55.861] cell = [11:14:55.861] #7 0x0000000000671073 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [11:14:55.861] startWalReceiver = false [11:14:55.861] streaming_reply_sent = true [11:14:55.861] now = [11:14:55.861] startWalReceiver = [11:14:55.861] oldSource = [11:14:55.861] wait_time = [11:14:55.861] __error = [11:14:55.861] __error = [11:14:55.861] __error = [11:14:55.861] havedata = [11:14:55.861] ptr = [11:14:55.861] tli = [11:14:55.861] __error = [11:14:55.861] latestChunkStart = [11:14:55.861] __error = [11:14:55.861] #8 XLogPageRead (xlogreader=0x836544130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x836630a38 "\027\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [11:14:55.861] private = 0x836544110 [11:14:55.861] emode = 15 [11:14:55.861] targetSegNo = 4 [11:14:55.861] targetPageOff = 98304 [11:14:55.861] r = [11:14:55.861] #9 0x0000000000677dd2 in ReadPageInternal (state=state@entry=0x836544130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [11:14:55.861] targetSegNo = 4 [11:14:55.861] targetPageOff = 98304 [11:14:55.861] readLen = [11:14:55.861] hdr = [11:14:55.861] err = [11:14:55.861] #10 0x0000000000676c42 in XLogDecodeNextRecord (state=0x836544130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [11:14:55.861] errormsg = 0x820d67c98 "" [11:14:55.861] randAccess = [11:14:55.861] decoded = 0x0 [11:14:55.861] RecPtr = 67210816 [11:14:55.861] assembled = false [11:14:55.861] targetPagePtr = 34910644160 [11:14:55.861] readOff = [11:14:55.861] record = [11:14:55.861] gotheader = [11:14:55.861] targetRecOff = 3648 [11:14:55.861] pageHeaderSize = [11:14:55.861] len = [11:14:55.861] total_len = [11:14:55.861] buffer = [11:14:55.861] gotlen = [11:14:55.861] pageHeader = [11:14:55.861] contdata = [11:14:55.861] save_copy = [11:14:55.861] #11 XLogReadAhead (state=0x836544130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [11:14:55.861] result = [11:14:55.861] #12 0x000000000066e328 in XLogPrefetcherNextBlock (pgsr_private=35272206920, lsn=0x836661008) at ../src/backend/access/transam/xlogprefetcher.c:490 [11:14:55.861] nonblocking = false [11:14:55.861] record = 0x0 [11:14:55.861] prefetcher = 0x836632a48 [11:14:55.861] reader = 0x836544130 [11:14:55.861] replaying_lsn = 67210408 [11:14:55.861] #13 0x000000000066df92 in lrq_prefetch (lrq=0x836660d68) at ../src/backend/access/transam/xlogprefetcher.c:252 [11:14:55.861] No locals. [11:14:55.861] #14 lrq_complete_lsn (lrq=0x836660d68, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [11:14:55.861] No locals. [11:14:55.861] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836632a48, errmsg=errmsg@entry=0x820d67d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [11:14:55.861] replayed_up_to = [11:14:55.861] record = [11:14:55.861] #16 0x0000000000671aba in ReadRecord (xlogprefetcher=0x836632a48, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [11:14:55.861] errormsg = 0x836544940 "" [11:14:55.861] xlogreader = 0x836544130 [11:14:55.861] private = [11:14:55.861] record = [11:14:55.861] #17 0x0000000000672399 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [11:14:55.861] ru0 = {tv = {tv_sec = 1727867445, tv_usec = 372803}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1106}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 144, 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}} [11:14:55.861] xtime = [11:14:55.861] reachedRecoveryTarget = false [11:14:55.861] replayTLI = 2 [11:14:55.861] record = [11:14:55.861] #18 0x0000000000662c33 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [11:14:55.861] wasShutdown = false [11:14:55.862] haveTblspcMap = false [11:14:55.862] haveBackupLabel = true [11:14:55.862] promoted = false [11:14:55.862] didCrash = [11:14:55.862] 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} [11:14:55.862] oldestActiveXID = [11:14:55.862] performedWalRecovery = [11:14:55.862] endOfRecoveryInfo = [11:14:55.862] EndOfLog = [11:14:55.862] EndOfLogTLI = [11:14:55.862] abortedRecPtr = [11:14:55.862] missingContrecPtr = [11:14:55.862] newTLI = [11:14:55.862] Insert = [11:14:55.862] #19 0x0000000000891a5b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [11:14:55.862] No locals. [11:14:55.862] #20 0x000000000088b7b7 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 [11:14:55.862] pid = [11:14:55.862] #21 0x000000000088dd24 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [11:14:55.862] pid = [11:14:55.862] __error = [11:14:55.862] #22 0x000000000088d965 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820d6d4a8) at ../src/backend/postmaster/postmaster.c:1343 [11:14:55.862] userDoption = [11:14:55.862] listen_addr_saved = [11:14:55.862] output_config_variable = [11:14:55.862] opt = [11:14:55.862] status = [11:14:55.862] #23 0x00000000007c828c in main (argc=4, argv=0x820d6d4a8) at ../src/backend/main/main.c:197 [11:14:55.862] do_check_root =