[19:56:51.238] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [19:56:51.597] dumping /tmp/cores/postgres.14697.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:56:51.728] [New LWP 100107] [19:56:51.813] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [19:56:51.813] Program terminated with signal SIGQUIT, Quit. [19:56:51.813] Sent by thr_kill() from pid 14697 and user 1003. [19:56:51.813] #0 0x000000082c02b8fa in _sigprocmask () from /lib/libc.so.7 [19:56:51.861] [19:56:51.861] Thread 1 (LWP 100107): [19:56:51.861] #0 0x000000082c02b8fa in _sigprocmask () from /lib/libc.so.7 [19:56:51.861] No symbol table info available. [19:56:51.861] #1 0x000000082c064f91 in _system () from /lib/libc.so.7 [19:56:51.861] No symbol table info available. [19:56:51.861] #2 0x000000082cdb89d3 in ?? () from /lib/libthr.so.3 [19:56:51.861] No symbol table info available. [19:56:51.861] #3 0x000000000066a3f5 in RestoreArchivedFile (path=path@entry=0x8218a21d0 "P\"\212!\b", xlogfname=xlogfname@entry=0x8218a2620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [19:56:51.861] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t`5\b\000\000\000\210&\212!\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\000\270\335\3325\b\000\000\000\330\334\3325\b\000\000\000\320\334\3325\b\000\000\000\320\327\3325\b\000\000\000\000\340\344\000\000\000\000\000\000 \2565\b\000\000\000\000\020\n\000\000\000\000\000 \035\212!\b\000\000\000 \035\212!\b", '\000' , "\350\036\212!\b\000\000\000h\035\212!\b\000\000\000\b\000\000\0000\000\000\000"... [19:56:51.861] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\034\212!\b\000\000\000`\032\212!\b", '\000' , "\240\326\r,\b", '\000' , "\225\033\256\000\000\000\000\000H \212!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "\260\031\212!\b\000\000\000\v\036\256", '\000' , "\225\033\256\000\000\000\000\000\210 \212!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [19:56:51.861] stat_buf = {st_dev = 34922440144, st_ino = 34922440224, st_nlink = 12227856, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 562700736, st_padding1 = 8, st_rdev = 35097568743, st_atim = {tv_sec = 35259147519, tv_nsec = 12390064}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34922440192}, st_size = 34922439216, st_blocks = 11461715, st_blksize = 752549955, st_flags = 8, st_gen = 34934153864, st_spare = {35096879672, 34934133768, 34922439144, 34922439592, 34922439120, 67130605042850, 2597207, 134090501, 206158430240, 34922439120}} [19:56:51.861] restartRedoPtr = 33554472 [19:56:51.861] restartTli = 1 [19:56:51.861] restartSegNo = [19:56:51.861] xlogRestoreCmd = 0x835aaab78 "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:56:51.861] rc = [19:56:51.861] #4 0x0000000000675bde 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 [19:56:51.861] xlogfname = "00000002", '0' , "4\000&\212!\b\000\000\000p&\212!\b\000\000\000\365i\002,\b\000\000\000&9\000\000\000\000\000\000y\000\000\000\000\000\000" [19:56:51.861] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\326\r,\b\000\000\000@&\212!\b\000\000\000\257j\002,\b\000\000\000\2070\bg\000\000\000\000k\356ň\f\2757\023" [19:56:51.861] path = "P\"\212!\b\000\000\000s\372\335\017\016=\000\000\030\000\000\0000", '\000' , "8\360<\"\b\000\000\000\001\000\000\000\000\000\000\000\b\224<\"\b\000\000\0008\342\357+\b\000\000\000\250$\212!\b\000\000\000\360#\212!\b\000\000\000`\"\212!\b", '\000' , "\b <\"\b\000\000\000 \000\000\000\000\000\000\000\340#\212!\b\000\000\000\347\232\335\017\016=\000\000\b <\"\b\000\000\000\b$<\"\b\000\000\000\b(<\"\b\000\000\000\b,<\"\b\000\000\000\b`<\"\b\000\000\000\bd<\"\b\000\000\000\bh<\"\b\000\000\000"... [19:56:51.861] fd = [19:56:51.861] #5 0x00000000006718bc in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4349 [19:56:51.861] hent = [19:56:51.861] tli = 2 [19:56:51.861] cell__state = {l = 0x835aab198, i = 0} [19:56:51.861] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\250%O\005\272e\3502\220\220~4\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\r,\b\000\000\000\220'\212!\b\000\000\000\353l\006,\b", '\000' , "\002", '\000' , "\001\000\000\000\001!\2007\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\250%O\005\272e\3502\000\300\2335\b\000\000\000@\000\b\000\000\000\000\000"... [19:56:51.861] tles = 0x835aab198 [19:56:51.861] cell = [19:56:51.861] fd = [19:56:51.861] cell__state = [19:56:51.861] hent = [19:56:51.861] tli = [19:56:51.861] beginseg = [19:56:51.861] __error = [19:56:51.861] __error = [19:56:51.861] #6 WaitForWALToBecomeAvailable (RecPtr=67202232, tliRecPtr=67202208, replayTLI=2, replayLSN=67202208, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3783 [19:56:51.861] startWalReceiver = [19:56:51.861] streaming_reply_sent = true [19:56:51.861] now = [19:56:51.861] startWalReceiver = [19:56:51.861] oldSource = [19:56:51.861] wait_time = [19:56:51.861] __error = [19:56:51.861] __error = [19:56:51.861] __error = [19:56:51.861] havedata = [19:56:51.861] ptr = [19:56:51.861] tli = [19:56:51.861] __error = [19:56:51.861] latestChunkStart = [19:56:51.861] __error = [19:56:51.861] #7 XLogPageRead (xlogreader=0x8359bd130, targetPagePtr=67198976, reqLen=3256, targetRecPtr=67202208, readBuf=0x835aa7238 "\027\321\005") at ../src/backend/access/transam/xlogrecovery.c:3364 [19:56:51.861] private = 0x8359bd110 [19:56:51.861] emode = 15 [19:56:51.861] targetSegNo = 4 [19:56:51.861] targetPageOff = 90112 [19:56:51.861] r = [19:56:51.861] #8 0x00000000006788c2 in ReadPageInternal (state=state@entry=0x8359bd130, pageptr=67198976, reqLen=3256) at ../src/backend/access/transam/xlogreader.c:1060 [19:56:51.861] targetSegNo = 4 [19:56:51.861] targetPageOff = 90112 [19:56:51.861] readLen = [19:56:51.861] hdr = [19:56:51.861] err = [19:56:51.861] #9 0x0000000000677732 in XLogDecodeNextRecord (state=0x8359bd130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [19:56:51.861] errormsg = 0x2e500000300 [19:56:51.861] randAccess = [19:56:51.861] decoded = 0x0 [19:56:51.861] RecPtr = 67202208 [19:56:51.861] assembled = false [19:56:51.861] targetPagePtr = 34922436544 [19:56:51.861] readOff = [19:56:51.861] record = [19:56:51.861] gotheader = [19:56:51.861] targetRecOff = 3232 [19:56:51.861] pageHeaderSize = [19:56:51.861] len = [19:56:51.861] total_len = [19:56:51.861] buffer = [19:56:51.861] gotlen = [19:56:51.861] pageHeader = [19:56:51.861] contdata = [19:56:51.861] save_copy = [19:56:51.861] #10 XLogReadAhead (state=0x8359bd130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [19:56:51.861] result = [19:56:51.861] #11 0x000000000066ee18 in XLogPrefetcherNextBlock (pgsr_private=35260109384, lsn=0x835ad84d8) at ../src/backend/access/transam/xlogprefetcher.c:490 [19:56:51.861] nonblocking = false [19:56:51.861] record = 0x0 [19:56:51.861] prefetcher = 0x835aa9248 [19:56:51.861] reader = 0x8359bd130 [19:56:51.861] replaying_lsn = 67201800 [19:56:51.861] #12 0x000000000066ea82 in lrq_prefetch (lrq=0x835ad8268) at ../src/backend/access/transam/xlogprefetcher.c:252 [19:56:51.861] No locals. [19:56:51.861] #13 lrq_complete_lsn (lrq=0x835ad8268, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [19:56:51.861] No locals. [19:56:51.861] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835aa9248, errmsg=errmsg@entry=0x8218a6d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [19:56:51.861] replayed_up_to = [19:56:51.861] record = [19:56:51.861] #15 0x00000000006725aa in ReadRecord (xlogprefetcher=0x835aa9248, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [19:56:51.861] errormsg = 0x0 [19:56:51.861] xlogreader = 0x8359bd130 [19:56:51.861] private = [19:56:51.861] record = [19:56:51.861] #16 0x0000000000672e89 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [19:56:51.861] ru0 = {tv = {tv_sec = 1728589958, tv_usec = 509977}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1032}, 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}} [19:56:51.861] xtime = [19:56:51.861] reachedRecoveryTarget = false [19:56:51.861] replayTLI = 2 [19:56:51.861] record = [19:56:51.861] #17 0x0000000000663723 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [19:56:51.861] wasShutdown = false [19:56:51.861] haveTblspcMap = false [19:56:51.861] haveBackupLabel = true [19:56:51.861] promoted = false [19:56:51.861] didCrash = [19:56:51.861] 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 = 741} [19:56:51.861] oldestActiveXID = [19:56:51.861] performedWalRecovery = [19:56:51.861] endOfRecoveryInfo = [19:56:51.861] EndOfLog = [19:56:51.861] EndOfLogTLI = [19:56:51.861] abortedRecPtr = [19:56:51.861] missingContrecPtr = [19:56:51.861] newTLI = [19:56:51.861] Insert = [19:56:51.861] #18 0x0000000000892a4b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [19:56:51.861] No locals. [19:56:51.861] #19 0x000000000088c7a7 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 [19:56:51.861] pid = [19:56:51.861] #20 0x000000000088ed14 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [19:56:51.861] pid = [19:56:51.861] __error = [19:56:51.861] #21 0x000000000088e955 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8218abc50) at ../src/backend/postmaster/postmaster.c:1343 [19:56:51.861] userDoption = [19:56:51.861] listen_addr_saved = [19:56:51.861] output_config_variable = [19:56:51.861] opt = [19:56:51.861] status = [19:56:51.861] #22 0x00000000007c8d5c in main (argc=4, argv=0x8218abc50) at ../src/backend/main/main.c:197 [19:56:51.861] do_check_root =