[18:47:56.268] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [18:47:56.576] dumping /tmp/cores/postgres.27061.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [18:47:56.702] [New LWP 102020] [18:47:56.782] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [18:47:56.782] Program terminated with signal SIGQUIT, Quit. [18:47:56.782] Sent by thr_kill() from pid 27061 and user 1002. [18:47:56.782] #0 0x0000000829d8a75a in _sigprocmask () from /lib/libc.so.7 [18:47:56.824] [18:47:56.824] Thread 1 (LWP 102020): [18:47:56.824] #0 0x0000000829d8a75a in _sigprocmask () from /lib/libc.so.7 [18:47:56.824] No symbol table info available. [18:47:56.824] #1 0x0000000829dc7a2f in _system () from /lib/libc.so.7 [18:47:56.824] No symbol table info available. [18:47:56.824] #2 0x000000082aee78a3 in ?? () from /lib/libthr.so.3 [18:47:56.824] No symbol table info available. [18:47:56.824] #3 0x000000000067da37 in RestoreArchivedFile (path=path@entry=0x8216f51e0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8216f55e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [18:47:56.824] xlogpath = "pg_wal/RECOVERYHISTORY\000K\320\352\343)\b\000\000\000\005\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000Ro!\b\000\000\000\001\000\000\000\000\000\000\000\360Mo!\b\000\000\000\027N\320)\b", '\000' , "P\354\300\000\000\000\000\000002", '\000' , "002\000\000\000\000\00000000000", '\000' , "\260Mo!\b\000\000\000\315B\022\252e!\000\000\250\256\305)\b\000\000\000"... [18:47:56.824] lastRestartPointFname = '0' , '\000' , "F\370\021\2610\341PK\320\352\343)\b\000\000\000\370\017\277\000\000\000\000\000\370h\245\256\341\036\000\000\001\377\000\207\377\377\377\377;]\002\000\000\000\000\000\001\000\000\000\000\000\000\000\200\201\000\000\352\003\000\000\353\003\000\000\000\000\000\000\377\377\377\377\377\377\377\377\033J\344g\000\000\000\000\260\234\0268\000\000\000\000\033J\344g\000\000\000\000\210.\3447\000\000\000\000\033J\344g\000\000\000\000\240\362\0268\000\000\000\000\033J\344g\000\000\000\000"... [18:47:56.824] stat_buf = {st_dev = 4, st_ino = 2, st_nlink = 34920681936, st_mode = 7043, st_padding0 = 177, st_uid = 0, st_gid = 560943568, st_padding1 = 8, st_rdev = 35061255703, st_atim = {tv_sec = 7834484, tv_nsec = 3}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 35061798480, tv_nsec = 33954646208520}, st_size = 2829776, st_blocks = 35079996601, st_blksize = 1, st_flags = 0, st_gen = 33954650464256, st_spare = {34920681872, 35061789470, 2, 35061658693, 702060112, 5427085150226872390, 34920681952, 12527648, 206158430240, 34920681952}} [18:47:56.824] restartRedoPtr = 34920681680 [18:47:56.824] restartTli = 8 [18:47:56.824] restartSegNo = [18:47:56.824] xlogRestoreCmd = 0x1ee1aef71528 "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\"" [18:47:56.824] rc = [18:47:56.824] #4 0x0000000000664bd8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [18:47:56.824] path = "pg_wal/00000002", '0' , "4\000\000\000\000\000\000\000\000\000\220P\245\256\341\036\000\000\001\000\000\000\000\000\000\000\260Ro!\b\000\000\000\020Vo!\b\000\000\000\020\200\337)\b\000\000\000F\370\021\2610\341PK\200\t\300\256\341\036\000\000\000\000\000\000\000\000\000\000\220P\245\256\341\036\000\000\001\000\000\000\000\000\000\000\260Ro!\b\000\000\000\020Vo!\b\000\000\000\263\205\337)\b\000\000\000\300Ro!\b", '\000' , "\n", '\000' , "\330X\300\256\341\036\000\000\000\020\000\000\000\000\000\000hVo!\b\000\000\000"... [18:47:56.824] histfname = "00000003.history\000Vo!\b\000\000\000\215\001\224\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000PVo!\b\000\000\000u\005\230\000\000\000\000" [18:47:56.824] fd = [18:47:56.824] #5 0x0000000000664c98 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [18:47:56.824] newestTLI = 2 [18:47:56.824] probeTLI = 3 [18:47:56.824] #6 0x0000000000688e6b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67199296) at ../src/backend/access/transam/xlogrecovery.c:4129 [18:47:56.824] oldtarget = 2 [18:47:56.824] currentTle = 0x0 [18:47:56.824] newtarget = [18:47:56.824] newExpectedTLEs = [18:47:56.824] found = [18:47:56.824] cell = [18:47:56.824] #7 0x0000000000685073 in WaitForWALToBecomeAvailable (RecPtr=67199320, tliRecPtr=67199296, replayTLI=2, replayLSN=67199296, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3691 [18:47:56.824] startWalReceiver = false [18:47:56.824] streaming_reply_sent = true [18:47:56.824] now = [18:47:56.824] startWalReceiver = [18:47:56.824] oldSource = [18:47:56.824] wait_time = [18:47:56.824] __error = [18:47:56.824] __error = [18:47:56.824] __error = [18:47:56.824] havedata = [18:47:56.824] ptr = [18:47:56.824] tli = [18:47:56.824] __error = [18:47:56.824] latestChunkStart = [18:47:56.824] __error = [18:47:56.824] #8 XLogPageRead (xlogreader=0x1ee1aee1d130, targetPagePtr=67198976, reqLen=344, targetRecPtr=67199296, readBuf=0x1ee1aef41db8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3357 [18:47:56.824] private = 0x1ee1aee1d110 [18:47:56.824] emode = 15 [18:47:56.824] targetSegNo = 4 [18:47:56.824] targetPageOff = 90112 [18:47:56.824] io_start = [18:47:56.824] r = [18:47:56.824] #9 0x000000000068bdca in ReadPageInternal (state=state@entry=0x1ee1aee1d130, pageptr=67198976, reqLen=344) at ../src/backend/access/transam/xlogreader.c:1061 [18:47:56.824] targetSegNo = 4 [18:47:56.824] targetPageOff = 90112 [18:47:56.824] readLen = [18:47:56.824] hdr = [18:47:56.824] err = [18:47:56.824] #10 0x000000000068abf8 in XLogDecodeNextRecord (state=0x1ee1aee1d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [18:47:56.824] errormsg = 0x2ed00000300 [18:47:56.824] randAccess = [18:47:56.824] decoded = 0x0 [18:47:56.824] RecPtr = 67199296 [18:47:56.824] assembled = false [18:47:56.824] targetPagePtr = 67198976 [18:47:56.824] readOff = [18:47:56.824] record = [18:47:56.824] gotheader = [18:47:56.824] targetRecOff = 320 [18:47:56.824] pageHeaderSize = [18:47:56.824] len = [18:47:56.824] total_len = [18:47:56.824] buffer = [18:47:56.824] gotlen = [18:47:56.824] pageHeader = [18:47:56.824] contdata = [18:47:56.824] save_copy = [18:47:56.824] #11 XLogReadAhead (state=0x1ee1aee1d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [18:47:56.824] result = [18:47:56.824] #12 0x0000000000682328 in XLogPrefetcherNextBlock (pgsr_private=33954651717064, lsn=0x1ee1aef70f88) at ../src/backend/access/transam/xlogprefetcher.c:490 [18:47:56.824] nonblocking = false [18:47:56.824] record = 0x0 [18:47:56.824] prefetcher = 0x1ee1aef43dc8 [18:47:56.824] reader = 0x1ee1aee1d130 [18:47:56.824] replaying_lsn = 67198864 [18:47:56.824] #13 0x0000000000681f95 in lrq_prefetch (lrq=0x1ee1aef70d18) at ../src/backend/access/transam/xlogprefetcher.c:252 [18:47:56.824] No locals. [18:47:56.824] #14 lrq_complete_lsn (lrq=0x1ee1aef70d18, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [18:47:56.824] No locals. [18:47:56.824] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x1ee1aef43dc8, errmsg=errmsg@entry=0x8216f9d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [18:47:56.824] replayed_up_to = [18:47:56.824] record = [18:47:56.824] #16 0x0000000000685b2a in ReadRecord (xlogprefetcher=0x1ee1aef43dc8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [18:47:56.824] errormsg = 0x0 [18:47:56.824] xlogreader = 0x1ee1aee1d130 [18:47:56.824] private = [18:47:56.824] record = [18:47:56.824] #17 0x0000000000686419 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [18:47:56.824] ru0 = {tv = {tv_sec = 1743014428, tv_usec = 24562}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1064}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 159, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 11, ru_nivcsw = 2}} [18:47:56.824] xtime = [18:47:56.824] reachedRecoveryTarget = false [18:47:56.824] replayTLI = 2 [18:47:56.824] record = [18:47:56.824] #18 0x0000000000676be3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [18:47:56.824] wasShutdown = false [18:47:56.824] haveTblspcMap = false [18:47:56.824] haveBackupLabel = true [18:47:56.824] promoted = false [18:47:56.824] didCrash = [18:47:56.824] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = 741, oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 749} [18:47:56.824] oldestActiveXID = [18:47:56.824] performedWalRecovery = [18:47:56.824] endOfRecoveryInfo = [18:47:56.824] EndOfLog = [18:47:56.824] EndOfLogTLI = [18:47:56.824] abortedRecPtr = [18:47:56.824] missingContrecPtr = [18:47:56.824] newTLI = [18:47:56.824] Insert = [18:47:56.824] #19 0x00000000008b640b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [18:47:56.824] No locals. [18:47:56.824] #20 0x00000000008afedb in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=89, 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:291 [18:47:56.824] pid = [18:47:56.824] #21 0x00000000008b2ca7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3966 [18:47:56.824] pmchild = 0x0 [18:47:56.824] pid = [18:47:56.824] #22 0x00000000008b26a2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8216ff410) at ../src/backend/postmaster/postmaster.c:1392 [18:47:56.824] userDoption = [18:47:56.824] listen_addr_saved = false [18:47:56.824] output_config_variable = [18:47:56.824] opt = [18:47:56.824] status = [18:47:56.824] #23 0x00000000007e71a0 in main (argc=4, argv=0x8216ff410) at ../src/backend/main/main.c:230 [18:47:56.824] do_check_root = [18:47:56.824] dispatch_option = DISPATCH_POSTMASTER