[04:43:59.991] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [04:44:00.313] dumping /tmp/cores/postgres.14071.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [04:44:00.442] [New LWP 101917] [04:44:00.519] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [04:44:00.519] Program terminated with signal SIGQUIT, Quit. [04:44:00.519] Sent by thr_kill() from pid 14071 and user 1003. [04:44:00.519] #0 0x000000082adc28fa in _sigprocmask () from /lib/libc.so.7 [04:44:00.562] [04:44:00.562] Thread 1 (LWP 101917): [04:44:00.562] #0 0x000000082adc28fa in _sigprocmask () from /lib/libc.so.7 [04:44:00.562] No symbol table info available. [04:44:00.562] #1 0x000000082adfbf91 in _system () from /lib/libc.so.7 [04:44:00.562] No symbol table info available. [04:44:00.562] #2 0x000000082a7569d3 in ?? () from /lib/libthr.so.3 [04:44:00.562] No symbol table info available. [04:44:00.562] #3 0x000000000066f825 in RestoreArchivedFile (path=path@entry=0x8217721d0 "P\"w!\b", xlogfname=xlogfname@entry=0x821772620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [04:44:00.562] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\0006\b\000\000\000\210&w!\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\0006\b\000\000\000\310q\3337\b\000\000\000\370p\3337\b\000\000\000\360p\3337\b\000\000\000\360k\3337\b\000\000\000\000\340\344\000\000\000\000\000\000`\3266\b\000\000\000\000\020\n\000\000\000\000\000 \035w!\b\000\000\000 \035w!\b", '\000' , "\350\036w!\b\000\000\000h\035w!\b\000\000\000\b\000\000\0000\000\000\000"... [04:44:00.562] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\034w!\b\000\000\000`\032w!\b", '\000' , "\240F\347*\b", '\000' , "E\347\256\000\000\000\000\000\300\031w!\b\000\000\0000\000\000\000\000\000\000\000\210 w!\b", '\000' , "p\031w!\b\000\000\000\223\352\256", '\000' , "E\347\256\000\000\000\000\000\210 w!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [04:44:00.562] stat_buf = {st_dev = 34921194960, st_ino = 34921195040, st_nlink = 12274416, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 561455552, st_padding1 = 8, st_rdev = 35078264295, st_atim = {tv_sec = 35278554367, tv_nsec = 12438976}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34921195008}, st_size = 34921194032, st_blocks = 11513059, st_blksize = 712310851, st_flags = 8, st_gen = 34933858952, st_spare = {35077575224, 34933838856, 34921193960, 34921194408, 34921193936, 54181962579106, 2614952, 134090501, 206158430240, 34921193936}} [04:44:00.562] restartRedoPtr = 33554472 [04:44:00.562] restartTli = 1 [04:44:00.562] restartSegNo = [04:44:00.562] xlogRestoreCmd = 0x836d2eb38 "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\"" [04:44:00.562] rc = [04:44:00.562] #4 0x000000000067ae9e 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 [04:44:00.562] xlogfname = "00000002", '0' , "4\000&w!\b\000\000\000p&w!\b\000\000\000\365\331\333*\b\000\000\000}6\000\000\000\000\000\000z\000\000\000\000\000\000" [04:44:00.562] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240F\347*\b\000\000\000@&w!\b\000\000\000\257\332\333*\b\000\000\000\rQEg\000\000\000\000\005I\225;\005\035O\221" [04:44:00.562] path = "P\"w!\b\000\000\000s\372\2418G1\000\000\030\000\000\0000", '\000' , "8p8\"\b\000\000\000\001\000\000\000\000\000\000\000\b\0248\"\b\000\000\0008R\311*\b\000\000\000\250$w!\b\000\000\000\360#w!\b\000\000\000`\"w!\b", '\000' , "\b\2407\"\b\000\000\000 \000\000\000\000\000\000\000\340#w!\b\000\000\000皡8G1\000\000\b\2407\"\b\000\000\000\b\2447\"\b\000\000\000\b\2507\"\b\000\000\000\b\2547\"\b\000\000\000\b\3407\"\b\000\000\000\b\3447\"\b\000\000\000\b\3507\"\b\000\000\000\b\354"... [04:44:00.562] fd = [04:44:00.562] #5 0x0000000000676bec in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4338 [04:44:00.562] hent = [04:44:00.562] tli = 2 [04:44:00.562] cell__state = {l = 0x836d2f158, i = 0} [04:44:00.562] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001e\273\027\031\266/+\t\220\220\2314\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\240F\347*\b\000\000\000\220'w!\b\000\000\000\353\334\337*\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' , "e\273\027\031\266/+\t\000\340\3036\b\000\000\000@\000\b\000\000\000\000\000"... [04:44:00.562] tles = 0x836d2f158 [04:44:00.562] cell = [04:44:00.562] fd = [04:44:00.562] cell__state = [04:44:00.562] hent = [04:44:00.562] tli = [04:44:00.562] beginseg = [04:44:00.562] __error = [04:44:00.562] __error = [04:44:00.562] #6 WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3772 [04:44:00.562] startWalReceiver = [04:44:00.562] streaming_reply_sent = true [04:44:00.562] now = [04:44:00.562] startWalReceiver = [04:44:00.562] oldSource = [04:44:00.562] wait_time = [04:44:00.562] __error = [04:44:00.562] __error = [04:44:00.562] __error = [04:44:00.562] havedata = [04:44:00.562] ptr = [04:44:00.562] tli = [04:44:00.562] __error = [04:44:00.562] latestChunkStart = [04:44:00.562] __error = [04:44:00.562] #7 XLogPageRead (xlogreader=0x836c3f130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x836d2b1f8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [04:44:00.562] private = 0x836c3f110 [04:44:00.562] emode = 15 [04:44:00.562] targetSegNo = 4 [04:44:00.562] targetPageOff = 98304 [04:44:00.562] r = [04:44:00.562] #8 0x000000000067db82 in ReadPageInternal (state=state@entry=0x836c3f130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [04:44:00.562] targetSegNo = 4 [04:44:00.562] targetPageOff = 98304 [04:44:00.562] readLen = [04:44:00.562] hdr = [04:44:00.562] err = [04:44:00.562] #9 0x000000000067c9f2 in XLogDecodeNextRecord (state=0x836c3f130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [04:44:00.562] errormsg = 0x2e600000300 [04:44:00.562] randAccess = [04:44:00.562] decoded = 0x0 [04:44:00.562] RecPtr = 67210816 [04:44:00.562] assembled = false [04:44:00.562] targetPagePtr = 34921191360 [04:44:00.562] readOff = [04:44:00.562] record = [04:44:00.562] gotheader = [04:44:00.562] targetRecOff = 3648 [04:44:00.562] pageHeaderSize = [04:44:00.562] len = [04:44:00.562] total_len = [04:44:00.562] buffer = [04:44:00.562] gotlen = [04:44:00.562] pageHeader = [04:44:00.562] contdata = [04:44:00.562] save_copy = [04:44:00.562] #10 XLogReadAhead (state=0x836c3f130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [04:44:00.562] result = [04:44:00.562] #11 0x0000000000674148 in XLogPrefetcherNextBlock (pgsr_private=35279524360, lsn=0x836d5c9c8) at ../src/backend/access/transam/xlogprefetcher.c:490 [04:44:00.562] nonblocking = false [04:44:00.562] record = 0x0 [04:44:00.562] prefetcher = 0x836d2d208 [04:44:00.562] reader = 0x836c3f130 [04:44:00.562] replaying_lsn = 67210408 [04:44:00.562] #12 0x0000000000673db2 in lrq_prefetch (lrq=0x836d5c728) at ../src/backend/access/transam/xlogprefetcher.c:252 [04:44:00.562] No locals. [04:44:00.562] #13 lrq_complete_lsn (lrq=0x836d5c728, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [04:44:00.562] No locals. [04:44:00.562] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836d2d208, errmsg=errmsg@entry=0x821776d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [04:44:00.562] replayed_up_to = [04:44:00.562] record = [04:44:00.562] #15 0x00000000006778da in ReadRecord (xlogprefetcher=0x836d2d208, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [04:44:00.562] errormsg = 0x0 [04:44:00.562] xlogreader = 0x836c3f130 [04:44:00.562] private = [04:44:00.562] record = [04:44:00.562] #16 0x00000000006781b9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [04:44:00.562] ru0 = {tv = {tv_sec = 1732595980, tv_usec = 750609}, ru = {ru_utime = {tv_sec = 0, tv_usec = 1293}, ru_stime = {tv_sec = 0, tv_usec = 0}, ru_maxrss = 26768, ru_ixrss = 6044, ru_idrss = 332, ru_isrss = 128, 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 = 1}} [04:44:00.562] xtime = [04:44:00.562] reachedRecoveryTarget = false [04:44:00.562] replayTLI = 2 [04:44:00.562] record = [04:44:00.562] #17 0x0000000000668b53 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [04:44:00.562] wasShutdown = false [04:44:00.562] haveTblspcMap = false [04:44:00.562] haveBackupLabel = true [04:44:00.562] promoted = false [04:44:00.562] didCrash = [04:44:00.562] 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} [04:44:00.562] oldestActiveXID = [04:44:00.562] performedWalRecovery = [04:44:00.562] endOfRecoveryInfo = [04:44:00.562] EndOfLog = [04:44:00.562] EndOfLogTLI = [04:44:00.562] abortedRecPtr = [04:44:00.562] missingContrecPtr = [04:44:00.562] newTLI = [04:44:00.562] Insert = [04:44:00.562] #18 0x000000000089c6db in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [04:44:00.562] No locals. [04:44:00.562] #19 0x0000000000896cf5 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 [04:44:00.562] pid = [04:44:00.562] #20 0x0000000000899907 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3702 [04:44:00.562] pmchild = 0x0 [04:44:00.562] pid = [04:44:00.562] #21 0x0000000000899499 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82177bb48) at ../src/backend/postmaster/postmaster.c:1353 [04:44:00.562] userDoption = [04:44:00.562] listen_addr_saved = [04:44:00.562] output_config_variable = [04:44:00.562] opt = [04:44:00.562] status = [04:44:00.562] #22 0x00000000007d071c in main (argc=4, argv=0x82177bb48) at ../src/backend/main/main.c:196 [04:44:00.562] do_check_root =