[13:01:07.168] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [13:01:07.470] dumping /tmp/cores/postgres.13670.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [13:01:07.597] [New LWP 101803] [13:01:07.676] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [13:01:07.676] Program terminated with signal SIGQUIT, Quit. [13:01:07.676] Sent by thr_kill() from pid 13670 and user 1003. [13:01:07.676] #0 0x0000000829a0f8fa in _sigprocmask () from /lib/libc.so.7 [13:01:07.719] [13:01:07.719] Thread 1 (LWP 101803): [13:01:07.719] #0 0x0000000829a0f8fa in _sigprocmask () from /lib/libc.so.7 [13:01:07.719] No symbol table info available. [13:01:07.719] #1 0x0000000829a48f91 in _system () from /lib/libc.so.7 [13:01:07.719] No symbol table info available. [13:01:07.719] #2 0x000000082a5469d3 in ?? () from /lib/libthr.so.3 [13:01:07.719] No symbol table info available. [13:01:07.719] #3 0x0000000000673955 in RestoreArchivedFile (path=path@entry=0x8212901d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8212905d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [13:01:07.719] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\2403\b\000\000\000\210\006)!\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͠3\b\000\000\000Pk\0325\b\000\000\000\200j\0325\b\000\000\000xj\0325\b\000\000\000xe\0325\b\000\000\000\000\340\344\000\000\000\000\000\000p\3114\b\000\000\000\000\020\n\000\000\000\000\000 \375(!\b\000\000\000 \375(!\b", '\000' , "\350\376(!\b\000\000\000h\375(!\b\000\000\000\b\000\000\0000\000\000\000\320"... [13:01:07.719] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\374(!\b\000\000\000`\372(!\b", '\000' , "\240\026\254)\b", '\000' , "E\220\257\000\000\000\000\000\300\371(!\b\000\000\0000\000\000\000\000\000\000\000\210\000)!\b", '\000' , "p\371(!\b\000\000\000\223\223\257", '\000' , "E\220\257\000\000\000\000\000\210\000)!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [13:01:07.719] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34916073920, st_mode = 35539, st_padding0 = 175, st_uid = 0, st_gid = 556335552, st_padding1 = 8, st_rdev = 35057608167, st_atim = {tv_sec = 13877, tv_nsec = 3}, st_mtim = {tv_sec = 35301920900, tv_nsec = 28560}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 1827003070650251318, tv_nsec = 34916073904}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35058882208, st_spare = {34916073840, 35058133679, 1736686523, 9583832659045770087, 1827003070650251318, 2, 0, 34916073904, 206158430240, 34916073936}} [13:01:07.719] restartRedoPtr = 34916073664 [13:01:07.719] restartTli = 8 [13:01:07.719] restartSegNo = [13:01:07.719] xlogRestoreCmd = 0x834c5fbb8 "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\"" [13:01:07.719] rc = [13:01:07.719] #4 0x000000000065ab78 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [13:01:07.719] path = "pg_wal/00000002", '0' , "4", '\000' , "8\260\367!\b\000\000\000\001\000\000\000\000\000\000\000\bT\367!\b\000\000\0008\"\216)\b\000\000\000\250\004)!\b\000\000\000\360\003)!\b\000\000\000`\002)!\b", '\000' , "\b\340\366!\b\000\000\000 \000\000\000\000\000\000\000\340\003)!\b\000\000\000\347\332~\265\360\031\000\000\b\340\366!\b\000\000\000\b\344\366!\b\000\000\000\b\350\366!\b\000\000\000\b\354\366!\b\000\000\000\b \367!\b\000\000\000\b$\367!\b\000\000\000\b(\367!\b\000\000\000"... [13:01:07.719] histfname = "00000003.history\000\006)!\b\000\000\000oܑ\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\0006\370\247\345\234\321Z\031\000\000\000\000\000\000\000" [13:01:07.719] fd = [13:01:07.719] #5 0x000000000065ac38 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [13:01:07.719] newestTLI = 2 [13:01:07.719] probeTLI = 3 [13:01:07.719] #6 0x000000000067ed6b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210792) at ../src/backend/access/transam/xlogrecovery.c:4114 [13:01:07.719] oldtarget = 2 [13:01:07.719] currentTle = 0x0 [13:01:07.719] newtarget = [13:01:07.719] newExpectedTLEs = [13:01:07.719] found = [13:01:07.719] cell = [13:01:07.719] #7 0x000000000067afc3 in WaitForWALToBecomeAvailable (RecPtr=67210816, tliRecPtr=67210792, replayTLI=2, replayLSN=67210792, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3676 [13:01:07.719] startWalReceiver = false [13:01:07.719] streaming_reply_sent = true [13:01:07.719] now = [13:01:07.719] startWalReceiver = [13:01:07.719] oldSource = [13:01:07.719] wait_time = [13:01:07.719] __error = [13:01:07.719] __error = [13:01:07.719] __error = [13:01:07.719] havedata = [13:01:07.719] ptr = [13:01:07.719] tli = [13:01:07.719] __error = [13:01:07.719] latestChunkStart = [13:01:07.719] __error = [13:01:07.719] #8 XLogPageRead (xlogreader=0x834b70130, targetPagePtr=67207168, reqLen=3648, targetRecPtr=67210792, readBuf=0x834c5c278 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3353 [13:01:07.719] private = 0x834b70110 [13:01:07.719] emode = 15 [13:01:07.719] targetSegNo = 4 [13:01:07.719] targetPageOff = 98304 [13:01:07.719] r = [13:01:07.719] #9 0x0000000000681cb2 in ReadPageInternal (state=state@entry=0x834b70130, pageptr=67207168, reqLen=3648) at ../src/backend/access/transam/xlogreader.c:1060 [13:01:07.719] targetSegNo = 4 [13:01:07.719] targetPageOff = 98304 [13:01:07.719] readLen = [13:01:07.719] hdr = [13:01:07.719] err = [13:01:07.719] #10 0x0000000000680b22 in XLogDecodeNextRecord (state=0x834b70130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [13:01:07.719] errormsg = 0x821294c98 "" [13:01:07.719] randAccess = [13:01:07.719] decoded = 0x0 [13:01:07.719] RecPtr = 67210792 [13:01:07.719] assembled = false [13:01:07.719] targetPagePtr = 34916071360 [13:01:07.719] readOff = [13:01:07.719] record = [13:01:07.719] gotheader = [13:01:07.719] targetRecOff = 3624 [13:01:07.719] pageHeaderSize = [13:01:07.719] len = [13:01:07.719] total_len = [13:01:07.719] buffer = [13:01:07.719] gotlen = [13:01:07.719] pageHeader = [13:01:07.719] contdata = [13:01:07.719] save_copy = [13:01:07.719] #11 XLogReadAhead (state=0x834b70130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [13:01:07.719] result = [13:01:07.719] #12 0x0000000000678278 in XLogPrefetcherNextBlock (pgsr_private=35245122184, lsn=0x834c8d248) at ../src/backend/access/transam/xlogprefetcher.c:490 [13:01:07.719] nonblocking = false [13:01:07.719] record = 0x0 [13:01:07.719] prefetcher = 0x834c5e288 [13:01:07.719] reader = 0x834b70130 [13:01:07.719] replaying_lsn = 67210384 [13:01:07.719] #13 0x0000000000677ee2 in lrq_prefetch (lrq=0x834c8cfa8) at ../src/backend/access/transam/xlogprefetcher.c:252 [13:01:07.719] No locals. [13:01:07.719] #14 lrq_complete_lsn (lrq=0x834c8cfa8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [13:01:07.719] No locals. [13:01:07.719] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834c5e288, errmsg=errmsg@entry=0x821294d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [13:01:07.719] replayed_up_to = [13:01:07.719] record = [13:01:07.719] #16 0x000000000067ba0a in ReadRecord (xlogprefetcher=0x834c5e288, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [13:01:07.719] errormsg = 0x834b70940 "" [13:01:07.719] xlogreader = 0x834b70130 [13:01:07.719] private = [13:01:07.719] record = [13:01:07.719] #17 0x000000000067c2e9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [13:01:07.719] ru0 = {tv = {tv_sec = 1736686522, tv_usec = 885573}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 864}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 147, 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}} [13:01:07.719] xtime = [13:01:07.719] reachedRecoveryTarget = false [13:01:07.719] replayTLI = 2 [13:01:07.719] record = [13:01:07.719] #18 0x000000000066cc83 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [13:01:07.719] wasShutdown = false [13:01:07.720] haveTblspcMap = false [13:01:07.720] haveBackupLabel = true [13:01:07.720] promoted = false [13:01:07.720] didCrash = [13:01:07.720] 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} [13:01:07.720] oldestActiveXID = [13:01:07.720] performedWalRecovery = [13:01:07.720] endOfRecoveryInfo = [13:01:07.720] EndOfLog = [13:01:07.720] EndOfLogTLI = [13:01:07.720] abortedRecPtr = [13:01:07.720] missingContrecPtr = [13:01:07.720] newTLI = [13:01:07.720] Insert = [13:01:07.720] #19 0x00000000008a47cb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [13:01:07.720] No locals. [13:01:07.720] #20 0x000000000089e675 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 [13:01:07.720] pid = [13:01:07.720] #21 0x00000000008a1277 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3791 [13:01:07.720] pmchild = 0x0 [13:01:07.720] pid = [13:01:07.720] #22 0x00000000008a0e12 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821299618) at ../src/backend/postmaster/postmaster.c:1369 [13:01:07.720] userDoption = [13:01:07.720] listen_addr_saved = false [13:01:07.720] output_config_variable = [13:01:07.720] opt = [13:01:07.720] status = [13:01:07.720] #23 0x00000000007d81c0 in main (argc=4, argv=0x821299618) at ../src/backend/main/main.c:230 [13:01:07.720] do_check_root = [13:01:07.720] dispatch_option = DISPATCH_POSTMASTER