[05:10:49.425] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [05:10:49.779] dumping /tmp/cores/postgres.12190.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [05:10:49.911] [New LWP 101623] [05:10:49.990] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [05:10:49.990] Program terminated with signal SIGQUIT, Quit. [05:10:49.990] Sent by thr_kill() from pid 12190 and user 1003. [05:10:49.990] #0 0x000000082b2d88fa in _sigprocmask () from /lib/libc.so.7 [05:10:50.036] [05:10:50.036] Thread 1 (LWP 101623): [05:10:50.036] #0 0x000000082b2d88fa in _sigprocmask () from /lib/libc.so.7 [05:10:50.036] No symbol table info available. [05:10:50.036] #1 0x000000082b311f91 in _system () from /lib/libc.so.7 [05:10:50.036] No symbol table info available. [05:10:50.036] #2 0x0000000828e189d3 in ?? () from /lib/libthr.so.3 [05:10:50.036] No symbol table info available. [05:10:50.036] #3 0x000000000066a965 in RestoreArchivedFile (path=path@entry=0x82164f1d0 "P\362d!\b", xlogfname=xlogfname@entry=0x82164f620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [05:10:50.036] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t 3\b\000\000\000\210\366d!\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\200\315 3\b\000\000\000\200B\2325\b\000\000\000\240A\2325\b\000\000\000\230A\2325\b\000\000\000\230<\2325\b\000\000\000\000\340\344\000\000\000\000\000\000\260w4\b\000\000\000\000\020\n\000\000\000\000\000 \355d!\b\000\000\000 \355d!\b", '\000' , "\350\356d!\b\000\000\000h\355d!\b\000\000\000\b\000\000\0000\000\000\000"... [05:10:50.036] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\354d!\b\000\000\000`\352d!\b", '\000' , "\240\2468+\b", '\000' , "\2053\256\000\000\000\000\000\300\351d!\b\000\000\0000\000\000\000\000\000\000\000\210\360d!\b", '\000' , "p\351d!\b\000\000\000\3236\256", '\000' , "\2053\256\000\000\000\000\000\210\360d!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [05:10:50.036] stat_buf = {st_dev = 34920003024, st_ino = 34920003104, st_nlink = 12237632, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 560263616, st_padding1 = 8, st_rdev = 35083597287, st_atim = {tv_sec = 35238802687, tv_nsec = 12400096}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34920003072}, st_size = 34920002096, st_blocks = 11467891, st_blksize = 685834307, st_flags = 8, st_gen = 34931544712, st_spare = {35082908216, 34931524616, 34920002024, 34920002472, 34920002000, 41928854699170, 2597221, 134090501, 206158430240, 34920002000}} [05:10:50.036] restartRedoPtr = 33554472 [05:10:50.036] restartTli = 1 [05:10:50.036] restartSegNo = [05:10:50.036] xlogRestoreCmd = 0x8347448f8 "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\"" [05:10:50.036] rc = [05:10:50.036] #4 0x000000000067614e 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:4221 [05:10:50.036] xlogfname = "00000002", '0' , "4\000\366d!\b\000\000\000p\366d!\b\000\000\000\3659-+\b\000\000\000S/\000\000\000\000\000\000\230\000\000\000\000\000\000" [05:10:50.036] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\2468+\b\000\000\000@\366d!\b\000\000\000\257:-+\b\000\000\000X\204\030g\000\000\000\000\264\0003\340\342`", [05:10:50.036] path = "P\362d!\b\000\000\000sz}R\"&\000\000\030\000\000\0000", '\000' , "8 \025\"\b\000\000\000\001\000\000\000\000\000\000\000\b\304\024\"\b\000\000\0008\262\032+\b\000\000\000\250\364d!\b\000\000\000\360\363d!\b\000\000\000`\362d!\b", '\000' , "\bP\024\"\b\000\000\000 \000\000\000\000\000\000\000\340\363d!\b\000\000\000\347\032}R\"&\000\000\bP\024\"\b\000\000\000\bT\024\"\b\000\000\000\bX\024\"\b\000\000\000\b\\\024\"\b\000\000\000\b\220\024\"\b\000\000\000\b\224\024\"\b\000\000\000\b\230\024\"\b\000\000\000"... [05:10:50.036] fd = [05:10:50.036] #5 0x0000000000671e2c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4349 [05:10:50.036] hent = [05:10:50.036] tli = 2 [05:10:50.036] cell__state = {l = 0x834744f18, i = 0} [05:10:50.036] path = "pH\001\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\331\363\322#\327\n\221;\220\340\2552\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\2468+\b\000\000\000\220\367d!\b\000\000\000\353<1+\b", '\000' , "\002", '\000' , "\001\000\000\000\001\201?7\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\331\363\322#\327\n\221;\000Pe4\b\000\000\000@\000\b\000\000\000\000\000"... [05:10:50.036] tles = 0x834744f18 [05:10:50.036] cell = [05:10:50.036] fd = [05:10:50.036] cell__state = [05:10:50.036] hent = [05:10:50.036] tli = [05:10:50.036] beginseg = [05:10:50.036] __error = [05:10:50.036] __error = [05:10:50.036] #6 WaitForWALToBecomeAvailable (RecPtr=67210840, tliRecPtr=67210816, replayTLI=2, replayLSN=67210816, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3783 [05:10:50.036] startWalReceiver = [05:10:50.036] streaming_reply_sent = true [05:10:50.036] now = [05:10:50.036] startWalReceiver = [05:10:50.036] oldSource = [05:10:50.036] wait_time = [05:10:50.036] __error = [05:10:50.036] __error = [05:10:50.036] __error = [05:10:50.036] havedata = [05:10:50.036] ptr = [05:10:50.036] tli = [05:10:50.036] __error = [05:10:50.036] latestChunkStart = [05:10:50.036] __error = [05:10:50.036] #7 XLogPageRead (xlogreader=0x834656130, targetPagePtr=67207168, reqLen=3672, targetRecPtr=67210816, readBuf=0x834740fb8 "\027\321\005") at ../src/backend/access/transam/xlogrecovery.c:3364 [05:10:50.036] private = 0x834656110 [05:10:50.036] emode = 15 [05:10:50.036] targetSegNo = 4 [05:10:50.036] targetPageOff = 98304 [05:10:50.036] r = [05:10:50.036] #8 0x0000000000678e32 in ReadPageInternal (state=state@entry=0x834656130, pageptr=67207168, reqLen=3672) at ../src/backend/access/transam/xlogreader.c:1060 [05:10:50.036] targetSegNo = 4 [05:10:50.036] targetPageOff = 98304 [05:10:50.036] readLen = [05:10:50.036] hdr = [05:10:50.036] err = [05:10:50.036] #9 0x0000000000677ca2 in XLogDecodeNextRecord (state=0x834656130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [05:10:50.036] errormsg = 0x2e700000300 [05:10:50.036] randAccess = [05:10:50.036] decoded = 0x0 [05:10:50.036] RecPtr = 67210816 [05:10:50.036] assembled = false [05:10:50.036] targetPagePtr = 34919999424 [05:10:50.036] readOff = [05:10:50.036] record = [05:10:50.036] gotheader = [05:10:50.036] targetRecOff = 3648 [05:10:50.036] pageHeaderSize = [05:10:50.036] len = [05:10:50.036] total_len = [05:10:50.036] buffer = [05:10:50.036] gotlen = [05:10:50.036] pageHeader = [05:10:50.036] contdata = [05:10:50.036] save_copy = [05:10:50.036] #10 XLogReadAhead (state=0x834656130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [05:10:50.036] result = [05:10:50.036] #11 0x000000000066f388 in XLogPrefetcherNextBlock (pgsr_private=35239768008, lsn=0x8347711c8) at ../src/backend/access/transam/xlogprefetcher.c:490 [05:10:50.036] nonblocking = false [05:10:50.036] record = 0x0 [05:10:50.036] prefetcher = 0x834742fc8 [05:10:50.036] reader = 0x834656130 [05:10:50.036] replaying_lsn = 67210408 [05:10:50.036] #12 0x000000000066eff2 in lrq_prefetch (lrq=0x834770f28) at ../src/backend/access/transam/xlogprefetcher.c:252 [05:10:50.036] No locals. [05:10:50.036] #13 lrq_complete_lsn (lrq=0x834770f28, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [05:10:50.036] No locals. [05:10:50.036] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x834742fc8, errmsg=errmsg@entry=0x821653d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [05:10:50.036] replayed_up_to = [05:10:50.036] record = [05:10:50.036] #15 0x0000000000672b1a in ReadRecord (xlogprefetcher=0x834742fc8, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3164 [05:10:50.036] errormsg = 0x0 [05:10:50.036] xlogreader = 0x834656130 [05:10:50.036] private = [05:10:50.036] record = [05:10:50.036] #16 0x00000000006733f9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1843 [05:10:50.036] ru0 = {tv = {tv_sec = 1729659992, tv_usec = 324810}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 920}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 146, 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}} [05:10:50.036] xtime = [05:10:50.036] reachedRecoveryTarget = false [05:10:50.036] replayTLI = 2 [05:10:50.036] record = [05:10:50.036] #17 0x0000000000663c93 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5841 [05:10:50.036] wasShutdown = false [05:10:50.036] haveTblspcMap = false [05:10:50.036] haveBackupLabel = true [05:10:50.036] promoted = false [05:10:50.036] didCrash = [05:10:50.036] 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} [05:10:50.036] oldestActiveXID = [05:10:50.036] performedWalRecovery = [05:10:50.036] endOfRecoveryInfo = [05:10:50.036] EndOfLog = [05:10:50.036] EndOfLogTLI = [05:10:50.036] abortedRecPtr = [05:10:50.036] missingContrecPtr = [05:10:50.036] newTLI = [05:10:50.036] Insert = [05:10:50.036] #18 0x000000000089374b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [05:10:50.036] No locals. [05:10:50.036] #19 0x000000000088d4a7 in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, 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 [05:10:50.036] pid = [05:10:50.036] #20 0x000000000088fa14 in StartChildProcess (type=B_AUTOVAC_WORKER, type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3736 [05:10:50.036] pid = [05:10:50.036] __error = [05:10:50.036] #21 0x000000000088f655 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8216586b0) at ../src/backend/postmaster/postmaster.c:1343 [05:10:50.036] userDoption = [05:10:50.036] listen_addr_saved = [05:10:50.036] output_config_variable = [05:10:50.036] opt = [05:10:50.036] status = [05:10:50.036] #22 0x00000000007c98dc in main (argc=4, argv=0x8216586b0) at ../src/backend/main/main.c:197 [05:10:50.036] do_check_root =