[17:33:32.206] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [17:33:32.663] dumping /tmp/cores/postgres.12682.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [17:33:32.810] [New LWP 101722] [17:33:32.905] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [17:33:32.905] Program terminated with signal SIGQUIT, Quit. [17:33:32.905] Sent by thr_kill() from pid 12682 and user 1003. [17:33:32.905] #0 0x000000082c85c8fa in _sigprocmask () from /lib/libc.so.7 [17:33:32.963] [17:33:32.963] Thread 1 (LWP 101722): [17:33:32.963] #0 0x000000082c85c8fa in _sigprocmask () from /lib/libc.so.7 [17:33:32.963] No symbol table info available. [17:33:32.963] #1 0x000000082c895f91 in _system () from /lib/libc.so.7 [17:33:32.963] No symbol table info available. [17:33:32.963] #2 0x000000082a9fc9d3 in ?? () from /lib/libthr.so.3 [17:33:32.963] No symbol table info available. [17:33:32.963] #3 0x000000000066b795 in RestoreArchivedFile (path=path@entry=0x821af61d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x821af65d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [17:33:32.963] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t`5\b\000\000\000\210f\257!\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\3705\3736\b\000\000\000\0305\3736\b\000\000\000\0205\3736\b\000\000\000\0200\3736\b\000\000\000\000\340\344\000\000\000\000\000\000\240^6\b\000\000\000\000\020\n\000\000\000\000\000 ]\257!\b\000\000\000 ]\257!\b", '\000' , "\350^\257!\b\000\000\000h]\257!\b\000\000\000\b\000\000\0000\000\000\000"... [17:33:32.963] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\\\257!\b\000\000\000`Z\257!\b", '\000' , "\240\346\220,\b", '\000' , "5{\256\000\000\000\000\000H`\257!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "\260Y\257!\b\000\000\000\253}\256", '\000' , "5{\256\000\000\000\000\000\210`\257!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [17:33:32.963] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34924880320, st_mode = 30147, st_padding0 = 174, st_uid = 0, st_gid = 565141952, st_padding1 = 8, st_rdev = 35106158055, st_atim = {tv_sec = 11424, tv_nsec = 3}, st_mtim = {tv_sec = 35302132540, tv_nsec = 27720}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 4238560472316891090, tv_nsec = 34924880304}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35107432096, st_spare = {34924880240, 35106683567, 1731777379, 15626159068188477230, 4238560472316891090, 2, 0, 34924880304, 206158430240, 34924880336}} [17:33:32.963] restartRedoPtr = 34924880064 [17:33:32.963] restartTli = 8 [17:33:32.963] restartSegNo = [17:33:32.963] xlogRestoreCmd = 0x8365b3938 "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\"" [17:33:32.963] rc = [17:33:32.963] #4 0x0000000000652818 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [17:33:32.963] path = "pg_wal/00000002", '0' , "4", '\000' , "8\300\362!\b\000\000\000\001\000\000\000\000\000\000\000\bd\362!\b\000\000\0008\362r,\b\000\000\000\250d\257!\b\000\000\000\360c\257!\b\000\000\000`b\257!\b", '\000' , "\b\360\361!\b\000\000\000 \000\000\000\000\000\000\000\340c\257!\b\000\000\000\347\212U\271\035.\000\000\b\360\361!\b\000\000\000\b\364\361!\b\000\000\000\b\370\361!\b\000\000\000\b\374\361!\b\000\000\000\b0\362!\b\000\000\000\b4\362!\b\000\000\000\b8\362!\b\000\000\000"... [17:33:32.963] histfname = "00000003.history\000f\257!\b\000\000\000\377\364\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\322\317u\357Jd\322:\000\000\000\000\000\000\000" [17:33:32.963] fd = [17:33:32.963] #5 0x00000000006528d8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [17:33:32.963] newestTLI = 2 [17:33:32.963] probeTLI = 3 [17:33:32.963] #6 0x0000000000676bab in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4114 [17:33:32.963] oldtarget = 2 [17:33:32.963] currentTle = 0x0 [17:33:32.963] newtarget = [17:33:32.963] newExpectedTLEs = [17:33:32.963] found = [17:33:32.963] cell = [17:33:32.963] #7 0x0000000000672e03 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3676 [17:33:32.963] startWalReceiver = false [17:33:32.963] streaming_reply_sent = true [17:33:32.963] now = [17:33:32.963] startWalReceiver = [17:33:32.963] oldSource = [17:33:32.963] wait_time = [17:33:32.963] __error = [17:33:32.963] __error = [17:33:32.963] __error = [17:33:32.963] havedata = [17:33:32.963] ptr = [17:33:32.963] tli = [17:33:32.963] __error = [17:33:32.963] latestChunkStart = [17:33:32.963] __error = [17:33:32.963] #8 XLogPageRead (xlogreader=0x8364c5130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x8365afff8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [17:33:32.963] private = 0x8364c5110 [17:33:32.963] emode = 15 [17:33:32.963] targetSegNo = 4 [17:33:32.963] targetPageOff = 98304 [17:33:32.963] r = [17:33:32.963] #9 0x0000000000679af2 in ReadPageInternal (state=state@entry=0x8364c5130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [17:33:32.963] targetSegNo = 4 [17:33:32.963] targetPageOff = 98304 [17:33:32.963] readLen = [17:33:32.963] hdr = [17:33:32.963] err = [17:33:32.963] #10 0x0000000000678962 in XLogDecodeNextRecord (state=0x8364c5130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [17:33:32.963] errormsg = 0x821afac98 "" [17:33:32.963] randAccess = [17:33:32.963] decoded = 0x0 [17:33:32.963] RecPtr = 67210816 [17:33:32.963] assembled = false [17:33:32.963] targetPagePtr = 34924877760 [17:33:32.963] readOff = [17:33:32.963] record = [17:33:32.963] gotheader = [17:33:32.963] targetRecOff = 3648 [17:33:32.963] pageHeaderSize = [17:33:32.963] len = [17:33:32.963] total_len = [17:33:32.963] buffer = [17:33:32.963] gotlen = [17:33:32.963] pageHeader = [17:33:32.963] contdata = [17:33:32.963] save_copy = [17:33:32.963] #11 XLogReadAhead (state=0x8364c5130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [17:33:32.963] result = [17:33:32.963] #12 0x00000000006700b8 in XLogPrefetcherNextBlock (pgsr_private=35271680008, lsn=0x8365e0588) at ../src/backend/access/transam/xlogprefetcher.c:490 [17:33:32.963] nonblocking = false [17:33:32.963] record = 0x0 [17:33:32.963] prefetcher = 0x8365b2008 [17:33:32.963] reader = 0x8364c5130 [17:33:32.963] replaying_lsn = 67210408 [17:33:32.963] #13 0x000000000066fd22 in lrq_prefetch (lrq=0x8365e02e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [17:33:32.963] No locals. [17:33:32.963] #14 lrq_complete_lsn (lrq=0x8365e02e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [17:33:32.963] No locals. [17:33:32.963] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8365b2008, errmsg=errmsg@entry=0x821afad60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [17:33:32.963] replayed_up_to = [17:33:32.963] record = [17:33:32.963] #16 0x000000000067384a in ReadRecord (xlogprefetcher=0x8365b2008, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [17:33:32.963] errormsg = 0x8364c5940 "" [17:33:32.963] xlogreader = 0x8364c5130 [17:33:32.963] private = [17:33:32.963] record = [17:33:32.963] #17 0x0000000000674129 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [17:33:32.963] ru0 = {tv = {tv_sec = 1731777379, tv_usec = 212606}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1263}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, 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 = 11, ru_nivcsw = 2}} [17:33:32.963] xtime = [17:33:32.963] reachedRecoveryTarget = false [17:33:32.963] replayTLI = 2 [17:33:32.963] record = [17:33:32.963] #18 0x0000000000664ac3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [17:33:32.963] wasShutdown = false [17:33:32.963] haveTblspcMap = false [17:33:32.964] haveBackupLabel = true [17:33:32.964] promoted = false [17:33:32.964] didCrash = [17:33:32.964] 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} [17:33:32.964] oldestActiveXID = [17:33:32.964] performedWalRecovery = [17:33:32.964] endOfRecoveryInfo = [17:33:32.964] EndOfLog = [17:33:32.964] EndOfLogTLI = [17:33:32.964] abortedRecPtr = [17:33:32.964] missingContrecPtr = [17:33:32.964] newTLI = [17:33:32.964] Insert = [17:33:32.964] #19 0x00000000008966db in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [17:33:32.964] No locals. [17:33:32.964] #20 0x0000000000890cf5 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=57, 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 [17:33:32.964] pid = [17:33:32.964] #21 0x0000000000893907 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3702 [17:33:32.964] pmchild = 0x0 [17:33:32.964] pid = [17:33:32.964] #22 0x0000000000893499 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821affbf0) at ../src/backend/postmaster/postmaster.c:1353 [17:33:32.964] userDoption = [17:33:32.964] listen_addr_saved = [17:33:32.964] output_config_variable = [17:33:32.964] opt = [17:33:32.964] status = [17:33:32.964] #23 0x00000000007cc6fc in main (argc=4, argv=0x821affbf0) at ../src/backend/main/main.c:196 [17:33:32.964] do_check_root =