[07:45:46.034] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [07:45:46.356] dumping /tmp/cores/postgres.14039.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [07:45:46.479] [New LWP 101905] [07:45:46.552] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [07:45:46.552] Program terminated with signal SIGQUIT, Quit. [07:45:46.552] Sent by thr_kill() from pid 14039 and user 1003. [07:45:46.552] #0 0x000000082b28f8fa in _sigprocmask () from /lib/libc.so.7 [07:45:46.594] [07:45:46.594] Thread 1 (LWP 101905): [07:45:46.594] #0 0x000000082b28f8fa in _sigprocmask () from /lib/libc.so.7 [07:45:46.594] No symbol table info available. [07:45:46.594] #1 0x000000082b2c8f91 in _system () from /lib/libc.so.7 [07:45:46.594] No symbol table info available. [07:45:46.594] #2 0x000000082bcd09d3 in ?? () from /lib/libthr.so.3 [07:45:46.594] No symbol table info available. [07:45:46.594] #3 0x0000000000671a95 in RestoreArchivedFile (path=path@entry=0x8213601d0 "P\0026!\b", xlogfname=xlogfname@entry=0x821360620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [07:45:46.594] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2405\b\000\000\000\210\0066!\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͠5\b\000\000\000\310a\0337\b\000\000\000\350`\0337\b\000\000\000\340`\0337\b\000\000\000\340[\0337\b\000\000\000\000\340\344\000\000\000\000\000\000@\2666\b\000\000\000\000\020\n\000\000\000\000\000 \3755!\b\000\000\000 \3755!\b", '\000' , "\350\3765!\b\000\000\000h\3755!\b\000\000\000\b\000\000\0000\000\000\000\320"... [07:45:46.594] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\3745!\b\000\000\000`\3725!\b", '\000' , "\240\0264+\b", '\000' , "\025#\257\000\000\000\000\000\300\3715!\b\000\000\0000\000\000\000\000\000\000\000\210\0006!\b", '\000' , "p\3715!\b\000\000\000c&\257\000\000\000\000\000\001\000\000\000\000\000\000\000\210\0006!\b\000\000\000\210\0006!\b\000\000\000\377\377\377\377\000\000\000\000\001", '\000' ... [07:45:46.594] stat_buf = {st_dev = 34916926928, st_ino = 34916927008, st_nlink = 12291072, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 557187520, st_padding1 = 8, st_rdev = 35083298279, st_atim = {tv_sec = 35276457215, tv_nsec = 12455680}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34916926976}, st_size = 34916926000, st_blocks = 11528467, st_blksize = 734789699, st_flags = 8, st_gen = 34928366216, st_spare = {35082609208, 34928346120, 34916925928, 34916926376, 34916925904, 25594429381794, 2615311, 134090501, 206158430240, 34916925904}} [07:45:46.594] restartRedoPtr = 33554472 [07:45:46.594] restartTli = 1 [07:45:46.594] restartSegNo = [07:45:46.594] xlogRestoreCmd = 0x836b2d538 "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\"" [07:45:46.594] rc = [07:45:46.594] #4 0x000000000067d10e 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:4210 [07:45:46.594] xlogfname = "00000002", '0' , "4\000\0066!\b\000\000\000p\0066!\b\000\000\000\365\251(+\b\000\000\000U6\000\000\000\000\000\000O\000\000\000\000\000\000" [07:45:46.594] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\0264+\b\000\000\000@\0066!\b\000\000\000\257\252(+\b\000\000\000\017\210^g\000\000\000\000r\316\362\243\3677", [07:45:46.594] path = "P\0026!\b\000\000\000s\032\337*G\027\000\000\030\000\000\0000", '\000' , "8\240\344!\b\000\000\000\001\000\000\000\000\000\000\000\bD\344!\b\000\000\0008\"\026+\b\000\000\000\250\0046!\b\000\000\000\360\0036!\b\000\000\000`\0026!\b", '\000' , "\b\320\343!\b\000\000\000 \000\000\000\000\000\000\000\340\0036!\b\000\000\000\347\272\336*G\027\000\000\b\320\343!\b\000\000\000\b\324\343!\b\000\000\000\b\330\343!\b\000\000\000\b\334\343!\b\000\000\000\b\020\344!\b\000\000\000\b\024\344!\b\000\000\000\b\030\344!\b\000\000\000"... [07:45:46.594] fd = [07:45:46.594] #5 0x0000000000678e5c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4338 [07:45:46.594] hent = [07:45:46.594] tli = 2 [07:45:46.594] cell__state = {l = 0x836b2db58, i = 0} [07:45:46.594] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\323\a\343\006\322\034\205ݐ\340\3373\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\240\0264+\b\000\000\000\220\a6!\b\000\000\000\353\254,+\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' , "\323\a\343\006\322\034\205\335\000\340\2436\b\000\000\000@\000\b\000\000\000\000\000V"... [07:45:46.594] tles = 0x836b2db58 [07:45:46.594] cell = [07:45:46.594] fd = [07:45:46.594] cell__state = [07:45:46.594] hent = [07:45:46.594] tli = [07:45:46.594] beginseg = [07:45:46.594] __error = [07:45:46.594] __error = [07:45:46.594] #6 WaitForWALToBecomeAvailable (RecPtr=67211480, tliRecPtr=67211456, replayTLI=2, replayLSN=67211456, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3772 [07:45:46.594] startWalReceiver = [07:45:46.594] streaming_reply_sent = true [07:45:46.594] now = [07:45:46.594] startWalReceiver = [07:45:46.594] oldSource = [07:45:46.594] wait_time = [07:45:46.594] __error = [07:45:46.594] __error = [07:45:46.594] __error = [07:45:46.594] havedata = [07:45:46.594] ptr = [07:45:46.594] tli = [07:45:46.594] __error = [07:45:46.594] latestChunkStart = [07:45:46.594] __error = [07:45:46.594] #7 XLogPageRead (xlogreader=0x836a3f130, targetPagePtr=67207168, reqLen=4312, targetRecPtr=67211456, readBuf=0x836b29bf8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [07:45:46.594] private = 0x836a3f110 [07:45:46.594] emode = 15 [07:45:46.594] targetSegNo = 4 [07:45:46.594] targetPageOff = 98304 [07:45:46.594] r = [07:45:46.594] #8 0x000000000067fdf2 in ReadPageInternal (state=state@entry=0x836a3f130, pageptr=67207168, reqLen=4312) at ../src/backend/access/transam/xlogreader.c:1060 [07:45:46.594] targetSegNo = 4 [07:45:46.594] targetPageOff = 98304 [07:45:46.594] readLen = [07:45:46.594] hdr = [07:45:46.594] err = [07:45:46.594] #9 0x000000000067ec62 in XLogDecodeNextRecord (state=0x836a3f130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [07:45:46.594] errormsg = 0x2e600000300 [07:45:46.594] randAccess = [07:45:46.594] decoded = 0x0 [07:45:46.594] RecPtr = 67211456 [07:45:46.594] assembled = false [07:45:46.594] targetPagePtr = 34916923328 [07:45:46.594] readOff = [07:45:46.594] record = [07:45:46.594] gotheader = [07:45:46.594] targetRecOff = 4288 [07:45:46.594] pageHeaderSize = [07:45:46.594] len = [07:45:46.594] total_len = [07:45:46.594] buffer = [07:45:46.594] gotlen = [07:45:46.594] pageHeader = [07:45:46.594] contdata = [07:45:46.594] save_copy = [07:45:46.594] #10 XLogReadAhead (state=0x836a3f130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [07:45:46.594] result = [07:45:46.594] #11 0x00000000006763b8 in XLogPrefetcherNextBlock (pgsr_private=35277421576, lsn=0x836b5a248) at ../src/backend/access/transam/xlogprefetcher.c:490 [07:45:46.594] nonblocking = false [07:45:46.594] record = 0x0 [07:45:46.594] prefetcher = 0x836b2bc08 [07:45:46.594] reader = 0x836a3f130 [07:45:46.594] replaying_lsn = 67211048 [07:45:46.594] #12 0x0000000000676022 in lrq_prefetch (lrq=0x836b59fa8) at ../src/backend/access/transam/xlogprefetcher.c:252 [07:45:46.594] No locals. [07:45:46.594] #13 lrq_complete_lsn (lrq=0x836b59fa8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [07:45:46.594] No locals. [07:45:46.594] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836b2bc08, errmsg=errmsg@entry=0x821364d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [07:45:46.594] replayed_up_to = [07:45:46.594] record = [07:45:46.594] #15 0x0000000000679b4a in ReadRecord (xlogprefetcher=0x836b2bc08, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [07:45:46.594] errormsg = 0x0 [07:45:46.594] xlogreader = 0x836a3f130 [07:45:46.594] private = [07:45:46.594] record = [07:45:46.594] #16 0x000000000067a429 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [07:45:46.594] ru0 = {tv = {tv_sec = 1734248462, tv_usec = 374456}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1563}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 148, 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}} [07:45:46.594] xtime = [07:45:46.594] reachedRecoveryTarget = false [07:45:46.594] replayTLI = 2 [07:45:46.594] record = [07:45:46.594] #17 0x000000000066adc3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [07:45:46.594] wasShutdown = false [07:45:46.594] haveTblspcMap = false [07:45:46.594] haveBackupLabel = true [07:45:46.594] promoted = false [07:45:46.594] didCrash = [07:45:46.594] 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 = 742} [07:45:46.594] oldestActiveXID = [07:45:46.594] performedWalRecovery = [07:45:46.594] endOfRecoveryInfo = [07:45:46.594] EndOfLog = [07:45:46.594] EndOfLogTLI = [07:45:46.594] abortedRecPtr = [07:45:46.594] missingContrecPtr = [07:45:46.594] newTLI = [07:45:46.594] Insert = [07:45:46.594] #18 0x000000000089f19b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [07:45:46.594] No locals. [07:45:46.594] #19 0x00000000008997c5 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 [07:45:46.594] pid = [07:45:46.594] #20 0x000000000089c3c7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3716 [07:45:46.594] pmchild = 0x0 [07:45:46.594] pid = [07:45:46.594] #21 0x000000000089bf67 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821369f80) at ../src/backend/postmaster/postmaster.c:1368 [07:45:46.594] userDoption = [07:45:46.594] listen_addr_saved = false [07:45:46.594] output_config_variable = [07:45:46.594] opt = [07:45:46.594] status = [07:45:46.594] #22 0x00000000007d39cb in main (argc=4, argv=0x821369f80) at ../src/backend/main/main.c:224 [07:45:46.594] do_check_root = [07:45:46.594] dispatch_option = DISPATCH_POSTMASTER