[11:09:14.058] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [11:09:14.388] dumping /tmp/cores/postgres.12005.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:09:14.529] [New LWP 101710] [11:09:14.616] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [11:09:14.616] Program terminated with signal SIGQUIT, Quit. [11:09:14.616] Sent by thr_kill() from pid 12005 and user 1003. [11:09:14.616] #0 0x000000082c8818fa in _sigprocmask () from /lib/libc.so.7 [11:09:14.661] [11:09:14.661] Thread 1 (LWP 101710): [11:09:14.661] #0 0x000000082c8818fa in _sigprocmask () from /lib/libc.so.7 [11:09:14.661] No symbol table info available. [11:09:14.661] #1 0x000000082c8baf91 in _system () from /lib/libc.so.7 [11:09:14.661] No symbol table info available. [11:09:14.661] #2 0x000000082bed09d3 in ?? () from /lib/libthr.so.3 [11:09:14.661] No symbol table info available. [11:09:14.661] #3 0x000000000066a3d5 in RestoreArchivedFile (path=path@entry=0x8217431d0 "P2t!\b", xlogfname=xlogfname@entry=0x821743620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [11:09:14.661] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2006\b\000\000\000\2106t!\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̀6\b\000\000\000Xv\3337\b\000\000\000xu\3337\b\000\000\000pu\3337\b\000\000\000pp\3337\b\000\000\000\000\340\344\000\000\000\000\000\000`\3376\b\000\000\000\000\020\n\000\000\000\000\000 -t!\b\000\000\000 -t!\b", '\000' , "\350.t!\b\000\000\000h-t!\b\000\000\000\b\000\000\0000\000\000\000\320"... [11:09:14.661] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260,t!\b\000\000\000`*t!\b", '\000' , "\2406\223,\b", '\000' , "\0050\257\000\000\000\000\000\300)t!\b\000\000\0000\000\000\000\000\000\000\000\2100t!\b", '\000' , "p)t!\b\000\000\000S3\257", '\000' , "\0050\257\000\000\000\000\000\2100t!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [11:09:14.661] stat_buf = {st_dev = 34921002448, st_ino = 34921002528, st_nlink = 12398256, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 561263040, st_padding1 = 8, st_rdev = 35106309607, st_atim = {tv_sec = 35279152383, tv_nsec = 12574368}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34921002496}, st_size = 34921001520, st_blocks = 11539859, st_blksize = 736886851, st_flags = 8, st_gen = 34937336456, st_spare = {35105620536, 34937316360, 34921001448, 34921001896, 34921001424, 62243320351906, 2616992, 134090501, 206158430240, 34921001424}} [11:09:14.661] restartRedoPtr = 33554472 [11:09:14.661] restartTli = 1 [11:09:14.661] restartSegNo = [11:09:14.661] xlogRestoreCmd = 0x836dbf038 "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\"" [11:09:14.661] rc = [11:09:14.661] #4 0x0000000000675a5e 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:4211 [11:09:14.661] xlogfname = "00000002", '0' , "4\0006t!\b\000\000\000p6t!\b\000\000\000\365ɇ,\b\000\000\000\341-\000\000\000\000\000\000m\000\000\000\000\000\000" [11:09:14.661] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\2406\223,\b\000\000\000@6t!\b\000\000\000\257ʇ,\b\000\000\000\005\253\234g\000\000\000\000:\025u\353", [11:09:14.661] path = "P2t!\b\000\000\000s\312\377&\2348\000\000\030\000\000\0000", '\000' , "8\200m\"\b\000\000\000\001\000\000\000\000\000\000\000\b$m\"\b\000\000\0008Bu,\b\000\000\000\2504t!\b\000\000\000\3603t!\b\000\000\000`2t!\b", '\000' , "\b\260l\"\b\000\000\000 \000\000\000\000\000\000\000\3403t!\b\000\000\000\347j\377&\2348\000\000\b\260l\"\b\000\000\000\b\264l\"\b\000\000\000\b\270l\"\b\000\000\000\b\274l\"\b\000\000\000\b\360l\"\b\000\000\000\b\364l\"\b\000\000\000\b\370l\"\b\000\000\000"... [11:09:14.661] fd = [11:09:14.661] #5 0x000000000067179c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4339 [11:09:14.661] hent = [11:09:14.661] tli = 2 [11:09:14.661] cell__state = {l = 0x836dbf658, i = 0} [11:09:14.661] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\235\"\006B\267j9J\220\320\0265\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\2406\223,\b\000\000\000\2207t!\b\000\000\000\353̋,\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' , "\235\"\006B\267j9J\000\000\3156\b\000\000\000@\000\b\000\000\000\000\000\246"... [11:09:14.661] tles = 0x836dbf658 [11:09:14.661] cell = [11:09:14.661] fd = [11:09:14.661] cell__state = [11:09:14.661] hent = [11:09:14.661] tli = [11:09:14.661] beginseg = [11:09:14.661] __error = [11:09:14.661] __error = [11:09:14.661] #6 WaitForWALToBecomeAvailable (RecPtr=67199088, tliRecPtr=67199064, replayTLI=2, replayLSN=67199064, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3773 [11:09:14.661] startWalReceiver = [11:09:14.661] streaming_reply_sent = true [11:09:14.661] now = [11:09:14.661] startWalReceiver = [11:09:14.661] oldSource = [11:09:14.661] wait_time = [11:09:14.661] __error = [11:09:14.661] __error = [11:09:14.661] __error = [11:09:14.661] havedata = [11:09:14.661] ptr = [11:09:14.661] tli = [11:09:14.661] __error = [11:09:14.661] latestChunkStart = [11:09:14.661] __error = [11:09:14.661] #7 XLogPageRead (xlogreader=0x836cd1130, targetPagePtr=67198976, reqLen=112, targetRecPtr=67199064, readBuf=0x836dbb6f8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [11:09:14.661] private = 0x836cd1110 [11:09:14.661] emode = 15 [11:09:14.661] targetSegNo = 4 [11:09:14.661] targetPageOff = 90112 [11:09:14.661] r = [11:09:14.661] #8 0x0000000000678742 in ReadPageInternal (state=state@entry=0x836cd1130, pageptr=67198976, reqLen=112) at ../src/backend/access/transam/xlogreader.c:1060 [11:09:14.661] targetSegNo = 4 [11:09:14.661] targetPageOff = 90112 [11:09:14.661] readLen = [11:09:14.661] hdr = [11:09:14.661] err = [11:09:14.661] #9 0x00000000006775b2 in XLogDecodeNextRecord (state=0x836cd1130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [11:09:14.661] errormsg = 0x2e700000300 [11:09:14.661] randAccess = [11:09:14.661] decoded = 0x0 [11:09:14.661] RecPtr = 67199064 [11:09:14.661] assembled = false [11:09:14.661] targetPagePtr = 34920998848 [11:09:14.661] readOff = [11:09:14.661] record = [11:09:14.661] gotheader = [11:09:14.661] targetRecOff = 88 [11:09:14.661] pageHeaderSize = [11:09:14.661] len = [11:09:14.661] total_len = [11:09:14.661] buffer = [11:09:14.661] gotlen = [11:09:14.661] pageHeader = [11:09:14.661] contdata = [11:09:14.661] save_copy = [11:09:14.661] #10 XLogReadAhead (state=0x836cd1130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [11:09:14.661] result = [11:09:14.661] #11 0x000000000066ecf8 in XLogPrefetcherNextBlock (pgsr_private=35280115464, lsn=0x836dec818) at ../src/backend/access/transam/xlogprefetcher.c:490 [11:09:14.661] nonblocking = false [11:09:14.661] record = 0x0 [11:09:14.661] prefetcher = 0x836dbd708 [11:09:14.661] reader = 0x836cd1130 [11:09:14.661] replaying_lsn = 67198632 [11:09:14.661] #12 0x000000000066e962 in lrq_prefetch (lrq=0x836dec5a8) at ../src/backend/access/transam/xlogprefetcher.c:252 [11:09:14.661] No locals. [11:09:14.661] #13 lrq_complete_lsn (lrq=0x836dec5a8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [11:09:14.661] No locals. [11:09:14.661] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836dbd708, errmsg=errmsg@entry=0x821747d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [11:09:14.661] replayed_up_to = [11:09:14.661] record = [11:09:14.661] #15 0x000000000067249a in ReadRecord (xlogprefetcher=0x836dbd708, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [11:09:14.661] errormsg = 0x0 [11:09:14.661] xlogreader = 0x836cd1130 [11:09:14.661] private = [11:09:14.661] record = [11:09:14.661] #16 0x0000000000672d79 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [11:09:14.661] ru0 = {tv = {tv_sec = 1738320644, tv_usec = 752471}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 926}, 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 = 2}} [11:09:14.661] xtime = [11:09:14.661] reachedRecoveryTarget = false [11:09:14.661] replayTLI = 2 [11:09:14.661] record = [11:09:14.661] #17 0x0000000000663703 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [11:09:14.661] wasShutdown = false [11:09:14.661] haveTblspcMap = false [11:09:14.661] haveBackupLabel = true [11:09:14.661] promoted = false [11:09:14.661] didCrash = [11:09:14.661] 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} [11:09:14.661] oldestActiveXID = [11:09:14.661] performedWalRecovery = [11:09:14.661] endOfRecoveryInfo = [11:09:14.661] EndOfLog = [11:09:14.661] EndOfLogTLI = [11:09:14.661] abortedRecPtr = [11:09:14.661] missingContrecPtr = [11:09:14.661] newTLI = [11:09:14.661] Insert = [11:09:14.661] #18 0x000000000089c7eb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [11:09:14.661] No locals. [11:09:14.661] #19 0x0000000000896b85 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 [11:09:14.661] pid = [11:09:14.661] #20 0x0000000000899787 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [11:09:14.661] pmchild = 0x0 [11:09:14.661] pid = [11:09:14.661] #21 0x0000000000899322 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82174d048) at ../src/backend/postmaster/postmaster.c:1378 [11:09:14.661] userDoption = [11:09:14.661] listen_addr_saved = false [11:09:14.661] output_config_variable = [11:09:14.661] opt = [11:09:14.661] status = [11:09:14.661] #22 0x00000000007cfab0 in main (argc=4, argv=0x82174d048) at ../src/backend/main/main.c:230 [11:09:14.661] do_check_root = [11:09:14.661] dispatch_option = DISPATCH_POSTMASTER