[19:09:26.884] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [19:09:27.200] dumping /tmp/cores/postgres.12210.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:09:27.331] [New LWP 101726] [19:09:27.414] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [19:09:27.414] Program terminated with signal SIGQUIT, Quit. [19:09:27.414] Sent by thr_kill() from pid 12210 and user 1003. [19:09:27.414] #0 0x000000082d3738fa in _sigprocmask () from /lib/libc.so.7 [19:09:27.463] [19:09:27.463] Thread 1 (LWP 101726): [19:09:27.463] #0 0x000000082d3738fa in _sigprocmask () from /lib/libc.so.7 [19:09:27.463] No symbol table info available. [19:09:27.463] #1 0x000000082d3acf91 in _system () from /lib/libc.so.7 [19:09:27.463] No symbol table info available. [19:09:27.463] #2 0x000000082a3349d3 in ?? () from /lib/libthr.so.3 [19:09:27.463] No symbol table info available. [19:09:27.463] #3 0x00000000006711d5 in RestoreArchivedFile (path=path@entry=0x821a611d0 "P\022\246!\b", xlogfname=xlogfname@entry=0x821a61620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [19:09:27.463] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t`6\b\000\000\000\210\026\246!\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`6\b\000\000\000\370\217\2337\b\000\000\000(\217\2337\b\000\000\000 \217\2337\b\000\000\000 \212\2337\b\000\000\000\000\340\344\000\000\000\000\000\000\300\0227\b\000\000\000\000\020\n\000\000\000\000\000 \r\246!\b\000\000\000 \r\246!\b", '\000' , "\350\016\246!\b\000\000\000h\r\246!\b\000\000\000\b\000\000\0000\000\000\000"... [19:09:27.463] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\f\246!\b\000\000\000`\n\246!\b", '\000' , "\240VB-\b", '\000' , "\305Q\257\000\000\000\000\000\300\t\246!\b\000\000\0000\000\000\000\000\000\000\000\210\020\246!\b", '\000' , "p\t\246!\b\000\000\000\023U\257", '\000' , "\305Q\257\000\000\000\000\000\210\020\246!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [19:09:27.463] stat_buf = {st_dev = 34924271056, st_ino = 34924271136, st_nlink = 12304304, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 564531648, st_padding1 = 8, st_rdev = 35117786599, st_atim = {tv_sec = 35282511103, tv_nsec = 12469072}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34924271104}, st_size = 34924270128, st_blocks = 11548243, st_blksize = 707919939, st_flags = 8, st_gen = 34941149832, st_spare = {35117097528, 34941129736, 34924270056, 34924270504, 34924270032, 2819832360098, 2616073, 134090501, 206158430240, 34924270032}} [19:09:27.463] restartRedoPtr = 33554472 [19:09:27.463] restartTli = 1 [19:09:27.463] restartSegNo = [19:09:27.463] xlogRestoreCmd = 0x8370f5438 "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\"" [19:09:27.463] rc = [19:09:27.463] #4 0x000000000067c84e 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 [19:09:27.463] xlogfname = "00000002", '0' , "4\000\026\246!\b\000\000\000p\026\246!\b\000\000\000\365\3516-\b\000\000\000\000/\000\000\000\000\000\000T\000\000\000\000\000\000" [19:09:27.463] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240VB-\b\000\000\000@\026\246!\b\000\000\000\257\3526-\b\000\000\000\211z}g\000\000\000\000\244\322R\0175\016\247\203" [19:09:27.463] path = "P\022\246!\b\000\000\000s*\033\213\220\002\000\000\030\000\000\0000", '\000' , "8\260\247\"\b\000\000\000\001\000\000\000\000\000\000\000\bT\247\"\b\000\000\0008b$-\b\000\000\000\250\024\246!\b\000\000\000\360\023\246!\b\000\000\000`\022\246!\b", '\000' , "\b\340\246\"\b\000\000\000 \000\000\000\000\000\000\000\340\023\246!\b\000\000\000\347\312\032\213\220\002\000\000\b\340\246\"\b\000\000\000\b\344\246\"\b\000\000\000\b\350\246\"\b\000\000\000\b\354\246\"\b\000\000\000\b \247\"\b\000\000\000\b$\247\"\b\000\000\000\b(\247\"\b\000\000\000"... [19:09:27.463] fd = [19:09:27.463] #5 0x000000000067859c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4338 [19:09:27.463] hent = [19:09:27.463] tli = 2 [19:09:27.463] cell__state = {l = 0x8370f5a58, i = 0} [19:09:27.463] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001u8\a\370\254\316 k\220\000\2315\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\240VB-\b\000\000\000\220\027\246!\b\000\000\000\353\354:-\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' , "u8\a\370\254\316 k\000@\0007\b\000\000\000@\000\b\000\000\000\000\000"... [19:09:27.463] tles = 0x8370f5a58 [19:09:27.463] cell = [19:09:27.463] fd = [19:09:27.463] cell__state = [19:09:27.463] hent = [19:09:27.463] tli = [19:09:27.463] beginseg = [19:09:27.463] __error = [19:09:27.463] __error = [19:09:27.463] #6 WaitForWALToBecomeAvailable (RecPtr=67210824, tliRecPtr=67210800, replayTLI=2, replayLSN=67210800, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3772 [19:09:27.463] startWalReceiver = [19:09:27.463] streaming_reply_sent = true [19:09:27.463] now = [19:09:27.463] startWalReceiver = [19:09:27.463] oldSource = [19:09:27.463] wait_time = [19:09:27.463] __error = [19:09:27.463] __error = [19:09:27.463] __error = [19:09:27.463] havedata = [19:09:27.463] ptr = [19:09:27.463] tli = [19:09:27.463] __error = [19:09:27.463] latestChunkStart = [19:09:27.463] __error = [19:09:27.463] #7 XLogPageRead (xlogreader=0x837005130, targetPagePtr=67207168, reqLen=3656, targetRecPtr=67210800, readBuf=0x8370f1af8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [19:09:27.463] private = 0x837005110 [19:09:27.463] emode = 15 [19:09:27.463] targetSegNo = 4 [19:09:27.463] targetPageOff = 98304 [19:09:27.463] r = [19:09:27.463] #8 0x000000000067f532 in ReadPageInternal (state=state@entry=0x837005130, pageptr=67207168, reqLen=3656) at ../src/backend/access/transam/xlogreader.c:1060 [19:09:27.463] targetSegNo = 4 [19:09:27.463] targetPageOff = 98304 [19:09:27.463] readLen = [19:09:27.463] hdr = [19:09:27.463] err = [19:09:27.463] #9 0x000000000067e3a2 in XLogDecodeNextRecord (state=0x837005130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [19:09:27.463] errormsg = 0x2e700000300 [19:09:27.463] randAccess = [19:09:27.463] decoded = 0x0 [19:09:27.463] RecPtr = 67210800 [19:09:27.463] assembled = false [19:09:27.463] targetPagePtr = 34924267456 [19:09:27.463] readOff = [19:09:27.463] record = [19:09:27.463] gotheader = [19:09:27.463] targetRecOff = 3632 [19:09:27.463] pageHeaderSize = [19:09:27.463] len = [19:09:27.463] total_len = [19:09:27.463] buffer = [19:09:27.463] gotlen = [19:09:27.463] pageHeader = [19:09:27.463] contdata = [19:09:27.463] save_copy = [19:09:27.463] #10 XLogReadAhead (state=0x837005130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [19:09:27.463] result = [19:09:27.463] #11 0x0000000000675af8 in XLogPrefetcherNextBlock (pgsr_private=35283483400, lsn=0x837121c88) at ../src/backend/access/transam/xlogprefetcher.c:490 [19:09:27.463] nonblocking = false [19:09:27.463] record = 0x0 [19:09:27.463] prefetcher = 0x8370f3b08 [19:09:27.463] reader = 0x837005130 [19:09:27.463] replaying_lsn = 67210392 [19:09:27.463] #12 0x0000000000675762 in lrq_prefetch (lrq=0x8371219e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [19:09:27.463] No locals. [19:09:27.463] #13 lrq_complete_lsn (lrq=0x8371219e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [19:09:27.463] No locals. [19:09:27.463] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8370f3b08, errmsg=errmsg@entry=0x821a65d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [19:09:27.463] replayed_up_to = [19:09:27.463] record = [19:09:27.463] #15 0x000000000067928a in ReadRecord (xlogprefetcher=0x8370f3b08, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [19:09:27.463] errormsg = 0x0 [19:09:27.463] xlogreader = 0x837005130 [19:09:27.463] private = [19:09:27.463] record = [19:09:27.463] #16 0x0000000000679b69 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [19:09:27.463] ru0 = {tv = {tv_sec = 1736276616, tv_usec = 363746}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1550}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 151, 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}} [19:09:27.463] xtime = [19:09:27.463] reachedRecoveryTarget = false [19:09:27.463] replayTLI = 2 [19:09:27.463] record = [19:09:27.463] #17 0x000000000066a503 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [19:09:27.463] wasShutdown = false [19:09:27.463] haveTblspcMap = false [19:09:27.463] haveBackupLabel = true [19:09:27.463] promoted = false [19:09:27.463] didCrash = [19:09:27.463] 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} [19:09:27.463] oldestActiveXID = [19:09:27.463] performedWalRecovery = [19:09:27.463] endOfRecoveryInfo = [19:09:27.463] EndOfLog = [19:09:27.463] EndOfLogTLI = [19:09:27.463] abortedRecPtr = [19:09:27.463] missingContrecPtr = [19:09:27.463] newTLI = [19:09:27.463] Insert = [19:09:27.463] #18 0x00000000008a085b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [19:09:27.463] No locals. [19:09:27.463] #19 0x000000000089ae85 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 [19:09:27.463] pid = [19:09:27.463] #20 0x000000000089da87 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3711 [19:09:27.463] pmchild = 0x0 [19:09:27.463] pid = [19:09:27.463] #21 0x000000000089d622 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821a6ab38) at ../src/backend/postmaster/postmaster.c:1363 [19:09:27.463] userDoption = [19:09:27.463] listen_addr_saved = false [19:09:27.463] output_config_variable = [19:09:27.463] opt = [19:09:27.463] status = [19:09:27.463] #22 0x00000000007d4d30 in main (argc=4, argv=0x821a6ab38) at ../src/backend/main/main.c:230 [19:09:27.463] do_check_root = [19:09:27.463] dispatch_option = DISPATCH_POSTMASTER