[18:59:43.571] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [18:59:43.914] dumping /tmp/cores/postgres.14007.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [18:59:44.054] [New LWP 101928] [18:59:44.140] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [18:59:44.140] Program terminated with signal SIGQUIT, Quit. [18:59:44.140] Sent by thr_kill() from pid 14007 and user 1003. [18:59:44.140] #0 0x000000082b46f8fa in _sigprocmask () from /lib/libc.so.7 [18:59:44.190] [18:59:44.190] Thread 1 (LWP 101928): [18:59:44.190] #0 0x000000082b46f8fa in _sigprocmask () from /lib/libc.so.7 [18:59:44.190] No symbol table info available. [18:59:44.190] #1 0x000000082b4a8f91 in _system () from /lib/libc.so.7 [18:59:44.190] No symbol table info available. [18:59:44.190] #2 0x000000082ab959d3 in ?? () from /lib/libthr.so.3 [18:59:44.190] No symbol table info available. [18:59:44.190] #3 0x000000000066dfa5 in RestoreArchivedFile (path=path@entry=0x8214ed1d0 "P\322N!\b", xlogfname=xlogfname@entry=0x8214ed620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [18:59:44.190] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2006\b\000\000\000\210\326N!\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\000̀6\b\000\000\000`u{7\b\000\000\000\210t{7\b\000\000\000\200t{7\b\000\000\000\200o{7\b\000\000\000\000\340\344\000\000\000\000\000\000\200\3356\b\000\000\000\000\020\n\000\000\000\000\000 \315N!\b\000\000\000 \315N!\b", '\000' , "\350\316N!\b\000\000\000h\315N!\b\000\000\000\b\000\000\0000\000\000\000\320"... [18:59:44.190] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\314N!\b\000\000\000`\312N!\b", '\000' , "\240\026R+\b", '\000' , "u¯\000\000\000\000\000\300\311N!\b\000\000\0000\000\000\000\000\000\000\000\210\320N!\b", '\000' , "p\311N!\b\000\000\000\303ů", '\000' , "u¯\000\000\000\000\000\210\320N!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [18:59:44.190] stat_buf = {st_dev = 34918553040, st_ino = 34918553120, st_nlink = 12437776, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 558813632, st_padding1 = 8, st_rdev = 35085264359, st_atim = {tv_sec = 35279025407, tv_nsec = 12640576}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34918553088}, st_size = 34918552112, st_blocks = 11577331, st_blksize = 716767299, st_flags = 8, st_gen = 34925445768, st_spare = {35084575288, 34925425672, 34918552040, 34918552488, 34918552016, 52294565145762, 2618395, 134090501, 206158430240, 34918552016}} [18:59:44.190] restartRedoPtr = 33554472 [18:59:44.190] restartTli = 1 [18:59:44.190] restartSegNo = [18:59:44.190] xlogRestoreCmd = 0x836dbc4b8 "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\"" [18:59:44.190] rc = [18:59:44.190] #4 0x000000000067967e 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 [18:59:44.190] xlogfname = "00000002", '0' , "4\000\326N!\b\000\000\000p\326N!\b\000\000\000\365\251F+\b\000\000\000\2625\000\000\000\000\000\000\217\000\000\000\000\000\000" [18:59:44.190] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\026R+\b\000\000\000@\326N!\b\000\000\000\257\252F+\b\000\000\000\273(\266g\000\000\000\000\312C\241\275\362{\243\200" [18:59:44.190] path = "P\322N!\b\000\000\000s\252\372Ə/\000\000\030\000\000\0000", '\000' , "8\020\270!\b\000\000\000\001\000\000\000\000\000\000\000\b\264\267!\b\000\000\0008\"4+\b\000\000\000\250\324N!\b\000\000\000\360\323N!\b\000\000\000`\322N!\b", '\000' , "\b@\267!\b\000\000\000 \000\000\000\000\000\000\000\340\323N!\b\000\000\000\347J\372Ə/\000\000\b@\267!\b\000\000\000\bD\267!\b\000\000\000\bH\267!\b\000\000\000\bL\267!\b\000\000\000\b\200\267!\b\000\000\000\b\204\267!\b\000\000\000\b\210\267!\b\000\000\000\b\214"... [18:59:44.190] fd = [18:59:44.190] #5 0x000000000067535c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4351 [18:59:44.190] hent = [18:59:44.190] tli = 2 [18:59:44.190] cell__state = {l = 0x836dbcad8, i = 0} [18:59:44.190] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\367\225\332\023\221\222\365\211\220\020B5\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\026R+\b\000\000\000\220\327N!\b\000\000\000\353\254J+\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' , "\367\225\332\023\221\222\365\211\000\020\3136\b\000\000\000@\000\b\000\000\000\000\000"... [18:59:44.190] tles = 0x836dbcad8 [18:59:44.190] cell = [18:59:44.190] fd = [18:59:44.190] cell__state = [18:59:44.190] hent = [18:59:44.190] tli = [18:59:44.190] beginseg = [18:59:44.190] __error = [18:59:44.190] __error = [18:59:44.190] #6 WaitForWALToBecomeAvailable (RecPtr=67199320, tliRecPtr=67199296, replayTLI=2, replayLSN=67199296, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3785 [18:59:44.190] startWalReceiver = [18:59:44.190] streaming_reply_sent = true [18:59:44.190] now = [18:59:44.190] startWalReceiver = [18:59:44.190] oldSource = [18:59:44.190] wait_time = [18:59:44.190] __error = [18:59:44.190] __error = [18:59:44.190] __error = [18:59:44.190] havedata = [18:59:44.190] ptr = [18:59:44.190] tli = [18:59:44.190] __error = [18:59:44.190] latestChunkStart = [18:59:44.190] __error = [18:59:44.190] #7 XLogPageRead (xlogreader=0x836cb2390, targetPagePtr=67198976, reqLen=344, targetRecPtr=67199296, readBuf=0x836db8b78 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3355 [18:59:44.190] private = 0x836cb2370 [18:59:44.190] emode = 15 [18:59:44.190] targetSegNo = 4 [18:59:44.190] targetPageOff = 90112 [18:59:44.190] io_start = [18:59:44.190] r = [18:59:44.190] #8 0x000000000067c362 in ReadPageInternal (state=state@entry=0x836cb2390, pageptr=67198976, reqLen=344) at ../src/backend/access/transam/xlogreader.c:1061 [18:59:44.190] targetSegNo = 4 [18:59:44.190] targetPageOff = 90112 [18:59:44.190] readLen = [18:59:44.190] hdr = [18:59:44.190] err = [18:59:44.190] #9 0x000000000067b1d2 in XLogDecodeNextRecord (state=0x836cb2390, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [18:59:44.190] errormsg = 0x2ed00000300 [18:59:44.190] randAccess = [18:59:44.190] decoded = 0x0 [18:59:44.190] RecPtr = 67199296 [18:59:44.190] assembled = false [18:59:44.190] targetPagePtr = 34918549440 [18:59:44.190] readOff = [18:59:44.190] record = [18:59:44.190] gotheader = [18:59:44.190] targetRecOff = 320 [18:59:44.190] pageHeaderSize = [18:59:44.190] len = [18:59:44.190] total_len = [18:59:44.190] buffer = [18:59:44.190] gotlen = [18:59:44.190] pageHeader = [18:59:44.190] contdata = [18:59:44.190] save_copy = [18:59:44.190] #10 XLogReadAhead (state=0x836cb2390, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [18:59:44.190] result = [18:59:44.190] #11 0x00000000006728c8 in XLogPrefetcherNextBlock (pgsr_private=35280104328, lsn=0x836dce6d8) at ../src/backend/access/transam/xlogprefetcher.c:490 [18:59:44.190] nonblocking = false [18:59:44.190] record = 0x0 [18:59:44.190] prefetcher = 0x836dbab88 [18:59:44.190] reader = 0x836cb2390 [18:59:44.190] replaying_lsn = 67198864 [18:59:44.190] #12 0x0000000000672532 in lrq_prefetch (lrq=0x836dce468) at ../src/backend/access/transam/xlogprefetcher.c:252 [18:59:44.190] No locals. [18:59:44.190] #13 lrq_complete_lsn (lrq=0x836dce468, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [18:59:44.190] No locals. [18:59:44.190] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836dbab88, errmsg=errmsg@entry=0x8214f1d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [18:59:44.190] replayed_up_to = [18:59:44.190] record = [18:59:44.190] #15 0x00000000006760ba in ReadRecord (xlogprefetcher=0x836dbab88, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3154 [18:59:44.190] errormsg = 0x0 [18:59:44.190] xlogreader = 0x836cb2390 [18:59:44.190] private = [18:59:44.190] record = [18:59:44.190] #16 0x0000000000676999 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1833 [18:59:44.190] ru0 = {tv = {tv_sec = 1739991226, tv_usec = 881523}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1046}, ru_maxrss = 26456, ru_ixrss = 6120, ru_idrss = 372, ru_isrss = 128, ru_minflt = 157, 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}} [18:59:44.190] xtime = [18:59:44.190] reachedRecoveryTarget = false [18:59:44.190] replayTLI = 2 [18:59:44.190] record = [18:59:44.190] #17 0x00000000006672b3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5869 [18:59:44.190] wasShutdown = false [18:59:44.190] haveTblspcMap = false [18:59:44.190] haveBackupLabel = true [18:59:44.190] promoted = false [18:59:44.190] didCrash = [18:59:44.190] 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 = 749} [18:59:44.190] oldestActiveXID = [18:59:44.190] performedWalRecovery = [18:59:44.190] endOfRecoveryInfo = [18:59:44.190] EndOfLog = [18:59:44.190] EndOfLogTLI = [18:59:44.190] abortedRecPtr = [18:59:44.190] missingContrecPtr = [18:59:44.190] newTLI = [18:59:44.190] Insert = [18:59:44.190] #18 0x00000000008a345b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:262 [18:59:44.190] No locals. [18:59:44.190] #19 0x000000000089d7c5 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 [18:59:44.190] pid = [18:59:44.190] #20 0x00000000008a03d7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [18:59:44.190] pmchild = 0x0 [18:59:44.190] pid = [18:59:44.190] #21 0x000000000089ff72 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8214f6f78) at ../src/backend/postmaster/postmaster.c:1378 [18:59:44.190] userDoption = [18:59:44.190] listen_addr_saved = false [18:59:44.190] output_config_variable = [18:59:44.190] opt = [18:59:44.190] status = [18:59:44.190] #22 0x00000000007d45c0 in main (argc=4, argv=0x8214f6f78) at ../src/backend/main/main.c:230 [18:59:44.190] do_check_root = [18:59:44.190] dispatch_option = DISPATCH_POSTMASTER