[13:31:55.807] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [13:31:56.102] dumping /tmp/cores/postgres.13863.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [13:31:56.231] [New LWP 101841] [13:31:56.307] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [13:31:56.307] Program terminated with signal SIGQUIT, Quit. [13:31:56.307] Sent by thr_kill() from pid 13863 and user 1003. [13:31:56.307] #0 0x000000082b6a28fa in _sigprocmask () from /lib/libc.so.7 [13:31:56.348] [13:31:56.348] Thread 1 (LWP 101841): [13:31:56.348] #0 0x000000082b6a28fa in _sigprocmask () from /lib/libc.so.7 [13:31:56.348] No symbol table info available. [13:31:56.348] #1 0x000000082b6dbf91 in _system () from /lib/libc.so.7 [13:31:56.348] No symbol table info available. [13:31:56.348] #2 0x000000082af279d3 in ?? () from /lib/libthr.so.3 [13:31:56.348] No symbol table info available. [13:31:56.348] #3 0x000000000066f695 in RestoreArchivedFile (path=path@entry=0x821bc51d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x821bc55d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [13:31:56.348] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t 4\b\000\000\000\210V\274!\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\315 4\b\000\000\000\210QZ5\b\000\000\000\260PZ5\b\000\000\000\250PZ5\b\000\000\000\250KZ5\b\000\000\000\000\340\344\000\000\000\000\000\000Е4\b\000\000\000\000\020\n\000\000\000\000\000 M\274!\b\000\000\000 M\274!\b", '\000' , "\350N\274!\b\000\000\000hM\274!\b\000\000\000\b\000\000\0000\000\000\000\320"... [13:31:56.348] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260L\274!\b\000\000\000`J\274!\b", '\000' , "\240Fu+\b", '\000' , "\345\353\257\000\000\000\000\000\300I\274!\b\000\000\0000\000\000\000\000\000\000\000\210P\274!\b", '\000' , "pI\274!\b\000\000\0003\357\257\000\000\000\000\000\001\000\000\000\000\000\000\000\210P\274!\b\000\000\000\210P\274!\b\000\000\000\377\377\377\377\000\000\000\000\001", '\000' ... [13:31:56.348] stat_buf = {st_dev = 90112, st_ino = 2, st_nlink = 34925728192, st_mode = 58995, st_padding0 = 175, st_uid = 0, st_gid = 565989824, st_padding1 = 8, st_rdev = 35087570407, st_atim = {tv_sec = 13905, tv_nsec = 3}, st_mtim = {tv_sec = 35284775884, tv_nsec = 29400}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -8984200666523667952, tv_nsec = 34925728176}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35088844448, st_spare = {34925728112, 35088095919, 1741008309, 5879066428536146916, 9462543407185883664, 2, 0, 34925728176, 206158430240, 34925728208}} [13:31:56.348] restartRedoPtr = 34925727936 [13:31:56.348] restartTli = 8 [13:31:56.348] restartSegNo = [13:31:56.348] xlogRestoreCmd = 0x834941938 "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\"" [13:31:56.348] rc = [13:31:56.348] #4 0x00000000006566e8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [13:31:56.348] path = "pg_wal/00000002", '0' , "4", '\000' , "8\220\034\"\b\000\000\000\001\000\000\000\000\000\000\000\b4\034\"\b\000\000\0008RW+\b\000\000\000\250T\274!\b\000\000\000\360S\274!\b\000\000\000`R\274!\b", '\000' , "\b\300\033\"\b\000\000\000 \000\000\000\000\000\000\000\340S\274!\b\000\000\000\347\372K\211},\000\000\b\300\033\"\b\000\000\000\b\304\033\"\b\000\000\000\b\310\033\"\b\000\000\000\b\314\033\"\b\000\000\000\b\000\034\"\b\000\000\000\b\004\034\"\b\000\000\000\b\b\034\"\b\000\000\000"... [13:31:56.348] histfname = "00000003.history\000V\274!\b\000\000\000\017\016\222", '\000' , "\377\377\377\377\377\377\377\377\020r\a\031\030\265Q\203\000\000\000\000\000\000\000" [13:31:56.348] fd = [13:31:56.348] #5 0x00000000006567a8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [13:31:56.348] newestTLI = 2 [13:31:56.348] probeTLI = 3 [13:31:56.348] #6 0x000000000067ab2b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67199296) at ../src/backend/access/transam/xlogrecovery.c:4129 [13:31:56.348] oldtarget = 2 [13:31:56.348] currentTle = 0x0 [13:31:56.348] newtarget = [13:31:56.348] newExpectedTLEs = [13:31:56.348] found = [13:31:56.348] cell = [13:31:56.348] #7 0x0000000000676d13 in WaitForWALToBecomeAvailable (RecPtr=67199320, tliRecPtr=67199296, replayTLI=2, replayLSN=67199296, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3691 [13:31:56.348] startWalReceiver = false [13:31:56.348] streaming_reply_sent = true [13:31:56.348] now = [13:31:56.348] startWalReceiver = [13:31:56.348] oldSource = [13:31:56.348] wait_time = [13:31:56.348] __error = [13:31:56.348] __error = [13:31:56.348] __error = [13:31:56.348] havedata = [13:31:56.348] ptr = [13:31:56.348] tli = [13:31:56.348] __error = [13:31:56.348] latestChunkStart = [13:31:56.348] __error = [13:31:56.348] #8 XLogPageRead (xlogreader=0x834837130, targetPagePtr=67198976, reqLen=344, targetRecPtr=67199296, readBuf=0x83493dff8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3357 [13:31:56.348] private = 0x834837110 [13:31:56.348] emode = 15 [13:31:56.348] targetSegNo = 4 [13:31:56.348] targetPageOff = 90112 [13:31:56.348] io_start = [13:31:56.348] r = [13:31:56.348] #9 0x000000000067da72 in ReadPageInternal (state=state@entry=0x834837130, pageptr=67198976, reqLen=344) at ../src/backend/access/transam/xlogreader.c:1061 [13:31:56.348] targetSegNo = 4 [13:31:56.348] targetPageOff = 90112 [13:31:56.348] readLen = [13:31:56.348] hdr = [13:31:56.348] err = [13:31:56.348] #10 0x000000000067c8e2 in XLogDecodeNextRecord (state=0x834837130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [13:31:56.348] errormsg = 0x821bc9c98 "" [13:31:56.348] randAccess = [13:31:56.348] decoded = 0x0 [13:31:56.348] RecPtr = 67199296 [13:31:56.348] assembled = false [13:31:56.348] targetPagePtr = 34925725632 [13:31:56.348] readOff = [13:31:56.348] record = [13:31:56.348] gotheader = [13:31:56.348] targetRecOff = 320 [13:31:56.348] pageHeaderSize = [13:31:56.348] len = [13:31:56.348] total_len = [13:31:56.348] buffer = [13:31:56.348] gotlen = [13:31:56.348] pageHeader = [13:31:56.348] contdata = [13:31:56.348] save_copy = [13:31:56.348] #11 XLogReadAhead (state=0x834837130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [13:31:56.348] result = [13:31:56.348] #12 0x0000000000673fb8 in XLogPrefetcherNextBlock (pgsr_private=35241852936, lsn=0x834952f58) at ../src/backend/access/transam/xlogprefetcher.c:490 [13:31:56.348] nonblocking = false [13:31:56.348] record = 0x0 [13:31:56.348] prefetcher = 0x834940008 [13:31:56.348] reader = 0x834837130 [13:31:56.348] replaying_lsn = 67198864 [13:31:56.348] #13 0x0000000000673c22 in lrq_prefetch (lrq=0x834952ce8) at ../src/backend/access/transam/xlogprefetcher.c:252 [13:31:56.348] No locals. [13:31:56.348] #14 lrq_complete_lsn (lrq=0x834952ce8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [13:31:56.348] No locals. [13:31:56.348] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834940008, errmsg=errmsg@entry=0x821bc9d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [13:31:56.348] replayed_up_to = [13:31:56.348] record = [13:31:56.348] #16 0x00000000006777ca in ReadRecord (xlogprefetcher=0x834940008, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [13:31:56.348] errormsg = 0x834837940 "" [13:31:56.348] xlogreader = 0x834837130 [13:31:56.348] private = [13:31:56.348] record = [13:31:56.348] #17 0x00000000006780a9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [13:31:56.348] ru0 = {tv = {tv_sec = 1741008308, tv_usec = 707203}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1156}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 153, 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 = 3}} [13:31:56.348] xtime = [13:31:56.348] reachedRecoveryTarget = false [13:31:56.348] replayTLI = 2 [13:31:56.348] record = [13:31:56.348] #18 0x0000000000668a03 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [13:31:56.348] wasShutdown = false [13:31:56.348] haveTblspcMap = false [13:31:56.348] haveBackupLabel = true [13:31:56.348] promoted = false [13:31:56.348] didCrash = [13:31:56.348] 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 = 747} [13:31:56.348] oldestActiveXID = [13:31:56.348] performedWalRecovery = [13:31:56.348] endOfRecoveryInfo = [13:31:56.348] EndOfLog = [13:31:56.348] EndOfLogTLI = [13:31:56.348] abortedRecPtr = [13:31:56.348] missingContrecPtr = [13:31:56.348] newTLI = [13:31:56.348] Insert = [13:31:56.348] #19 0x00000000008a69ab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [13:31:56.348] No locals. [13:31:56.348] #20 0x00000000008a0d45 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=57, 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 [13:31:56.348] pid = [13:31:56.348] #21 0x00000000008a3947 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [13:31:56.348] pmchild = 0x0 [13:31:56.348] pid = [13:31:56.348] #22 0x00000000008a34e2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821bcf2a0) at ../src/backend/postmaster/postmaster.c:1378 [13:31:56.348] userDoption = [13:31:56.348] listen_addr_saved = false [13:31:56.348] output_config_variable = [13:31:56.348] opt = [13:31:56.348] status = [13:31:56.348] #23 0x00000000007d7ae0 in main (argc=4, argv=0x821bcf2a0) at ../src/backend/main/main.c:230 [13:31:56.348] do_check_root = [13:31:56.348] dispatch_option = DISPATCH_POSTMASTER