[15:40:43.129] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [15:40:43.572] dumping /tmp/cores/postgres.11882.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [15:40:43.721] [New LWP 101777] [15:40:43.817] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [15:40:43.817] Program terminated with signal SIGQUIT, Quit. [15:40:43.817] Sent by thr_kill() from pid 11882 and user 1003. [15:40:43.817] #0 0x0000000829d7826a in _sigprocmask () from /lib/libc.so.7 [15:40:43.865] [15:40:43.865] Thread 1 (LWP 101777): [15:40:43.865] #0 0x0000000829d7826a in _sigprocmask () from /lib/libc.so.7 [15:40:43.865] No symbol table info available. [15:40:43.865] #1 0x0000000829db3a60 in _system () from /lib/libc.so.7 [15:40:43.865] No symbol table info available. [15:40:43.865] #2 0x000000082a46a0f3 in ?? () from /lib/libthr.so.3 [15:40:43.865] No symbol table info available. [15:40:43.865] #3 0x0000000000626d66 in RestoreArchivedFile (path=path@entry=0x82183b1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x82183b5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=false) at ../src/backend/access/transam/xlogarchive.c:177 [15:40:43.865] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000\020\n\000\000\000\000\000(\037\3324\b\000\000\000@\036\3324\b\000\000\0008\036\3324\b\000\000\0008\031\3324\b\000\000\000\000\340\344\000\000\000\000\000\000\36004\b\000\000\0000\020\n\000\000\000\000\000Ь\203!\b\000\000\000Ь\203!\b\000\000\000\340\373\377\377\377\177\000\000\200\255\203!\b", '\000' , "x1\000\000\000\000\000\000\b\000\000\0000\000\000\000\240\261\203!\b\000\000\000\240\260\203!\b\000\000\000\277\024\310)\b\000\000\000\002\000\000\000\000\000\000\000\t\264\313\367\346?\000\0008\256\203!\b\000\000\000d\374"... [15:40:43.865] lastRestartPointFname = '0' , '\000' , "pg_wal/RECOVE\000Y\000LOG\000RY", '\000' , "\272\f\022\252m\207\222I\360\315\342)\b\000\000\0001\260\0364\b\000\000\0000\252\203!\b\000\000\000r\000\000\000\000\000\000\000\222\222'\000\000\000\000\000\001\000\000\000\000\000\000\000\200\201\000\000\353\003\000\000\354\003\000\000\000\000\000\0009;O\000\000\000\000\000\b\000\000\0000\000\000\000"... [15:40:43.865] stat_buf = {st_dev = 2, st_ino = 11961192, st_nlink = 2, st_mode = 45504, st_padding0 = 8579, st_uid = 8, st_gid = 11069473, st_padding1 = 0, st_rdev = 18374403900871474943, st_atim = {tv_sec = -9187201950435737472, tv_nsec = 2601784}, st_mtim = {tv_sec = 3, tv_nsec = 11995960}, st_ctim = {tv_sec = 35281814028, tv_nsec = 1}, st_birthtim = {tv_sec = 34927940616, tv_nsec = 35234119680}, st_size = 1, st_blocks = 35234120084, st_blksize = 2, st_flags = 0, st_gen = 34922017088, st_spare = {35068996620, 1, 35234119680, 34922017136, 35068993204, 35061723744, 35061723744, 206158430224, 34922017184, 206158430240}} [15:40:43.865] restartRedoPtr = [15:40:43.865] restartTli = [15:40:43.865] restartSegNo = [15:40:43.865] xlogRestoreCmd = 0x8342d8668 "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:40:43.865] rc = [15:40:43.865] #4 0x000000000060e9b8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [15:40:43.865] path = "pg_wal/00000002", '0' , "4\000\000\000\000\000\000\000\000\000\220@{2\b\000\000\000\330X 3\b", '\000' , "\020\266\203!\b\000\000\0004W\336)\b\000\000\000\000\020\000\000\000\000\000\000@", '\000' , "9\000\000\000\000\000\000\000\277\266\203!\b\000\000\000g\266\203!\b\000\000\000\001\000\000\000\000\000\000\000\215\000\313\367\346?\000\000\317\317\317\315\377\377\377\3770000000200000000\b\253\203!\b\000\000\000\000\000\n", '\000' , "\020\000\000\000\000\000\000"... [15:40:43.865] histfname = "00000003.history\000\266\203!\b\000\000\000\377\377\377\377\377\377\377\377P\266\203!\b\000\000\000\362\361\213\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000" [15:40:43.865] fd = [15:40:43.865] #5 0x000000000060ea78 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [15:40:43.865] newestTLI = 2 [15:40:43.865] probeTLI = 3 [15:40:43.865] #6 0x00000000006320eb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209336) at ../src/backend/access/transam/xlogrecovery.c:4113 [15:40:43.865] oldtarget = 2 [15:40:43.865] currentTle = 0x0 [15:40:43.865] newtarget = [15:40:43.865] newExpectedTLEs = [15:40:43.865] found = [15:40:43.865] cell = [15:40:43.865] #7 0x000000000062e335 in WaitForWALToBecomeAvailable (RecPtr=67209360, tliRecPtr=67209336, replayTLI=3, replayLSN=34922014640, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3674 [15:40:43.865] startWalReceiver = false [15:40:43.865] streaming_reply_sent = true [15:40:43.865] now = [15:40:43.865] startWalReceiver = [15:40:43.865] oldSource = [15:40:43.865] wait_time = [15:40:43.865] __error = [15:40:43.865] __error = [15:40:43.865] __error = [15:40:43.865] havedata = [15:40:43.865] ptr = [15:40:43.865] tli = [15:40:43.865] __error = [15:40:43.865] latestChunkStart = [15:40:43.865] __error = [15:40:43.865] #8 XLogPageRead (xlogreader=0x8341eb0b0, targetPagePtr=67207168, reqLen=2192, targetRecPtr=67209336, readBuf=0x8342d4e38 "\024\321\005") at ../src/backend/access/transam/xlogrecovery.c:3351 [15:40:43.865] private = 0x8341eb090 [15:40:43.865] emode = 15 [15:40:43.865] targetSegNo = 4 [15:40:43.865] targetPageOff = 98304 [15:40:43.865] r = [15:40:43.865] #9 0x0000000000635087 in ReadPageInternal (state=state@entry=0x8341eb0b0, pageptr=34922014640, pageptr@entry=67207168, reqLen=2192) at ../src/backend/access/transam/xlogreader.c:1060 [15:40:43.865] targetSegNo = 4 [15:40:43.865] targetPageOff = 98304 [15:40:43.865] readLen = [15:40:43.865] hdr = [15:40:43.865] err = [15:40:43.865] #10 0x0000000000633ea5 in XLogDecodeNextRecord (state=0x8341eb0b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [15:40:43.865] randAccess = [15:40:43.865] decoded = 0x0 [15:40:43.865] RecPtr = 67209336 [15:40:43.865] assembled = false [15:40:43.865] targetPagePtr = 67207168 [15:40:43.865] readOff = [15:40:43.865] record = [15:40:43.865] gotheader = [15:40:43.865] targetRecOff = 2168 [15:40:43.865] pageHeaderSize = [15:40:43.865] len = [15:40:43.865] errormsg = [15:40:43.865] total_len = [15:40:43.865] buffer = [15:40:43.865] gotlen = [15:40:43.865] pageHeader = [15:40:43.865] contdata = [15:40:43.865] save_copy = [15:40:43.865] #11 XLogReadAhead (state=0x8341eb0b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [15:40:43.865] result = [15:40:43.865] #12 0x000000000062b5cc in XLogPrefetcherNextBlock (pgsr_private=35234168544, lsn=0x834304b18) at ../src/backend/access/transam/xlogprefetcher.c:492 [15:40:43.865] nonblocking = false [15:40:43.865] record = 0x0 [15:40:43.865] prefetcher = 0x8341ebee0 [15:40:43.865] reader = 0x8341eb0b0 [15:40:43.865] replaying_lsn = 67208928 [15:40:43.865] #13 0x000000000062b25a in lrq_prefetch (lrq=0x8343048a8) at ../src/backend/access/transam/xlogprefetcher.c:252 [15:40:43.865] No locals. [15:40:43.865] #14 lrq_complete_lsn (lrq=0x8343048a8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [15:40:43.865] No locals. [15:40:43.865] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8341ebee0, errmsg=errmsg@entry=0x82183fd60) at ../src/backend/access/transam/xlogprefetcher.c:1037 [15:40:43.865] replayed_up_to = [15:40:43.865] record = [15:40:43.865] #16 0x000000000062ed6c in ReadRecord (xlogprefetcher=0x8341ebee0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3151 [15:40:43.865] errormsg = 0x8341eb0b0 "@\334b" [15:40:43.865] xlogreader = 0x8341eb0b0 [15:40:43.865] private = [15:40:43.865] record = [15:40:43.865] #17 0x000000000062f649 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [15:40:43.865] ru0 = {tv = {tv_sec = 1711121814, tv_usec = 680361}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1400}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 143, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 21, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 39, ru_nivcsw = 2}} [15:40:43.865] xtime = [15:40:43.865] reachedRecoveryTarget = false [15:40:43.865] replayTLI = 2 [15:40:43.865] record = [15:40:43.865] #18 0x00000000006202f9 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5723 [15:40:43.865] promoted = false [15:40:43.865] didCrash = [15:40:43.865] wasShutdown = [15:40:43.865] haveTblspcMap = [15:40:43.865] haveBackupLabel = [15:40:43.865] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = 1, oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 738} [15:40:43.865] oldestActiveXID = [15:40:43.865] performedWalRecovery = [15:40:43.865] endOfRecoveryInfo = [15:40:43.865] EndOfLog = [15:40:43.865] EndOfLogTLI = [15:40:43.865] abortedRecPtr = [15:40:43.865] missingContrecPtr = [15:40:43.865] newTLI = [15:40:43.865] Insert = [15:40:43.865] #19 0x000000000084b85b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [15:40:43.865] No locals. [15:40:43.865] #20 0x0000000000844c42 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, 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:265 [15:40:43.865] pid = [15:40:43.865] #21 0x00000000008470a5 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3928 [15:40:43.865] pid = [15:40:43.865] __error = [15:40:43.865] #22 0x0000000000846cf6 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821844630) at ../src/backend/postmaster/postmaster.c:1364 [15:40:43.865] userDoption = [15:40:43.865] listen_addr_saved = false [15:40:43.865] output_config_variable = [15:40:43.865] opt = [15:40:43.865] status = [15:40:43.865] #23 0x0000000000782dc5 in main (argc=4, argv=0x821844630) at ../src/backend/main/main.c:197 [15:40:43.865] do_check_root =