[08:19:05.236] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [08:19:05.595] dumping /tmp/cores/postgres.11231.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [08:19:05.735] [New LWP 101637] [08:19:05.827] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [08:19:05.827] Program terminated with signal SIGQUIT, Quit. [08:19:05.827] Sent by thr_kill() from pid 11231 and user 1003. [08:19:05.827] #0 0x000000082bbef26a in _sigprocmask () from /lib/libc.so.7 [08:19:05.869] [08:19:05.869] Thread 1 (LWP 101637): [08:19:05.869] #0 0x000000082bbef26a in _sigprocmask () from /lib/libc.so.7 [08:19:05.869] No symbol table info available. [08:19:05.869] #1 0x000000082bc2aa60 in _system () from /lib/libc.so.7 [08:19:05.869] No symbol table info available. [08:19:05.869] #2 0x000000082a70a0f3 in ?? () from /lib/libthr.so.3 [08:19:05.869] No symbol table info available. [08:19:05.869] #3 0x0000000000639236 in RestoreArchivedFile (path=path@entry=0x820bb31d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x820bb35d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=false) at ../src/backend/access/transam/xlogarchive.c:177 [08:19:05.869] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\000\020\n\000\000\000\000\000X\232\0326\b\000\000\000p\231\0326\b\000\000\000h\231\0326\b\000\000\000h\224\0326\b\000\000\000\000\340\344\000\000\000\000\000\000P'5\b\000\000\0000\020\n\000\000\000\000\000\320,\273 \b\000\000\000\320,\273 \b\000\000\000\200\200\200\200\200\200\200\2009\001\000\000\000\000\000\000P2\273 \b", '\000' , "\b\000\000\0000\000\000\000\2401\273 \b\000\000\000\2400\273 \b\000\000\000\277\204\257+\b\000\000\000\002\000\000\000\000\000\000\000\t\264\322\3603\r\000\0008.\273 \b\000\000\000"... [08:19:05.869] lastRestartPointFname = '0' , '\000' , "\350\001\253\000\000\000\000\000\376\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\001", '\000' , "0\000\000\000\000\000\000\000\2100\273 \b\000\000\000\264)\273 \b", '\000' , "`)\273 \b\000\000\000\373\004\253\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\0010\273 \b\000\000\000\2100\273 \b\000\000\000"... [08:19:05.869] stat_buf = {st_dev = 2, st_ino = 12118520, st_nlink = 2, st_mode = 12736, st_padding0 = 8379, st_uid = 8, st_gid = 11205761, st_padding1 = 0, st_rdev = 18374403900871474943, st_atim = {tv_sec = -9187201950435737472, tv_nsec = 34908877136}, st_mtim = {tv_sec = 3, tv_nsec = 12153336}, st_ctim = {tv_sec = 35309093772, tv_nsec = 34908877120}, st_birthtim = {tv_sec = 35093652675, tv_nsec = 34908878336}, st_size = 6218233855644532737, st_blocks = -102976747053398278, st_blksize = 78, st_flags = 0, st_gen = 2, st_spare = {0, 34908877232, 35094412784, 34908877184, 35093652477, 1712564163, 2573594806443168816, 206158430224, 34908877216, 206158430240}} [08:19:05.869] restartRedoPtr = [08:19:05.869] restartTli = [08:19:05.869] restartSegNo = [08:19:05.869] xlogRestoreCmd = 0x83523de68 "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\"" [08:19:05.869] rc = [08:19:05.869] #4 0x00000000006206c8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [08:19:05.869] path = "pg_wal/00000002", '0' , "4\000\360\000\000\000\000\000\000\000\000!\0255\b\000\000\000\000 \0255\b", '\000' , "\020\362\271\000\000\000\000\000\000\024\272\000\000\000\000\00002\273 \b\000\000\000\213!\251\000\000\000\000\000@6\273 \b\000\000\000\3436\246\000\000\000\000\000p2\273 \b\000\000\000\0004\273 \b\000\000\000\b\360K!\b\000\000\000 \000\000\000\000\000\000\000\3603\273 \b\000\000\000 [08:19:05.869] #5 0x0000000000620788 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [08:19:05.869] newestTLI = 2 [08:19:05.869] probeTLI = 3 [08:19:05.869] #6 0x000000000064462b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67209312) at ../src/backend/access/transam/xlogrecovery.c:4124 [08:19:05.869] oldtarget = 2 [08:19:05.869] currentTle = 0x0 [08:19:05.869] newtarget = [08:19:05.869] newExpectedTLEs = [08:19:05.869] found = [08:19:05.869] cell = [08:19:05.869] #7 0x0000000000640805 in WaitForWALToBecomeAvailable (RecPtr=67209336, tliRecPtr=67209312, replayTLI=3, replayLSN=34908874672, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3685 [08:19:05.869] startWalReceiver = false [08:19:05.869] streaming_reply_sent = true [08:19:05.869] now = [08:19:05.869] startWalReceiver = [08:19:05.869] oldSource = [08:19:05.869] wait_time = [08:19:05.869] __error = [08:19:05.869] __error = [08:19:05.869] __error = [08:19:05.869] havedata = [08:19:05.869] ptr = [08:19:05.869] tli = [08:19:05.869] __error = [08:19:05.869] latestChunkStart = [08:19:05.869] __error = [08:19:05.869] #8 XLogPageRead (xlogreader=0x8351510b0, targetPagePtr=67207168, reqLen=2168, targetRecPtr=67209312, readBuf=0x83523a638 "\025\321\006") at ../src/backend/access/transam/xlogrecovery.c:3362 [08:19:05.869] private = 0x835151090 [08:19:05.869] emode = 15 [08:19:05.869] targetSegNo = 4 [08:19:05.869] targetPageOff = 98304 [08:19:05.869] r = [08:19:05.869] #9 0x00000000006475c7 in ReadPageInternal (state=state@entry=0x8351510b0, pageptr=34908874672, pageptr@entry=67207168, reqLen=2168) at ../src/backend/access/transam/xlogreader.c:1060 [08:19:05.869] targetSegNo = 4 [08:19:05.869] targetPageOff = 98304 [08:19:05.869] readLen = [08:19:05.869] hdr = [08:19:05.869] err = [08:19:05.869] #10 0x00000000006463e5 in XLogDecodeNextRecord (state=0x8351510b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [08:19:05.869] randAccess = [08:19:05.869] decoded = 0x0 [08:19:05.869] RecPtr = 67209312 [08:19:05.869] assembled = false [08:19:05.869] targetPagePtr = 67207168 [08:19:05.869] readOff = [08:19:05.869] record = [08:19:05.869] gotheader = [08:19:05.869] targetRecOff = 2144 [08:19:05.869] pageHeaderSize = [08:19:05.869] len = [08:19:05.869] errormsg = [08:19:05.869] total_len = [08:19:05.869] buffer = [08:19:05.869] gotlen = [08:19:05.869] pageHeader = [08:19:05.869] contdata = [08:19:05.869] save_copy = [08:19:05.869] #11 XLogReadAhead (state=0x8351510b0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [08:19:05.869] result = [08:19:05.869] #12 0x000000000063da9c in XLogPrefetcherNextBlock (pgsr_private=35250314976, lsn=0x83526ba58) at ../src/backend/access/transam/xlogprefetcher.c:492 [08:19:05.869] nonblocking = false [08:19:05.869] record = 0x0 [08:19:05.869] prefetcher = 0x835151ee0 [08:19:05.869] reader = 0x8351510b0 [08:19:05.869] replaying_lsn = 67208904 [08:19:05.869] #13 0x000000000063d72a in lrq_prefetch (lrq=0x83526b7e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [08:19:05.869] No locals. [08:19:05.869] #14 lrq_complete_lsn (lrq=0x83526b7e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [08:19:05.869] No locals. [08:19:05.869] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835151ee0, errmsg=errmsg@entry=0x820bb7d60) at ../src/backend/access/transam/xlogprefetcher.c:1037 [08:19:05.869] replayed_up_to = [08:19:05.869] record = [08:19:05.869] #16 0x000000000064123c in ReadRecord (xlogprefetcher=0x835151ee0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3162 [08:19:05.869] errormsg = 0x8351518c0 "" [08:19:05.869] xlogreader = 0x8351510b0 [08:19:05.869] private = [08:19:05.869] record = [08:19:05.869] #17 0x0000000000641b19 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [08:19:05.869] ru0 = {tv = {tv_sec = 1712564162, tv_usec = 391739}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1222}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 145, 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}} [08:19:05.869] xtime = [08:19:05.869] reachedRecoveryTarget = false [08:19:05.869] replayTLI = 2 [08:19:05.869] record = [08:19:05.869] #18 0x0000000000632709 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5807 [08:19:05.869] promoted = false [08:19:05.869] didCrash = [08:19:05.869] wasShutdown = [08:19:05.869] haveTblspcMap = [08:19:05.869] haveBackupLabel = [08:19:05.869] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = 1, oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 739} [08:19:05.869] oldestActiveXID = [08:19:05.869] performedWalRecovery = [08:19:05.869] endOfRecoveryInfo = [08:19:05.869] EndOfLog = [08:19:05.869] EndOfLogTLI = [08:19:05.869] abortedRecPtr = [08:19:05.869] missingContrecPtr = [08:19:05.869] newTLI = [08:19:05.869] Insert = [08:19:05.869] #19 0x000000000086612b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [08:19:05.869] No locals. [08:19:05.869] #20 0x000000000085f3d2 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 [08:19:05.869] pid = [08:19:05.869] #21 0x0000000000861975 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3928 [08:19:05.869] pid = [08:19:05.869] __error = [08:19:05.869] #22 0x00000000008615c6 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820bbcec0) at ../src/backend/postmaster/postmaster.c:1364 [08:19:05.869] userDoption = [08:19:05.869] listen_addr_saved = false [08:19:05.869] output_config_variable = [08:19:05.869] opt = [08:19:05.869] status = [08:19:05.869] #23 0x0000000000798ea5 in main (argc=4, argv=0x820bbcec0) at ../src/backend/main/main.c:197 [08:19:05.869] do_check_root =