[03:43:44.644] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [03:43:45.011] dumping /tmp/cores/postgres.13453.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [03:43:45.136] [New LWP 101841] [03:43:45.214] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [03:43:45.214] Program terminated with signal SIGQUIT, Quit. [03:43:45.214] Sent by thr_kill() from pid 13453 and user 1003. [03:43:45.214] #0 0x000000082c2d08fa in _sigprocmask () from /lib/libc.so.7 [03:43:45.263] [03:43:45.263] Thread 1 (LWP 101841): [03:43:45.263] #0 0x000000082c2d08fa in _sigprocmask () from /lib/libc.so.7 [03:43:45.263] No symbol table info available. [03:43:45.263] #1 0x000000082c309f91 in _system () from /lib/libc.so.7 [03:43:45.263] No symbol table info available. [03:43:45.263] #2 0x000000082abc59d3 in ?? () from /lib/libthr.so.3 [03:43:45.263] No symbol table info available. [03:43:45.263] #3 0x0000000000665fa5 in RestoreArchivedFile (path=path@entry=0x8218041d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8218045d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [03:43:45.263] xlogpath = "pg_wal/RECOVERYHISTORY", '\000' , "\200\t\3405\b\000\000\000\210F\200!\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\3405\b\000\000\000\3505\3736\b\000\000\000\0305\3736\b\000\000\000\0205\3736\b\000\000\000\0200\3736\b\000\000\000\000\340\344\000\000\000\000\000\000\240^6\b\000\000\000\362\027\n\000\000\000\000\000 =\200!\b\000\000\000 =\200!\b", '\000' , "\350>\200!\b\000\000\000h=\200!\b\000\000\000\b\000\000\0000\000\000\000"... [03:43:45.263] lastRestartPointFname = '0' , "\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260<\200!\b\000\000\000`:\200!\b\000\000\000ECOVERYXLOG\000RY", '\000' , "\240&8,\b", '\000' , "5\215\255\000\000\000\000\000\3009\200!\b\000\000\0000\000\000\000\000\000\000\000\210@\200!\b", '\000' , "p9\200!\b\000\000\000\203\220\255", '\000' , "5\215\255\000\000\000\000\000\210@\200!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [03:43:45.263] stat_buf = {st_dev = 98304, st_ino = 2, st_nlink = 34921791936, st_mode = 34755, st_padding0 = 173, st_uid = 0, st_gid = 562053568, st_padding1 = 8, st_rdev = 35100341735, st_atim = {tv_sec = 13004, tv_nsec = 3}, st_mtim = {tv_sec = 35297830644, tv_nsec = 30464}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = -973604675829577742, tv_nsec = 34921791920}, st_size = 6, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35101615776, st_spare = {34921791856, 35100867247, 1725593982, 10628095000269482028, 17473139397879973874, 2, 0, 34921791920, 206158430240, 34921791952}} [03:43:45.263] restartRedoPtr = 34921791680 [03:43:45.263] restartTli = 8 [03:43:45.263] restartSegNo = [03:43:45.263] xlogRestoreCmd = 0x8365b2f38 "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\"" [03:43:45.263] rc = [03:43:45.263] #4 0x000000000064d038 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [03:43:45.263] path = "pg_wal/00000002", '0' , "4", '\000' , "8@u\"\b\000\000\000\001\000\000\000\000\000\000\000\b\344t\"\b\000\000\00082\032,\b\000\000\000\250D\200!\b\000\000\000\360C\200!\b\000\000\000`B\200!\b", '\000' , "\bpt\"\b\000\000\000 \000\000\000\000\000\000\000\340C\200!\b\000\000\000\347ZbQ\004>\000\000\bpt\"\b\000\000\000\btt\"\b\000\000\000\bxt\"\b\000\000\000\b|t\"\b\000\000\000\b\260t\"\b\000\000\000\b\264t\"\b\000\000\000\b\270t\"\b\000\000\000"... [03:43:45.263] histfname = "00000003.history\000F\200!\b\000\000\000O&\220\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\362DŽ\251\264\017}\362\000\000\000\000\000\000\000" [03:43:45.263] fd = [03:43:45.263] #5 0x000000000064d0f8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [03:43:45.263] newestTLI = 2 [03:43:45.263] probeTLI = 3 [03:43:45.263] #6 0x000000000067142b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67210776) at ../src/backend/access/transam/xlogrecovery.c:4126 [03:43:45.263] oldtarget = 2 [03:43:45.263] currentTle = 0x0 [03:43:45.263] newtarget = [03:43:45.263] newExpectedTLEs = [03:43:45.263] found = [03:43:45.263] cell = [03:43:45.263] #7 0x000000000066d613 in WaitForWALToBecomeAvailable (RecPtr=67210800, tliRecPtr=67210776, replayTLI=2, replayLSN=67210776, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3687 [03:43:45.263] startWalReceiver = false [03:43:45.263] streaming_reply_sent = true [03:43:45.263] now = [03:43:45.263] startWalReceiver = [03:43:45.263] oldSource = [03:43:45.263] wait_time = [03:43:45.263] __error = [03:43:45.263] __error = [03:43:45.263] __error = [03:43:45.263] havedata = [03:43:45.263] ptr = [03:43:45.263] tli = [03:43:45.263] __error = [03:43:45.263] latestChunkStart = [03:43:45.263] __error = [03:43:45.263] #8 XLogPageRead (xlogreader=0x8364c3130, targetPagePtr=67207168, reqLen=3632, targetRecPtr=67210776, readBuf=0x8365af5f8 "\026\321\006") at ../src/backend/access/transam/xlogrecovery.c:3364 [03:43:45.263] private = 0x8364c3110 [03:43:45.263] emode = 15 [03:43:45.263] targetSegNo = 4 [03:43:45.263] targetPageOff = 98304 [03:43:45.263] r = [03:43:45.263] #9 0x0000000000674372 in ReadPageInternal (state=state@entry=0x8364c3130, pageptr=67207168, reqLen=3632) at ../src/backend/access/transam/xlogreader.c:1060 [03:43:45.263] targetSegNo = 4 [03:43:45.263] targetPageOff = 98304 [03:43:45.263] readLen = [03:43:45.263] hdr = [03:43:45.263] err = [03:43:45.263] #10 0x00000000006731e2 in XLogDecodeNextRecord (state=0x8364c3130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [03:43:45.263] errormsg = 0x821808c98 "" [03:43:45.263] randAccess = [03:43:45.263] decoded = 0x0 [03:43:45.263] RecPtr = 67210776 [03:43:45.263] assembled = false [03:43:45.263] targetPagePtr = 34921789376 [03:43:45.263] readOff = [03:43:45.263] record = [03:43:45.263] gotheader = [03:43:45.263] targetRecOff = 3608 [03:43:45.263] pageHeaderSize = [03:43:45.263] len = [03:43:45.263] total_len = [03:43:45.263] buffer = [03:43:45.263] gotlen = [03:43:45.263] pageHeader = [03:43:45.263] contdata = [03:43:45.263] save_copy = [03:43:45.263] #11 XLogReadAhead (state=0x8364c3130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [03:43:45.263] result = [03:43:45.263] #12 0x000000000066a8c8 in XLogPrefetcherNextBlock (pgsr_private=35271677448, lsn=0x8365e0a48) at ../src/backend/access/transam/xlogprefetcher.c:490 [03:43:45.263] nonblocking = false [03:43:45.263] record = 0x0 [03:43:45.263] prefetcher = 0x8365b1608 [03:43:45.263] reader = 0x8364c3130 [03:43:45.263] replaying_lsn = 67210368 [03:43:45.263] #13 0x000000000066a532 in lrq_prefetch (lrq=0x8365e07a8) at ../src/backend/access/transam/xlogprefetcher.c:252 [03:43:45.263] No locals. [03:43:45.263] #14 lrq_complete_lsn (lrq=0x8365e07a8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [03:43:45.263] No locals. [03:43:45.263] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8365b1608, errmsg=errmsg@entry=0x821808d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [03:43:45.263] replayed_up_to = [03:43:45.263] record = [03:43:45.263] #16 0x000000000066e05a in ReadRecord (xlogprefetcher=0x8365b1608, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [03:43:45.263] errormsg = 0x8364c3940 "" [03:43:45.263] xlogreader = 0x8364c3130 [03:43:45.263] private = [03:43:45.263] record = [03:43:45.263] #17 0x000000000066e939 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [03:43:45.263] ru0 = {tv = {tv_sec = 1725593982, tv_usec = 56953}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1307}, 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 = 16, ru_nivcsw = 4}} [03:43:45.263] xtime = [03:43:45.263] reachedRecoveryTarget = false [03:43:45.263] replayTLI = 2 [03:43:45.263] record = [03:43:45.263] #18 0x000000000065f2f3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [03:43:45.263] wasShutdown = false [03:43:45.263] haveTblspcMap = false [03:43:45.263] haveBackupLabel = true [03:43:45.263] promoted = false [03:43:45.263] didCrash = [03:43:45.263] 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 = 739} [03:43:45.263] oldestActiveXID = [03:43:45.263] performedWalRecovery = [03:43:45.263] endOfRecoveryInfo = [03:43:45.263] EndOfLog = [03:43:45.263] EndOfLogTLI = [03:43:45.263] abortedRecPtr = [03:43:45.263] missingContrecPtr = [03:43:45.263] newTLI = [03:43:45.263] Insert = [03:43:45.263] #19 0x000000000088b7eb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [03:43:45.263] No locals. [03:43:45.263] #20 0x0000000000885557 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:274 [03:43:45.263] pid = [03:43:45.263] #21 0x0000000000887ab4 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3731 [03:43:45.263] pid = [03:43:45.263] __error = [03:43:45.263] #22 0x00000000008876f5 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82180de38) at ../src/backend/postmaster/postmaster.c:1338 [03:43:45.263] userDoption = [03:43:45.263] listen_addr_saved = [03:43:45.263] output_config_variable = [03:43:45.263] opt = [03:43:45.263] status = [03:43:45.263] #23 0x00000000007c32cc in main (argc=4, argv=0x82180de38) at ../src/backend/main/main.c:197 [03:43:45.263] do_check_root =