[15:38:01.191] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:38:01.575] dumping /tmp/cores/postgres.13208.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:38:01.703] [New LWP 101727] [15:38:01.792] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [15:38:01.792] Program terminated with signal SIGQUIT, Quit. [15:38:01.792] Sent by thr_kill() from pid 13208 and user 1003. [15:38:01.792] #0 0x000000082accd8fa in _sigprocmask () from /lib/libc.so.7 [15:38:01.847] [15:38:01.847] Thread 1 (LWP 101727): [15:38:01.847] #0 0x000000082accd8fa in _sigprocmask () from /lib/libc.so.7 [15:38:01.847] No symbol table info available. [15:38:01.847] #1 0x000000082ad06f91 in _system () from /lib/libc.so.7 [15:38:01.847] No symbol table info available. [15:38:01.847] #2 0x000000082a9f29d3 in ?? () from /lib/libthr.so.3 [15:38:01.847] No symbol table info available. [15:38:01.847] #3 0x0000000000635335 in RestoreArchivedFile (path=path@entry=0x8217821d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8217825d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [15:38:01.847] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t`5\b\000\000\000\210&x!\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`5\b\000\000\000\220\350\3726\b\000\000\000\300\347\3726\b\000\000\000\270\347\3726\b\000\000\000\270\342\3726\b\000\000\000\000\340\344\000\000\000\000\000\000\360\3035\b\000\000\000\000\020\n\000\000\000\000\000 \035x!\b\000\000\000 \035x!\b", '\000' , "\350\036x!\b\000\000\000h\035x!\b\000\000\000\b\000\000\0000\000\000\000"... [15:38:01.847] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\034x!\b\000\000\000`\032x!\b", '\000' , "\240\366\327*\b\000\000\000x/\270\000\000\000\000\000\370\210 3\b\000\000\000s\000\000\000\000\000\000\000M#\035\000\000\000\000\000\001\000\000\000\000\000\000\000\200\201\000\000\353\003\000\000\354\003\000\000\000\000\000\000,a:\000\000\000\000\000\350N\313f\000\000\000\000\320\370\307(\000\000\000\000\350N\313f\000\000\000\000h3\310(\000\000\000\000\350N\313f\000\000\000\000"... [15:38:01.847] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34921259456, st_mode = 30819, st_padding0 = 170, st_uid = 0, st_gid = 561521088, st_padding1 = 8, st_rdev = 35077260775, st_atim = {tv_sec = 11392, tv_nsec = 3}, st_mtim = {tv_sec = 35302703092, tv_nsec = 28672}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -7489026462880690564, tv_nsec = 34921259440}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35078534816, st_spare = {34921259376, 35077786287, 1724600041, 5472060548806056815, 10957717610828861052, 2, 0, 34921259440, 206158430240, 34921259472}} [15:38:01.847] restartRedoPtr = 34921259200 [15:38:01.847] restartTli = 8 [15:38:01.847] restartSegNo = [15:38:01.847] xlogRestoreCmd = 0x835c07d38 "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:38:01.847] rc = [15:38:01.847] #4 0x000000000061c468 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [15:38:01.847] path = "pg_wal/00000002", '0' , "4\000\b\224\321!\b\000\000\000\310\004", '\000' , "81\270\000\000\000\000\000\260\310\314*\b\000\000\000xm\273*\b\000\000\000|\016\177N\034\242\021\230\220p 3\b", '\000' , "\330X`5\b\000\000\000\200\t`5\b", '\000' , "0&x!\b\000\000\000H}\323*\b\000\000\000\000\020\000\000\000\000\000\000@", '\000' , "9\000\000\000\000\000\000\000\337&x!\b\000\000\000\207&x!\b", '\000' ... [15:38:01.847] histfname = "00000003.history\000&x!\b\000\000\000\377\026\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000|\016\177N\034\242\021\230\000\000\000\000\000\000\000" [15:38:01.847] fd = [15:38:01.847] #5 0x000000000061c528 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [15:38:01.847] newestTLI = 2 [15:38:01.847] probeTLI = 3 [15:38:01.847] #6 0x000000000064075b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209336) at ../src/backend/access/transam/xlogrecovery.c:4125 [15:38:01.847] oldtarget = 2 [15:38:01.847] currentTle = 0x0 [15:38:01.847] newtarget = [15:38:01.847] newExpectedTLEs = [15:38:01.847] found = [15:38:01.847] cell = [15:38:01.847] #7 0x000000000063c943 in WaitForWALToBecomeAvailable (RecPtr=67209360, tliRecPtr=67209336, replayTLI=2, replayLSN=67209336, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3686 [15:38:01.847] startWalReceiver = false [15:38:01.847] streaming_reply_sent = true [15:38:01.847] now = [15:38:01.847] startWalReceiver = [15:38:01.847] oldSource = [15:38:01.847] wait_time = [15:38:01.847] __error = [15:38:01.847] __error = [15:38:01.847] __error = [15:38:01.847] havedata = [15:38:01.847] ptr = [15:38:01.847] tli = [15:38:01.847] __error = [15:38:01.847] latestChunkStart = [15:38:01.847] __error = [15:38:01.847] #8 XLogPageRead (xlogreader=0x835b18130, targetPagePtr=67207168, reqLen=2192, targetRecPtr=67209336, readBuf=0x835c043f8 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3363 [15:38:01.847] private = 0x835b18110 [15:38:01.847] emode = 15 [15:38:01.847] targetSegNo = 4 [15:38:01.847] targetPageOff = 98304 [15:38:01.847] r = [15:38:01.847] #9 0x00000000006436a2 in ReadPageInternal (state=state@entry=0x835b18130, pageptr=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1060 [15:38:01.847] targetSegNo = 4 [15:38:01.847] targetPageOff = 98304 [15:38:01.847] readLen = [15:38:01.847] hdr = [15:38:01.847] err = [15:38:01.847] #10 0x0000000000642512 in XLogDecodeNextRecord (state=0x835b18130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [15:38:01.847] errormsg = 0x821786c98 "" [15:38:01.847] randAccess = [15:38:01.847] decoded = 0x0 [15:38:01.847] RecPtr = 67209336 [15:38:01.847] assembled = false [15:38:01.847] targetPagePtr = 34921256896 [15:38:01.847] readOff = [15:38:01.847] record = [15:38:01.847] gotheader = [15:38:01.847] targetRecOff = 2168 [15:38:01.847] pageHeaderSize = [15:38:01.847] len = [15:38:01.847] total_len = [15:38:01.847] buffer = [15:38:01.847] gotlen = [15:38:01.847] pageHeader = [15:38:01.847] contdata = [15:38:01.847] save_copy = [15:38:01.847] #11 XLogReadAhead (state=0x835b18130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [15:38:01.847] result = [15:38:01.847] #12 0x0000000000639c58 in XLogPrefetcherNextBlock (pgsr_private=35261539336, lsn=0x835c35698) at ../src/backend/access/transam/xlogprefetcher.c:490 [15:38:01.847] nonblocking = false [15:38:01.847] record = 0x0 [15:38:01.847] prefetcher = 0x835c06408 [15:38:01.847] reader = 0x835b18130 [15:38:01.847] replaying_lsn = 67208928 [15:38:01.847] #13 0x00000000006398c2 in lrq_prefetch (lrq=0x835c35428) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:38:01.847] No locals. [15:38:01.847] #14 lrq_complete_lsn (lrq=0x835c35428, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:38:01.847] No locals. [15:38:01.847] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835c06408, errmsg=errmsg@entry=0x821786d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [15:38:01.847] replayed_up_to = [15:38:01.847] record = [15:38:01.847] #16 0x000000000063d38a in ReadRecord (xlogprefetcher=0x835c06408, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3163 [15:38:01.847] errormsg = 0x835b18940 "" [15:38:01.847] xlogreader = 0x835b18130 [15:38:01.847] private = [15:38:01.847] record = [15:38:01.847] #17 0x000000000063dc69 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [15:38:01.847] ru0 = {tv = {tv_sec = 1724600040, tv_usec = 705133}, ru = {ru_utime = {tv_sec = 0, tv_usec = 1145}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 26472, ru_ixrss = 5996, ru_idrss = 324, ru_isrss = 128, ru_minflt = 143, 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 = 3}} [15:38:01.847] xtime = [15:38:01.847] reachedRecoveryTarget = false [15:38:01.847] replayTLI = 2 [15:38:01.847] record = [15:38:01.847] #18 0x000000000062e683 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [15:38:01.847] wasShutdown = false [15:38:01.847] haveTblspcMap = false [15:38:01.847] haveBackupLabel = true [15:38:01.847] promoted = false [15:38:01.847] didCrash = [15:38:01.847] 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} [15:38:01.847] oldestActiveXID = [15:38:01.847] performedWalRecovery = [15:38:01.847] endOfRecoveryInfo = [15:38:01.847] EndOfLog = [15:38:01.847] EndOfLogTLI = [15:38:01.847] abortedRecPtr = [15:38:01.847] missingContrecPtr = [15:38:01.847] newTLI = [15:38:01.847] Insert = [15:38:01.847] #19 0x000000000085a8fb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:38:01.847] No locals. [15:38:01.847] #20 0x0000000000854667 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 [15:38:01.847] pid = [15:38:01.847] #21 0x0000000000856bc4 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3730 [15:38:01.847] pid = [15:38:01.847] __error = [15:38:01.847] #22 0x0000000000856805 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82178ba48) at ../src/backend/postmaster/postmaster.c:1338 [15:38:01.847] userDoption = [15:38:01.847] listen_addr_saved = [15:38:01.847] output_config_variable = [15:38:01.847] opt = [15:38:01.847] status = [15:38:01.847] #23 0x00000000007924cc in main (argc=4, argv=0x82178ba48) at ../src/backend/main/main.c:197 [15:38:01.847] do_check_root =