[19:46:13.983] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [19:46:14.321] dumping /tmp/cores/postgres.11710.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:46:14.455] [New LWP 101680] [19:46:14.534] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [19:46:14.534] Program terminated with signal SIGQUIT, Quit. [19:46:14.534] Sent by thr_kill() from pid 11710 and user 1003. [19:46:14.534] #0 0x000000082d5c126a in _sigprocmask () from /lib/libc.so.7 [19:46:14.584] [19:46:14.584] Thread 1 (LWP 101680): [19:46:14.584] #0 0x000000082d5c126a in _sigprocmask () from /lib/libc.so.7 [19:46:14.584] No symbol table info available. [19:46:14.584] #1 0x000000082d5fca60 in _system () from /lib/libc.so.7 [19:46:14.584] No symbol table info available. [19:46:14.584] #2 0x000000082c57a0f3 in ?? () from /lib/libthr.so.3 [19:46:14.584] No symbol table info available. [19:46:14.584] #3 0x00000000006357f6 in RestoreArchivedFile (path=path@entry=0x821a001d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x821a005d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=false) at ../src/backend/access/transam/xlogarchive.c:177 [19:46:14.584] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000\020\n\000\000\000\000\000P\331{8\b\000\000\000h\330{8\b\000\000\000`\330{8\b\000\000\000`\323{8\b\000\000\000\000\340\344\000\000\000\000\000\000@\2457\b\000\000\0000\020\n\000\000\000\000\000\320\374\237!\b\000\000\000\320\374\237!\b\000\000\000\200\200\200\200\200\200\200\2009\001\000\000\000\000\000\000P\002\240!\b", '\000' , "\b\000\000\0000\000\000\000\240\001\240!\b\000\000\000\240\000\240!\b\000\000\000\277\244L-\b\000\000\000\002\000\000\000\000\000\000\000\t4\330x\264\f\000\0008\376\237!\b\000\000\000"... [19:46:14.584] lastRestartPointFname = '0' , '\000' , "hª\000\000\000\000\000\376\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\001", '\000' , "0\000\000\000\000\000\000\000\210\000\240!\b\000\000\000\264\371\237!\b", '\000' , "`\371\237!\b\000\000\000hª\000\000\000\000\000\376\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\376\377\377\377\000\000\000\000\001\000\240!\b\000\000\000\210\000\240!\b\000\000\000hª"... [19:46:14.584] stat_buf = {st_dev = 2, st_ino = 12097784, st_nlink = 2, st_mode = 448, st_padding0 = 8608, st_uid = 8, st_gid = 11189505, st_padding1 = 0, st_rdev = 18374403900871474943, st_atim = {tv_sec = -9187201950435737472, tv_nsec = 34923872592}, st_mtim = {tv_sec = 3, tv_nsec = 12132600}, st_ctim = {tv_sec = 35354673932, tv_nsec = 34923872576}, st_birthtim = {tv_sec = 35120727235, tv_nsec = 34923873792}, st_size = 6324665052204892161, st_blocks = 3684862780229077417, st_blksize = 78, st_flags = 0, st_gen = 2, st_spare = {0, 34923872688, 35121487344, 34923872640, 35120727037, 1713987790, 2710174636564023664, 206158430224, 34923872672, 206158430240}} [19:46:14.584] restartRedoPtr = [19:46:14.584] restartTli = [19:46:14.584] restartSegNo = [19:46:14.584] xlogRestoreCmd = 0x837a1cde8 "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\"" [19:46:14.584] rc = [19:46:14.584] #4 0x000000000061cc98 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [19:46:14.584] path = "pg_wal/00000002", '0' , "4\000\360", '\000' , "8\220\220\"\b\000\000\000\001\000\000\000\000\000\000\000\b4\220\"\b\000\000\000\000\006I-\b\000\000\000\270\004\240!\b", '\000' , "p\002\240!\b\000\000\000\000\004\240!\b\000\000\000\b\300\217\"\b\000\000\000 \000\000\000\000\000\000\000\360\003\240!\b\000\000\000<\313\327x\264\f\000\000\b\300\217\"\b\000\000\000\bď\"\b\000\000\000\bȏ\"\b\000\000\000\b̏\"\b\000\000\000\b\000\220\"\b\000\000\000\b\004\220"... [19:46:14.584] histfname = "00000003.history\000\006\240!\b\000\000\000\377\377\377\377\377\377\377\377P\006\240!\b\000\000\000R\210\215\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000" [19:46:14.584] fd = [19:46:14.584] #5 0x000000000061cd58 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [19:46:14.584] newestTLI = 2 [19:46:14.584] probeTLI = 3 [19:46:14.584] #6 0x0000000000640b7b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209312) at ../src/backend/access/transam/xlogrecovery.c:4113 [19:46:14.584] oldtarget = 2 [19:46:14.584] currentTle = 0x0 [19:46:14.584] newtarget = [19:46:14.584] newExpectedTLEs = [19:46:14.584] found = [19:46:14.584] cell = [19:46:14.584] #7 0x000000000063cdc5 in WaitForWALToBecomeAvailable (RecPtr=67209336, tliRecPtr=67209312, replayTLI=3, replayLSN=34923870128, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3674 [19:46:14.584] startWalReceiver = false [19:46:14.584] streaming_reply_sent = true [19:46:14.584] now = [19:46:14.584] startWalReceiver = [19:46:14.584] oldSource = [19:46:14.584] wait_time = [19:46:14.584] __error = [19:46:14.584] __error = [19:46:14.584] __error = [19:46:14.584] havedata = [19:46:14.584] ptr = [19:46:14.584] tli = [19:46:14.584] __error = [19:46:14.584] latestChunkStart = [19:46:14.584] __error = [19:46:14.584] #8 XLogPageRead (xlogreader=0x8379300b0, targetPagePtr=67207168, reqLen=2168, targetRecPtr=67209312, readBuf=0x837a195b8 "\025\321\006") at ../src/backend/access/transam/xlogrecovery.c:3351 [19:46:14.584] private = 0x837930090 [19:46:14.584] emode = 15 [19:46:14.584] targetSegNo = 4 [19:46:14.584] targetPageOff = 98304 [19:46:14.584] r = [19:46:14.584] #9 0x0000000000643b17 in ReadPageInternal (state=state@entry=0x8379300b0, pageptr=34923870128, pageptr@entry=67207168, reqLen=2168) at ../src/backend/access/transam/xlogreader.c:1060 [19:46:14.584] targetSegNo = 4 [19:46:14.584] targetPageOff = 98304 [19:46:14.584] readLen = [19:46:14.584] hdr = [19:46:14.584] err = [19:46:14.584] #10 0x0000000000642935 in XLogDecodeNextRecord (state=0x8379300b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [19:46:14.584] randAccess = [19:46:14.584] decoded = 0x0 [19:46:14.584] RecPtr = 67209312 [19:46:14.584] assembled = false [19:46:14.584] targetPagePtr = 67207168 [19:46:14.584] readOff = [19:46:14.584] record = [19:46:14.584] gotheader = [19:46:14.584] targetRecOff = 2144 [19:46:14.584] pageHeaderSize = [19:46:14.584] len = [19:46:14.584] errormsg = [19:46:14.584] total_len = [19:46:14.584] buffer = [19:46:14.584] gotlen = [19:46:14.584] pageHeader = [19:46:14.584] contdata = [19:46:14.584] save_copy = [19:46:14.584] #11 XLogReadAhead (state=0x8379300b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [19:46:14.584] result = [19:46:14.584] #12 0x000000000063a05c in XLogPrefetcherNextBlock (pgsr_private=35292122848, lsn=0x837a49bd8) at ../src/backend/access/transam/xlogprefetcher.c:492 [19:46:14.584] nonblocking = false [19:46:14.584] record = 0x0 [19:46:14.584] prefetcher = 0x837930ee0 [19:46:14.584] reader = 0x8379300b0 [19:46:14.584] replaying_lsn = 67208904 [19:46:14.584] #13 0x0000000000639cea in lrq_prefetch (lrq=0x837a49968) at ../src/backend/access/transam/xlogprefetcher.c:252 [19:46:14.584] No locals. [19:46:14.584] #14 lrq_complete_lsn (lrq=0x837a49968, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [19:46:14.584] No locals. [19:46:14.584] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x837930ee0, errmsg=errmsg@entry=0x821a04d60) at ../src/backend/access/transam/xlogprefetcher.c:1037 [19:46:14.584] replayed_up_to = [19:46:14.584] record = [19:46:14.584] #16 0x000000000063d7fc in ReadRecord (xlogprefetcher=0x837930ee0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3151 [19:46:14.584] errormsg = 0x8379308c0 "" [19:46:14.584] xlogreader = 0x8379300b0 [19:46:14.584] private = [19:46:14.584] record = [19:46:14.584] #17 0x000000000063e0d9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [19:46:14.584] ru0 = {tv = {tv_sec = 1713987789, tv_usec = 537620}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1023}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 138, 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:46:14.584] xtime = [19:46:14.584] reachedRecoveryTarget = false [19:46:14.584] replayTLI = 2 [19:46:14.584] record = [19:46:14.584] #18 0x000000000062ecc9 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5806 [19:46:14.584] promoted = false [19:46:14.584] didCrash = [19:46:14.584] wasShutdown = [19:46:14.584] haveTblspcMap = [19:46:14.584] haveBackupLabel = [19:46:14.584] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = 1, oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 738} [19:46:14.584] oldestActiveXID = [19:46:14.584] performedWalRecovery = [19:46:14.584] endOfRecoveryInfo = [19:46:14.584] EndOfLog = [19:46:14.584] EndOfLogTLI = [19:46:14.584] abortedRecPtr = [19:46:14.584] missingContrecPtr = [19:46:14.584] newTLI = [19:46:14.584] Insert = [19:46:14.584] #19 0x00000000008620bb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [19:46:14.584] No locals. [19:46:14.584] #20 0x000000000085b362 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:265 [19:46:14.584] pid = [19:46:14.584] #21 0x000000000085d905 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3928 [19:46:14.584] pid = [19:46:14.584] __error = [19:46:14.584] #22 0x000000000085d556 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821a0a368) at ../src/backend/postmaster/postmaster.c:1364 [19:46:14.584] userDoption = [19:46:14.584] listen_addr_saved = false [19:46:14.584] output_config_variable = [19:46:14.584] opt = [19:46:14.584] status = [19:46:14.584] #23 0x0000000000795255 in main (argc=4, argv=0x821a0a368) at ../src/backend/main/main.c:197 [19:46:14.584] do_check_root =