[17:36:00.662] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [17:36:00.978] dumping /tmp/cores/postgres.13084.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [17:36:01.107] [New LWP 101755] [17:36:01.186] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [17:36:01.186] Program terminated with signal SIGQUIT, Quit. [17:36:01.186] Sent by thr_kill() from pid 13084 and user 1003. [17:36:01.186] #0 0x000000082c6058fa in _sigprocmask () from /lib/libc.so.7 [17:36:01.230] [17:36:01.230] Thread 1 (LWP 101755): [17:36:01.230] #0 0x000000082c6058fa in _sigprocmask () from /lib/libc.so.7 [17:36:01.230] No symbol table info available. [17:36:01.230] #1 0x000000082c63ef91 in _system () from /lib/libc.so.7 [17:36:01.230] No symbol table info available. [17:36:01.230] #2 0x000000082b65f9d3 in ?? () from /lib/libthr.so.3 [17:36:01.230] No symbol table info available. [17:36:01.230] #3 0x000000000066b7d5 in RestoreArchivedFile (path=path@entry=0x820ec71d0 "Pr\354 \b", xlogfname=xlogfname@entry=0x820ec7620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [17:36:01.230] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t 5\b\000\000\000\210v\354 \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\000H\023\2736\b\000\000\000h\022\2736\b\000\000\000`\022\2736\b\000\000\000`\r\2736\b\000\000\000\000\340\344\000\000\000\000\000\000@\0316\b\000\000\000\000\020\n\000\000\000\000\000 m\354 \b\000\000\000 m\354 \b", '\000' , "\350n\354 \b\000\000\000hm\354 \b\000\000\000\b\000\000\0000\000\000\000"... [17:36:01.230] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260l\354 \b\000\000\000`j\354 \b", '\000' , "\240vk,\b", '\000' , "ŀ\256\000\000\000\000\000Hp\354 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "\260i\354 \b\000\000\000;\203\256", '\000' , "ŀ\256\000\000\000\000\000\210p\354 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [17:36:01.230] stat_buf = {st_dev = 34912105936, st_ino = 34912106016, st_nlink = 12248672, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 552366528, st_padding1 = 8, st_rdev = 35103704551, st_atim = {tv_sec = 35266168063, tv_nsec = 12412832}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34912105984}, st_size = 34912105008, st_blocks = 11486819, st_blksize = 728039491, st_flags = 8, st_gen = 34927207048, st_spare = {35103015480, 34927186952, 34912104936, 34912105384, 34912104912, 18595334413474, 2598376, 134090501, 206158430240, 34912104912}} [17:36:01.230] restartRedoPtr = 33554472 [17:36:01.230] restartTli = 1 [17:36:01.230] restartSegNo = [17:36:01.230] xlogRestoreCmd = 0x83615d938 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000002", '0' , "4\" \"pg_wal/RECOVERYXLOG\"" [17:36:01.230] rc = [17:36:01.230] #4 0x0000000000676e4e in XLogFileRead (segno=segno@entry=4, tli=tli@entry=2, source=source@entry=XLOG_FROM_ARCHIVE, notfoundOk=true) at ../src/backend/access/transam/xlogrecovery.c:4210 [17:36:01.230] xlogfname = "00000002", '0' , "4\000v\354 \b\000\000\000pv\354 \b\000\000\000\365\t`,\b\000\000\000\2512\000\000\000\000\000\000\214\000\000\000\000\000\000" [17:36:01.230] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240vk,\b\000\000\000@v\354 \b\000\000\000\257\n`,\b\000\000\000\204(:g\000\000\000\000j\216$Ȱ8\254(" [17:36:01.230] path = "Pr\354 \b\000\000\000sZM\220\351\020\000\000\030\000\000\0000", '\000' , "8\360\322!\b\000\000\000\001\000\000\000\000\000\000\000\b\224\322!\b\000\000\0008\202M,\b\000\000\000\250t\354 \b\000\000\000\360s\354 \b\000\000\000`r\354 \b", '\000' , "\b \322!\b\000\000\000 \000\000\000\000\000\000\000\340s\354 \b\000\000\000\347\372L\220\351\020\000\000\b \322!\b\000\000\000\b$\322!\b\000\000\000\b(\322!\b\000\000\000\b,\322!\b\000\000\000\b`\322!\b\000\000\000\bd\322!\b\000\000\000\bh\322!\b\000\000\000"... [17:36:01.230] fd = [17:36:01.230] #5 0x0000000000672b9c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4338 [17:36:01.230] hent = [17:36:01.230] tli = 2 [17:36:01.230] cell__state = {l = 0x83615df58, i = 0} [17:36:01.230] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\244\003Xl\227\220P\3014\b\000\000\0009\000\000\000\000\000\000\000\000\000\n\000\000\000\000\000@\000\b\000\000\000\000\000\240vk,\b\000\000\000\220w\354 \b\000\000\000\353\fd,\b", '\000' , "\002", '\000' , "\001\000\000\000\001\377\377\377\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\244\003Xl\227\000\340\0066\b\000\000\000@\000\b\000\000\000\000\000\226\244g\000"... [17:36:01.230] tles = 0x83615df58 [17:36:01.230] cell = [17:36:01.230] fd = [17:36:01.230] cell__state = [17:36:01.230] hent = [17:36:01.230] tli = [17:36:01.230] beginseg = [17:36:01.230] __error = [17:36:01.230] __error = [17:36:01.230] #6 WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3772 [17:36:01.230] startWalReceiver = [17:36:01.230] streaming_reply_sent = true [17:36:01.230] now = [17:36:01.230] startWalReceiver = [17:36:01.230] oldSource = [17:36:01.230] wait_time = [17:36:01.230] __error = [17:36:01.230] __error = [17:36:01.230] __error = [17:36:01.230] havedata = [17:36:01.230] ptr = [17:36:01.230] tli = [17:36:01.230] __error = [17:36:01.230] latestChunkStart = [17:36:01.230] __error = [17:36:01.230] #7 XLogPageRead (xlogreader=0x83606f130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x836159ff8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [17:36:01.230] private = 0x83606f110 [17:36:01.230] emode = 15 [17:36:01.230] targetSegNo = 4 [17:36:01.230] targetPageOff = 98304 [17:36:01.230] r = [17:36:01.230] #8 0x0000000000679b32 in ReadPageInternal (state=state@entry=0x83606f130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [17:36:01.230] targetSegNo = 4 [17:36:01.230] targetPageOff = 98304 [17:36:01.230] readLen = [17:36:01.230] hdr = [17:36:01.230] err = [17:36:01.230] #9 0x00000000006789a2 in XLogDecodeNextRecord (state=0x83606f130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [17:36:01.230] errormsg = 0x2e600000300 [17:36:01.230] randAccess = [17:36:01.230] decoded = 0x0 [17:36:01.230] RecPtr = 67210816 [17:36:01.230] assembled = false [17:36:01.230] targetPagePtr = 34912102336 [17:36:01.230] readOff = [17:36:01.230] record = [17:36:01.230] gotheader = [17:36:01.230] targetRecOff = 3648 [17:36:01.230] pageHeaderSize = [17:36:01.230] len = [17:36:01.230] total_len = [17:36:01.230] buffer = [17:36:01.230] gotlen = [17:36:01.230] pageHeader = [17:36:01.230] contdata = [17:36:01.230] save_copy = [17:36:01.230] #10 XLogReadAhead (state=0x83606f130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [17:36:01.230] result = [17:36:01.230] #11 0x00000000006700f8 in XLogPrefetcherNextBlock (pgsr_private=35267133448, lsn=0x836189c08) at ../src/backend/access/transam/xlogprefetcher.c:490 [17:36:01.230] nonblocking = false [17:36:01.230] record = 0x0 [17:36:01.230] prefetcher = 0x83615c008 [17:36:01.230] reader = 0x83606f130 [17:36:01.230] replaying_lsn = 67210408 [17:36:01.230] #12 0x000000000066fd62 in lrq_prefetch (lrq=0x836189968) at ../src/backend/access/transam/xlogprefetcher.c:252 [17:36:01.230] No locals. [17:36:01.230] #13 lrq_complete_lsn (lrq=0x836189968, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [17:36:01.230] No locals. [17:36:01.230] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x83615c008, errmsg=errmsg@entry=0x820ecbd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [17:36:01.230] replayed_up_to = [17:36:01.230] record = [17:36:01.230] #15 0x000000000067388a in ReadRecord (xlogprefetcher=0x83615c008, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [17:36:01.230] errormsg = 0x0 [17:36:01.230] xlogreader = 0x83606f130 [17:36:01.230] private = [17:36:01.230] record = [17:36:01.230] #16 0x0000000000674169 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [17:36:01.230] ru0 = {tv = {tv_sec = 1731864707, tv_usec = 596677}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1152}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 150, 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}} [17:36:01.230] xtime = [17:36:01.230] reachedRecoveryTarget = false [17:36:01.230] replayTLI = 2 [17:36:01.230] record = [17:36:01.230] #17 0x0000000000664b03 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [17:36:01.230] wasShutdown = false [17:36:01.230] haveTblspcMap = false [17:36:01.230] haveBackupLabel = true [17:36:01.230] promoted = false [17:36:01.230] didCrash = [17:36:01.230] 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:36:01.230] oldestActiveXID = [17:36:01.230] performedWalRecovery = [17:36:01.230] endOfRecoveryInfo = [17:36:01.230] EndOfLog = [17:36:01.230] EndOfLogTLI = [17:36:01.230] abortedRecPtr = [17:36:01.230] missingContrecPtr = [17:36:01.230] newTLI = [17:36:01.230] Insert = [17:36:01.230] #18 0x0000000000896c6b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [17:36:01.230] No locals. [17:36:01.230] #19 0x0000000000891285 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:36:01.230] pid = [17:36:01.230] #20 0x0000000000893e97 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3702 [17:36:01.230] pmchild = 0x0 [17:36:01.230] pid = [17:36:01.230] #21 0x0000000000893a29 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820ed0838) at ../src/backend/postmaster/postmaster.c:1353 [17:36:01.230] userDoption = [17:36:01.230] listen_addr_saved = [17:36:01.230] output_config_variable = [17:36:01.230] opt = [17:36:01.230] status = [17:36:01.230] #22 0x00000000007cc53c in main (argc=4, argv=0x820ed0838) at ../src/backend/main/main.c:196 [17:36:01.230] do_check_root =