[19:25:14.317] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [19:25:14.624] dumping /tmp/cores/postgres.13617.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [19:25:14.766] [New LWP 101862] [19:25:14.850] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [19:25:14.850] Program terminated with signal SIGQUIT, Quit. [19:25:14.850] Sent by thr_kill() from pid 13617 and user 1003. [19:25:14.850] #0 0x000000082bc668fa in _sigprocmask () from /lib/libc.so.7 [19:25:14.893] [19:25:14.893] Thread 1 (LWP 101862): [19:25:14.893] #0 0x000000082bc668fa in _sigprocmask () from /lib/libc.so.7 [19:25:14.893] No symbol table info available. [19:25:14.893] #1 0x000000082bc9ff91 in _system () from /lib/libc.so.7 [19:25:14.893] No symbol table info available. [19:25:14.893] #2 0x000000082ac899d3 in ?? () from /lib/libthr.so.3 [19:25:14.893] No symbol table info available. [19:25:14.893] #3 0x000000000066f695 in RestoreArchivedFile (path=path@entry=0x82119f1d0 "P\362\031!\b", xlogfname=xlogfname@entry=0x82119f620 "00000002", '0' , "4", recovername=, expectedSize=16777216, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [19:25:14.893] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' , "\200\t\3406\b\000\000\000\210\366\031!\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\3406\b\000\000\000\020\306\0338\b\000\000\000@\305\0338\b\000\000\0008\305\0338\b\000\000\0008\300\0338\b\000\000\000\000\340\344\000\000\000\000\000\000\360~7\b\000\000\000\000\020\n\000\000\000\000\000 \355\031!\b\000\000\000 \355\031!\b", '\000' , "\350\356\031!\b\000\000\000h\355\031!\b\000\000\000\b\000\000\0000\000\000\000"... [19:25:14.893] lastRestartPointFname = "00000001", '0' , "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\354\031!\b\000\000\000`\352\031!\b", '\000' , "\240\206\321+\b", '\000' , "u\353\257\000\000\000\000\000\300\351\031!\b\000\000\0000\000\000\000\000\000\000\000\210\360\031!\b", '\000' , "p\351\031!\b\000\000\000\303\356\257\000\000\000\000\000\001\000\000\000\000\000\000\000\210\360\031!\b\000\000\000\210\360\031!\b\000\000\000\377\377\377\377\000\000\000\000\001", '\000' ... [19:25:14.893] stat_buf = {st_dev = 34915087824, st_ino = 34915087904, st_nlink = 12448480, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 555348416, st_padding1 = 8, st_rdev = 35093616103, st_atim = {tv_sec = 35289601279, tv_nsec = 12651504}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34915087872}, st_size = 34915086896, st_blocks = 11587939, st_blksize = 717750339, st_flags = 8, st_gen = 34915734152, st_spare = {35092927032, 34915714056, 34915086824, 34915087272, 34915086800, 38444459719842, 2618866, 134090501, 206158430240, 34915086800}} [19:25:14.893] restartRedoPtr = 33554472 [19:25:14.893] restartTli = 1 [19:25:14.893] restartSegNo = [19:25:14.893] xlogRestoreCmd = 0x8377b8478 "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\"" [19:25:14.893] rc = [19:25:14.893] #4 0x000000000067ad8e 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:25:14.893] xlogfname = "00000002", '0' , "4\000\366\031!\b\000\000\000p\366\031!\b\000\000\000\365\031\306+\b\000\000\000\2424\000\000\000\000\000\000w\000\000\000\000\000\000" [19:25:14.893] activitymsg = "waiting for 00000002", '0' , "4\000\000\000\000\240\206\321+\b\000\000\000@\366\031!\b\000\000\000\257\032\306+\b\000\000\000&\257\304g\000\000\000\000\361\022\245\024\022\207\030J" [19:25:14.893] path = "P\362\031!\b\000\000\000sz]\f\367\"\000\000\030\000\000\0000", '\000' , "8\340#!\b\000\000\000\001\000\000\000\000\000\000\000\b\204#!\b\000\000\0008\222\263+\b\000\000\000\250\364\031!\b\000\000\000\360\363\031!\b\000\000\000`\362\031!\b", '\000' , "\b\020#!\b\000\000\000 \000\000\000\000\000\000\000\340\363\031!\b\000\000\000\347\032]\f\367\"\000\000\b\020#!\b\000\000\000\b\024#!\b\000\000\000\b\030#!\b\000\000\000\b\034#!\b\000\000\000\bP#!\b\000\000\000\bT#!\b\000\000\000\bX#!\b\000\000\000"... [19:25:14.893] fd = [19:25:14.893] #5 0x0000000000676a6c in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4353 [19:25:14.893] hent = [19:25:14.893] tli = 2 [19:25:14.893] cell__state = {l = 0x8377b8a98, i = 0} [19:25:14.893] path = "\000\000\000\004\000\000\000\0000000002", '0' , "3", '\000' , "\001\354\236\354\346\004\261\332C\220ph5\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\206\321+\b\000\000\000\220\367\031!\b\000\000\000\353\034\312+\b", '\000' , "\002", '\000' , "\001\000\000\000\001\377\377\377\230\000\000\000\000\000\000\002", '\000' , "\230\000\000\002", '\000' , "\354\236\354\346\004\261\332C\000pl7\b\000\000\000@\000\b\000\000\000\000\000"... [19:25:14.893] tles = 0x8377b8a98 [19:25:14.893] cell = [19:25:14.893] fd = [19:25:14.893] cell__state = [19:25:14.893] hent = [19:25:14.893] tli = [19:25:14.893] beginseg = [19:25:14.893] __error = [19:25:14.893] __error = [19:25:14.893] #6 WaitForWALToBecomeAvailable (RecPtr=67199320, tliRecPtr=67199296, replayTLI=2, replayLSN=67199296, randAccess=, fetching_ckpt=, nonblocking=) at ../src/backend/access/transam/xlogrecovery.c:3787 [19:25:14.893] startWalReceiver = [19:25:14.893] streaming_reply_sent = true [19:25:14.893] now = [19:25:14.893] startWalReceiver = [19:25:14.893] oldSource = [19:25:14.893] wait_time = [19:25:14.893] __error = [19:25:14.893] __error = [19:25:14.893] __error = [19:25:14.893] havedata = [19:25:14.893] ptr = [19:25:14.893] tli = [19:25:14.893] __error = [19:25:14.893] latestChunkStart = [19:25:14.893] __error = [19:25:14.893] #7 XLogPageRead (xlogreader=0x8376c8130, targetPagePtr=67198976, reqLen=344, targetRecPtr=67199296, readBuf=0x8377b4b38 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3357 [19:25:14.893] private = 0x8376c8110 [19:25:14.893] emode = 15 [19:25:14.893] targetSegNo = 4 [19:25:14.893] targetPageOff = 90112 [19:25:14.893] io_start = [19:25:14.893] r = [19:25:14.893] #8 0x000000000067da72 in ReadPageInternal (state=state@entry=0x8376c8130, pageptr=67198976, reqLen=344) at ../src/backend/access/transam/xlogreader.c:1061 [19:25:14.893] targetSegNo = 4 [19:25:14.893] targetPageOff = 90112 [19:25:14.893] readLen = [19:25:14.893] hdr = [19:25:14.893] err = [19:25:14.893] #9 0x000000000067c8e2 in XLogDecodeNextRecord (state=0x8376c8130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [19:25:14.893] errormsg = 0x2eb00000300 [19:25:14.893] randAccess = [19:25:14.893] decoded = 0x0 [19:25:14.893] RecPtr = 67199296 [19:25:14.893] assembled = false [19:25:14.893] targetPagePtr = 34915084224 [19:25:14.893] readOff = [19:25:14.893] record = [19:25:14.893] gotheader = [19:25:14.893] targetRecOff = 320 [19:25:14.893] pageHeaderSize = [19:25:14.893] len = [19:25:14.893] total_len = [19:25:14.893] buffer = [19:25:14.893] gotlen = [19:25:14.893] pageHeader = [19:25:14.893] contdata = [19:25:14.893] save_copy = [19:25:14.893] #10 XLogReadAhead (state=0x8376c8130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:974 [19:25:14.893] result = [19:25:14.893] #11 0x0000000000673fb8 in XLogPrefetcherNextBlock (pgsr_private=35290573640, lsn=0x8377e5118) at ../src/backend/access/transam/xlogprefetcher.c:490 [19:25:14.893] nonblocking = false [19:25:14.893] record = 0x0 [19:25:14.893] prefetcher = 0x8377b6b48 [19:25:14.893] reader = 0x8376c8130 [19:25:14.893] replaying_lsn = 67198864 [19:25:14.893] #12 0x0000000000673c22 in lrq_prefetch (lrq=0x8377e4ea8) at ../src/backend/access/transam/xlogprefetcher.c:252 [19:25:14.893] No locals. [19:25:14.893] #13 lrq_complete_lsn (lrq=0x8377e4ea8, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [19:25:14.893] No locals. [19:25:14.893] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x8377b6b48, errmsg=errmsg@entry=0x8211a3d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [19:25:14.893] replayed_up_to = [19:25:14.894] record = [19:25:14.894] #15 0x00000000006777ca in ReadRecord (xlogprefetcher=0x8377b6b48, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3156 [19:25:14.894] errormsg = 0x0 [19:25:14.894] xlogreader = 0x8376c8130 [19:25:14.894] private = [19:25:14.894] record = [19:25:14.894] #16 0x00000000006780a9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1835 [19:25:14.894] ru0 = {tv = {tv_sec = 1740943141, tv_usec = 688754}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1125}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 156, 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}} [19:25:14.894] xtime = [19:25:14.894] reachedRecoveryTarget = false [19:25:14.894] replayTLI = 2 [19:25:14.894] record = [19:25:14.894] #17 0x0000000000668a03 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5894 [19:25:14.894] wasShutdown = false [19:25:14.894] haveTblspcMap = false [19:25:14.894] haveBackupLabel = true [19:25:14.894] promoted = false [19:25:14.894] didCrash = [19:25:14.894] 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} [19:25:14.894] oldestActiveXID = [19:25:14.894] performedWalRecovery = [19:25:14.894] endOfRecoveryInfo = [19:25:14.894] EndOfLog = [19:25:14.894] EndOfLogTLI = [19:25:14.894] abortedRecPtr = [19:25:14.894] missingContrecPtr = [19:25:14.894] newTLI = [19:25:14.894] Insert = [19:25:14.894] #18 0x00000000008a69bb in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [19:25:14.894] No locals. [19:25:14.894] #19 0x00000000008a0d55 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 [19:25:14.894] pid = [19:25:14.894] #20 0x00000000008a3957 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [19:25:14.894] pmchild = 0x0 [19:25:14.894] pid = [19:25:14.894] #21 0x00000000008a34f2 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8211a8ff8) at ../src/backend/postmaster/postmaster.c:1378 [19:25:14.894] userDoption = [19:25:14.894] listen_addr_saved = false [19:25:14.894] output_config_variable = [19:25:14.894] opt = [19:25:14.894] status = [19:25:14.894] #22 0x00000000007d7af0 in main (argc=4, argv=0x8211a8ff8) at ../src/backend/main/main.c:230 [19:25:14.894] do_check_root = [19:25:14.894] dispatch_option = DISPATCH_POSTMASTER