[07:15:37.436] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [07:15:37.775] dumping /tmp/cores/postgres.12128.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [07:15:37.897] [New LWP 101668] [07:15:37.977] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [07:15:37.977] Program terminated with signal SIGQUIT, Quit. [07:15:37.977] Sent by thr_kill() from pid 12128 and user 1003. [07:15:37.977] #0 0x00000008294418fa in _sigprocmask () from /lib/libc.so.7 [07:15:38.025] [07:15:38.025] Thread 1 (LWP 101668): [07:15:38.025] #0 0x00000008294418fa in _sigprocmask () from /lib/libc.so.7 [07:15:38.025] No symbol table info available. [07:15:38.025] #1 0x000000082947af91 in _system () from /lib/libc.so.7 [07:15:38.025] No symbol table info available. [07:15:38.025] #2 0x0000000828ebb9d3 in ?? () from /lib/libthr.so.3 [07:15:38.025] No symbol table info available. [07:15:38.025] #3 0x0000000000669a45 in RestoreArchivedFile (path=path@entry=0x820efe1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820efe5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [07:15:38.025] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\2003\b\000\000\000\210\346\357 \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̀3\b\000\000\000PM\3724\b\000\000\000pL\3724\b\000\000\000hL\3724\b\000\000\000hG\3724\b\000\000\000\000\340\344\000\000\000\000\000\000P\2154\b\000\000\000\000\020\n\000\000\000\000\000 \335\357 \b\000\000\000 \335\357 \b", '\000' , "\350\336\357 \b\000\000\000h\335\357 \b\000\000\000\b\000\000\0000\000\000\000\320"... [07:15:38.025] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\334\357 \b\000\000\000`\332\357 \b", '\000' , "\2406O)\b", '\000' , "\005\r\256\000\000\000\000\000\300\331\357 \b\000\000\0000\000\000\000\000\000\000\000\210\340\357 \b", '\000' , "p\331\357 \b\000\000\000S\020\256", '\000' , "\005\r\256\000\000\000\000\000\210\340\357 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [07:15:38.025] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34912330176, st_mode = 1939, st_padding0 = 174, st_uid = 0, st_gid = 552591808, st_padding1 = 8, st_rdev = 35051521511, st_atim = {tv_sec = 8416, tv_nsec = 3}, st_mtim = {tv_sec = 35286953020, tv_nsec = 27720}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 5544612507554692407, tv_nsec = 34912330160}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35052795552, st_spare = {34912330096, 35052047023, 1728802708, 18012943010475679174, 5544612507554692407, 2, 0, 34912330160, 206158430240, 34912330192}} [07:15:38.025] restartRedoPtr = 34912329920 [07:15:38.025] restartTli = 8 [07:15:38.025] restartSegNo = [07:15:38.025] xlogRestoreCmd = 0x83489e1b8 "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\"" [07:15:38.025] rc = [07:15:38.025] #4 0x0000000000650ae8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [07:15:38.025] path = "pg_wal/00000002", '0' , "4", '\000' , "8\200\253!\b\000\000\000\001\000\000\000\000\000\000\000\b$\253!\b\000\000\0008B1)\b\000\000\000\250\344\357 \b\000\000\000\360\343\357 \b\000\000\000`\342\357 \b", '\000' , "\b\260\252!\b\000\000\000 \000\000\000\000\000\000\000\340\343\357 \b\000\000\000\347za\n>\a\000\000\b\260\252!\b\000\000\000\b\264\252!\b\000\000\000\b\270\252!\b\000\000\000\b\274\252!\b\000\000\000\b\360\252!\b\000\000\000\b\364\252!\b\000\000\000\b\370\252!\b\000\000\000"... [07:15:38.025] histfname = "00000003.history\000\346\357 \b\000\000\000?\226\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\0007=\374\361\262k\362L\000\000\000\000\000\000\000" [07:15:38.025] fd = [07:15:38.025] #5 0x0000000000650ba8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [07:15:38.025] newestTLI = 2 [07:15:38.025] probeTLI = 3 [07:15:38.025] #6 0x0000000000674fcb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4125 [07:15:38.025] oldtarget = 2 [07:15:38.025] currentTle = 0x0 [07:15:38.025] newtarget = [07:15:38.025] newExpectedTLEs = [07:15:38.025] found = [07:15:38.025] cell = [07:15:38.025] #7 0x00000000006711b3 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [07:15:38.025] startWalReceiver = false [07:15:38.025] streaming_reply_sent = true [07:15:38.025] now = [07:15:38.025] startWalReceiver = [07:15:38.025] oldSource = [07:15:38.025] wait_time = [07:15:38.025] __error = [07:15:38.025] __error = [07:15:38.025] __error = [07:15:38.025] havedata = [07:15:38.025] ptr = [07:15:38.025] tli = [07:15:38.025] __error = [07:15:38.025] latestChunkStart = [07:15:38.025] __error = [07:15:38.025] #8 XLogPageRead (xlogreader=0x8347b0130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x83489a878 "\027\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [07:15:38.025] private = 0x8347b0110 [07:15:38.025] emode = 15 [07:15:38.025] targetSegNo = 4 [07:15:38.025] targetPageOff = 98304 [07:15:38.025] r = [07:15:38.025] #9 0x0000000000677f12 in ReadPageInternal (state=state@entry=0x8347b0130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [07:15:38.025] targetSegNo = 4 [07:15:38.025] targetPageOff = 98304 [07:15:38.025] readLen = [07:15:38.025] hdr = [07:15:38.025] err = [07:15:38.025] #10 0x0000000000676d82 in XLogDecodeNextRecord (state=0x8347b0130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [07:15:38.025] errormsg = 0x820f02c98 "" [07:15:38.025] randAccess = [07:15:38.025] decoded = 0x0 [07:15:38.025] RecPtr = 67210816 [07:15:38.025] assembled = false [07:15:38.025] targetPagePtr = 34912327616 [07:15:38.025] readOff = [07:15:38.025] record = [07:15:38.025] gotheader = [07:15:38.025] targetRecOff = 3648 [07:15:38.025] pageHeaderSize = [07:15:38.025] len = [07:15:38.025] total_len = [07:15:38.025] buffer = [07:15:38.025] gotlen = [07:15:38.025] pageHeader = [07:15:38.025] contdata = [07:15:38.025] save_copy = [07:15:38.025] #11 XLogReadAhead (state=0x8347b0130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [07:15:38.025] result = [07:15:38.025] #12 0x000000000066e468 in XLogPrefetcherNextBlock (pgsr_private=35241183368, lsn=0x8348cb088) at ../src/backend/access/transam/xlogprefetcher.c:490 [07:15:38.025] nonblocking = false [07:15:38.025] record = 0x0 [07:15:38.025] prefetcher = 0x83489c888 [07:15:38.025] reader = 0x8347b0130 [07:15:38.025] replaying_lsn = 67210408 [07:15:38.025] #13 0x000000000066e0d2 in lrq_prefetch (lrq=0x8348cade8) at ../src/backend/access/transam/xlogprefetcher.c:252 [07:15:38.025] No locals. [07:15:38.025] #14 lrq_complete_lsn (lrq=0x8348cade8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [07:15:38.025] No locals. [07:15:38.025] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x83489c888, errmsg=errmsg@entry=0x820f02d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [07:15:38.025] replayed_up_to = [07:15:38.025] record = [07:15:38.025] #16 0x0000000000671bfa in ReadRecord (xlogprefetcher=0x83489c888, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [07:15:38.025] errormsg = 0x8347b0940 "" [07:15:38.025] xlogreader = 0x8347b0130 [07:15:38.025] private = [07:15:38.025] record = [07:15:38.025] #17 0x00000000006724d9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [07:15:38.025] ru0 = {tv = {tv_sec = 1728802708, tv_usec = 193867}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1154}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 149, 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}} [07:15:38.025] xtime = [07:15:38.025] reachedRecoveryTarget = false [07:15:38.025] replayTLI = 2 [07:15:38.025] record = [07:15:38.025] #18 0x0000000000662d73 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [07:15:38.025] wasShutdown = false [07:15:38.025] haveTblspcMap = false [07:15:38.025] haveBackupLabel = true [07:15:38.025] promoted = false [07:15:38.025] didCrash = [07:15:38.025] 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 = 742} [07:15:38.025] oldestActiveXID = [07:15:38.025] performedWalRecovery = [07:15:38.025] endOfRecoveryInfo = [07:15:38.025] EndOfLog = [07:15:38.025] EndOfLogTLI = [07:15:38.025] abortedRecPtr = [07:15:38.025] missingContrecPtr = [07:15:38.025] newTLI = [07:15:38.025] Insert = [07:15:38.025] #19 0x000000000089236b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [07:15:38.025] No locals. [07:15:38.025] #20 0x000000000088c0c7 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 [07:15:38.025] pid = [07:15:38.025] #21 0x000000000088e634 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [07:15:38.025] pid = [07:15:38.025] __error = [07:15:38.025] #22 0x000000000088e275 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820f07fc8) at ../src/backend/postmaster/postmaster.c:1343 [07:15:38.025] userDoption = [07:15:38.025] listen_addr_saved = [07:15:38.025] output_config_variable = [07:15:38.025] opt = [07:15:38.025] status = [07:15:38.025] #23 0x00000000007c85cc in main (argc=4, argv=0x820f07fc8) at ../src/backend/main/main.c:197 [07:15:38.025] do_check_root =