[12:54:50.183] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [12:54:50.520] dumping /tmp/cores/postgres.12169.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [12:54:50.665] [New LWP 101695] [12:54:50.752] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [12:54:50.752] Program terminated with signal SIGQUIT, Quit. [12:54:50.752] Sent by thr_kill() from pid 12169 and user 1003. [12:54:50.752] #0 0x000000082d88d8fa in _sigprocmask () from /lib/libc.so.7 [12:54:50.809] [12:54:50.809] Thread 1 (LWP 101695): [12:54:50.809] #0 0x000000082d88d8fa in _sigprocmask () from /lib/libc.so.7 [12:54:50.809] No symbol table info available. [12:54:50.809] #1 0x000000082d8c6f91 in _system () from /lib/libc.so.7 [12:54:50.809] No symbol table info available. [12:54:50.809] #2 0x000000082c2ad9d3 in ?? () from /lib/libthr.so.3 [12:54:50.809] No symbol table info available. [12:54:50.809] #3 0x000000000066afc5 in RestoreArchivedFile (path=path@entry=0x8214af1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8214af5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [12:54:50.809] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\0004\b\000\000\000\210\366J!\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\0004\b\000\000\000\260~\3725\b\000\000\000\320}\3725\b\000\000\000\310}\3725\b\000\000\000\310x\3725\b\000\000\000\000\340\344\000\000\000\000\000\000\020\3604\b\000\000\000\000\020\n\000\000\000\000\000 \355J!\b\000\000\000 \355J!\b", '\000' , "\350\356J!\b\000\000\000h\355J!\b\000\000\000\b\000\000\0000\000\000\000"... [12:54:50.809] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\354J!\b\000\000\000`\352J!\b", '\000' , "\240\366\223-\b", '\000' , "\225I\256\000\000\000\000\000\300\351J!\b\000\000\0000\000\000\000\000\000\000\000\210\360J!\b", '\000' , "p\351J!\b\000\000\000\343L\256", '\000' , "\225I\256\000\000\000\000\000\210\360J!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [12:54:50.809] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34918298048, st_mode = 17443, st_padding0 = 174, st_uid = 0, st_gid = 558559680, st_padding1 = 8, st_rdev = 35123135975, st_atim = {tv_sec = 8772, tv_nsec = 3}, st_mtim = {tv_sec = 35310058300, tv_nsec = 27720}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -3710587627612633121, tv_nsec = 34918298032}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35124410016, st_spare = {34918297968, 35123661487, 1730810260, 6335379258665592998, 14736156446096918495, 2, 0, 34918298032, 206158430240, 34918298064}} [12:54:50.809] restartRedoPtr = 34918297792 [12:54:50.809] restartTli = 8 [12:54:50.809] restartSegNo = [12:54:50.809] xlogRestoreCmd = 0x834ec9d38 "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\"" [12:54:50.809] rc = [12:54:50.809] #4 0x0000000000652048 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [12:54:50.809] path = "pg_wal/00000002", '0' , "4", '\000' , "8\260\330!\b\000\000\000\001\000\000\000\000\000\000\000\bT\330!\b\000\000\0008\002v-\b\000\000\000\250\364J!\b\000\000\000\360\363J!\b\000\000\000`\362J!\b", '\000' , "\b\340\327!\b\000\000\000 \000\000\000\000\000\000\000\340\363J!\b\000\000\000\347\332\030\260\325\f\000\000\b\340\327!\b\000\000\000\b\344\327!\b\000\000\000\b\350\327!\b\000\000\000\b\354\327!\b\000\000\000\b \330!\b\000\000\000\b$\330!\b\000\000\000\b(\330!\b\000\000\000"... [12:54:50.809] histfname = "00000003.history\000\366J!\b\000\000\000/Ɛ\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000߇0T6X\201\314\000\000\000\000\000\000\000" [12:54:50.809] fd = [12:54:50.809] #5 0x0000000000652108 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [12:54:50.809] newestTLI = 2 [12:54:50.809] probeTLI = 3 [12:54:50.809] #6 0x00000000006763db in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210816) at ../src/backend/access/transam/xlogrecovery.c:4114 [12:54:50.809] oldtarget = 2 [12:54:50.809] currentTle = 0x0 [12:54:50.809] newtarget = [12:54:50.809] newExpectedTLEs = [12:54:50.809] found = [12:54:50.809] cell = [12:54:50.809] #7 0x0000000000672633 in WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3676 [12:54:50.809] startWalReceiver = false [12:54:50.809] streaming_reply_sent = true [12:54:50.809] now = [12:54:50.809] startWalReceiver = [12:54:50.809] oldSource = [12:54:50.809] wait_time = [12:54:50.809] __error = [12:54:50.809] __error = [12:54:50.809] __error = [12:54:50.809] havedata = [12:54:50.809] ptr = [12:54:50.809] tli = [12:54:50.809] __error = [12:54:50.809] latestChunkStart = [12:54:50.809] __error = [12:54:50.809] #8 XLogPageRead (xlogreader=0x834ddc130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x834ec63f8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [12:54:50.809] private = 0x834ddc110 [12:54:50.809] emode = 15 [12:54:50.809] targetSegNo = 4 [12:54:50.809] targetPageOff = 98304 [12:54:50.809] r = [12:54:50.809] #9 0x0000000000679322 in ReadPageInternal (state=state@entry=0x834ddc130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [12:54:50.809] targetSegNo = 4 [12:54:50.809] targetPageOff = 98304 [12:54:50.809] readLen = [12:54:50.809] hdr = [12:54:50.809] err = [12:54:50.809] #10 0x0000000000678192 in XLogDecodeNextRecord (state=0x834ddc130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [12:54:50.809] errormsg = 0x8214b3c98 "" [12:54:50.809] randAccess = [12:54:50.809] decoded = 0x0 [12:54:50.809] RecPtr = 67210816 [12:54:50.809] assembled = false [12:54:50.809] targetPagePtr = 34918295488 [12:54:50.809] readOff = [12:54:50.809] record = [12:54:50.809] gotheader = [12:54:50.809] targetRecOff = 3648 [12:54:50.809] pageHeaderSize = [12:54:50.809] len = [12:54:50.809] total_len = [12:54:50.809] buffer = [12:54:50.809] gotlen = [12:54:50.809] pageHeader = [12:54:50.809] contdata = [12:54:50.809] save_copy = [12:54:50.809] #11 XLogReadAhead (state=0x834ddc130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [12:54:50.809] result = [12:54:50.809] #12 0x000000000066f8e8 in XLogPrefetcherNextBlock (pgsr_private=35247653896, lsn=0x834ef6e08) at ../src/backend/access/transam/xlogprefetcher.c:490 [12:54:50.809] nonblocking = false [12:54:50.809] record = 0x0 [12:54:50.809] prefetcher = 0x834ec8408 [12:54:50.809] reader = 0x834ddc130 [12:54:50.809] replaying_lsn = 67210408 [12:54:50.809] #13 0x000000000066f552 in lrq_prefetch (lrq=0x834ef6b68) at ../src/backend/access/transam/xlogprefetcher.c:252 [12:54:50.809] No locals. [12:54:50.809] #14 lrq_complete_lsn (lrq=0x834ef6b68, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [12:54:50.809] No locals. [12:54:50.809] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834ec8408, errmsg=errmsg@entry=0x8214b3d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [12:54:50.809] replayed_up_to = [12:54:50.809] record = [12:54:50.809] #16 0x000000000067307a in ReadRecord (xlogprefetcher=0x834ec8408, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [12:54:50.809] errormsg = 0x834ddc940 "" [12:54:50.809] xlogreader = 0x834ddc130 [12:54:50.809] private = [12:54:50.809] record = [12:54:50.809] #17 0x0000000000673959 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [12:54:50.809] ru0 = {tv = {tv_sec = 1730810259, tv_usec = 41817}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1150}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, 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}} [12:54:50.809] xtime = [12:54:50.809] reachedRecoveryTarget = false [12:54:50.809] replayTLI = 2 [12:54:50.809] record = [12:54:50.809] #18 0x00000000006642f3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [12:54:50.809] wasShutdown = false [12:54:50.809] haveTblspcMap = false [12:54:50.809] haveBackupLabel = true [12:54:50.809] promoted = false [12:54:50.809] didCrash = [12:54:50.809] 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} [12:54:50.809] oldestActiveXID = [12:54:50.809] performedWalRecovery = [12:54:50.809] endOfRecoveryInfo = [12:54:50.809] EndOfLog = [12:54:50.809] EndOfLogTLI = [12:54:50.809] abortedRecPtr = [12:54:50.809] missingContrecPtr = [12:54:50.809] newTLI = [12:54:50.809] Insert = [12:54:50.809] #19 0x00000000008939db in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [12:54:50.809] No locals. [12:54:50.809] #20 0x000000000088d737 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:266 [12:54:50.809] pid = [12:54:50.809] #21 0x000000000088fca4 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3733 [12:54:50.809] pid = [12:54:50.809] __error = [12:54:50.809] #22 0x000000000088f8e5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8214b91d8) at ../src/backend/postmaster/postmaster.c:1340 [12:54:50.809] userDoption = [12:54:50.809] listen_addr_saved = [12:54:50.809] output_config_variable = [12:54:50.809] opt = [12:54:50.809] status = [12:54:50.809] #23 0x00000000007c99dc in main (argc=4, argv=0x8214b91d8) at ../src/backend/main/main.c:196 [12:54:50.809] do_check_root =