[11:02:06.595] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [11:02:06.916] dumping /tmp/cores/postgres.17175.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:02:07.059] [New LWP 100132] [11:02:07.144] Core was generated by `postgres: standby2: startup recovering 000000020000000000000004'. [11:02:07.144] Program terminated with signal SIGQUIT, Quit. [11:02:07.144] Sent by thr_kill() from pid 17175 and user 1003. [11:02:07.144] #0 0x000000082af548fa in _sigprocmask () from /lib/libc.so.7 [11:02:07.190] [11:02:07.190] Thread 1 (LWP 100132): [11:02:07.190] #0 0x000000082af548fa in _sigprocmask () from /lib/libc.so.7 [11:02:07.190] No symbol table info available. [11:02:07.190] #1 0x000000082af8df91 in _system () from /lib/libc.so.7 [11:02:07.190] No symbol table info available. [11:02:07.190] #2 0x000000082a61c9d3 in ?? () from /lib/libthr.so.3 [11:02:07.190] No symbol table info available. [11:02:07.190] #3 0x000000000066f695 in RestoreArchivedFile (path=path@entry=0x82158c1d0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x82158c5d0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [11:02:07.190] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\323\1772", '\000' , "0000002", '0' , "\0003\000\347\347\302g\000\000\000\000\220\351\f$\000\000\000\000\347\347\302g\000\000\000\000\360\\\f$\000\000\000\000)\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\000 ", '\000' , "\350\276X!\b\000\000\000h\275X!\b\000\000\000\b\000\000\0000\000\000\000"... [11:02:07.190] lastRestartPointFname = '0' , "\000\373f\000\000\000\000\000p\271X!\b\000\000\0000\000\000\000\000\000\000\0008\300X!\b", '\000' , " \271X!\b\000\000\000\303\356\257", '\000' , "u\353\257", '\000' , "u\353\257\000\000\000\000\000\300\271X!\b\000\000\0000\000\000\000\000\000\000\000\210\300X!\b", '\000' , "p\271X!\b\000\000\000\303\356\257", '\000' , "u\353\257\000\000\000\000\000\210\300X!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [11:02:07.190] stat_buf = {st_dev = 57344, st_ino = 2, st_nlink = 34919203264, st_mode = 58883, st_padding0 = 175, st_uid = 0, st_gid = 559464896, st_padding1 = 8, st_rdev = 35079910887, st_atim = {tv_sec = 14543, tv_nsec = 3}, st_mtim = {tv_sec = 35292343612, tv_nsec = 27720}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 8194162796962149766, tv_nsec = 34919203248}, st_size = 5, st_blocks = 0, st_blksize = 78, st_flags = 0, st_gen = 35081184928, st_spare = {34919203184, 35080436399, 1740826600, 1271620995496039022, 8194162796962149766, 2, 0, 34919203248, 206158430240, 34919203280}} [11:02:07.190] restartRedoPtr = 34919203008 [11:02:07.190] restartTli = 8 [11:02:07.190] restartSegNo = [11:02:07.190] xlogRestoreCmd = 0x8359accb8 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/043_no_contrecord_switch/data/t_043_no_contrecord_switch_primary_data/archives/00000003.history\" \"pg_wal/RECOVERYHISTORY\"" [11:02:07.190] rc = [11:02:07.190] #4 0x00000000006566e8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [11:02:07.190] path = "pg_wal/00000002", '0' , "4\000 \301X!\b\000\000\000\271q\255\000\000\000\000\000\360\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\000\340\2135\b", '\000' , "\340\357\300\000\000\000\000\000\340\021\301\000\000\000\000\000@\306X!\b\000\000\000\t\027\253\000\000\000\000\000\000\004\2155\b\000\000\000\030(\000\000\000\000\000\000\001(\000\000\000\000\000\000\000@\2305\b\000\000\000/!/\000\000\000\000\000\000\004\2155\b\000\000\000\300\021\301\000\000\000\000\000\340\021\301\000\000\000\000\000(\305X!\177\003\000\000\206u\2468\246\203\267qUTC\000\b\000\000\000"... [11:02:07.190] histfname = "00000003.history\000\306X!\b\000\000\000\017\016\222", '\000' , "\377\377\377\377\377\377\377\377\206u\2468\246\203\267q\000\000\000\000\000\000\000" [11:02:07.190] fd = [11:02:07.190] #5 0x00000000006567a8 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [11:02:07.190] newestTLI = 2 [11:02:07.190] probeTLI = 3 [11:02:07.190] #6 0x000000000067ab2b in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67173200) at ../src/backend/access/transam/xlogrecovery.c:4129 [11:02:07.190] oldtarget = 2 [11:02:07.190] currentTle = 0x0 [11:02:07.190] newtarget = [11:02:07.190] newExpectedTLEs = [11:02:07.190] found = [11:02:07.190] cell = [11:02:07.190] #7 0x0000000000676d13 in WaitForWALToBecomeAvailable (RecPtr=67173224, tliRecPtr=67173200, replayTLI=2, replayLSN=67173200, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3691 [11:02:07.190] startWalReceiver = false [11:02:07.190] streaming_reply_sent = true [11:02:07.190] now = [11:02:07.190] startWalReceiver = [11:02:07.190] oldSource = [11:02:07.190] wait_time = [11:02:07.190] __error = [11:02:07.190] __error = [11:02:07.190] __error = [11:02:07.190] havedata = [11:02:07.190] ptr = [11:02:07.190] tli = [11:02:07.190] __error = [11:02:07.190] latestChunkStart = [11:02:07.190] __error = [11:02:07.190] #8 XLogPageRead (xlogreader=0x8358bd130, targetPagePtr=67166208, reqLen=7016, targetRecPtr=67173200, readBuf=0x8359a9378 "\030\321\006") at ../src/backend/access/transam/xlogrecovery.c:3357 [11:02:07.190] private = 0x8358bd110 [11:02:07.190] emode = 15 [11:02:07.190] targetSegNo = 4 [11:02:07.190] targetPageOff = 57344 [11:02:07.190] io_start = [11:02:07.190] r = [11:02:07.190] #9 0x000000000067da72 in ReadPageInternal (state=state@entry=0x8358bd130, pageptr=67166208, reqLen=7016) at ../src/backend/access/transam/xlogreader.c:1061 [11:02:07.190] targetSegNo = 4 [11:02:07.190] targetPageOff = 57344 [11:02:07.190] readLen = [11:02:07.190] hdr = [11:02:07.190] err = [11:02:07.190] #10 0x000000000067c8e2 in XLogDecodeNextRecord (state=0x8358bd130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [11:02:07.190] errormsg = 0x821590c98 "" [11:02:07.190] randAccess = [11:02:07.190] decoded = 0x0 [11:02:07.190] RecPtr = 67173200 [11:02:07.190] assembled = false [11:02:07.190] targetPagePtr = 34919200704 [11:02:07.190] readOff = [11:02:07.190] record = [11:02:07.190] gotheader = [11:02:07.190] targetRecOff = 6992 [11:02:07.190] pageHeaderSize = [11:02:07.190] len = [11:02:07.190] total_len = [11:02:07.190] buffer = [11:02:07.190] gotlen = [11:02:07.190] pageHeader = [11:02:07.190] contdata = [11:02:07.190] save_copy = [11:02:07.190] #11 XLogReadAhead (state=0x8358bd130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [11:02:07.190] result = [11:02:07.190] #12 0x0000000000673fb8 in XLogPrefetcherNextBlock (pgsr_private=35259069320, lsn=0x8359da258) at ../src/backend/access/transam/xlogprefetcher.c:490 [11:02:07.190] nonblocking = false [11:02:07.190] record = 0x0 [11:02:07.190] prefetcher = 0x8359ab388 [11:02:07.190] reader = 0x8358bd130 [11:02:07.190] replaying_lsn = 67173160 [11:02:07.190] #13 0x0000000000673c22 in lrq_prefetch (lrq=0x8359da128) at ../src/backend/access/transam/xlogprefetcher.c:252 [11:02:07.190] No locals. [11:02:07.190] #14 lrq_complete_lsn (lrq=0x8359da128, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [11:02:07.190] No locals. [11:02:07.190] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8359ab388, errmsg=errmsg@entry=0x821590d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [11:02:07.190] replayed_up_to = [11:02:07.190] record = [11:02:07.190] #16 0x00000000006777ca in ReadRecord (xlogprefetcher=0x8359ab388, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [11:02:07.190] errormsg = 0x8358bd940 "" [11:02:07.190] xlogreader = 0x8358bd130 [11:02:07.190] private = [11:02:07.190] record = [11:02:07.190] #17 0x00000000006780a9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [11:02:07.190] ru0 = {tv = {tv_sec = 1740826599, tv_usec = 233970}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 2536}, ru_maxrss = 27988, ru_ixrss = 6128, ru_idrss = 368, 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 = 5, ru_nivcsw = 1}} [11:02:07.190] xtime = [11:02:07.190] reachedRecoveryTarget = false [11:02:07.190] replayTLI = 2 [11:02:07.190] record = [11:02:07.190] #18 0x0000000000668a03 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [11:02:07.190] wasShutdown = false [11:02:07.190] haveTblspcMap = false [11:02:07.190] haveBackupLabel = true [11:02:07.190] promoted = false [11:02:07.190] didCrash = [11:02:07.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 = 747} [11:02:07.190] oldestActiveXID = [11:02:07.190] performedWalRecovery = [11:02:07.190] endOfRecoveryInfo = [11:02:07.190] EndOfLog = [11:02:07.190] EndOfLogTLI = [11:02:07.190] abortedRecPtr = [11:02:07.190] missingContrecPtr = [11:02:07.190] newTLI = [11:02:07.190] Insert = [11:02:07.190] #19 0x00000000008a69ab in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [11:02:07.190] No locals. [11:02:07.190] #20 0x00000000008a0d45 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:02:07.190] pid = [11:02:07.190] #21 0x00000000008a3947 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [11:02:07.190] pmchild = 0x0 [11:02:07.190] pid = [11:02:07.190] #22 0x00000000008a34e2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8215958c8) at ../src/backend/postmaster/postmaster.c:1378 [11:02:07.190] userDoption = [11:02:07.190] listen_addr_saved = false [11:02:07.190] output_config_variable = [11:02:07.190] opt = [11:02:07.190] status = [11:02:07.190] #23 0x00000000007d7ae0 in main (argc=4, argv=0x8215958c8) at ../src/backend/main/main.c:230 [11:02:07.190] do_check_root = [11:02:07.190] dispatch_option = DISPATCH_POSTMASTER