[19:28:46.503] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [19:28:46.807] dumping /tmp/cores/postgres.13874.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:28:46.944] [New LWP 101838] [19:28:47.025] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [19:28:47.025] Program terminated with signal SIGQUIT, Quit. [19:28:47.025] Sent by thr_kill() from pid 13874 and user 1003. [19:28:47.025] #0 0x000000082b2ea8fa in _sigprocmask () from /lib/libc.so.7 [19:28:47.069] [19:28:47.069] Thread 1 (LWP 101838): [19:28:47.069] #0 0x000000082b2ea8fa in _sigprocmask () from /lib/libc.so.7 [19:28:47.069] No symbol table info available. [19:28:47.069] #1 0x000000082b323f91 in _system () from /lib/libc.so.7 [19:28:47.069] No symbol table info available. [19:28:47.069] #2 0x000000082aac69d3 in ?? () from /lib/libthr.so.3 [19:28:47.069] No symbol table info available. [19:28:47.069] #3 0x0000000000672365 in RestoreArchivedFile (path=path@entry=0x820eb51d0 "PR\353 \b", xlogfname=xlogfname@entry=0x820eb5620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [19:28:47.069] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\0005\b\000\000\000\210V\353 \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\0005\b\000\000\000X\344\3326\b\000\000\000x\343\3326\b\000\000\000p\343\3326\b\000\000\000p\336\3326\b\000\000\000\000\340\344\000\000\000\000\000\000`\2735\b\000\000\000\000\020\n\000\000\000\000\000 M\353 \b\000\000\000 M\353 \b", '\000' , "\350N\353 \b\000\000\000hM\353 \b\000\000\000\b\000\000\0000\000\000\000"... [19:28:47.069] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260L\353 \b\000\000\000`J\353 \b", '\000' , "\240\3069+\b", '\000' , "\025k\257\000\000\000\000\000\300I\353 \b\000\000\0000\000\000\000\000\000\000\000\210P\353 \b", '\000' , "pI\353 \b\000\000\000cn\257", '\000' , "\025k\257\000\000\000\000\000\210P\353 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [19:28:47.069] stat_buf = {st_dev = 34912032208, st_ino = 34912032288, st_nlink = 12310960, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 552292800, st_padding1 = 8, st_rdev = 35083671015, st_atim = {tv_sec = 35260015871, tv_nsec = 12475728}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34912032256}, st_size = 34912031280, st_blocks = 11554723, st_blksize = 715915331, st_flags = 8, st_gen = 34924737160, st_spare = {35082981944, 34924717064, 34912031208, 34912031656, 34912031184, 16593531886754, 2615953, 134090501, 206158430240, 34912031184}} [19:28:47.069] restartRedoPtr = 33554472 [19:28:47.069] restartTli = 1 [19:28:47.069] restartSegNo = [19:28:47.069] xlogRestoreCmd = 0x835b7ed78 "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\"" [19:28:47.069] rc = [19:28:47.069] #4 0x000000000067d9de 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 [19:28:47.069] xlogfname = "00000002", '0' , "4\000V\353 \b\000\000\000pV\353 \b\000\000\000\365Y.+\b\000\000\000\2655\000\000\000\000\000\000A\000\000\000\000\000\000" [19:28:47.069] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\3069+\b\000\000\000@V\353 \b\000\000\000\257Z.+\b\000\000\000\236s\201g\000\000\000\000\244\001$u\022jk\207" [19:28:47.069] path = "PR\353 \b\000\000\000sڒ{\027\017\000\000\030\000\000\0000", '\000' , "8@\255!\b\000\000\000\001\000\000\000\000\000\000\000\b\344\254!\b\000\000\0008\322\033+\b\000\000\000\250T\353 \b\000\000\000\360S\353 \b\000\000\000`R\353 \b", '\000' , "\bp\254!\b\000\000\000 \000\000\000\000\000\000\000\340S\353 \b\000\000\000\347z\222{\027\017\000\000\bp\254!\b\000\000\000\bt\254!\b\000\000\000\bx\254!\b\000\000\000\b|\254!\b\000\000\000\b\260\254!\b\000\000\000\b\264\254!\b\000\000\000\b\270\254!\b\000\000\000\b"... [19:28:47.069] fd = [19:28:47.069] #5 0x000000000067972c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4338 [19:28:47.069] hent = [19:28:47.069] tli = 2 [19:28:47.069] cell__state = {l = 0x835b7f398, i = 0} [19:28:47.069] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\263B\214虔\217\214\220\220\3233\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\240\3069+\b\000\000\000\220W\353 \b\000\000\000\353\\2+\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' , "\263B\214虔\217\214\000\000\2515\b\000\000\000@\000\b\000\000\000\000\000&\020h\000"... [19:28:47.069] tles = 0x835b7f398 [19:28:47.069] cell = [19:28:47.069] fd = [19:28:47.069] cell__state = [19:28:47.069] hent = [19:28:47.069] tli = [19:28:47.069] beginseg = [19:28:47.069] __error = [19:28:47.069] __error = [19:28:47.069] #6 WaitForWALToBecomeAvailable (RecPtr=67210824, tliRecPtr=67210800, replayTLI=2, replayLSN=67210800, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3772 [19:28:47.069] startWalReceiver = [19:28:47.069] streaming_reply_sent = true [19:28:47.069] now = [19:28:47.069] startWalReceiver = [19:28:47.069] oldSource = [19:28:47.069] wait_time = [19:28:47.069] __error = [19:28:47.069] __error = [19:28:47.069] __error = [19:28:47.069] havedata = [19:28:47.069] ptr = [19:28:47.069] tli = [19:28:47.069] __error = [19:28:47.069] latestChunkStart = [19:28:47.069] __error = [19:28:47.069] #7 XLogPageRead (xlogreader=0x835a91130, targetPagePtr=67207168, reqLen=3656, targetRecPtr=67210800, readBuf=0x835b7b438 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [19:28:47.069] private = 0x835a91110 [19:28:47.069] emode = 15 [19:28:47.069] targetSegNo = 4 [19:28:47.069] targetPageOff = 98304 [19:28:47.069] r = [19:28:47.069] #8 0x00000000006806c2 in ReadPageInternal (state=state@entry=0x835a91130, pageptr=67207168, reqLen=3656) at ../src/backend/access/transam/xlogreader.c:1060 [19:28:47.069] targetSegNo = 4 [19:28:47.069] targetPageOff = 98304 [19:28:47.069] readLen = [19:28:47.069] hdr = [19:28:47.069] err = [19:28:47.069] #9 0x000000000067f532 in XLogDecodeNextRecord (state=0x835a91130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [19:28:47.069] errormsg = 0x2e700000300 [19:28:47.069] randAccess = [19:28:47.069] decoded = 0x0 [19:28:47.069] RecPtr = 67210800 [19:28:47.069] assembled = false [19:28:47.069] targetPagePtr = 34912028608 [19:28:47.069] readOff = [19:28:47.069] record = [19:28:47.069] gotheader = [19:28:47.069] targetRecOff = 3632 [19:28:47.069] pageHeaderSize = [19:28:47.069] len = [19:28:47.069] total_len = [19:28:47.069] buffer = [19:28:47.069] gotlen = [19:28:47.069] pageHeader = [19:28:47.069] contdata = [19:28:47.069] save_copy = [19:28:47.069] #10 XLogReadAhead (state=0x835a91130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [19:28:47.069] result = [19:28:47.069] #11 0x0000000000676c88 in XLogPrefetcherNextBlock (pgsr_private=35260978248, lsn=0x835babc88) at ../src/backend/access/transam/xlogprefetcher.c:490 [19:28:47.069] nonblocking = false [19:28:47.069] record = 0x0 [19:28:47.069] prefetcher = 0x835b7d448 [19:28:47.069] reader = 0x835a91130 [19:28:47.069] replaying_lsn = 67210392 [19:28:47.069] #12 0x00000000006768f2 in lrq_prefetch (lrq=0x835bab9e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [19:28:47.069] No locals. [19:28:47.069] #13 lrq_complete_lsn (lrq=0x835bab9e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [19:28:47.069] No locals. [19:28:47.069] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835b7d448, errmsg=errmsg@entry=0x820eb9d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [19:28:47.069] replayed_up_to = [19:28:47.069] record = [19:28:47.069] #15 0x000000000067a41a in ReadRecord (xlogprefetcher=0x835b7d448, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [19:28:47.069] errormsg = 0x0 [19:28:47.069] xlogreader = 0x835a91130 [19:28:47.069] private = [19:28:47.069] record = [19:28:47.069] #16 0x000000000067acf9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [19:28:47.069] ru0 = {tv = {tv_sec = 1736536989, tv_usec = 955905}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1096}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 148, 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}} [19:28:47.069] xtime = [19:28:47.069] reachedRecoveryTarget = false [19:28:47.069] replayTLI = 2 [19:28:47.069] record = [19:28:47.069] #17 0x000000000066b693 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [19:28:47.069] wasShutdown = false [19:28:47.069] haveTblspcMap = false [19:28:47.069] haveBackupLabel = true [19:28:47.069] promoted = false [19:28:47.069] didCrash = [19:28:47.069] 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 = 743} [19:28:47.069] oldestActiveXID = [19:28:47.069] performedWalRecovery = [19:28:47.069] endOfRecoveryInfo = [19:28:47.069] EndOfLog = [19:28:47.069] EndOfLogTLI = [19:28:47.069] abortedRecPtr = [19:28:47.069] missingContrecPtr = [19:28:47.069] newTLI = [19:28:47.069] Insert = [19:28:47.069] #18 0x00000000008a22eb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [19:28:47.069] No locals. [19:28:47.069] #19 0x000000000089c195 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 [19:28:47.069] pid = [19:28:47.069] #20 0x000000000089ed97 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3791 [19:28:47.069] pmchild = 0x0 [19:28:47.069] pid = [19:28:47.069] #21 0x000000000089e932 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820ebea50) at ../src/backend/postmaster/postmaster.c:1369 [19:28:47.069] userDoption = [19:28:47.069] listen_addr_saved = false [19:28:47.069] output_config_variable = [19:28:47.069] opt = [19:28:47.069] status = [19:28:47.069] #22 0x00000000007d5f30 in main (argc=4, argv=0x820ebea50) at ../src/backend/main/main.c:230 [19:28:47.069] do_check_root = [19:28:47.069] dispatch_option = DISPATCH_POSTMASTER