[02:45:47.388] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [02:45:47.694] dumping /tmp/cores/postgres.12471.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [02:45:47.825] [New LWP 101803] [02:45:47.905] Core was generated by `postgres: cascade: startup waiting for 000000020000000000000004'. [02:45:47.905] Program terminated with signal SIGQUIT, Quit. [02:45:47.905] Sent by thr_kill() from pid 12471 and user 1003. [02:45:47.905] #0 0x000000082bceb8fa in _sigprocmask () from /lib/libc.so.7 [02:45:47.948] [02:45:47.948] Thread 1 (LWP 101803): [02:45:47.948] #0 0x000000082bceb8fa in _sigprocmask () from /lib/libc.so.7 [02:45:47.948] No symbol table info available. [02:45:47.948] #1 0x000000082bd24f91 in _system () from /lib/libc.so.7 [02:45:47.948] No symbol table info available. [02:45:47.948] #2 0x000000082afc49d3 in ?? () from /lib/libthr.so.3 [02:45:47.948] No symbol table info available. [02:45:47.948] #3 0x000000000066a435 in RestoreArchivedFile (path=path@entry=0x8217691d0 "P\222v!\b", xlogfname=xlogfname@entry=0x821769620 "00000002", '0' <repeats 15 times>, "4", recovername=<optimized out>, expectedSize=16777216, cleanupEnabled=<optimized out>) at ../src/backend/access/transam/xlogarchive.c:177 [02:45:47.948] xlogpath = "pg_wal/RECOVERYXLOG\000RY", '\000' <repeats 26 times>, "\200\t\2405\b\000\000\000\210\226v!\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͠5\b\000\000\000\240\024;7\b\000\000\000\300\023;7\b\000\000\000\270\023;7\b\000\000\000\270\016;7\b\000\000\000\000\340\344\000\000\000\000\000\000\360\0336\b\000\000\000\000\020\n\000\000\000\000\000 \215v!\b\000\000\000 \215v!\b", '\000' <repeats 11 times>, "\350\216v!\b\000\000\000h\215v!\b\000\000\000\b\000\000\0000\000\000\000Б"... [02:45:47.948] lastRestartPointFname = "00000001", '0' <repeats 15 times>, "2\000\000\000\000\000\000\000\000\030\000\000\0000\000\000\000\260\214v!\b\000\000\000`\212v!\b", '\000' <repeats 35 times>, "\240\326\331+\b", '\000' <repeats 11 times>, "\3655\257\000\000\000\000\000\300\211v!\b\000\000\0000\000\000\000\000\000\000\000\210\220v!\b", '\000' <repeats 11 times>, "p\211v!\b\000\000\000C9\257", '\000' <repeats 13 times>, "\3655\257\000\000\000\000\000\210\220v!\b\000\000\000\376\377\377\377\000\000\000\000\002", '\000' <repeats 23 times>... [02:45:47.948] stat_buf = {st_dev = 34921158096, st_ino = 34921158176, st_nlink = 12399824, st_mode = 2, st_padding0 = 0, st_uid = 0, st_gid = 561418688, st_padding1 = 8, st_rdev = 35094160871, st_atim = {tv_sec = 35266344191, tv_nsec = 12575936}, st_mtim = {tv_sec = 875573296, tv_nsec = 5}, st_ctim = {tv_sec = -72340172838076673, tv_nsec = -9187201950435737472}, st_birthtim = {tv_sec = 206158430224, tv_nsec = 34921158144}, st_size = 34921157168, st_blocks = 11541379, st_blksize = 721092675, st_flags = 8, st_gen = 34926604936, st_spare = {35093471800, 34926584840, 34921157096, 34921157544, 34921157072, 56494434163874, 2616992, 134090501, 206158430240, 34921157072}} [02:45:47.948] restartRedoPtr = 33554472 [02:45:47.948] restartTli = 1 [02:45:47.948] restartSegNo = <optimized out> [02:45:47.948] xlogRestoreCmd = 0x836188578 "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' <repeats 15 times>, "4\" \"pg_wal/RECOVERYXLOG\"" [02:45:47.948] rc = <optimized out> [02:45:47.948] #4 0x0000000000675abe 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:4211 [02:45:47.948] xlogfname = "00000002", '0' <repeats 15 times>, "4\000\226v!\b\000\000\000p\226v!\b\000\000\000\365i\316+\b\000\000\000\b0\000\000\000\000\000\000s\000\000\000\000\000\000" [02:45:47.948] activitymsg = "waiting for 00000002", '0' <repeats 15 times>, "4\000\000\000\000\240\326\331+\b\000\000\000@\226v!\b\000\000\000\257j\316+\b\000\000\000\212\211\235g\000\000\000\000\251\211\237\345\326W\036\204" [02:45:47.948] path = "P\222v!\b\000\000\000s\032\256\242a3\000\000\030\000\000\0000", '\000' <repeats 27 times>, "8\300\311!\b\000\000\000\001\000\000\000\000\000\000\000\bd\311!\b\000\000\0008\342\273+\b\000\000\000\250\224v!\b\000\000\000\360\223v!\b\000\000\000`\222v!\b", '\000' <repeats 11 times>, "\b\360\310!\b\000\000\000 \000\000\000\000\000\000\000\340\223v!\b\000\000\000纭\242a3\000\000\b\360\310!\b\000\000\000\b\364\310!\b\000\000\000\b\370\310!\b\000\000\000\b\374\310!\b\000\000\000\b0\311!\b\000\000\000\b4\311!\b\000\000\000\b8\311!\b\000\000\000\b<"... [02:45:47.948] fd = <optimized out> [02:45:47.948] #5 0x00000000006717fc in XLogFileReadAnyTLI (segno=4, source=XLOG_FROM_ANY) at ../src/backend/access/transam/xlogrecovery.c:4339 [02:45:47.948] hent = <optimized out> [02:45:47.948] tli = 2 [02:45:47.948] cell__state = {l = 0x836188b98, i = 0} [02:45:47.948] path = "\000\000\000\004\000\000\000\0000000002", '0' <repeats 15 times>, "3", '\000' <repeats 16 times>, "\001/\274\344\0367>\266\030\2200\0254\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\326\331+\b\000\000\000\220\227v!\b\000\000\000\353l\322+\b", '\000' <repeats 11 times>, "\002", '\000' <repeats 11 times>, "\001\000\000\000\001\377\377\377\230\000\000\000\000\000\000\002", '\000' <repeats 12 times>, "\230\000\000\002", '\000' <repeats 12 times>, "/\274\344\0367>\266\030\000\220\t6\b\000\000\000@\000\b\000\000\000\000\000"... [02:45:47.948] tles = 0x836188b98 [02:45:47.948] cell = <optimized out> [02:45:47.948] fd = <optimized out> [02:45:47.948] cell__state = <optimized out> [02:45:47.948] hent = <optimized out> [02:45:47.948] tli = <optimized out> [02:45:47.948] beginseg = <optimized out> [02:45:47.948] __error = <optimized out> [02:45:47.948] __error = <optimized out> [02:45:47.948] #6 WaitForWALToBecomeAvailable (RecPtr=67199088, tliRecPtr=67199064, replayTLI=2, replayLSN=67199064, randAccess=<optimized out>, fetching_ckpt=<optimized out>, nonblocking=<optimized out>) at ../src/backend/access/transam/xlogrecovery.c:3773 [02:45:47.948] startWalReceiver = <optimized out> [02:45:47.948] streaming_reply_sent = true [02:45:47.948] now = <optimized out> [02:45:47.948] startWalReceiver = <optimized out> [02:45:47.948] oldSource = <optimized out> [02:45:47.948] wait_time = <optimized out> [02:45:47.948] __error = <optimized out> [02:45:47.948] __error = <optimized out> [02:45:47.948] __error = <optimized out> [02:45:47.948] havedata = <optimized out> [02:45:47.948] ptr = <optimized out> [02:45:47.948] tli = <optimized out> [02:45:47.948] __error = <optimized out> [02:45:47.948] latestChunkStart = <optimized out> [02:45:47.948] __error = <optimized out> [02:45:47.948] #7 XLogPageRead (xlogreader=0x83609a130, targetPagePtr=67198976, reqLen=112, targetRecPtr=67199064, readBuf=0x836184c38 "\030\321\005") at ../src/backend/access/transam/xlogrecovery.c:3353 [02:45:47.948] private = 0x83609a110 [02:45:47.948] emode = 15 [02:45:47.948] targetSegNo = 4 [02:45:47.948] targetPageOff = 90112 [02:45:47.948] r = <optimized out> [02:45:47.948] #8 0x00000000006787a2 in ReadPageInternal (state=state@entry=0x83609a130, pageptr=67198976, reqLen=112) at ../src/backend/access/transam/xlogreader.c:1060 [02:45:47.948] targetSegNo = 4 [02:45:47.948] targetPageOff = 90112 [02:45:47.948] readLen = <optimized out> [02:45:47.948] hdr = <optimized out> [02:45:47.948] err = <optimized out> [02:45:47.948] #9 0x0000000000677612 in XLogDecodeNextRecord (state=0x83609a130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:597 [02:45:47.948] errormsg = 0x2e700000300 <error: Cannot access memory at address 0x2e700000300> [02:45:47.948] randAccess = <optimized out> [02:45:47.948] decoded = 0x0 [02:45:47.948] RecPtr = 67199064 [02:45:47.948] assembled = false [02:45:47.948] targetPagePtr = 34921154496 [02:45:47.948] readOff = <optimized out> [02:45:47.948] record = <optimized out> [02:45:47.948] gotheader = <optimized out> [02:45:47.948] targetRecOff = 88 [02:45:47.948] pageHeaderSize = <optimized out> [02:45:47.948] len = <optimized out> [02:45:47.948] total_len = <optimized out> [02:45:47.948] buffer = <optimized out> [02:45:47.948] gotlen = <optimized out> [02:45:47.948] pageHeader = <optimized out> [02:45:47.948] contdata = <optimized out> [02:45:47.948] save_copy = <optimized out> [02:45:47.948] #10 XLogReadAhead (state=0x83609a130, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:973 [02:45:47.948] result = <optimized out> [02:45:47.948] #11 0x000000000066ed58 in XLogPrefetcherNextBlock (pgsr_private=35267308616, lsn=0x8361b4f98) at ../src/backend/access/transam/xlogprefetcher.c:490 [02:45:47.948] nonblocking = false [02:45:47.948] record = 0x0 [02:45:47.948] prefetcher = 0x836186c48 [02:45:47.948] reader = 0x83609a130 [02:45:47.948] replaying_lsn = 67198632 [02:45:47.948] #12 0x000000000066e9c2 in lrq_prefetch (lrq=0x8361b4d28) at ../src/backend/access/transam/xlogprefetcher.c:252 [02:45:47.948] No locals. [02:45:47.948] #13 lrq_complete_lsn (lrq=0x8361b4d28, lsn=<optimized out>) at ../src/backend/access/transam/xlogprefetcher.c:290 [02:45:47.948] No locals. [02:45:47.948] #14 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x836186c48, errmsg=errmsg@entry=0x82176dd60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [02:45:47.948] replayed_up_to = <optimized out> [02:45:47.948] record = <optimized out> [02:45:47.948] #15 0x00000000006724fa in ReadRecord (xlogprefetcher=0x836186c48, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3153 [02:45:47.948] errormsg = 0x0 [02:45:47.948] xlogreader = 0x83609a130 [02:45:47.948] private = <optimized out> [02:45:47.948] record = <optimized out> [02:45:47.948] #16 0x0000000000672dd9 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [02:45:47.948] ru0 = {tv = {tv_sec = 1738377609, tv_usec = 978030}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 967}, ru_maxrss = 26388, ru_ixrss = 6096, ru_idrss = 344, ru_isrss = 128, ru_minflt = 149, 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}} [02:45:47.948] xtime = <optimized out> [02:45:47.948] reachedRecoveryTarget = false [02:45:47.948] replayTLI = 2 [02:45:47.948] record = <optimized out> [02:45:47.948] #17 0x0000000000663763 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5848 [02:45:47.948] wasShutdown = false [02:45:47.948] haveTblspcMap = false [02:45:47.948] haveBackupLabel = true [02:45:47.948] promoted = false [02:45:47.948] didCrash = <optimized out> [02:45:47.948] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = <optimized out>, fullPageWrites = true, wal_level = <optimized out>, nextXid = {value = <optimized out>}, nextOid = <optimized out>, nextMulti = <optimized out>, nextMultiOffset = <optimized out>, oldestXid = <optimized out>, oldestXidDB = 1, oldestMulti = <optimized out>, oldestMultiDB = <optimized out>, time = <optimized out>, oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 743} [02:45:47.948] oldestActiveXID = <optimized out> [02:45:47.948] performedWalRecovery = <optimized out> [02:45:47.948] endOfRecoveryInfo = <optimized out> [02:45:47.948] EndOfLog = <optimized out> [02:45:47.948] EndOfLogTLI = <optimized out> [02:45:47.948] abortedRecPtr = <optimized out> [02:45:47.948] missingContrecPtr = <optimized out> [02:45:47.948] newTLI = <optimized out> [02:45:47.948] Insert = <optimized out> [02:45:47.948] #18 0x000000000089cddb in StartupProcessMain (startup_data=<optimized out>, startup_data_len=<optimized out>) at ../src/backend/postmaster/startup.c:258 [02:45:47.948] No locals. [02:45:47.948] #19 0x0000000000897175 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 [02:45:47.948] pid = <optimized out> [02:45:47.948] #20 0x0000000000899d77 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3905 [02:45:47.948] pmchild = 0x0 [02:45:47.948] pid = <optimized out> [02:45:47.948] #21 0x0000000000899912 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821772850) at ../src/backend/postmaster/postmaster.c:1378 [02:45:47.948] userDoption = <optimized out> [02:45:47.948] listen_addr_saved = false [02:45:47.948] output_config_variable = <optimized out> [02:45:47.948] opt = <optimized out> [02:45:47.948] status = <optimized out> [02:45:47.948] #22 0x00000000007cf930 in main (argc=4, argv=0x821772850) at ../src/backend/main/main.c:230 [02:45:47.948] do_check_root = <optimized out> [02:45:47.948] dispatch_option = DISPATCH_POSTMASTER ����