[15:48:05.504] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:48:05.886] dumping /tmp/cores/postgres.14145.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:48:06.012] [New LWP 101856] [15:48:06.095] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [15:48:06.095] Program terminated with signal SIGQUIT, Quit. [15:48:06.095] Sent by thr_kill() from pid 14145 and user 1003. [15:48:06.095] #0 0x000000082ba8c8fa in _sigprocmask () from /lib/libc.so.7 [15:48:06.145] [15:48:06.145] Thread 1 (LWP 101856): [15:48:06.145] #0 0x000000082ba8c8fa in _sigprocmask () from /lib/libc.so.7 [15:48:06.145] No symbol table info available. [15:48:06.145] #1 0x000000082bac5f91 in _system () from /lib/libc.so.7 [15:48:06.145] No symbol table info available. [15:48:06.145] #2 0x0000000829e4a9d3 in ?? () from /lib/libthr.so.3 [15:48:06.145] No symbol table info available. [15:48:06.145] #3 0x00000000006352d5 in RestoreArchivedFile (path=path@entry=0x8219e01d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8219e05d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [15:48:06.145] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\2404\b\000\000\000\210\006\236!\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͠4\b\000\000\000\250|\3725\b\000\000\000\300{\3725\b\000\000\000\270{\3725\b\000\000\000\270v\3725\b\000\000\000\000\340\344\000\000\000\000\000\000\360\3534\b\000\000\000\000\020\n\000\000\000\000\000 \375\235!\b\000\000\000 \375\235!\b", '\000' , "\350\376\235!\b\000\000\000h\375\235!\b\000\000\000\b\000\000\0000\000\000\000\320"... [15:48:06.145] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\374\235!\b\000\000\000`\372\235!\b", '\000' , "\240\346\263+\b", '\000' , "5}\252\000\000\000\000\000\300\371\235!\b\000\000\0000\000\000\000\000\000\000\000\210\000\236!\b", '\000' , "p\371\235!\b\000\000\000\203\200\252\000\000\000\000\000\001\000\000\000\000\000\000\000\210\000\236!\b\000\000\000\210\000\236!\b\000\000\000\377\377\377\377\000\000\000\000\001", '\000' ... [15:48:06.145] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34923741632, st_mode = 30659, st_padding0 = 170, st_uid = 0, st_gid = 564003264, st_padding1 = 8, st_rdev = 35091674599, st_atim = {tv_sec = 14472, tv_nsec = 3}, st_mtim = {tv_sec = 35320456948, tv_nsec = 30464}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -9117453989431190791, tv_nsec = 34923741616}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35092948640, st_spare = {34923741552, 35092200111, 1725032643, 16374321835691309405, 9329290084278360825, 2, 0, 34923741616, 206158430240, 34923741648}} [15:48:06.145] restartRedoPtr = 34923741376 [15:48:06.145] restartTli = 8 [15:48:06.145] restartSegNo = [15:48:06.145] xlogRestoreCmd = 0x834ea36f8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000003.history\" \"pg_wal/RECOVERYHISTORY\"" [15:48:06.145] rc = [15:48:06.145] #4 0x000000000061c3f8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [15:48:06.145] path = "pg_wal/00000002", '0' , "4", '\000' , "8p\031\"\b\000\000\000\001\000\000\000\000\000\000\000\b\024\031\"\b\000\000\0008\362\225+\b\000\000\000\250\004\236!\b\000\000\000\360\003\236!\b\000\000\000`\002\236!\b", '\000' , "\b\240\030\"\b\000\000\000 \000\000\000\000\000\000\000\340\003\236!\b\000\000\000\347z\346\341\026\002\000\000\b\240\030\"\b\000\000\000\b\244\030\"\b\000\000\000\b\250\030\"\b\000\000\000\b\254\030\"\b\000\000\000\b\340\030\"\b\000\000\000\b\344\030\"\b\000\000\000\b\350\030\"\b\000\000\000"... [15:48:06.145] histfname = "00000003.history\000\006\236!\b\000\000\000\277\027\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\371Z\374'\347Kx\201\000\000\000\000\000\000\000" [15:48:06.145] fd = [15:48:06.145] #5 0x000000000061c4b8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [15:48:06.145] newestTLI = 2 [15:48:06.145] probeTLI = 3 [15:48:06.145] #6 0x00000000006406fb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209336) at ../src/backend/access/transam/xlogrecovery.c:4125 [15:48:06.145] oldtarget = 2 [15:48:06.145] currentTle = 0x0 [15:48:06.145] newtarget = [15:48:06.145] newExpectedTLEs = [15:48:06.145] found = [15:48:06.145] cell = [15:48:06.145] #7 0x000000000063c8e3 in WaitForWALToBecomeAvailable (RecPtr=67209360, tliRecPtr=67209336, replayTLI=2, replayLSN=67209336, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3686 [15:48:06.145] startWalReceiver = false [15:48:06.145] streaming_reply_sent = true [15:48:06.145] now = [15:48:06.145] startWalReceiver = [15:48:06.145] oldSource = [15:48:06.145] wait_time = [15:48:06.145] __error = [15:48:06.145] __error = [15:48:06.145] __error = [15:48:06.145] havedata = [15:48:06.145] ptr = [15:48:06.145] tli = [15:48:06.145] __error = [15:48:06.145] latestChunkStart = [15:48:06.145] __error = [15:48:06.145] #8 XLogPageRead (xlogreader=0x834d9b130, targetPagePtr=67207168, reqLen=2192, targetRecPtr=67209336, readBuf=0x834e9fdb8 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3363 [15:48:06.145] private = 0x834d9b110 [15:48:06.145] emode = 15 [15:48:06.145] targetSegNo = 4 [15:48:06.145] targetPageOff = 98304 [15:48:06.145] r = [15:48:06.145] #9 0x0000000000643642 in ReadPageInternal (state=state@entry=0x834d9b130, pageptr=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1060 [15:48:06.145] targetSegNo = 4 [15:48:06.145] targetPageOff = 98304 [15:48:06.145] readLen = [15:48:06.145] hdr = [15:48:06.145] err = [15:48:06.145] #10 0x00000000006424b2 in XLogDecodeNextRecord (state=0x834d9b130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [15:48:06.145] errormsg = 0x8219e4c98 "" [15:48:06.145] randAccess = [15:48:06.145] decoded = 0x0 [15:48:06.145] RecPtr = 67209336 [15:48:06.145] assembled = false [15:48:06.145] targetPagePtr = 34923739072 [15:48:06.145] readOff = [15:48:06.145] record = [15:48:06.145] gotheader = [15:48:06.145] targetRecOff = 2168 [15:48:06.145] pageHeaderSize = [15:48:06.145] len = [15:48:06.145] total_len = [15:48:06.145] buffer = [15:48:06.145] gotlen = [15:48:06.145] pageHeader = [15:48:06.145] contdata = [15:48:06.145] save_copy = [15:48:06.145] #11 XLogReadAhead (state=0x834d9b130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [15:48:06.145] result = [15:48:06.145] #12 0x0000000000639bf8 in XLogPrefetcherNextBlock (pgsr_private=35247496648, lsn=0x834eb5198) at ../src/backend/access/transam/xlogprefetcher.c:490 [15:48:06.145] nonblocking = false [15:48:06.145] record = 0x0 [15:48:06.145] prefetcher = 0x834ea1dc8 [15:48:06.145] reader = 0x834d9b130 [15:48:06.145] replaying_lsn = 67208928 [15:48:06.145] #13 0x0000000000639862 in lrq_prefetch (lrq=0x834eb4f28) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:48:06.145] No locals. [15:48:06.145] #14 lrq_complete_lsn (lrq=0x834eb4f28, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:48:06.145] No locals. [15:48:06.145] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834ea1dc8, errmsg=errmsg@entry=0x8219e4d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [15:48:06.145] replayed_up_to = [15:48:06.145] record = [15:48:06.145] #16 0x000000000063d32a in ReadRecord (xlogprefetcher=0x834ea1dc8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3163 [15:48:06.145] errormsg = 0x834d9b940 "" [15:48:06.145] xlogreader = 0x834d9b130 [15:48:06.145] private = [15:48:06.145] record = [15:48:06.145] #17 0x000000000063dc09 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [15:48:06.145] ru0 = {tv = {tv_sec = 1725032642, tv_usec = 669806}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1425}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 149, 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}} [15:48:06.145] xtime = [15:48:06.145] reachedRecoveryTarget = false [15:48:06.145] replayTLI = 2 [15:48:06.145] record = [15:48:06.145] #18 0x000000000062e623 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5819 [15:48:06.145] wasShutdown = false [15:48:06.145] haveTblspcMap = false [15:48:06.145] haveBackupLabel = true [15:48:06.145] promoted = false [15:48:06.145] didCrash = [15:48:06.145] 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} [15:48:06.145] oldestActiveXID = [15:48:06.145] performedWalRecovery = [15:48:06.145] endOfRecoveryInfo = [15:48:06.145] EndOfLog = [15:48:06.145] EndOfLogTLI = [15:48:06.145] abortedRecPtr = [15:48:06.145] missingContrecPtr = [15:48:06.145] newTLI = [15:48:06.145] Insert = [15:48:06.145] #19 0x000000000085a85b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:48:06.145] No locals. [15:48:06.145] #20 0x00000000008545c7 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 [15:48:06.145] pid = [15:48:06.145] #21 0x0000000000856b24 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3730 [15:48:06.145] pid = [15:48:06.145] __error = [15:48:06.145] #22 0x0000000000856765 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8219e9b50) at ../src/backend/postmaster/postmaster.c:1338 [15:48:06.145] userDoption = [15:48:06.145] listen_addr_saved = [15:48:06.145] output_config_variable = [15:48:06.145] opt = [15:48:06.145] status = [15:48:06.145] #23 0x000000000079243c in main (argc=4, argv=0x8219e9b50) at ../src/backend/main/main.c:197 [15:48:06.145] do_check_root =