[08:42:09.820] src/tools/ci/cores_backtrace.sh linux /tmp/cores [08:42:10.532] dumping /tmp/cores/postgres-3-27768.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [08:42:12.419] [New LWP 27768] [08:42:12.419] [New LWP 27600] [08:42:12.419] Downloading separate debug info for /lib/x86_64-linux-gnu/libm.so.6... [08:42:13.179] Downloading separate debug info for /lib/x86_64-linux-gnu/libdl.so.2... [08:42:14.106] Downloading separate debug info for /lib/x86_64-linux-gnu/librt.so.1... [08:42:15.368] Downloading separate debug info for /lib/x86_64-linux-gnu/libgssapi_krb5.so.2... [08:42:17.978] Downloading separate debug info for /lib/x86_64-linux-gnu/libicuuc.so.67... [08:42:17.978] Downloading separate debug info for /.cache/debuginfod_client/f871bbd529a02abd860f0d16b842b5b20234cb49/debuginfo... [08:42:20.095] Downloading separate debug info for /lib/x86_64-linux-gnu/libicui18n.so.67... [08:42:21.305] Downloading separate debug info for /lib/x86_64-linux-gnu/libldap_r-2.4.so.2... [08:42:22.965] Downloading separate debug info for /lib/x86_64-linux-gnu/libxml2.so.2... [08:42:24.081] Downloading separate debug info for /lib/x86_64-linux-gnu/liblz4.so.1... [08:42:24.892] Downloading separate debug info for /lib/x86_64-linux-gnu/libpam.so.0... [08:42:26.247] Downloading separate debug info for /lib/x86_64-linux-gnu/libssl.so.1.1... [08:42:27.961] Downloading separate debug info for /lib/x86_64-linux-gnu/libcrypto.so.1.1... [08:42:29.457] Downloading separate debug info for /lib/x86_64-linux-gnu/libsystemd.so.0... [08:42:30.365] Downloading separate debug info for /lib/x86_64-linux-gnu/libz.so.1... [08:42:31.901] Downloading separate debug info for /lib/x86_64-linux-gnu/libzstd.so.1... [08:42:33.448] Downloading separate debug info for /lib/x86_64-linux-gnu/libpthread.so.0... [08:42:33.922] [Thread debugging using libthread_db enabled] [08:42:33.922] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [08:42:35.161] Downloading separate debug info for /lib64/ld-linux-x86-64.so.2... [08:42:36.591] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5.so.3... [08:42:37.653] Downloading separate debug info for /lib/x86_64-linux-gnu/libk5crypto.so.3... [08:42:38.293] Downloading separate debug info for /lib/x86_64-linux-gnu/libcom_err.so.2... [08:42:39.152] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5support.so.0... [08:42:41.668] Downloading separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6... [08:42:42.626] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcc_s.so.1... [08:42:43.431] Downloading separate debug info for /lib/x86_64-linux-gnu/liblber-2.4.so.2... [08:42:44.706] Downloading separate debug info for /lib/x86_64-linux-gnu/libresolv.so.2... [08:42:45.651] Downloading separate debug info for /lib/x86_64-linux-gnu/libsasl2.so.2... [08:42:47.325] Downloading separate debug info for /lib/x86_64-linux-gnu/libgnutls.so.30... [08:42:48.438] Downloading separate debug info for /lib/x86_64-linux-gnu/liblzma.so.5... [08:42:49.236] Downloading separate debug info for /lib/x86_64-linux-gnu/libaudit.so.1... [08:42:50.682] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcrypt.so.20... [08:42:51.326] Downloading separate debug info for /lib/x86_64-linux-gnu/libkeyutils.so.1... [08:42:52.854] Downloading separate debug info for /lib/x86_64-linux-gnu/libp11-kit.so.0... [08:42:53.617] Downloading separate debug info for /lib/x86_64-linux-gnu/libidn2.so.0... [08:42:54.840] Downloading separate debug info for /lib/x86_64-linux-gnu/libunistring.so.2... [08:42:55.637] Downloading separate debug info for /lib/x86_64-linux-gnu/libtasn1.so.6... [08:42:56.751] Downloading separate debug info for /lib/x86_64-linux-gnu/libnettle.so.8... [08:42:57.717] Downloading separate debug info for /lib/x86_64-linux-gnu/libhogweed.so.6... [08:42:58.997] Downloading separate debug info for /lib/x86_64-linux-gnu/libgmp.so.10... [08:42:59.636] Downloading separate debug info for /lib/x86_64-linux-gnu/libcap-ng.so.0... [08:43:00.598] Downloading separate debug info for /lib/x86_64-linux-gnu/libgpg-error.so.0... [08:43:01.387] Downloading separate debug info for /lib/x86_64-linux-gnu/libffi.so.7... [08:43:01.884] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004 '. [08:43:01.884] Program terminated with signal SIGQUIT, Quit. [08:43:01.884] #0 0x00007f675dd2afc7 in sigprocmask () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:01.912] [Current thread is 1 (LWP 27768)] [08:43:02.034] [08:43:02.034] Thread 2 (Thread 0x7f675b6c1a40 (LWP 27600)): [08:43:02.034] #0 0x00007f675ddeda61 in clone () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:02.034] No symbol table info available. [08:43:02.034] #1 0x00007f675dddbe5e in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:02.034] No symbol table info available. [08:43:02.034] #2 0x00007f675dddc497 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:02.034] No symbol table info available. [08:43:02.034] #3 0x00007f675dddbcdb in posix_spawn () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:02.034] No symbol table info available. [08:43:02.034] #4 0x00007f675dd37a69 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:02.034] No symbol table info available. [08:43:02.034] #5 0x000055a5d65c9e47 in RestoreArchivedFile (path=path@entry=0x7ffc5e21e5c0 "", xlogfname=xlogfname@entry=0x7ffc5e21e580 "00000003.history", recovername=recovername@entry=0x55a5d70b7df0 "RECOVERYHISTORY", expectedSize=expectedSize@entry=0, cleanupEnabled=cleanupEnabled@entry=false) at ../src/backend/access/transam/xlogarchive.c:177 [08:43:02.034] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\b\000\000\000\000\000\000\064\000\000\000\000\000\000\000\000\016g\361\326\000\000\000\063\000\344!^\374\177\000\000\b\000\000\000\000\000\000\000\244E\vץU\000\000\b\000\000\000\000\000\000\000y\352\nץU\000\000\250\344!^\374\177\000\000u\352\nץU\000\000:b\361֥U\000\000\201\352\nץU\000\000y\352\nץU\000\000\250\344!^\374\177\000\000u\352\nץU\000\000\030\031l[g\177\000\000\330k\361֥U", '\000' , "\b", '\000' , "\060", '\000' , "\002\000\000\000\000\000\000\000g\000\000\000"... [08:43:02.034] xlogRestoreCmd = 0x55a5d87cb958 "cp \"/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline/data/t_025_stuck_on_old_timeline_primary_data/archives/00000003.history\" \"pg_wal/RECOVERYHISTORY\"" [08:43:02.034] lastRestartPointFname = '0' , "\000}\vץU\000\000H\340!^\374\177\000\000\243}\vץU\000\000\030\031l[g\177\000\000\226l\361֥U", '\000' , "\b", '\000' , "\060", '\000' , "\002", '\000' , "Ln\327"... [08:43:02.034] rc = [08:43:02.034] stat_buf = {st_dev = 3472113003596310384, st_ino = 206966894640, st_nlink = 34184295202646376, st_mode = 0, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 8, st_size = 5922071200885860208, st_blksize = 6366210006019162949, st_blocks = 94167162638156, st_atim = {tv_sec = 94170764108346, tv_nsec = 94170765781633}, st_mtim = {tv_sec = 3747089060738034297, tv_nsec = 140721887764472}, st_ctim = {tv_sec = 3607816821, tv_nsec = 140081892170008}, __glibc_reserved = {8, 94170765804964, 140721887764552}} [08:43:02.034] restartSegNo = [08:43:02.034] restartRedoPtr = 94170764109582 [08:43:02.034] restartTli = 0 [08:43:02.034] __func__ = "RestoreArchivedFile" [08:43:02.034] #6 0x000055a5d65a00e8 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [08:43:02.034] path = '\000' , "\002\000\000\000\000\000\000\000F\215]֥U\000\000\001\000\000\000\000\000\000\000\a\000\000\000\r", '\000' , "\030\031l[g\177\000\000\260\350!^\374\177\000\000zt\361֥U\000\000\000\000\000\000\000\000\000\000\240\037\000\000\377\377\002\000\200n\251ץU\000\000t\347!^\374\177\000\000\230\276\026ץU\000\000\021n\251ץU\000\000\200n\251ץU\000\000\224\347!^\374\177\000\000\247\276\026ץU\000\000\200n\251ץU\000\000\002\000\000\000\000\000\000\000\067|\361֥U\000\000\226\347!^\374\177\000\000\224\347!^\374\177", '\000' ... [08:43:02.034] histfname = "00000003.history", '\000' [08:43:02.034] fd = [08:43:02.034] __func__ = "existsTimeLineHistory" [08:43:02.034] #7 0x000055a5d65a01d3 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [08:43:02.034] newestTLI = 2 [08:43:02.034] probeTLI = 3 [08:43:02.034] #8 0x000055a5d65d4e12 in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67211504) at ../src/backend/access/transam/xlogrecovery.c:4113 [08:43:02.034] newExpectedTLEs = [08:43:02.034] found = [08:43:02.034] cell = [08:43:02.034] newtarget = [08:43:02.034] oldtarget = 2 [08:43:02.034] currentTle = 0x0 [08:43:02.034] __func__ = "rescanLatestTimeLine" [08:43:02.034] #9 0x000055a5d65d9fc2 in WaitForWALToBecomeAvailable (RecPtr=RecPtr@entry=67211528, randAccess=false, fetching_ckpt=false, tliRecPtr=tliRecPtr@entry=67211504, replayTLI=2, replayLSN=67211504, nonblocking=false) at ../src/backend/access/transam/xlogrecovery.c:3674 [08:43:02.034] oldSource = XLOG_FROM_STREAM [08:43:02.034] startWalReceiver = false [08:43:02.034] last_fail_time = 765189554638876 [08:43:02.034] now = [08:43:02.034] streaming_reply_sent = true [08:43:02.034] __func__ = "WaitForWALToBecomeAvailable" [08:43:02.034] #10 0x000055a5d65da9f8 in XLogPageRead (xlogreader=0x55a5d8778f30, targetPagePtr=67207168, reqLen=4360, targetRecPtr=67211504, readBuf=0x55a5d87c8128 "\025\321\006") at ../src/backend/access/transam/xlogrecovery.c:3351 [08:43:02.034] private = 0x55a5d8778f10 [08:43:02.034] emode = 15 [08:43:02.034] targetPageOff = 98304 [08:43:02.034] targetSegNo = 4 [08:43:02.034] r = [08:43:02.034] __func__ = "XLogPageRead" [08:43:02.034] #11 0x000055a5d65e2e53 in ReadPageInternal (state=state@entry=0x55a5d8778f30, pageptr=pageptr@entry=67207168, reqLen=reqLen@entry=4360) at ../src/backend/access/transam/xlogreader.c:1060 [08:43:02.034] readLen = [08:43:02.034] targetPageOff = 98304 [08:43:02.034] targetSegNo = 4 [08:43:02.034] hdr = [08:43:02.034] #12 0x000055a5d65e4aae in XLogDecodeNextRecord (state=state@entry=0x55a5d8778f30, nonblocking=nonblocking@entry=false) at ../src/backend/access/transam/xlogreader.c:597 [08:43:02.034] RecPtr = 67211504 [08:43:02.034] record = [08:43:02.034] targetPagePtr = 67207168 [08:43:02.034] randAccess = false [08:43:02.034] len = [08:43:02.034] total_len = [08:43:02.034] targetRecOff = 4336 [08:43:02.034] pageHeaderSize = [08:43:02.034] assembled = false [08:43:02.034] gotheader = [08:43:02.034] readOff = [08:43:02.034] decoded = 0x0 [08:43:02.034] errormsg = 0x55a5d715a241 "LOG" [08:43:02.034] #13 0x000055a5d65e5650 in XLogReadAhead (state=0x55a5d8778f30, nonblocking=nonblocking@entry=false) at ../src/backend/access/transam/xlogreader.c:973 [08:43:02.034] result = [08:43:02.034] #14 0x000055a5d65cff92 in XLogPrefetcherNextBlock (pgsr_private=94170789682528, lsn=0x55a5d87ddc58) at ../src/backend/access/transam/xlogprefetcher.c:492 [08:43:02.034] nonblocking = [08:43:02.034] record = [08:43:02.034] prefetcher = 0x55a5d8779d60 [08:43:02.034] reader = 0x55a5d8778f30 [08:43:02.034] replaying_lsn = 67211096 [08:43:02.034] __func__ = "XLogPrefetcherNextBlock" [08:43:02.034] #15 0x000055a5d65d435b in lrq_prefetch (lrq=) at ../src/backend/access/transam/xlogprefetcher.c:252 [08:43:02.034] No locals. [08:43:02.034] #16 lrq_complete_lsn (lsn=0, lrq=0x55a5d87dd9d8) at ../src/backend/access/transam/xlogprefetcher.c:290 [08:43:02.034] No locals. [08:43:02.034] #17 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x55a5d8779d60, errmsg=errmsg@entry=0x7ffc5e222d08) at ../src/backend/access/transam/xlogprefetcher.c:1037 [08:43:02.034] record = [08:43:02.034] replayed_up_to = 0 [08:43:02.034] #18 0x000055a5d65db225 in ReadRecord (xlogprefetcher=0x55a5d8779d60, emode=emode@entry=15, fetching_ckpt=fetching_ckpt@entry=false, replayTLI=2) at ../src/backend/access/transam/xlogrecovery.c:3151 [08:43:02.034] errormsg = 0x55a5d8779740 "" [08:43:02.034] record = [08:43:02.034] xlogreader = 0x55a5d8778f30 [08:43:02.034] private = [08:43:02.034] __func__ = "ReadRecord" [08:43:02.034] #19 0x000055a5d65de3bc in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1832 [08:43:02.034] xtime = [08:43:02.034] ru0 = {tv = {tv_sec = 1711874354, tv_usec = 84320}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 2043}, {ru_maxrss = 16076, __ru_maxrss_word = 16076}, {ru_ixrss = 0, __ru_ixrss_word = 0}, {ru_idrss = 0, __ru_idrss_word = 0}, {ru_isrss = 0, __ru_isrss_word = 0}, {ru_minflt = 404, __ru_minflt_word = 404}, {ru_majflt = 5, __ru_majflt_word = 5}, {ru_nswap = 0, __ru_nswap_word = 0}, {ru_inblock = 0, __ru_inblock_word = 0}, {ru_oublock = 0, __ru_oublock_word = 0}, {ru_msgsnd = 0, __ru_msgsnd_word = 0}, {ru_msgrcv = 0, __ru_msgrcv_word = 0}, {ru_nsignals = 0, __ru_nsignals_word = 0}, {ru_nvcsw = 11, __ru_nvcsw_word = 11}, {ru_nivcsw = 1, __ru_nivcsw_word = 1}}} [08:43:02.034] record = 0x7f675af94e50 [08:43:02.034] reachedRecoveryTarget = false [08:43:02.034] replayTLI = 2 [08:43:02.053] __func__ = "PerformWalRecovery" [08:43:02.053] #20 0x000055a5d65c8069 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5723 [08:43:02.053] Insert = [08:43:02.053] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = 1, fullPageWrites = true, nextXid = {value = 738}, nextOid = 14202, nextMulti = 1, nextMultiOffset = 0, oldestXid = 730, oldestXidDB = 1, oldestMulti = 1, oldestMultiDB = 1, time = 1711874352, oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 738} [08:43:02.053] wasShutdown = false [08:43:02.053] didCrash = [08:43:02.053] haveTblspcMap = false [08:43:02.053] haveBackupLabel = true [08:43:02.053] EndOfLog = [08:43:02.053] EndOfLogTLI = [08:43:02.053] newTLI = [08:43:02.053] performedWalRecovery = [08:43:02.053] endOfRecoveryInfo = [08:43:02.053] abortedRecPtr = [08:43:02.053] missingContrecPtr = [08:43:02.053] oldestActiveXID = [08:43:02.053] promoted = false [08:43:02.053] __func__ = "StartupXLOG" [08:43:02.053] #21 0x000055a5d6a807df in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [08:43:02.053] No locals. [08:43:02.053] #22 0x000055a5d6a77fa9 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:265 [08:43:02.053] pid = [08:43:02.053] #23 0x000055a5d6a79e74 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3928 [08:43:02.053] pid = [08:43:02.053] __func__ = "StartChildProcess" [08:43:02.053] #24 0x000055a5d6a7ff3e in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55a5d8777df0) at ../src/backend/postmaster/postmaster.c:1364 [08:43:02.053] opt = [08:43:02.053] status = [08:43:02.053] userDoption = [08:43:02.053] listen_addr_saved = false [08:43:02.053] output_config_variable = [08:43:02.053] __func__ = "PostmasterMain" [08:43:02.053] #25 0x000055a5d68a7eb2 in main (argc=4, argv=0x55a5d8777df0) at ../src/backend/main/main.c:197 [08:43:02.053] do_check_root = [08:43:02.053] [08:43:02.053] Thread 1 (LWP 27768): [08:43:02.053] #0 0x00007f675dd2afc7 in sigprocmask () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:02.053] No symbol table info available. [08:43:02.053] #1 0x00007f675dddc13a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:02.053] No symbol table info available. [08:43:02.053] #2 0x00007f675ddeda6f in clone () from /lib/x86_64-linux-gnu/libc.so.6 [08:43:02.053] No symbol table info available.