[11:51:43.123] # Although we try to configure the OS to core dump inside [11:51:43.123] # ${CORE_DUMP_DIR}, they may not obey this. So, move core files to the [11:51:43.123] # ${CORE_DUMP_DIR} directory. [11:51:43.123] find build/ -type f -name '*.core' -exec mv '{}' ${CORE_DUMP_DIR} \; [11:51:43.680] src/tools/ci/cores_backtrace.sh ${OS_NAME} ${CORE_DUMP_DIR} ${CORE_DUMP_EXECUTABLE_DIR} [11:51:43.861] could not process /var/crash/minfree [11:51:43.861] [11:51:43.861] [11:51:43.861] [11:51:43.886] dumping /var/crash/postgres.core for /home/postgres/postgres/build/tmp_install/usr/local/pgsql/bin/postgres [11:51:44.123] [New process 16829] [11:51:44.346] Core was generated by `postgres'. [11:51:44.346] Program terminated with signal SIGSEGV, Segmentation fault. [11:51:44.346] #0 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:227 [11:51:44.346] 227 return (MemoryContextMethodID) (header & MEMORY_CONTEXT_METHODID_MASK); [11:51:44.364] [11:51:44.364] Thread 1 (process 16829): [11:51:44.364] #0 pfree (pointer=0x0) at ../src/backend/utils/mmgr/mcxt.c:227 [11:51:44.364] No locals. [11:51:44.364] #1 0x00000000007790aa in GetConflictLogTableRel () at ../src/backend/replication/logical/conflict.c:240 [11:51:44.364] nspid = 0 [11:51:44.364] conflictlogrelid = [11:51:44.364] conflictlogrel = 0x0 [11:51:44.364] conflictlogtable = [11:51:44.364] __func__ = "GetConflictLogTableRel" [11:51:44.364] #2 0x0000000000779170 in ReportApplyConflict (estate=estate@entry=0x72b7a3e69100, relinfo=relinfo@entry=0x72b7a3e6d478, elevel=elevel@entry=21, type=CT_MULTIPLE_UNIQUE_CONFLICTS, searchslot=searchslot@entry=0x0, remoteslot=remoteslot@entry=0x72b7a3e6d6d8, conflicttuples=conflicttuples@entry=0x72b7a3e6e6f0) at ../src/backend/replication/logical/conflict.c:138 [11:51:44.364] localrel = 0x72b7a3e347b8 [11:51:44.364] conflictlogrel = [11:51:44.364] err_detail = {data = 0x103c5d8 "X\330\377\243\267r", len = -1545385528, maxlen = 29367, cursor = -1545385528} [11:51:44.364] __func__ = "ReportApplyConflict" [11:51:44.364] #3 0x000000000064a836 in CheckAndReportConflict (resultRelInfo=resultRelInfo@entry=0x72b7a3e6d478, estate=estate@entry=0x72b7a3e69100, type=type@entry=CT_INSERT_EXISTS, recheckIndexes=recheckIndexes@entry=0x72b7a3e6db98, searchslot=searchslot@entry=0x0, remoteslot=remoteslot@entry=0x72b7a3e6d6d8) at ../src/include/nodes/pg_list.h:154 [11:51:44.364] conflicttuples = 0x72b7a3e6e6f0 [11:51:44.364] conflictslot = [11:51:44.364] #4 0x000000000064b5f4 in ExecSimpleRelationInsert (resultRelInfo=resultRelInfo@entry=0x72b7a3e6d478, estate=0x72b7a3e69100, slot=slot@entry=0x72b7a3e6d6d8) at ../src/backend/executor/execReplication.c:870 [11:51:44.364] recheckIndexes = 0x72b7a3e6db98 [11:51:44.364] conflictindexes = [11:51:44.364] conflict = true [11:51:44.364] skip_tuple = [11:51:44.364] rel = 0x72b7a3e347b8 [11:51:44.364] #5 0x000000000079562f in apply_handle_insert_internal (relinfo=relinfo@entry=0x72b7a3e6d478, remoteslot=remoteslot@entry=0x72b7a3e6d6d8, edata=, edata=) at ../src/backend/replication/logical/worker.c:2749 [11:51:44.364] estate = [11:51:44.364] #6 0x0000000000799d29 in apply_handle_insert (s=0x0) at ../src/backend/replication/logical/worker.c:2709 [11:51:44.364] relinfo = 0x72b7a3e6d478 [11:51:44.364] rel = [11:51:44.364] ucxt = {save_userid = 10, save_sec_context = 0, save_nestlevel = -1} [11:51:44.364] edata = 0x72b7a3e6d1f0 [11:51:44.364] estate = [11:51:44.364] remoteslot = [11:51:44.364] oldctx = 0x72b7a3e6d000 [11:51:44.364] run_as_owner = false [11:51:44.364] newtup = {colvalues = 0x72b7a3e6d100, colstatus = 0x72b7a3e6d190 "ttt~\177\177\177\177\002", ncols = 3} [11:51:44.364] relid = [11:51:44.364] rel = [11:51:44.364] newtup = {colvalues = , colstatus = , ncols = } [11:51:44.364] relid = [11:51:44.364] ucxt = {save_userid = , save_sec_context = , save_nestlevel = } [11:51:44.364] edata = [11:51:44.364] estate = [11:51:44.364] remoteslot = [11:51:44.364] oldctx = [11:51:44.364] run_as_owner = [11:51:44.364] relinfo = [11:51:44.364] #7 apply_dispatch (s=s@entry=0x7f7fffed55a0) at ../src/backend/replication/logical/worker.c:3807 [11:51:44.364] action = [11:51:44.364] saved_command = [11:51:44.364] __func__ = "apply_dispatch" [11:51:44.364] #8 0x000000000079b3fb in LogicalRepApplyLoop (last_received=24888032) at ../src/backend/replication/logical/worker.c:4101 [11:51:44.364] start_lsn = [11:51:44.364] end_lsn = 24888032 [11:51:44.364] send_time = [11:51:44.364] c = [11:51:44.364] s = {data = 0x72b7a3f98d00 "w", len = 51, maxlen = 0, cursor = 51} [11:51:44.364] fd = -1 [11:51:44.364] len = [11:51:44.364] buf = 0x72b7a3f98d00 "w" [11:51:44.364] wait_time = [11:51:44.364] rc = [11:51:44.364] endofstream = false [11:51:44.364] ping_sent = false [11:51:44.364] tli = 2 [11:51:44.364] last_recv_timestamp = 817731951733237 [11:51:44.364] errcallback = {previous = 0x0, callback = 0x7951e0 , arg = 0x72b7a3ffde78} [11:51:44.364] 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 = 817731951733237, candidate_xid_time = 0, xid_advance_interval = 0} [11:51:44.364] last_recv_timestamp = [11:51:44.364] ping_sent = [11:51:44.364] tli = [11:51:44.364] errcallback = {previous = , callback = , arg = } [11:51:44.364] rdt_data = {phase = , remote_lsn = , remote_oldestxid = {value = }, remote_nextxid = {value = }, reply_time = , remote_wait_for = {value = }, candidate_xid = , flushpos_update_time = , table_sync_wait_time = , last_recv_time = , candidate_xid_time = , xid_advance_interval = } [11:51:44.364] __func__ = "LogicalRepApplyLoop" [11:51:44.364] fd = [11:51:44.364] rc = [11:51:44.364] len = [11:51:44.364] buf = [11:51:44.364] endofstream = [11:51:44.364] wait_time = [11:51:44.364] c = [11:51:44.364] s = {data = , len = , maxlen = , cursor = } [11:51:44.364] start_lsn = [11:51:44.364] end_lsn = [11:51:44.364] send_time = [11:51:44.364] end_lsn = [11:51:44.364] timestamp = [11:51:44.364] reply_requested = [11:51:44.364] requestReply = [11:51:44.364] now = [11:51:44.364] timeout = [11:51:44.364] #9 start_apply (origin_startpos=0) at ../src/backend/replication/logical/worker.c:5595 [11:51:44.364] _save_exception_stack = 0x7f7fffed57c0 [11:51:44.364] _save_context_stack = 0x0 [11:51:44.364] _local_sigjmp_buf = {16924768, 140187731318448, 16925528, 140187731318560, 126133054404184, 16925536, 140187731318072, 7974692, 0, 126133055742176, 140187731318448, 126132840056726} [11:51:44.364] _do_rethrow = false [11:51:44.364] #10 0x000000000079b9b5 in run_apply_worker () at ../src/backend/replication/logical/worker.c:5754 [11:51:44.364] origin_startpos = 0 [11:51:44.364] startpointTLI = 1 [11:51:44.364] err = 0x93be02 "\204\300\017\204\336\252\026" [11:51:44.364] must_use_password = [11:51:44.364] originname = "pg_16410\000\000\000\000(\000\000\000\060\337#\244\267r\000\000\210\305\003\001\000\000\000\000\350\021\362\243\267r\000\000.\000\000\000\000\000\000\000\300\005\000\000\000\000\000\000\005\000\000\000\000\000\000" [11:51:44.364] slotname = 0x72b7a3e6f658 "sub_tab" [11:51:44.364] options = {logical = true, slotname = 0x72b7a3e6f658 "sub_tab", startpoint = 0, proto = {physical = {startpointTLI = 4}, logical = {proto_version = 4, publication_names = 0x72b7a3e6f6b8, binary = false, streaming_str = 0xbb79c8 "parallel", twophase = false, origin = 0x72b7a3f21240 "any"}}} [11:51:44.364] originid = [11:51:44.364] originname = { } [11:51:44.364] origin_startpos = [11:51:44.364] slotname = [11:51:44.364] options = {logical = , slotname = , startpoint = , proto = {physical = {startpointTLI = }, logical = {proto_version = , publication_names = , binary = , streaming_str = , twophase = , origin = }}} [11:51:44.364] originid = [11:51:44.364] startpointTLI = [11:51:44.364] err = [11:51:44.364] must_use_password = [11:51:44.364] __func__ = "run_apply_worker" [11:51:44.364] #11 ApplyWorkerMain (main_arg=) at ../src/backend/replication/logical/worker.c:5961 [11:51:44.364] worker_slot = [11:51:44.364] #12 0x000000000074c8fc in BackgroundWorkerMain (startup_data=, startup_data_len=) at ../src/backend/postmaster/bgworker.c:846 [11:51:44.364] local_sigjmp_buf = {17024392, 140187731318848, 126133055132136, 46, 1472, 5, 140187731318696, 7653384, 1, -331709, -1, 0} [11:51:44.364] worker = 0x72b7a423c7a0 [11:51:44.364] entrypt = [11:51:44.364] __func__ = "BackgroundWorkerMain" [11:51:44.364] #13 0x000000000074ee10 in postmaster_child_launch (child_type=child_type@entry=B_BG_WORKER, child_slot=46, startup_data=startup_data@entry=0x72b7a3f211e8, startup_data_len=startup_data_len@entry=1472, client_sock=client_sock@entry=0x0) at ../src/backend/postmaster/launch_backend.c:268 [11:51:44.364] pid = [11:51:44.364] #14 0x00000000007506b0 in StartBackgroundWorker (rw=0x72b7a3f211e8) at ../src/backend/postmaster/postmaster.c:4168 [11:51:44.364] bn = 0x72b7a3f1f768 [11:51:44.364] worker_pid = [11:51:44.364] bn = [11:51:44.364] worker_pid = [11:51:44.364] __func__ = "StartBackgroundWorker" [11:51:44.364] #15 maybe_start_bgworkers () at ../src/backend/postmaster/postmaster.c:4334 [11:51:44.364] rw = 0x72b7a3f211e8 [11:51:44.364] num_launched = 0 [11:51:44.364] now = 0 [11:51:44.364] iter = {cur = 0x72b7a3f217c0, next = 0x72b7a42369a8, end = } [11:51:44.364] #16 0x0000000000751e39 in LaunchMissingBackgroundProcesses () at ../src/backend/postmaster/postmaster.c:3408 [11:51:44.364] No locals. [11:51:44.364] #17 ServerLoop () at ../src/backend/postmaster/postmaster.c:1728 [11:51:44.364] now = [11:51:44.364] last_lockfile_recheck_time = 1764416751 [11:51:44.364] last_touch_time = 1764416751 [11:51:44.364] events = {{pos = 0, events = 1, fd = -1, user_data = 0x0}, {pos = 0, events = 0, fd = 1363151873, user_data = 0x0}, {pos = -1221072, events = 32639, fd = -1543603624, user_data = 0x0}, {pos = -1220560, events = 32639, fd = -1543690792, user_data = 0x7f7fffed5fd0}, {pos = -1220944, events = 32639, fd = -1624052682, user_data = 0x0}, {pos = -1621331480, events = 29367, fd = -1221024, user_data = 0x72b7a3fd25d8}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffff}, {pos = 927973950, events = 3123277046, fd = 518, user_data = 0x7f7fffed6030}, {pos = -1220944, events = 32639, fd = -1624033827, user_data = 0x0}, {pos = 0, events = 0, fd = -1219968, user_data = 0x72b79f32f36a }, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1219824, events = 32639, fd = 0, user_data = 0x0}, {pos = -1220608, events = 32639, fd = -1543603664, user_data = 0x0}, {pos = -1543603664, events = 0, fd = -1220656, user_data = 0x7f7fffed62f8}, {pos = -1219824, events = 32639, fd = 1363181582, user_data = 0x1}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x72b700000000}, {pos = -1220176, events = 32639, fd = -1220056, user_data = 0x0}, {pos = 1, events = 0, fd = 0, user_data = 0x72b7a426d540}, {pos = 1363182570, events = 32638, fd = 0, user_data = 0x72b79f227584}, {pos = -1540954112, events = 29367, fd = -1220184, user_data = 0x72b79f7ea100 }, {pos = -1220176, events = 32639, fd = -1220104, user_data = 0x1}, {pos = -1220056, events = 32639, fd = -1625131644, user_data = 0x72b79f20b8d8}, {pos = 1363183775, events = 32638, fd = -1220176, user_data = 0x72b7a4277000}, {pos = -1540918272, events = 29367, fd = -1540917248, user_data = 0x72b7a4277c00}, {pos = -1540907008, events = 29367, fd = -1540905984, user_data = 0x72b7a427a800}, {pos = -1540903936, events = 29367, fd = -1540902912, user_data = 0x72b7a427b400}, {pos = -1540900864, events = 29367, fd = -1540899840, user_data = 0x72b7a426c000}, {pos = -1540963328, events = 29367, fd = -1540962304, user_data = 0x72b7a426cc00}, {pos = -1540956160, events = 29367, fd = -1540955136, user_data = 0x72b7a426e800}, {pos = -1540953088, events = 29367, fd = -1540952064, user_data = 0x72b7a426f400}, {pos = -1540950016, events = 29367, fd = -1540948992, user_data = 0x72b7a4270000}, {pos = -1540946944, events = 29367, fd = -1540945920, user_data = 0x72b7a4270c00}, {pos = -1540939776, events = 29367, fd = -1540938752, user_data = 0x72b7a4272800}, {pos = -1540936704, events = 29367, fd = -1540997120, user_data = 0x72b7a4264400}, {pos = -1540995072, events = 29367, fd = -1540994048, user_data = 0x72b7a4265000}, {pos = -1540992000, events = 29367, fd = -1540990976, user_data = 0x72b7a4265c00}, {pos = -1220192, events = 32639, fd = 9772743, user_data = 0x7f7fffed61b0}, {pos = -1543523328, events = 29367, fd = -1220064, user_data = 0x72b7a426e800}, {pos = -1540954112, events = 29367, fd = 0, user_data = 0x7f7fffed61a8}, {pos = -1540954112, events = 29367, fd = -1220576, user_data = 0x1300000028}, {pos = 0, events = 0, fd = 9773234, user_data = 0x72b7a426e800}, {pos = 13800, events = 0, fd = -1219968, user_data = 0x72b79f227584}, {pos = -1625245480, events = 29367, fd = 575, user_data = 0x7f7e51408d4a <_rtld_find_plt_symdef+221>}, {pos = -1543657416, events = 1, fd = -1220032, user_data = 0x95955a }, {pos = -1540954112, events = 29367, fd = 93930363, user_data = 0xd079d733}, {pos = 0, events = 0, fd = -1625292800, user_data = 0x3cc600}, {pos = -1540954112, events = 29367, fd = -1625053432, user_data = 0x7f7e51405c86 <_rtld_shared_exit+45>}, {pos = 12, events = 0, fd = 1363151873, user_data = 0x72b79f315618 }, {pos = -1746901424, events = 29367, fd = -1540976544, user_data = 0x7f7fffed62c0}, {pos = -1624201585, events = 29367, fd = -1540976544, user_data = 0x72b79f315618 }, {pos = -1746901424, events = 29367, fd = -1540976544, user_data = 0x7f7fffed62f0}, {pos = -1624201585, events = 29367, fd = -1540976544, user_data = 0x72b797e00980}, {pos = -1540976544, events = 29367, fd = -1619131328, user_data = 0x7f7fffed6310}, {pos = -1624227372, events = 29367, fd = -1540976544, user_data = 0x72b79f7e0440 }, {pos = -1219776, events = 32639, fd = -1624162817, user_data = 0x0}, {pos = 7049, events = 0, fd = 7049, user_data = 0x7f7fffed6370}, {pos = -1219744, events = 32639, fd = -1623736765, user_data = 0x0}, {pos = -1618957317, events = 29367, fd = -1219680, user_data = 0x74ebc7 }, {pos = 0, events = 0, fd = 0, user_data = 0x7f7fffed63b0}, {pos = 0, events = 0, fd = 89, user_data = 0x0}, {pos = -1219616, events = 32639, fd = 7662915, user_data = 0x7f7fffed63e0}, {pos = 13, events = 0, fd = -1544421512, user_data = 0x0}} [11:51:44.364] nevents = [11:51:44.364] __func__ = "ServerLoop" [11:51:44.364] #18 0x00000000007543c9 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x7f7fffed6538) at ../src/backend/postmaster/postmaster.c:1403 [11:51:44.364] opt = [11:51:44.364] status = [11:51:44.364] userDoption = [11:51:44.364] listen_addr_saved = false [11:51:44.364] output_config_variable = [11:51:44.364] __func__ = "PostmasterMain" [11:51:44.364] #19 0x0000000000ab13fc in main (argc=4, argv=0x7f7fffed6538) at ../src/backend/main/main.c:231 [11:51:44.364] do_check_root = [11:51:44.364] dispatch_option = [11:51:44.371]