[15:01:07.105] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:01:07.435] dumping /tmp/cores/postgres.13532.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:01:07.573] [New LWP 100163] [15:01:07.659] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [15:01:07.659] Program terminated with signal SIGQUIT, Quit. [15:01:07.659] Sent by thr_kill() from pid 13532 and user 1003. [15:01:07.659] #0 0x0000000829d8c8fa in _sigprocmask () from /lib/libc.so.7 [15:01:07.705] [15:01:07.705] Thread 1 (LWP 100163): [15:01:07.705] #0 0x0000000829d8c8fa in _sigprocmask () from /lib/libc.so.7 [15:01:07.705] No symbol table info available. [15:01:07.705] #1 0x0000000829dc5f91 in _system () from /lib/libc.so.7 [15:01:07.705] No symbol table info available. [15:01:07.705] #2 0x0000000827ebc9d3 in ?? () from /lib/libthr.so.3 [15:01:07.705] No symbol table info available. [15:01:07.705] #3 0x000000000066a3d5 in RestoreArchivedFile (path=path@entry=0x8214be1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8214be5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [15:01:07.705] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t@3\b\000\000\000\210\346K!\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\315@3\b\000\000\000\b̹4\b\000\000\0008˹4\b\000\000\0000˹4\b\000\000\0000ƹ4\b\000\000\000\000\340\344\000\000\000\000\000\000\340\2123\b\000\000\000\000\020\n\000\000\000\000\000 \335K!\b\000\000\000 \335K!\b", '\000' , "\350\336K!\b\000\000\000h\335K!\b\000\000\000\b\000\000\0000\000\000\000\320\341K!"... [15:01:07.705] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\334K!\b\000\000\000`\332K!\b", '\000' , "\240\346\343)\b", '\000' , "u.\257\000\000\000\000\000\300\331K!\b\000\000\0000\000\000\000\000\000\000\000\210\340K!\b", '\000' , "p\331K!\b\000\000\000\3031\257", '\000' , "u.\257\000\000\000\000\000\210\340K!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [15:01:07.705] stat_buf = {st_dev = 90112, st_ino = 2, st_nlink = 34918359488, st_mode = 10499, st_padding0 = 175, st_uid = 0, st_gid = 558621120, st_padding1 = 8, st_rdev = 35061265895, st_atim = {tv_sec = 13739, tv_nsec = 3}, st_mtim = {tv_sec = 35282686924, tv_nsec = 29400}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 153674426349249432, tv_nsec = 34918359472}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35062539936, st_spare = {34918359408, 35061791407, 1738335310, 13451038016377471064, 153674426349249432, 2, 0, 34918359472, 206158430240, 34918359504}} [15:01:07.705] restartRedoPtr = 34918359232 [15:01:07.705] restartTli = 8 [15:01:07.705] restartSegNo = [15:01:07.705] xlogRestoreCmd = 0x833877838 "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:01:07.705] rc = [15:01:07.705] #4 0x0000000000651498 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [15:01:07.705] path = "pg_wal/00000002", '0' , "4", '\000' , "8\300\216!\b\000\000\000\001\000\000\000\000\000\000\000\bd\216!\b\000\000\0008\362\305)\b\000\000\000\250\344K!\b\000\000\000\360\343K!\b\000\000\000`\342K!\b", '\000' , "\b\360\215!\b\000\000\000 \000\000\000\000\000\000\000\340\343K!\b\000\000\000\347*\246\362u\v\000\000\b\360\215!\b\000\000\000\b\364\215!\b\000\000\000\b\370\215!\b\000\000\000\b\374\215!\b\000\000\000\b0\216!\b\000\000\000\b4\216!\b\000\000\000\b8\216!\b\000\000\000"... [15:01:07.705] histfname = "00000003.history\000\346K!\b\000\000\000?]\221", '\000' , "\377\377\377\377\377\377\377\377\230㛙\023\366!\002\000\000\000\000\000\000\000" [15:01:07.705] fd = [15:01:07.705] #5 0x0000000000651558 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [15:01:07.705] newestTLI = 2 [15:01:07.705] probeTLI = 3 [15:01:07.705] #6 0x00000000006757fb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67199064) at ../src/backend/access/transam/xlogrecovery.c:4115 [15:01:07.705] oldtarget = 2 [15:01:07.705] currentTle = 0x0 [15:01:07.705] newtarget = [15:01:07.705] newExpectedTLEs = [15:01:07.705] found = [15:01:07.705] cell = [15:01:07.705] #7 0x0000000000671a43 in WaitForWALToBecomeAvailable (RecPtr=67199088, tliRecPtr=67199064, replayTLI=2, replayLSN=67199064, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3677 [15:01:07.705] startWalReceiver = false [15:01:07.705] streaming_reply_sent = true [15:01:07.705] now = [15:01:07.705] startWalReceiver = [15:01:07.705] oldSource = [15:01:07.705] wait_time = [15:01:07.705] __error = [15:01:07.705] __error = [15:01:07.705] __error = [15:01:07.705] havedata = [15:01:07.705] ptr = [15:01:07.705] tli = [15:01:07.705] __error = [15:01:07.705] latestChunkStart = [15:01:07.705] __error = [15:01:07.705] #8 XLogPageRead (xlogreader=0x833787130, targetPagePtr=67198976, reqLen=112, targetRecPtr=67199064, readBuf=0x833873ef8 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [15:01:07.705] private = 0x833787110 [15:01:07.705] emode = 15 [15:01:07.705] targetSegNo = 4 [15:01:07.705] targetPageOff = 90112 [15:01:07.705] r = [15:01:07.705] #9 0x0000000000678742 in ReadPageInternal (state=state@entry=0x833787130, pageptr=67198976, reqLen=112) at ../src/backend/access/transam/xlogreader.c:1060 [15:01:07.705] targetSegNo = 4 [15:01:07.705] targetPageOff = 90112 [15:01:07.705] readLen = [15:01:07.705] hdr = [15:01:07.705] err = [15:01:07.705] #10 0x00000000006775b2 in XLogDecodeNextRecord (state=0x833787130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [15:01:07.705] errormsg = 0x8214c2c98 "" [15:01:07.705] randAccess = [15:01:07.705] decoded = 0x0 [15:01:07.705] RecPtr = 67199064 [15:01:07.705] assembled = false [15:01:07.705] targetPagePtr = 34918356928 [15:01:07.705] readOff = [15:01:07.705] record = [15:01:07.705] gotheader = [15:01:07.705] targetRecOff = 88 [15:01:07.705] pageHeaderSize = [15:01:07.705] len = [15:01:07.705] total_len = [15:01:07.705] buffer = [15:01:07.705] gotlen = [15:01:07.705] pageHeader = [15:01:07.705] contdata = [15:01:07.705] save_copy = [15:01:07.705] #11 XLogReadAhead (state=0x833787130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [15:01:07.705] result = [15:01:07.705] #12 0x000000000066ecf8 in XLogPrefetcherNextBlock (pgsr_private=35224248072, lsn=0x8338a3e58) at ../src/backend/access/transam/xlogprefetcher.c:490 [15:01:07.705] nonblocking = false [15:01:07.705] record = 0x0 [15:01:07.705] prefetcher = 0x833875f08 [15:01:07.705] reader = 0x833787130 [15:01:07.705] replaying_lsn = 67198632 [15:01:07.705] #13 0x000000000066e962 in lrq_prefetch (lrq=0x8338a3be8) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:01:07.705] No locals. [15:01:07.705] #14 lrq_complete_lsn (lrq=0x8338a3be8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:01:07.705] No locals. [15:01:07.705] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x833875f08, errmsg=errmsg@entry=0x8214c2d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [15:01:07.705] replayed_up_to = [15:01:07.705] record = [15:01:07.705] #16 0x000000000067249a in ReadRecord (xlogprefetcher=0x833875f08, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [15:01:07.705] errormsg = 0x833787940 "" [15:01:07.705] xlogreader = 0x833787130 [15:01:07.705] private = [15:01:07.705] record = [15:01:07.705] #17 0x0000000000672d79 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [15:01:07.705] ru0 = {tv = {tv_sec = 1738335310, tv_usec = 110903}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1150}, 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}} [15:01:07.705] xtime = [15:01:07.705] reachedRecoveryTarget = false [15:01:07.705] replayTLI = 2 [15:01:07.705] record = [15:01:07.705] #18 0x0000000000663703 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [15:01:07.705] wasShutdown = false [15:01:07.705] haveTblspcMap = false [15:01:07.705] haveBackupLabel = true [15:01:07.705] promoted = false [15:01:07.705] didCrash = [15:01:07.705] 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} [15:01:07.705] oldestActiveXID = [15:01:07.705] performedWalRecovery = [15:01:07.705] endOfRecoveryInfo = [15:01:07.705] EndOfLog = [15:01:07.705] EndOfLogTLI = [15:01:07.705] abortedRecPtr = [15:01:07.705] missingContrecPtr = [15:01:07.705] newTLI = [15:01:07.705] Insert = [15:01:07.705] #19 0x000000000089c65b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:01:07.705] No locals. [15:01:07.705] #20 0x00000000008969f5 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:01:07.705] pid = [15:01:07.705] #21 0x00000000008995f7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [15:01:07.705] pmchild = 0x0 [15:01:07.705] pid = [15:01:07.705] #22 0x0000000000899192 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8214c8100) at ../src/backend/postmaster/postmaster.c:1378 [15:01:07.705] userDoption = [15:01:07.705] listen_addr_saved = false [15:01:07.705] output_config_variable = [15:01:07.705] opt = [15:01:07.705] status = [15:01:07.705] #23 0x00000000007cf920 in main (argc=4, argv=0x8214c8100) at ../src/backend/main/main.c:230 [15:01:07.705] do_check_root = [15:01:07.705] dispatch_option = DISPATCH_POSTMASTER