[15:17:25.249] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:17:25.599] dumping /tmp/cores/postgres.13183.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:17:25.737] [New LWP 101702] [15:17:25.821] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [15:17:25.821] Program terminated with signal SIGQUIT, Quit. [15:17:25.821] Sent by thr_kill() from pid 13183 and user 1003. [15:17:25.821] #0 0x000000082b5c18fa in _sigprocmask () from /lib/libc.so.7 [15:17:25.868] [15:17:25.868] Thread 1 (LWP 101702): [15:17:25.868] #0 0x000000082b5c18fa in _sigprocmask () from /lib/libc.so.7 [15:17:25.868] No symbol table info available. [15:17:25.868] #1 0x000000082b5faf91 in _system () from /lib/libc.so.7 [15:17:25.868] No symbol table info available. [15:17:25.868] #2 0x000000082abcd9d3 in ?? () from /lib/libthr.so.3 [15:17:25.868] No symbol table info available. [15:17:25.868] #3 0x000000000066b945 in RestoreArchivedFile (path=path@entry=0x821a201d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x821a205d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [15:17:25.868] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t@4\b\000\000\000\210\006\242!\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@4\b\000\000\000@z\3725\b\000\000\000`y\3725\b\000\000\000Xy\3725\b\000\000\000Xt\3725\b\000\000\000\000\340\344\000\000\000\000\000\0000\3474\b\000\000\000\000\020\n\000\000\000\000\000 \375\241!\b\000\000\000 \375\241!\b", '\000' , "\350\376\241!\b\000\000\000h\375\241!\b\000\000\000\b\000\000\0000\000\000\000"... [15:17:25.868] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\374\241!\b\000\000\000`\372\241!\b", '\000' , "\2406g+\b", '\000' , "u\204\256\000\000\000\000\000\300\371\241!\b\000\000\0000\000\000\000\000\000\000\000\210\000\242!\b", '\000' , "p\371\241!\b\000\000\000Ç\256\000\000\000\000\000\001\000\000\000\000\000\000\000\210\000\242!\b\000\000\000\210\000\242!\b\000\000\000\377\377\377\377\000\000\000\000\001", '\000' ... [15:17:25.868] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34924003776, st_mode = 32515, st_padding0 = 174, st_uid = 0, st_gid = 564265408, st_padding1 = 8, st_rdev = 35086648807, st_atim = {tv_sec = 9910, tv_nsec = 3}, st_mtim = {tv_sec = 35323160564, tv_nsec = 26880}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -4364988171335049916, tv_nsec = 34924003760}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35087922848, st_spare = {34924003696, 35087174319, 1731337980, 17843553755741480863, 14081755902374501700, 2, 0, 34924003760, 206158430240, 34924003792}} [15:17:25.868] restartRedoPtr = 34924003520 [15:17:25.868] restartTli = 8 [15:17:25.868] restartSegNo = [15:17:25.868] xlogRestoreCmd = 0x834e3bc38 "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\"" [15:17:25.868] rc = [15:17:25.868] #4 0x00000000006529c8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [15:17:25.868] path = "pg_wal/00000002", '0' , "4", '\000' , "8\220\365!\b\000\000\000\001\000\000\000\000\000\000\000\b4\365!\b\000\000\0008BI+\b\000\000\000\250\004\242!\b\000\000\000\360\003\242!\b\000\000\000`\002\242!\b", '\000' , "\b\300\364!\b\000\000\000 \000\000\000\000\000\000\000\340\003\242!\b\000\000\000\347\372\364\314d\v\000\000\b\300\364!\b\000\000\000\b\304\364!\b\000\000\000\b\310\364!\b\000\000\000\b\314\364!\b\000\000\000\b\000\365!\b\000\000\000\b\004\365!\b\000\000\000\b\b\365!\b\000\000\000"... [15:17:25.868] histfname = "00000003.history\000\006\242!\b\000\000\000\257\375\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000D\335ʆbrl\303\000\000\000\000\000\000\000" [15:17:25.868] fd = [15:17:25.868] #5 0x0000000000652a88 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [15:17:25.868] newestTLI = 2 [15:17:25.868] probeTLI = 3 [15:17:25.868] #6 0x0000000000676d5b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4114 [15:17:25.868] oldtarget = 2 [15:17:25.868] currentTle = 0x0 [15:17:25.868] newtarget = [15:17:25.868] newExpectedTLEs = [15:17:25.868] found = [15:17:25.868] cell = [15:17:25.868] #7 0x0000000000672fb3 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3676 [15:17:25.868] startWalReceiver = false [15:17:25.868] streaming_reply_sent = true [15:17:25.868] now = [15:17:25.868] startWalReceiver = [15:17:25.868] oldSource = [15:17:25.868] wait_time = [15:17:25.868] __error = [15:17:25.868] __error = [15:17:25.868] __error = [15:17:25.868] havedata = [15:17:25.868] ptr = [15:17:25.868] tli = [15:17:25.868] __error = [15:17:25.868] latestChunkStart = [15:17:25.868] __error = [15:17:25.868] #8 XLogPageRead (xlogreader=0x834d4e130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x834e382f8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [15:17:25.868] private = 0x834d4e110 [15:17:25.868] emode = 15 [15:17:25.868] targetSegNo = 4 [15:17:25.868] targetPageOff = 98304 [15:17:25.868] r = [15:17:25.868] #9 0x0000000000679ca2 in ReadPageInternal (state=state@entry=0x834d4e130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [15:17:25.868] targetSegNo = 4 [15:17:25.868] targetPageOff = 98304 [15:17:25.868] readLen = [15:17:25.868] hdr = [15:17:25.868] err = [15:17:25.868] #10 0x0000000000678b12 in XLogDecodeNextRecord (state=0x834d4e130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [15:17:25.868] errormsg = 0x821a24c98 "" [15:17:25.868] randAccess = [15:17:25.868] decoded = 0x0 [15:17:25.868] RecPtr = 67210816 [15:17:25.868] assembled = false [15:17:25.868] targetPagePtr = 34924001216 [15:17:25.868] readOff = [15:17:25.868] record = [15:17:25.868] gotheader = [15:17:25.868] targetRecOff = 3648 [15:17:25.868] pageHeaderSize = [15:17:25.868] len = [15:17:25.868] total_len = [15:17:25.868] buffer = [15:17:25.868] gotlen = [15:17:25.868] pageHeader = [15:17:25.868] contdata = [15:17:25.868] save_copy = [15:17:25.868] #11 XLogReadAhead (state=0x834d4e130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [15:17:25.868] result = [15:17:25.868] #12 0x0000000000670268 in XLogPrefetcherNextBlock (pgsr_private=35247072008, lsn=0x834e68dc8) at ../src/backend/access/transam/xlogprefetcher.c:490 [15:17:25.868] nonblocking = false [15:17:25.868] record = 0x0 [15:17:25.868] prefetcher = 0x834e3a308 [15:17:25.868] reader = 0x834d4e130 [15:17:25.868] replaying_lsn = 67210408 [15:17:25.868] #13 0x000000000066fed2 in lrq_prefetch (lrq=0x834e68b28) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:17:25.868] No locals. [15:17:25.868] #14 lrq_complete_lsn (lrq=0x834e68b28, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:17:25.868] No locals. [15:17:25.868] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834e3a308, errmsg=errmsg@entry=0x821a24d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [15:17:25.868] replayed_up_to = [15:17:25.868] record = [15:17:25.868] #16 0x00000000006739fa in ReadRecord (xlogprefetcher=0x834e3a308, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [15:17:25.868] errormsg = 0x834d4e940 "" [15:17:25.868] xlogreader = 0x834d4e130 [15:17:25.868] private = [15:17:25.868] record = [15:17:25.868] #17 0x00000000006742d9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [15:17:25.868] ru0 = {tv = {tv_sec = 1731337980, tv_usec = 408615}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1041}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 145, 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}} [15:17:25.868] xtime = [15:17:25.868] reachedRecoveryTarget = false [15:17:25.868] replayTLI = 2 [15:17:25.868] record = [15:17:25.868] #18 0x0000000000664c73 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [15:17:25.868] wasShutdown = false [15:17:25.868] haveTblspcMap = false [15:17:25.868] haveBackupLabel = true [15:17:25.868] promoted = false [15:17:25.868] didCrash = [15:17:25.868] 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} [15:17:25.868] oldestActiveXID = [15:17:25.868] performedWalRecovery = [15:17:25.868] endOfRecoveryInfo = [15:17:25.868] EndOfLog = [15:17:25.868] EndOfLogTLI = [15:17:25.868] abortedRecPtr = [15:17:25.868] missingContrecPtr = [15:17:25.868] newTLI = [15:17:25.868] Insert = [15:17:25.868] #19 0x000000000089705b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:17:25.868] No locals. [15:17:25.868] #20 0x0000000000890db7 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:266 [15:17:25.868] pid = [15:17:25.868] #21 0x0000000000893324 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3733 [15:17:25.868] pid = [15:17:25.868] __error = [15:17:25.868] #22 0x0000000000892f65 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821a2a130) at ../src/backend/postmaster/postmaster.c:1340 [15:17:25.868] userDoption = [15:17:25.868] listen_addr_saved = [15:17:25.868] output_config_variable = [15:17:25.868] opt = [15:17:25.868] status = [15:17:25.868] #23 0x00000000007cc7cc in main (argc=4, argv=0x821a2a130) at ../src/backend/main/main.c:196 [15:17:25.868] do_check_root =