[23:05:16.042] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [23:05:16.369] dumping /tmp/cores/postgres.12163.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [23:05:16.493] [New LWP 100102] [23:05:16.572] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [23:05:16.572] Program terminated with signal SIGQUIT, Quit. [23:05:16.572] Sent by thr_kill() from pid 12163 and user 1003. [23:05:16.572] #0 0x000000082b3748fa in _sigprocmask () from /lib/libc.so.7 [23:05:16.618] [23:05:16.618] Thread 1 (LWP 100102): [23:05:16.618] #0 0x000000082b3748fa in _sigprocmask () from /lib/libc.so.7 [23:05:16.618] No symbol table info available. [23:05:16.618] #1 0x000000082b3adf91 in _system () from /lib/libc.so.7 [23:05:16.618] No symbol table info available. [23:05:16.618] #2 0x00000008281cb9d3 in ?? () from /lib/libthr.so.3 [23:05:16.618] No symbol table info available. [23:05:16.618] #3 0x0000000000665f65 in RestoreArchivedFile (path=path@entry=0x8216aa1d0 "P\242j!\b", xlogfname=xlogfname@entry=0x8216aa620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [23:05:16.618] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2404\b\000\000\000\210\246j!\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͠4\b\000\000\000\230uZ5\b\000\000\000\270tZ5\b\000\000\000\260tZ5\b\000\000\000\260oZ5\b\000\000\000\000\340\344\000\000\000\000\000\000\340\3354\b\000\000\000\000\020\n\000\000\000\000\000 \235j!\b\000\000\000 \235j!\b", '\000' , "\350\236j!\b\000\000\000h\235j!\b\000\000\000\b\000\000\0000\000\000\000С"... [23:05:16.618] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\234j!\b\000\000\000`\232j!\b", '\000' , "\240fB+\b", '\000' , "U\213\255\000\000\000\000\000\300\231j!\b\000\000\0000\000\000\000\000\000\000\000\210\240j!\b", '\000' , "p\231j!\b\000\000\000\243\216\255", '\000' , "U\213\255\000\000\000\000\000\210\240j!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [23:05:16.618] stat_buf = {st_dev = 34920375760, st_ino = 34920375840, st_nlink = 12188064, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 560636352, st_padding1 = 8, st_rdev = 35084236263, st_atim = {tv_sec = 35245499647, tv_nsec = 12346144}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34920375808}, st_size = 34920374832, st_blocks = 11424227, st_blksize = 672923715, st_flags = 8, st_gen = 34934125192, st_spare = {35083547192, 34934105096, 34920374760, 34920375208, 34920374736, 69103368952994, 2594983, 134090501, 206158430240, 34920374736}} [23:05:16.618] restartRedoPtr = 33554472 [23:05:16.618] restartTli = 1 [23:05:16.618] restartSegNo = [23:05:16.618] xlogRestoreCmd = 0x834da7238 "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\"" [23:05:16.618] rc = [23:05:16.618] #4 0x000000000067164e in XLogFileRead (segno=segno@entry=4, emode=, tli=tli@entry=2, source=source@entry=XLOG_FROM_ARCHIVE, notfoundOk=true) at ../src/backend/access/transam/xlogrecovery.c:4222 [23:05:16.618] xlogfname = "00000002", '0' , "4\000\246j!\b\000\000\000p\246j!\b\000\000\000\365\3716+\b\000\000\000\017/\000\000\000\000\000\000u\000\000\000\000\000\000" [23:05:16.618] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240fB+\b\000\000\000@\246j!\b\000\000\000\257\3726+\b\000\000\000\303,\336f\000\000\000\000\246\235\2751X\004\236\252" [23:05:16.618] path = "P\242j!\b\000\000\000sZ\302a\331>\000\000\030\000\000\0000", '\000' , "8\200<\"\b\000\000\000\001\000\000\000\000\000\000\000\b$<\"\b\000\000\0008r$+\b\000\000\000\250\244j!\b\000\000\000\360\243j!\b\000\000\000`\242j!\b", '\000' , "\b\260;\"\b\000\000\000 \000\000\000\000\000\000\000\340\243j!\b\000\000\000\347\372\301a\331>\000\000\b\260;\"\b\000\000\000\b\264;\"\b\000\000\000\b\270;\"\b\000\000\000\b\274;\"\b\000\000\000\b\360;\"\b\000\000\000\b\364;\"\b\000\000\000\b\370;\"\b\000\000\000"... [23:05:16.618] fd = [23:05:16.618] #5 0x000000000066d32c in XLogFileReadAnyTLI (segno=4, emode=13, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4350 [23:05:16.618] hent = [23:05:16.618] tli = 2 [23:05:16.618] cell__state = {l = 0x834da7858, i = 0} [23:05:16.618] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\036\201v\224u\353\337&\220\240H3\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\240fB+\b\000\000\000\220\247j!\b\000\000\000\353\374:+\b", '\000' , "\002", '\000' , "\001\000\000\000\001F\0248\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\036\201v\224u\353\337&\000\200\3134\b\000\000\000@\000\b\000\000\000\000\000"... [23:05:16.618] tles = 0x834da7858 [23:05:16.618] cell = [23:05:16.618] fd = [23:05:16.618] cell__state = [23:05:16.618] hent = [23:05:16.618] tli = [23:05:16.618] beginseg = [23:05:16.618] __error = [23:05:16.618] __error = [23:05:16.618] #6 WaitForWALToBecomeAvailable (RecPtr=67210800, tliRecPtr=67210776, replayTLI=2, replayLSN=67210776, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3783 [23:05:16.618] startWalReceiver = [23:05:16.618] streaming_reply_sent = true [23:05:16.618] now = [23:05:16.618] startWalReceiver = [23:05:16.618] oldSource = [23:05:16.618] wait_time = [23:05:16.618] __error = [23:05:16.618] __error = [23:05:16.618] __error = [23:05:16.618] havedata = [23:05:16.618] ptr = [23:05:16.618] tli = [23:05:16.618] __error = [23:05:16.618] latestChunkStart = [23:05:16.618] __error = [23:05:16.618] #7 XLogPageRead (xlogreader=0x834cb9130, targetPagePtr=67207168, reqLen=3632, targetRecPtr=67210776, readBuf=0x834da38f8 "\026\321\005") at ../src/backend/access/transam/xlogrecovery.c:3364 [23:05:16.618] private = 0x834cb9110 [23:05:16.618] emode = 15 [23:05:16.618] targetSegNo = 4 [23:05:16.618] targetPageOff = 98304 [23:05:16.618] r = [23:05:16.618] #8 0x0000000000674332 in ReadPageInternal (state=state@entry=0x834cb9130, pageptr=67207168, reqLen=3632) at ../src/backend/access/transam/xlogreader.c:1060 [23:05:16.618] targetSegNo = 4 [23:05:16.618] targetPageOff = 98304 [23:05:16.618] readLen = [23:05:16.618] hdr = [23:05:16.618] err = [23:05:16.618] #9 0x00000000006731a2 in XLogDecodeNextRecord (state=0x834cb9130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [23:05:16.618] errormsg = 0x2e300000300 [23:05:16.618] randAccess = [23:05:16.618] decoded = 0x0 [23:05:16.618] RecPtr = 67210776 [23:05:16.618] assembled = false [23:05:16.618] targetPagePtr = 34920372160 [23:05:16.618] readOff = [23:05:16.618] record = [23:05:16.618] gotheader = [23:05:16.618] targetRecOff = 3608 [23:05:16.618] pageHeaderSize = [23:05:16.618] len = [23:05:16.618] total_len = [23:05:16.618] buffer = [23:05:16.618] gotlen = [23:05:16.618] pageHeader = [23:05:16.618] contdata = [23:05:16.618] save_copy = [23:05:16.618] #10 XLogReadAhead (state=0x834cb9130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [23:05:16.618] result = [23:05:16.618] #11 0x000000000066a888 in XLogPrefetcherNextBlock (pgsr_private=35246463240, lsn=0x834dd4048) at ../src/backend/access/transam/xlogprefetcher.c:490 [23:05:16.618] nonblocking = false [23:05:16.618] record = 0x0 [23:05:16.618] prefetcher = 0x834da5908 [23:05:16.618] reader = 0x834cb9130 [23:05:16.618] replaying_lsn = 67210368 [23:05:16.618] #12 0x000000000066a4f2 in lrq_prefetch (lrq=0x834dd3da8) at ../src/backend/access/transam/xlogprefetcher.c:252 [23:05:16.618] No locals. [23:05:16.618] #13 lrq_complete_lsn (lrq=0x834dd3da8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [23:05:16.618] No locals. [23:05:16.618] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834da5908, errmsg=errmsg@entry=0x8216aed60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [23:05:16.618] replayed_up_to = [23:05:16.618] record = [23:05:16.618] #15 0x000000000066e01a in ReadRecord (xlogprefetcher=0x834da5908, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [23:05:16.618] errormsg = 0x0 [23:05:16.618] xlogreader = 0x834cb9130 [23:05:16.618] private = [23:05:16.618] record = [23:05:16.618] #16 0x000000000066e8f9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [23:05:16.618] ru0 = {tv = {tv_sec = 1725836483, tv_usec = 80298}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 917}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 146, 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}} [23:05:16.618] xtime = [23:05:16.618] reachedRecoveryTarget = false [23:05:16.618] replayTLI = 2 [23:05:16.618] record = [23:05:16.618] #17 0x000000000065f2b3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [23:05:16.618] wasShutdown = false [23:05:16.618] haveTblspcMap = false [23:05:16.618] haveBackupLabel = true [23:05:16.618] promoted = false [23:05:16.618] didCrash = [23:05:16.618] 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} [23:05:16.618] oldestActiveXID = [23:05:16.618] performedWalRecovery = [23:05:16.618] endOfRecoveryInfo = [23:05:16.618] EndOfLog = [23:05:16.618] EndOfLogTLI = [23:05:16.618] abortedRecPtr = [23:05:16.618] missingContrecPtr = [23:05:16.618] newTLI = [23:05:16.618] Insert = [23:05:16.618] #18 0x000000000088b74b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [23:05:16.618] No locals. [23:05:16.618] #19 0x00000000008854b7 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 [23:05:16.618] pid = [23:05:16.618] #20 0x0000000000887a14 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [23:05:16.618] pid = [23:05:16.618] __error = [23:05:16.618] #21 0x0000000000887655 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8216b4218) at ../src/backend/postmaster/postmaster.c:1338 [23:05:16.618] userDoption = [23:05:16.618] listen_addr_saved = [23:05:16.618] output_config_variable = [23:05:16.618] opt = [23:05:16.618] status = [23:05:16.618] #22 0x00000000007c322c in main (argc=4, argv=0x8216b4218) at ../src/backend/main/main.c:197 [23:05:16.618] do_check_root =