[12:54:47.857] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [12:54:48.255] dumping /tmp/cores/postgres.12095.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [12:54:48.401] [New LWP 101701] [12:54:48.497] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [12:54:48.497] Program terminated with signal SIGQUIT, Quit. [12:54:48.497] Sent by thr_kill() from pid 12095 and user 1003. [12:54:48.497] #0 0x000000082c32b8fa in _sigprocmask () from /lib/libc.so.7 [12:54:48.548] [12:54:48.548] Thread 1 (LWP 101701): [12:54:48.548] #0 0x000000082c32b8fa in _sigprocmask () from /lib/libc.so.7 [12:54:48.548] No symbol table info available. [12:54:48.548] #1 0x000000082c364f91 in _system () from /lib/libc.so.7 [12:54:48.548] No symbol table info available. [12:54:48.548] #2 0x000000082b8e49d3 in ?? () from /lib/libthr.so.3 [12:54:48.548] No symbol table info available. [12:54:48.548] #3 0x0000000000667c75 in RestoreArchivedFile (path=path@entry=0x8211441d0 "PB\024!\b", xlogfname=xlogfname@entry=0x821144620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [12:54:48.548] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2405\b\000\000\000\210F\024!\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\000͠5\b\000\000\000\330e\0337\b\000\000\000\000e\0337\b\000\000\000\370d\0337\b\000\000\000\370_\0337\b\000\000\000\000\340\344\000\000\000\000\000\000p\2766\b\000\000\000\000\020\n\000\000\000\000\000 =\024!\b\000\000\000 =\024!\b", '\000' , "\350>\024!\b\000\000\000h=\024!\b\000\000\000\b\000\000\0000\000\000\000\320"... [12:54:48.548] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260<\024!\b\000\000\000`:\024!\b", '\000' , "\240\326=,\b", '\000' , "\205˭\000\000\000\000\000\3009\024!\b\000\000\0000\000\000\000\000\000\000\000\210@\024!\b", '\000' , "p9\024!\b\000\000\000\323έ", '\000' , "\205˭\000\000\000\000\000\210@\024!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [12:54:48.548] stat_buf = {st_dev = 34914715088, st_ino = 34914715168, st_nlink = 12206960, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 554975680, st_padding1 = 8, st_rdev = 35100714471, st_atim = {tv_sec = 35276989695, tv_nsec = 12365040}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34914715136}, st_size = 34914714160, st_blocks = 11441219, st_blksize = 730660931, st_flags = 8, st_gen = 34919850632, st_spare = {35100025400, 34919830536, 34914714088, 34914714536, 34914714064, 1107503492258, 2596010, 134090501, 206158430240, 34914714064}} [12:54:48.548] restartRedoPtr = 33554472 [12:54:48.548] restartTli = 1 [12:54:48.548] restartSegNo = [12:54:48.548] xlogRestoreCmd = 0x836bcb1f8 "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\"" [12:54:48.548] rc = [12:54:48.548] #4 0x000000000067335e 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:4221 [12:54:48.548] xlogfname = "00000002", '0' , "4\000F\024!\b\000\000\000pF\024!\b\000\000\000\365i2,\b\000\000\000\255.\000\000\000\000\000\000\242\000\000\000\000\000\000" [12:54:48.548] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\326=,\b\000\000\000@F\024!\b\000\000\000\257j2,\b\000\000\000\032{\351f\000\000\000\000N\206!3\272ǖ^" [12:54:48.548] path = "PB\024!\b\000\000\000s*Z\334\001\001\000\000\030\000\000\0000", '\000' , "8\260b!\b\000\000\000\001\000\000\000\000\000\000\000\bTb!\b\000\000\0008\342\037,\b\000\000\000\250D\024!\b\000\000\000\360C\024!\b\000\000\000`B\024!\b", '\000' , "\b\340a!\b\000\000\000 \000\000\000\000\000\000\000\340C\024!\b\000\000\000\347\312Y\334\001\001\000\000\b\340a!\b\000\000\000\b\344a!\b\000\000\000\b\350a!\b\000\000\000\b\354a!\b\000\000\000\b b!\b\000\000\000\b$b!\b\000\000\000\b(b!\b\000\000\000"... [12:54:48.548] fd = [12:54:48.548] #5 0x000000000066f03c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4349 [12:54:48.548] hent = [12:54:48.548] tli = 2 [12:54:48.548] cell__state = {l = 0x836bcb818, i = 0} [12:54:48.548] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001~\266\v\375\314;,q\220\360\2303\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\326=,\b\000\000\000\220G\024!\b\000\000\000\353l6,\b", '\000' , "\002", '\000' , "\001\000\000\000\001f\3378\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "~\266\v\375\314;,q\000\000\2546\b\000\000\000@\000\b\000\000\000\000\000"... [12:54:48.548] tles = 0x836bcb818 [12:54:48.548] cell = [12:54:48.548] fd = [12:54:48.548] cell__state = [12:54:48.548] hent = [12:54:48.548] tli = [12:54:48.548] beginseg = [12:54:48.548] __error = [12:54:48.548] __error = [12:54:48.548] #6 WaitForWALToBecomeAvailable (RecPtr=67210792, tliRecPtr=67210768, replayTLI=2, replayLSN=67210768, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3783 [12:54:48.548] startWalReceiver = [12:54:48.548] streaming_reply_sent = true [12:54:48.548] now = [12:54:48.548] startWalReceiver = [12:54:48.548] oldSource = [12:54:48.548] wait_time = [12:54:48.548] __error = [12:54:48.548] __error = [12:54:48.548] __error = [12:54:48.548] havedata = [12:54:48.548] ptr = [12:54:48.548] tli = [12:54:48.548] __error = [12:54:48.548] latestChunkStart = [12:54:48.548] __error = [12:54:48.548] #7 XLogPageRead (xlogreader=0x836ac1130, targetPagePtr=67207168, reqLen=3624, targetRecPtr=67210768, readBuf=0x836bc78b8 "\026\321\005") at ../src/backend/access/transam/xlogrecovery.c:3364 [12:54:48.548] private = 0x836ac1110 [12:54:48.548] emode = 15 [12:54:48.548] targetSegNo = 4 [12:54:48.548] targetPageOff = 98304 [12:54:48.548] r = [12:54:48.548] #8 0x0000000000676042 in ReadPageInternal (state=state@entry=0x836ac1130, pageptr=67207168, reqLen=3624) at ../src/backend/access/transam/xlogreader.c:1060 [12:54:48.548] targetSegNo = 4 [12:54:48.548] targetPageOff = 98304 [12:54:48.548] readLen = [12:54:48.548] hdr = [12:54:48.548] err = [12:54:48.548] #9 0x0000000000674eb2 in XLogDecodeNextRecord (state=0x836ac1130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [12:54:48.548] errormsg = 0x2e300000300 [12:54:48.548] randAccess = [12:54:48.548] decoded = 0x0 [12:54:48.548] RecPtr = 67210768 [12:54:48.548] assembled = false [12:54:48.548] targetPagePtr = 34914711488 [12:54:48.548] readOff = [12:54:48.548] record = [12:54:48.548] gotheader = [12:54:48.548] targetRecOff = 3600 [12:54:48.548] pageHeaderSize = [12:54:48.548] len = [12:54:48.548] total_len = [12:54:48.548] buffer = [12:54:48.548] gotlen = [12:54:48.548] pageHeader = [12:54:48.548] contdata = [12:54:48.548] save_copy = [12:54:48.548] #10 XLogReadAhead (state=0x836ac1130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [12:54:48.548] result = [12:54:48.548] #11 0x000000000066c598 in XLogPrefetcherNextBlock (pgsr_private=35278067912, lsn=0x836bdd2c8) at ../src/backend/access/transam/xlogprefetcher.c:490 [12:54:48.548] nonblocking = false [12:54:48.548] record = 0x0 [12:54:48.548] prefetcher = 0x836bc98c8 [12:54:48.548] reader = 0x836ac1130 [12:54:48.548] replaying_lsn = 67210360 [12:54:48.548] #12 0x000000000066c202 in lrq_prefetch (lrq=0x836bdd028) at ../src/backend/access/transam/xlogprefetcher.c:252 [12:54:48.548] No locals. [12:54:48.548] #13 lrq_complete_lsn (lrq=0x836bdd028, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [12:54:48.548] No locals. [12:54:48.548] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836bc98c8, errmsg=errmsg@entry=0x821148d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [12:54:48.548] replayed_up_to = [12:54:48.548] record = [12:54:48.548] #15 0x000000000066fd2a in ReadRecord (xlogprefetcher=0x836bc98c8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [12:54:48.548] errormsg = 0x0 [12:54:48.548] xlogreader = 0x836ac1130 [12:54:48.548] private = [12:54:48.548] record = [12:54:48.548] #16 0x0000000000670609 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [12:54:48.548] ru0 = {tv = {tv_sec = 1726577433, tv_usec = 735882}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1339}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 142, 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}} [12:54:48.548] xtime = [12:54:48.548] reachedRecoveryTarget = false [12:54:48.548] replayTLI = 2 [12:54:48.548] record = [12:54:48.548] #17 0x0000000000660fc3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [12:54:48.548] wasShutdown = false [12:54:48.548] haveTblspcMap = false [12:54:48.548] haveBackupLabel = true [12:54:48.548] promoted = false [12:54:48.548] didCrash = [12:54:48.548] 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} [12:54:48.548] oldestActiveXID = [12:54:48.548] performedWalRecovery = [12:54:48.548] endOfRecoveryInfo = [12:54:48.548] EndOfLog = [12:54:48.548] EndOfLogTLI = [12:54:48.548] abortedRecPtr = [12:54:48.548] missingContrecPtr = [12:54:48.548] newTLI = [12:54:48.548] Insert = [12:54:48.548] #18 0x000000000088ef1b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [12:54:48.548] No locals. [12:54:48.548] #19 0x0000000000888c87 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 [12:54:48.548] pid = [12:54:48.548] #20 0x000000000088b1e4 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [12:54:48.548] pid = [12:54:48.548] __error = [12:54:48.548] #21 0x000000000088ae25 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82114dca8) at ../src/backend/postmaster/postmaster.c:1338 [12:54:48.548] userDoption = [12:54:48.548] listen_addr_saved = [12:54:48.548] output_config_variable = [12:54:48.548] opt = [12:54:48.548] status = [12:54:48.548] #22 0x00000000007c5dac in main (argc=4, argv=0x82114dca8) at ../src/backend/main/main.c:197 [12:54:48.548] do_check_root =