[00:11:31.773] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [00:11:32.097] dumping /tmp/cores/postgres.11791.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:11:32.231] [New LWP 101697] [00:11:32.312] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [00:11:32.312] Program terminated with signal SIGQUIT, Quit. [00:11:32.312] Sent by thr_kill() from pid 11791 and user 1003. [00:11:32.312] #0 0x000000082c4018fa in _sigprocmask () from /lib/libc.so.7 [00:11:32.355] [00:11:32.355] Thread 1 (LWP 101697): [00:11:32.355] #0 0x000000082c4018fa in _sigprocmask () from /lib/libc.so.7 [00:11:32.355] No symbol table info available. [00:11:32.355] #1 0x000000082c43af91 in _system () from /lib/libc.so.7 [00:11:32.355] No symbol table info available. [00:11:32.355] #2 0x000000082ae949d3 in ?? () from /lib/libthr.so.3 [00:11:32.355] No symbol table info available. [00:11:32.355] #3 0x000000000066b2c5 in RestoreArchivedFile (path=path@entry=0x8213191d0 "P\2221!\b", xlogfname=xlogfname@entry=0x821319620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [00:11:32.355] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t`5\b\000\000\000\210\2261!\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`5\b\000\000\000p\344\3725\b\000\000\000\240\343\3725\b\000\000\000\230\343\3725\b\000\000\000\230\336\3725\b\000\000\000\000\340\344\000\000\000\000\000\000\260\2735\b\000\000\000\000\020\n\000\000\000\000\000 \2151!\b\000\000\000 \2151!\b", '\000' , "\350\2161!\b\000\000\000h\2151!\b\000\000\000\b\000\000\0000\000\000\000"... [00:11:32.355] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\2141!\b\000\000\000`\2121!\b", '\000' , "\2406K,\b", '\000' , "uQ\257\000\000\000\000\000\300\2111!\b\000\000\0000\000\000\000\000\000\000\000\210\2201!\b", '\000' , "p\2111!\b\000\000\000\303T\257", '\000' , "uQ\257\000\000\000\000\000\210\2201!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [00:11:32.355] stat_buf = {st_dev = 34916636112, st_ino = 34916636192, st_nlink = 12406960, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 556896704, st_padding1 = 8, st_rdev = 35101591015, st_atim = {tv_sec = 35260028159, tv_nsec = 12609216}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34916636160}, st_size = 34916635184, st_blocks = 11548403, st_blksize = 719847491, st_flags = 8, st_gen = 34930434696, st_spare = {35100901944, 34930414600, 34916635112, 34916635560, 34916635088, 47155191348386, 2617436, 134090501, 206158430240, 34916635088}} [00:11:32.355] restartRedoPtr = 33554472 [00:11:32.355] restartTli = 1 [00:11:32.355] restartSegNo = [00:11:32.355] xlogRestoreCmd = 0x835b83b78 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000002", '0' , "4\" \"pg_wal/RECOVERYXLOG\"" [00:11:32.355] rc = [00:11:32.355] #4 0x000000000067699e in XLogFileRead (segno=segno@entry=4, tli=tli@entry=2, source=source@entry=XLOG_FROM_ARCHIVE, notfoundOk=true) at ../src/backend/access/transam/xlogrecovery.c:4223 [00:11:32.355] xlogfname = "00000002", '0' , "4\000\2261!\b\000\000\000p\2261!\b\000\000\000\365\311?,\b\000\000\000\003-\000\000\000\000\000\000\227\000\000\000\000\000\000" [00:11:32.355] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\2406K,\b\000\000\000@\2261!\b\000\000\000\257\312?,\b\000\000\000ߟ\246g\000\000\000\000Z\241\277\335i\277~\267" [00:11:32.355] path = "P\2221!\b\000\000\000s\372m,\343*\000\000\030\000\000\0000", '\000' , "80\004\"\b\000\000\000\001\000\000\000\000\000\000\000\b\324\003\"\b\000\000\0008B-,\b\000\000\000\250\2241!\b\000\000\000\360\2231!\b\000\000\000`\2221!\b", '\000' , "\b`\003\"\b\000\000\000 \000\000\000\000\000\000\000\340\2231!\b\000\000\000\347\232m,\343*\000\000\b`\003\"\b\000\000\000\bd\003\"\b\000\000\000\bh\003\"\b\000\000\000\bl\003\"\b\000\000\000\b\240\003\"\b\000\000\000\b\244\003\"\b\000\000\000\b\250\003\"\b\000\000\000"... [00:11:32.355] fd = [00:11:32.355] #5 0x000000000067267c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4351 [00:11:32.355] hent = [00:11:32.355] tli = 2 [00:11:32.355] cell__state = {l = 0x835b84198, i = 0} [00:11:32.355] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\376\243\374\005P\200\177P\220\020-4\b\000\000\0009\000\000\000\000\000\000\000\000\000\n\000\000\000\000\000@\000\b\000\000\000\000\000\2406K,\b\000\000\000\220\2271!\b\000\000\000\353\314C,\b", '\000' , "\002", '\000' , "\001\000\000\000\001\377\377\377\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\376\243\374\005P\200\177P\0000\2515\b\000\000\000@\000\b\000\000\000\000\000"... [00:11:32.355] tles = 0x835b84198 [00:11:32.355] cell = [00:11:32.355] fd = [00:11:32.355] cell__state = [00:11:32.355] hent = [00:11:32.355] tli = [00:11:32.355] beginseg = [00:11:32.355] __error = [00:11:32.355] __error = [00:11:32.355] #6 WaitForWALToBecomeAvailable (RecPtr=67199088, tliRecPtr=67199064, replayTLI=2, replayLSN=67199064, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3785 [00:11:32.355] startWalReceiver = [00:11:32.355] streaming_reply_sent = true [00:11:32.355] now = [00:11:32.355] startWalReceiver = [00:11:32.355] oldSource = [00:11:32.355] wait_time = [00:11:32.355] __error = [00:11:32.355] __error = [00:11:32.355] __error = [00:11:32.355] havedata = [00:11:32.355] ptr = [00:11:32.355] tli = [00:11:32.355] __error = [00:11:32.355] latestChunkStart = [00:11:32.355] __error = [00:11:32.355] #7 XLogPageRead (xlogreader=0x835a94130, targetPagePtr=67198976, reqLen=112, targetRecPtr=67199064, readBuf=0x835b80238 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3355 [00:11:32.355] private = 0x835a94110 [00:11:32.355] emode = 15 [00:11:32.355] targetSegNo = 4 [00:11:32.355] targetPageOff = 90112 [00:11:32.355] io_start = [00:11:32.355] r = [00:11:32.355] #8 0x0000000000679682 in ReadPageInternal (state=state@entry=0x835a94130, pageptr=67198976, reqLen=112) at ../src/backend/access/transam/xlogreader.c:1061 [00:11:32.355] targetSegNo = 4 [00:11:32.355] targetPageOff = 90112 [00:11:32.355] readLen = [00:11:32.355] hdr = [00:11:32.355] err = [00:11:32.355] #9 0x00000000006784f2 in XLogDecodeNextRecord (state=0x835a94130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [00:11:32.355] errormsg = 0x2e700000300 [00:11:32.355] randAccess = [00:11:32.355] decoded = 0x0 [00:11:32.355] RecPtr = 67199064 [00:11:32.355] assembled = false [00:11:32.355] targetPagePtr = 34916632512 [00:11:32.355] readOff = [00:11:32.355] record = [00:11:32.355] gotheader = [00:11:32.355] targetRecOff = 88 [00:11:32.355] pageHeaderSize = [00:11:32.355] len = [00:11:32.355] total_len = [00:11:32.355] buffer = [00:11:32.355] gotlen = [00:11:32.355] pageHeader = [00:11:32.355] contdata = [00:11:32.355] save_copy = [00:11:32.355] #10 XLogReadAhead (state=0x835a94130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [00:11:32.355] result = [00:11:32.355] #11 0x000000000066fbe8 in XLogPrefetcherNextBlock (pgsr_private=35260998216, lsn=0x835bb0e18) at ../src/backend/access/transam/xlogprefetcher.c:490 [00:11:32.355] nonblocking = false [00:11:32.355] record = 0x0 [00:11:32.355] prefetcher = 0x835b82248 [00:11:32.355] reader = 0x835a94130 [00:11:32.355] replaying_lsn = 67198632 [00:11:32.355] #12 0x000000000066f852 in lrq_prefetch (lrq=0x835bb0ba8) at ../src/backend/access/transam/xlogprefetcher.c:252 [00:11:32.355] No locals. [00:11:32.355] #13 lrq_complete_lsn (lrq=0x835bb0ba8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [00:11:32.355] No locals. [00:11:32.355] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835b82248, errmsg=errmsg@entry=0x82131dd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [00:11:32.355] replayed_up_to = [00:11:32.355] record = [00:11:32.355] #15 0x00000000006733da in ReadRecord (xlogprefetcher=0x835b82248, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3154 [00:11:32.355] errormsg = 0x0 [00:11:32.355] xlogreader = 0x835a94130 [00:11:32.355] private = [00:11:32.355] record = [00:11:32.355] #16 0x0000000000673cb9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1833 [00:11:32.355] ru0 = {tv = {tv_sec = 1738973150, tv_usec = 986255}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 887}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 158, 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 = 3}} [00:11:32.355] xtime = [00:11:32.355] reachedRecoveryTarget = false [00:11:32.355] replayTLI = 2 [00:11:32.355] record = [00:11:32.355] #17 0x00000000006645d3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5869 [00:11:32.355] wasShutdown = false [00:11:32.355] haveTblspcMap = false [00:11:32.355] haveBackupLabel = true [00:11:32.355] promoted = false [00:11:32.355] didCrash = [00:11:32.355] 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} [00:11:32.355] oldestActiveXID = [00:11:32.355] performedWalRecovery = [00:11:32.355] endOfRecoveryInfo = [00:11:32.355] EndOfLog = [00:11:32.355] EndOfLogTLI = [00:11:32.355] abortedRecPtr = [00:11:32.355] missingContrecPtr = [00:11:32.355] newTLI = [00:11:32.355] Insert = [00:11:32.355] #18 0x000000000089e56b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [00:11:32.355] No locals. [00:11:32.355] #19 0x0000000000898905 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 [00:11:32.355] pid = [00:11:32.355] #20 0x000000000089b507 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [00:11:32.355] pmchild = 0x0 [00:11:32.355] pid = [00:11:32.355] #21 0x000000000089b0a2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821322de0) at ../src/backend/postmaster/postmaster.c:1378 [00:11:32.355] userDoption = [00:11:32.355] listen_addr_saved = false [00:11:32.355] output_config_variable = [00:11:32.355] opt = [00:11:32.355] status = [00:11:32.355] #22 0x00000000007d1550 in main (argc=4, argv=0x821322de0) at ../src/backend/main/main.c:230 [00:11:32.355] do_check_root = [00:11:32.355] dispatch_option = DISPATCH_POSTMASTER