[17:51:00.979] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [17:51:01.334] dumping /tmp/cores/postgres.21964.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [17:51:01.545] [New LWP 100117] [17:51:01.662] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [17:51:01.662] Program terminated with signal SIGQUIT, Quit. [17:51:01.662] Sent by thr_kill() from pid 21964 and user 1002. [17:51:01.662] #0 0x0000000829a9375a in _sigprocmask () from /lib/libc.so.7 [17:51:01.712] [17:51:01.712] Thread 1 (LWP 100117): [17:51:01.712] #0 0x0000000829a9375a in _sigprocmask () from /lib/libc.so.7 [17:51:01.712] No symbol table info available. [17:51:01.712] #1 0x0000000829ad0a2f in _system () from /lib/libc.so.7 [17:51:01.712] No symbol table info available. [17:51:01.712] #2 0x00000008292568a3 in ?? () from /lib/libthr.so.3 [17:51:01.712] No symbol table info available. [17:51:01.712] #3 0x000000000066fa67 in RestoreArchivedFile (path=path@entry=0x8212a41e0 "`B*!\b", xlogfname=xlogfname@entry=0x8212a4630 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [17:51:01.712] xlogpath = "pg_wal/RECOVERYXLOG\000RY\000-\320z\264)\b\000\000\000\005\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000B*!\b\000\000\000\001\000\000\000\000\000\000\000\360=*!\b\000\000\000\027ޠ)\b", '\000' , "@\363\300\000\000\000\000\000002", '\000' , "002\000\000\000\000\00000000000", '\000' , "\260=*!\b\000\000\000\3152\350\347\323%\000\000\250>\226)\b\000\000\000\234"... [17:51:01.712] lastRestartPointFname = "00000001", '0' , "2", '\000' , "P\243_\211\r\341\237-\320z\264)\b", '\000' , "EЯ\000\000\000\000\000H@*!\b\000\000\000\376\377\377\377\000\000\000\000\3249*!\b\000\000\000\377\377\377\377\000\000\000\000\230@*!\b", '\000' , "\2009*!\b\000\000\000\206ӯ", '\000' , "EЯ\000\000\000\000\000\230@*!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' ... [17:51:01.712] stat_buf = {st_dev = 34916156896, st_ino = 34916156976, st_nlink = 12442144, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 556417488, st_padding1 = 8, st_rdev = 35058146839, st_atim = {tv_sec = 34916155744, tv_nsec = 12645184}, st_mtim = {tv_sec = 875573296, tv_nsec = 0}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34916156944}, st_size = 34916155968, st_blocks = 11581299, st_blksize = 1298088780, st_flags = 1095979845, st_gen = 37151075005096, st_spare = {35057446176, 37151074984968, 34916155896, 34916156344, 34916155872, 41592059079762, 2619800, 134090501, 206158430240, 34916155872}} [17:51:01.712] restartRedoPtr = 33554472 [17:51:01.712] restartTli = 1 [17:51:01.712] restartSegNo = [17:51:01.712] xlogRestoreCmd = 0x21c9e8f5ed38 "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\"" [17:51:01.712] rc = [17:51:01.712] #4 0x000000000067b0b0 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 [17:51:01.712] xlogfname = "00000002", '0' , "4\000\243_\211\r\341\237-\000\000\000\000\000\000\000\000\220F*!\b\000\000\000\200F*!\b\000\000\000\242\351\250)\b\000\000" [17:51:01.712] activitymsg = "waiting for 00000002", '0' , "4\000!\000\000X\001\000\000\000\000\000\000\220F*!\b\000\000\000\003\000\000\000\000\000\000\000`F*!\b\000\000\000U\352\250)\b\000\000" [17:51:01.712] path = "`B*!\b\000\000\000\313*\350\347\323%\000\000\030\000\000\0000", '\000' , "P\000\241\350\311!\000\000\001\000\000\000\000\000\000\000\b\244\240\350\311!\000\000 -\226)\b\000\000\000\270D*!\b\000\000\000\bD*!\b\000\000\000pB*!\b", '\000' , "\b0\240\350\311!\000\000 \000\000\000\000\000\000\000\360C*!\b\000\000\000w\314\347\347\323%\000\000\b0\240\350\311!\000\000\b4\240\350\311!\000\000\b8\240\350\311!\000\000\b<\240\350\311!\000\000\bp\240\350\311!\000\000\bt\240\350\311!\000\000\bx\240\350\311!\000\000"... [17:51:01.712] fd = [17:51:01.712] #5 0x0000000000676dfc in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4353 [17:51:01.712] hent = [17:51:01.712] tli = 2 [17:51:01.712] cell__state = {l = 0x21c9e8f5f358, i = 0} [17:51:01.712] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3\000\200R\245\350\311!\000\000\000\000\000\000\000\000\000\000\200G*!\b\000\000\000\312'\255)\b\000\000\000\200\000\000\002\000\000\000\000\370\263\365\350\311!\000\000\002\000\000\000\000\000\000\000\200\000\000\002", '\000' , "\002", '\000' , "\001\000\000\000C\350g\000\000\000\000\000\000\000\000\002", '\000' , "<\002`\351\311!\000\000C\350g\000\000\000\000\000P\002`\351\311!\000\000\000\000\b\000\000\000\000\000<\002`\351\311!\000\000\000\210*!\b\000\000\000P\002`\351\311!", '\000' ... [17:51:01.712] tles = 0x21c9e8f5f358 [17:51:01.712] cell = [17:51:01.712] fd = [17:51:01.712] cell__state = [17:51:01.712] hent = [17:51:01.712] tli = [17:51:01.712] beginseg = [17:51:01.712] __error = [17:51:01.712] __error = [17:51:01.712] #6 WaitForWALToBecomeAvailable (RecPtr=67199320, tliRecPtr=67199296, replayTLI=2, replayLSN=67199296, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3787 [17:51:01.712] startWalReceiver = [17:51:01.712] streaming_reply_sent = true [17:51:01.712] now = [17:51:01.712] startWalReceiver = [17:51:01.712] oldSource = [17:51:01.712] wait_time = [17:51:01.712] __error = [17:51:01.712] __error = [17:51:01.712] __error = [17:51:01.712] havedata = [17:51:01.712] ptr = [17:51:01.712] tli = [17:51:01.712] __error = [17:51:01.712] latestChunkStart = [17:51:01.712] __error = [17:51:01.712] #7 XLogPageRead (xlogreader=0x21c9e8e1d130, targetPagePtr=67198976, reqLen=344, targetRecPtr=67199296, readBuf=0x21c9e8f5b3f8 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3357 [17:51:01.712] private = 0x21c9e8e1d110 [17:51:01.712] emode = 15 [17:51:01.712] targetSegNo = 4 [17:51:01.712] targetPageOff = 90112 [17:51:01.712] io_start = [17:51:01.712] r = [17:51:01.712] #8 0x000000000067ddfa in ReadPageInternal (state=state@entry=0x21c9e8e1d130, pageptr=67198976, reqLen=344) at ../src/backend/access/transam/xlogreader.c:1061 [17:51:01.712] targetSegNo = 4 [17:51:01.712] targetPageOff = 90112 [17:51:01.712] readLen = [17:51:01.712] hdr = [17:51:01.712] err = [17:51:01.712] #9 0x000000000067cc28 in XLogDecodeNextRecord (state=0x21c9e8e1d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [17:51:01.712] errormsg = 0x2ed00000300 [17:51:01.712] randAccess = [17:51:01.712] decoded = 0x0 [17:51:01.712] RecPtr = 67199296 [17:51:01.712] assembled = false [17:51:01.712] targetPagePtr = 67198976 [17:51:01.712] readOff = [17:51:01.712] record = [17:51:01.712] gotheader = [17:51:01.712] targetRecOff = 320 [17:51:01.712] pageHeaderSize = [17:51:01.712] len = [17:51:01.712] total_len = [17:51:01.712] buffer = [17:51:01.712] gotlen = [17:51:01.712] pageHeader = [17:51:01.712] contdata = [17:51:01.712] save_copy = [17:51:01.712] #10 XLogReadAhead (state=0x21c9e8e1d130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [17:51:01.712] result = [17:51:01.712] #11 0x0000000000674358 in XLogPrefetcherNextBlock (pgsr_private=37151080567816, lsn=0x21c9e8f71558) at ../src/backend/access/transam/xlogprefetcher.c:490 [17:51:01.712] nonblocking = false [17:51:01.712] record = 0x0 [17:51:01.712] prefetcher = 0x21c9e8f5d408 [17:51:01.712] reader = 0x21c9e8e1d130 [17:51:01.712] replaying_lsn = 67198864 [17:51:01.712] #12 0x0000000000673fc5 in lrq_prefetch (lrq=0x21c9e8f712e8) at ../src/backend/access/transam/xlogprefetcher.c:252 [17:51:01.712] No locals. [17:51:01.712] #13 lrq_complete_lsn (lrq=0x21c9e8f712e8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [17:51:01.712] No locals. [17:51:01.712] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x21c9e8f5d408, errmsg=errmsg@entry=0x8212a8d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [17:51:01.712] replayed_up_to = [17:51:01.712] record = [17:51:01.712] #15 0x0000000000677b5a in ReadRecord (xlogprefetcher=0x21c9e8f5d408, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [17:51:01.713] errormsg = 0x0 [17:51:01.713] xlogreader = 0x21c9e8e1d130 [17:51:01.713] private = [17:51:01.713] record = [17:51:01.713] #16 0x0000000000678449 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [17:51:01.713] ru0 = {tv = {tv_sec = 1741369303, tv_usec = 355298}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1315}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 159, 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}} [17:51:01.713] xtime = [17:51:01.713] reachedRecoveryTarget = false [17:51:01.713] replayTLI = 2 [17:51:01.713] record = [17:51:01.713] #17 0x0000000000668c13 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [17:51:01.713] wasShutdown = false [17:51:01.713] haveTblspcMap = false [17:51:01.713] haveBackupLabel = true [17:51:01.713] promoted = false [17:51:01.713] didCrash = [17:51:01.713] 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 = 749} [17:51:01.713] oldestActiveXID = [17:51:01.713] performedWalRecovery = [17:51:01.713] endOfRecoveryInfo = [17:51:01.713] EndOfLog = [17:51:01.713] EndOfLogTLI = [17:51:01.713] abortedRecPtr = [17:51:01.713] missingContrecPtr = [17:51:01.713] newTLI = [17:51:01.713] Insert = [17:51:01.713] #18 0x00000000008a668b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [17:51:01.713] No locals. [17:51:01.713] #19 0x00000000008a04a5 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 [17:51:01.713] pid = [17:51:01.713] #20 0x00000000008a30a7 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [17:51:01.713] pmchild = 0x0 [17:51:01.713] pid = [17:51:01.713] #21 0x00000000008a2c43 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8212ad948) at ../src/backend/postmaster/postmaster.c:1378 [17:51:01.713] userDoption = [17:51:01.713] listen_addr_saved = false [17:51:01.713] output_config_variable = [17:51:01.713] opt = [17:51:01.713] status = [17:51:01.713] #22 0x00000000007d7a70 in main (argc=4, argv=0x8212ad948) at ../src/backend/main/main.c:230 [17:51:01.713] do_check_root = [17:51:01.713] dispatch_option = DISPATCH_POSTMASTER