[06:31:54.915] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [06:31:55.224] dumping /tmp/cores/postgres.12754.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [06:31:55.355] [New LWP 101727] [06:31:55.439] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [06:31:55.439] Program terminated with signal SIGQUIT, Quit. [06:31:55.439] Sent by thr_kill() from pid 12754 and user 1003. [06:31:55.439] #0 0x000000082b97a8fa in _sigprocmask () from /lib/libc.so.7 [06:31:55.484] [06:31:55.484] Thread 1 (LWP 101727): [06:31:55.484] #0 0x000000082b97a8fa in _sigprocmask () from /lib/libc.so.7 [06:31:55.484] No symbol table info available. [06:31:55.484] #1 0x000000082b9b3f91 in _system () from /lib/libc.so.7 [06:31:55.484] No symbol table info available. [06:31:55.484] #2 0x000000082ae139d3 in ?? () from /lib/libthr.so.3 [06:31:55.484] No symbol table info available. [06:31:55.484] #3 0x000000000066f695 in RestoreArchivedFile (path=path@entry=0x8215b31d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8215b35d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [06:31:55.484] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\2004\b\000\000\000\2106[!\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̀4\b\000\000\0008\326\3725\b\000\000\000h\325\3725\b\000\000\000`\325\3725\b\000\000\000`\320\3725\b\000\000\000\000\340\344\000\000\000\000\000\000@\2375\b\000\000\000\000\020\n\000\000\000\000\000 -[!\b\000\000\000 -[!\b", '\000' , "\350.[!\b\000\000\000h-[!\b\000\000\000\b\000\000\0000\000\000\000\320"... [06:31:55.484] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260,[!\b\000\000\000`*[!\b", '\000' , "\240Ƣ+\b", '\000' , "u\353\257\000\000\000\000\000\300)[!\b\000\000\0000\000\000\000\000\000\000\000\2100[!\b", '\000' , "p)[!\b\000\000\000\303\356\257", '\000' , "u\353\257\000\000\000\000\000\2100[!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [06:31:55.484] stat_buf = {st_dev = 90112, st_ino = 2, st_nlink = 34919363008, st_mode = 58883, st_padding0 = 175, st_uid = 0, st_gid = 559624640, st_padding1 = 8, st_rdev = 35090552295, st_atim = {tv_sec = 10612, tv_nsec = 3}, st_mtim = {tv_sec = 35304924108, tv_nsec = 29400}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -7073256340019213719, tv_nsec = 34919362992}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35091826336, st_spare = {34919362928, 35091077807, 1740896756, 18433413166983056989, 11373487733690337897, 2, 0, 34919362992, 206158430240, 34919363024}} [06:31:55.484] restartRedoPtr = 34919362752 [06:31:55.484] restartTli = 8 [06:31:55.484] restartSegNo = [06:31:55.484] xlogRestoreCmd = 0x8359bca38 "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\"" [06:31:55.484] rc = [06:31:55.484] #4 0x00000000006566e8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [06:31:55.484] path = "pg_wal/00000002", '0' , "4\000 1[!\b\000\000\000\271q\255\000\000\000\000\000\360\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\000\340\2145\b", '\000' , "\300\360\300\000\000\000\000\000\300\022\301\000\000\000\000\000@6[!\b\000\000\000\t\027\253\000\000\000\000\000\bpf!\b\000\000\000 \000\000\000\000\000\000\000\3403[!\b\000\000\000犹\030\227:\000\000\bpf!\b\000\000\000\btf!\b\000\000\000\bxf!\b\000\000\000\b|f!\b\000\000\000\b\260f!\b\000\000\000\b\264f!\b\000\000\000\b\270f!\b\000\000\000\b\274"... [06:31:55.484] histfname = "00000003.history\0006[!\b\000\000\000\037\016\222", '\000' , "\377\377\377\377\377\377\377\377i\n\340\237վ֝\000\000\000\000\000\000\000" [06:31:55.484] fd = [06:31:55.484] #5 0x00000000006567a8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [06:31:55.484] newestTLI = 2 [06:31:55.484] probeTLI = 3 [06:31:55.484] #6 0x000000000067ab2b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67199296) at ../src/backend/access/transam/xlogrecovery.c:4129 [06:31:55.484] oldtarget = 2 [06:31:55.484] currentTle = 0x0 [06:31:55.484] newtarget = [06:31:55.484] newExpectedTLEs = [06:31:55.484] found = [06:31:55.484] cell = [06:31:55.484] #7 0x0000000000676d13 in WaitForWALToBecomeAvailable (RecPtr=67199320, tliRecPtr=67199296, replayTLI=2, replayLSN=67199296, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3691 [06:31:55.484] startWalReceiver = false [06:31:55.484] streaming_reply_sent = true [06:31:55.484] now = [06:31:55.484] startWalReceiver = [06:31:55.484] oldSource = [06:31:55.484] wait_time = [06:31:55.484] __error = [06:31:55.484] __error = [06:31:55.484] __error = [06:31:55.484] havedata = [06:31:55.484] ptr = [06:31:55.484] tli = [06:31:55.484] __error = [06:31:55.484] latestChunkStart = [06:31:55.484] __error = [06:31:55.484] #8 XLogPageRead (xlogreader=0x8358cd130, targetPagePtr=67198976, reqLen=344, targetRecPtr=67199296, readBuf=0x8359b90f8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3357 [06:31:55.484] private = 0x8358cd110 [06:31:55.484] emode = 15 [06:31:55.484] targetSegNo = 4 [06:31:55.484] targetPageOff = 90112 [06:31:55.484] io_start = [06:31:55.484] r = [06:31:55.484] #9 0x000000000067da72 in ReadPageInternal (state=state@entry=0x8358cd130, pageptr=67198976, reqLen=344) at ../src/backend/access/transam/xlogreader.c:1061 [06:31:55.484] targetSegNo = 4 [06:31:55.484] targetPageOff = 90112 [06:31:55.484] readLen = [06:31:55.484] hdr = [06:31:55.484] err = [06:31:55.484] #10 0x000000000067c8e2 in XLogDecodeNextRecord (state=0x8358cd130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [06:31:55.484] errormsg = 0x8215b7c98 "" [06:31:55.484] randAccess = [06:31:55.484] decoded = 0x0 [06:31:55.484] RecPtr = 67199296 [06:31:55.484] assembled = false [06:31:55.484] targetPagePtr = 34919360448 [06:31:55.484] readOff = [06:31:55.484] record = [06:31:55.484] gotheader = [06:31:55.484] targetRecOff = 320 [06:31:55.484] pageHeaderSize = [06:31:55.484] len = [06:31:55.484] total_len = [06:31:55.484] buffer = [06:31:55.484] gotlen = [06:31:55.484] pageHeader = [06:31:55.484] contdata = [06:31:55.484] save_copy = [06:31:55.484] #11 XLogReadAhead (state=0x8358cd130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [06:31:55.484] result = [06:31:55.484] #12 0x0000000000673fb8 in XLogPrefetcherNextBlock (pgsr_private=35259134216, lsn=0x8359e9b18) at ../src/backend/access/transam/xlogprefetcher.c:490 [06:31:55.484] nonblocking = false [06:31:55.484] record = 0x0 [06:31:55.484] prefetcher = 0x8359bb108 [06:31:55.484] reader = 0x8358cd130 [06:31:55.484] replaying_lsn = 67198864 [06:31:55.484] #13 0x0000000000673c22 in lrq_prefetch (lrq=0x8359e98a8) at ../src/backend/access/transam/xlogprefetcher.c:252 [06:31:55.484] No locals. [06:31:55.484] #14 lrq_complete_lsn (lrq=0x8359e98a8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [06:31:55.484] No locals. [06:31:55.484] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8359bb108, errmsg=errmsg@entry=0x8215b7d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [06:31:55.484] replayed_up_to = [06:31:55.484] record = [06:31:55.484] #16 0x00000000006777ca in ReadRecord (xlogprefetcher=0x8359bb108, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [06:31:55.484] errormsg = 0x8358cd940 "" [06:31:55.484] xlogreader = 0x8358cd130 [06:31:55.484] private = [06:31:55.484] record = [06:31:55.484] #17 0x00000000006780a9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [06:31:55.484] ru0 = {tv = {tv_sec = 1740896755, tv_usec = 920396}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 993}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 154, 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}} [06:31:55.484] xtime = [06:31:55.484] reachedRecoveryTarget = false [06:31:55.484] replayTLI = 2 [06:31:55.484] record = [06:31:55.484] #18 0x0000000000668a03 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [06:31:55.484] wasShutdown = false [06:31:55.484] haveTblspcMap = false [06:31:55.485] haveBackupLabel = true [06:31:55.485] promoted = false [06:31:55.485] didCrash = [06:31:55.485] 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} [06:31:55.485] oldestActiveXID = [06:31:55.485] performedWalRecovery = [06:31:55.485] endOfRecoveryInfo = [06:31:55.485] EndOfLog = [06:31:55.485] EndOfLogTLI = [06:31:55.485] abortedRecPtr = [06:31:55.485] missingContrecPtr = [06:31:55.485] newTLI = [06:31:55.485] Insert = [06:31:55.485] #19 0x00000000008a69bb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [06:31:55.485] No locals. [06:31:55.485] #20 0x00000000008a0d55 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 [06:31:55.485] pid = [06:31:55.485] #21 0x00000000008a3957 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [06:31:55.485] pmchild = 0x0 [06:31:55.485] pid = [06:31:55.485] #22 0x00000000008a34f2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8215bc740) at ../src/backend/postmaster/postmaster.c:1378 [06:31:55.485] userDoption = [06:31:55.485] listen_addr_saved = false [06:31:55.485] output_config_variable = [06:31:55.485] opt = [06:31:55.485] status = [06:31:55.485] #23 0x00000000007d7ae0 in main (argc=4, argv=0x8215bc740) at ../src/backend/main/main.c:230 [06:31:55.485] do_check_root = [06:31:55.485] dispatch_option = DISPATCH_POSTMASTER [06:31:55.495] [06:31:55.495] [06:31:55.495] [06:31:55.548] dumping /tmp/cores/cp.25074.core for /bin/cp [06:31:55.589] [New LWP 101791] [06:31:55.594] Core was generated by `cp pg_wal/000000010000000000000003 /tmp/cirrus-ci-build/build/testrun/pg_combine'. [06:31:55.594] Program terminated with signal SIGQUIT, Quit. [06:31:55.594] Sent by kill() from pid 25002 and user 1003. [06:31:55.594] #0 0x0000177b8a89923a in copy_file_range () from /lib/libc.so.7 [06:31:55.595] [06:31:55.595] Thread 1 (LWP 101791): [06:31:55.595] #0 0x0000177b8a89923a in copy_file_range () from /lib/libc.so.7 [06:31:55.595] No symbol table info available. [06:31:55.595] #1 0x000017736824b3e0 in ?? () [06:31:55.595] No symbol table info available. [06:31:55.595] #2 0x000017736824b01e in ?? () [06:31:55.595] No symbol table info available. [06:31:55.595] #3 0x000017736824a8ad in ?? () [06:31:55.595] No symbol table info available. [06:31:55.595] #4 0x000017736824a33d in ?? () [06:31:55.595] No symbol table info available. [06:31:55.595] #5 0x0000177b89040408 in ?? () [06:31:55.595] No symbol table info available. [06:31:55.595] #6 0x0000000000000000 in ?? () [06:31:55.595] No symbol table info available.