[15:33:22.152] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:33:22.462] dumping /tmp/cores/postgres.13427.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:33:22.592] [New LWP 101848] [15:33:22.669] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [15:33:22.669] Program terminated with signal SIGQUIT, Quit. [15:33:22.669] Sent by thr_kill() from pid 13427 and user 1003. [15:33:22.669] #0 0x000000082d92b8fa in _sigprocmask () from /lib/libc.so.7 [15:33:22.712] [15:33:22.712] Thread 1 (LWP 101848): [15:33:22.712] #0 0x000000082d92b8fa in _sigprocmask () from /lib/libc.so.7 [15:33:22.712] No symbol table info available. [15:33:22.712] #1 0x000000082d964f91 in _system () from /lib/libc.so.7 [15:33:22.712] No symbol table info available. [15:33:22.712] #2 0x000000082bab69d3 in ?? () from /lib/libthr.so.3 [15:33:22.712] No symbol table info available. [15:33:22.712] #3 0x000000000066c4b5 in RestoreArchivedFile (path=path@entry=0x820be11d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820be15d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [15:33:22.712] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\2007\b\000\000\000\210\026\276 \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̀7\b\000\000\0000W\3349\b\000\000\000PV\3349\b\000\000\000HV\3349\b\000\000\000HQ\3349\b\000\000\000\000\340\344\000\000\000\000\000\000\020\2418\b\000\000\000\000\020\n\000\000\000\000\000 \r\276 \b\000\000\000 \r\276 \b", '\000' , "\350\016\276 \b\000\000\000h\r\276 \b\000\000\000\b\000\000\0000\000\000\000\320"... [15:33:22.712] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\f\276 \b\000\000\000`\n\276 \b", '\000' , "\240֝-\b", '\000' , "\225k\257\000\000\000\000\000\300\t\276 \b\000\000\0000\000\000\000\000\000\000\000\210\020\276 \b", '\000' , "p\t\276 \b\000\000\000\343n\257", '\000' , "\225k\257\000\000\000\000\000\210\020\276 \b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [15:33:22.712] stat_buf = {st_dev = 90112, st_ino = 2, st_nlink = 34909065664, st_mode = 26147, st_padding0 = 175, st_uid = 0, st_gid = 549327296, st_padding1 = 8, st_rdev = 35123783143, st_atim = {tv_sec = 15769, tv_nsec = 3}, st_mtim = {tv_sec = 35369704580, tv_nsec = 28560}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 6687871177054803070, tv_nsec = 34909065648}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35125057184, st_spare = {34909065584, 35124308655, 1739114856, 12369643954226632577, 6687871177054803070, 2, 0, 34909065648, 206158430240, 34909065680}} [15:33:22.712] restartRedoPtr = 34909065408 [15:33:22.712] restartTli = 8 [15:33:22.712] restartSegNo = [15:33:22.712] xlogRestoreCmd = 0x8389da7f8 "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\"" [15:33:22.712] rc = [15:33:22.712] #4 0x0000000000653498 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [15:33:22.712] path = "pg_wal/00000002", '0' , "4", '\000' , "8P\235!\b\000\000\000\001\000\000\000\000\000\000\000\b\364\234!\b\000\000\0008\342\177-\b\000\000\000\250\024\276 \b\000\000\000\360\023\276 \b\000\000\000`\022\276 \b", '\000' , "\b\200\234!\b\000\000\000 \000\000\000\000\000\000\000\340\023\276 \b\000\000\000\347\252\343k]\033\000\000\b\200\234!\b\000\000\000\b\204\234!\b\000\000\000\b\210\234!\b\000\000\000\b\214\234!\b\000\000\000\b\300\234!\b\000\000\000\bĜ!\b\000\000\000\bȜ!\b\000\000\000\b̜"... [15:33:22.712] histfname = "00000003.history\000\026\276 \b\000\000\000\277\230\221", '\000' , "\377\377\377\377\377\377\377\377~\324\354\323f\027\320\\\000\000\000\000\000\000\000" [15:33:22.712] fd = [15:33:22.712] #5 0x0000000000653558 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [15:33:22.712] newestTLI = 2 [15:33:22.712] probeTLI = 3 [15:33:22.712] #6 0x000000000067792b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67200160) at ../src/backend/access/transam/xlogrecovery.c:4127 [15:33:22.712] oldtarget = 2 [15:33:22.712] currentTle = 0x0 [15:33:22.712] newtarget = [15:33:22.712] newExpectedTLEs = [15:33:22.712] found = [15:33:22.712] cell = [15:33:22.712] #7 0x0000000000673b13 in WaitForWALToBecomeAvailable (RecPtr=67200184, tliRecPtr=67200160, replayTLI=2, replayLSN=67200160, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3689 [15:33:22.712] startWalReceiver = false [15:33:22.712] streaming_reply_sent = true [15:33:22.712] now = [15:33:22.712] startWalReceiver = [15:33:22.712] oldSource = [15:33:22.712] wait_time = [15:33:22.712] __error = [15:33:22.712] __error = [15:33:22.712] __error = [15:33:22.712] havedata = [15:33:22.712] ptr = [15:33:22.712] tli = [15:33:22.712] __error = [15:33:22.712] latestChunkStart = [15:33:22.712] __error = [15:33:22.712] #8 XLogPageRead (xlogreader=0x8388ec1c0, targetPagePtr=67198976, reqLen=1208, targetRecPtr=67200160, readBuf=0x8389d6eb8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3355 [15:33:22.712] private = 0x8388ec1a0 [15:33:22.712] emode = 15 [15:33:22.712] targetSegNo = 4 [15:33:22.712] targetPageOff = 90112 [15:33:22.712] io_start = [15:33:22.712] r = [15:33:22.712] #9 0x000000000067a872 in ReadPageInternal (state=state@entry=0x8388ec1c0, pageptr=67198976, reqLen=1208) at ../src/backend/access/transam/xlogreader.c:1061 [15:33:22.712] targetSegNo = 4 [15:33:22.712] targetPageOff = 90112 [15:33:22.712] readLen = [15:33:22.712] hdr = [15:33:22.712] err = [15:33:22.712] #10 0x00000000006796e2 in XLogDecodeNextRecord (state=0x8388ec1c0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [15:33:22.712] errormsg = 0x820be5c98 "" [15:33:22.712] randAccess = [15:33:22.712] decoded = 0x0 [15:33:22.712] RecPtr = 67200160 [15:33:22.712] assembled = false [15:33:22.712] targetPagePtr = 34909063104 [15:33:22.712] readOff = [15:33:22.712] record = [15:33:22.712] gotheader = [15:33:22.712] targetRecOff = 1184 [15:33:22.712] pageHeaderSize = [15:33:22.712] len = [15:33:22.712] total_len = [15:33:22.712] buffer = [15:33:22.712] gotlen = [15:33:22.712] pageHeader = [15:33:22.712] contdata = [15:33:22.712] save_copy = [15:33:22.712] #11 XLogReadAhead (state=0x8388ec1c0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [15:33:22.712] result = [15:33:22.712] #12 0x0000000000670dd8 in XLogPrefetcherNextBlock (pgsr_private=35309588168, lsn=0x838a07598) at ../src/backend/access/transam/xlogprefetcher.c:490 [15:33:22.712] nonblocking = false [15:33:22.712] record = 0x0 [15:33:22.712] prefetcher = 0x8389d8ec8 [15:33:22.712] reader = 0x8388ec1c0 [15:33:22.712] replaying_lsn = 67199752 [15:33:22.712] #13 0x0000000000670a42 in lrq_prefetch (lrq=0x838a07328) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:33:22.712] No locals. [15:33:22.712] #14 lrq_complete_lsn (lrq=0x838a07328, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:33:22.712] No locals. [15:33:22.712] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8389d8ec8, errmsg=errmsg@entry=0x820be5d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [15:33:22.712] replayed_up_to = [15:33:22.712] record = [15:33:22.712] #16 0x00000000006745ca in ReadRecord (xlogprefetcher=0x8389d8ec8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3154 [15:33:22.712] errormsg = 0x8388ec9d0 "" [15:33:22.712] xlogreader = 0x8388ec1c0 [15:33:22.712] private = [15:33:22.712] record = [15:33:22.712] #17 0x0000000000674ea9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1833 [15:33:22.712] ru0 = {tv = {tv_sec = 1739114856, tv_usec = 78875}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1205}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 161, 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}} [15:33:22.712] xtime = [15:33:22.712] reachedRecoveryTarget = false [15:33:22.712] replayTLI = 2 [15:33:22.712] record = [15:33:22.712] #18 0x00000000006657c3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5869 [15:33:22.713] wasShutdown = false [15:33:22.713] haveTblspcMap = false [15:33:22.713] haveBackupLabel = true [15:33:22.713] promoted = false [15:33:22.713] didCrash = [15:33:22.713] 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 = 744} [15:33:22.713] oldestActiveXID = [15:33:22.713] performedWalRecovery = [15:33:22.713] endOfRecoveryInfo = [15:33:22.713] EndOfLog = [15:33:22.713] EndOfLogTLI = [15:33:22.713] abortedRecPtr = [15:33:22.713] missingContrecPtr = [15:33:22.713] newTLI = [15:33:22.713] Insert = [15:33:22.713] #19 0x000000000089ff4b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:33:22.713] No locals. [15:33:22.713] #20 0x000000000089a2e5 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 [15:33:22.713] pid = [15:33:22.713] #21 0x000000000089cee7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [15:33:22.713] pmchild = 0x0 [15:33:22.713] pid = [15:33:22.713] #22 0x000000000089ca82 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820bea8e0) at ../src/backend/postmaster/postmaster.c:1378 [15:33:22.713] userDoption = [15:33:22.713] listen_addr_saved = false [15:33:22.713] output_config_variable = [15:33:22.713] opt = [15:33:22.713] status = [15:33:22.713] #23 0x00000000007d2f30 in main (argc=4, argv=0x820bea8e0) at ../src/backend/main/main.c:230 [15:33:22.713] do_check_root = [15:33:22.713] dispatch_option = DISPATCH_POSTMASTER