[19:06:09.693] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [19:06:09.995] dumping /tmp/cores/postgres.32082.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:06:10.125] [New LWP 100668] [19:06:10.209] Core was generated by `postgres: standby2: startup waiting for 000000020000000000000004'. [19:06:10.209] Program terminated with signal SIGQUIT, Quit. [19:06:10.209] Sent by thr_kill() from pid 32082 and user 1002. [19:06:10.209] #0 0x000000082ad3b75a in _sigprocmask () from /lib/libc.so.7 [19:06:10.250] [19:06:10.250] Thread 1 (LWP 100668): [19:06:10.250] #0 0x000000082ad3b75a in _sigprocmask () from /lib/libc.so.7 [19:06:10.250] No symbol table info available. [19:06:10.250] #1 0x000000082ad78a2f in _system () from /lib/libc.so.7 [19:06:10.250] No symbol table info available. [19:06:10.250] #2 0x0000000829ee18a3 in ?? () from /lib/libthr.so.3 [19:06:10.250] No symbol table info available. [19:06:10.250] #3 0x000000000067a417 in RestoreArchivedFile (path=path@entry=0x8214341e0 "pg_wal/0[\3057", xlogfname=xlogfname@entry=0x821434630 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [19:06:10.250] xlogpath = "pg_wal/RECOVERYXLOG\000RY\000\000\377\377\377\377\377\377\377\377pg_wal/00000002", '0' , "3\000\363p\330g\000\000\000\000\260\026J:\000\000\000\000\363p\330g\000\000\000\000P\251I:\000\000\000\000)\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000\020", '\000' ... [19:06:10.250] lastRestartPointFname = "00000001", '0' , "2\000\250g\000\000\000\000\000\2049C!\b\000\000\000\377\377\377\377\000\000\000\000H@C!\b", '\000' , "09C!\b\000\000\000晰", '\000' , "\245\226\260\000\000\000\000\000H@C!\b\000\000\000\376\377\377\377\000\000\000\000\3249C!\b\000\000\000\377\377\377\377\000\000\000\000\230@C!\b", '\000' , "\2009C!\b\000\000\000晰\000\000\000\000\000\001\000\000\000\000\000\000\000\230@C!\b\000\000\000\230@C!\b\000\000\000\377\377\377\377\000\000\000\000\001", '\000' ... [19:06:10.250] stat_buf = {st_dev = 34917795296, st_ino = 34917795376, st_nlink = 12397488, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 558055888, st_padding1 = 8, st_rdev = 35077709335, st_atim = {tv_sec = 17011681912063, tv_nsec = 12601072}, st_mtim = {tv_sec = 875573296, tv_nsec = 0}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34917795344}, st_size = 34917794368, st_blocks = 11631987, st_blksize = 1298088780, st_flags = 1095979845, st_gen = 8391173058342372679, st_spare = {3366606, 17011681861632, 15, 0, 11, 34982148176, 0, 34917794096, 206158430240, 34917794272}} [19:06:10.250] restartRedoPtr = 33554472 [19:06:10.250] restartTli = 1 [19:06:10.250] restartSegNo = [19:06:10.250] xlogRestoreCmd = 0xf78d755f278 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/043_no_contrecord_switch/data/t_043_no_contrecord_switch_primary_data/archives/00000002", '0' , "4\" \"pg_wal/RECOVERYXLOG\"" [19:06:10.250] rc = [19:06:10.250] #4 0x0000000000685a60 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:4225 [19:06:10.250] xlogfname = "00000002", '0' , "4\000k\227\375ª\245\346\000\000\000\000\000\000\000\000\220FC!\b\000\000\000\200FC!\b\000\000\000\242i\323*\b\000\000" [19:06:10.250] activitymsg = "waiting for 00000002", '0' , "4\000\017\000\000h\033\000\000\000\000\000\000\220FC!\b\000\000\000\003\000\000\000\000\000\000\000`FC!\b\000\000\000Uj\323*\b\000\000" [19:06:10.250] path = "pg_wal/0[\3057\000\000\000\000\000\030\000\000\0000\000\000\000PBC!\b\000\000\0000AC!\b\000\000\000\337\027\256\000\000\000\000\000\360\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\000\340A\327x\017\000\000\000\000\000\000\000\000\000\000\340*\300\000\000\000\000\000\340L\300\000\000\000\000\000PFC!\b\000\000\000\t\273\253\000\000\000\000\000\000\fC\327x\017\000\000\030(\000\000\000\000\000\000\001(\000\000\000\000\000\000\0000R\327x\017\000\000\2470/\000\000\000\000\000\000\fC\327x\017\000\000\300L\300\000\000\000\000\000\340L\300\000\000\000\000\0008EC!\177\003\000\000\031k\227\375ª\245\346UTC\000\b\000\000\000\210"... [19:06:10.250] fd = [19:06:10.250] #5 0x00000000006817ac in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4353 [19:06:10.250] hent = [19:06:10.250] tli = 2 [19:06:10.250] cell__state = {l = 0xf78d755f898, i = 0} [19:06:10.250] path = "\000\000\000\004\000\000\000\0000000002", '0' , "4\000\200R\005\327x\017\000\000\000\000\000\000\000\000\000\000\200GC!\b\000\000\000ʧ\327*\b\000\000\000\200\000\000\002\000\000\000\0008\271U\327x\017\000\000\002\000\000\000\000\000\000\000\200\000\000\002", '\000' , "\002", '\000' , "\001\000\000\000\363\221h\000\000\000\000\000\000\000\000\002\000\000\000\000\005\000\000\000\000\000\000\000\274\017\300\327x\017\000\000\363\221h\000\000\000\000\000\320\017\300\327x\017\000\000\000\000\b\000\000\000\000\000\274\017\300\327x\017\000\000\000\210C!\b\000\000\000\320\017\300\327x\017", '\000' ... [19:06:10.250] tles = 0xf78d755f898 [19:06:10.250] cell = [19:06:10.250] fd = [19:06:10.250] cell__state = [19:06:10.250] hent = [19:06:10.250] tli = [19:06:10.250] beginseg = [19:06:10.250] __error = [19:06:10.250] __error = [19:06:10.250] #6 WaitForWALToBecomeAvailable (RecPtr=67173224, tliRecPtr=67173200, replayTLI=2, replayLSN=67173200, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3787 [19:06:10.250] startWalReceiver = [19:06:10.250] streaming_reply_sent = true [19:06:10.250] now = [19:06:10.250] startWalReceiver = [19:06:10.250] oldSource = [19:06:10.250] wait_time = [19:06:10.250] __error = [19:06:10.250] __error = [19:06:10.250] __error = [19:06:10.250] havedata = [19:06:10.250] ptr = [19:06:10.250] tli = [19:06:10.250] __error = [19:06:10.250] latestChunkStart = [19:06:10.250] __error = [19:06:10.250] #7 XLogPageRead (xlogreader=0xf78d741d130, targetPagePtr=67166208, reqLen=7016, targetRecPtr=67173200, readBuf=0xf78d755b938 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3357 [19:06:10.250] private = 0xf78d741d110 [19:06:10.250] emode = 15 [19:06:10.250] targetSegNo = 4 [19:06:10.250] targetPageOff = 57344 [19:06:10.250] io_start = [19:06:10.250] r = [19:06:10.250] #8 0x00000000006887aa in ReadPageInternal (state=state@entry=0xf78d741d130, pageptr=67166208, reqLen=7016) at ../src/backend/access/transam/xlogreader.c:1061 [19:06:10.250] targetSegNo = 4 [19:06:10.250] targetPageOff = 57344 [19:06:10.250] readLen = [19:06:10.250] hdr = [19:06:10.250] err = [19:06:10.250] #9 0x00000000006875d8 in XLogDecodeNextRecord (state=0xf78d741d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [19:06:10.250] errormsg = 0xc03548 "" [19:06:10.250] randAccess = [19:06:10.250] decoded = 0x0 [19:06:10.250] RecPtr = 67173200 [19:06:10.250] assembled = false [19:06:10.250] targetPagePtr = 67166208 [19:06:10.250] readOff = [19:06:10.250] record = [19:06:10.250] gotheader = [19:06:10.250] targetRecOff = 6992 [19:06:10.250] pageHeaderSize = [19:06:10.250] len = [19:06:10.250] total_len = [19:06:10.250] buffer = [19:06:10.250] gotlen = [19:06:10.250] pageHeader = [19:06:10.250] contdata = [19:06:10.250] save_copy = [19:06:10.250] #10 XLogReadAhead (state=0xf78d741d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [19:06:10.250] result = [19:06:10.250] #11 0x000000000067ed08 in XLogPrefetcherNextBlock (pgsr_private=17011683219784, lsn=0xf78d75713d8) at ../src/backend/access/transam/xlogprefetcher.c:490 [19:06:10.250] nonblocking = false [19:06:10.250] record = 0x0 [19:06:10.250] prefetcher = 0xf78d755d948 [19:06:10.250] reader = 0xf78d741d130 [19:06:10.250] replaying_lsn = 67173160 [19:06:10.250] #12 0x000000000067e975 in lrq_prefetch (lrq=0xf78d75712a8) at ../src/backend/access/transam/xlogprefetcher.c:252 [19:06:10.250] No locals. [19:06:10.250] #13 lrq_complete_lsn (lrq=0xf78d75712a8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [19:06:10.250] No locals. [19:06:10.250] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0xf78d755d948, errmsg=errmsg@entry=0x821438d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [19:06:10.250] replayed_up_to = [19:06:10.250] record = [19:06:10.250] #15 0x000000000068250a in ReadRecord (xlogprefetcher=0xf78d755d948, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [19:06:10.250] errormsg = 0x0 [19:06:10.250] xlogreader = 0xf78d741d130 [19:06:10.250] private = [19:06:10.250] record = [19:06:10.250] #16 0x0000000000682df9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [19:06:10.250] ru0 = {tv = {tv_sec = 1742237939, tv_usec = 552373}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1206}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 161, 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}} [19:06:10.250] xtime = [19:06:10.250] reachedRecoveryTarget = false [19:06:10.250] replayTLI = 2 [19:06:10.250] record = [19:06:10.250] #17 0x00000000006735c3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [19:06:10.250] wasShutdown = false [19:06:10.250] haveTblspcMap = false [19:06:10.250] haveBackupLabel = true [19:06:10.250] promoted = false [19:06:10.250] didCrash = [19:06:10.250] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = 741, oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 749} [19:06:10.250] oldestActiveXID = [19:06:10.250] performedWalRecovery = [19:06:10.250] endOfRecoveryInfo = [19:06:10.250] EndOfLog = [19:06:10.250] EndOfLogTLI = [19:06:10.250] abortedRecPtr = [19:06:10.250] missingContrecPtr = [19:06:10.250] newTLI = [19:06:10.250] Insert = [19:06:10.250] #18 0x00000000008b1cab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [19:06:10.250] No locals. [19:06:10.250] #19 0x00000000008ababb 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:288 [19:06:10.250] pid = [19:06:10.250] #20 0x00000000008ae6b7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3910 [19:06:10.250] pmchild = 0x0 [19:06:10.250] pid = [19:06:10.250] #21 0x00000000008ae253 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82143d860) at ../src/backend/postmaster/postmaster.c:1377 [19:06:10.250] userDoption = [19:06:10.250] listen_addr_saved = false [19:06:10.250] output_config_variable = [19:06:10.250] opt = [19:06:10.250] status = [19:06:10.250] #22 0x00000000007e2e40 in main (argc=4, argv=0x82143d860) at ../src/backend/main/main.c:230 [19:06:10.250] do_check_root = [19:06:10.250] dispatch_option = DISPATCH_POSTMASTER