[20:17:36.467] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [20:17:36.784] dumping /tmp/cores/cp.27141.core for /bin/cp [20:17:36.831] [New LWP 101968] [20:17:36.835] Core was generated by `cp /tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_'. [20:17:36.835] Program terminated with signal SIGQUIT, Quit. [20:17:36.835] Sent by kill() from pid 26914 and user 1002. [20:17:36.835] #0 0x0000551e562ab2ca in ?? () from /libexec/ld-elf.so.1 [20:17:36.843] [20:17:36.843] Thread 1 (LWP 101968): [20:17:36.843] #0 0x0000551e562ab2ca in ?? () from /libexec/ld-elf.so.1 [20:17:36.843] No symbol table info available. [20:17:36.843] #1 0x0000551e5629a0ba in ?? () from /libexec/ld-elf.so.1 [20:17:36.843] No symbol table info available. [20:17:36.843] #2 0x0000000000000000 in ?? () [20:17:36.843] No symbol table info available. [20:17:36.848] [20:17:36.848] [20:17:36.848] [20:17:36.903] dumping /tmp/cores/postgres.39720.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [20:17:37.042] [New LWP 101903] [20:17:37.137] Core was generated by `postgres: cascading_standby: startup recovering 000000020000000000000006'. [20:17:37.137] Program terminated with signal SIGQUIT, Quit. [20:17:37.137] Sent by thr_kill() from pid 39720 and user 1002. [20:17:37.137] #0 0x000000082ca8175a in _sigprocmask () from /lib/libc.so.7 [20:17:37.171] [20:17:37.171] Thread 1 (LWP 101903): [20:17:37.171] #0 0x000000082ca8175a in _sigprocmask () from /lib/libc.so.7 [20:17:37.171] No symbol table info available. [20:17:37.171] #1 0x000000082cabea7f in _system () from /lib/libc.so.7 [20:17:37.171] No symbol table info available. [20:17:37.171] #2 0x000000082b6318a3 in ?? () from /lib/libthr.so.3 [20:17:37.171] No symbol table info available. [20:17:37.171] #3 0x00000000006881d7 in RestoreArchivedFile (path=path@entry=0x8215d81e0 "pg_wal/00000002", '0' , "6", xlogfname=xlogfname@entry=0x8215d85e0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [20:17:37.171] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\020ɥ,\b\000\000\000\360|]!\b\000\000\000`Eb+\b\000\000\000\260$\262,\b", '\000' , "`}]!\b\000\000\000$ʥ,\b\000\000\000\260$\262,\b", '\000' , "\340O\246,\b", '\000' , "\b\000\000\000\260\201]!\b", '\000' , "\340O\246,\b", '\000' , ";%\2156\\R}\277\020\334,\344O8\000\000\001\000\000\000\000\000\000\000\200}]!\b\000\000\000\232Γ\000\000\000\000\000\260s\263,\b\000\000\000\000>\263"... [20:17:37.171] lastRestartPointFname = '0' , "\000\377\377\377\000\000\000\0008\200]!\b", '\000' , " y]!\b\000\000\000\226|\262", '\000' , "Uy\262\000\000\000\000\0008\200]!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' , "Uy\262\000\000\000\000\000\240\177]!\b\000\000\000\373\377\377\377\000\000\000\000\005", '\000' , "\320y]!\b\000\000\000\273{\262", '\000' , "260\000\000\000\000\000\000\000"... [20:17:37.171] stat_buf = {st_dev = 6, st_ino = 2, st_nlink = 34919514576, st_mode = 29667, st_padding0 = 178, st_uid = 0, st_gid = 559776208, st_padding1 = 8, st_rdev = 35108404759, st_atim = {tv_sec = 34919514472, tv_nsec = 3}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 3551280, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 11, tv_nsec = -5810188554952769535}, st_size = -4648468684370795205, st_blocks = 35109690128, st_blksize = 5, st_flags = 0, st_gen = 0, st_spare = {34919514560, 1, 34919514512, 35108932181, 0, 1751573366, 13676775768740401528, 13798275389338756411, 206158430240, 34919514592}} [20:17:37.171] restartRedoPtr = 34919514320 [20:17:37.171] restartTli = 8 [20:17:37.171] restartSegNo = [20:17:37.171] xlogRestoreCmd = 0x384fe43719e8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/035_standby_logical_decoding/data/t_035_standby_logical_decoding_standby_data/archives/00000003.history\" \"pg_wal/RECOVERYHISTORY\"" [20:17:37.171] rc = [20:17:37.171] #4 0x000000000066f028 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [20:17:37.171] path = "pg_wal/00000002", '0' , "6\000\000\000\000\000\000\000\000\000\220P\345\343O8\000\000\001\000\000\000\000\000\000\000\260\202]!\b\000\000\000\020\206]!\b\000\000\000`\360\256,\b\000\000\000;%\2156\\R}\277\200\t\000\344O8\000\000\000\000\000\000\000\000\000\000\220P\345\343O8\000\000\001\000\000\000\000\000\000\000\260\202]!\b\000\000\000\020\206]!\b\000\000\000\003\366\256,\b\000\000\000\300\202]!\b", '\000' , "\n", '\000' , "\330X\000\344O8\000\000\000\020\000\000\000\000\000\000h\206]!\b\000\000\000"... [20:17:37.171] histfname = "00000003.history\000\206]!\b\000\000\000=(\225\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000P\206]!\b\000\000\000U5\231\000\000\000\000" [20:17:37.171] fd = [20:17:37.171] #5 0x000000000066f0e8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [20:17:37.171] newestTLI = 2 [20:17:37.171] probeTLI = 3 [20:17:37.171] #6 0x000000000069367b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=105222960) at ../src/backend/access/transam/xlogrecovery.c:4135 [20:17:37.171] oldtarget = 2 [20:17:37.171] currentTle = 0x0 [20:17:37.171] newtarget = [20:17:37.171] newExpectedTLEs = [20:17:37.171] found = [20:17:37.171] cell = [20:17:37.171] #7 0x000000000068f813 in WaitForWALToBecomeAvailable (RecPtr=105222984, tliRecPtr=105222960, replayTLI=2, replayLSN=105222960, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3697 [20:17:37.171] startWalReceiver = false [20:17:37.171] streaming_reply_sent = true [20:17:37.171] now = [20:17:37.171] startWalReceiver = [20:17:37.171] oldSource = [20:17:37.171] wait_time = [20:17:37.171] __error = [20:17:37.171] __error = [20:17:37.171] __error = [20:17:37.171] havedata = [20:17:37.171] ptr = [20:17:37.171] tli = [20:17:37.171] __error = [20:17:37.171] latestChunkStart = [20:17:37.171] __error = [20:17:37.171] #8 XLogPageRead (xlogreader=0x384fe421d130, targetPagePtr=105218048, reqLen=4936, targetRecPtr=105222960, readBuf=0x384fe430f3f8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3363 [20:17:37.171] private = 0x384fe421d110 [20:17:37.171] emode = 15 [20:17:37.171] targetSegNo = 6 [20:17:37.171] targetPageOff = 4554752 [20:17:37.171] io_start = [20:17:37.171] r = [20:17:37.171] #9 0x00000000006965da in ReadPageInternal (state=state@entry=0x384fe421d130, pageptr=105218048, reqLen=4936) at ../src/backend/access/transam/xlogreader.c:1061 [20:17:37.171] targetSegNo = 6 [20:17:37.171] targetPageOff = 4554752 [20:17:37.171] readLen = [20:17:37.171] hdr = [20:17:37.171] err = [20:17:37.171] #10 0x0000000000695408 in XLogDecodeNextRecord (state=0x384fe421d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [20:17:37.171] errormsg = 0xc17c58 "" [20:17:37.171] randAccess = [20:17:37.171] decoded = 0x0 [20:17:37.171] RecPtr = 105222960 [20:17:37.171] assembled = false [20:17:37.171] targetPagePtr = 105218048 [20:17:37.171] readOff = [20:17:37.171] record = [20:17:37.171] gotheader = [20:17:37.171] targetRecOff = 4912 [20:17:37.171] pageHeaderSize = [20:17:37.171] len = [20:17:37.171] total_len = [20:17:37.171] buffer = [20:17:37.171] gotlen = [20:17:37.171] pageHeader = [20:17:37.171] contdata = [20:17:37.171] save_copy = [20:17:37.171] #11 XLogReadAhead (state=0x384fe421d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [20:17:37.171] result = [20:17:37.171] #12 0x000000000068cac8 in XLogPrefetcherNextBlock (pgsr_private=61915781993480, lsn=0x384fe4371238) at ../src/backend/access/transam/xlogprefetcher.c:490 [20:17:37.171] nonblocking = false [20:17:37.171] record = 0x0 [20:17:37.171] prefetcher = 0x384fe4311408 [20:17:37.171] reader = 0x384fe421d130 [20:17:37.171] replaying_lsn = 105222912 [20:17:37.171] #13 0x000000000068c735 in lrq_prefetch (lrq=0x384fe43711d8) at ../src/backend/access/transam/xlogprefetcher.c:252 [20:17:37.171] No locals. [20:17:37.171] #14 lrq_complete_lsn (lrq=0x384fe43711d8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [20:17:37.171] No locals. [20:17:37.171] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x384fe4311408, errmsg=errmsg@entry=0x8215dcd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [20:17:37.171] replayed_up_to = [20:17:37.171] record = [20:17:37.171] #16 0x00000000006902ca in ReadRecord (xlogprefetcher=0x384fe4311408, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3162 [20:17:37.171] errormsg = 0x0 [20:17:37.171] xlogreader = 0x384fe421d130 [20:17:37.171] private = [20:17:37.171] record = [20:17:37.171] #17 0x0000000000690bb9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1840 [20:17:37.171] ru0 = {tv = {tv_sec = 1751573365, tv_usec = 27129}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1012}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 163, ru_majflt = 0, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 5, ru_nivcsw = 1}} [20:17:37.171] xtime = [20:17:37.171] reachedRecoveryTarget = false [20:17:37.171] replayTLI = 2 [20:17:37.171] record = [20:17:37.171] #18 0x00000000006812a3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:6033 [20:17:37.171] wasShutdown = false [20:17:37.171] haveTblspcMap = false [20:17:37.171] haveBackupLabel = true [20:17:37.171] promoted = false [20:17:37.171] didCrash = [20:17:37.171] checkPoint = {redo = 100664848, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 784} [20:17:37.171] oldestActiveXID = [20:17:37.171] performedWalRecovery = [20:17:37.171] endOfRecoveryInfo = [20:17:37.171] EndOfLog = [20:17:37.171] EndOfLogTLI = [20:17:37.171] abortedRecPtr = [20:17:37.171] missingContrecPtr = [20:17:37.171] newTLI = [20:17:37.171] Insert = [20:17:37.171] #19 0x00000000008c4a8b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [20:17:37.171] No locals. [20:17:37.171] #20 0x00000000008be51b in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=77, 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:290 [20:17:37.171] pid = [20:17:37.171] #21 0x00000000008c12f7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3973 [20:17:37.171] pmchild = 0x0 [20:17:37.171] pid = [20:17:37.171] #22 0x00000000008c0cf2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8215e1db0) at ../src/backend/postmaster/postmaster.c:1393 [20:17:37.171] userDoption = [20:17:37.171] listen_addr_saved = false [20:17:37.171] output_config_variable = [20:17:37.171] opt = [20:17:37.171] status = [20:17:37.171] #23 0x00000000007f3ab0 in main (argc=4, argv=0x8215e1db0) at ../src/backend/main/main.c:227 [20:17:37.171] do_check_root = [20:17:37.171] dispatch_option = DISPATCH_POSTMASTER