[11:53:53.215] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [11:53:53.480] dumping /tmp/cores/postgres.26726.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:53:53.607] [New LWP 101956] [11:53:53.689] Core was generated by `postgres: cascade: startup recovering 000000020000000000000004'. [11:53:53.689] Program terminated with signal SIGQUIT, Quit. [11:53:53.689] Sent by thr_kill() from pid 26726 and user 1002. [11:53:53.689] #0 0x000000082be015da in _sigprocmask () from /lib/libc.so.7 [11:53:53.729] [11:53:53.729] Thread 1 (LWP 101956): [11:53:53.729] #0 0x000000082be015da in _sigprocmask () from /lib/libc.so.7 [11:53:53.729] No symbol table info available. [11:53:53.729] #1 0x000000082be3ea3c in _system () from /lib/libc.so.7 [11:53:53.729] No symbol table info available. [11:53:53.729] #2 0x000000082cabd953 in ?? () from /lib/libthr.so.3 [11:53:53.729] No symbol table info available. [11:53:53.729] #3 0x0000000000693dc9 in RestoreArchivedFile (path=path@entry=0x8213731b0 "pg_wal/00000002", '0' , "4", xlogfname=xlogfname@entry=0x8213735b0 "00000003.history", recovername=, expectedSize=expectedSize@entry=0, cleanupEnabled=) at ../src/backend/access/transam/xlogarchive.c:177 [11:53:53.729] xlogpath = "pg_wal/RECOVERYHISTORY\000\000\003\000\000\000\000\000\000\000\360\261#k|\241\320\366PI\353+\b\000\000\000\005\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\34017!\b\000\000\000\001\000\000\000\000\000\000\000\320-7!\b\000\000\000\207\262\327+\b", '\000' , " \250\303\000\000\000\000\000002", '\000' , "002\000\000\000\000\00000000000", '\000' ... [11:53:53.729] lastRestartPointFname = '0' , '\000' , "\360\261#k|\241\320\366PI\353+\b\000\000\000\370\316\301", '\000' , "\001\377\000\207\377\377\377\377\246i\002\000\000\000\000\000\001\000\000\000\000\000\000\000\200\201\000\000\352\003\000\000\353\003\000\000\000\000\000\000\377\377\377\377\377\377\377\377I\334*i\000\000\000\000\340\177\233\030\000\000\000\000I\334*i\000\000\000\000"... [11:53:53.729] stat_buf = {st_dev = 12609796, st_ino = 2, st_nlink = 34917003680, st_mode = 8915, st_bsdflags = 179, st_uid = 0, st_gid = 557265312, st_padding1 = 8, st_rdev = 35095294599, st_atim = {tv_sec = 34917003600, tv_nsec = 3}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 3420208, tv_nsec = 3472328296227680304}, st_birthtim = {tv_sec = 1, tv_nsec = 12701864}, st_size = 35095839920, st_blocks = 10276466339848, st_blksize = 2839672, st_flags = 0, st_gen = 35109184841, st_filerev = 34917003616, st_spare = {35095830910, 2, 35095699845, 736101552, 17784892484231606768, 34917003696, 12707696, 206158430240, 34917003696}} [11:53:53.729] restartRedoPtr = 34917003424 [11:53:53.729] restartTli = 8 [11:53:53.729] restartSegNo = [11:53:53.729] xlogRestoreCmd = 0x958ad78ab28 "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\"" [11:53:53.729] rc = [11:53:53.729] #4 0x000000000067af58 in existsTimeLineHistory (probeTLI=probeTLI@entry=3) at ../src/backend/access/transam/timeline.c:235 [11:53:53.729] path = "pg_wal/00000002", '0' , "4\000\27027!\b\000\000\000\200\t@\255X\t\000\000\000\000\000\000\000\000\000\000\220P%\255X\t\000\000\001\000\000\000\000\000\000\000\22027!\b\000\000\000\36057!\b\000\000\000\256\343\346+\b\000\000\000\360\261#k|\241\320\366\200\t@\255X\t\000\000\000\000\000\000\000\000\000\000\220P%\255X\t\000\000\001\000\000\000\000\000\000\000\22027!\b\000\000\000\36057!\b\000\000\000C\351\346+\b\000\000\000\24027!\b", '\000' , "\n", '\000' , "\330X@\255X\t\000\000"... [11:53:53.729] histfname = "00000003.history\00067!\b\000\000\000]і\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000 67!\b\000\000\000\273ߚ\000\000\000\000" [11:53:53.729] fd = [11:53:53.729] #5 0x000000000067b018 in findNewestTimeLine (startTLI=startTLI@entry=2) at ../src/backend/access/transam/timeline.c:277 [11:53:53.729] newestTLI = 2 [11:53:53.729] probeTLI = 3 [11:53:53.729] #6 0x000000000069f4eb in rescanLatestTimeLine (replayTLI=replayTLI@entry=2, replayLSN=replayLSN@entry=67196016) at ../src/backend/access/transam/xlogrecovery.c:4171 [11:53:53.729] oldtarget = 2 [11:53:53.729] currentTle = 0x0 [11:53:53.729] newtarget = [11:53:53.729] newExpectedTLEs = [11:53:53.729] found = [11:53:53.729] cell = [11:53:53.729] #7 0x000000000069b160 in WaitForWALToBecomeAvailable (RecPtr=67196040, randAccess=false, fetching_ckpt=false, tliRecPtr=67196016, replayTLI=2, replayLSN=67196016, nonblocking=false) at ../src/backend/access/transam/xlogrecovery.c:3733 [11:53:53.729] startWalReceiver = false [11:53:53.729] streaming_reply_sent = true [11:53:53.729] now = [11:53:53.729] #8 XLogPageRead (xlogreader=0x958ad6150a0, targetPagePtr=67190784, reqLen=5256, targetRecPtr=67196016, readBuf=0x958ad75bd38 "\031\321\005") at ../src/backend/access/transam/xlogrecovery.c:3380 [11:53:53.729] private = 0x958ad615080 [11:53:53.729] emode = 15 [11:53:53.729] targetSegNo = 4 [11:53:53.729] targetPageOff = 81920 [11:53:53.729] io_start = [11:53:53.729] r = [11:53:53.729] #9 0x00000000006a2d4c in ReadPageInternal (state=0x958ad6150a0, pageptr=pageptr@entry=67190784, reqLen=5256) at ../src/backend/access/transam/xlogreader.c:1071 [11:53:53.729] targetSegNo = 4 [11:53:53.729] targetPageOff = 81920 [11:53:53.729] readLen = [11:53:53.729] hdr = [11:53:53.729] err = [11:53:53.729] #10 0x00000000006a1b25 in XLogDecodeNextRecord (state=0x958ad6150a0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:598 [11:53:53.729] errormsg = 0x0 [11:53:53.729] randAccess = [11:53:53.729] decoded = [11:53:53.729] RecPtr = 67196016 [11:53:53.729] assembled = false [11:53:53.729] targetPagePtr = 67190784 [11:53:53.729] readOff = [11:53:53.729] record = [11:53:53.729] gotheader = [11:53:53.729] targetRecOff = 5232 [11:53:53.729] pageHeaderSize = [11:53:53.729] len = [11:53:53.729] total_len = [11:53:53.729] buffer = [11:53:53.729] gotlen = [11:53:53.729] pageHeader = [11:53:53.729] contdata = [11:53:53.729] save_copy = [11:53:53.729] #11 XLogReadAhead (state=0x958ad6150a0, nonblocking=false) at ../src/backend/access/transam/xlogreader.c:984 [11:53:53.729] result = [11:53:53.729] #12 0x0000000000698768 in XLogPrefetcherNextBlock (pgsr_private=10276470611664, lsn=0x958ad78a588) at ../src/backend/access/transam/xlogprefetcher.c:490 [11:53:53.729] nonblocking = false [11:53:53.729] record = 0x0 [11:53:53.729] prefetcher = 0x958ad615ed0 [11:53:53.729] reader = 0x958ad6150a0 [11:53:53.729] replaying_lsn = 67195608 [11:53:53.729] #13 0x0000000000698364 in lrq_prefetch (lrq=0x958ad78a318) at ../src/backend/access/transam/xlogprefetcher.c:252 [11:53:53.729] No locals. [11:53:53.729] #14 lrq_complete_lsn (lrq=0x958ad78a318, lsn=) at ../src/backend/access/transam/xlogprefetcher.c:290 [11:53:53.729] No locals. [11:53:53.729] #15 XLogPrefetcherReadRecord (prefetcher=prefetcher@entry=0x958ad615ed0, errmsg=errmsg@entry=0x821377d60) at ../src/backend/access/transam/xlogprefetcher.c:1035 [11:53:53.729] replayed_up_to = [11:53:53.729] record = [11:53:53.729] #16 0x000000000069c04c in ReadRecord (xlogprefetcher=0x958ad615ed0, emode=emode@entry=15, fetching_ckpt=false, replayTLI=replayTLI@entry=2) at ../src/backend/access/transam/xlogrecovery.c:3177 [11:53:53.729] errormsg = 0x0 [11:53:53.729] xlogreader = 0x958ad6150a0 [11:53:53.729] private = [11:53:53.729] record = [11:53:53.729] #17 0x000000000069c939 in PerformWalRecovery () at ../src/backend/access/transam/xlogrecovery.c:1853 [11:53:53.729] ru0 = {tv = {tv_sec = 1764416585, tv_usec = 435073}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 1304}, ru_maxrss = 0, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 158, 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 = 5}} [11:53:53.729] xtime = [11:53:53.729] reachedRecoveryTarget = false [11:53:53.729] replayTLI = 2 [11:53:53.729] record = [11:53:53.729] #18 0x000000000068d0f3 in StartupXLOG () at ../src/backend/access/transam/xlog.c:5908 [11:53:53.729] wasShutdown = false [11:53:53.729] haveTblspcMap = false [11:53:53.729] haveBackupLabel = true [11:53:53.729] timebuf = "2025-11-29 11:43:04 UTC\000z\021\340+\b", '\000' , " \2107!\b\000\000\000)\317\337+\b\000\000\00026478\n/t\000\000\000\000irrus-ci-build/build/testrun/recovery/025_st_ի,\b\000\000" [11:53:53.729] promoted = false [11:53:53.729] didCrash = [11:53:53.729] checkPoint = {redo = 33554472, ThisTimeLineID = 1, PrevTimeLineID = , fullPageWrites = true, wal_level = , nextXid = {value = }, nextOid = , nextMulti = , nextMultiOffset = , oldestXid = , oldestXidDB = , oldestMulti = , oldestMultiDB = , time = , oldestCommitTsXid = 0, newestCommitTsXid = 0, oldestActiveXid = 756} [11:53:53.729] oldestActiveXID = [11:53:53.729] performedWalRecovery = [11:53:53.729] endOfRecoveryInfo = [11:53:53.729] EndOfLog = [11:53:53.729] EndOfLogTLI = [11:53:53.729] abortedRecPtr = [11:53:53.729] missingContrecPtr = [11:53:53.729] newTLI = [11:53:53.729] Insert = [11:53:53.729] #19 0x00000000008d9d5b in StartupProcessMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/startup.c:258 [11:53:53.729] No locals. [11:53:53.729] #20 0x00000000008d36db in postmaster_child_launch (child_type=child_type@entry=B_STARTUP, child_slot=89, 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:268 [11:53:53.729] pid = [11:53:53.729] #21 0x00000000008d6577 in StartChildProcess (type=type@entry=B_STARTUP) at ../src/backend/postmaster/postmaster.c:3991 [11:53:53.729] pmchild = 0x0 [11:53:53.729] pid = [11:53:53.729] #22 0x00000000008d5e7f in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82137ceb8) at ../src/backend/postmaster/postmaster.c:1396 [11:53:53.729] userDoption = [11:53:53.729] listen_addr_saved = false [11:53:53.729] output_config_variable = [11:53:53.729] opt = [11:53:53.729] status = [11:53:53.729] #23 0x00000000008049cd in main (argc=4, argv=0x82137ceb8) at ../src/backend/main/main.c:231 [11:53:53.729] do_check_root = [11:53:53.729] dispatch_option = DISPATCH_POSTMASTER [11:53:53.736] [11:53:53.736] [11:53:53.736] [11:53:53.788] dumping /tmp/cores/postgres.16484.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:53:53.911] [New LWP 100105] [11:53:53.978] Core was generated by `postgres: subscriber: logical replication apply worker for subscription 16439 '. [11:53:53.978] Program terminated with signal SIGSEGV, Segmentation fault. [11:53:53.978] Address not mapped to object. [11:53:53.978] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:53.978] 222 header = *((const uint64 *) ((const char *) pointer - sizeof(uint64))); [11:53:54.000] [11:53:54.000] Thread 1 (LWP 100105): [11:53:54.000] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:54.000] header = [11:53:54.000] #1 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:1600 [11:53:54.000] No locals. [11:53:54.000] #2 0x0000000000900ed3 in GetConflictLogTableRel () at ../src/backend/replication/logical/conflict.c:255 [11:53:54.000] nspid = 0 [11:53:54.000] conflictlogrel = [11:53:54.000] conflictlogtable = [11:53:54.000] conflictlogrelid = [11:53:54.000] #3 0x00000000009001af in ReportApplyConflict (estate=estate@entry=0x2ed82ec04100, relinfo=relinfo@entry=0x2ed82e5fe280, elevel=elevel@entry=15, type=CT_INSERT_EXISTS, type@entry=CT_UPDATE_MISSING, searchslot=searchslot@entry=0x2ed82e5fe630, remoteslot=0x2ed82e580108, remoteslot@entry=0x2ed82e5fe9b0, conflicttuples=0x2ed82e5ff218) at ../src/backend/replication/logical/conflict.c:138 [11:53:54.000] err_detail = {data = 0xb13960 "H\205\300t\032]\303H\215=h\023\203\377H\2155\373\227|\377\272[\005", len = 564030816, maxlen = 8, cursor = 11213265} [11:53:54.000] localrel = 0x2ed82e5cc4d8 [11:53:54.000] conflictlogrel = [11:53:54.000] #4 0x000000000092178a in apply_handle_update_internal (edata=0x2ed82e5fe230, relinfo=0x2ed82e5fe280, remoteslot=0x2ed82e5fe630, newtup=0x8219e7390, localindexoid=16410) at ../src/backend/replication/logical/worker.c:3005 [11:53:54.000] newslot = 0x2ed82e5fe9b0 [11:53:54.000] type = CT_UPDATE_MISSING [11:53:54.000] epqstate = {parentestate = 0x2ed82ec04100, epqParam = -1, resultRelations = 0x0, tuple_table = 0x0, relsubs_slot = 0x2ed82e5feeb8, plan = 0x0, arowMarks = 0x0, origslot = 0x0, recheckestate = 0x0, relsubs_rowmark = 0x0, relsubs_done = 0x0, relsubs_blocked = 0x0, recheckplanstate = 0x0} [11:53:54.000] localslot = 0x2ed82e5fe9b0 [11:53:54.000] conflicttuple = {slot = 0x0, indexoid = 0, xmin = 0, origin = 0, ts = 0} [11:53:54.000] estate = 0x2ed82ec04100 [11:53:54.000] relmapentry = 0x2ed82ec08e48 [11:53:54.000] localrel = 0x2ed82e5cc4d8 [11:53:54.000] oldctx = [11:53:54.000] found = [11:53:54.000] newslot = [11:53:54.000] newslot = [11:53:54.000] type = [11:53:54.000] #5 apply_handle_update (s=) at ../src/backend/replication/logical/worker.c:2893 [11:53:54.000] ucxt = {save_userid = 10, save_sec_context = 0, save_nestlevel = -1} [11:53:54.000] oldtup = {colvalues = 0x2ed82e5fe100, colstatus = 0x2ed82e5fe150 "tt~\177\177\177\177\177\002", ncols = 2} [11:53:54.000] newtup = {colvalues = 0x2ed82e5fe198, colstatus = 0x2ed82e5fe1e8 "tt~\177\177\177\177\177\002", ncols = 2} [11:53:54.000] has_oldtup = true [11:53:54.000] relid = [11:53:54.000] rel = 0x2ed82ec08e48 [11:53:54.000] run_as_owner = false [11:53:54.000] edata = 0x2ed82e5fe230 [11:53:54.000] estate = [11:53:54.000] remoteslot = 0x2ed82e5fe630 [11:53:54.000] target_perminfo = [11:53:54.000] oldctx = [11:53:54.000] i = [11:53:54.000] att = [11:53:54.000] remoteattnum = [11:53:54.000] #6 apply_dispatch (s=s@entry=0x8219e74c8) at ../src/backend/replication/logical/worker.c:3811 [11:53:54.000] action = [11:53:54.000] saved_command = 0 [11:53:54.000] #7 0x00000000009229f0 in LogicalRepApplyLoop (last_received=25290400) at ../src/backend/replication/logical/worker.c:4101 [11:53:54.000] start_lsn = [11:53:54.000] end_lsn = [11:53:54.000] send_time = [11:53:54.000] s = {data = 0x2ed82e431670 "w", len = 65, maxlen = 0, cursor = 65} [11:53:54.000] c = [11:53:54.000] fd = -1 [11:53:54.000] buf = 0x2ed82e431670 "w" [11:53:54.000] len = [11:53:54.000] wait_time = [11:53:54.000] endofstream = false [11:53:54.000] rc = [11:53:54.000] tli = 776148592 [11:53:54.000] errcallback = {previous = 0x0, callback = 0x9236a0 , arg = 0x2ed82e415fe0} [11:53:54.000] rdt_data = {phase = RDT_GET_CANDIDATE_XID, remote_lsn = 0, remote_oldestxid = {value = 0}, remote_nextxid = {value = 0}, reply_time = 0, remote_wait_for = {value = 0}, candidate_xid = 0, flushpos_update_time = 0, table_sync_wait_time = 0, last_recv_time = 817732041274389, candidate_xid_time = 0, xid_advance_interval = 0} [11:53:54.000] last_recv_timestamp = 817732041274389 [11:53:54.000] ping_sent = false [11:53:54.000] #8 start_apply (origin_startpos=origin_startpos@entry=0) at ../src/backend/replication/logical/worker.c:5595 [11:53:54.000] _local_sigjmp_buf = {{_sjb = {9578278, 0, 34923770952, 34923771296, 12725928, 12815248, 34923770960, 12815256, 895, 2, 34923771072, 0}}} [11:53:54.000] _save_exception_stack = 0x8219e76a0 [11:53:54.000] _save_context_stack = 0x0 [11:53:54.000] _do_rethrow = false [11:53:54.000] #9 0x00000000009268fe in run_apply_worker () at ../src/backend/replication/logical/worker.c:5754 [11:53:54.000] originname = "pg_16439", '\000' , "\b\000\000\000\001\000\000\000\000\000\000" [11:53:54.000] startpointTLI = 1 [11:53:54.000] err = 0x2ed82e414c6c "ApplyWorkerMain" [11:53:54.000] options = {logical = , slotname = , startpoint = , proto = {physical = {startpointTLI = }, logical = {proto_version = , publication_names = , binary = , streaming_str = , twophase = false, origin = 0x2ed82e580700 "any"}}} [11:53:54.000] origin_startpos = 0 [11:53:54.000] slotname = 0x2ed82e5fabc8 "tap_sub" [11:53:54.000] originid = [11:53:54.000] must_use_password = [11:53:54.000] #10 0x000000000092362d in ApplyWorkerMain (main_arg=) at ../src/backend/replication/logical/worker.c:5961 [11:53:54.000] worker_slot = [11:53:54.000] #11 0x00000000008d0ac9 in BackgroundWorkerMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/bgworker.c:846 [11:53:54.000] local_sigjmp_buf = {{_sjb = {9243282, 51506023843744, 34923771544, 34923771696, 10021488, 9859696, 51506023843744, 34923771552, 206158431103, -2147815357, -1, 1}}} [11:53:54.000] worker = 0x2ed82e4147a0 [11:53:54.000] entrypt = 0x0 [11:53:54.000] #12 0x00000000008d36db in postmaster_child_launch (child_type=child_type@entry=B_BG_WORKER, child_slot=219, startup_data=startup_data@entry=0x2ed82e516038, startup_data_len=startup_data_len@entry=1472, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:268 [11:53:54.000] pid = [11:53:54.000] #13 0x00000000008d6847 in StartBackgroundWorker (rw=0x2ed82e516038) at ../src/backend/postmaster/postmaster.c:4168 [11:53:54.000] bn = 0x2ed82e55d918 [11:53:54.000] worker_pid = [11:53:54.000] __error = [11:53:54.000] __error = [11:53:54.000] __error = [11:53:54.000] #14 maybe_start_bgworkers () at ../src/backend/postmaster/postmaster.c:4334 [11:53:54.000] rw = 0x2ed82e516038 [11:53:54.000] num_launched = 0 [11:53:54.000] now = 0 [11:53:54.000] iter = {cur = 0x2ed82e516610, next = , end = } [11:53:54.000] #15 0x00000000008d8515 in LaunchMissingBackgroundProcesses () at ../src/backend/postmaster/postmaster.c:3408 [11:53:54.000] No locals. [11:53:54.000] #16 ServerLoop () at ../src/backend/postmaster/postmaster.c:1728 [11:53:54.000] now = [11:53:54.000] events = {{pos = 0, events = 1, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 776562136, events = 11992, fd = 564034624, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 16777216, fd = 564034960, user_data = 0x43}, {pos = 564034736, events = 8, fd = -343901499, user_data = 0x8219e7c90}, {pos = 712586021, events = 8, fd = 564034760, user_data = 0x8219e7d40}, {pos = 564034784, events = 8, fd = -343901499, user_data = 0x2ed82e00a408}, {pos = 3, events = 0, fd = 564034808, user_data = 0x8219e7d70}, {pos = 711465160, events = 8, fd = 711465160, user_data = 0x8219e7d20}, {pos = -343901499, events = 9348, fd = 564034912, user_data = 0x2484eb802b2b}, {pos = 564034872, events = 8, fd = 564034992, user_data = 0x82a6808d4}, {pos = 711461076, events = 8, fd = 771793928, user_data = 0x3}, {pos = 564034976, events = 8, fd = -343921877, user_data = 0x8219e7db0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 564035064, events = 8, fd = 564035512, user_data = 0x8219e7de0}, {pos = -343903182, events = 9348, fd = 2715703, user_data = 0x2ed82e00f288}, {pos = 711384712, events = 8, fd = 771793928, user_data = 0x8219e7e38}, {pos = 564035576, events = 8, fd = 564035104, user_data = 0x2484eb807432}, {pos = 2740380, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 771817552, events = 11992, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 564035816, user_data = 0x3219e7e20}, {pos = 564035648, events = 8, fd = 771816136, user_data = 0x290}, {pos = 564035576, events = 8, fd = 564035128, user_data = 0x8219e7ea0}, {pos = -343903541, events = 9348, fd = 564035752, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x2ed82e010050}, {pos = 1, events = 8, fd = 771793928, user_data = 0x82a66de88}, {pos = 564035816, events = 8, fd = 564035648, user_data = 0x20}, {pos = 0, events = 0, fd = 771764232, user_data = 0x8219e7eb0}, {pos = 564035632, events = 8, fd = -343928633, user_data = 0x2ed82e003008}, {pos = 771765256, events = 11992, fd = 771766280, user_data = 0x2ed82e003c08}, {pos = 771780616, events = 11992, fd = 771781640, user_data = 0x2ed82e007808}, {pos = 771783688, events = 11992, fd = 771784712, user_data = 0x2ed82e008408}, {pos = 771786760, events = 11992, fd = 771787784, user_data = 0x2ed82e009008}, {pos = 771789832, events = 11992, fd = 771790856, user_data = 0x2ed82e009c08}, {pos = 771792904, events = 11992, fd = 771793928, user_data = 0x2ed82e00a808}, {pos = 771795976, events = 11992, fd = 771797000, user_data = 0x2ed82e00b408}, {pos = 771799048, events = 11992, fd = 771800072, user_data = 0x2ed82e00c008}, {pos = 771802120, events = 11992, fd = 771803144, user_data = 0x2ed82e00cc08}, {pos = 771809288, events = 11992, fd = 771810312, user_data = 0x2ed82e00e808}, {pos = 771812360, events = 11992, fd = 771764232, user_data = 0x29d09c}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x2ed82e010050}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 564035816, events = 8, fd = 564035248, user_data = 0x2000000020}, {pos = 771764232, events = 11992, fd = 1, user_data = 0x27c8d8}, {pos = 301, events = 0, fd = 771817552, user_data = 0x8219e80d0}, {pos = -343929924, events = 9348, fd = 2740380, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 771817552, user_data = 0x1}, {pos = 12703768, events = 0, fd = 712633712, user_data = 0x2ed82e003008}, {pos = 2845384, events = 0, fd = 693060937, user_data = 0x1}, {pos = 772485128, events = 11992, fd = 564035792, user_data = 0x8294f36e5}, {pos = 712633712, events = 8, fd = 12703768, user_data = 0x82a79ed70 }, {pos = 771793928, events = 11992, fd = 564036016, user_data = 0x2484eb8009b4}, {pos = 564035872, events = 8, fd = 1, user_data = 0x2484eb80082e}, {pos = 771764232, events = 11992, fd = 564035800, user_data = 0x8219e81b0}, {pos = 6912, events = 0, fd = 12, user_data = 0x2484eb814b40}, {pos = 0, events = 0, fd = 776012671, user_data = 0x8219e81e0}, {pos = 564035936, events = 8, fd = 693020112, user_data = 0x82a842300 <__thr_jtable>}, {pos = 713311728, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 564035984, events = 8, fd = 693020112, user_data = 0x82a842300 <__thr_jtable>}, {pos = 713311728, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 564036032, events = 8, fd = 693062557, user_data = 0x2ed82e0b3008}, {pos = 16041, events = 0, fd = 564036128, user_data = 0x8294eca7d}} [11:53:54.000] last_touch_time = 1764416835 [11:53:54.000] last_lockfile_recheck_time = 1764416835 [11:53:54.000] nevents = [11:53:54.000] #17 0x00000000008d5eb7 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8219e8830) at ../src/backend/postmaster/postmaster.c:1403 [11:53:54.000] userDoption = [11:53:54.000] listen_addr_saved = false [11:53:54.000] output_config_variable = [11:53:54.000] opt = [11:53:54.000] status = [11:53:54.000] #18 0x00000000008049cd in main (argc=4, argv=0x8219e8830) at ../src/backend/main/main.c:231 [11:53:54.000] do_check_root = [11:53:54.000] dispatch_option = DISPATCH_POSTMASTER [11:53:54.007] [11:53:54.007] [11:53:54.007] [11:53:54.060] dumping /tmp/cores/postgres.21294.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:53:54.186] [New LWP 101943] [11:53:54.254] Core was generated by `postgres: subscriber1: logical replication apply worker for subscription 16438 '. [11:53:54.254] Program terminated with signal SIGSEGV, Segmentation fault. [11:53:54.254] Address not mapped to object. [11:53:54.254] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:54.254] 222 header = *((const uint64 *) ((const char *) pointer - sizeof(uint64))); [11:53:54.283] [11:53:54.283] Thread 1 (LWP 101943): [11:53:54.283] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:54.283] header = [11:53:54.283] #1 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:1600 [11:53:54.283] No locals. [11:53:54.283] #2 0x0000000000900ed3 in GetConflictLogTableRel () at ../src/backend/replication/logical/conflict.c:255 [11:53:54.283] nspid = 0 [11:53:54.283] conflictlogrel = [11:53:54.283] conflictlogtable = [11:53:54.283] conflictlogrelid = [11:53:54.283] #3 0x00000000009001af in ReportApplyConflict (estate=estate@entry=0x84926fa100, relinfo=relinfo@entry=0x8492608930, elevel=elevel@entry=15, type=CT_INSERT_EXISTS, type@entry=CT_UPDATE_MISSING, searchslot=searchslot@entry=0x84926ae130, remoteslot=0x8491f80048, remoteslot@entry=0x8492608108, conflicttuples=0x8492609f98) at ../src/backend/replication/logical/conflict.c:138 [11:53:54.283] err_detail = {data = 0xb13960 "H\205\300t\032]\303H\215=h\023\203\377H\2155\373\227|\377\272[\005", len = 561663744, maxlen = 8, cursor = 11213265} [11:53:54.283] localrel = 0x8492689208 [11:53:54.283] conflictlogrel = [11:53:54.283] #4 0x0000000000924b13 in apply_handle_tuple_routing (edata=edata@entry=0x8491ffe198, remoteslot=remoteslot@entry=0x8491ffe598, newtup=newtup@entry=0x8217a5660, operation=operation@entry=CMD_UPDATE) at ../src/backend/replication/logical/worker.c:3500 [11:53:54.283] newslot = 0x8492608108 [11:53:54.283] type = CT_UPDATE_MISSING [11:53:54.283] localslot = 0x8492608108 [11:53:54.283] partrelinfo_new = [11:53:54.283] partrel_new = [11:53:54.283] epqstate = {parentestate = 0x0, epqParam = 0, resultRelations = 0x3000000000000, tuple_table = 0x8491ffe180, relsubs_slot = 0x0, plan = 0x19, arowMarks = 0xffffff00, origslot = 0xffffffffffffffff, recheckestate = 0x8491ffe100, relsubs_rowmark = 0xffffffff, relsubs_done = 0x19, relsubs_blocked = 0x8217a5100, recheckplanstate = 0xaec71f } [11:53:54.283] conflicttuple = {slot = 0x0, indexoid = 0, xmin = 0, origin = 0, ts = 0} [11:53:54.283] found = [11:53:54.283] estate = 0x84926fa100 [11:53:54.283] relmapentry = 0x8492606f48 [11:53:54.283] relinfo = 0x8491ffe1e8 [11:53:54.283] parentrel = 0x8491fcafc8 [11:53:54.283] part_entry = 0x84926c4ba0 [11:53:54.283] attrmap = [11:53:54.283] mtstate = 0x8491fff9d0 [11:53:54.283] proute = 0x8491fffbe0 [11:53:54.283] oldctx = 0x8491ffe000 [11:53:54.283] partrelinfo = 0x8492608930 [11:53:54.283] partrel = [11:53:54.283] remoteslot_part = 0x84926ae130 [11:53:54.283] map = 0x0 [11:53:54.283] #5 0x0000000000920ac5 in apply_handle_update (s=) at ../src/backend/replication/logical/worker.c:2890 [11:53:54.283] ucxt = {save_userid = 10, save_sec_context = 0, save_nestlevel = -1} [11:53:54.283] oldtup = {colvalues = 0x8217a5700, colstatus = 0xc22d98 "\220\257\347<\b", ncols = 561665744} [11:53:54.283] newtup = {colvalues = 0x8491ffe100, colstatus = 0x8491ffe150 "tt~\177\177\177\177\177\002", ncols = 2} [11:53:54.283] has_oldtup = false [11:53:54.283] relid = [11:53:54.283] rel = 0x8492606f48 [11:53:54.283] run_as_owner = false [11:53:54.283] edata = 0x8491ffe198 [11:53:54.283] estate = 0x84926fa100 [11:53:54.283] remoteslot = 0x8491ffe598 [11:53:54.283] target_perminfo = [11:53:54.283] oldctx = [11:53:54.283] i = [11:53:54.283] att = [11:53:54.283] remoteattnum = [11:53:54.283] #6 apply_dispatch (s=s@entry=0x8217a5798) at ../src/backend/replication/logical/worker.c:3811 [11:53:54.283] action = [11:53:54.283] saved_command = 0 [11:53:54.283] #7 0x00000000009229f0 in LogicalRepApplyLoop (last_received=25022448) at ../src/backend/replication/logical/worker.c:4101 [11:53:54.283] start_lsn = [11:53:54.283] end_lsn = [11:53:54.283] send_time = [11:53:54.283] s = {data = 0x8491ee46c0 "w", len = 48, maxlen = 0, cursor = 48} [11:53:54.283] c = [11:53:54.283] fd = -1 [11:53:54.283] buf = 0x8491ee46c0 "w" [11:53:54.283] len = [11:53:54.283] wait_time = [11:53:54.283] endofstream = false [11:53:54.283] rc = [11:53:54.283] tli = 2448312000 [11:53:54.283] errcallback = {previous = 0x0, callback = 0x9236a0 , arg = 0x8491e15fe0} [11:53:54.283] rdt_data = {phase = RDT_GET_CANDIDATE_XID, remote_lsn = 0, remote_oldestxid = {value = 0}, remote_nextxid = {value = 0}, reply_time = 0, remote_wait_for = {value = 0}, candidate_xid = 0, flushpos_update_time = 0, table_sync_wait_time = 0, last_recv_time = 817732053357472, candidate_xid_time = 0, xid_advance_interval = 0} [11:53:54.283] last_recv_timestamp = 817732053357472 [11:53:54.283] ping_sent = false [11:53:54.283] #8 start_apply (origin_startpos=origin_startpos@entry=0) at ../src/backend/replication/logical/worker.c:5595 [11:53:54.283] _local_sigjmp_buf = {{_sjb = {9578278, 0, 34921404184, 34921404528, 12725928, 12815248, 34921404192, 12815256, 895, 2, 34921404304, 0}}} [11:53:54.283] _save_exception_stack = 0x8217a5970 [11:53:54.283] _save_context_stack = 0x0 [11:53:54.283] _do_rethrow = false [11:53:54.283] #9 0x00000000009268fe in run_apply_worker () at ../src/backend/replication/logical/worker.c:5754 [11:53:54.283] originname = "pg_16438", '\000' , "\b\000\000\000\001\000\000\000\000\000\000" [11:53:54.283] startpointTLI = 1 [11:53:54.283] err = 0x8491e14c6c "ApplyWorkerMain" [11:53:54.283] options = {logical = , slotname = , startpoint = , proto = {physical = {startpointTLI = }, logical = {proto_version = , publication_names = , binary = , streaming_str = , twophase = false, origin = 0x8491f80600 "any"}}} [11:53:54.283] origin_startpos = 0 [11:53:54.283] slotname = 0x8491ffabc8 "sub1" [11:53:54.283] originid = [11:53:54.283] must_use_password = [11:53:54.283] #10 0x000000000092362d in ApplyWorkerMain (main_arg=) at ../src/backend/replication/logical/worker.c:5961 [11:53:54.283] worker_slot = [11:53:54.283] #11 0x00000000008d0ac9 in BackgroundWorkerMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/bgworker.c:846 [11:53:54.283] local_sigjmp_buf = {{_sjb = {9243282, 569383143328, 34921404776, 34921404928, 10021488, 9859696, 569383143328, 34921404784, 206158431103, -2147815357, -1, 1}}} [11:53:54.283] worker = 0x8491e147a0 [11:53:54.283] entrypt = 0x0 [11:53:54.283] #12 0x00000000008d36db in postmaster_child_launch (child_type=child_type@entry=B_BG_WORKER, child_slot=219, startup_data=startup_data@entry=0x8491f16038, startup_data_len=startup_data_len@entry=1472, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:268 [11:53:54.283] pid = [11:53:54.283] #13 0x00000000008d6847 in StartBackgroundWorker (rw=0x8491f16038) at ../src/backend/postmaster/postmaster.c:4168 [11:53:54.283] bn = 0x8491f5d918 [11:53:54.283] worker_pid = [11:53:54.283] __error = [11:53:54.283] __error = [11:53:54.283] __error = [11:53:54.283] #14 maybe_start_bgworkers () at ../src/backend/postmaster/postmaster.c:4334 [11:53:54.283] rw = 0x8491f16038 [11:53:54.283] num_launched = 0 [11:53:54.283] now = 0 [11:53:54.283] iter = {cur = 0x8491f16610, next = , end = } [11:53:54.283] #15 0x00000000008d8515 in LaunchMissingBackgroundProcesses () at ../src/backend/postmaster/postmaster.c:3408 [11:53:54.283] No locals. [11:53:54.283] #16 ServerLoop () at ../src/backend/postmaster/postmaster.c:1728 [11:53:54.283] now = [11:53:54.283] events = {{pos = 0, events = 1, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1846975016, events = 132, fd = 561667856, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 16777216, fd = 561668192, user_data = 0x43}, {pos = 561667968, events = 8, fd = 1859566277, user_data = 0x8217a5f60}, {pos = 729674533, events = 8, fd = 561667992, user_data = 0x8217a6010}, {pos = 561668016, events = 8, fd = 1859566277, user_data = 0x8491a0a408}, {pos = 3, events = 0, fd = 561668040, user_data = 0x8217a6040}, {pos = 728553672, events = 8, fd = 728553672, user_data = 0x8217a5ff0}, {pos = 1859566277, events = 7928, fd = 561668144, user_data = 0x1ef86ed66b2b}, {pos = 561668104, events = 8, fd = 561668224, user_data = 0x82b6cc8d4}, {pos = 728549588, events = 8, fd = -1851743224, user_data = 0x3}, {pos = 561668208, events = 8, fd = 1859545899, user_data = 0x8217a6080}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 561668296, events = 8, fd = 561668744, user_data = 0x8217a60b0}, {pos = 1859564594, events = 7928, fd = 2715703, user_data = 0x8491a0f288}, {pos = 728473224, events = 8, fd = -1851743224, user_data = 0x8217a6108}, {pos = 561668808, events = 8, fd = 561668336, user_data = 0x1ef86ed6b432}, {pos = 2740380, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = -1851719600, events = 132, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 561669048, user_data = 0x3217a60f0}, {pos = 561668880, events = 8, fd = -1851721016, user_data = 0x290}, {pos = 561668808, events = 8, fd = 561668360, user_data = 0x8217a6170}, {pos = 1859564235, events = 7928, fd = 561668984, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x8491a10050}, {pos = 1, events = 8, fd = -1851743224, user_data = 0x82b6b9e88}, {pos = 561669048, events = 8, fd = 561668880, user_data = 0x20}, {pos = 0, events = 0, fd = -1851772920, user_data = 0x8217a6180}, {pos = 561668864, events = 8, fd = 1859539143, user_data = 0x8491a03008}, {pos = -1851771896, events = 132, fd = -1851770872, user_data = 0x8491a03c08}, {pos = -1851756536, events = 132, fd = -1851755512, user_data = 0x8491a07808}, {pos = -1851753464, events = 132, fd = -1851752440, user_data = 0x8491a08408}, {pos = -1851750392, events = 132, fd = -1851749368, user_data = 0x8491a09008}, {pos = -1851747320, events = 132, fd = -1851746296, user_data = 0x8491a09c08}, {pos = -1851744248, events = 132, fd = -1851743224, user_data = 0x8491a0a808}, {pos = -1851741176, events = 132, fd = -1851740152, user_data = 0x8491a0b408}, {pos = -1851738104, events = 132, fd = -1851737080, user_data = 0x8491a0c008}, {pos = -1851735032, events = 132, fd = -1851734008, user_data = 0x8491a0cc08}, {pos = -1851727864, events = 132, fd = -1851726840, user_data = 0x8491a0e808}, {pos = -1851724792, events = 132, fd = -1851772920, user_data = 0x29d09c}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x8491a10050}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 561669048, events = 8, fd = 561668480, user_data = 0x2000000020}, {pos = -1851772920, events = 132, fd = 1, user_data = 0x27c8d8}, {pos = 301, events = 0, fd = -1851719600, user_data = 0x8217a63a0}, {pos = 1859537852, events = 7928, fd = 2740380, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = -1851719600, user_data = 0x1}, {pos = 12703768, events = 0, fd = 729722224, user_data = 0x8491a03008}, {pos = 2845384, events = 0, fd = 681612617, user_data = 0x1}, {pos = -1851052024, events = 132, fd = 561669024, user_data = 0x828a086e5}, {pos = 729722224, events = 8, fd = 12703768, user_data = 0x82b7ead70 }, {pos = -1851743224, events = 132, fd = 561669248, user_data = 0x1ef86ed649b4}, {pos = 561669104, events = 8, fd = 1, user_data = 0x1ef86ed6482e}, {pos = -1851772920, events = 132, fd = 561669032, user_data = 0x8217a6480}, {pos = 6912, events = 0, fd = 12, user_data = 0x1ef86ed78b40}, {pos = 0, events = 0, fd = -1847524481, user_data = 0x8217a64b0}, {pos = 561669168, events = 8, fd = 681571792, user_data = 0x82b88e300 <__thr_jtable>}, {pos = 730400240, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 561669216, events = 8, fd = 681571792, user_data = 0x82b88e300 <__thr_jtable>}, {pos = 730400240, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 561669264, events = 8, fd = 681614237, user_data = 0x8491ab3008}, {pos = 20400, events = 0, fd = 561669360, user_data = 0x828a01a7d}} [11:53:54.283] last_touch_time = 1764416848 [11:53:54.283] last_lockfile_recheck_time = 1764416848 [11:53:54.283] nevents = [11:53:54.283] #17 0x00000000008d5eb7 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8217a6b00) at ../src/backend/postmaster/postmaster.c:1403 [11:53:54.283] userDoption = [11:53:54.283] listen_addr_saved = false [11:53:54.283] output_config_variable = [11:53:54.283] opt = [11:53:54.283] status = [11:53:54.283] #18 0x00000000008049cd in main (argc=4, argv=0x8217a6b00) at ../src/backend/main/main.c:231 [11:53:54.283] do_check_root = [11:53:54.283] dispatch_option = DISPATCH_POSTMASTER [11:53:54.290] [11:53:54.290] [11:53:54.290] [11:53:54.343] dumping /tmp/cores/postgres.27817.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:53:54.466] [New LWP 102086] [11:53:54.532] Core was generated by `postgres: subscriber: logical replication apply worker for subscription 16398 '. [11:53:54.532] Program terminated with signal SIGSEGV, Segmentation fault. [11:53:54.532] Address not mapped to object. [11:53:54.532] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:54.532] 222 header = *((const uint64 *) ((const char *) pointer - sizeof(uint64))); [11:53:54.556] [11:53:54.556] Thread 1 (LWP 102086): [11:53:54.556] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:54.556] header = [11:53:54.556] #1 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:1600 [11:53:54.556] No locals. [11:53:54.556] #2 0x0000000000900ed3 in GetConflictLogTableRel () at ../src/backend/replication/logical/conflict.c:255 [11:53:54.556] nspid = 0 [11:53:54.556] conflictlogrel = [11:53:54.556] conflictlogtable = [11:53:54.556] conflictlogrelid = [11:53:54.556] #3 0x00000000009001af in ReportApplyConflict (estate=estate@entry=0x20ec85671100, relinfo=relinfo@entry=0x20ec856081b0, elevel=elevel@entry=21, type=CT_INSERT_EXISTS, searchslot=searchslot@entry=0x0, remoteslot=0x20ec84f80218, remoteslot@entry=0x20ec85608560, conflicttuples=0x20ec85609888) at ../src/backend/replication/logical/conflict.c:138 [11:53:54.556] err_detail = {data = 0x800000314 , len = 21, maxlen = 0, cursor = 788} [11:53:54.556] localrel = 0x20ec84fd3d48 [11:53:54.556] conflictlogrel = [11:53:54.556] #4 0x00000000007a503b in CheckAndReportConflict (resultRelInfo=resultRelInfo@entry=0x20ec856081b0, estate=estate@entry=0x20ec85671100, type=type@entry=CT_INSERT_EXISTS, recheckIndexes=recheckIndexes@entry=0x20ec85608ca8, searchslot=searchslot@entry=0x0, remoteslot=remoteslot@entry=0x20ec85608560) at ../src/backend/executor/execReplication.c:793 [11:53:54.556] conflicttuples = 0x20ec85609888 [11:53:54.556] conflictslot = [11:53:54.556] #5 0x00000000007a4994 in ExecSimpleRelationInsert (resultRelInfo=0x20ec856081b0, estate=0x20ec85671100, slot=0x20ec85608560) at ../src/backend/executor/execReplication.c:870 [11:53:54.556] conflict = true [11:53:54.556] recheckIndexes = 0x20ec85608ca8 [11:53:54.556] conflictindexes = [11:53:54.556] skip_tuple = [11:53:54.556] rel = [11:53:54.556] #6 0x0000000000924e0a in apply_handle_insert_internal (edata=edata@entry=0x20ec85608160, relinfo=0x0, relinfo@entry=0x20ec856081b0, remoteslot=0xbe90a8 , remoteslot@entry=0x20ec85608560) at ../src/backend/replication/logical/worker.c:2749 [11:53:54.556] estate = 0x20ec84fd40a8 [11:53:54.556] #7 0x0000000000921b9e in apply_handle_insert (s=) at ../src/backend/replication/logical/worker.c:2709 [11:53:54.556] relinfo = 0x20ec856081b0 [11:53:54.556] newtup = {colvalues = 0x20ec85608100, colstatus = 0x20ec85608130 "b~\177\177\177\177\177\177\005", ncols = 1} [11:53:54.556] ucxt = {save_userid = 10, save_sec_context = 0, save_nestlevel = -1} [11:53:54.556] relid = [11:53:54.556] rel = 0x20ec85610fc8 [11:53:54.556] run_as_owner = false [11:53:54.556] edata = 0x20ec85608160 [11:53:54.556] estate = [11:53:54.556] remoteslot = 0x20ec85608560 [11:53:54.556] oldctx = 0x20ec85608000 [11:53:54.556] relinfo = [11:53:54.556] #8 apply_dispatch (s=s@entry=0x821329388) at ../src/backend/replication/logical/worker.c:3807 [11:53:54.556] action = [11:53:54.556] saved_command = 0 [11:53:54.556] #9 0x00000000009229f0 in LogicalRepApplyLoop (last_received=36945680) at ../src/backend/replication/logical/worker.c:4101 [11:53:54.556] start_lsn = [11:53:54.556] end_lsn = [11:53:54.556] send_time = [11:53:54.556] s = {data = 0x20ec84e2dc50 "w", len = 42, maxlen = 0, cursor = 42} [11:53:54.556] c = [11:53:54.556] fd = -1 [11:53:54.556] buf = 0x20ec84e2dc50 "w" [11:53:54.556] len = [11:53:54.556] wait_time = [11:53:54.556] endofstream = false [11:53:54.556] rc = [11:53:54.556] tli = 2229460048 [11:53:54.556] errcallback = {previous = 0x0, callback = 0x9236a0 , arg = 0x0} [11:53:54.556] rdt_data = {phase = RDT_GET_CANDIDATE_XID, remote_lsn = 0, remote_oldestxid = {value = 0}, remote_nextxid = {value = 0}, reply_time = 0, remote_wait_for = {value = 0}, candidate_xid = 0, flushpos_update_time = 0, table_sync_wait_time = 0, last_recv_time = 817732069777528, candidate_xid_time = 0, xid_advance_interval = 0} [11:53:54.556] last_recv_timestamp = 817732069777528 [11:53:54.556] ping_sent = false [11:53:54.556] #10 start_apply (origin_startpos=origin_startpos@entry=36624632) at ../src/backend/replication/logical/worker.c:5595 [11:53:54.556] _local_sigjmp_buf = {{_sjb = {9578278, 36624632, 34916700936, 34916701280, 12725928, 12815248, 34916700944, 12815256, 895, 36200213741568, 36200213733376, 36197984370688}}} [11:53:54.556] _save_exception_stack = 0x821329560 [11:53:54.556] _save_context_stack = 0x0 [11:53:54.556] _do_rethrow = false [11:53:54.556] #11 0x00000000009268fe in run_apply_worker () at ../src/backend/replication/logical/worker.c:5754 [11:53:54.556] originname = "pg_16398\000\225\260\000\000\000\000\000\000 \000\000\000\000\000\000\000`\341\204\354 \000\000\016\000\000\000\000\000\000\000\000@\341\204\354 ", '\000' [11:53:54.556] startpointTLI = 1 [11:53:54.556] err = 0x20ec84e14c6c "ApplyWorkerMain" [11:53:54.556] options = {logical = , slotname = , startpoint = , proto = {physical = {startpointTLI = }, logical = {proto_version = , publication_names = , binary = , streaming_str = , twophase = false, origin = 0x20ec84f80800 "any"}}} [11:53:54.556] origin_startpos = 36624632 [11:53:54.556] slotname = 0x20ec84ffbbc8 "tap_sub" [11:53:54.556] originid = [11:53:54.556] must_use_password = [11:53:54.556] #12 0x000000000092362d in ApplyWorkerMain (main_arg=) at ../src/backend/replication/logical/worker.c:5961 [11:53:54.556] worker_slot = [11:53:54.556] #13 0x00000000008d0ac9 in BackgroundWorkerMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/bgworker.c:846 [11:53:54.556] local_sigjmp_buf = {{_sjb = {9243282, 36200213727136, 34916701528, 34916701680, 10021488, 9859696, 36200213727136, 34916701536, 206158431103, -2147815357, -1, 1}}} [11:53:54.556] worker = 0x20ec84e147a0 [11:53:54.556] entrypt = 0x0 [11:53:54.556] #14 0x00000000008d36db in postmaster_child_launch (child_type=child_type@entry=B_BG_WORKER, child_slot=219, startup_data=startup_data@entry=0x20ec84f16038, startup_data_len=startup_data_len@entry=1472, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:268 [11:53:54.556] pid = [11:53:54.556] #15 0x00000000008d6847 in StartBackgroundWorker (rw=0x20ec84f16038) at ../src/backend/postmaster/postmaster.c:4168 [11:53:54.556] bn = 0x20ec84f5d918 [11:53:54.556] worker_pid = [11:53:54.556] __error = [11:53:54.556] __error = [11:53:54.556] __error = [11:53:54.556] #16 maybe_start_bgworkers () at ../src/backend/postmaster/postmaster.c:4334 [11:53:54.556] rw = 0x20ec84f16038 [11:53:54.556] num_launched = 0 [11:53:54.556] now = 0 [11:53:54.556] iter = {cur = 0x20ec84f16610, next = , end = } [11:53:54.556] #17 0x00000000008d8515 in LaunchMissingBackgroundProcesses () at ../src/backend/postmaster/postmaster.c:3408 [11:53:54.556] No locals. [11:53:54.556] #18 ServerLoop () at ../src/backend/postmaster/postmaster.c:1728 [11:53:54.556] now = [11:53:54.556] events = {{pos = 0, events = 1, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -2065050152, events = 8428, fd = 556964608, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 16777216, fd = 556964944, user_data = 0x43}, {pos = 556964720, events = 8, fd = 1630567109, user_data = 0x821329b50}, {pos = 717488933, events = 8, fd = 556964744, user_data = 0x821329c00}, {pos = 556964768, events = 8, fd = 1630567109, user_data = 0x20ec84a0a408}, {pos = 3, events = 0, fd = 556964792, user_data = 0x821329c30}, {pos = 716368072, events = 8, fd = 716368072, user_data = 0x821329be0}, {pos = 1630567109, events = 797, fd = 556964896, user_data = 0x31d61302b2b}, {pos = 556964856, events = 8, fd = 556964976, user_data = 0x82ab2d8d4}, {pos = 716363988, events = 8, fd = -2069847032, user_data = 0x3}, {pos = 556964960, events = 8, fd = 1630546731, user_data = 0x821329c70}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 556965048, events = 8, fd = 556965496, user_data = 0x821329ca0}, {pos = 1630565426, events = 797, fd = 2715703, user_data = 0x20ec84a0f288}, {pos = 716287624, events = 8, fd = -2069847032, user_data = 0x821329cf8}, {pos = 556965560, events = 8, fd = 556965088, user_data = 0x31d61307432}, {pos = 2740380, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = -2069823408, events = 8428, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556965800, user_data = 0x321329ce0}, {pos = 556965632, events = 8, fd = -2069824824, user_data = 0x290}, {pos = 556965560, events = 8, fd = 556965112, user_data = 0x821329d60}, {pos = 1630565067, events = 797, fd = 556965736, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x20ec84a10050}, {pos = 1, events = 8, fd = -2069847032, user_data = 0x82ab1ae88}, {pos = 556965800, events = 8, fd = 556965632, user_data = 0x20}, {pos = 0, events = 0, fd = -2069876728, user_data = 0x821329d70}, {pos = 556965616, events = 8, fd = 1630539975, user_data = 0x20ec84a03008}, {pos = -2069875704, events = 8428, fd = -2069874680, user_data = 0x20ec84a03c08}, {pos = -2069860344, events = 8428, fd = -2069859320, user_data = 0x20ec84a07808}, {pos = -2069857272, events = 8428, fd = -2069856248, user_data = 0x20ec84a08408}, {pos = -2069854200, events = 8428, fd = -2069853176, user_data = 0x20ec84a09008}, {pos = -2069851128, events = 8428, fd = -2069850104, user_data = 0x20ec84a09c08}, {pos = -2069848056, events = 8428, fd = -2069847032, user_data = 0x20ec84a0a808}, {pos = -2069844984, events = 8428, fd = -2069843960, user_data = 0x20ec84a0b408}, {pos = -2069841912, events = 8428, fd = -2069840888, user_data = 0x20ec84a0c008}, {pos = -2069838840, events = 8428, fd = -2069837816, user_data = 0x20ec84a0cc08}, {pos = -2069831672, events = 8428, fd = -2069830648, user_data = 0x20ec84a0e808}, {pos = -2069828600, events = 8428, fd = -2069876728, user_data = 0x29d09c}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x20ec84a10050}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556965800, events = 8, fd = 556965232, user_data = 0x2000000020}, {pos = -2069876728, events = 8428, fd = 1, user_data = 0x27c8d8}, {pos = 301, events = 0, fd = -2069823408, user_data = 0x821329f90}, {pos = 1630538684, events = 797, fd = 2740380, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = -2069823408, user_data = 0x1}, {pos = 12703768, events = 0, fd = 717536624, user_data = 0x20ec84a03008}, {pos = 2845384, events = 0, fd = 694138185, user_data = 0x1}, {pos = -2069155832, events = 8428, fd = 556965776, user_data = 0x8295fa6e5}, {pos = 717536624, events = 8, fd = 12703768, user_data = 0x82ac4bd70 }, {pos = -2069847032, events = 8428, fd = 556966000, user_data = 0x31d613009b4}, {pos = 556965856, events = 8, fd = 1, user_data = 0x31d6130082e}, {pos = -2069876728, events = 8428, fd = 556965784, user_data = 0x82132a070}, {pos = 6912, events = 0, fd = 12, user_data = 0x31d61314b40}, {pos = 0, events = 0, fd = -2065628289, user_data = 0x82132a0a0}, {pos = 556965920, events = 8, fd = 694097360, user_data = 0x82acef300 <__thr_jtable>}, {pos = 718214640, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 556965968, events = 8, fd = 694097360, user_data = 0x82acef300 <__thr_jtable>}, {pos = 718214640, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 556966016, events = 8, fd = 694139805, user_data = 0x20ec84ab3008}, {pos = 21988, events = 0, fd = 556966112, user_data = 0x8295f3a7d}} [11:53:54.556] last_touch_time = 1764416852 [11:53:54.556] last_lockfile_recheck_time = 1764416852 [11:53:54.556] nevents = [11:53:54.556] #19 0x00000000008d5eb7 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x82132a6f8) at ../src/backend/postmaster/postmaster.c:1403 [11:53:54.556] userDoption = [11:53:54.556] listen_addr_saved = false [11:53:54.556] output_config_variable = [11:53:54.556] opt = [11:53:54.556] status = [11:53:54.556] #20 0x00000000008049cd in main (argc=4, argv=0x82132a6f8) at ../src/backend/main/main.c:231 [11:53:54.556] do_check_root = [11:53:54.556] dispatch_option = DISPATCH_POSTMASTER [11:53:54.563] [11:53:54.563] [11:53:54.563] [11:53:54.614] dumping /tmp/cores/postgres.29482.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:53:54.737] [New LWP 100124] [11:53:54.803] Core was generated by `postgres: subscriber: logical replication apply worker for subscription 16391 '. [11:53:54.803] Program terminated with signal SIGSEGV, Segmentation fault. [11:53:54.803] Address not mapped to object. [11:53:54.803] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:54.803] 222 header = *((const uint64 *) ((const char *) pointer - sizeof(uint64))); [11:53:54.826] [11:53:54.826] Thread 1 (LWP 100124): [11:53:54.826] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:54.826] header = [11:53:54.826] #1 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:1600 [11:53:54.826] No locals. [11:53:54.826] #2 0x0000000000900ed3 in GetConflictLogTableRel () at ../src/backend/replication/logical/conflict.c:255 [11:53:54.826] nspid = 0 [11:53:54.826] conflictlogrel = [11:53:54.826] conflictlogtable = [11:53:54.826] conflictlogrelid = [11:53:54.826] #3 0x00000000009001af in ReportApplyConflict (estate=estate@entry=0x3f223166f100, relinfo=relinfo@entry=0x3f2230ffe200, elevel=elevel@entry=21, type=CT_INSERT_EXISTS, searchslot=searchslot@entry=0x0, remoteslot=0x3f2230f7f418, remoteslot@entry=0x3f2230ffe640, conflicttuples=0x3f223166e9a0) at ../src/backend/replication/logical/conflict.c:138 [11:53:54.826] err_detail = {data = 0x800000302 , len = 0, maxlen = 0, cursor = 770} [11:53:54.826] localrel = 0x3f2230fd4480 [11:53:54.826] conflictlogrel = [11:53:54.826] #4 0x00000000007a503b in CheckAndReportConflict (resultRelInfo=resultRelInfo@entry=0x3f2230ffe200, estate=estate@entry=0x3f223166f100, type=type@entry=CT_INSERT_EXISTS, recheckIndexes=recheckIndexes@entry=0x3f223166e250, searchslot=searchslot@entry=0x0, remoteslot=remoteslot@entry=0x3f2230ffe640) at ../src/backend/executor/execReplication.c:793 [11:53:54.826] conflicttuples = 0x3f223166e9a0 [11:53:54.826] conflictslot = [11:53:54.826] #5 0x00000000007a4994 in ExecSimpleRelationInsert (resultRelInfo=0x3f2230ffe200, estate=0x3f223166f100, slot=0x3f2230ffe640) at ../src/backend/executor/execReplication.c:870 [11:53:54.826] conflict = true [11:53:54.826] recheckIndexes = 0x3f223166e250 [11:53:54.826] conflictindexes = [11:53:54.826] skip_tuple = [11:53:54.826] rel = [11:53:54.826] #6 0x0000000000924e0a in apply_handle_insert_internal (edata=edata@entry=0x3f2230ffffa8, relinfo=0x0, relinfo@entry=0x3f2230ffe200, remoteslot=0xbe90a8 , remoteslot@entry=0x3f2230ffe640) at ../src/backend/replication/logical/worker.c:2749 [11:53:54.826] estate = 0x3f2230fcace8 [11:53:54.826] #7 0x0000000000921b9e in apply_handle_insert (s=) at ../src/backend/replication/logical/worker.c:2709 [11:53:54.826] relinfo = 0x3f2230ffe200 [11:53:54.826] newtup = {colvalues = 0x3f2230ffe100, colstatus = 0x3f2230ffe130 "t~\177\177\177\177\177\177\002", ncols = 1} [11:53:54.826] ucxt = {save_userid = 10, save_sec_context = 0, save_nestlevel = -1} [11:53:54.826] relid = [11:53:54.826] rel = 0x3f2231608fc8 [11:53:54.826] run_as_owner = false [11:53:54.826] edata = 0x3f2230ffffa8 [11:53:54.826] estate = [11:53:54.826] remoteslot = 0x3f2230ffe640 [11:53:54.826] oldctx = 0x3f2230ffe000 [11:53:54.826] relinfo = [11:53:54.826] #8 apply_dispatch (s=s@entry=0x820ee2148) at ../src/backend/replication/logical/worker.c:3807 [11:53:54.826] action = [11:53:54.826] saved_command = 0 [11:53:54.826] #9 0x00000000009229f0 in LogicalRepApplyLoop (last_received=24801928) at ../src/backend/replication/logical/worker.c:4101 [11:53:54.826] start_lsn = [11:53:54.826] end_lsn = [11:53:54.826] send_time = [11:53:54.826] s = {data = 0x3f2230e2dc50 "w", len = 39, maxlen = 0, cursor = 39} [11:53:54.826] c = [11:53:54.826] fd = -1 [11:53:54.826] buf = 0x3f2230e2dc50 "w" [11:53:54.826] len = [11:53:54.826] wait_time = [11:53:54.826] endofstream = false [11:53:54.826] rc = [11:53:54.826] tli = 820173904 [11:53:54.826] errcallback = {previous = 0x0, callback = 0x9236a0 , arg = 0x3f2230e15fe0} [11:53:54.826] rdt_data = {phase = RDT_GET_CANDIDATE_XID, remote_lsn = 0, remote_oldestxid = {value = 0}, remote_nextxid = {value = 0}, reply_time = 0, remote_wait_for = {value = 0}, candidate_xid = 0, flushpos_update_time = 0, table_sync_wait_time = 0, last_recv_time = 817732076604830, candidate_xid_time = 0, xid_advance_interval = 0} [11:53:54.826] last_recv_timestamp = 817732076604830 [11:53:54.826] ping_sent = false [11:53:54.826] #10 start_apply (origin_startpos=origin_startpos@entry=0) at ../src/backend/replication/logical/worker.c:5595 [11:53:54.826] _local_sigjmp_buf = {{_sjb = {9578278, 0, 34912215240, 34912215584, 12725928, 12815248, 34912215248, 12815256, 895, 2, 34912215360, 0}}} [11:53:54.826] _save_exception_stack = 0x820ee2320 [11:53:54.826] _save_context_stack = 0x0 [11:53:54.826] _do_rethrow = false [11:53:54.826] #11 0x00000000009268fe in run_apply_worker () at ../src/backend/replication/logical/worker.c:5754 [11:53:54.826] originname = "pg_16391", '\000' , "\b\000\000\000\001\000\000\000\000\000\000" [11:53:54.826] startpointTLI = 1 [11:53:54.826] err = 0x3f2230e14c6c "ApplyWorkerMain" [11:53:54.826] options = {logical = , slotname = , startpoint = , proto = {physical = {startpointTLI = }, logical = {proto_version = , publication_names = , binary = , streaming_str = , twophase = false, origin = 0x3f2230f7fa00 "any"}}} [11:53:54.826] origin_startpos = 0 [11:53:54.826] slotname = 0x3f2230ffa640 "test_tab1_sub" [11:53:54.826] originid = [11:53:54.826] must_use_password = [11:53:54.826] #12 0x000000000092362d in ApplyWorkerMain (main_arg=) at ../src/backend/replication/logical/worker.c:5961 [11:53:54.826] worker_slot = [11:53:54.826] #13 0x00000000008d0ac9 in BackgroundWorkerMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/bgworker.c:846 [11:53:54.826] local_sigjmp_buf = {{_sjb = {9243282, 69416081508256, 34912215832, 34912215984, 10021488, 9859696, 69416081508256, 34912215840, 206158431103, -2147815357, -1, 1}}} [11:53:54.826] worker = 0x3f2230e147a0 [11:53:54.826] entrypt = 0x0 [11:53:54.826] #14 0x00000000008d36db in postmaster_child_launch (child_type=child_type@entry=B_BG_WORKER, child_slot=219, startup_data=startup_data@entry=0x3f2230f16038, startup_data_len=startup_data_len@entry=1472, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:268 [11:53:54.826] pid = [11:53:54.826] #15 0x00000000008d6847 in StartBackgroundWorker (rw=0x3f2230f16038) at ../src/backend/postmaster/postmaster.c:4168 [11:53:54.826] bn = 0x3f2230f5d918 [11:53:54.826] worker_pid = [11:53:54.826] __error = [11:53:54.826] __error = [11:53:54.826] __error = [11:53:54.826] #16 maybe_start_bgworkers () at ../src/backend/postmaster/postmaster.c:4334 [11:53:54.826] rw = 0x3f2230f16038 [11:53:54.826] num_launched = 0 [11:53:54.826] now = 0 [11:53:54.826] iter = {cur = 0x3f2230f16610, next = , end = } [11:53:54.826] #17 0x00000000008d8515 in LaunchMissingBackgroundProcesses () at ../src/backend/postmaster/postmaster.c:3408 [11:53:54.826] No locals. [11:53:54.826] #18 ServerLoop () at ../src/backend/postmaster/postmaster.c:1728 [11:53:54.826] now = [11:53:54.826] events = {{pos = 0, events = 1, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 820631000, events = 16162, fd = 552478912, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 16777216, fd = 552479248, user_data = 0x43}, {pos = 552479024, events = 8, fd = 1945782981, user_data = 0x820ee2910}, {pos = 715146021, events = 8, fd = 552479048, user_data = 0x820ee29c0}, {pos = 552479072, events = 8, fd = 1945782981, user_data = 0x3f2230a0a408}, {pos = 3, events = 0, fd = 552479096, user_data = 0x820ee29f0}, {pos = 714025160, events = 8, fd = 714025160, user_data = 0x820ee29a0}, {pos = 1945782981, events = 15566, fd = 552479200, user_data = 0x3cce73f9fb2b}, {pos = 552479160, events = 8, fd = 552479280, user_data = 0x82a8f18d4}, {pos = 714021076, events = 8, fd = 815834120, user_data = 0x3}, {pos = 552479264, events = 8, fd = 1945762603, user_data = 0x820ee2a30}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 552479352, events = 8, fd = 552479800, user_data = 0x820ee2a60}, {pos = 1945781298, events = 15566, fd = 2715703, user_data = 0x3f2230a0f288}, {pos = 713944712, events = 8, fd = 815834120, user_data = 0x820ee2ab8}, {pos = 552479864, events = 8, fd = 552479392, user_data = 0x3cce73fa4432}, {pos = 2740380, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 815857744, events = 16162, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 552480104, user_data = 0x320ee2aa0}, {pos = 552479936, events = 8, fd = 815856328, user_data = 0x290}, {pos = 552479864, events = 8, fd = 552479416, user_data = 0x820ee2b20}, {pos = 1945780939, events = 15566, fd = 552480040, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x3f2230a10050}, {pos = 1, events = 8, fd = 815834120, user_data = 0x82a8dee88}, {pos = 552480104, events = 8, fd = 552479936, user_data = 0x20}, {pos = 0, events = 0, fd = 815804424, user_data = 0x820ee2b30}, {pos = 552479920, events = 8, fd = 1945755847, user_data = 0x3f2230a03008}, {pos = 815805448, events = 16162, fd = 815806472, user_data = 0x3f2230a03c08}, {pos = 815820808, events = 16162, fd = 815821832, user_data = 0x3f2230a07808}, {pos = 815823880, events = 16162, fd = 815824904, user_data = 0x3f2230a08408}, {pos = 815826952, events = 16162, fd = 815827976, user_data = 0x3f2230a09008}, {pos = 815830024, events = 16162, fd = 815831048, user_data = 0x3f2230a09c08}, {pos = 815833096, events = 16162, fd = 815834120, user_data = 0x3f2230a0a808}, {pos = 815836168, events = 16162, fd = 815837192, user_data = 0x3f2230a0b408}, {pos = 815839240, events = 16162, fd = 815840264, user_data = 0x3f2230a0c008}, {pos = 815842312, events = 16162, fd = 815843336, user_data = 0x3f2230a0cc08}, {pos = 815849480, events = 16162, fd = 815850504, user_data = 0x3f2230a0e808}, {pos = 815852552, events = 16162, fd = 815804424, user_data = 0x29d09c}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x3f2230a10050}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 552480104, events = 8, fd = 552479536, user_data = 0x2000000020}, {pos = 815804424, events = 16162, fd = 1, user_data = 0x27c8d8}, {pos = 301, events = 0, fd = 815857744, user_data = 0x820ee2d50}, {pos = 1945754556, events = 15566, fd = 2740380, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 815857744, user_data = 0x1}, {pos = 12703768, events = 0, fd = 715193712, user_data = 0x3f2230a03008}, {pos = 2845384, events = 0, fd = 673568073, user_data = 0x1}, {pos = 816525320, events = 16162, fd = 552480080, user_data = 0x82825c6e5}, {pos = 715193712, events = 8, fd = 12703768, user_data = 0x82aa0fd70 }, {pos = 815834120, events = 16162, fd = 552480304, user_data = 0x3cce73f9d9b4}, {pos = 552480160, events = 8, fd = 1, user_data = 0x3cce73f9d82e}, {pos = 815804424, events = 16162, fd = 552480088, user_data = 0x820ee2e30}, {pos = 6912, events = 0, fd = 12, user_data = 0x3cce73fb1b40}, {pos = 0, events = 0, fd = 820052863, user_data = 0x820ee2e60}, {pos = 552480224, events = 8, fd = 673527248, user_data = 0x82aab3300 <__thr_jtable>}, {pos = 715871728, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 552480272, events = 8, fd = 673527248, user_data = 0x82aab3300 <__thr_jtable>}, {pos = 715871728, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 552480320, events = 8, fd = 673569693, user_data = 0x3f2230ab3008}, {pos = 29388, events = 0, fd = 552480416, user_data = 0x828255a7d}} [11:53:54.826] last_touch_time = 1764416874 [11:53:54.826] last_lockfile_recheck_time = 1764416874 [11:53:54.826] nevents = [11:53:54.826] #19 0x00000000008d5eb7 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x820ee34b0) at ../src/backend/postmaster/postmaster.c:1403 [11:53:54.826] userDoption = [11:53:54.826] listen_addr_saved = false [11:53:54.826] output_config_variable = [11:53:54.826] opt = [11:53:54.826] status = [11:53:54.826] #20 0x00000000008049cd in main (argc=4, argv=0x820ee34b0) at ../src/backend/main/main.c:231 [11:53:54.826] do_check_root = [11:53:54.826] dispatch_option = DISPATCH_POSTMASTER [11:53:54.833] [11:53:54.833] [11:53:54.833] [11:53:54.884] dumping /tmp/cores/postgres.31331.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:53:55.008] [New LWP 101904] [11:53:55.073] Core was generated by `postgres: subscriber: logical replication apply worker for subscription 16392 '. [11:53:55.073] Program terminated with signal SIGSEGV, Segmentation fault. [11:53:55.073] Address not mapped to object. [11:53:55.073] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:55.073] 222 header = *((const uint64 *) ((const char *) pointer - sizeof(uint64))); [11:53:55.096] [11:53:55.096] Thread 1 (LWP 101904): [11:53:55.096] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:55.096] header = [11:53:55.096] #1 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:1600 [11:53:55.096] No locals. [11:53:55.096] #2 0x0000000000900ed3 in GetConflictLogTableRel () at ../src/backend/replication/logical/conflict.c:255 [11:53:55.096] nspid = 0 [11:53:55.096] conflictlogrel = [11:53:55.096] conflictlogtable = [11:53:55.096] conflictlogrelid = [11:53:55.096] #3 0x00000000009001af in ReportApplyConflict (estate=estate@entry=0x3f5569a68100, relinfo=relinfo@entry=0x3f55693fe220, elevel=elevel@entry=21, type=CT_INSERT_EXISTS, searchslot=searchslot@entry=0x0, remoteslot=0x3f5569380018, remoteslot@entry=0x3f55693fff38, conflicttuples=0x3f5569a099f0) at ../src/backend/replication/logical/conflict.c:138 [11:53:55.096] err_detail = {data = 0x800000302 , len = 0, maxlen = 0, cursor = 770} [11:53:55.096] localrel = 0x3f55693cac28 [11:53:55.096] conflictlogrel = [11:53:55.096] #4 0x00000000007a503b in CheckAndReportConflict (resultRelInfo=resultRelInfo@entry=0x3f55693fe220, estate=estate@entry=0x3f5569a68100, type=type@entry=CT_INSERT_EXISTS, recheckIndexes=recheckIndexes@entry=0x3f5569a092c0, searchslot=searchslot@entry=0x0, remoteslot=remoteslot@entry=0x3f55693fff38) at ../src/backend/executor/execReplication.c:793 [11:53:55.096] conflicttuples = 0x3f5569a099f0 [11:53:55.096] conflictslot = [11:53:55.096] #5 0x00000000007a4994 in ExecSimpleRelationInsert (resultRelInfo=0x3f55693fe220, estate=0x3f5569a68100, slot=0x3f55693fff38) at ../src/backend/executor/execReplication.c:870 [11:53:55.096] conflict = true [11:53:55.096] recheckIndexes = 0x3f5569a092c0 [11:53:55.096] conflictindexes = [11:53:55.096] skip_tuple = [11:53:55.096] rel = [11:53:55.096] #6 0x0000000000924e0a in apply_handle_insert_internal (edata=edata@entry=0x3f5569a09048, relinfo=0x0, relinfo@entry=0x3f55693fe220, remoteslot=0xbe90a8 , remoteslot@entry=0x3f55693fff38) at ../src/backend/replication/logical/worker.c:2749 [11:53:55.096] estate = 0x3f55693cc318 [11:53:55.096] #7 0x0000000000921b9e in apply_handle_insert (s=) at ../src/backend/replication/logical/worker.c:2709 [11:53:55.096] relinfo = 0x3f55693fe220 [11:53:55.096] newtup = {colvalues = 0x3f55693fe100, colstatus = 0x3f55693fe150 "tn~\177\177\177\177\177\002", ncols = 2} [11:53:55.096] ucxt = {save_userid = 10, save_sec_context = 0, save_nestlevel = -1} [11:53:55.096] relid = [11:53:55.096] rel = 0x3f5569a06fc8 [11:53:55.096] run_as_owner = false [11:53:55.096] edata = 0x3f5569a09048 [11:53:55.096] estate = [11:53:55.096] remoteslot = 0x3f55693fff38 [11:53:55.096] oldctx = 0x3f55693fe000 [11:53:55.096] relinfo = [11:53:55.096] #8 apply_dispatch (s=s@entry=0x821494ae8) at ../src/backend/replication/logical/worker.c:3807 [11:53:55.096] action = [11:53:55.096] saved_command = 0 [11:53:55.096] #9 0x00000000009229f0 in LogicalRepApplyLoop (last_received=24822608) at ../src/backend/replication/logical/worker.c:4101 [11:53:55.096] start_lsn = [11:53:55.096] end_lsn = [11:53:55.096] send_time = [11:53:55.096] s = {data = 0x3f556922dc80 "w", len = 40, maxlen = 0, cursor = 40} [11:53:55.096] c = [11:53:55.096] fd = -1 [11:53:55.096] buf = 0x3f556922dc80 "w" [11:53:55.096] len = [11:53:55.096] wait_time = [11:53:55.096] endofstream = false [11:53:55.096] rc = [11:53:55.096] tli = 1763892352 [11:53:55.096] errcallback = {previous = 0x0, callback = 0x9236a0 , arg = 0xc3ae80 } [11:53:55.096] rdt_data = {phase = RDT_GET_CANDIDATE_XID, remote_lsn = 0, remote_oldestxid = {value = 0}, remote_nextxid = {value = 0}, reply_time = 0, remote_wait_for = {value = 0}, candidate_xid = 0, flushpos_update_time = 0, table_sync_wait_time = 0, last_recv_time = 817732077841270, candidate_xid_time = 0, xid_advance_interval = 0} [11:53:55.096] last_recv_timestamp = 817732077841270 [11:53:55.096] ping_sent = false [11:53:55.096] #10 start_apply (origin_startpos=origin_startpos@entry=0) at ../src/backend/replication/logical/worker.c:5595 [11:53:55.096] _local_sigjmp_buf = {{_sjb = {9578278, 0, 34918189672, 34918190016, 12725928, 12815248, 34918189680, 12815256, 34918171519, 11572672, 8192, 69634304770048}}} [11:53:55.096] _save_exception_stack = 0x821494cc0 [11:53:55.096] _save_context_stack = 0x0 [11:53:55.096] _do_rethrow = false [11:53:55.096] #11 0x00000000009268fe in run_apply_worker () at ../src/backend/replication/logical/worker.c:5754 [11:53:55.096] originname = "pg_16392", '\000' , "\b\000\000\000\001\000\000\000\000\000\000" [11:53:55.096] startpointTLI = 1 [11:53:55.096] err = 0x3f5569214c6c "ApplyWorkerMain" [11:53:55.096] options = {logical = , slotname = , startpoint = , proto = {physical = {startpointTLI = }, logical = {proto_version = , publication_names = , binary = , streaming_str = , twophase = true, origin = 0x3f5569380600 "any"}}} [11:53:55.096] origin_startpos = 0 [11:53:55.096] slotname = 0x3f55693fabc8 "\240\253?iU?" [11:53:55.096] originid = [11:53:55.096] must_use_password = [11:53:55.096] #12 0x000000000092362d in ApplyWorkerMain (main_arg=) at ../src/backend/replication/logical/worker.c:5961 [11:53:55.096] worker_slot = [11:53:55.096] #13 0x00000000008d0ac9 in BackgroundWorkerMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/bgworker.c:846 [11:53:55.096] local_sigjmp_buf = {{_sjb = {9243282, 69636068558752, 34918190264, 34918190416, 10021488, 9859696, 69636068558752, 34918190272, 206158431103, -2147815357, -1, 1}}} [11:53:55.096] worker = 0x3f55692147a0 [11:53:55.096] entrypt = 0x0 [11:53:55.096] #14 0x00000000008d36db in postmaster_child_launch (child_type=child_type@entry=B_BG_WORKER, child_slot=219, startup_data=startup_data@entry=0x3f5569316038, startup_data_len=startup_data_len@entry=1472, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:268 [11:53:55.096] pid = [11:53:55.096] #15 0x00000000008d6847 in StartBackgroundWorker (rw=0x3f5569316038) at ../src/backend/postmaster/postmaster.c:4168 [11:53:55.096] bn = 0x3f556935d918 [11:53:55.096] worker_pid = [11:53:55.096] __error = [11:53:55.096] __error = [11:53:55.096] __error = [11:53:55.096] #16 maybe_start_bgworkers () at ../src/backend/postmaster/postmaster.c:4334 [11:53:55.096] rw = 0x3f5569316038 [11:53:55.096] num_launched = 0 [11:53:55.096] now = 0 [11:53:55.096] iter = {cur = 0x3f5569316610, next = , end = } [11:53:55.096] #17 0x00000000008d8515 in LaunchMissingBackgroundProcesses () at ../src/backend/postmaster/postmaster.c:3408 [11:53:55.096] No locals. [11:53:55.096] #18 ServerLoop () at ../src/backend/postmaster/postmaster.c:1728 [11:53:55.096] now = [11:53:55.096] events = {{pos = 0, events = 1, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1764349400, events = 16213, fd = 558453344, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 16777216, fd = 558453680, user_data = 0x43}, {pos = 558453456, events = 8, fd = 857688773, user_data = 0x8214952b0}, {pos = 721748773, events = 8, fd = 558453480, user_data = 0x821495360}, {pos = 558453504, events = 8, fd = 857688773, user_data = 0x3f5568e0a408}, {pos = 3, events = 0, fd = 558453528, user_data = 0x821495390}, {pos = 720627912, events = 8, fd = 720627912, user_data = 0x821495340}, {pos = 857688773, events = 6570, fd = 558453632, user_data = 0x19aa331efb2b}, {pos = 558453592, events = 8, fd = 558453712, user_data = 0x82af3d8d4}, {pos = 720623828, events = 8, fd = 1759552520, user_data = 0x3}, {pos = 558453696, events = 8, fd = 857668395, user_data = 0x8214953d0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 558453784, events = 8, fd = 558454232, user_data = 0x821495400}, {pos = 857687090, events = 6570, fd = 2715703, user_data = 0x3f5568e0f288}, {pos = 720547464, events = 8, fd = 1759552520, user_data = 0x821495458}, {pos = 558454296, events = 8, fd = 558453824, user_data = 0x19aa331f4432}, {pos = 2740380, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 1759576144, events = 16213, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 558454536, user_data = 0x321495440}, {pos = 558454368, events = 8, fd = 1759574728, user_data = 0x290}, {pos = 558454296, events = 8, fd = 558453848, user_data = 0x8214954c0}, {pos = 857686731, events = 6570, fd = 558454472, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x3f5568e10050}, {pos = 1, events = 8, fd = 1759552520, user_data = 0x82af2ae88}, {pos = 558454536, events = 8, fd = 558454368, user_data = 0x20}, {pos = 0, events = 0, fd = 1759522824, user_data = 0x8214954d0}, {pos = 558454352, events = 8, fd = 857661639, user_data = 0x3f5568e03008}, {pos = 1759523848, events = 16213, fd = 1759524872, user_data = 0x3f5568e03c08}, {pos = 1759539208, events = 16213, fd = 1759540232, user_data = 0x3f5568e07808}, {pos = 1759542280, events = 16213, fd = 1759543304, user_data = 0x3f5568e08408}, {pos = 1759545352, events = 16213, fd = 1759546376, user_data = 0x3f5568e09008}, {pos = 1759548424, events = 16213, fd = 1759549448, user_data = 0x3f5568e09c08}, {pos = 1759551496, events = 16213, fd = 1759552520, user_data = 0x3f5568e0a808}, {pos = 1759554568, events = 16213, fd = 1759555592, user_data = 0x3f5568e0b408}, {pos = 1759557640, events = 16213, fd = 1759558664, user_data = 0x3f5568e0c008}, {pos = 1759560712, events = 16213, fd = 1759561736, user_data = 0x3f5568e0cc08}, {pos = 1759567880, events = 16213, fd = 1759568904, user_data = 0x3f5568e0e808}, {pos = 1759570952, events = 16213, fd = 1759522824, user_data = 0x29d09c}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x3f5568e10050}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 558454536, events = 8, fd = 558453968, user_data = 0x2000000020}, {pos = 1759522824, events = 16213, fd = 1, user_data = 0x27c8d8}, {pos = 301, events = 0, fd = 1759576144, user_data = 0x8214956f0}, {pos = 857660348, events = 6570, fd = 2740380, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 1759576144, user_data = 0x1}, {pos = 12703768, events = 0, fd = 721796464, user_data = 0x3f5568e03008}, {pos = 2845384, events = 0, fd = 699753801, user_data = 0x1}, {pos = 1760243720, events = 16213, fd = 558454512, user_data = 0x829b556e5}, {pos = 721796464, events = 8, fd = 12703768, user_data = 0x82b05bd70 }, {pos = 1759552520, events = 16213, fd = 558454736, user_data = 0x19aa331ed9b4}, {pos = 558454592, events = 8, fd = 1, user_data = 0x19aa331ed82e}, {pos = 1759522824, events = 16213, fd = 558454520, user_data = 0x8214957d0}, {pos = 6912, events = 0, fd = 12, user_data = 0x19aa33201b40}, {pos = 0, events = 0, fd = 1763771263, user_data = 0x821495800}, {pos = 558454656, events = 8, fd = 699712976, user_data = 0x82b0ff300 <__thr_jtable>}, {pos = 722474480, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 558454704, events = 8, fd = 699712976, user_data = 0x82b0ff300 <__thr_jtable>}, {pos = 722474480, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 558454752, events = 8, fd = 699755421, user_data = 0x3f5568eb3008}, {pos = 31047, events = 0, fd = 558454848, user_data = 0x829b4ea7d}} [11:53:55.097] last_touch_time = 1764416877 [11:53:55.097] last_lockfile_recheck_time = 1764416877 [11:53:55.097] nevents = [11:53:55.097] #19 0x00000000008d5eb7 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821495e50) at ../src/backend/postmaster/postmaster.c:1403 [11:53:55.097] userDoption = [11:53:55.097] listen_addr_saved = false [11:53:55.097] output_config_variable = [11:53:55.097] opt = [11:53:55.097] status = [11:53:55.097] #20 0x00000000008049cd in main (argc=4, argv=0x821495e50) at ../src/backend/main/main.c:231 [11:53:55.097] do_check_root = [11:53:55.097] dispatch_option = DISPATCH_POSTMASTER [11:53:55.104] [11:53:55.104] [11:53:55.104] [11:53:55.157] dumping /tmp/cores/postgres.33144.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:53:55.280] [New LWP 102050] [11:53:55.346] Core was generated by `postgres: node_B: logical replication apply worker for subscription 16390 '. [11:53:55.346] Program terminated with signal SIGSEGV, Segmentation fault. [11:53:55.346] Address not mapped to object. [11:53:55.346] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:55.346] 222 header = *((const uint64 *) ((const char *) pointer - sizeof(uint64))); [11:53:55.369] [11:53:55.369] Thread 1 (LWP 102050): [11:53:55.369] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:55.369] header = [11:53:55.369] #1 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:1600 [11:53:55.369] No locals. [11:53:55.369] #2 0x0000000000900ed3 in GetConflictLogTableRel () at ../src/backend/replication/logical/conflict.c:255 [11:53:55.369] nspid = 0 [11:53:55.369] conflictlogrel = [11:53:55.369] conflictlogtable = [11:53:55.369] conflictlogrelid = [11:53:55.369] #3 0x00000000009001af in ReportApplyConflict (estate=estate@entry=0x287d275d5100, relinfo=relinfo@entry=0x287d275cb1b0, elevel=elevel@entry=15, type=CT_INSERT_EXISTS, type@entry=CT_DELETE_ORIGIN_DIFFERS, searchslot=searchslot@entry=0x287d275cb560, remoteslot=0x287d274278d0, remoteslot@entry=0x0, conflicttuples=0x287d275cc110) at ../src/backend/replication/logical/conflict.c:138 [11:53:55.369] err_detail = {data = 0x287d27519a48 "\005", len = 562254912, maxlen = 8, cursor = 918543480} [11:53:55.369] localrel = 0x287d275a04c8 [11:53:55.369] conflictlogrel = [11:53:55.369] #4 0x0000000000925109 in apply_handle_delete_internal (edata=edata@entry=0x287d275cb160, relinfo=relinfo@entry=0x287d275cb1b0, remoteslot=remoteslot@entry=0x287d275cb560, localindexoid=16388) at ../src/backend/replication/logical/worker.c:3149 [11:53:55.369] epqstate = {parentestate = 0x287d275d5100, epqParam = -1, resultRelations = 0x0, tuple_table = 0x0, relsubs_slot = 0x287d275cc178, plan = 0x0, arowMarks = 0x0, origslot = 0x0, recheckestate = 0x0, relsubs_rowmark = 0x0, relsubs_done = 0x0, relsubs_blocked = 0x0, recheckplanstate = 0x0} [11:53:55.369] localslot = 0x287d275cb3c0 [11:53:55.369] conflicttuple = {slot = 0x287d275cb3c0, indexoid = 0, xmin = 765, origin = 0, ts = 817732082252021} [11:53:55.369] estate = 0x287d275d5100 [11:53:55.369] remoterel = 0x287d275d3fc8 [11:53:55.369] localrel = [11:53:55.369] found = [11:53:55.369] #5 0x0000000000921248 in apply_handle_delete (s=) at ../src/backend/replication/logical/worker.c:3090 [11:53:55.369] relinfo = 0x287d275cb1b0 [11:53:55.369] oldtup = {colvalues = 0x287d275cb100, colstatus = 0x287d275cb130 "t~\177\177\177\177\177\177\003", ncols = 1} [11:53:55.369] ucxt = {save_userid = 10, save_sec_context = 0, save_nestlevel = -1} [11:53:55.369] relid = [11:53:55.369] rel = 0x287d275d3fc8 [11:53:55.369] run_as_owner = false [11:53:55.369] edata = 0x287d275cb160 [11:53:55.369] estate = [11:53:55.369] remoteslot = 0x287d275cb560 [11:53:55.369] oldctx = [11:53:55.369] relinfo = [11:53:55.369] #6 apply_dispatch (s=s@entry=0x821835be8) at ../src/backend/replication/logical/worker.c:3815 [11:53:55.369] action = [11:53:55.369] saved_command = 0 [11:53:55.369] #7 0x00000000009229f0 in LogicalRepApplyLoop (last_received=24834232) at ../src/backend/replication/logical/worker.c:4101 [11:53:55.369] start_lsn = [11:53:55.369] end_lsn = [11:53:55.369] send_time = [11:53:55.369] s = {data = 0x287d2742dc50 "w", len = 40, maxlen = 0, cursor = 40} [11:53:55.369] c = [11:53:55.369] fd = -1 [11:53:55.369] buf = 0x287d2742dc50 "w" [11:53:55.369] len = [11:53:55.369] wait_time = [11:53:55.369] endofstream = false [11:53:55.369] rc = [11:53:55.369] tli = 658693200 [11:53:55.369] errcallback = {previous = 0x0, callback = 0x9236a0 , arg = 0x287d27427fd8} [11:53:55.369] rdt_data = {phase = RDT_GET_CANDIDATE_XID, remote_lsn = 0, remote_oldestxid = {value = 0}, remote_nextxid = {value = 0}, reply_time = 0, remote_wait_for = {value = 0}, candidate_xid = 0, flushpos_update_time = 0, table_sync_wait_time = 0, last_recv_time = 817732082382949, candidate_xid_time = 0, xid_advance_interval = 0} [11:53:55.369] last_recv_timestamp = 817732082382949 [11:53:55.369] ping_sent = false [11:53:55.369] #8 start_apply (origin_startpos=origin_startpos@entry=0) at ../src/backend/replication/logical/worker.c:5595 [11:53:55.369] _local_sigjmp_buf = {{_sjb = {9578278, 0, 34921995112, 34921995456, 12725928, 12815248, 34921995120, 12815256, 895, 2, 34921995232, 0}}} [11:53:55.369] _save_exception_stack = 0x821835dc0 [11:53:55.369] _save_context_stack = 0x0 [11:53:55.369] _do_rethrow = false [11:53:55.369] #9 0x00000000009268fe in run_apply_worker () at ../src/backend/replication/logical/worker.c:5754 [11:53:55.369] originname = "pg_16390", '\000' , "\b\000\000\000\001\000\000\000\000\000\000" [11:53:55.369] startpointTLI = 1 [11:53:55.369] err = 0x287d27414c6c "ApplyWorkerMain" [11:53:55.369] options = {logical = , slotname = , startpoint = , proto = {physical = {startpointTLI = }, logical = {proto_version = , publication_names = , binary = , streaming_str = , twophase = false, origin = 0x287d2755e1d0 "none"}}} [11:53:55.369] origin_startpos = 0 [11:53:55.369] slotname = 0x287d275c9640 "tap_sub_b_a" [11:53:55.369] originid = [11:53:55.369] must_use_password = [11:53:55.369] #10 0x000000000092362d in ApplyWorkerMain (main_arg=) at ../src/backend/replication/logical/worker.c:5961 [11:53:55.369] worker_slot = [11:53:55.369] #11 0x00000000008d0ac9 in BackgroundWorkerMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/bgworker.c:846 [11:53:55.369] local_sigjmp_buf = {{_sjb = {9243282, 44517994612640, 34921995704, 34921995856, 10021488, 9859696, 44517994612640, 34921995712, 206158431103, -2147815357, -1, 1}}} [11:53:55.369] worker = 0x287d274147a0 [11:53:55.369] entrypt = 0x0 [11:53:55.369] #12 0x00000000008d36db in postmaster_child_launch (child_type=child_type@entry=B_BG_WORKER, child_slot=46, startup_data=startup_data@entry=0x287d2755e0d8, startup_data_len=startup_data_len@entry=1472, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:268 [11:53:55.369] pid = [11:53:55.369] #13 0x00000000008d6847 in StartBackgroundWorker (rw=0x287d2755e0d8) at ../src/backend/postmaster/postmaster.c:4168 [11:53:55.369] bn = 0x287d2755c668 [11:53:55.369] worker_pid = [11:53:55.369] __error = [11:53:55.369] __error = [11:53:55.369] __error = [11:53:55.369] #14 maybe_start_bgworkers () at ../src/backend/postmaster/postmaster.c:4334 [11:53:55.369] rw = 0x287d2755e0d8 [11:53:55.369] num_launched = 0 [11:53:55.369] now = 0 [11:53:55.369] iter = {cur = 0x287d2755e6b0, next = , end = } [11:53:55.369] #15 0x00000000008d8515 in LaunchMissingBackgroundProcesses () at ../src/backend/postmaster/postmaster.c:3408 [11:53:55.369] No locals. [11:53:55.369] #16 ServerLoop () at ../src/backend/postmaster/postmaster.c:1728 [11:53:55.369] now = [11:53:55.369] events = {{pos = 0, events = 1, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 659150296, events = 10365, fd = 562258784, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 16777216, fd = 562259120, user_data = 0x43}, {pos = 562258896, events = 8, fd = -1868989755, user_data = 0x8218363b0}, {pos = 743183141, events = 8, fd = 562258920, user_data = 0x821836460}, {pos = 562258944, events = 8, fd = -1868989755, user_data = 0x287d2700a408}, {pos = 3, events = 0, fd = 562258968, user_data = 0x821836490}, {pos = 742062280, events = 8, fd = 742062280, user_data = 0x821836440}, {pos = -1868989755, events = 4904, fd = 562259072, user_data = 0x132890992b2b}, {pos = 562259032, events = 8, fd = 562259152, user_data = 0x82c3ae8d4}, {pos = 742058196, events = 8, fd = 654353416, user_data = 0x3}, {pos = 562259136, events = 8, fd = -1869010133, user_data = 0x8218364d0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 562259224, events = 8, fd = 562259672, user_data = 0x821836500}, {pos = -1868991438, events = 4904, fd = 2715703, user_data = 0x287d2700f288}, {pos = 741981832, events = 8, fd = 654353416, user_data = 0x821836558}, {pos = 562259736, events = 8, fd = 562259264, user_data = 0x132890997432}, {pos = 2740380, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 654377040, events = 10365, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562259976, user_data = 0x321836540}, {pos = 562259808, events = 8, fd = 654375624, user_data = 0x290}, {pos = 562259736, events = 8, fd = 562259288, user_data = 0x8218365c0}, {pos = -1868991797, events = 4904, fd = 562259912, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x287d27010050}, {pos = 1, events = 8, fd = 654353416, user_data = 0x82c39be88}, {pos = 562259976, events = 8, fd = 562259808, user_data = 0x20}, {pos = 0, events = 0, fd = 654323720, user_data = 0x8218365d0}, {pos = 562259792, events = 8, fd = -1869016889, user_data = 0x287d27003008}, {pos = 654324744, events = 10365, fd = 654325768, user_data = 0x287d27003c08}, {pos = 654340104, events = 10365, fd = 654341128, user_data = 0x287d27007808}, {pos = 654343176, events = 10365, fd = 654344200, user_data = 0x287d27008408}, {pos = 654346248, events = 10365, fd = 654347272, user_data = 0x287d27009008}, {pos = 654349320, events = 10365, fd = 654350344, user_data = 0x287d27009c08}, {pos = 654352392, events = 10365, fd = 654353416, user_data = 0x287d2700a808}, {pos = 654355464, events = 10365, fd = 654356488, user_data = 0x287d2700b408}, {pos = 654358536, events = 10365, fd = 654359560, user_data = 0x287d2700c008}, {pos = 654361608, events = 10365, fd = 654362632, user_data = 0x287d2700cc08}, {pos = 654368776, events = 10365, fd = 654369800, user_data = 0x287d2700e808}, {pos = 654371848, events = 10365, fd = 654323720, user_data = 0x29d09c}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x287d27010050}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562259976, events = 8, fd = 562259408, user_data = 0x2000000020}, {pos = 654323720, events = 10365, fd = 1, user_data = 0x27c8d8}, {pos = 301, events = 0, fd = 654377040, user_data = 0x8218367f0}, {pos = -1869018180, events = 4904, fd = 2740380, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 654377040, user_data = 0x1}, {pos = 12703768, events = 0, fd = 743230832, user_data = 0x287d27003008}, {pos = 2845384, events = 0, fd = 760587593, user_data = 0x1}, {pos = 655044616, events = 10365, fd = 562259952, user_data = 0x82d5596e5}, {pos = 743230832, events = 8, fd = 12703768, user_data = 0x82c4ccd70 }, {pos = 654353416, events = 10365, fd = 562260176, user_data = 0x1328909909b4}, {pos = 562260032, events = 8, fd = 1, user_data = 0x13289099082e}, {pos = 654323720, events = 10365, fd = 562259960, user_data = 0x8218368d0}, {pos = 6912, events = 0, fd = 12, user_data = 0x1328909a4b40}, {pos = 0, events = 0, fd = 658572159, user_data = 0x821836900}, {pos = 562260096, events = 8, fd = 760546768, user_data = 0x82c570300 <__thr_jtable>}, {pos = 743908848, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 562260144, events = 8, fd = 760546768, user_data = 0x82c570300 <__thr_jtable>}, {pos = 743908848, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 562260192, events = 8, fd = 760589213, user_data = 0x287d270b3008}, {pos = 33070, events = 0, fd = 562260288, user_data = 0x82d552a7d}} [11:53:55.369] last_touch_time = 1764416881 [11:53:55.369] last_lockfile_recheck_time = 1764416881 [11:53:55.369] nevents = [11:53:55.369] #17 0x00000000008d5eb7 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x821836f50) at ../src/backend/postmaster/postmaster.c:1403 [11:53:55.369] userDoption = [11:53:55.369] listen_addr_saved = false [11:53:55.369] output_config_variable = [11:53:55.369] opt = [11:53:55.369] status = [11:53:55.369] #18 0x00000000008049cd in main (argc=4, argv=0x821836f50) at ../src/backend/main/main.c:231 [11:53:55.369] do_check_root = [11:53:55.369] dispatch_option = DISPATCH_POSTMASTER [11:53:55.376] [11:53:55.376] [11:53:55.376] [11:53:55.429] dumping /tmp/cores/postgres.38353.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:53:55.553] [New LWP 102006] [11:53:55.619] Core was generated by `postgres: subscriber: logical replication apply worker for subscription 16410 '. [11:53:55.619] Program terminated with signal SIGSEGV, Segmentation fault. [11:53:55.619] Address not mapped to object. [11:53:55.619] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:55.619] 222 header = *((const uint64 *) ((const char *) pointer - sizeof(uint64))); [11:53:55.642] [11:53:55.642] Thread 1 (LWP 102006): [11:53:55.642] #0 GetMemoryChunkMethodID (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:222 [11:53:55.642] header = [11:53:55.642] #1 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:1600 [11:53:55.642] No locals. [11:53:55.642] #2 0x0000000000900ed3 in GetConflictLogTableRel () at ../src/backend/replication/logical/conflict.c:255 [11:53:55.642] nspid = 0 [11:53:55.642] conflictlogrel = [11:53:55.642] conflictlogtable = [11:53:55.642] conflictlogrelid = [11:53:55.642] #3 0x00000000009001af in ReportApplyConflict (estate=estate@entry=0x323edd7cf100, relinfo=relinfo@entry=0x323edd7cb240, elevel=elevel@entry=21, type=CT_INSERT_EXISTS, searchslot=searchslot@entry=0x0, remoteslot=0x323edd627930, remoteslot@entry=0x323edd7cb5f0, conflicttuples=0x323edd7ccb48) at ../src/backend/replication/logical/conflict.c:138 [11:53:55.642] err_detail = {data = 0x304 , len = 0, maxlen = 0, cursor = 772} [11:53:55.642] localrel = 0x323edd79f908 [11:53:55.642] conflictlogrel = [11:53:55.642] #4 0x00000000007a503b in CheckAndReportConflict (resultRelInfo=resultRelInfo@entry=0x323edd7cb240, estate=estate@entry=0x323edd7cf100, type=type@entry=CT_INSERT_EXISTS, recheckIndexes=recheckIndexes@entry=0x323edd7cbe78, searchslot=searchslot@entry=0x0, remoteslot=remoteslot@entry=0x323edd7cb5f0) at ../src/backend/executor/execReplication.c:793 [11:53:55.642] conflicttuples = 0x323edd7ccb48 [11:53:55.642] conflictslot = [11:53:55.642] #5 0x00000000007a4994 in ExecSimpleRelationInsert (resultRelInfo=0x323edd7cb240, estate=0x323edd7cf100, slot=0x323edd7cb5f0) at ../src/backend/executor/execReplication.c:870 [11:53:55.642] conflict = true [11:53:55.642] recheckIndexes = 0x323edd7cbe78 [11:53:55.642] conflictindexes = [11:53:55.642] skip_tuple = [11:53:55.642] rel = [11:53:55.642] #6 0x0000000000924e0a in apply_handle_insert_internal (edata=edata@entry=0x323edd7cb1f0, relinfo=0x0, relinfo@entry=0x323edd7cb240, remoteslot=0xbe90a8 , remoteslot@entry=0x323edd7cb5f0) at ../src/backend/replication/logical/worker.c:2749 [11:53:55.642] estate = 0x323edd79fc68 [11:53:55.642] #7 0x0000000000921b9e in apply_handle_insert (s=) at ../src/backend/replication/logical/worker.c:2709 [11:53:55.642] relinfo = 0x323edd7cb240 [11:53:55.642] newtup = {colvalues = 0x323edd7cb100, colstatus = 0x323edd7cb190 "ttt~\177\177\177\177\002", ncols = 3} [11:53:55.642] ucxt = {save_userid = 10, save_sec_context = 0, save_nestlevel = -1} [11:53:55.642] relid = [11:53:55.642] rel = 0x323edd7d5fc8 [11:53:55.642] run_as_owner = false [11:53:55.642] edata = 0x323edd7cb1f0 [11:53:55.642] estate = [11:53:55.642] remoteslot = 0x323edd7cb5f0 [11:53:55.642] oldctx = 0x323edd7cb000 [11:53:55.642] relinfo = [11:53:55.642] #8 apply_dispatch (s=s@entry=0x821498348) at ../src/backend/replication/logical/worker.c:3807 [11:53:55.642] action = [11:53:55.642] saved_command = 0 [11:53:55.642] #9 0x00000000009229f0 in LogicalRepApplyLoop (last_received=24903880) at ../src/backend/replication/logical/worker.c:4101 [11:53:55.642] start_lsn = [11:53:55.642] end_lsn = [11:53:55.642] send_time = [11:53:55.642] s = {data = 0x323edd6e4700 "w", len = 51, maxlen = 0, cursor = 51} [11:53:55.642] c = [11:53:55.642] fd = -1 [11:53:55.642] buf = 0x323edd6e4700 "w" [11:53:55.642] len = [11:53:55.642] wait_time = [11:53:55.642] endofstream = false [11:53:55.642] rc = [11:53:55.642] tli = 3714991872 [11:53:55.642] errcallback = {previous = 0x0, callback = 0x9236a0 , arg = 0x323edd627fd8} [11:53:55.642] rdt_data = {phase = RDT_GET_CANDIDATE_XID, remote_lsn = 0, remote_oldestxid = {value = 0}, remote_nextxid = {value = 0}, reply_time = 0, remote_wait_for = {value = 0}, candidate_xid = 0, flushpos_update_time = 0, table_sync_wait_time = 0, last_recv_time = 817732093738107, candidate_xid_time = 0, xid_advance_interval = 0} [11:53:55.642] last_recv_timestamp = 817732093738107 [11:53:55.642] ping_sent = false [11:53:55.642] #10 start_apply (origin_startpos=origin_startpos@entry=0) at ../src/backend/replication/logical/worker.c:5595 [11:53:55.642] _local_sigjmp_buf = {{_sjb = {9578278, 0, 34918204104, 34918204448, 12725928, 12815248, 34918204112, 12815256, 895, 2, 34918204224, 0}}} [11:53:55.642] _save_exception_stack = 0x821498520 [11:53:55.642] _save_context_stack = 0x0 [11:53:55.642] _do_rethrow = false [11:53:55.642] #11 0x00000000009268fe in run_apply_worker () at ../src/backend/replication/logical/worker.c:5754 [11:53:55.642] originname = "pg_16410", '\000' , "\b\000\000\000\001\000\000\000\000\000\000" [11:53:55.642] startpointTLI = 1 [11:53:55.642] err = 0x323edd614c6c "ApplyWorkerMain" [11:53:55.642] options = {logical = , slotname = , startpoint = , proto = {physical = {startpointTLI = }, logical = {proto_version = , publication_names = , binary = , streaming_str = , twophase = false, origin = 0x323edd75e1d0 "any"}}} [11:53:55.642] origin_startpos = 0 [11:53:55.642] slotname = 0x323edd7c9bc8 "sub_tab" [11:53:55.642] originid = [11:53:55.642] must_use_password = [11:53:55.642] #12 0x000000000092362d in ApplyWorkerMain (main_arg=) at ../src/backend/replication/logical/worker.c:5961 [11:53:55.642] worker_slot = [11:53:55.642] #13 0x00000000008d0ac9 in BackgroundWorkerMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/bgworker.c:846 [11:53:55.642] local_sigjmp_buf = {{_sjb = {9243282, 55245583501216, 34918204696, 34918204848, 10021488, 9859696, 55245583501216, 34918204704, 206158431103, -2147815357, -1, 1}}} [11:53:55.642] worker = 0x323edd6147a0 [11:53:55.642] entrypt = 0x0 [11:53:55.642] #14 0x00000000008d36db in postmaster_child_launch (child_type=child_type@entry=B_BG_WORKER, child_slot=46, startup_data=startup_data@entry=0x323edd75e0e8, startup_data_len=startup_data_len@entry=1472, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:268 [11:53:55.642] pid = [11:53:55.642] #15 0x00000000008d6847 in StartBackgroundWorker (rw=0x323edd75e0e8) at ../src/backend/postmaster/postmaster.c:4168 [11:53:55.642] bn = 0x323edd75c668 [11:53:55.642] worker_pid = [11:53:55.642] __error = [11:53:55.642] __error = [11:53:55.642] __error = [11:53:55.642] #16 maybe_start_bgworkers () at ../src/backend/postmaster/postmaster.c:4334 [11:53:55.642] rw = 0x323edd75e0e8 [11:53:55.642] num_launched = 0 [11:53:55.642] now = 0 [11:53:55.642] iter = {cur = 0x323edd75e6c0, next = , end = } [11:53:55.642] #17 0x00000000008d8515 in LaunchMissingBackgroundProcesses () at ../src/backend/postmaster/postmaster.c:3408 [11:53:55.642] No locals. [11:53:55.642] #18 ServerLoop () at ../src/backend/postmaster/postmaster.c:1728 [11:53:55.642] now = [11:53:55.642] events = {{pos = 0, events = 1, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -580295208, events = 12862, fd = 558467776, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 16777216, fd = 558468112, user_data = 0x43}, {pos = 558467888, events = 8, fd = -1803289915, user_data = 0x821498b10}, {pos = 709325605, events = 8, fd = 558467912, user_data = 0x821498bc0}, {pos = 558467936, events = 8, fd = -1803289915, user_data = 0x323edd20a408}, {pos = 3, events = 0, fd = 558467960, user_data = 0x821498bf0}, {pos = 708204744, events = 8, fd = 708204744, user_data = 0x821498ba0}, {pos = -1803289915, events = 14700, fd = 558468064, user_data = 0x396c9483ab2b}, {pos = 558468024, events = 8, fd = 558468144, user_data = 0x82a3648d4}, {pos = 708200660, events = 8, fd = -585063416, user_data = 0x3}, {pos = 558468128, events = 8, fd = -1803310293, user_data = 0x821498c30}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 558468216, events = 8, fd = 558468664, user_data = 0x821498c60}, {pos = -1803291598, events = 14700, fd = 2715703, user_data = 0x323edd20f288}, {pos = 708124296, events = 8, fd = -585063416, user_data = 0x821498cb8}, {pos = 558468728, events = 8, fd = 558468256, user_data = 0x396c9483f432}, {pos = 2740380, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = -585039792, events = 12862, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 558468968, user_data = 0x321498ca0}, {pos = 558468800, events = 8, fd = -585041208, user_data = 0x290}, {pos = 558468728, events = 8, fd = 558468280, user_data = 0x821498d20}, {pos = -1803291957, events = 14700, fd = 558468904, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x323edd210050}, {pos = 1, events = 8, fd = -585063416, user_data = 0x82a351e88}, {pos = 558468968, events = 8, fd = 558468800, user_data = 0x20}, {pos = 0, events = 0, fd = -585093112, user_data = 0x821498d30}, {pos = 558468784, events = 8, fd = -1803317049, user_data = 0x323edd203008}, {pos = -585092088, events = 12862, fd = -585091064, user_data = 0x323edd203c08}, {pos = -585076728, events = 12862, fd = -585075704, user_data = 0x323edd207808}, {pos = -585073656, events = 12862, fd = -585072632, user_data = 0x323edd208408}, {pos = -585070584, events = 12862, fd = -585069560, user_data = 0x323edd209008}, {pos = -585067512, events = 12862, fd = -585066488, user_data = 0x323edd209c08}, {pos = -585064440, events = 12862, fd = -585063416, user_data = 0x323edd20a808}, {pos = -585061368, events = 12862, fd = -585060344, user_data = 0x323edd20b408}, {pos = -585058296, events = 12862, fd = -585057272, user_data = 0x323edd20c008}, {pos = -585055224, events = 12862, fd = -585054200, user_data = 0x323edd20cc08}, {pos = -585048056, events = 12862, fd = -585047032, user_data = 0x323edd20e808}, {pos = -585044984, events = 12862, fd = -585093112, user_data = 0x29d09c}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x323edd210050}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 558468968, events = 8, fd = 558468400, user_data = 0x2000000020}, {pos = -585093112, events = 12862, fd = 1, user_data = 0x27c8d8}, {pos = 301, events = 0, fd = -585039792, user_data = 0x821498f50}, {pos = -1803318340, events = 14700, fd = 2740380, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = -585039792, user_data = 0x1}, {pos = 12703768, events = 0, fd = 709373296, user_data = 0x323edd203008}, {pos = 2845384, events = 0, fd = 707298633, user_data = 0x1}, {pos = -584372216, events = 12862, fd = 558468944, user_data = 0x82a2876e5}, {pos = 709373296, events = 8, fd = 12703768, user_data = 0x82a482d70 }, {pos = -585063416, events = 12862, fd = 558469168, user_data = 0x396c948389b4}, {pos = 558469024, events = 8, fd = 1, user_data = 0x396c9483882e}, {pos = -585093112, events = 12862, fd = 558468952, user_data = 0x821499030}, {pos = 6912, events = 0, fd = 12, user_data = 0x396c9484cb40}, {pos = 0, events = 0, fd = -580844673, user_data = 0x821499060}, {pos = 558469088, events = 8, fd = 707257808, user_data = 0x82a526300 <__thr_jtable>}, {pos = 710051312, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 558469136, events = 8, fd = 707257808, user_data = 0x82a526300 <__thr_jtable>}, {pos = 710051312, events = 8, fd = 0, user_data = 0x1fc0}, {pos = 558469184, events = 8, fd = 707300253, user_data = 0x323edd2b3008}, {pos = 38244, events = 0, fd = 558469280, user_data = 0x82a280a7d}} [11:53:55.643] last_touch_time = 1764416892 [11:53:55.643] last_lockfile_recheck_time = 1764416892 [11:53:55.643] nevents = [11:53:55.643] #19 0x00000000008d5eb7 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x8214996b0) at ../src/backend/postmaster/postmaster.c:1403 [11:53:55.643] userDoption = [11:53:55.643] listen_addr_saved = false [11:53:55.643] output_config_variable = [11:53:55.643] opt = [11:53:55.643] status = [11:53:55.643] #20 0x00000000008049cd in main (argc=4, argv=0x8214996b0) at ../src/backend/main/main.c:231 [11:53:55.643] do_check_root = [11:53:55.643] dispatch_option = DISPATCH_POSTMASTER