[13:49:59.539] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [13:49:59.829] dumping /tmp/cores/postgres.13552.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [13:49:59.957] [New LWP 101830] [13:50:00.035] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [13:50:00.035] Program terminated with signal SIGQUIT, Quit. [13:50:00.035] Sent by thr_kill() from pid 13552 and user 1003. [13:50:00.035] #0 0x000000082b6d28fa in _sigprocmask () from /lib/libc.so.7 [13:50:00.076] [13:50:00.076] Thread 1 (LWP 101830): [13:50:00.076] #0 0x000000082b6d28fa in _sigprocmask () from /lib/libc.so.7 [13:50:00.076] No symbol table info available. [13:50:00.076] #1 0x000000082b70bf91 in _system () from /lib/libc.so.7 [13:50:00.076] No symbol table info available. [13:50:00.076] #2 0x000000082ad189d3 in ?? () from /lib/libthr.so.3 [13:50:00.076] No symbol table info available. [13:50:00.076] #3 0x0000000000671265 in RestoreArchivedFile (path=path@entry=0x8218401d0 "P\002\204!\b", xlogfname=xlogfname@entry=0x821840620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [13:50:00.076] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\2404\b\000\000\000\210\006\204!\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͠4\b\000\000\000\300Ӻ6\b\000\000\000\330Һ6\b\000\000\000\320Һ6\b\000\000\000\320ͺ6\b\000\000\000\000\340\344\000\000\000\000\000\000 \2325\b\000\000\000\000\020\n\000\000\000\000\000 \375\203!\b\000\000\000 \375\203!\b", '\000' , "\350\376\203!\b\000\000\000h\375\203!\b\000\000\000\b\000\000\0000\000\000\000\320\001\204!\b"... [13:50:00.076] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\374\203!\b\000\000\000`\372\203!\b", '\000' , "\240Fx+\b", '\000' , "\305b\257\000\000\000\000\000\300\371\203!\b\000\000\0000\000\000\000\000\000\000\000\210\000\204!\b", '\000' , "p\371\203!\b\000\000\000\023f\257", '\000' , "\305b\257\000\000\000\000\000\210\000\204!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [13:50:00.076] stat_buf = {st_dev = 34922038736, st_ino = 34922038816, st_nlink = 12308704, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 562299328, st_padding1 = 8, st_rdev = 35087767015, st_atim = {tv_sec = 35257840895, tv_nsec = 12473296}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34922038784}, st_size = 34922037808, st_blocks = 11552595, st_blksize = 718340163, st_flags = 8, st_gen = 34922746504, st_spare = {35087077944, 34922726408, 34922037736, 34922038184, 34922037712, 37177959083170, 2616265, 134090501, 206158430240, 34922037712}} [13:50:00.076] restartRedoPtr = 33554472 [13:50:00.076] restartTli = 1 [13:50:00.076] restartSegNo = [13:50:00.076] xlogRestoreCmd = 0x8359859b8 "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\"" [13:50:00.076] rc = [13:50:00.076] #4 0x000000000067c8de 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 [13:50:00.076] xlogfname = "00000002", '0' , "4\000\006\204!\b\000\000\000p\006\204!\b\000\000\000\365\331l+\b\000\000\000\2214\000\000\000\000\000\000R\000\000\000\000\000\000" [13:50:00.076] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240Fx+\b\000\000\000@\006\204!\b\000\000\000\257\332l+\b\000\000\0000\336{g\000\000\000\000\364e\3069\203\rX8" [13:50:00.076] path = "P\002\204!\b\000\000\000sj\v+\320!\000\000\030\000\000\0000", '\000' , "8\340\216!\b\000\000\000\001\000\000\000\000\000\000\000\b\204\216!\b\000\000\0008RZ+\b\000\000\000\250\004\204!\b\000\000\000\360\003\204!\b\000\000\000`\002\204!\b", '\000' , "\b\020\216!\b\000\000\000 \000\000\000\000\000\000\000\340\003\204!\b\000\000\000\347\n\v+\320!\000\000\b\020\216!\b\000\000\000\b\024\216!\b\000\000\000\b\030\216!\b\000\000\000\b\034\216!\b\000\000\000\bP\216!\b\000\000\000\bT\216!\b\000\000\000\bX\216!\b\000\000\000"... [13:50:00.076] fd = [13:50:00.076] #5 0x000000000067862c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4338 [13:50:00.076] hent = [13:50:00.076] tli = 2 [13:50:00.076] cell__state = {l = 0x835985fd8, i = 0} [13:50:00.076] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\345\313h\370'\215\367m\220\200\2163\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\240Fx+\b\000\000\000\220\a\204!\b\000\000\000\353\334p+\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' , "\345\313h\370'\215\367m\000Ї5\b\000\000\000@\000\b\000\000\000\000\000&"... [13:50:00.076] tles = 0x835985fd8 [13:50:00.076] cell = [13:50:00.076] fd = [13:50:00.076] cell__state = [13:50:00.076] hent = [13:50:00.076] tli = [13:50:00.076] beginseg = [13:50:00.076] __error = [13:50:00.076] __error = [13:50:00.076] #6 WaitForWALToBecomeAvailable (RecPtr=67210824, tliRecPtr=67210800, replayTLI=2, replayLSN=67210800, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3772 [13:50:00.076] startWalReceiver = [13:50:00.076] streaming_reply_sent = true [13:50:00.076] now = [13:50:00.076] startWalReceiver = [13:50:00.076] oldSource = [13:50:00.076] wait_time = [13:50:00.076] __error = [13:50:00.076] __error = [13:50:00.076] __error = [13:50:00.076] havedata = [13:50:00.076] ptr = [13:50:00.076] tli = [13:50:00.076] __error = [13:50:00.076] latestChunkStart = [13:50:00.076] __error = [13:50:00.076] #7 XLogPageRead (xlogreader=0x83587e390, targetPagePtr=67207168, reqLen=3656, targetRecPtr=67210800, readBuf=0x835982078 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [13:50:00.076] private = 0x83587e370 [13:50:00.076] emode = 15 [13:50:00.076] targetSegNo = 4 [13:50:00.076] targetPageOff = 98304 [13:50:00.076] r = [13:50:00.076] #8 0x000000000067f5c2 in ReadPageInternal (state=state@entry=0x83587e390, pageptr=67207168, reqLen=3656) at ../src/backend/access/transam/xlogreader.c:1060 [13:50:00.076] targetSegNo = 4 [13:50:00.076] targetPageOff = 98304 [13:50:00.076] readLen = [13:50:00.076] hdr = [13:50:00.076] err = [13:50:00.076] #9 0x000000000067e432 in XLogDecodeNextRecord (state=0x83587e390, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [13:50:00.076] errormsg = 0x2e700000300 [13:50:00.076] randAccess = [13:50:00.076] decoded = 0x0 [13:50:00.076] RecPtr = 67210800 [13:50:00.076] assembled = false [13:50:00.076] targetPagePtr = 34922035136 [13:50:00.076] readOff = [13:50:00.076] record = [13:50:00.076] gotheader = [13:50:00.076] targetRecOff = 3632 [13:50:00.076] pageHeaderSize = [13:50:00.076] len = [13:50:00.076] total_len = [13:50:00.076] buffer = [13:50:00.076] gotlen = [13:50:00.076] pageHeader = [13:50:00.076] contdata = [13:50:00.076] save_copy = [13:50:00.076] #10 XLogReadAhead (state=0x83587e390, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [13:50:00.076] result = [13:50:00.076] #11 0x0000000000675b88 in XLogPrefetcherNextBlock (pgsr_private=35258908808, lsn=0x835997d88) at ../src/backend/access/transam/xlogprefetcher.c:490 [13:50:00.076] nonblocking = false [13:50:00.076] record = 0x0 [13:50:00.076] prefetcher = 0x835984088 [13:50:00.076] reader = 0x83587e390 [13:50:00.076] replaying_lsn = 67210392 [13:50:00.076] #12 0x00000000006757f2 in lrq_prefetch (lrq=0x835997ae8) at ../src/backend/access/transam/xlogprefetcher.c:252 [13:50:00.076] No locals. [13:50:00.076] #13 lrq_complete_lsn (lrq=0x835997ae8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [13:50:00.076] No locals. [13:50:00.076] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x835984088, errmsg=errmsg@entry=0x821844d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [13:50:00.076] replayed_up_to = [13:50:00.076] record = [13:50:00.076] #15 0x000000000067931a in ReadRecord (xlogprefetcher=0x835984088, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [13:50:00.077] errormsg = 0x0 [13:50:00.077] xlogreader = 0x83587e390 [13:50:00.077] private = [13:50:00.077] record = [13:50:00.077] #16 0x0000000000679bf9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [13:50:00.077] ru0 = {tv = {tv_sec = 1736171055, tv_usec = 457180}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1143}, 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}} [13:50:00.077] xtime = [13:50:00.077] reachedRecoveryTarget = false [13:50:00.077] replayTLI = 2 [13:50:00.077] record = [13:50:00.077] #17 0x000000000066a593 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [13:50:00.077] wasShutdown = false [13:50:00.077] haveTblspcMap = false [13:50:00.077] haveBackupLabel = true [13:50:00.077] promoted = false [13:50:00.077] didCrash = [13:50:00.077] 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} [13:50:00.077] oldestActiveXID = [13:50:00.077] performedWalRecovery = [13:50:00.077] endOfRecoveryInfo = [13:50:00.077] EndOfLog = [13:50:00.077] EndOfLogTLI = [13:50:00.077] abortedRecPtr = [13:50:00.077] missingContrecPtr = [13:50:00.077] newTLI = [13:50:00.077] Insert = [13:50:00.077] #18 0x00000000008a07fb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:262 [13:50:00.077] No locals. [13:50:00.077] #19 0x000000000089adf5 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 [13:50:00.077] pid = [13:50:00.077] #20 0x000000000089da07 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3711 [13:50:00.077] pmchild = 0x0 [13:50:00.077] pid = [13:50:00.077] #21 0x000000000089d5a2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821849bd0) at ../src/backend/postmaster/postmaster.c:1363 [13:50:00.077] userDoption = [13:50:00.077] listen_addr_saved = false [13:50:00.077] output_config_variable = [13:50:00.077] opt = [13:50:00.077] status = [13:50:00.077] #22 0x00000000007d4f10 in main (argc=4, argv=0x821849bd0) at ../src/backend/main/main.c:230 [13:50:00.077] do_check_root = [13:50:00.077] dispatch_option = DISPATCH_POSTMASTER