[08:55:24.471] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [08:55:24.834] dumping /tmp/cores/postgres.46776.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [08:55:24.956] [New LWP 100167] [08:55:25.039] Core was generated by `postgres: postgres regression [local] COPY'. [08:55:25.039] Program terminated with signal SIGSEGV, Segmentation fault. [08:55:25.039] Address not mapped to object. [08:55:25.039] #0 afterTriggerInvokeEvents (events=events@entry=0x835bd2460, firing_id=1, estate=estate@entry=0x84568a100, delete_ok=false) at ../src/backend/commands/trigger.c:4672 [08:55:25.039] 4672 evtshared->ats_firing_id == firing_id) [08:55:25.540] [08:55:25.540] Thread 1 (LWP 100167): [08:55:25.540] #0 afterTriggerInvokeEvents (events=events@entry=0x835bd2460, firing_id=1, estate=estate@entry=0x84568a100, delete_ok=false) at ../src/backend/commands/trigger.c:4672 [08:55:25.540] evtshared = 0x84ce660a3 [08:55:25.540] all_fired_in_chunk = true [08:55:25.540] event = 0x84566e124 [08:55:25.540] all_fired = true [08:55:25.540] local_estate = [08:55:25.540] rInfo = 0x835c65438 [08:55:25.540] rel = 0x8455d0b58 [08:55:25.540] trigdesc = 0x835b188c0 [08:55:25.540] finfo = 0x835c5d770 [08:55:25.540] instr = 0x0 [08:55:25.540] slot1 = 0x0 [08:55:25.540] slot2 = 0x0 [08:55:25.540] per_tuple_context = 0x845670000 [08:55:25.540] chunk = 0x84566e100 [08:55:25.540] #1 0x0000000000705368 in AfterTriggerEndQuery (estate=estate@entry=0x84568a100) at ../src/backend/commands/trigger.c:5099 [08:55:25.540] oldtail = 0x84566e100 [08:55:25.540] firing_id = 1164370176 [08:55:25.540] qs = 0x835bd2460 [08:55:25.540] #2 0x00000000006983c0 in CopyFrom (cstate=0x835b18460) at ../src/backend/commands/copyfrom.c:1339 [08:55:25.540] errcallback = {previous = 0x0, callback = 0x697430 , arg = 0x835b18460} [08:55:25.540] multiInsertInfo = {multiInsertBuffers = 0x0, bufferedTuples = 0, bufferedBytes = 0, cstate = 0x0, estate = 0x0, mycid = 0, ti_options = 0} [08:55:25.540] processed = 2 [08:55:25.540] prevResultRelInfo = 0x0 [08:55:25.540] estate = 0x84568a100 [08:55:25.540] singleslot = 0x835b09b68 [08:55:25.540] oldcontext = 0x835c5d400 [08:55:25.540] proute = 0x0 [08:55:25.540] mycid = 0 [08:55:25.540] ti_options = 0 [08:55:25.540] bistate = 0x835b18148 [08:55:25.540] excluded = 3 [08:55:25.540] skipped = 0 [08:55:25.540] leafpart_use_multi_insert = [08:55:25.540] target_resultRelInfo = 0x835c65438 [08:55:25.540] resultRelInfo = 0x835c65438 [08:55:25.540] mtstate = 0x835b189d8 [08:55:25.540] insertMethod = CIM_SINGLE [08:55:25.540] has_before_insert_row_trig = true [08:55:25.540] has_instead_insert_row_trig = false [08:55:25.540] econtext = 0x84568a310 [08:55:25.540] #3 0x0000000000695873 in DoCopy (pstate=pstate@entry=0x835c5d500, stmt=stmt@entry=0x835aa7cf8, stmt_location=, stmt_len=, processed=processed@entry=0x820df8578) at ../src/backend/commands/copy.c:306 [08:55:25.540] cstate = 0x835b18460 [08:55:25.540] query = [08:55:25.540] whereClause = [08:55:25.540] rel = 0x8455d0b58 [08:55:25.540] relid = [08:55:25.540] is_from = [08:55:25.540] pipe = [08:55:25.540] #4 0x00000000009090a1 in standard_ProcessUtility (pstmt=0x835aa7dc8, queryString=0x835aa7100 "COPY x from stdin WHERE a > 60003;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x835aa8188, qc=0x820df87c0) at ../src/backend/tcop/utility.c:735 [08:55:25.540] processed = 35261657088 [08:55:25.540] isAtomicContext = false [08:55:25.540] parsetree = 0x835aa7cf8 [08:55:25.540] readonly_flags = [08:55:25.540] pstate = 0x835c5d500 [08:55:25.540] isTopLevel = [08:55:25.540] #5 0x0000000000908cf8 in ProcessUtility (pstmt=0x38000000, queryString=0x84566e100 "", readOnlyTree=, context=2139062143, params=0x7f, queryEnv=0x84560c0f0, dest=0x835aa8188, qc=0x820df87c0) at ../src/backend/tcop/utility.c:523 [08:55:25.540] No locals. [08:55:25.540] #6 0x00000000009088b6 in PortalRunUtility (portal=0x835bce100, pstmt=0x835aa7dc8, isTopLevel=, setHoldSnapshot=, dest=0x835aa8188, qc=0x820df87c0) at ../src/backend/tcop/pquery.c:1217 [08:55:25.540] No locals. [08:55:25.540] #7 0x0000000000907fc4 in PortalRunMulti (portal=portal@entry=0x835bce100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x835aa8188, altdest=altdest@entry=0x835aa8188, qc=0x820df87c0) at ../src/backend/tcop/pquery.c:1369 [08:55:25.540] qdesc = 0x835ab7900 [08:55:25.540] pstmt = 0x835aa7dc8 [08:55:25.540] qdesc_item__state = {l = 0x835ab7990, i = 0} [08:55:25.540] holdSnapshotSet = false [08:55:25.540] qdesc_item = [08:55:25.540] #8 0x0000000000907899 in PortalRun (portal=portal@entry=0x835bce100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x835aa8188, altdest=altdest@entry=0x835aa8188, qc=0x820df87c0) at ../src/backend/tcop/pquery.c:850 [08:55:25.540] _local_sigjmp_buf = {{_sjb = {9467920, 35261309184, 34911258296, 34911258528, 34911258304, 35261325312, 12120840, 12154104, 35260072831, 35260104408, 4294967984, 0}}} [08:55:25.540] _save_exception_stack = 0x820df8890 [08:55:25.540] _save_context_stack = 0x0 [08:55:25.540] _do_rethrow = false [08:55:25.540] saveTopTransactionResourceOwner = 0x835bb0498 [08:55:25.540] saveTopTransactionContext = 0x835bd2000 [08:55:25.540] saveActivePortal = 0x0 [08:55:25.540] saveResourceOwner = 0x835bb0498 [08:55:25.540] savePortalContext = 0x0 [08:55:25.540] saveMemoryContext = 0x835bd2000 [08:55:25.540] result = [08:55:25.540] nprocessed = [08:55:25.540] #9 0x000000000090649d in exec_simple_query (query_string=query_string@entry=0x835aa7100 "COPY x from stdin WHERE a > 60003;") at ../src/backend/tcop/postgres.c:1287 [08:55:25.540] cmdtaglen = 4 [08:55:25.540] snapshot_set = [08:55:25.540] per_parsetree_context = 0x0 [08:55:25.540] plantree_list = [08:55:25.540] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [08:55:25.540] format = 0 [08:55:25.540] parsetree = 0x835aa7d48 [08:55:25.540] commandTag = [08:55:25.540] cmdtagname = [08:55:25.540] querytree_list = [08:55:25.540] portal = 0x835bce100 [08:55:25.540] receiver = 0x835aa8188 [08:55:25.540] parsetree_item__state = {l = , i = 0} [08:55:25.540] msec_str = "\000\000\000\000\b", '\000' , " [08:55:25.540] oldcontext = 0x835bd2000 [08:55:25.540] parsetree_list = 0x835aa7d78 [08:55:25.540] parsetree_item = 0x835aa7d90 [08:55:25.540] save_log_statement_stats = [08:55:25.540] use_implicit_block = [08:55:25.540] #10 0x0000000000904180 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4773 [08:55:25.540] query_string = 0x835aa7100 "COPY x from stdin WHERE a > 60003;" [08:55:25.540] input_message = {data = 0x835aa7100 "COPY x from stdin WHERE a > 60003;", len = 35, maxlen = 1024, cursor = 35} [08:55:25.540] firstchar = [08:55:25.540] local_sigjmp_buf = {{_sjb = {9451078, 34911258768, 34911258728, 34911259344, 12162840, 1, 8192, 8388608, 895, 0, 0, 34359738369}}} [08:55:25.540] send_ready_for_query = false [08:55:25.540] idle_in_transaction_timeout_enabled = false [08:55:25.540] idle_session_timeout_enabled = false [08:55:25.540] #11 0x00000000008fe989 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [08:55:25.540] bsdata = [08:55:25.540] #12 0x00000000008596b7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x820df95f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x820df9538) at ../src/backend/postmaster/launch_backend.c:274 [08:55:25.540] pid = [08:55:25.540] #13 0x000000000085da78 in BackendStartup (client_sock=0x820df9538) at ../src/backend/postmaster/postmaster.c:3414 [08:55:25.540] startup_data = {canAcceptConnections = CAC_OK} [08:55:25.540] bn = 0x835ab3178 [08:55:25.540] pid = [08:55:25.540] __error = [08:55:25.540] save_errno = [08:55:25.540] __error = [08:55:25.540] __error = [08:55:25.540] #14 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [08:55:25.540] s = {sock = 9, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\v\000\000\000\000\000\000\000\240\216\2525\b", '\000' , "\240\225\337 \b\000\000\000he\023*\b\000\000\000\v\000\000\000\000\000\000\000^\357\023*\b", '\000' , "\340\225\337 \b\000\000\000d\224\205\000\000\000\000\000\360\225\337 \b\000\000\000\000\000\000\000\000\000\000"}, salen = 16}} [08:55:25.540] i = 0 [08:55:25.540] now = [08:55:25.540] events = {{pos = 3, events = 2, fd = 7, user_data = 0x0}, {pos = 0, events = 0, fd = 551521168, user_data = 0x0}, {pos = 900354349, events = 8, fd = -1156218102, user_data = 0x82a570478}, {pos = 710438264, events = 8, fd = 551521240, user_data = 0x820df8c50}, {pos = 551521240, events = 8, fd = 710406588, user_data = 0x821667408}, {pos = 710406588, events = 8, fd = 551521344, user_data = 0x19ddbb15343a}, {pos = 551521432, events = 8, fd = 551521568, user_data = 0x820df8d10}, {pos = 710345848, events = 8, fd = 0, user_data = 0x800000000}, {pos = 712253936, events = 8, fd = 12162848, user_data = 0x0}, {pos = 0, events = 0, fd = -1156167280, user_data = 0x82166c0c8}, {pos = 0, events = 0, fd = 0, user_data = 0x820df8cd8}, {pos = 551521944, events = 8, fd = 551521472, user_data = 0x19ddbb157ca2}, {pos = 2572326, events = 0, fd = 115249317, user_data = 0x8fe76ea16}, {pos = 560386104, events = 8, fd = 1, user_data = 0x821667408}, {pos = 710345848, events = 8, fd = 551522200, user_data = 0x2afc58}, {pos = 551522016, events = 8, fd = 551521616, user_data = 0x1}, {pos = 551521944, events = 8, fd = 32, user_data = 0x820df8d40}, {pos = -1156220301, events = 6621, fd = 551521248, user_data = 0x274026}, {pos = 115249317, events = 0, fd = -25761258, user_data = 0x82166d038}, {pos = 1, events = 0, fd = 560362504, user_data = 0x82a570478}, {pos = 551522200, events = 8, fd = 551522016, user_data = 0x820df8d50}, {pos = 1, events = 0, fd = 560332808, user_data = 0x20}, {pos = 551522000, events = 8, fd = -1156244966, user_data = 0x821660008}, {pos = 560333832, events = 8, fd = 560334856, user_data = 0x821660c08}, {pos = 560349192, events = 8, fd = 560350216, user_data = 0x821664808}, {pos = 560352264, events = 8, fd = 560353288, user_data = 0x821665408}, {pos = 560355336, events = 8, fd = 560356360, user_data = 0x821666008}, {pos = 560358408, events = 8, fd = 560359432, user_data = 0x821666c08}, {pos = 560361480, events = 8, fd = 560362504, user_data = 0xcf95f222550a2edd}, {pos = 551521968, events = 8, fd = 551521952, user_data = 0x82a699139 }, {pos = 0, events = 0, fd = 1, user_data = 0x821665008}, {pos = 642144848, events = 8, fd = 551521952, user_data = 0x82a6d9055}, {pos = 551521888, events = 8, fd = 1, user_data = 0x821660008}, {pos = 32, events = 0, fd = 560332808, user_data = 0x274026}, {pos = 115249317, events = 0, fd = -25761258, user_data = 0xcf95f222550a2edd}, {pos = 712300752, events = 8, fd = 8192, user_data = 0x0}, {pos = 712308384, events = 8, fd = 1024, user_data = 0x820df8fc0}, {pos = 711447909, events = 8, fd = 115, user_data = 0x2523e7}, {pos = 551522128, events = 8, fd = 711108885, user_data = 0x3ec}, {pos = 551522064, events = 8, fd = 551523200, user_data = 0x0}, {pos = 551522128, events = 8, fd = 711199585, user_data = 0x1}, {pos = 551523200, events = 8, fd = 551523200, user_data = 0x100000000000000}, {pos = 1426730717, events = 3482710562, fd = 712308384, user_data = 0x835b097f8}, {pos = 0, events = 0, fd = 712199736, user_data = 0x820df9450}, {pos = 551523264, events = 8, fd = 711199874, user_data = 0x0}, {pos = 551523568, events = 8, fd = 900765688, user_data = 0x820df9380}, {pos = 0, events = 0, fd = 0, user_data = 0xcf95f222550a2edd}, {pos = -1156218102, events = 6621, fd = 710367136, user_data = 0x82a586d78}, {pos = 551522312, events = 8, fd = 551522432, user_data = 0x820df9008}, {pos = 710410136, events = 8, fd = 560362504, user_data = 0x82a57ff98}, {pos = 551522416, events = 8, fd = -1156238278, user_data = 0x820df9050}, {pos = 12, events = 0, fd = 712300752, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x82a73c030 <__thr_jtable>}, {pos = 1, events = 0, fd = 551522512, user_data = 0x19ddbb15830a}, {pos = 710314072, events = 8, fd = 710438264, user_data = 0x820df90a8}, {pos = 551522592, events = 8, fd = 551522472, user_data = 0x82a57dd0c}, {pos = 560362504, events = 8, fd = 710401292, user_data = 0x820df9110}, {pos = -1156238278, events = 6621, fd = -299709009, user_data = 0x820df91e0}, {pos = 12104768, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 8, fd = 1426730717, user_data = 0x835b17000}, {pos = 551522608, events = 8, fd = 711563570, user_data = 0x820df92c8}, {pos = 560382600, events = 8, fd = 710314072, user_data = 0x821667408}, {pos = 551522728, events = 8, fd = 551523176, user_data = 0x820df9190}, {pos = -1156219742, events = 6621, fd = 2700061, user_data = 0x6d68b}} [08:55:25.540] last_touch_time = 1723884841 [08:55:25.540] last_lockfile_recheck_time = 1723884841 [08:55:25.540] nevents = 1 [08:55:25.540] #15 0x000000000085b895 in PostmasterMain (argc=argc@entry=5, argv=argv@entry=0x820df9b50) at ../src/backend/postmaster/postmaster.c:1346 [08:55:25.540] userDoption = [08:55:25.540] listen_addr_saved = [08:55:25.540] output_config_variable = [08:55:25.540] opt = [08:55:25.540] status = [08:55:25.540] #16 0x0000000000794efc in main (argc=5, argv=0x820df9b50) at ../src/backend/main/main.c:197 [08:55:25.540] do_check_root =