[10:46:30.895] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [10:46:31.265] dumping /tmp/cores/postgres.14172.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [10:46:31.395] [New LWP 101887] [10:46:31.477] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [10:46:31.477] Program terminated with signal SIGQUIT, Quit. [10:46:31.477] Sent by thr_kill() from pid 14172 and user 1003. [10:46:31.477] #0 0x000000082ad2b8fa in _sigprocmask () from /lib/libc.so.7 [10:46:31.528] [10:46:31.528] Thread 1 (LWP 101887): [10:46:31.528] #0 0x000000082ad2b8fa in _sigprocmask () from /lib/libc.so.7 [10:46:31.528] No symbol table info available. [10:46:31.528] #1 0x000000082ad64f91 in _system () from /lib/libc.so.7 [10:46:31.528] No symbol table info available. [10:46:31.528] #2 0x0000000829f5c9d3 in ?? () from /lib/libthr.so.3 [10:46:31.528] No symbol table info available. [10:46:31.528] #3 0x00000000006698e5 in RestoreArchivedFile (path=path@entry=0x8211ab1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8211ab5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [10:46:31.528] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t 5\b\000\000\000\210\266\032!\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\000\315 5\b\000\000\000\350\274Z6\b\000\000\000\000\274Z6\b\000\000\000\370\273Z6\b\000\000\000\370\266Z6\b\000\000\000\000\340\344\000\000\000\000\000\000pl5\b\000\000\000\000\020\n\000\000\000\000\000 \255\032!\b\000\000\000 \255\032!\b", '\000' , "\350\256\032!\b\000\000\000h\255\032!\b\000\000\000\b\000\000\0000\000\000\000"... [10:46:31.528] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\254\032!\b\000\000\000`\252\032!\b", '\000' , "\240\326\335*\b", '\000' , "\005\374\255\000\000\000\000\000\300\251\032!\b\000\000\0000\000\000\000\000\000\000\000\210\260\032!\b", '\000' , "p\251\032!\b\000\000\000S\377\255", '\000' , "\005\374\255\000\000\000\000\000\210\260\032!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [10:46:31.528] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34915135936, st_mode = 63123, st_padding0 = 173, st_uid = 0, st_gid = 555397568, st_padding1 = 8, st_rdev = 35077645799, st_atim = {tv_sec = 14727, tv_nsec = 3}, st_mtim = {tv_sec = 35298576628, tv_nsec = 26880}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 6988390951626909218, tv_nsec = 34915135920}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35078919840, st_spare = {34915135856, 35078171311, 1727260574, 17762854185381523664, 6988390951626909218, 2, 0, 34915135920, 206158430240, 34915135952}} [10:46:31.528] restartRedoPtr = 34915135680 [10:46:31.528] restartTli = 8 [10:46:31.528] restartSegNo = [10:46:31.528] xlogRestoreCmd = 0x8356ab378 "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\"" [10:46:31.528] rc = [10:46:31.528] #4 0x0000000000650958 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [10:46:31.528] path = "pg_wal/00000002", '0' , "4", '\000' , "8@\227!\b\000\000\000\001\000\000\000\000\000\000\000\b\344\226!\b\000\000\0008\342\277*\b\000\000\000\250\264\032!\b\000\000\000\360\263\032!\b\000\000\000`\262\032!\b", '\000' , "\bp\226!\b\000\000\000 \000\000\000\000\000\000\000\340\263\032!\b\000\000\000\347jD\024\277\b\000\000\bp\226!\b\000\000\000\bt\226!\b\000\000\000\bx\226!\b\000\000\000\b|\226!\b\000\000\000\b\260\226!\b\000\000\000\b\264\226!\b\000\000\000\b\270\226!\b\000\000\000"... [10:46:31.528] histfname = "00000003.history\000\266\032!\b\000\000\000\377\204\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\"\246F_\213\300\373`\000\000\000\000\000\000\000" [10:46:31.528] fd = [10:46:31.528] #5 0x0000000000650a18 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [10:46:31.528] newestTLI = 2 [10:46:31.528] probeTLI = 3 [10:46:31.528] #6 0x0000000000674e6b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4125 [10:46:31.528] oldtarget = 2 [10:46:31.528] currentTle = 0x0 [10:46:31.528] newtarget = [10:46:31.528] newExpectedTLEs = [10:46:31.528] found = [10:46:31.528] cell = [10:46:31.528] #7 0x0000000000671053 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [10:46:31.528] startWalReceiver = false [10:46:31.528] streaming_reply_sent = true [10:46:31.528] now = [10:46:31.528] startWalReceiver = [10:46:31.528] oldSource = [10:46:31.528] wait_time = [10:46:31.528] __error = [10:46:31.528] __error = [10:46:31.528] __error = [10:46:31.528] havedata = [10:46:31.528] ptr = [10:46:31.528] tli = [10:46:31.528] __error = [10:46:31.528] latestChunkStart = [10:46:31.528] __error = [10:46:31.528] #8 XLogPageRead (xlogreader=0x8355a3130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x8356a7a38 "\027\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [10:46:31.528] private = 0x8355a3110 [10:46:31.528] emode = 15 [10:46:31.528] targetSegNo = 4 [10:46:31.528] targetPageOff = 98304 [10:46:31.528] r = [10:46:31.528] #9 0x0000000000677db2 in ReadPageInternal (state=state@entry=0x8355a3130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [10:46:31.528] targetSegNo = 4 [10:46:31.528] targetPageOff = 98304 [10:46:31.528] readLen = [10:46:31.528] hdr = [10:46:31.528] err = [10:46:31.528] #10 0x0000000000676c22 in XLogDecodeNextRecord (state=0x8355a3130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [10:46:31.528] errormsg = 0x8211afc98 "" [10:46:31.528] randAccess = [10:46:31.528] decoded = 0x0 [10:46:31.528] RecPtr = 67210816 [10:46:31.528] assembled = false [10:46:31.528] targetPagePtr = 34915133376 [10:46:31.528] readOff = [10:46:31.528] record = [10:46:31.528] gotheader = [10:46:31.528] targetRecOff = 3648 [10:46:31.528] pageHeaderSize = [10:46:31.528] len = [10:46:31.528] total_len = [10:46:31.528] buffer = [10:46:31.528] gotlen = [10:46:31.528] pageHeader = [10:46:31.528] contdata = [10:46:31.528] save_copy = [10:46:31.528] #11 XLogReadAhead (state=0x8355a3130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [10:46:31.528] result = [10:46:31.528] #12 0x000000000066e308 in XLogPrefetcherNextBlock (pgsr_private=35255917128, lsn=0x8356bd808) at ../src/backend/access/transam/xlogprefetcher.c:490 [10:46:31.528] nonblocking = false [10:46:31.528] record = 0x0 [10:46:31.528] prefetcher = 0x8356a9a48 [10:46:31.528] reader = 0x8355a3130 [10:46:31.528] replaying_lsn = 67210408 [10:46:31.528] #13 0x000000000066df72 in lrq_prefetch (lrq=0x8356bd568) at ../src/backend/access/transam/xlogprefetcher.c:252 [10:46:31.528] No locals. [10:46:31.528] #14 lrq_complete_lsn (lrq=0x8356bd568, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [10:46:31.528] No locals. [10:46:31.528] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8356a9a48, errmsg=errmsg@entry=0x8211afd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [10:46:31.528] replayed_up_to = [10:46:31.528] record = [10:46:31.528] #16 0x0000000000671a9a in ReadRecord (xlogprefetcher=0x8356a9a48, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [10:46:31.528] errormsg = 0x8355a3940 "" [10:46:31.528] xlogreader = 0x8355a3130 [10:46:31.528] private = [10:46:31.528] record = [10:46:31.528] #17 0x0000000000672379 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [10:46:31.528] ru0 = {tv = {tv_sec = 1727260574, tv_usec = 80595}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1007}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 141, 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}} [10:46:31.528] xtime = [10:46:31.528] reachedRecoveryTarget = false [10:46:31.528] replayTLI = 2 [10:46:31.528] record = [10:46:31.528] #18 0x0000000000662c33 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [10:46:31.528] wasShutdown = false [10:46:31.528] haveTblspcMap = false [10:46:31.528] haveBackupLabel = true [10:46:31.528] promoted = false [10:46:31.528] didCrash = [10:46:31.528] 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} [10:46:31.528] oldestActiveXID = [10:46:31.528] performedWalRecovery = [10:46:31.528] endOfRecoveryInfo = [10:46:31.528] EndOfLog = [10:46:31.528] EndOfLogTLI = [10:46:31.528] abortedRecPtr = [10:46:31.528] missingContrecPtr = [10:46:31.528] newTLI = [10:46:31.528] Insert = [10:46:31.528] #19 0x00000000008915ab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [10:46:31.528] No locals. [10:46:31.528] #20 0x000000000088b307 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 [10:46:31.528] pid = [10:46:31.528] #21 0x000000000088d874 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [10:46:31.528] pid = [10:46:31.528] __error = [10:46:31.528] #22 0x000000000088d4b5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8211b4d88) at ../src/backend/postmaster/postmaster.c:1343 [10:46:31.528] userDoption = [10:46:31.528] listen_addr_saved = [10:46:31.528] output_config_variable = [10:46:31.528] opt = [10:46:31.528] status = [10:46:31.528] #23 0x00000000007c830c in main (argc=4, argv=0x8211b4d88) at ../src/backend/main/main.c:197 [10:46:31.528] do_check_root =