[10:29:37.542] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [10:29:37.870] dumping /tmp/cores/postgres.14045.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [10:29:38.012] [New LWP 101893] [10:29:38.100] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [10:29:38.100] Program terminated with signal SIGQUIT, Quit. [10:29:38.100] Sent by thr_kill() from pid 14045 and user 1003. [10:29:38.100] #0 0x000000082c0d68fa in _sigprocmask () from /lib/libc.so.7 [10:29:38.145] [10:29:38.145] Thread 1 (LWP 101893): [10:29:38.145] #0 0x000000082c0d68fa in _sigprocmask () from /lib/libc.so.7 [10:29:38.145] No symbol table info available. [10:29:38.145] #1 0x000000082c10ff91 in _system () from /lib/libc.so.7 [10:29:38.145] No symbol table info available. [10:29:38.145] #2 0x00000008299289d3 in ?? () from /lib/libthr.so.3 [10:29:38.145] No symbol table info available. [10:29:38.145] #3 0x000000000066a7d5 in RestoreArchivedFile (path=path@entry=0x820cfa1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820cfa5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [10:29:38.145] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\2004\b\000\000\000\210\246\317 \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 \320z6\b\000\000\0008\317z6\b\000\000\0000\317z6\b\000\000\0000\312z6\b\000\000\000\000\340\344\000\000\000\000\000\000\340\2225\b\000\000\000\000\020\n\000\000\000\000\000 \235\317 \b\000\000\000 \235\317 \b", '\000' , "\350\236\317 \b\000\000\000h\235\317 \b\000\000\000\b\000\000\0000\000\000\000С"... [10:29:38.145] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\234\317 \b\000\000\000`\232\317 \b", '\000' , "\240\206\030,\b", '\000' , "\325=\257\000\000\000\000\000\300\231\317 \b\000\000\0000\000\000\000\000\000\000\000\210\240\317 \b", '\000' , "p\231\317 \b\000\000\000#A\257", '\000' , "\325=\257\000\000\000\000\000\210\240\317 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [10:29:38.145] stat_buf = {st_dev = 90112, st_ino = 2, st_nlink = 34910216640, st_mode = 14435, st_padding0 = 175, st_uid = 0, st_gid = 550478272, st_padding1 = 8, st_rdev = 35098269159, st_atim = {tv_sec = 16280, tv_nsec = 3}, st_mtim = {tv_sec = 35304194180, tv_nsec = 28560}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 7331234258091128616, tv_nsec = 34910216624}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35099543200, st_spare = {34910216560, 35098794671, 1738319028, 12733003920114363500, 7331234258091128616, 2, 0, 34910216624, 206158430240, 34910216656}} [10:29:38.145] restartRedoPtr = 34910216384 [10:29:38.145] restartTli = 8 [10:29:38.145] restartSegNo = [10:29:38.145] xlogRestoreCmd = 0x835911af8 "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\"" [10:29:38.145] rc = [10:29:38.145] #4 0x0000000000651898 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [10:29:38.145] path = "pg_wal/00000002", '0' , "4", '\000' , "8\260\251!\b\000\000\000\001\000\000\000\000\000\000\000\bT\251!\b\000\000\0008\222\372+\b\000\000\000\250\244\317 \b\000\000\000\360\243\317 \b\000\000\000`\242\317 \b", '\000' , "\b\340\250!\b\000\000\000 \000\000\000\000\000\000\000\340\243\317 \b\000\000\000\347j\250\250h(\000\000\b\340\250!\b\000\000\000\b\344\250!\b\000\000\000\b\350\250!\b\000\000\000\b\354\250!\b\000\000\000\b \251!\b\000\000\000\b$\251!\b\000\000\000\b(\251!\b\000\000\000"... [10:29:38.145] histfname = "00000003.history\000\246\317 \b\000\000\000\377k\221", '\000' , "\377\377\377\377\377\377\377\377(7\262\026\267ƽe\000\000\000\000\000\000\000" [10:29:38.145] fd = [10:29:38.145] #5 0x0000000000651958 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [10:29:38.145] newestTLI = 2 [10:29:38.145] probeTLI = 3 [10:29:38.145] #6 0x0000000000675bfb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67199344) at ../src/backend/access/transam/xlogrecovery.c:4115 [10:29:38.145] oldtarget = 2 [10:29:38.145] currentTle = 0x0 [10:29:38.145] newtarget = [10:29:38.145] newExpectedTLEs = [10:29:38.145] found = [10:29:38.145] cell = [10:29:38.145] #7 0x0000000000671e43 in WaitForWALToBecomeAvailable (RecPtr=67199368, tliRecPtr=67199344, replayTLI=2, replayLSN=67199344, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3677 [10:29:38.145] startWalReceiver = false [10:29:38.145] streaming_reply_sent = true [10:29:38.145] now = [10:29:38.145] startWalReceiver = [10:29:38.145] oldSource = [10:29:38.145] wait_time = [10:29:38.145] __error = [10:29:38.145] __error = [10:29:38.145] __error = [10:29:38.145] havedata = [10:29:38.145] ptr = [10:29:38.145] tli = [10:29:38.145] __error = [10:29:38.145] latestChunkStart = [10:29:38.145] __error = [10:29:38.145] #8 XLogPageRead (xlogreader=0x83580a130, targetPagePtr=67198976, reqLen=392, targetRecPtr=67199344, readBuf=0x83590e1b8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [10:29:38.145] private = 0x83580a110 [10:29:38.145] emode = 15 [10:29:38.145] targetSegNo = 4 [10:29:38.145] targetPageOff = 90112 [10:29:38.145] r = [10:29:38.145] #9 0x0000000000678b42 in ReadPageInternal (state=state@entry=0x83580a130, pageptr=67198976, reqLen=392) at ../src/backend/access/transam/xlogreader.c:1060 [10:29:38.145] targetSegNo = 4 [10:29:38.145] targetPageOff = 90112 [10:29:38.145] readLen = [10:29:38.145] hdr = [10:29:38.145] err = [10:29:38.145] #10 0x00000000006779b2 in XLogDecodeNextRecord (state=0x83580a130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [10:29:38.145] errormsg = 0x820cfec98 "" [10:29:38.145] randAccess = [10:29:38.145] decoded = 0x0 [10:29:38.145] RecPtr = 67199344 [10:29:38.145] assembled = false [10:29:38.145] targetPagePtr = 34910214080 [10:29:38.145] readOff = [10:29:38.145] record = [10:29:38.145] gotheader = [10:29:38.145] targetRecOff = 368 [10:29:38.145] pageHeaderSize = [10:29:38.145] len = [10:29:38.145] total_len = [10:29:38.145] buffer = [10:29:38.145] gotlen = [10:29:38.145] pageHeader = [10:29:38.145] contdata = [10:29:38.145] save_copy = [10:29:38.145] #11 XLogReadAhead (state=0x83580a130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [10:29:38.145] result = [10:29:38.145] #12 0x000000000066f0f8 in XLogPrefetcherNextBlock (pgsr_private=35258433992, lsn=0x8359248d8) at ../src/backend/access/transam/xlogprefetcher.c:490 [10:29:38.145] nonblocking = false [10:29:38.145] record = 0x0 [10:29:38.145] prefetcher = 0x8359101c8 [10:29:38.145] reader = 0x83580a130 [10:29:38.145] replaying_lsn = 67198912 [10:29:38.145] #13 0x000000000066ed62 in lrq_prefetch (lrq=0x835924668) at ../src/backend/access/transam/xlogprefetcher.c:252 [10:29:38.145] No locals. [10:29:38.145] #14 lrq_complete_lsn (lrq=0x835924668, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [10:29:38.145] No locals. [10:29:38.145] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8359101c8, errmsg=errmsg@entry=0x820cfed60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [10:29:38.145] replayed_up_to = [10:29:38.145] record = [10:29:38.145] #16 0x000000000067289a in ReadRecord (xlogprefetcher=0x8359101c8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [10:29:38.145] errormsg = 0x83580a940 "" [10:29:38.145] xlogreader = 0x83580a130 [10:29:38.145] private = [10:29:38.145] record = [10:29:38.145] #17 0x0000000000673179 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [10:29:38.145] ru0 = {tv = {tv_sec = 1738319027, tv_usec = 955009}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 880}, 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 = 2}} [10:29:38.145] xtime = [10:29:38.145] reachedRecoveryTarget = false [10:29:38.145] replayTLI = 2 [10:29:38.145] record = [10:29:38.145] #18 0x0000000000663b03 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [10:29:38.145] wasShutdown = false [10:29:38.146] haveTblspcMap = false [10:29:38.146] haveBackupLabel = true [10:29:38.146] promoted = false [10:29:38.146] didCrash = [10:29:38.146] 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 = 743} [10:29:38.146] oldestActiveXID = [10:29:38.146] performedWalRecovery = [10:29:38.146] endOfRecoveryInfo = [10:29:38.146] EndOfLog = [10:29:38.146] EndOfLogTLI = [10:29:38.146] abortedRecPtr = [10:29:38.146] missingContrecPtr = [10:29:38.146] newTLI = [10:29:38.146] Insert = [10:29:38.146] #19 0x000000000089d51b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [10:29:38.146] No locals. [10:29:38.146] #20 0x00000000008978b5 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 [10:29:38.146] pid = [10:29:38.146] #21 0x000000000089a4b7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [10:29:38.146] pmchild = 0x0 [10:29:38.146] pid = [10:29:38.146] #22 0x000000000089a052 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820d03a58) at ../src/backend/postmaster/postmaster.c:1378 [10:29:38.146] userDoption = [10:29:38.146] listen_addr_saved = false [10:29:38.146] output_config_variable = [10:29:38.146] opt = [10:29:38.146] status = [10:29:38.146] #23 0x00000000007d07e0 in main (argc=4, argv=0x820d03a58) at ../src/backend/main/main.c:230 [10:29:38.146] do_check_root = [10:29:38.146] dispatch_option = DISPATCH_POSTMASTER