[23:59:02.490] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [23:59:02.822] dumping /tmp/cores/postgres.11349.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [23:59:02.953] [New LWP 101672] [23:59:03.034] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [23:59:03.034] Program terminated with signal SIGQUIT, Quit. [23:59:03.034] Sent by thr_kill() from pid 11349 and user 1003. [23:59:03.034] #0 0x000000082bafd8fa in _sigprocmask () from /lib/libc.so.7 [23:59:03.082] [23:59:03.082] Thread 1 (LWP 101672): [23:59:03.082] #0 0x000000082bafd8fa in _sigprocmask () from /lib/libc.so.7 [23:59:03.082] No symbol table info available. [23:59:03.082] #1 0x000000082bb36f91 in _system () from /lib/libc.so.7 [23:59:03.082] No symbol table info available. [23:59:03.082] #2 0x000000082b5019d3 in ?? () from /lib/libthr.so.3 [23:59:03.082] No symbol table info available. [23:59:03.082] #3 0x0000000000669705 in RestoreArchivedFile (path=path@entry=0x821ae21d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x821ae25d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [23:59:03.082] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t 7\b\000\000\000\210&\256!\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 7\b\000\000\000p$\3348\b\000\000\000\240#\3348\b\000\000\000\230#\3348\b\000\000\000\230\036\3348\b\000\000\000\000\340\344\000\000\000\000\000\000\260;8\b\000\000\000\000\020\n\000\000\000\000\000 \035\256!\b\000\000\000 \035\256!\b", '\000' , "\350\036\256!\b\000\000\000h\035\256!\b\000\000\000\b\000\000\0000\000\000\000"... [23:59:03.082] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\034\256!\b\000\000\000`\032\256!\b", '\000' , "\240\366\272+\b", '\000' , "\365\374\255\000\000\000\000\000\300\031\256!\b\000\000\0000\000\000\000\000\000\000\000\210 \256!\b", '\000' , "p\031\256!\b\000\000\000C\000\256", '\000' , "\365\374\255\000\000\000\000\000\210 \256!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [23:59:03.082] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34924798400, st_mode = 63363, st_padding0 = 173, st_uid = 0, st_gid = 565060032, st_padding1 = 8, st_rdev = 35092137447, st_atim = {tv_sec = 9985, tv_nsec = 3}, st_mtim = {tv_sec = 35355102268, tv_nsec = 27720}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 8202288263723603491, tv_nsec = 34924798384}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35093411488, st_spare = {34924798320, 35092662959, 1727222037, 18348999809056451350, 8202288263723603491, 2, 0, 34924798384, 206158430240, 34924798416}} [23:59:03.082] restartRedoPtr = 34924798144 [23:59:03.082] restartTli = 8 [23:59:03.082] restartSegNo = [23:59:03.082] xlogRestoreCmd = 0x838384838 "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:59:03.082] rc = [23:59:03.082] #4 0x00000000006507c8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [23:59:03.082] path = "pg_wal/00000002", '0' , "4", '\000' , "80\257\"\b\000\000\000\001\000\000\000\000\000\000\000\bԮ\"\b\000\000\0008\002\235+\b\000\000\000\250$\256!\b\000\000\000\360#\256!\b\000\000\000`\"\256!\b", '\000' , "\b`\256\"\b\000\000\000 \000\000\000\000\000\000\000\340#\256!\b\000\000\000\347J\361*\206\030\000\000\b`\256\"\b\000\000\000\bd\256\"\b\000\000\000\bh\256\"\b\000\000\000\bl\256\"\b\000\000\000\b\240\256\"\b\000\000\000\b\244\256\"\b\000\000\000\b\250\256\"\b\000\000\000\b"... [23:59:03.082] histfname = "00000003.history\000&\256!\b\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000#֙\340\267a\324q\000\000\000\000\000\000\000" [23:59:03.082] fd = [23:59:03.082] #5 0x0000000000650888 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [23:59:03.082] newestTLI = 2 [23:59:03.082] probeTLI = 3 [23:59:03.082] #6 0x0000000000674c8b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4125 [23:59:03.082] oldtarget = 2 [23:59:03.082] currentTle = 0x0 [23:59:03.082] newtarget = [23:59:03.082] newExpectedTLEs = [23:59:03.082] found = [23:59:03.082] cell = [23:59:03.082] #7 0x0000000000670e73 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [23:59:03.082] startWalReceiver = false [23:59:03.082] streaming_reply_sent = true [23:59:03.082] now = [23:59:03.082] startWalReceiver = [23:59:03.082] oldSource = [23:59:03.082] wait_time = [23:59:03.082] __error = [23:59:03.082] __error = [23:59:03.082] __error = [23:59:03.082] havedata = [23:59:03.082] ptr = [23:59:03.082] tli = [23:59:03.082] __error = [23:59:03.082] latestChunkStart = [23:59:03.082] __error = [23:59:03.082] #8 XLogPageRead (xlogreader=0x838294130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x838380ef8 "\027\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [23:59:03.082] private = 0x838294110 [23:59:03.082] emode = 15 [23:59:03.082] targetSegNo = 4 [23:59:03.082] targetPageOff = 98304 [23:59:03.082] r = [23:59:03.082] #9 0x0000000000677bd2 in ReadPageInternal (state=state@entry=0x838294130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [23:59:03.082] targetSegNo = 4 [23:59:03.082] targetPageOff = 98304 [23:59:03.082] readLen = [23:59:03.082] hdr = [23:59:03.082] err = [23:59:03.082] #10 0x0000000000676a42 in XLogDecodeNextRecord (state=0x838294130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [23:59:03.082] errormsg = 0x821ae6c98 "" [23:59:03.082] randAccess = [23:59:03.082] decoded = 0x0 [23:59:03.082] RecPtr = 67210816 [23:59:03.082] assembled = false [23:59:03.082] targetPagePtr = 34924795840 [23:59:03.082] readOff = [23:59:03.082] record = [23:59:03.082] gotheader = [23:59:03.082] targetRecOff = 3648 [23:59:03.082] pageHeaderSize = [23:59:03.082] len = [23:59:03.082] total_len = [23:59:03.082] buffer = [23:59:03.082] gotlen = [23:59:03.082] pageHeader = [23:59:03.082] contdata = [23:59:03.082] save_copy = [23:59:03.082] #11 XLogReadAhead (state=0x838294130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [23:59:03.082] result = [23:59:03.082] #12 0x000000000066e128 in XLogPrefetcherNextBlock (pgsr_private=35302944520, lsn=0x8383b0b88) at ../src/backend/access/transam/xlogprefetcher.c:490 [23:59:03.082] nonblocking = false [23:59:03.082] record = 0x0 [23:59:03.082] prefetcher = 0x838382f08 [23:59:03.082] reader = 0x838294130 [23:59:03.082] replaying_lsn = 67210408 [23:59:03.082] #13 0x000000000066dd92 in lrq_prefetch (lrq=0x8383b08e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [23:59:03.082] No locals. [23:59:03.082] #14 lrq_complete_lsn (lrq=0x8383b08e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [23:59:03.082] No locals. [23:59:03.082] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x838382f08, errmsg=errmsg@entry=0x821ae6d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [23:59:03.082] replayed_up_to = [23:59:03.082] record = [23:59:03.082] #16 0x00000000006718ba in ReadRecord (xlogprefetcher=0x838382f08, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [23:59:03.082] errormsg = 0x838294940 "" [23:59:03.082] xlogreader = 0x838294130 [23:59:03.082] private = [23:59:03.082] record = [23:59:03.082] #17 0x0000000000672199 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [23:59:03.082] ru0 = {tv = {tv_sec = 1727222037, tv_usec = 332648}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1292}, ru_maxrss = 25768, ru_ixrss = 6016, ru_idrss = 332, ru_isrss = 128, ru_minflt = 148, 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}} [23:59:03.082] xtime = [23:59:03.082] reachedRecoveryTarget = false [23:59:03.082] replayTLI = 2 [23:59:03.082] record = [23:59:03.082] #18 0x0000000000662a53 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [23:59:03.082] wasShutdown = false [23:59:03.082] haveTblspcMap = false [23:59:03.082] haveBackupLabel = true [23:59:03.082] promoted = false [23:59:03.082] didCrash = [23:59:03.082] 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} [23:59:03.082] oldestActiveXID = [23:59:03.082] performedWalRecovery = [23:59:03.082] endOfRecoveryInfo = [23:59:03.082] EndOfLog = [23:59:03.082] EndOfLogTLI = [23:59:03.082] abortedRecPtr = [23:59:03.082] missingContrecPtr = [23:59:03.082] newTLI = [23:59:03.082] Insert = [23:59:03.082] #19 0x00000000008916ab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [23:59:03.082] No locals. [23:59:03.082] #20 0x000000000088b407 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 [23:59:03.082] pid = [23:59:03.082] #21 0x000000000088d974 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [23:59:03.082] pid = [23:59:03.082] __error = [23:59:03.082] #22 0x000000000088d5b5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821aebac0) at ../src/backend/postmaster/postmaster.c:1343 [23:59:03.082] userDoption = [23:59:03.082] listen_addr_saved = [23:59:03.082] output_config_variable = [23:59:03.082] opt = [23:59:03.082] status = [23:59:03.082] #23 0x00000000007c80ac in main (argc=4, argv=0x821aebac0) at ../src/backend/main/main.c:197 [23:59:03.082] do_check_root =