[11:57:10.011] src/tools/ci/cores_backtrace.sh linux /tmp/cores [11:57:10.232] dumping /tmp/cores/postgres-6-32013.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:10.488] [New LWP 32013] [11:57:10.488] [11:57:10.488] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:10.488] [11:57:10.488] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:10.488] Debuginfod has been disabled. [11:57:10.488] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:10.599] [Thread debugging using libthread_db enabled] [11:57:10.599] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:10.599] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:10.599] Program terminated with signal SIGABRT, Aborted. [11:57:10.599] #0 0x00007fbb018a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:11.657] [11:57:11.657] Thread 1 (Thread 0x7fbb02686f00 (LWP 32013)): [11:57:11.657] #0 0x00007fbb018a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:11.657] No symbol table info available. [11:57:11.657] #1 0x00007fbb0185afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:11.657] No symbol table info available. [11:57:11.657] #2 0x00007fbb01845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:11.657] No symbol table info available. [11:57:11.657] #3 0x00007fbb01a1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:11.657] No locals. [11:57:11.657] #4 0x00007fbb01a2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:11.657] No locals. [11:57:11.657] #5 0x00007fbb01a0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55e3b4d3d440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:11.657] bp = 140727537723472 [11:57:11.657] pc = [11:57:11.657] Opts = {FromUnrecoverableHandler = true, pc = 94436468313509, bp = 194} [11:57:11.657] #6 0x000055e3b425cda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:11.657] crc0 = [11:57:11.657] len = [11:57:11.657] buf = [11:57:11.657] #7 0x000055e3b425ce72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:11.657] p = [11:57:11.657] pend = [11:57:11.657] orig_crc = [11:57:11.657] orig_len = [11:57:11.657] #8 0x000055e3b3938ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:11.657] No locals. [11:57:11.657] #9 0x000055e3b3939f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffdaee56948, num_fpi=num_fpi@entry=0x7ffdaee5693c, topxid_included=0x7ffdaee5693b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:11.657] rdt = 0x55e3d9d415d0 [11:57:11.657] total_len = 194 [11:57:11.657] block_id = 1 [11:57:11.657] rdata_crc = [11:57:11.657] prev_regbuf = 0x55e3d9d434e8 [11:57:11.657] rdt_datas_last = 0x55e3d9d415a0 [11:57:11.657] rechdr = 0x55e3d9d417b0 [11:57:11.657] scratch = 0x55e3d9d417de "" [11:57:11.657] __func__ = "XLogRecordAssemble" [11:57:11.657] #10 0x000055e3b393af4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:11.657] RedoRecPtr = 17604224 [11:57:11.657] doPageWrites = true [11:57:11.657] topxid_included = false [11:57:11.657] fpw_lsn = 0 [11:57:11.657] rdt = [11:57:11.657] num_fpi = 0 [11:57:11.657] EndPos = [11:57:11.657] __func__ = "XLogInsert" [11:57:11.657] #11 0x000055e3b385466b in heap_insert (relation=relation@entry=0x55e3d9ddf8b0, tup=tup@entry=0x55e3d9ed0a20, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:11.657] recptr = [11:57:11.657] info = 128 '\200' [11:57:11.657] bufflags = 6 [11:57:11.657] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:11.657] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:11.657] page = 0x7fbaf675a000 "" [11:57:11.657] xid = [11:57:11.657] heaptup = 0x55e3d9ed0a20 [11:57:11.657] buffer = 97 [11:57:11.657] vmbuffer = 0 [11:57:11.657] all_visible_cleared = false [11:57:11.657] #12 0x000055e3b3855bfc in simple_heap_insert (relation=relation@entry=0x55e3d9ddf8b0, tup=tup@entry=0x55e3d9ed0a20) at ../src/backend/access/heap/heapam.c:2641 [11:57:11.657] No locals. [11:57:11.657] #13 0x000055e3b398d70e in CatalogTupleInsert (heapRel=heapRel@entry=0x55e3d9ddf8b0, tup=0x55e3d9ed0a20) at ../src/backend/catalog/indexing.c:241 [11:57:11.657] indstate = 0x55e3d9ec68b8 [11:57:11.657] #14 0x000055e3b39aed93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55e3d9ece4e0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffdaee56d1c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:11.657] conDesc = 0x55e3d9ddf8b0 [11:57:11.657] conOid = 10115 [11:57:11.657] tup = [11:57:11.657] nulls = {false , true, true, true, true, true, true, true} [11:57:11.657] values = {10115, 140727537724080, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94437102127976, 0, 0, 0, 0, 0, 0, 0} [11:57:11.657] conkeyArray = 0x55e3d9ed0b68 [11:57:11.657] confkeyArray = 0x0 [11:57:11.657] conpfeqopArray = 0x0 [11:57:11.657] conppeqopArray = 0x0 [11:57:11.657] conffeqopArray = 0x0 [11:57:11.657] conexclopArray = 0x0 [11:57:11.657] confdelsetcolsArray = [11:57:11.657] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:11.657] i = [11:57:11.657] conobject = {classId = 32765, objectId = 3654611296, objectSubId = 21987} [11:57:11.657] addrs_auto = [11:57:11.657] addrs_normal = [11:57:11.657] #15 0x000055e3b397744e in StoreRelNotNull (rel=rel@entry=0x55e3d9d93938, nnname=nnname@entry=0x55e3d9ece4e0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:11.657] constrOid = [11:57:11.657] #16 0x000055e3b397f556 in AddRelationNewConstraints (rel=rel@entry=0x55e3d9d93938, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55e3d9ecdbd0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:11.657] nncooked = [11:57:11.657] colnum = 1 [11:57:11.657] inhcount = 0 [11:57:11.657] nnname = 0x55e3d9ece4e0 "pg_proc_oid_not_null" [11:57:11.657] constrOid = [11:57:11.657] cdef__state = [11:57:11.657] cdef = 0x55e3d9ecc170 [11:57:11.657] cdef__outerloop = [11:57:11.657] cookedConstraints = 0x0 [11:57:11.657] tupleDesc = [11:57:11.657] oldconstr = [11:57:11.657] numoldchecks = [11:57:11.657] pstate = 0x55e3d9ecc548 [11:57:11.657] nsitem = [11:57:11.657] numchecks = 0 [11:57:11.657] checknames = 0x0 [11:57:11.657] nnnames = 0x55e3d9ed0550 [11:57:11.657] expr = [11:57:11.657] cooked = [11:57:11.657] __func__ = "AddRelationNewConstraints" [11:57:11.657] #17 0x000055e3b3aa6bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffdaee56fe8, tab=tab@entry=0x55e3d9ec6ac8, rel=rel@entry=0x55e3d9d93938, constr=constr@entry=0x55e3d9ecc708, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:11.657] newcons = [11:57:11.657] lcon = [11:57:11.657] children = [11:57:11.657] child = [11:57:11.657] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:11.657] __func__ = "ATAddCheckNNConstraint" [11:57:11.657] #18 0x000055e3b3aa7291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffdaee56fe8, tab=tab@entry=0x55e3d9ec6ac8, rel=rel@entry=0x55e3d9d93938, newConstraint=0x55e3d9ecc708, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:11.657] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:11.657] __func__ = "ATExecAddConstraint" [11:57:11.657] #19 0x000055e3b3ab351e in ATExecCmd (wqueue=wqueue@entry=0x7ffdaee56fe8, tab=tab@entry=0x55e3d9ec6ac8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffdaee570d0) at ../src/backend/commands/tablecmds.c:5428 [11:57:11.657] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:11.657] rel = 0x55e3d9d93938 [11:57:11.657] __func__ = "ATExecCmd" [11:57:11.657] #20 0x000055e3b3ab43b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffdaee56fe8, lockmode=lockmode@entry=8, context=context@entry=0x7ffdaee570d0) at ../src/backend/commands/tablecmds.c:5294 [11:57:11.657] lcmd__state = [11:57:11.657] tab = 0x55e3d9ec6ac8 [11:57:11.657] subcmds = 0x55e3d9ecdaf8 [11:57:11.657] lcmd = [11:57:11.657] ltab__state = [11:57:11.657] pass = AT_PASS_COL_ATTRS [11:57:11.657] ltab = [11:57:11.657] #21 0x000055e3b3ab490d in ATController (parsetree=parsetree@entry=0x55e3d9eb2c70, rel=rel@entry=0x55e3d9d93938, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffdaee570d0) at ../src/backend/commands/tablecmds.c:4849 [11:57:11.657] wqueue = 0x55e3d9eb7140 [11:57:11.657] lcmd = 0x0 [11:57:11.657] #22 0x000055e3b3ab49c4 in AlterTable (stmt=stmt@entry=0x55e3d9eb2c70, lockmode=lockmode@entry=8, context=context@entry=0x7ffdaee570d0) at ../src/backend/commands/tablecmds.c:4504 [11:57:11.657] rel = 0x55e3d9d93938 [11:57:11.657] #23 0x000055e3b3f35b4d in ProcessUtilitySlow (pstate=pstate@entry=0x55e3d9eb7030, pstmt=pstmt@entry=0x55e3d9eb2d20, queryString=queryString@entry=0x55e3d9eb2000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55e3b47764a0 , qc=0x7ffdaee575d0) at ../src/backend/tcop/utility.c:1321 [11:57:11.657] atcontext = {pstmt = 0x55e3d9eb2d20, queryString = 0x55e3d9eb2000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:11.657] atstmt = 0x55e3d9eb2c70 [11:57:11.657] relid = 1255 [11:57:11.657] lockmode = 8 [11:57:11.657] cell = 0x0 [11:57:11.657] _save_exception_stack = 0x7ffdaee574b0 [11:57:11.657] _save_context_stack = 0x0 [11:57:11.657] _local_sigjmp_buf = {{__jmpbuf = {0, -3893259074687714889, 94437102005360, 0, 94437102002176, 0, -7078335476533544521, -3893210904267572809}, __mask_was_saved = 0, __saved_mask = {__val = {0, 140441116418376, 94436464779071, 140441116554944, 94433445937153, 94436480828192, 4294967295, 140441161009232, 140441183629216, 0, 4611686018427387905, 140441115093248, 0, 140441116420932, 140441188549344, 332}}}} [11:57:11.657] _do_rethrow = false [11:57:11.657] parsetree = 0x55e3d9eb2c70 [11:57:11.657] isTopLevel = true [11:57:11.657] isCompleteQuery = true [11:57:11.657] needCleanup = false [11:57:11.657] commandCollected = false [11:57:11.657] address = {classId = 21987, objectId = 3656068208, objectSubId = 21987} [11:57:11.657] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:11.657] __func__ = "ProcessUtilitySlow" [11:57:11.657] #24 0x000055e3b3f35189 in standard_ProcessUtility (pstmt=0x55e3d9eb2d20, queryString=0x55e3d9eb2000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55e3b47764a0 , qc=0x7ffdaee575d0) at ../src/backend/tcop/utility.c:1070 [11:57:11.657] parsetree = 0x55e3d9eb2c70 [11:57:11.657] isTopLevel = true [11:57:11.657] isAtomicContext = false [11:57:11.657] pstate = 0x55e3d9eb7030 [11:57:11.657] readonly_flags = [11:57:11.657] __func__ = "standard_ProcessUtility" [11:57:11.657] #25 0x000055e3b3f352e4 in ProcessUtility (pstmt=pstmt@entry=0x55e3d9eb2d20, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55e3b47764a0 , qc=0x7ffdaee575d0) at ../src/backend/tcop/utility.c:523 [11:57:11.657] No locals. [11:57:11.657] #26 0x000055e3b3f30c09 in PortalRunUtility (portal=portal@entry=0x55e3d9d5da20, pstmt=pstmt@entry=0x55e3d9eb2d20, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55e3b47764a0 , qc=qc@entry=0x7ffdaee575d0) at ../src/backend/tcop/pquery.c:1184 [11:57:11.657] No locals. [11:57:11.657] #27 0x000055e3b3f3120d in PortalRunMulti (portal=portal@entry=0x55e3d9d5da20, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55e3b47764a0 , altdest=altdest@entry=0x55e3b47764a0 , qc=qc@entry=0x7ffdaee575d0) at ../src/backend/tcop/pquery.c:1348 [11:57:11.657] pstmt = 0x55e3d9eb2d20 [11:57:11.657] stmtlist_item__state = [11:57:11.657] active_snapshot_set = false [11:57:11.657] stmtlist_item = 0x55e3d9eb30a8 [11:57:11.657] query_index = 0 [11:57:11.657] #28 0x000055e3b3f3178c in PortalRun (portal=portal@entry=0x55e3d9d5da20, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55e3b47764a0 , altdest=altdest@entry=0x55e3b47764a0 , qc=qc@entry=0x7ffdaee575d0) at ../src/backend/tcop/pquery.c:819 [11:57:11.658] _save_exception_stack = 0x7ffdaee57680 [11:57:11.658] _save_context_stack = 0x0 [11:57:11.658] _local_sigjmp_buf = {{__jmpbuf = {0, -3893214237661840969, 94437100608032, 94437102005480, 94437102005456, 94437102005408, -7078335476395132489, -3893210902017590857}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140727537726815, 94437102005456, 94437102005408, 94436467809343, 94436470506925, 94437100608032, 94436470932478, 1, 1, 0, 34, 94437100608032, 0, 34, 94437100608032}}}} [11:57:11.658] _do_rethrow = [11:57:11.658] result = [11:57:11.658] nprocessed = [11:57:11.658] saveTopTransactionResourceOwner = 0x55e3d9d55d68 [11:57:11.658] saveTopTransactionContext = 0x55e3d9db79d0 [11:57:11.658] saveActivePortal = 0x0 [11:57:11.658] saveResourceOwner = 0x55e3d9d55d68 [11:57:11.658] savePortalContext = 0x0 [11:57:11.658] saveMemoryContext = 0x55e3d9db79d0 [11:57:11.658] __func__ = "PortalRun" [11:57:11.658] #29 0x000055e3b3f2a9b2 in exec_simple_query (query_string=query_string@entry=0x55e3d9eb2000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:11.658] cmdtaglen = 11 [11:57:11.658] snapshot_set = [11:57:11.658] per_parsetree_context = 0x0 [11:57:11.658] plantree_list = 0x55e3d9eb3090 [11:57:11.658] parsetree = 0x55e3d9eb2ca0 [11:57:11.658] commandTag = [11:57:11.658] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:11.658] querytree_list = [11:57:11.658] portal = 0x55e3d9d5da20 [11:57:11.658] receiver = 0x55e3b47764a0 [11:57:11.658] format = 0 [11:57:11.658] cmdtagname = [11:57:11.658] parsetree_item__state = [11:57:11.658] dest = DestDebug [11:57:11.658] oldcontext = 0x55e3d9db79d0 [11:57:11.658] parsetree_list = 0x55e3d9eb2cd0 [11:57:11.658] parsetree_item = 0x55e3d9eb2ce8 [11:57:11.658] save_log_statement_stats = false [11:57:11.658] was_logged = false [11:57:11.658] use_implicit_block = false [11:57:11.658] msec_str = "Py\345\256\375\177\000\000\353\360\036\264\343U\000\000`v\345\256\375\177\000\000D\000\000\000\000\000\000" [11:57:11.658] __func__ = "exec_simple_query" [11:57:11.658] #30 0x000055e3b3f2d714 in PostgresMain (dbname=, username=username@entry=0x55e3d9c85280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:11.658] query_string = 0x55e3d9eb2000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:11.658] firstchar = [11:57:11.658] input_message = {data = 0x55e3d9eb2000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:11.658] local_sigjmp_buf = {{__jmpbuf = {94436480908280, -3893213022467114569, 94437099721344, 140727537727824, 94436473503192, 140441188544544, -7078335476328023625, -3893210916253058633}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94437099919488, 17408, 94436480902336, 94437100392352, 94436473503192, 94436467987737, 3027566040, 10, 140727537727356, 94436480908288, 94437099919488, 94436480902336, 140727537727824, 94436473503192, 140441188544544}}}} [11:57:11.658] send_ready_for_query = false [11:57:11.658] idle_in_transaction_timeout_enabled = false [11:57:11.658] idle_session_timeout_enabled = false [11:57:11.658] __func__ = "PostgresMain" [11:57:11.658] #31 0x000055e3b3f2dc8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55e3d9cb57c0, username=0x55e3d9c85280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:11.658] dbname = 0x55e3d9cf8570 "template1" [11:57:11.658] __func__ = "PostgresSingleUserMain" [11:57:11.658] #32 0x000055e3b3c0be97 in main (argc=12, argv=0x55e3d9cb57c0) at ../src/backend/main/main.c:226 [11:57:11.658] do_check_root = [11:57:11.658] dispatch_option = [11:57:11.692] -e [11:57:11.692] [11:57:11.692] [11:57:11.802] dumping /tmp/cores/postgres-6-25025.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:12.045] [New LWP 25025] [11:57:12.045] [11:57:12.045] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:12.045] [11:57:12.045] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:12.045] Debuginfod has been disabled. [11:57:12.045] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:12.142] [Thread debugging using libthread_db enabled] [11:57:12.142] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:12.142] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:12.142] Program terminated with signal SIGABRT, Aborted. [11:57:12.142] #0 0x00007f16f2ea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:13.126] [11:57:13.126] Thread 1 (Thread 0x7f16f3646f00 (LWP 25025)): [11:57:13.126] #0 0x00007f16f2ea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:13.126] No symbol table info available. [11:57:13.126] #1 0x00007f16f2e5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:13.126] No symbol table info available. [11:57:13.126] #2 0x00007f16f2e45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:13.126] No symbol table info available. [11:57:13.126] #3 0x00007f16f301e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:13.126] No locals. [11:57:13.126] #4 0x00007f16f302aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:13.126] No locals. [11:57:13.126] #5 0x00007f16f300d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x560d161e1440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:13.126] bp = 140727820901504 [11:57:13.126] pc = [11:57:13.126] Opts = {FromUnrecoverableHandler = true, pc = 94614194228645, bp = 194} [11:57:13.126] #6 0x0000560d15700da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:13.126] crc0 = [11:57:13.126] len = [11:57:13.126] buf = [11:57:13.126] #7 0x0000560d15700e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:13.126] p = [11:57:13.126] pend = [11:57:13.126] orig_crc = [11:57:13.126] orig_len = [11:57:13.126] #8 0x0000560d14ddcef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:13.126] No locals. [11:57:13.126] #9 0x0000560d14dddf85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffdbfc65d78, num_fpi=num_fpi@entry=0x7ffdbfc65d6c, topxid_included=0x7ffdbfc65d6b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:13.126] rdt = 0x560d40bee060 [11:57:13.126] total_len = 194 [11:57:13.126] block_id = 1 [11:57:13.126] rdata_crc = [11:57:13.126] prev_regbuf = 0x560d40beff78 [11:57:13.126] rdt_datas_last = 0x560d40bee030 [11:57:13.126] rechdr = 0x560d40bee240 [11:57:13.126] scratch = 0x560d40bee26e "" [11:57:13.126] __func__ = "XLogRecordAssemble" [11:57:13.126] #10 0x0000560d14ddef4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:13.126] RedoRecPtr = 17604224 [11:57:13.126] doPageWrites = true [11:57:13.126] topxid_included = false [11:57:13.126] fpw_lsn = 0 [11:57:13.126] rdt = [11:57:13.126] num_fpi = 0 [11:57:13.126] EndPos = [11:57:13.126] __func__ = "XLogInsert" [11:57:13.126] #11 0x0000560d14cf866b in heap_insert (relation=relation@entry=0x560d40c8bf40, tup=tup@entry=0x560d40d7d0b0, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:13.126] recptr = [11:57:13.126] info = 128 '\200' [11:57:13.126] bufflags = 6 [11:57:13.126] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:13.126] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:13.126] page = 0x7f16e7d03000 "" [11:57:13.126] xid = [11:57:13.126] heaptup = 0x560d40d7d0b0 [11:57:13.126] buffer = 97 [11:57:13.126] vmbuffer = 0 [11:57:13.126] all_visible_cleared = false [11:57:13.126] #12 0x0000560d14cf9bfc in simple_heap_insert (relation=relation@entry=0x560d40c8bf40, tup=tup@entry=0x560d40d7d0b0) at ../src/backend/access/heap/heapam.c:2641 [11:57:13.126] No locals. [11:57:13.126] #13 0x0000560d14e3170e in CatalogTupleInsert (heapRel=heapRel@entry=0x560d40c8bf40, tup=0x560d40d7d0b0) at ../src/backend/catalog/indexing.c:241 [11:57:13.126] indstate = 0x560d40d72f48 [11:57:13.126] #14 0x0000560d14e52d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x560d40d7ab70 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffdbfc6614c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:13.126] conDesc = 0x560d40c8bf40 [11:57:13.126] conOid = 10115 [11:57:13.126] tup = [11:57:13.126] nulls = {false , true, true, true, true, true, true, true} [11:57:13.126] values = {10115, 140727820902112, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94614922449400, 0, 0, 0, 0, 0, 0, 0} [11:57:13.126] conkeyArray = 0x560d40d7d1f8 [11:57:13.126] confkeyArray = 0x0 [11:57:13.126] conpfeqopArray = 0x0 [11:57:13.126] conppeqopArray = 0x0 [11:57:13.126] conffeqopArray = 0x0 [11:57:13.126] conexclopArray = 0x0 [11:57:13.126] confdelsetcolsArray = [11:57:13.126] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:13.126] i = [11:57:13.126] conobject = {classId = 32765, objectId = 1086307312, objectSubId = 22029} [11:57:13.126] addrs_auto = [11:57:13.126] addrs_normal = [11:57:13.126] #15 0x0000560d14e1b44e in StoreRelNotNull (rel=rel@entry=0x560d40c403c8, nnname=nnname@entry=0x560d40d7ab70 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:13.126] constrOid = [11:57:13.126] #16 0x0000560d14e23556 in AddRelationNewConstraints (rel=rel@entry=0x560d40c403c8, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x560d40d7a260, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:13.126] nncooked = [11:57:13.126] colnum = 1 [11:57:13.126] inhcount = 0 [11:57:13.126] nnname = 0x560d40d7ab70 "pg_proc_oid_not_null" [11:57:13.126] constrOid = [11:57:13.126] cdef__state = [11:57:13.126] cdef = 0x560d40d78800 [11:57:13.126] cdef__outerloop = [11:57:13.126] cookedConstraints = 0x0 [11:57:13.126] tupleDesc = [11:57:13.126] oldconstr = [11:57:13.126] numoldchecks = [11:57:13.126] pstate = 0x560d40d78bd8 [11:57:13.126] nsitem = [11:57:13.126] numchecks = 0 [11:57:13.126] checknames = 0x0 [11:57:13.126] nnnames = 0x560d40d7cbe0 [11:57:13.126] expr = [11:57:13.126] cooked = [11:57:13.126] __func__ = "AddRelationNewConstraints" [11:57:13.126] #17 0x0000560d14f4abae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffdbfc66418, tab=tab@entry=0x560d40d73158, rel=rel@entry=0x560d40c403c8, constr=constr@entry=0x560d40d78d98, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:13.126] newcons = [11:57:13.126] lcon = [11:57:13.126] children = [11:57:13.126] child = [11:57:13.126] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:13.126] __func__ = "ATAddCheckNNConstraint" [11:57:13.126] #18 0x0000560d14f4b291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffdbfc66418, tab=tab@entry=0x560d40d73158, rel=rel@entry=0x560d40c403c8, newConstraint=0x560d40d78d98, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:13.126] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:13.126] __func__ = "ATExecAddConstraint" [11:57:13.126] #19 0x0000560d14f5751e in ATExecCmd (wqueue=wqueue@entry=0x7ffdbfc66418, tab=tab@entry=0x560d40d73158, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffdbfc66500) at ../src/backend/commands/tablecmds.c:5428 [11:57:13.126] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:13.126] rel = 0x560d40c403c8 [11:57:13.126] __func__ = "ATExecCmd" [11:57:13.126] #20 0x0000560d14f583b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffdbfc66418, lockmode=lockmode@entry=8, context=context@entry=0x7ffdbfc66500) at ../src/backend/commands/tablecmds.c:5294 [11:57:13.126] lcmd__state = [11:57:13.126] tab = 0x560d40d73158 [11:57:13.126] subcmds = 0x560d40d7a188 [11:57:13.126] lcmd = [11:57:13.126] ltab__state = [11:57:13.126] pass = AT_PASS_COL_ATTRS [11:57:13.126] ltab = [11:57:13.126] #21 0x0000560d14f5890d in ATController (parsetree=parsetree@entry=0x560d40d5f300, rel=rel@entry=0x560d40c403c8, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffdbfc66500) at ../src/backend/commands/tablecmds.c:4849 [11:57:13.126] wqueue = 0x560d40d637d0 [11:57:13.126] lcmd = 0x0 [11:57:13.126] #22 0x0000560d14f589c4 in AlterTable (stmt=stmt@entry=0x560d40d5f300, lockmode=lockmode@entry=8, context=context@entry=0x7ffdbfc66500) at ../src/backend/commands/tablecmds.c:4504 [11:57:13.126] rel = 0x560d40c403c8 [11:57:13.126] #23 0x0000560d153d9b4d in ProcessUtilitySlow (pstate=pstate@entry=0x560d40d636c0, pstmt=pstmt@entry=0x560d40d5f3b0, queryString=queryString@entry=0x560d40d5e690 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x560d15c1a4a0 , qc=0x7ffdbfc66a00) at ../src/backend/tcop/utility.c:1321 [11:57:13.126] atcontext = {pstmt = 0x560d40d5f3b0, queryString = 0x560d40d5e690 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:13.126] atstmt = 0x560d40d5f300 [11:57:13.126] relid = 1255 [11:57:13.126] lockmode = 8 [11:57:13.126] cell = 0x0 [11:57:13.126] _save_exception_stack = 0x7ffdbfc668e0 [11:57:13.126] _save_context_stack = 0x0 [11:57:13.126] _local_sigjmp_buf = {{__jmpbuf = {0, -4825787940852022650, 94614922326784, 0, 94614922323600, 0, -1232115716322835834, -4825623771083783546}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 139736541005904, 139736563474336, 139736496195264, 94614187424927, 94614206743328, 94613834563585, 139736496061248, 139736568394464, 332, 94614199659104, 140727820905856, 94614199418328, 139736568389664, 139736568250046, 1}}}} [11:57:13.126] _do_rethrow = false [11:57:13.126] parsetree = 0x560d40d5f300 [11:57:13.126] isTopLevel = true [11:57:13.126] isCompleteQuery = true [11:57:13.126] needCleanup = false [11:57:13.126] commandCollected = false [11:57:13.126] address = {classId = 22029, objectId = 1087763200, objectSubId = 22029} [11:57:13.126] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:13.126] __func__ = "ProcessUtilitySlow" [11:57:13.126] #24 0x0000560d153d9189 in standard_ProcessUtility (pstmt=0x560d40d5f3b0, queryString=0x560d40d5e690 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x560d15c1a4a0 , qc=0x7ffdbfc66a00) at ../src/backend/tcop/utility.c:1070 [11:57:13.126] parsetree = 0x560d40d5f300 [11:57:13.126] isTopLevel = true [11:57:13.126] isAtomicContext = false [11:57:13.126] pstate = 0x560d40d636c0 [11:57:13.126] readonly_flags = [11:57:13.126] __func__ = "standard_ProcessUtility" [11:57:13.126] #25 0x0000560d153d92e4 in ProcessUtility (pstmt=pstmt@entry=0x560d40d5f3b0, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x560d15c1a4a0 , qc=0x7ffdbfc66a00) at ../src/backend/tcop/utility.c:523 [11:57:13.126] No locals. [11:57:13.126] #26 0x0000560d153d4c09 in PortalRunUtility (portal=portal@entry=0x560d40c0a4b0, pstmt=pstmt@entry=0x560d40d5f3b0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x560d15c1a4a0 , qc=qc@entry=0x7ffdbfc66a00) at ../src/backend/tcop/pquery.c:1184 [11:57:13.126] No locals. [11:57:13.126] #27 0x0000560d153d520d in PortalRunMulti (portal=portal@entry=0x560d40c0a4b0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x560d15c1a4a0 , altdest=altdest@entry=0x560d15c1a4a0 , qc=qc@entry=0x7ffdbfc66a00) at ../src/backend/tcop/pquery.c:1348 [11:57:13.126] pstmt = 0x560d40d5f3b0 [11:57:13.126] stmtlist_item__state = [11:57:13.126] active_snapshot_set = false [11:57:13.126] stmtlist_item = 0x560d40d5f738 [11:57:13.126] query_index = 0 [11:57:13.126] #28 0x0000560d153d578c in PortalRun (portal=portal@entry=0x560d40c0a4b0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x560d15c1a4a0 , altdest=altdest@entry=0x560d15c1a4a0 , qc=qc@entry=0x7ffdbfc66a00) at ../src/backend/tcop/pquery.c:819 [11:57:13.126] _save_exception_stack = 0x7ffdbfc66ab0 [11:57:13.126] _save_context_stack = 0x0 [11:57:13.126] _local_sigjmp_buf = {{__jmpbuf = {0, -4825623187552812410, 94614920930480, 94614922326904, 94614922326880, 94614922326832, -1232115716436082042, -4825623773342678394}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140727820904847, 94614922326880, 94614922326832, 94614193724479, 94614196422061, 94614920930480, 94614196847614, 1, 1, 0, 34, 94614920930480, 0, 34, 94614920930480}}}} [11:57:13.126] _do_rethrow = [11:57:13.126] result = [11:57:13.126] nprocessed = [11:57:13.126] saveTopTransactionResourceOwner = 0x560d40c027f8 [11:57:13.126] saveTopTransactionContext = 0x560d40c64460 [11:57:13.126] saveActivePortal = 0x0 [11:57:13.126] saveResourceOwner = 0x560d40c027f8 [11:57:13.126] savePortalContext = 0x0 [11:57:13.126] saveMemoryContext = 0x560d40c64460 [11:57:13.126] __func__ = "PortalRun" [11:57:13.126] #29 0x0000560d153ce9b2 in exec_simple_query (query_string=query_string@entry=0x560d40d5e690 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:13.126] cmdtaglen = 11 [11:57:13.126] snapshot_set = [11:57:13.126] per_parsetree_context = 0x0 [11:57:13.126] plantree_list = 0x560d40d5f720 [11:57:13.126] parsetree = 0x560d40d5f330 [11:57:13.126] commandTag = [11:57:13.126] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:13.126] querytree_list = [11:57:13.126] portal = 0x560d40c0a4b0 [11:57:13.126] receiver = 0x560d15c1a4a0 [11:57:13.126] format = 0 [11:57:13.126] cmdtagname = [11:57:13.126] parsetree_item__state = [11:57:13.126] dest = DestDebug [11:57:13.126] oldcontext = 0x560d40c64460 [11:57:13.126] parsetree_list = 0x560d40d5f360 [11:57:13.126] parsetree_item = 0x560d40d5f378 [11:57:13.126] save_log_statement_stats = false [11:57:13.126] was_logged = false [11:57:13.126] use_implicit_block = false [11:57:13.126] msec_str = "\200mƿ\375\177\000\000\3530i\025\rV\000\000\220jƿ\375\177\000\000D\000\000\000\000\000\000" [11:57:13.126] __func__ = "exec_simple_query" [11:57:13.126] #30 0x0000560d153d1714 in PostgresMain (dbname=, username=username@entry=0x560d40b30600 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:13.126] query_string = 0x560d40d5e690 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:13.126] firstchar = [11:57:13.126] input_message = {data = 0x560d40d5e690 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:13.126] local_sigjmp_buf = {{__jmpbuf = {94614206823416, -4825617291347049850, 94614920037888, 140727820905856, 94614199418328, 139736568389664, -1232115716503190906, -4825623775213337978}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94614920238704, 17408, 94614206817472, 94614920714800, 94614199418328, 94614193902873, 364854744, 10, 140727820905388, 94614206823424, 94614920238704, 94614206817472, 140727820905856, 94614199418328, 139736568389664}}}} [11:57:13.126] send_ready_for_query = false [11:57:13.126] idle_in_transaction_timeout_enabled = false [11:57:13.126] idle_session_timeout_enabled = false [11:57:13.126] __func__ = "PostgresMain" [11:57:13.126] #31 0x0000560d153d1c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x560d40b615b0, username=0x560d40b30600 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:13.126] dbname = 0x560d40ba4050 "template1" [11:57:13.126] __func__ = "PostgresSingleUserMain" [11:57:13.126] #32 0x0000560d150afe97 in main (argc=12, argv=0x560d40b615b0) at ../src/backend/main/main.c:226 [11:57:13.126] do_check_root = [11:57:13.126] dispatch_option = [11:57:13.157] -e [11:57:13.157] [11:57:13.157] [11:57:13.221] dumping /tmp/cores/postgres-6-34805.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:13.480] [New LWP 34805] [11:57:13.480] [11:57:13.480] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:13.480] [11:57:13.480] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:13.480] Debuginfod has been disabled. [11:57:13.480] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:13.582] [Thread debugging using libthread_db enabled] [11:57:13.582] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:13.582] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:13.582] Program terminated with signal SIGABRT, Aborted. [11:57:13.582] #0 0x00007f52be8a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:14.566] [11:57:14.566] Thread 1 (Thread 0x7f52bf687f00 (LWP 34805)): [11:57:14.566] #0 0x00007f52be8a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:14.566] No symbol table info available. [11:57:14.566] #1 0x00007f52be85afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:14.566] No symbol table info available. [11:57:14.566] #2 0x00007f52be845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:14.566] No symbol table info available. [11:57:14.566] #3 0x00007f52bea1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:14.566] No locals. [11:57:14.566] #4 0x00007f52bea2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:14.566] No locals. [11:57:14.566] #5 0x00007f52bea0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x5555f45cc440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:14.566] bp = 140733506715472 [11:57:14.566] pc = [11:57:14.566] Opts = {FromUnrecoverableHandler = true, pc = 93827648896421, bp = 194} [11:57:14.566] #6 0x00005555f3aebda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:14.566] crc0 = [11:57:14.566] len = [11:57:14.566] buf = [11:57:14.566] #7 0x00005555f3aebe72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:14.566] p = [11:57:14.566] pend = [11:57:14.566] orig_crc = [11:57:14.566] orig_len = [11:57:14.566] #8 0x00005555f31c7ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:14.566] No locals. [11:57:14.566] #9 0x00005555f31c8f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7fff12ad0048, num_fpi=num_fpi@entry=0x7fff12ad003c, topxid_included=0x7fff12ad003b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:14.566] rdt = 0x555622b571f0 [11:57:14.566] total_len = 194 [11:57:14.566] block_id = 1 [11:57:14.566] rdata_crc = [11:57:14.566] prev_regbuf = 0x555622b59108 [11:57:14.566] rdt_datas_last = 0x555622b571c0 [11:57:14.566] rechdr = 0x555622b573d0 [11:57:14.566] scratch = 0x555622b573fe "" [11:57:14.566] __func__ = "XLogRecordAssemble" [11:57:14.566] #10 0x00005555f31c9f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:14.566] RedoRecPtr = 17604224 [11:57:14.566] doPageWrites = true [11:57:14.566] topxid_included = false [11:57:14.566] fpw_lsn = 0 [11:57:14.566] rdt = [11:57:14.566] num_fpi = 0 [11:57:14.566] EndPos = [11:57:14.566] __func__ = "XLogInsert" [11:57:14.566] #11 0x00005555f30e366b in heap_insert (relation=relation@entry=0x555622bf54d0, tup=tup@entry=0x555622ce6640, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:14.566] recptr = [11:57:14.566] info = 128 '\200' [11:57:14.566] bufflags = 6 [11:57:14.566] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:14.566] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:14.566] page = 0x7f52b36f7000 "" [11:57:14.566] xid = [11:57:14.566] heaptup = 0x555622ce6640 [11:57:14.566] buffer = 97 [11:57:14.566] vmbuffer = 0 [11:57:14.566] all_visible_cleared = false [11:57:14.566] #12 0x00005555f30e4bfc in simple_heap_insert (relation=relation@entry=0x555622bf54d0, tup=tup@entry=0x555622ce6640) at ../src/backend/access/heap/heapam.c:2641 [11:57:14.566] No locals. [11:57:14.566] #13 0x00005555f321c70e in CatalogTupleInsert (heapRel=heapRel@entry=0x555622bf54d0, tup=0x555622ce6640) at ../src/backend/catalog/indexing.c:241 [11:57:14.566] indstate = 0x555622cdc4d8 [11:57:14.566] #14 0x00005555f323dd93 in CreateConstraintEntry (constraintName=constraintName@entry=0x555622ce4100 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7fff12ad041c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:14.566] conDesc = 0x555622bf54d0 [11:57:14.566] conOid = 10115 [11:57:14.566] tup = [11:57:14.566] nulls = {false , true, true, true, true, true, true, true} [11:57:14.566] values = {10115, 140733506716080, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 93828439500680, 0, 0, 0, 0, 0, 0, 0} [11:57:14.566] conkeyArray = 0x555622ce6788 [11:57:14.566] confkeyArray = 0x0 [11:57:14.566] conpfeqopArray = 0x0 [11:57:14.566] conppeqopArray = 0x0 [11:57:14.566] conffeqopArray = 0x0 [11:57:14.566] conexclopArray = 0x0 [11:57:14.566] confdelsetcolsArray = [11:57:14.566] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:14.566] i = [11:57:14.566] conobject = {classId = 32767, objectId = 582372736, objectSubId = 21846} [11:57:14.566] addrs_auto = [11:57:14.566] addrs_normal = [11:57:14.566] #15 0x00005555f320644e in StoreRelNotNull (rel=rel@entry=0x555622ba9558, nnname=nnname@entry=0x555622ce4100 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:14.566] constrOid = [11:57:14.566] #16 0x00005555f320e556 in AddRelationNewConstraints (rel=rel@entry=0x555622ba9558, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x555622ce37f0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:14.566] nncooked = [11:57:14.566] colnum = 1 [11:57:14.566] inhcount = 0 [11:57:14.566] nnname = 0x555622ce4100 "pg_proc_oid_not_null" [11:57:14.566] constrOid = [11:57:14.566] cdef__state = [11:57:14.566] cdef = 0x555622ce1d90 [11:57:14.566] cdef__outerloop = [11:57:14.566] cookedConstraints = 0x0 [11:57:14.566] tupleDesc = [11:57:14.566] oldconstr = [11:57:14.566] numoldchecks = [11:57:14.566] pstate = 0x555622ce2168 [11:57:14.566] nsitem = [11:57:14.566] numchecks = 0 [11:57:14.566] checknames = 0x0 [11:57:14.566] nnnames = 0x555622ce6170 [11:57:14.566] expr = [11:57:14.566] cooked = [11:57:14.566] __func__ = "AddRelationNewConstraints" [11:57:14.566] #17 0x00005555f3335bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7fff12ad06e8, tab=tab@entry=0x555622cdc6e8, rel=rel@entry=0x555622ba9558, constr=constr@entry=0x555622ce2328, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:14.566] newcons = [11:57:14.566] lcon = [11:57:14.566] children = [11:57:14.566] child = [11:57:14.566] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:14.566] __func__ = "ATAddCheckNNConstraint" [11:57:14.566] #18 0x00005555f3336291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7fff12ad06e8, tab=tab@entry=0x555622cdc6e8, rel=rel@entry=0x555622ba9558, newConstraint=0x555622ce2328, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:14.566] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:14.566] __func__ = "ATExecAddConstraint" [11:57:14.566] #19 0x00005555f334251e in ATExecCmd (wqueue=wqueue@entry=0x7fff12ad06e8, tab=tab@entry=0x555622cdc6e8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7fff12ad07d0) at ../src/backend/commands/tablecmds.c:5428 [11:57:14.566] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:14.566] rel = 0x555622ba9558 [11:57:14.566] __func__ = "ATExecCmd" [11:57:14.566] #20 0x00005555f33433b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7fff12ad06e8, lockmode=lockmode@entry=8, context=context@entry=0x7fff12ad07d0) at ../src/backend/commands/tablecmds.c:5294 [11:57:14.566] lcmd__state = [11:57:14.566] tab = 0x555622cdc6e8 [11:57:14.566] subcmds = 0x555622ce3718 [11:57:14.566] lcmd = [11:57:14.566] ltab__state = [11:57:14.566] pass = AT_PASS_COL_ATTRS [11:57:14.566] ltab = [11:57:14.566] #21 0x00005555f334390d in ATController (parsetree=parsetree@entry=0x555622cc8890, rel=rel@entry=0x555622ba9558, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7fff12ad07d0) at ../src/backend/commands/tablecmds.c:4849 [11:57:14.566] wqueue = 0x555622cccd60 [11:57:14.566] lcmd = 0x0 [11:57:14.566] #22 0x00005555f33439c4 in AlterTable (stmt=stmt@entry=0x555622cc8890, lockmode=lockmode@entry=8, context=context@entry=0x7fff12ad07d0) at ../src/backend/commands/tablecmds.c:4504 [11:57:14.566] rel = 0x555622ba9558 [11:57:14.566] #23 0x00005555f37c4b4d in ProcessUtilitySlow (pstate=pstate@entry=0x555622cccc50, pstmt=pstmt@entry=0x555622cc8940, queryString=queryString@entry=0x555622cc7c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x5555f40054a0 , qc=0x7fff12ad0cd0) at ../src/backend/tcop/utility.c:1321 [11:57:14.566] atcontext = {pstmt = 0x555622cc8940, queryString = 0x555622cc7c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:14.566] atstmt = 0x555622cc8890 [11:57:14.566] relid = 1255 [11:57:14.566] lockmode = 8 [11:57:14.566] cell = 0x0 [11:57:14.566] _save_exception_stack = 0x7fff12ad0bb0 [11:57:14.566] _save_context_stack = 0x0 [11:57:14.566] _local_sigjmp_buf = {{__jmpbuf = {0, 774554698698661331, 93828439378064, 0, 93828439374880, 0, 6912363135857532371, 772479506111995347}, __mask_was_saved = 0, __saved_mask = {__val = {0, 139993315340616, 93827645361983, 139993315477184, 93823560581121, 93827661411104, 4294967295, 139993360336976, 139993382375328, 0, 93827654086104, 139993387290656, 139993387151038, 1, 139993387295456, 332}}}} [11:57:14.566] _do_rethrow = false [11:57:14.566] parsetree = 0x555622cc8890 [11:57:14.566] isTopLevel = true [11:57:14.566] isCompleteQuery = true [11:57:14.566] needCleanup = false [11:57:14.566] commandCollected = false [11:57:14.566] address = {classId = 21846, objectId = 583829648, objectSubId = 21846} [11:57:14.566] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:14.566] __func__ = "ProcessUtilitySlow" [11:57:14.566] #24 0x00005555f37c4189 in standard_ProcessUtility (pstmt=0x555622cc8940, queryString=0x555622cc7c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x5555f40054a0 , qc=0x7fff12ad0cd0) at ../src/backend/tcop/utility.c:1070 [11:57:14.566] parsetree = 0x555622cc8890 [11:57:14.566] isTopLevel = true [11:57:14.566] isAtomicContext = false [11:57:14.566] pstate = 0x555622cccc50 [11:57:14.566] readonly_flags = [11:57:14.566] __func__ = "standard_ProcessUtility" [11:57:14.566] #25 0x00005555f37c42e4 in ProcessUtility (pstmt=pstmt@entry=0x555622cc8940, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x5555f40054a0 , qc=0x7fff12ad0cd0) at ../src/backend/tcop/utility.c:523 [11:57:14.566] No locals. [11:57:14.566] #26 0x00005555f37bfc09 in PortalRunUtility (portal=portal@entry=0x555622b73640, pstmt=pstmt@entry=0x555622cc8940, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5555f40054a0 , qc=qc@entry=0x7fff12ad0cd0) at ../src/backend/tcop/pquery.c:1184 [11:57:14.566] No locals. [11:57:14.566] #27 0x00005555f37c020d in PortalRunMulti (portal=portal@entry=0x555622b73640, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5555f40054a0 , altdest=altdest@entry=0x5555f40054a0 , qc=qc@entry=0x7fff12ad0cd0) at ../src/backend/tcop/pquery.c:1348 [11:57:14.566] pstmt = 0x555622cc8940 [11:57:14.566] stmtlist_item__state = [11:57:14.566] active_snapshot_set = false [11:57:14.566] stmtlist_item = 0x555622cc8cc8 [11:57:14.566] query_index = 0 [11:57:14.566] #28 0x00005555f37c078c in PortalRun (portal=portal@entry=0x555622b73640, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x5555f40054a0 , altdest=altdest@entry=0x5555f40054a0 , qc=qc@entry=0x7fff12ad0cd0) at ../src/backend/tcop/pquery.c:819 [11:57:14.567] _save_exception_stack = 0x7fff12ad0d80 [11:57:14.567] _save_context_stack = 0x0 [11:57:14.567] _local_sigjmp_buf = {{__jmpbuf = {0, 772482770601188819, 93828437980736, 93828439378184, 93828439378160, 93828439378112, 6912363135719120339, 772479503811681747}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140733506718815, 93828439378160, 93828439378112, 93827648392255, 93827651089837, 93828437980736, 93827651515390, 1, 1, 0, 34, 93828437980736, 0, 34, 93828437980736}}}} [11:57:14.567] _do_rethrow = [11:57:14.567] result = [11:57:14.567] nprocessed = [11:57:14.567] saveTopTransactionResourceOwner = 0x555622b6b988 [11:57:14.567] saveTopTransactionContext = 0x555622bcd5f0 [11:57:14.567] saveActivePortal = 0x0 [11:57:14.567] saveResourceOwner = 0x555622b6b988 [11:57:14.567] savePortalContext = 0x0 [11:57:14.567] saveMemoryContext = 0x555622bcd5f0 [11:57:14.567] __func__ = "PortalRun" [11:57:14.567] #29 0x00005555f37b99b2 in exec_simple_query (query_string=query_string@entry=0x555622cc7c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:14.567] cmdtaglen = 11 [11:57:14.567] snapshot_set = [11:57:14.567] per_parsetree_context = 0x0 [11:57:14.567] plantree_list = 0x555622cc8cb0 [11:57:14.567] parsetree = 0x555622cc88c0 [11:57:14.567] commandTag = [11:57:14.567] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:14.567] querytree_list = [11:57:14.567] portal = 0x555622b73640 [11:57:14.567] receiver = 0x5555f40054a0 [11:57:14.567] format = 0 [11:57:14.567] cmdtagname = [11:57:14.567] parsetree_item__state = [11:57:14.567] dest = DestDebug [11:57:14.567] oldcontext = 0x555622bcd5f0 [11:57:14.567] parsetree_list = 0x555622cc88f0 [11:57:14.567] parsetree_item = 0x555622cc8908 [11:57:14.567] save_log_statement_stats = false [11:57:14.567] was_logged = false [11:57:14.567] use_implicit_block = false [11:57:14.567] msec_str = "P\020\255\022\377\177\000\000\353\340\247\363UU\000\000`\r\255\022\377\177\000\000D\000\000\000\000\000\000" [11:57:14.567] __func__ = "exec_simple_query" [11:57:14.567] #30 0x00005555f37bc714 in PostgresMain (dbname=, username=username@entry=0x555622a9aa60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:14.567] query_string = 0x555622cc7c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:14.567] firstchar = [11:57:14.567] input_message = {data = 0x555622cc7c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:14.567] local_sigjmp_buf = {{__jmpbuf = {93827661491192, 772481830284369363, 93828437092960, 140733506719824, 93827654086104, 139993387290656, 6912363135517793747, 772479535210241491}, __mask_was_saved = 1, __saved_mask = {__val = {0, 93828437293152, 17408, 93827661485248, 93828437765056, 93827654086104, 93827648570649, 4093504984, 10, 140733506719356, 93827661491200, 93828437293152, 93827661485248, 140733506719824, 93827654086104, 139993387290656}}}} [11:57:14.567] send_ready_for_query = false [11:57:14.567] idle_in_transaction_timeout_enabled = false [11:57:14.567] idle_session_timeout_enabled = false [11:57:14.567] __func__ = "PostgresMain" [11:57:14.567] #31 0x00005555f37bcc8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x555622acb7a0, username=0x555622a9aa60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:14.567] dbname = 0x555622b0e190 "template1" [11:57:14.567] __func__ = "PostgresSingleUserMain" [11:57:14.567] #32 0x00005555f349ae97 in main (argc=12, argv=0x555622acb7a0) at ../src/backend/main/main.c:226 [11:57:14.567] do_check_root = [11:57:14.567] dispatch_option = [11:57:14.599] -e [11:57:14.599] [11:57:14.599] [11:57:14.699] dumping /tmp/cores/postgres-6-25936.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:14.953] [New LWP 25936] [11:57:14.953] [11:57:14.953] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:14.953] [11:57:14.953] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:14.953] Debuginfod has been disabled. [11:57:14.953] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:15.056] [Thread debugging using libthread_db enabled] [11:57:15.056] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:15.056] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:15.056] Program terminated with signal SIGABRT, Aborted. [11:57:15.056] #0 0x00007fd188ca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.041] [11:57:16.041] Thread 1 (Thread 0x7fd188bd4f00 (LWP 25936)): [11:57:16.041] #0 0x00007fd188ca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.041] No symbol table info available. [11:57:16.041] #1 0x00007fd188c5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.041] No symbol table info available. [11:57:16.041] #2 0x00007fd188c45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.041] No symbol table info available. [11:57:16.041] #3 0x00007fd188e1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:16.041] No locals. [11:57:16.041] #4 0x00007fd188e2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:16.041] No locals. [11:57:16.041] #5 0x00007fd188e0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x562d3cb98440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:16.041] bp = 140735124487232 [11:57:16.041] pc = [11:57:16.041] Opts = {FromUnrecoverableHandler = true, pc = 94752280903077, bp = 194} [11:57:16.041] #6 0x0000562d3c0b7da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:16.041] crc0 = [11:57:16.041] len = [11:57:16.041] buf = [11:57:16.041] #7 0x0000562d3c0b7e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:16.041] p = [11:57:16.041] pend = [11:57:16.041] orig_crc = [11:57:16.041] orig_len = [11:57:16.041] #8 0x0000562d3b793ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:16.041] No locals. [11:57:16.041] #9 0x0000562d3b794f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=1875584, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7fff731a3d38, num_fpi=num_fpi@entry=0x7fff731a3d2c, topxid_included=0x7fff731a3d2b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:16.041] rdt = 0x562d692285f0 [11:57:16.041] total_len = 194 [11:57:16.041] block_id = 1 [11:57:16.041] rdata_crc = [11:57:16.041] prev_regbuf = 0x562d6922a508 [11:57:16.041] rdt_datas_last = 0x562d692285c0 [11:57:16.041] rechdr = 0x562d692287d0 [11:57:16.041] scratch = 0x562d692287fe "" [11:57:16.041] __func__ = "XLogRecordAssemble" [11:57:16.041] #10 0x0000562d3b795f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:16.041] RedoRecPtr = 1875584 [11:57:16.041] doPageWrites = true [11:57:16.041] topxid_included = false [11:57:16.041] fpw_lsn = 0 [11:57:16.041] rdt = [11:57:16.041] num_fpi = 0 [11:57:16.041] EndPos = [11:57:16.041] __func__ = "XLogInsert" [11:57:16.041] #11 0x0000562d3b6af66b in heap_insert (relation=relation@entry=0x562d692c64d0, tup=tup@entry=0x562d693b7640, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:16.041] recptr = [11:57:16.041] info = 128 '\200' [11:57:16.041] bufflags = 6 [11:57:16.041] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:16.041] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:16.041] page = 0x7fd17db04000 "" [11:57:16.041] xid = [11:57:16.041] heaptup = 0x562d693b7640 [11:57:16.041] buffer = 97 [11:57:16.041] vmbuffer = 0 [11:57:16.041] all_visible_cleared = false [11:57:16.041] #12 0x0000562d3b6b0bfc in simple_heap_insert (relation=relation@entry=0x562d692c64d0, tup=tup@entry=0x562d693b7640) at ../src/backend/access/heap/heapam.c:2641 [11:57:16.041] No locals. [11:57:16.041] #13 0x0000562d3b7e870e in CatalogTupleInsert (heapRel=heapRel@entry=0x562d692c64d0, tup=0x562d693b7640) at ../src/backend/catalog/indexing.c:241 [11:57:16.041] indstate = 0x562d693ad4d8 [11:57:16.041] #14 0x0000562d3b809d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x562d693b5100 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7fff731a410c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:16.041] conDesc = 0x562d692c64d0 [11:57:16.041] conOid = 10115 [11:57:16.041] tup = [11:57:16.041] nulls = {false , true, true, true, true, true, true, true} [11:57:16.041] values = {10115, 140735124487840, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94753039021960, 0, 0, 0, 0, 0, 0, 0} [11:57:16.041] conkeyArray = 0x562d693b7788 [11:57:16.041] confkeyArray = 0x0 [11:57:16.041] conpfeqopArray = 0x0 [11:57:16.041] conppeqopArray = 0x0 [11:57:16.041] conffeqopArray = 0x0 [11:57:16.041] conexclopArray = 0x0 [11:57:16.041] confdelsetcolsArray = [11:57:16.041] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:16.041] i = [11:57:16.041] conobject = {classId = 32767, objectId = 1763926400, objectSubId = 22061} [11:57:16.041] addrs_auto = [11:57:16.041] addrs_normal = [11:57:16.041] #15 0x0000562d3b7d244e in StoreRelNotNull (rel=rel@entry=0x562d6927a958, nnname=nnname@entry=0x562d693b5100 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:16.041] constrOid = [11:57:16.041] #16 0x0000562d3b7da556 in AddRelationNewConstraints (rel=rel@entry=0x562d6927a958, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x562d693b47f0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:16.041] nncooked = [11:57:16.041] colnum = 1 [11:57:16.041] inhcount = 0 [11:57:16.041] nnname = 0x562d693b5100 "pg_proc_oid_not_null" [11:57:16.041] constrOid = [11:57:16.041] cdef__state = [11:57:16.041] cdef = 0x562d693b2d90 [11:57:16.041] cdef__outerloop = [11:57:16.041] cookedConstraints = 0x0 [11:57:16.041] tupleDesc = [11:57:16.041] oldconstr = [11:57:16.041] numoldchecks = [11:57:16.041] pstate = 0x562d693b3168 [11:57:16.041] nsitem = [11:57:16.041] numchecks = 0 [11:57:16.041] checknames = 0x0 [11:57:16.041] nnnames = 0x562d693b7170 [11:57:16.041] expr = [11:57:16.041] cooked = [11:57:16.041] __func__ = "AddRelationNewConstraints" [11:57:16.041] #17 0x0000562d3b901bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7fff731a43d8, tab=tab@entry=0x562d693ad6e8, rel=rel@entry=0x562d6927a958, constr=constr@entry=0x562d693b3328, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:16.041] newcons = [11:57:16.041] lcon = [11:57:16.041] children = [11:57:16.041] child = [11:57:16.041] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:16.041] __func__ = "ATAddCheckNNConstraint" [11:57:16.041] #18 0x0000562d3b902291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7fff731a43d8, tab=tab@entry=0x562d693ad6e8, rel=rel@entry=0x562d6927a958, newConstraint=0x562d693b3328, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:16.041] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:16.041] __func__ = "ATExecAddConstraint" [11:57:16.041] #19 0x0000562d3b90e51e in ATExecCmd (wqueue=wqueue@entry=0x7fff731a43d8, tab=tab@entry=0x562d693ad6e8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7fff731a44c0) at ../src/backend/commands/tablecmds.c:5428 [11:57:16.041] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:16.041] rel = 0x562d6927a958 [11:57:16.041] __func__ = "ATExecCmd" [11:57:16.041] #20 0x0000562d3b90f3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7fff731a43d8, lockmode=lockmode@entry=8, context=context@entry=0x7fff731a44c0) at ../src/backend/commands/tablecmds.c:5294 [11:57:16.041] lcmd__state = [11:57:16.041] tab = 0x562d693ad6e8 [11:57:16.041] subcmds = 0x562d693b4718 [11:57:16.041] lcmd = [11:57:16.041] ltab__state = [11:57:16.041] pass = AT_PASS_COL_ATTRS [11:57:16.041] ltab = [11:57:16.041] #21 0x0000562d3b90f90d in ATController (parsetree=parsetree@entry=0x562d69399890, rel=rel@entry=0x562d6927a958, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7fff731a44c0) at ../src/backend/commands/tablecmds.c:4849 [11:57:16.041] wqueue = 0x562d6939dd60 [11:57:16.041] lcmd = 0x0 [11:57:16.041] #22 0x0000562d3b90f9c4 in AlterTable (stmt=stmt@entry=0x562d69399890, lockmode=lockmode@entry=8, context=context@entry=0x7fff731a44c0) at ../src/backend/commands/tablecmds.c:4504 [11:57:16.041] rel = 0x562d6927a958 [11:57:16.041] #23 0x0000562d3bd90b4d in ProcessUtilitySlow (pstate=pstate@entry=0x562d6939dc50, pstmt=pstmt@entry=0x562d69399940, queryString=queryString@entry=0x562d69398c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x562d3c5d14a0 , qc=0x7fff731a49c0) at ../src/backend/tcop/utility.c:1321 [11:57:16.041] atcontext = {pstmt = 0x562d69399940, queryString = 0x562d69398c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:16.041] atstmt = 0x562d69399890 [11:57:16.041] relid = 1255 [11:57:16.041] lockmode = 8 [11:57:16.041] cell = 0x0 [11:57:16.041] _save_exception_stack = 0x7fff731a48a0 [11:57:16.041] _save_context_stack = 0x0 [11:57:16.041] _local_sigjmp_buf = {{__jmpbuf = {0, 6998058667509692175, 94753038899344, 0, 94753038896160, 0, 3655283527070660367, 6998238158304982799}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 140537919408208, 140537941651360, 140537874602688, 94752274099359, 94752293417760, 94751273517057, 140537874468672, 140537946571488, 332, 94752286333536, 140735124491584, 94752286092760, 140537946566688, 140537946427070, 1}}}} [11:57:16.041] _do_rethrow = false [11:57:16.041] parsetree = 0x562d69399890 [11:57:16.041] isTopLevel = true [11:57:16.041] isCompleteQuery = true [11:57:16.041] needCleanup = false [11:57:16.041] commandCollected = false [11:57:16.041] address = {classId = 22061, objectId = 1765382288, objectSubId = 22061} [11:57:16.041] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:16.041] __func__ = "ProcessUtilitySlow" [11:57:16.041] #24 0x0000562d3bd90189 in standard_ProcessUtility (pstmt=0x562d69399940, queryString=0x562d69398c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x562d3c5d14a0 , qc=0x7fff731a49c0) at ../src/backend/tcop/utility.c:1070 [11:57:16.041] parsetree = 0x562d69399890 [11:57:16.041] isTopLevel = true [11:57:16.041] isAtomicContext = false [11:57:16.041] pstate = 0x562d6939dc50 [11:57:16.041] readonly_flags = [11:57:16.041] __func__ = "standard_ProcessUtility" [11:57:16.041] #25 0x0000562d3bd902e4 in ProcessUtility (pstmt=pstmt@entry=0x562d69399940, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x562d3c5d14a0 , qc=0x7fff731a49c0) at ../src/backend/tcop/utility.c:523 [11:57:16.041] No locals. [11:57:16.041] #26 0x0000562d3bd8bc09 in PortalRunUtility (portal=portal@entry=0x562d69244a40, pstmt=pstmt@entry=0x562d69399940, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x562d3c5d14a0 , qc=qc@entry=0x7fff731a49c0) at ../src/backend/tcop/pquery.c:1184 [11:57:16.041] No locals. [11:57:16.041] #27 0x0000562d3bd8c20d in PortalRunMulti (portal=portal@entry=0x562d69244a40, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x562d3c5d14a0 , altdest=altdest@entry=0x562d3c5d14a0 , qc=qc@entry=0x7fff731a49c0) at ../src/backend/tcop/pquery.c:1348 [11:57:16.041] pstmt = 0x562d69399940 [11:57:16.041] stmtlist_item__state = [11:57:16.041] active_snapshot_set = false [11:57:16.041] stmtlist_item = 0x562d69399cc8 [11:57:16.041] query_index = 0 [11:57:16.041] #28 0x0000562d3bd8c78c in PortalRun (portal=portal@entry=0x562d69244a40, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x562d3c5d14a0 , altdest=altdest@entry=0x562d3c5d14a0 , qc=qc@entry=0x7fff731a49c0) at ../src/backend/tcop/pquery.c:819 [11:57:16.041] _save_exception_stack = 0x7fff731a4a70 [11:57:16.041] _save_context_stack = 0x0 [11:57:16.041] _local_sigjmp_buf = {{__jmpbuf = {0, 6998228297633117967, 94753037503040, 94753038899464, 94753038899440, 94753038899392, 3655283526672201487, 6998238151969748751}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140735124490575, 94753038899440, 94753038899392, 94752280398911, 94752283096493, 94753037503040, 94752283522046, 1, 1, 0, 34, 94753037503040, 0, 34, 94753037503040}}}} [11:57:16.041] _do_rethrow = [11:57:16.041] result = [11:57:16.041] nprocessed = [11:57:16.041] saveTopTransactionResourceOwner = 0x562d6923cd88 [11:57:16.041] saveTopTransactionContext = 0x562d6929e9f0 [11:57:16.041] saveActivePortal = 0x0 [11:57:16.041] saveResourceOwner = 0x562d6923cd88 [11:57:16.041] savePortalContext = 0x0 [11:57:16.041] saveMemoryContext = 0x562d6929e9f0 [11:57:16.041] __func__ = "PortalRun" [11:57:16.041] #29 0x0000562d3bd859b2 in exec_simple_query (query_string=query_string@entry=0x562d69398c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:16.041] cmdtaglen = 11 [11:57:16.041] snapshot_set = [11:57:16.041] per_parsetree_context = 0x0 [11:57:16.041] plantree_list = 0x562d69399cb0 [11:57:16.041] parsetree = 0x562d693998c0 [11:57:16.041] commandTag = [11:57:16.041] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:16.041] querytree_list = [11:57:16.041] portal = 0x562d69244a40 [11:57:16.041] receiver = 0x562d3c5d14a0 [11:57:16.041] format = 0 [11:57:16.041] cmdtagname = [11:57:16.041] parsetree_item__state = [11:57:16.041] dest = DestDebug [11:57:16.041] oldcontext = 0x562d6929e9f0 [11:57:16.041] parsetree_list = 0x562d693998f0 [11:57:16.041] parsetree_item = 0x562d69399908 [11:57:16.041] save_log_statement_stats = false [11:57:16.041] was_logged = false [11:57:16.041] use_implicit_block = false [11:57:16.041] msec_str = "@M\032s\377\177\000\000\353\240\004<-V\000\000PJ\032s\377\177\000\000D\000\000\000\000\000\000" [11:57:16.041] __func__ = "exec_simple_query" [11:57:16.041] #30 0x0000562d3bd88714 in PostgresMain (dbname=, username=username@entry=0x562d6916a280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:16.041] query_string = 0x562d69398c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:16.041] firstchar = [11:57:16.041] input_message = {data = 0x562d69398c20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:16.041] local_sigjmp_buf = {{__jmpbuf = {94752293497848, 6998227286424172303, 94753036608128, 140735124491584, 94752286092760, 140537946566688, 3655283526739310351, 6998238146861086479}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94753036810544, 17408, 94752293491904, 94753037287360, 94752286092760, 94752280577305, 1012575704, 10, 140735124491116, 94752293497856, 94753036810544, 94752293491904, 140735124491584, 94752286092760, 140537946566688}}}} [11:57:16.041] send_ready_for_query = false [11:57:16.041] idle_in_transaction_timeout_enabled = false [11:57:16.041] idle_session_timeout_enabled = false [11:57:16.041] __func__ = "PostgresMain" [11:57:16.041] #31 0x0000562d3bd88c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x562d6919b870, username=0x562d6916a280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:16.041] dbname = 0x562d691de5e0 "template1" [11:57:16.041] __func__ = "PostgresSingleUserMain" [11:57:16.041] #32 0x0000562d3ba66e97 in main (argc=12, argv=0x562d6919b870) at ../src/backend/main/main.c:226 [11:57:16.041] do_check_root = [11:57:16.041] dispatch_option = [11:57:16.073] -e [11:57:16.073] [11:57:16.073] [11:57:16.130] dumping /tmp/cores/sh-3-33045.core for /bin/sh [11:57:16.177] [11:57:16.177] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:16.177] [11:57:16.177] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:16.177] Debuginfod has been disabled. [11:57:16.177] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:16.181] [New LWP 33045] [11:57:16.182] [Thread debugging using libthread_db enabled] [11:57:16.182] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:16.182] Core was generated by `sh -c cp "pg_wal/000000010000000000000002.00000028.backup" "/tmp/cirrus-ci-buil'. [11:57:16.182] Program terminated with signal SIGQUIT, Quit. [11:57:16.182] #0 0x00007f4d056edda4 in pthread_sigmask () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.185] [11:57:16.185] Thread 1 (Thread 0x7f4d0565b740 (LWP 33045)): [11:57:16.185] #0 0x00007f4d056edda4 in pthread_sigmask () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.185] No symbol table info available. [11:57:16.185] #1 0x00007f4d0569a239 in sigprocmask () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.185] No symbol table info available. [11:57:16.185] #2 0x00007f4d0569a497 in sigsetmask () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.185] No symbol table info available. [11:57:16.185] #3 0x00005640596ab5c1 in ?? () [11:57:16.185] No symbol table info available. [11:57:16.185] #4 0x00005640596a5369 in ?? () [11:57:16.185] No symbol table info available. [11:57:16.185] #5 0x00005640596a420f in ?? () [11:57:16.185] No symbol table info available. [11:57:16.185] #6 0x00005640596a4c3b in ?? () [11:57:16.185] No symbol table info available. [11:57:16.185] #7 0x00005640596a266f in ?? () [11:57:16.185] No symbol table info available. [11:57:16.185] #8 0x00007f4d0568524a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.185] No symbol table info available. [11:57:16.185] #9 0x00007f4d05685305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:16.185] No symbol table info available. [11:57:16.185] #10 0x00005640596a2781 in ?? () [11:57:16.185] No symbol table info available. [11:57:16.191] -e [11:57:16.191] [11:57:16.191] [11:57:16.254] dumping /tmp/cores/postgres-6-32662.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:16.500] [New LWP 32662] [11:57:16.500] [11:57:16.500] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:16.500] [11:57:16.500] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:16.500] Debuginfod has been disabled. [11:57:16.500] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:16.604] [Thread debugging using libthread_db enabled] [11:57:16.604] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:16.604] Core was generated by `postgres: main: postgres template1 [local] ANALYZE '. [11:57:16.604] Program terminated with signal SIGABRT, Aborted. [11:57:16.604] #0 0x00007f7ca40a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:17.595] [11:57:17.595] Thread 1 (Thread 0x7f7ca3fd9f00 (LWP 32662)): [11:57:17.595] #0 0x00007f7ca40a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:17.595] No symbol table info available. [11:57:17.595] #1 0x00007f7ca405afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:17.595] No symbol table info available. [11:57:17.595] #2 0x00007f7ca4045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:17.595] No symbol table info available. [11:57:17.595] #3 0x00007f7ca421e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:17.595] No locals. [11:57:17.595] #4 0x00007f7ca422aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:17.595] No locals. [11:57:17.595] #5 0x00007f7ca420d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x5621e367b440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:17.595] bp = 140725865869408 [11:57:17.595] pc = [11:57:17.595] Opts = {FromUnrecoverableHandler = true, pc = 94703537728933, bp = 209} [11:57:17.595] #6 0x00005621e2b9ada5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:17.595] crc0 = [11:57:17.595] len = [11:57:17.595] buf = [11:57:17.595] #7 0x00005621e2b9ae72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:17.595] p = [11:57:17.595] pend = [11:57:17.595] orig_crc = [11:57:17.595] orig_len = [11:57:17.595] #8 0x00005621e2276ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:17.595] No locals. [11:57:17.595] #9 0x00005621e2277f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=0, doPageWrites=false, fpw_lsn=fpw_lsn@entry=0x7ffd4b3ef158, num_fpi=num_fpi@entry=0x7ffd4b3ef14c, topxid_included=0x7ffd4b3ef14b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:17.595] rdt = 0x5621eb66c0d0 [11:57:17.595] total_len = 209 [11:57:17.595] block_id = 1 [11:57:17.595] rdata_crc = [11:57:17.595] prev_regbuf = 0x5621eb66dfe8 [11:57:17.595] rdt_datas_last = 0x5621eb66c0a0 [11:57:17.595] rechdr = 0x5621eb66c2b0 [11:57:17.595] scratch = 0x5621eb66c2de "" [11:57:17.595] __func__ = "XLogRecordAssemble" [11:57:17.595] #10 0x00005621e2278f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:17.595] RedoRecPtr = 0 [11:57:17.595] doPageWrites = false [11:57:17.595] topxid_included = false [11:57:17.595] fpw_lsn = 0 [11:57:17.595] rdt = [11:57:17.595] num_fpi = 0 [11:57:17.595] EndPos = [11:57:17.595] __func__ = "XLogInsert" [11:57:17.595] #11 0x00005621e219266b in heap_insert (relation=relation@entry=0x7f7c9861f208, tup=tup@entry=0x5621eb71f538, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:17.595] recptr = [11:57:17.595] info = 128 '\200' [11:57:17.595] bufflags = 6 [11:57:17.595] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:17.595] xlhdr = {t_infomask2 = 31, t_infomask = 2051, t_hoff = 32 ' '} [11:57:17.595] page = 0x7f7c98ef6000 "" [11:57:17.595] xid = [11:57:17.595] heaptup = 0x5621eb71f538 [11:57:17.595] buffer = 152 [11:57:17.595] vmbuffer = 0 [11:57:17.595] all_visible_cleared = false [11:57:17.595] #12 0x00005621e2193bfc in simple_heap_insert (relation=relation@entry=0x7f7c9861f208, tup=tup@entry=0x5621eb71f538) at ../src/backend/access/heap/heapam.c:2641 [11:57:17.595] No locals. [11:57:17.595] #13 0x00005621e22cb748 in CatalogTupleInsertWithInfo (heapRel=heapRel@entry=0x7f7c9861f208, tup=tup@entry=0x5621eb71f538, indstate=indstate@entry=0x5621eb71e9b8) at ../src/backend/catalog/indexing.c:261 [11:57:17.595] No locals. [11:57:17.595] #14 0x00005621e2315106 in update_attstats (relid=2601, inh=inh@entry=false, natts=natts@entry=4, vacattrstats=vacattrstats@entry=0x5621eb71e290) at ../src/backend/commands/analyze.c:1775 [11:57:17.595] stats = [11:57:17.595] stup = 0x5621eb71f538 [11:57:17.595] oldtup = 0x0 [11:57:17.595] i = 31 [11:57:17.595] k = [11:57:17.595] values = {2601, 1, 0, 0, 4, 18446744072627421184, 2, 3, 0, 0, 0, 609, 609, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94703683179824, 0, 0, 0, 94703683179872, 0, 0, 0, 0} [11:57:17.595] n = [11:57:17.595] nulls = {false , true, false, true, true, true, false, true, true, true, true} [11:57:17.595] replaces = {true } [11:57:17.595] sd = [11:57:17.595] attno = 0 [11:57:17.595] indstate = 0x5621eb71e9b8 [11:57:17.595] #15 0x00005621e2319f5f in do_analyze_rel (onerel=onerel@entry=0x7f7ca1c47838, params=params@entry=0x7ffd4b3ef8d0, va_cols=va_cols@entry=0x0, acquirefunc=, relpages=1, inh=inh@entry=false, in_outer_xact=false, elevel=13) at ../src/backend/commands/analyze.c:601 [11:57:17.595] col_context = 0x5621eb7268a0 [11:57:17.595] old_context = 0x5621eb71e190 [11:57:17.595] attr_cnt = 4 [11:57:17.595] tcnt = [11:57:17.595] i = [11:57:17.595] ind = [11:57:17.595] Irel = 0x5621eb71fa98 [11:57:17.595] nindexes = 2 [11:57:17.595] verbose = [11:57:17.595] instrument = false [11:57:17.595] hasindex = true [11:57:17.595] vacattrstats = [11:57:17.595] indexdata = 0x5621eb71f2c8 [11:57:17.595] targrows = [11:57:17.595] numrows = 7 [11:57:17.595] minrows = [11:57:17.595] totalrows = 7 [11:57:17.595] totaldeadrows = 0 [11:57:17.595] rows = 0x7f7c98532048 [11:57:17.595] ru0 = {tv = {tv_sec = 140725865871020, tv_usec = 140173305647584}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 94703683360264}, {ru_maxrss = 2601, __ru_maxrss_word = 2601}, {ru_ixrss = 1262, __ru_ixrss_word = 1262}, {ru_idrss = 10, __ru_idrss_word = 10}, {ru_isrss = 94703528363000, __ru_isrss_word = 94703528363000}, {ru_minflt = 0, __ru_minflt_word = 0}, {ru_majflt = 13, __ru_majflt_word = 13}, {ru_nswap = 94703682969680, __ru_nswap_word = 94703682969680}, {ru_inblock = 94703683651848, __ru_inblock_word = 94703683651848}, {ru_oublock = 0, __ru_oublock_word = 0}, {ru_msgsnd = 94703533938835, __ru_msgsnd_word = 94703533938835}, {ru_msgrcv = 94703683120864, __ru_msgrcv_word = 94703683120864}, {ru_nsignals = 94703534313688, __ru_nsignals_word = 94703534313688}, {ru_nvcsw = 94703683651848, __ru_nvcsw_word = 94703683651848}, {ru_nivcsw = 94703534323286, __ru_nivcsw_word = 94703534323286}}} [11:57:17.595] starttime = 793799124106638 [11:57:17.595] caller_context = 0x5621eb71bd70 [11:57:17.595] save_userid = 10 [11:57:17.595] save_sec_context = 0 [11:57:17.595] save_nestlevel = 2 [11:57:17.595] startwalusage = {wal_records = 0, wal_fpi = 0, wal_bytes = 0, wal_buffers_full = 0} [11:57:17.595] startbufferusage = {shared_blks_hit = 470, shared_blks_read = 71, shared_blks_dirtied = 0, shared_blks_written = 0, local_blks_hit = 0, local_blks_read = 0, local_blks_dirtied = 0, local_blks_written = 0, temp_blks_read = 0, temp_blks_written = 0, shared_blk_read_time = {ticks = 0}, shared_blk_write_time = {ticks = 0}, local_blk_read_time = {ticks = 0}, local_blk_write_time = {ticks = 0}, temp_blk_read_time = {ticks = 0}, temp_blk_write_time = {ticks = 0}} [11:57:17.595] bufferusage = {shared_blks_hit = 0, shared_blks_read = 0, shared_blks_dirtied = 3049284353, shared_blks_written = 94703682698176, local_blks_hit = 140173253799040, local_blks_read = 3, local_blks_dirtied = 16, local_blks_written = 94703537224287, temp_blks_read = 140725865870736, temp_blks_written = 140173305647584, shared_blk_read_time = {ticks = 8244397424}, shared_blk_write_time = {ticks = 140725865870735}, local_blk_read_time = {ticks = 20}, local_blk_write_time = {ticks = 140173253873672}, temp_blk_read_time = {ticks = 140725865870880}, temp_blk_write_time = {ticks = 140173253111464}} [11:57:17.595] startreadtime = 0 [11:57:17.595] startwritetime = 0 [11:57:17.595] __func__ = "do_analyze_rel" [11:57:17.595] #16 0x00005621e231af9b in analyze_rel (relid=, relation=0x5621eb61e050, params=params@entry=0x7ffd4b3ef8d0, va_cols=0x0, in_outer_xact=, bstrategy=bstrategy@entry=0x5621eb71c280) at ../src/backend/commands/analyze.c:249 [11:57:17.595] onerel = 0x7f7ca1c47838 [11:57:17.595] elevel = 13 [11:57:17.595] acquirefunc = 0x5621e231189e [11:57:17.595] relpages = 1 [11:57:17.595] __func__ = "analyze_rel" [11:57:17.595] #17 0x00005621e2427a96 in vacuum (relations=0x5621eb71cb10, params=params@entry=0x7ffd4b3ef8d0, bstrategy=0x5621eb71c280, vac_context=vac_context@entry=0x5621eb71c180, isTopLevel=isTopLevel@entry=true) at ../src/backend/commands/vacuum.c:653 [11:57:17.595] vrel = 0x5621eb71ca90 [11:57:17.595] cur__state = [11:57:17.595] cur = [11:57:17.595] _save_exception_stack = 0x7ffd4b3efb00 [11:57:17.595] _save_context_stack = 0x0 [11:57:17.595] _local_sigjmp_buf = {{__jmpbuf = {94703684012816, 2643998855908435681, 1, 1, 94703684010368, 94703684009328, 8577138807992100577, 2643978793703319265}, __mask_was_saved = 0, __saved_mask = {__val = {140725865871652, 94703540280153, 94703537399196, 94703684010368, 1036, 8, 94703537403613, 11, 8, 140725865871686, 1036, 256, 94703682969888, 0, 1, 94703682969888}}}} [11:57:17.595] _do_rethrow = false [11:57:17.595] in_vacuum = true [11:57:17.595] stmttype = [11:57:17.595] in_outer_xact = false [11:57:17.595] use_own_xacts = false [11:57:17.595] __func__ = "vacuum" [11:57:17.595] #18 0x00005621e2428821 in ExecVacuum (pstate=pstate@entry=0x5621eb71be70, vacstmt=vacstmt@entry=0x5621eb61e120, isTopLevel=isTopLevel@entry=true) at ../src/backend/commands/vacuum.c:466 [11:57:17.595] params = {options = 194, freeze_min_age = -1, freeze_table_age = -1, multixact_freeze_min_age = -1, multixact_freeze_table_age = -1, is_wraparound = false, log_min_duration = -1, index_cleanup = VACOPTVALUE_UNSPECIFIED, truncate = VACOPTVALUE_UNSPECIFIED, toast_parent = 0, max_eager_freeze_failure_rate = 0.029999999999999999, nworkers = 0} [11:57:17.595] bstrategy = [11:57:17.595] verbose = false [11:57:17.595] skip_locked = false [11:57:17.595] analyze = false [11:57:17.595] freeze = false [11:57:17.595] full = false [11:57:17.595] disable_page_skipping = false [11:57:17.595] process_main = true [11:57:17.595] process_toast = true [11:57:17.595] ring_size = 2048 [11:57:17.595] skip_database_stats = false [11:57:17.595] only_database_stats = false [11:57:17.595] vac_context = 0x5621eb71c180 [11:57:17.595] lc = [11:57:17.595] __func__ = "ExecVacuum" [11:57:17.595] #19 0x00005621e2872ba1 in standard_ProcessUtility (pstmt=0x5621eb61e1d0, queryString=0x5621eb61d5e0 "ANALYZE pg_catalog.pg_am;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x5621eb61e590, qc=0x7ffd4b3efc20) at ../src/backend/tcop/utility.c:862 [11:57:17.595] parsetree = 0x5621eb61e120 [11:57:17.595] isTopLevel = true [11:57:17.595] isAtomicContext = false [11:57:17.595] pstate = 0x5621eb71be70 [11:57:17.595] readonly_flags = [11:57:17.595] __func__ = "standard_ProcessUtility" [11:57:17.595] #20 0x00005621e28732e4 in ProcessUtility (pstmt=pstmt@entry=0x5621eb61e1d0, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x5621eb61e590, qc=0x7ffd4b3efc20) at ../src/backend/tcop/utility.c:523 [11:57:17.595] No locals. [11:57:17.595] #21 0x00005621e286ec09 in PortalRunUtility (portal=portal@entry=0x5621eb69c550, pstmt=pstmt@entry=0x5621eb61e1d0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5621eb61e590, qc=qc@entry=0x7ffd4b3efc20) at ../src/backend/tcop/pquery.c:1184 [11:57:17.595] No locals. [11:57:17.595] #22 0x00005621e286f20d in PortalRunMulti (portal=portal@entry=0x5621eb69c550, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5621eb61e590, altdest=altdest@entry=0x5621eb61e590, qc=qc@entry=0x7ffd4b3efc20) at ../src/backend/tcop/pquery.c:1348 [11:57:17.595] pstmt = 0x5621eb61e1d0 [11:57:17.595] stmtlist_item__state = [11:57:17.595] active_snapshot_set = false [11:57:17.595] stmtlist_item = 0x5621eb61e558 [11:57:17.595] query_index = 0 [11:57:17.595] #23 0x00005621e286f78c in PortalRun (portal=portal@entry=0x5621eb69c550, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x5621eb61e590, altdest=altdest@entry=0x5621eb61e590, qc=qc@entry=0x7ffd4b3efc20) at ../src/backend/tcop/pquery.c:819 [11:57:17.595] _save_exception_stack = 0x7ffd4b3efcd0 [11:57:17.595] _save_context_stack = 0x0 [11:57:17.595] _local_sigjmp_buf = {{__jmpbuf = {0, 2643998856067819233, 94703683487056, 94703682970008, 94703682969984, 94703682969936, 8577138807537018593, 2643979382177801953}, __mask_was_saved = 0, __saved_mask = {__val = {94703537403613, 1262418863, 4, 94703682969936, 112, 45, 94703683487056, 94703682970008, 94703682969984, 94703682969936, 94703537490816, 45, 2, 45, 94703526684919, 0}}}} [11:57:17.595] _do_rethrow = [11:57:17.595] result = [11:57:17.595] nprocessed = [11:57:17.595] saveTopTransactionResourceOwner = 0x5621eb657ba8 [11:57:17.595] saveTopTransactionContext = 0x5621eb6ae570 [11:57:17.595] saveActivePortal = 0x0 [11:57:17.595] saveResourceOwner = 0x5621eb657ba8 [11:57:17.595] savePortalContext = 0x0 [11:57:17.595] saveMemoryContext = 0x5621eb6ae570 [11:57:17.595] __func__ = "PortalRun" [11:57:17.595] #24 0x00005621e28689b2 in exec_simple_query (query_string=query_string@entry=0x5621eb61d5e0 "ANALYZE pg_catalog.pg_am;") at ../src/backend/tcop/postgres.c:1272 [11:57:17.595] cmdtaglen = 7 [11:57:17.595] snapshot_set = [11:57:17.595] per_parsetree_context = 0x0 [11:57:17.595] plantree_list = 0x5621eb61e540 [11:57:17.595] parsetree = 0x5621eb61e150 [11:57:17.595] commandTag = [11:57:17.595] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:17.595] querytree_list = [11:57:17.595] portal = 0x5621eb69c550 [11:57:17.595] receiver = 0x5621eb61e590 [11:57:17.595] format = 0 [11:57:17.595] cmdtagname = [11:57:17.595] parsetree_item__state = [11:57:17.595] dest = DestRemote [11:57:17.595] oldcontext = 0x5621eb6ae570 [11:57:17.595] parsetree_list = 0x5621eb61e180 [11:57:17.595] parsetree_item = 0x5621eb61e198 [11:57:17.595] save_log_statement_stats = false [11:57:17.595] was_logged = true [11:57:17.595] use_implicit_block = false [11:57:17.595] msec_str = "\004\000\000\000\000\000\000\000\353в\342!V\000\000\260\374>K\375\177\000\000\032\000\000\000\000\000\000" [11:57:17.595] __func__ = "exec_simple_query" [11:57:17.595] #25 0x00005621e286b714 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4693 [11:57:17.595] query_string = 0x5621eb61d5e0 "ANALYZE pg_catalog.pg_am;" [11:57:17.595] firstchar = [11:57:17.595] input_message = {data = 0x5621eb61d5e0 "ANALYZE pg_catalog.pg_am;", len = 26, maxlen = 1024, cursor = 26} [11:57:17.595] local_sigjmp_buf = {{__jmpbuf = {94703550323704, 2643981055825422049, 140725865872940, 4, 1, 140725865873172, 8577138807604127457, 2643979384602109665}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94703682697488, 16128, 94703550317760, 94703683207104, 1, 94703537403161, 0, 9, 2, 94703550323712, 94703682697488, 94703550317760, 4, 1, 140725865873172}}}} [11:57:17.595] send_ready_for_query = false [11:57:17.595] idle_in_transaction_timeout_enabled = false [11:57:17.595] idle_session_timeout_enabled = false [11:57:17.595] __func__ = "PostgresMain" [11:57:17.595] #26 0x00005621e2861748 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [11:57:17.595] bsdata = [11:57:17.595] #27 0x00005621e2710f23 in postmaster_child_launch (child_type=B_BACKEND, child_slot=1, startup_data=startup_data@entry=0x7ffd4b3efe2c, startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffd4b3efe80) at ../src/backend/postmaster/launch_backend.c:274 [11:57:17.595] pid = [11:57:17.595] #28 0x00005621e271611e in BackendStartup (client_sock=client_sock@entry=0x7ffd4b3efe80) at ../src/backend/postmaster/postmaster.c:3523 [11:57:17.595] bn = 0x5621eb645ad8 [11:57:17.595] pid = [11:57:17.595] startup_data = {canAcceptConnections = CAC_OK} [11:57:17.595] cac = [11:57:17.595] __func__ = "BackendStartup" [11:57:17.595] #29 0x00005621e27181ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1689 [11:57:17.595] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\230\245|\177\000\000>\004\000\000\000\000\000\000\260\227\003\244|\177\000\000\240/Z\245|\177\000\0008\377>K\375\177\000\0004\377>K\375\177", '\000' , "\303\034\210\341!V\000\000\260\370\203\341!V\000\000\000\000?K\375\177\000\000\370\377>K\375\177\000\000\225[\362\001i<\301d\240\244\350\244|\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [11:57:17.595] i = 0 [11:57:17.595] now = [11:57:17.595] last_lockfile_recheck_time = 1740483923 [11:57:17.595] last_touch_time = 1740483923 [11:57:17.595] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 1262420032, user_data = 0x0}, {pos = 15, events = 0, fd = -511173437, user_data = 0x7f7ca59ab668}, {pos = -1528256976, events = 32636, fd = -1516588320, user_data = 0x7c96e577}, {pos = 1262420096, events = 32765, fd = -1516758456, user_data = 0xf}, {pos = -1528256976, events = 32636, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -1516588320, user_data = 0x7ffd4b3efff8}, {pos = 1262419968, events = 32765, fd = -1516587416, user_data = 0x0}, {pos = -345902400, events = 22049, fd = -1542525595, user_data = 0x7ffd4b3f0513}, {pos = 1, events = 0, fd = 1262419968, user_data = 0xffffffff}, {pos = -1543315424, events = 32636, fd = -1520816224, user_data = 0x5621eb64aae8}, {pos = -345724472, events = 22049, fd = -345725023, user_data = 0x7f7ca5987ebe}, {pos = 1, events = 0, fd = -1516588320, user_data = 0x1aa}, {pos = -485716656, events = 22049, fd = 0, user_data = 0xe5}, {pos = -345902464, events = 22049, fd = -1516732738, user_data = 0x1}, {pos = 0, events = 0, fd = -1543315424, user_data = 0x7f7ca40f2e40 }, {pos = 16, events = 0, fd = 1262421056, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7f7ca598a1ba}, {pos = 0, events = 0, fd = -1542787676, user_data = 0x0}, {pos = -478654336, events = 22049, fd = 2, user_data = 0x0}, {pos = -346162768, events = 22049, fd = 1952410737, user_data = 0x160}, {pos = -485717248, events = 22049, fd = 4, user_data = 0x2ffff00001fa0}, {pos = -345902464, events = 22049, fd = -1516732738, user_data = 0x1}, {pos = -1542754195, events = 32636, fd = -1543281464, user_data = 0x5621eb64ff80}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = -1541464992, events = 32636, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x5621eb5df9b0}, {pos = -1542751606, events = 32636, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 1650748789, user_data = 0x5f3030315f742f61}, {pos = 1969368932, events = 795110505, fd = 1953719668, user_data = 0x24e6f20e82e727e4}, {pos = 926635331, events = 8, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = -1541482016, events = 32636, fd = -1542844050, user_data = 0x100000400}, {pos = 7, events = 0, fd = -345723952, user_data = 0x64c13c6975a0d900}, {pos = -1541478944, events = 32636, fd = -328, user_data = 0x0}, {pos = -345724792, events = 22049, fd = 1024, user_data = 0x5621eb64a888}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x3}, {pos = 0, events = 0, fd = 32566, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -345902464, user_data = 0x7f7ca40f3053 }, {pos = -345724792, events = 22049, fd = 1024, user_data = 0x7ffd4b3f0508}, {pos = -491394288, events = 22049, fd = -478553168, user_data = 0x5621e2b4d5cd }, {pos = -345724992, events = 22049, fd = -345910048, user_data = 0x5621eb64a7c0}, {pos = -1542760258, events = 32636, fd = 0, user_data = 0x5621e2b5f237 }, {pos = -345724992, events = 1, fd = -491392128, user_data = 0x5621eb61d4e0}, {pos = 1973475584, events = 1690385513, fd = 0, user_data = 0x7f7ca40a2ab1}, {pos = -1542843152, events = 32636, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -346162768, user_data = 0x64c13c6975a0d900}, {pos = 0, events = 0, fd = 1973475584, user_data = 0xc}, {pos = 1973475584, events = 1690385513, fd = 0, user_data = 0x7f7ca405b239 }, {pos = 230, events = 0, fd = -495907808, user_data = 0x400000}, {pos = 0, events = 0, fd = -346162768, user_data = 0x5621e2b4d461 }, {pos = -346076144, events = 22049, fd = -345910048, user_data = 0x5621eb5f4c10}, {pos = 1, events = 0, fd = 0, user_data = 0x5621e2b0bbfa }, {pos = 12, events = 0, fd = -345733656, user_data = 0x5621eb6485c8}, {pos = -478652928, events = 22049, fd = 296, user_data = 0x5621e271343a }, {pos = 12, events = 0, fd = 0, user_data = 0x0}, {pos = -495891443, events = 22049, fd = -482283536, user_data = 0x5621eb61de98}} [11:57:17.595] nevents = 1 [11:57:17.595] __func__ = "ServerLoop" [11:57:17.595] #30 0x00005621e2719a52 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5621eb5db820) at ../src/backend/postmaster/postmaster.c:1387 [11:57:17.595] opt = [11:57:17.595] status = [11:57:17.595] userDoption = [11:57:17.595] listen_addr_saved = false [11:57:17.595] output_config_variable = [11:57:17.595] __func__ = "PostmasterMain" [11:57:17.595] #31 0x00005621e2549da3 in main (argc=4, argv=0x5621eb5db820) at ../src/backend/main/main.c:230 [11:57:17.595] do_check_root = [11:57:17.595] dispatch_option = [11:57:17.628] -e [11:57:17.628] [11:57:17.628] [11:57:17.690] dumping /tmp/cores/sh-3-25373.core for /bin/sh [11:57:17.735] [11:57:17.735] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:17.735] [11:57:17.735] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:17.735] Debuginfod has been disabled. [11:57:17.735] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:17.739] [New LWP 25373] [11:57:17.741] [Thread debugging using libthread_db enabled] [11:57:17.741] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:17.741] Core was generated by `sh -c cp "/tmp/cirrus-ci-build/build/testrun/recovery/002_archiving/data/t_002_'. [11:57:17.741] Program terminated with signal SIGQUIT, Quit. [11:57:17.741] #0 0x00007fc0c50eeb93 in wait4 () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:17.743] [11:57:17.743] Thread 1 (Thread 0x7fc0c5018740 (LWP 25373)): [11:57:17.743] #0 0x00007fc0c50eeb93 in wait4 () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:17.743] No symbol table info available. [11:57:17.743] #1 0x000055bdd4dc6cc0 in ?? () [11:57:17.743] No symbol table info available. [11:57:17.743] #2 0x000055bdd4dc6efa in ?? () [11:57:17.743] No symbol table info available. [11:57:17.743] #3 0x000055bdd4dc8630 in ?? () [11:57:17.743] No symbol table info available. [11:57:17.743] #4 0x000055bdd4dc2371 in ?? () [11:57:17.743] No symbol table info available. [11:57:17.743] #5 0x000055bdd4dc120f in ?? () [11:57:17.743] No symbol table info available. [11:57:17.743] #6 0x000055bdd4dc1c3b in ?? () [11:57:17.743] No symbol table info available. [11:57:17.743] #7 0x000055bdd4dbf66f in ?? () [11:57:17.743] No symbol table info available. [11:57:17.743] #8 0x00007fc0c504224a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:17.743] No symbol table info available. [11:57:17.743] #9 0x00007fc0c5042305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:17.743] No symbol table info available. [11:57:17.743] #10 0x000055bdd4dbf781 in ?? () [11:57:17.743] No symbol table info available. [11:57:17.749] -e [11:57:17.749] [11:57:17.749] [11:57:17.811] dumping /tmp/cores/postgres-6-33822.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:18.069] [New LWP 33822] [11:57:18.069] [11:57:18.069] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:18.069] [11:57:18.069] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:18.069] Debuginfod has been disabled. [11:57:18.069] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:18.168] [Thread debugging using libthread_db enabled] [11:57:18.168] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:18.168] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:18.168] Program terminated with signal SIGABRT, Aborted. [11:57:18.168] #0 0x00007f8f596a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:19.142] [11:57:19.142] Thread 1 (Thread 0x7f8f593e7f00 (LWP 33822)): [11:57:19.142] #0 0x00007f8f596a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:19.142] No symbol table info available. [11:57:19.142] #1 0x00007f8f5965afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:19.142] No symbol table info available. [11:57:19.142] #2 0x00007f8f59645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:19.142] No symbol table info available. [11:57:19.142] #3 0x00007f8f5981e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:19.142] No locals. [11:57:19.142] #4 0x00007f8f5982aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:19.142] No locals. [11:57:19.142] #5 0x00007f8f5980d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55a5f2977440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:19.142] bp = 140725071189200 [11:57:19.142] pc = [11:57:19.142] Opts = {FromUnrecoverableHandler = true, pc = 94171216571813, bp = 194} [11:57:19.142] #6 0x000055a5f1e96da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:19.142] crc0 = [11:57:19.142] len = [11:57:19.142] buf = [11:57:19.142] #7 0x000055a5f1e96e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:19.142] p = [11:57:19.142] pend = [11:57:19.142] orig_crc = [11:57:19.142] orig_len = [11:57:19.142] #8 0x000055a5f1572ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:19.142] No locals. [11:57:19.142] #9 0x000055a5f1573f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffd1be115c8, num_fpi=num_fpi@entry=0x7ffd1be115bc, topxid_included=0x7ffd1be115bb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:19.142] rdt = 0x55a5fbd211f0 [11:57:19.142] total_len = 194 [11:57:19.142] block_id = 1 [11:57:19.142] rdata_crc = [11:57:19.142] prev_regbuf = 0x55a5fbd23108 [11:57:19.142] rdt_datas_last = 0x55a5fbd211c0 [11:57:19.142] rechdr = 0x55a5fbd213d0 [11:57:19.142] scratch = 0x55a5fbd213fe "" [11:57:19.142] __func__ = "XLogRecordAssemble" [11:57:19.142] #10 0x000055a5f1574f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:19.142] RedoRecPtr = 17604224 [11:57:19.142] doPageWrites = true [11:57:19.142] topxid_included = false [11:57:19.142] fpw_lsn = 0 [11:57:19.142] rdt = [11:57:19.142] num_fpi = 0 [11:57:19.142] EndPos = [11:57:19.142] __func__ = "XLogInsert" [11:57:19.142] #11 0x000055a5f148e66b in heap_insert (relation=relation@entry=0x55a5fbdbf4d0, tup=tup@entry=0x55a5fbeb1e40, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:19.142] recptr = [11:57:19.142] info = 128 '\200' [11:57:19.142] bufflags = 6 [11:57:19.142] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:19.142] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:19.142] page = 0x7f8f4e35a000 "" [11:57:19.142] xid = [11:57:19.142] heaptup = 0x55a5fbeb1e40 [11:57:19.142] buffer = 97 [11:57:19.142] vmbuffer = 0 [11:57:19.142] all_visible_cleared = false [11:57:19.142] #12 0x000055a5f148fbfc in simple_heap_insert (relation=relation@entry=0x55a5fbdbf4d0, tup=tup@entry=0x55a5fbeb1e40) at ../src/backend/access/heap/heapam.c:2641 [11:57:19.142] No locals. [11:57:19.142] #13 0x000055a5f15c770e in CatalogTupleInsert (heapRel=heapRel@entry=0x55a5fbdbf4d0, tup=0x55a5fbeb1e40) at ../src/backend/catalog/indexing.c:241 [11:57:19.142] indstate = 0x55a5fbea94f8 [11:57:19.142] #14 0x000055a5f15e8d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55a5fbeb8ee0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffd1be1199c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:19.142] conDesc = 0x55a5fbdbf4d0 [11:57:19.142] conOid = 10115 [11:57:19.142] tup = [11:57:19.142] nulls = {false , true, true, true, true, true, true, true} [11:57:19.142] values = {10115, 140725071189808, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94171384455048, 0, 0, 0, 0, 0, 0, 0} [11:57:19.142] conkeyArray = 0x55a5fbeb1f88 [11:57:19.142] confkeyArray = 0x0 [11:57:19.142] conpfeqopArray = 0x0 [11:57:19.142] conppeqopArray = 0x0 [11:57:19.142] conffeqopArray = 0x0 [11:57:19.142] conexclopArray = 0x0 [11:57:19.142] confdelsetcolsArray = [11:57:19.142] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:19.142] i = [11:57:19.142] conobject = {classId = 32765, objectId = 4224904576, objectSubId = 21925} [11:57:19.142] addrs_auto = [11:57:19.142] addrs_normal = [11:57:19.142] #15 0x000055a5f15b144e in StoreRelNotNull (rel=rel@entry=0x55a5fbd73558, nnname=nnname@entry=0x55a5fbeb8ee0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:19.142] constrOid = [11:57:19.142] #16 0x000055a5f15b9556 in AddRelationNewConstraints (rel=rel@entry=0x55a5fbd73558, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55a5fbeb85d0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:19.142] nncooked = [11:57:19.142] colnum = 1 [11:57:19.142] inhcount = 0 [11:57:19.142] nnname = 0x55a5fbeb8ee0 "pg_proc_oid_not_null" [11:57:19.142] constrOid = [11:57:19.142] cdef__state = [11:57:19.142] cdef = 0x55a5fbeaf9d0 [11:57:19.142] cdef__outerloop = [11:57:19.142] cookedConstraints = 0x0 [11:57:19.142] tupleDesc = [11:57:19.142] oldconstr = [11:57:19.142] numoldchecks = [11:57:19.142] pstate = 0x55a5fbeb6f48 [11:57:19.142] nsitem = [11:57:19.142] numchecks = 0 [11:57:19.142] checknames = 0x0 [11:57:19.142] nnnames = 0x55a5fbeb1970 [11:57:19.142] expr = [11:57:19.142] cooked = [11:57:19.142] __func__ = "AddRelationNewConstraints" [11:57:19.142] #17 0x000055a5f16e0bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffd1be11c68, tab=tab@entry=0x55a5fbea9708, rel=rel@entry=0x55a5fbd73558, constr=constr@entry=0x55a5fbeb7108, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:19.142] newcons = [11:57:19.142] lcon = [11:57:19.142] children = [11:57:19.142] child = [11:57:19.142] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:19.142] __func__ = "ATAddCheckNNConstraint" [11:57:19.142] #18 0x000055a5f16e1291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffd1be11c68, tab=tab@entry=0x55a5fbea9708, rel=rel@entry=0x55a5fbd73558, newConstraint=0x55a5fbeb7108, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:19.142] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:19.142] __func__ = "ATExecAddConstraint" [11:57:19.142] #19 0x000055a5f16ed51e in ATExecCmd (wqueue=wqueue@entry=0x7ffd1be11c68, tab=tab@entry=0x55a5fbea9708, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffd1be11d50) at ../src/backend/commands/tablecmds.c:5428 [11:57:19.142] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:19.142] rel = 0x55a5fbd73558 [11:57:19.142] __func__ = "ATExecCmd" [11:57:19.142] #20 0x000055a5f16ee3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffd1be11c68, lockmode=lockmode@entry=8, context=context@entry=0x7ffd1be11d50) at ../src/backend/commands/tablecmds.c:5294 [11:57:19.142] lcmd__state = [11:57:19.142] tab = 0x55a5fbea9708 [11:57:19.142] subcmds = 0x55a5fbeb84f8 [11:57:19.142] lcmd = [11:57:19.142] ltab__state = [11:57:19.142] pass = AT_PASS_COL_ATTRS [11:57:19.142] ltab = [11:57:19.142] #21 0x000055a5f16ee90d in ATController (parsetree=parsetree@entry=0x55a5fbe92dc0, rel=rel@entry=0x55a5fbd73558, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffd1be11d50) at ../src/backend/commands/tablecmds.c:4849 [11:57:19.142] wqueue = 0x55a5fbe97330 [11:57:19.142] lcmd = 0x0 [11:57:19.142] #22 0x000055a5f16ee9c4 in AlterTable (stmt=stmt@entry=0x55a5fbe92dc0, lockmode=lockmode@entry=8, context=context@entry=0x7ffd1be11d50) at ../src/backend/commands/tablecmds.c:4504 [11:57:19.142] rel = 0x55a5fbd73558 [11:57:19.142] #23 0x000055a5f1b6fb4d in ProcessUtilitySlow (pstate=pstate@entry=0x55a5fbe97220, pstmt=pstmt@entry=0x55a5fbe92e70, queryString=queryString@entry=0x55a5fbe92150 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55a5f23b04a0 , qc=0x7ffd1be12250) at ../src/backend/tcop/utility.c:1321 [11:57:19.142] atcontext = {pstmt = 0x55a5fbe92e70, queryString = 0x55a5fbe92150 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:19.142] atstmt = 0x55a5fbe92dc0 [11:57:19.142] relid = 1255 [11:57:19.142] lockmode = 8 [11:57:19.142] cell = 0x0 [11:57:19.142] _save_exception_stack = 0x7ffd1be12130 [11:57:19.142] _save_context_stack = 0x0 [11:57:19.142] _local_sigjmp_buf = {{__jmpbuf = {0, 7580844886947227033, 94171384327616, 0, 94171384324432, 0, 4433039920674858393, 7580832497390019993}, __mask_was_saved = 0, __saved_mask = {__val = {0, 140253610058056, 94171213037375, 140253610194624, 94167157964801, 94171229086496, 4294967295, 140253656746064, 140253678731168, 0, 4611686018427387905, 140253608732928, 0, 140253610060612, 140253682340576, 332}}}} [11:57:19.142] _do_rethrow = false [11:57:19.142] parsetree = 0x55a5fbe92dc0 [11:57:19.142] isTopLevel = true [11:57:19.142] isCompleteQuery = true [11:57:19.142] needCleanup = false [11:57:19.142] commandCollected = false [11:57:19.142] address = {classId = 21925, objectId = 4226362816, objectSubId = 21925} [11:57:19.142] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:19.142] __func__ = "ProcessUtilitySlow" [11:57:19.142] #24 0x000055a5f1b6f189 in standard_ProcessUtility (pstmt=0x55a5fbe92e70, queryString=0x55a5fbe92150 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55a5f23b04a0 , qc=0x7ffd1be12250) at ../src/backend/tcop/utility.c:1070 [11:57:19.142] parsetree = 0x55a5fbe92dc0 [11:57:19.142] isTopLevel = true [11:57:19.142] isAtomicContext = false [11:57:19.142] pstate = 0x55a5fbe97220 [11:57:19.142] readonly_flags = [11:57:19.142] __func__ = "standard_ProcessUtility" [11:57:19.142] #25 0x000055a5f1b6f2e4 in ProcessUtility (pstmt=pstmt@entry=0x55a5fbe92e70, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55a5f23b04a0 , qc=0x7ffd1be12250) at ../src/backend/tcop/utility.c:523 [11:57:19.142] No locals. [11:57:19.142] #26 0x000055a5f1b6ac09 in PortalRunUtility (portal=portal@entry=0x55a5fbd3d640, pstmt=pstmt@entry=0x55a5fbe92e70, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a5f23b04a0 , qc=qc@entry=0x7ffd1be12250) at ../src/backend/tcop/pquery.c:1184 [11:57:19.142] No locals. [11:57:19.142] #27 0x000055a5f1b6b20d in PortalRunMulti (portal=portal@entry=0x55a5fbd3d640, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a5f23b04a0 , altdest=altdest@entry=0x55a5f23b04a0 , qc=qc@entry=0x7ffd1be12250) at ../src/backend/tcop/pquery.c:1348 [11:57:19.142] pstmt = 0x55a5fbe92e70 [11:57:19.142] stmtlist_item__state = [11:57:19.142] active_snapshot_set = false [11:57:19.142] stmtlist_item = 0x55a5fbe931f8 [11:57:19.142] query_index = 0 [11:57:19.142] #28 0x000055a5f1b6b78c in PortalRun (portal=portal@entry=0x55a5fbd3d640, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55a5f23b04a0 , altdest=altdest@entry=0x55a5f23b04a0 , qc=qc@entry=0x7ffd1be12250) at ../src/backend/tcop/pquery.c:819 [11:57:19.143] _save_exception_stack = 0x7ffd1be12300 [11:57:19.143] _save_context_stack = 0x0 [11:57:19.143] _local_sigjmp_buf = {{__jmpbuf = {0, 7580826898191836569, 94171382928960, 94171384327736, 94171384327712, 94171384327664, 4433039922147059097, 7580832495135843737}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140725071192543, 94171384327712, 94171384327664, 94171216067647, 94171218765229, 94171382928960, 94171219190782, 1, 1, 0, 34, 94171382928960, 0, 34, 94171382928960}}}} [11:57:19.143] _do_rethrow = [11:57:19.143] result = [11:57:19.143] nprocessed = [11:57:19.143] saveTopTransactionResourceOwner = 0x55a5fbd35988 [11:57:19.143] saveTopTransactionContext = 0x55a5fbd975f0 [11:57:19.143] saveActivePortal = 0x0 [11:57:19.143] saveResourceOwner = 0x55a5fbd35988 [11:57:19.143] savePortalContext = 0x0 [11:57:19.143] saveMemoryContext = 0x55a5fbd975f0 [11:57:19.143] __func__ = "PortalRun" [11:57:19.143] #29 0x000055a5f1b649b2 in exec_simple_query (query_string=query_string@entry=0x55a5fbe92150 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:19.143] cmdtaglen = 11 [11:57:19.143] snapshot_set = [11:57:19.143] per_parsetree_context = 0x0 [11:57:19.143] plantree_list = 0x55a5fbe931e0 [11:57:19.143] parsetree = 0x55a5fbe92df0 [11:57:19.143] commandTag = [11:57:19.143] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:19.143] querytree_list = [11:57:19.143] portal = 0x55a5fbd3d640 [11:57:19.143] receiver = 0x55a5f23b04a0 [11:57:19.143] format = 0 [11:57:19.143] cmdtagname = [11:57:19.143] parsetree_item__state = [11:57:19.143] dest = DestDebug [11:57:19.143] oldcontext = 0x55a5fbd975f0 [11:57:19.143] parsetree_list = 0x55a5fbe92e20 [11:57:19.143] parsetree_item = 0x55a5fbe92e38 [11:57:19.143] save_log_statement_stats = false [11:57:19.143] was_logged = false [11:57:19.143] use_implicit_block = false [11:57:19.143] msec_str = "\320%\341\033\375\177\000\000\353\220\342\361\245U\000\000\340\"\341\033\375\177\000\000D\000\000\000\000\000\000" [11:57:19.143] __func__ = "exec_simple_query" [11:57:19.143] #30 0x000055a5f1b67714 in PostgresMain (dbname=, username=username@entry=0x55a5fbc64a60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:19.143] query_string = 0x55a5fbe92150 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:19.143] firstchar = [11:57:19.143] input_message = {data = 0x55a5fbe92150 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:19.143] local_sigjmp_buf = {{__jmpbuf = {94171229166584, 7580825648100500889, 94171382041184, 140725071193552, 94171221761496, 140253682335776, 4433039922214167961, 7580832493802055065}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94171382241376, 17408, 94171229160640, 94171382713280, 94171221761496, 94171216246041, 4063796696, 10, 140725071193084, 94171229166592, 94171382241376, 94171229160640, 140725071193552, 94171221761496, 140253682335776}}}} [11:57:19.143] send_ready_for_query = false [11:57:19.143] idle_in_transaction_timeout_enabled = false [11:57:19.143] idle_session_timeout_enabled = false [11:57:19.143] __func__ = "PostgresMain" [11:57:19.143] #31 0x000055a5f1b67c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55a5fbc957a0, username=0x55a5fbc64a60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:19.143] dbname = 0x55a5fbcd8190 "template1" [11:57:19.143] __func__ = "PostgresSingleUserMain" [11:57:19.143] #32 0x000055a5f1845e97 in main (argc=12, argv=0x55a5fbc957a0) at ../src/backend/main/main.c:226 [11:57:19.143] do_check_root = [11:57:19.143] dispatch_option = [11:57:19.175] -e [11:57:19.175] [11:57:19.175] [11:57:19.237] dumping /tmp/cores/postgres-6-28798.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:19.492] [New LWP 28798] [11:57:19.492] [11:57:19.492] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:19.492] [11:57:19.492] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:19.492] Debuginfod has been disabled. [11:57:19.492] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:19.591] [Thread debugging using libthread_db enabled] [11:57:19.591] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:19.591] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:19.591] Program terminated with signal SIGABRT, Aborted. [11:57:19.591] #0 0x00007f5c0d8a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:20.580] [11:57:20.580] Thread 1 (Thread 0x7f5c0e033f00 (LWP 28798)): [11:57:20.580] #0 0x00007f5c0d8a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:20.580] No symbol table info available. [11:57:20.580] #1 0x00007f5c0d85afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:20.580] No symbol table info available. [11:57:20.580] #2 0x00007f5c0d845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:20.580] No symbol table info available. [11:57:20.580] #3 0x00007f5c0da1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:20.580] No locals. [11:57:20.580] #4 0x00007f5c0da2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:20.580] No locals. [11:57:20.580] #5 0x00007f5c0da0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x561bdd6b3440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:20.580] bp = 140720716058720 [11:57:20.580] pc = [11:57:20.580] Opts = {FromUnrecoverableHandler = true, pc = 94677667491237, bp = 194} [11:57:20.580] #6 0x0000561bdcbd2da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:20.580] crc0 = [11:57:20.580] len = [11:57:20.580] buf = [11:57:20.580] #7 0x0000561bdcbd2e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:20.580] p = [11:57:20.580] pend = [11:57:20.580] orig_crc = [11:57:20.580] orig_len = [11:57:20.580] #8 0x0000561bdc2aeef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:20.580] No locals. [11:57:20.580] #9 0x0000561bdc2aff85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc184b1158, num_fpi=num_fpi@entry=0x7ffc184b114c, topxid_included=0x7ffc184b114b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:20.580] rdt = 0x561be5f053b0 [11:57:20.580] total_len = 194 [11:57:20.580] block_id = 1 [11:57:20.580] rdata_crc = [11:57:20.580] prev_regbuf = 0x561be5f072c8 [11:57:20.580] rdt_datas_last = 0x561be5f05380 [11:57:20.580] rechdr = 0x561be5f05590 [11:57:20.580] scratch = 0x561be5f055be "" [11:57:20.580] __func__ = "XLogRecordAssemble" [11:57:20.580] #10 0x0000561bdc2b0f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:20.580] RedoRecPtr = 17604224 [11:57:20.580] doPageWrites = true [11:57:20.580] topxid_included = false [11:57:20.580] fpw_lsn = 0 [11:57:20.580] rdt = [11:57:20.580] num_fpi = 0 [11:57:20.580] EndPos = [11:57:20.580] __func__ = "XLogInsert" [11:57:20.580] #11 0x0000561bdc1ca66b in heap_insert (relation=relation@entry=0x561be5fa3690, tup=tup@entry=0x561be6094800, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:20.580] recptr = [11:57:20.580] info = 128 '\200' [11:57:20.580] bufflags = 6 [11:57:20.580] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:20.580] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:20.580] page = 0x7f5c02668000 "" [11:57:20.580] xid = [11:57:20.580] heaptup = 0x561be6094800 [11:57:20.580] buffer = 97 [11:57:20.580] vmbuffer = 0 [11:57:20.580] all_visible_cleared = false [11:57:20.580] #12 0x0000561bdc1cbbfc in simple_heap_insert (relation=relation@entry=0x561be5fa3690, tup=tup@entry=0x561be6094800) at ../src/backend/access/heap/heapam.c:2641 [11:57:20.580] No locals. [11:57:20.580] #13 0x0000561bdc30370e in CatalogTupleInsert (heapRel=heapRel@entry=0x561be5fa3690, tup=0x561be6094800) at ../src/backend/catalog/indexing.c:241 [11:57:20.580] indstate = 0x561be608a698 [11:57:20.580] #14 0x0000561bdc324d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x561be60922c0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffc184b152c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:20.580] conDesc = 0x561be5fa3690 [11:57:20.580] conOid = 10115 [11:57:20.580] tup = [11:57:20.580] nulls = {false , true, true, true, true, true, true, true} [11:57:20.580] values = {10115, 140720716059328, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94677823473992, 0, 0, 0, 0, 0, 0, 0} [11:57:20.580] conkeyArray = 0x561be6094948 [11:57:20.580] confkeyArray = 0x0 [11:57:20.580] conpfeqopArray = 0x0 [11:57:20.580] conppeqopArray = 0x0 [11:57:20.580] conffeqopArray = 0x0 [11:57:20.580] conexclopArray = 0x0 [11:57:20.580] confdelsetcolsArray = [11:57:20.580] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:20.580] i = [11:57:20.580] conobject = {classId = 32764, objectId = 3857788736, objectSubId = 22043} [11:57:20.580] addrs_auto = [11:57:20.580] addrs_normal = [11:57:20.580] #15 0x0000561bdc2ed44e in StoreRelNotNull (rel=rel@entry=0x561be5f57718, nnname=nnname@entry=0x561be60922c0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:20.580] constrOid = [11:57:20.580] #16 0x0000561bdc2f5556 in AddRelationNewConstraints (rel=rel@entry=0x561be5f57718, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x561be60919b0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:20.580] nncooked = [11:57:20.580] colnum = 1 [11:57:20.580] inhcount = 0 [11:57:20.580] nnname = 0x561be60922c0 "pg_proc_oid_not_null" [11:57:20.580] constrOid = [11:57:20.580] cdef__state = [11:57:20.580] cdef = 0x561be608ff50 [11:57:20.580] cdef__outerloop = [11:57:20.580] cookedConstraints = 0x0 [11:57:20.580] tupleDesc = [11:57:20.580] oldconstr = [11:57:20.580] numoldchecks = [11:57:20.580] pstate = 0x561be6090328 [11:57:20.580] nsitem = [11:57:20.580] numchecks = 0 [11:57:20.580] checknames = 0x0 [11:57:20.580] nnnames = 0x561be6094330 [11:57:20.580] expr = [11:57:20.580] cooked = [11:57:20.580] __func__ = "AddRelationNewConstraints" [11:57:20.580] #17 0x0000561bdc41cbae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffc184b17f8, tab=tab@entry=0x561be608a8a8, rel=rel@entry=0x561be5f57718, constr=constr@entry=0x561be60904e8, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:20.580] newcons = [11:57:20.580] lcon = [11:57:20.580] children = [11:57:20.580] child = [11:57:20.580] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:20.580] __func__ = "ATAddCheckNNConstraint" [11:57:20.580] #18 0x0000561bdc41d291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffc184b17f8, tab=tab@entry=0x561be608a8a8, rel=rel@entry=0x561be5f57718, newConstraint=0x561be60904e8, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:20.580] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:20.580] __func__ = "ATExecAddConstraint" [11:57:20.580] #19 0x0000561bdc42951e in ATExecCmd (wqueue=wqueue@entry=0x7ffc184b17f8, tab=tab@entry=0x561be608a8a8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffc184b18e0) at ../src/backend/commands/tablecmds.c:5428 [11:57:20.580] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:20.580] rel = 0x561be5f57718 [11:57:20.580] __func__ = "ATExecCmd" [11:57:20.580] #20 0x0000561bdc42a3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffc184b17f8, lockmode=lockmode@entry=8, context=context@entry=0x7ffc184b18e0) at ../src/backend/commands/tablecmds.c:5294 [11:57:20.580] lcmd__state = [11:57:20.580] tab = 0x561be608a8a8 [11:57:20.580] subcmds = 0x561be60918d8 [11:57:20.580] lcmd = [11:57:20.580] ltab__state = [11:57:20.580] pass = AT_PASS_COL_ATTRS [11:57:20.580] ltab = [11:57:20.580] #21 0x0000561bdc42a90d in ATController (parsetree=parsetree@entry=0x561be6076a50, rel=rel@entry=0x561be5f57718, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffc184b18e0) at ../src/backend/commands/tablecmds.c:4849 [11:57:20.580] wqueue = 0x561be607af20 [11:57:20.580] lcmd = 0x0 [11:57:20.580] #22 0x0000561bdc42a9c4 in AlterTable (stmt=stmt@entry=0x561be6076a50, lockmode=lockmode@entry=8, context=context@entry=0x7ffc184b18e0) at ../src/backend/commands/tablecmds.c:4504 [11:57:20.580] rel = 0x561be5f57718 [11:57:20.580] #23 0x0000561bdc8abb4d in ProcessUtilitySlow (pstate=pstate@entry=0x561be607ae10, pstmt=pstmt@entry=0x561be6076b00, queryString=queryString@entry=0x561be6075de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x561bdd0ec4a0 , qc=0x7ffc184b1de0) at ../src/backend/tcop/utility.c:1321 [11:57:20.580] atcontext = {pstmt = 0x561be6076b00, queryString = 0x561be6075de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:20.580] atstmt = 0x561be6076a50 [11:57:20.580] relid = 1255 [11:57:20.580] lockmode = 8 [11:57:20.580] cell = 0x0 [11:57:20.580] _save_exception_stack = 0x7ffc184b1cc0 [11:57:20.580] _save_context_stack = 0x0 [11:57:20.580] _local_sigjmp_buf = {{__jmpbuf = {0, -1101919836346682721, 94677823351376, 0, 94677823348192, 0, -6666790727332564321, -1101899060274433377}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1, 140033113718785, 140720716061112, 4294967295, 140033340442704, 140033362431904, 0, 94677672680920, 140033366425632, 140033366286014, 1, 140033366430432, 332, 94677672921696, 140720716063072}}}} [11:57:20.580] _do_rethrow = false [11:57:20.580] parsetree = 0x561be6076a50 [11:57:20.580] isTopLevel = true [11:57:20.580] isCompleteQuery = true [11:57:20.580] needCleanup = false [11:57:20.580] commandCollected = false [11:57:20.580] address = {classId = 22043, objectId = 3859245648, objectSubId = 22043} [11:57:20.580] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:20.580] __func__ = "ProcessUtilitySlow" [11:57:20.580] #24 0x0000561bdc8ab189 in standard_ProcessUtility (pstmt=0x561be6076b00, queryString=0x561be6075de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x561bdd0ec4a0 , qc=0x7ffc184b1de0) at ../src/backend/tcop/utility.c:1070 [11:57:20.580] parsetree = 0x561be6076a50 [11:57:20.580] isTopLevel = true [11:57:20.580] isAtomicContext = false [11:57:20.580] pstate = 0x561be607ae10 [11:57:20.580] readonly_flags = [11:57:20.580] __func__ = "standard_ProcessUtility" [11:57:20.580] #25 0x0000561bdc8ab2e4 in ProcessUtility (pstmt=pstmt@entry=0x561be6076b00, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x561bdd0ec4a0 , qc=0x7ffc184b1de0) at ../src/backend/tcop/utility.c:523 [11:57:20.580] No locals. [11:57:20.580] #26 0x0000561bdc8a6c09 in PortalRunUtility (portal=portal@entry=0x561be5f21800, pstmt=pstmt@entry=0x561be6076b00, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x561bdd0ec4a0 , qc=qc@entry=0x7ffc184b1de0) at ../src/backend/tcop/pquery.c:1184 [11:57:20.580] No locals. [11:57:20.580] #27 0x0000561bdc8a720d in PortalRunMulti (portal=portal@entry=0x561be5f21800, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x561bdd0ec4a0 , altdest=altdest@entry=0x561bdd0ec4a0 , qc=qc@entry=0x7ffc184b1de0) at ../src/backend/tcop/pquery.c:1348 [11:57:20.580] pstmt = 0x561be6076b00 [11:57:20.580] stmtlist_item__state = [11:57:20.580] active_snapshot_set = false [11:57:20.580] stmtlist_item = 0x561be6076e88 [11:57:20.580] query_index = 0 [11:57:20.580] #28 0x0000561bdc8a778c in PortalRun (portal=portal@entry=0x561be5f21800, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x561bdd0ec4a0 , altdest=altdest@entry=0x561bdd0ec4a0 , qc=qc@entry=0x7ffc184b1de0) at ../src/backend/tcop/pquery.c:819 [11:57:20.580] _save_exception_stack = 0x7ffc184b1e90 [11:57:20.580] _save_context_stack = 0x0 [11:57:20.580] _local_sigjmp_buf = {{__jmpbuf = {0, -1101895728137407841, 94677821954048, 94677823351496, 94677823351472, 94677823351424, -6666790727470976353, -1101899058279779681}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140720716062063, 94677823351472, 94677823351424, 94677666987071, 94677669684653, 94677821954048, 94677670110206, 1, 1, 0, 34, 94677821954048, 0, 34, 94677821954048}}}} [11:57:20.580] _do_rethrow = [11:57:20.580] result = [11:57:20.580] nprocessed = [11:57:20.580] saveTopTransactionResourceOwner = 0x561be5f19b48 [11:57:20.580] saveTopTransactionContext = 0x561be5f7b7b0 [11:57:20.580] saveActivePortal = 0x0 [11:57:20.580] saveResourceOwner = 0x561be5f19b48 [11:57:20.580] savePortalContext = 0x0 [11:57:20.580] saveMemoryContext = 0x561be5f7b7b0 [11:57:20.580] __func__ = "PortalRun" [11:57:20.580] #29 0x0000561bdc8a09b2 in exec_simple_query (query_string=query_string@entry=0x561be6075de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:20.580] cmdtaglen = 11 [11:57:20.580] snapshot_set = [11:57:20.580] per_parsetree_context = 0x0 [11:57:20.580] plantree_list = 0x561be6076e70 [11:57:20.580] parsetree = 0x561be6076a80 [11:57:20.580] commandTag = [11:57:20.580] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:20.580] querytree_list = [11:57:20.580] portal = 0x561be5f21800 [11:57:20.580] receiver = 0x561bdd0ec4a0 [11:57:20.580] format = 0 [11:57:20.580] cmdtagname = [11:57:20.580] parsetree_item__state = [11:57:20.580] dest = DestDebug [11:57:20.580] oldcontext = 0x561be5f7b7b0 [11:57:20.580] parsetree_list = 0x561be6076ab0 [11:57:20.580] parsetree_item = 0x561be6076ac8 [11:57:20.580] save_log_statement_stats = false [11:57:20.580] was_logged = false [11:57:20.580] use_implicit_block = false [11:57:20.580] msec_str = "`!K\030\374\177\000\000\353P\266\334\033V\000\000p\036K\030\374\177\000\000D\000\000\000\000\000\000" [11:57:20.580] __func__ = "exec_simple_query" [11:57:20.580] #30 0x0000561bdc8a3714 in PostgresMain (dbname=, username=username@entry=0x561be5e49360 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:20.580] query_string = 0x561be6075de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:20.580] firstchar = [11:57:20.580] input_message = {data = 0x561be6075de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:20.580] local_sigjmp_buf = {{__jmpbuf = {94677680086008, -1101896145005088097, 94677821068128, 140720716063072, 94677672680920, 140033366425632, -6666790727403867489, -1101899055335378273}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94677821270480, 17408, 94677680080064, 94677821738368, 94677672680920, 94677667165465, 3708575192, 10, 140720716062604, 94677680086016, 94677821270480, 94677680080064, 140720716063072, 94677672680920, 140033366425632}}}} [11:57:20.580] send_ready_for_query = false [11:57:20.580] idle_in_transaction_timeout_enabled = false [11:57:20.580] idle_session_timeout_enabled = false [11:57:20.580] __func__ = "PostgresMain" [11:57:20.580] #31 0x0000561bdc8a3c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x561be5e7a910, username=0x561be5e49360 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:20.580] dbname = 0x561be5ebc410 "template1" [11:57:20.580] __func__ = "PostgresSingleUserMain" [11:57:20.580] #32 0x0000561bdc581e97 in main (argc=12, argv=0x561be5e7a910) at ../src/backend/main/main.c:226 [11:57:20.580] do_check_root = [11:57:20.580] dispatch_option = [11:57:20.611] -e [11:57:20.611] [11:57:20.611] [11:57:20.673] dumping /tmp/cores/postgres-6-34010.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:20.920] [New LWP 34010] [11:57:20.920] [11:57:20.920] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:20.920] [11:57:20.920] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:20.920] Debuginfod has been disabled. [11:57:20.920] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:21.020] [Thread debugging using libthread_db enabled] [11:57:21.020] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:21.020] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:21.020] Program terminated with signal SIGABRT, Aborted. [11:57:21.020] #0 0x00007f510aea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:21.999] [11:57:21.999] Thread 1 (Thread 0x7f5108e2af00 (LWP 34010)): [11:57:21.999] #0 0x00007f510aea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:21.999] No symbol table info available. [11:57:21.999] #1 0x00007f510ae5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:21.999] No symbol table info available. [11:57:21.999] #2 0x00007f510ae45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:21.999] No symbol table info available. [11:57:21.999] #3 0x00007f510b01e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:21.999] No locals. [11:57:21.999] #4 0x00007f510b02aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:21.999] No locals. [11:57:21.999] #5 0x00007f510b00d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55c1a0830440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:21.999] bp = 140722221775760 [11:57:21.999] pc = [11:57:21.999] Opts = {FromUnrecoverableHandler = true, pc = 94290098584997, bp = 194} [11:57:21.999] #6 0x000055c19fd4fda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:21.999] crc0 = [11:57:21.999] len = [11:57:21.999] buf = [11:57:21.999] #7 0x000055c19fd4fe72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:21.999] p = [11:57:21.999] pend = [11:57:21.999] orig_crc = [11:57:21.999] orig_len = [11:57:21.999] #8 0x000055c19f42bef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:21.999] No locals. [11:57:21.999] #9 0x000055c19f42cf85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc720a7c88, num_fpi=num_fpi@entry=0x7ffc720a7c7c, topxid_included=0x7ffc720a7c7b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:21.999] rdt = 0x55c1cd8585d0 [11:57:21.999] total_len = 194 [11:57:21.999] block_id = 1 [11:57:21.999] rdata_crc = [11:57:21.999] prev_regbuf = 0x55c1cd85a4e8 [11:57:21.999] rdt_datas_last = 0x55c1cd8585a0 [11:57:21.999] rechdr = 0x55c1cd8587b0 [11:57:21.999] scratch = 0x55c1cd8587de "" [11:57:21.999] __func__ = "XLogRecordAssemble" [11:57:21.999] #10 0x000055c19f42df4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:21.999] RedoRecPtr = 17604224 [11:57:21.999] doPageWrites = true [11:57:21.999] topxid_included = false [11:57:21.999] fpw_lsn = 0 [11:57:21.999] rdt = [11:57:21.999] num_fpi = 0 [11:57:21.999] EndPos = [11:57:21.999] __func__ = "XLogInsert" [11:57:21.999] #11 0x000055c19f34766b in heap_insert (relation=relation@entry=0x55c1cd8f68b0, tup=tup@entry=0x55c1cd9e7a20, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:21.999] recptr = [11:57:21.999] info = 128 '\200' [11:57:21.999] bufflags = 6 [11:57:21.999] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:21.999] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:21.999] page = 0x7f50ffd5a000 "" [11:57:21.999] xid = [11:57:21.999] heaptup = 0x55c1cd9e7a20 [11:57:21.999] buffer = 97 [11:57:21.999] vmbuffer = 0 [11:57:21.999] all_visible_cleared = false [11:57:21.999] #12 0x000055c19f348bfc in simple_heap_insert (relation=relation@entry=0x55c1cd8f68b0, tup=tup@entry=0x55c1cd9e7a20) at ../src/backend/access/heap/heapam.c:2641 [11:57:21.999] No locals. [11:57:21.999] #13 0x000055c19f48070e in CatalogTupleInsert (heapRel=heapRel@entry=0x55c1cd8f68b0, tup=0x55c1cd9e7a20) at ../src/backend/catalog/indexing.c:241 [11:57:21.999] indstate = 0x55c1cd9dd8b8 [11:57:21.999] #14 0x000055c19f4a1d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55c1cd9e54e0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffc720a805c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:21.999] conDesc = 0x55c1cd8f68b0 [11:57:21.999] conOid = 10115 [11:57:21.999] tup = [11:57:21.999] nulls = {false , true, true, true, true, true, true, true} [11:57:21.999] values = {10115, 140722221776368, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94290866764648, 0, 0, 0, 0, 0, 0, 0} [11:57:21.999] conkeyArray = 0x55c1cd9e7b68 [11:57:21.999] confkeyArray = 0x0 [11:57:21.999] conpfeqopArray = 0x0 [11:57:21.999] conppeqopArray = 0x0 [11:57:21.999] conffeqopArray = 0x0 [11:57:21.999] conexclopArray = 0x0 [11:57:21.999] confdelsetcolsArray = [11:57:21.999] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:21.999] i = [11:57:21.999] conobject = {classId = 32764, objectId = 3448136032, objectSubId = 21953} [11:57:21.999] addrs_auto = [11:57:21.999] addrs_normal = [11:57:21.999] #15 0x000055c19f46a44e in StoreRelNotNull (rel=rel@entry=0x55c1cd8aa938, nnname=nnname@entry=0x55c1cd9e54e0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:21.999] constrOid = [11:57:21.999] #16 0x000055c19f472556 in AddRelationNewConstraints (rel=rel@entry=0x55c1cd8aa938, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55c1cd9e4bd0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:21.999] nncooked = [11:57:21.999] colnum = 1 [11:57:21.999] inhcount = 0 [11:57:21.999] nnname = 0x55c1cd9e54e0 "pg_proc_oid_not_null" [11:57:21.999] constrOid = [11:57:21.999] cdef__state = [11:57:21.999] cdef = 0x55c1cd9e3170 [11:57:21.999] cdef__outerloop = [11:57:21.999] cookedConstraints = 0x0 [11:57:21.999] tupleDesc = [11:57:21.999] oldconstr = [11:57:21.999] numoldchecks = [11:57:21.999] pstate = 0x55c1cd9e3548 [11:57:21.999] nsitem = [11:57:21.999] numchecks = 0 [11:57:21.999] checknames = 0x0 [11:57:21.999] nnnames = 0x55c1cd9e7550 [11:57:21.999] expr = [11:57:21.999] cooked = [11:57:21.999] __func__ = "AddRelationNewConstraints" [11:57:21.999] #17 0x000055c19f599bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffc720a8328, tab=tab@entry=0x55c1cd9ddac8, rel=rel@entry=0x55c1cd8aa938, constr=constr@entry=0x55c1cd9e3708, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:21.999] newcons = [11:57:21.999] lcon = [11:57:21.999] children = [11:57:21.999] child = [11:57:21.999] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:21.999] __func__ = "ATAddCheckNNConstraint" [11:57:21.999] #18 0x000055c19f59a291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffc720a8328, tab=tab@entry=0x55c1cd9ddac8, rel=rel@entry=0x55c1cd8aa938, newConstraint=0x55c1cd9e3708, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:21.999] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:21.999] __func__ = "ATExecAddConstraint" [11:57:21.999] #19 0x000055c19f5a651e in ATExecCmd (wqueue=wqueue@entry=0x7ffc720a8328, tab=tab@entry=0x55c1cd9ddac8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffc720a8410) at ../src/backend/commands/tablecmds.c:5428 [11:57:21.999] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:21.999] rel = 0x55c1cd8aa938 [11:57:21.999] __func__ = "ATExecCmd" [11:57:21.999] #20 0x000055c19f5a73b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffc720a8328, lockmode=lockmode@entry=8, context=context@entry=0x7ffc720a8410) at ../src/backend/commands/tablecmds.c:5294 [11:57:21.999] lcmd__state = [11:57:21.999] tab = 0x55c1cd9ddac8 [11:57:21.999] subcmds = 0x55c1cd9e4af8 [11:57:21.999] lcmd = [11:57:21.999] ltab__state = [11:57:21.999] pass = AT_PASS_COL_ATTRS [11:57:21.999] ltab = [11:57:21.999] #21 0x000055c19f5a790d in ATController (parsetree=parsetree@entry=0x55c1cd9c9c70, rel=rel@entry=0x55c1cd8aa938, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffc720a8410) at ../src/backend/commands/tablecmds.c:4849 [11:57:21.999] wqueue = 0x55c1cd9ce140 [11:57:21.999] lcmd = 0x0 [11:57:21.999] #22 0x000055c19f5a79c4 in AlterTable (stmt=stmt@entry=0x55c1cd9c9c70, lockmode=lockmode@entry=8, context=context@entry=0x7ffc720a8410) at ../src/backend/commands/tablecmds.c:4504 [11:57:21.999] rel = 0x55c1cd8aa938 [11:57:21.999] #23 0x000055c19fa28b4d in ProcessUtilitySlow (pstate=pstate@entry=0x55c1cd9ce030, pstmt=pstmt@entry=0x55c1cd9c9d20, queryString=queryString@entry=0x55c1cd9c9000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55c1a02694a0 , qc=0x7ffc720a8910) at ../src/backend/tcop/utility.c:1321 [11:57:21.999] atcontext = {pstmt = 0x55c1cd9c9d20, queryString = 0x55c1cd9c9000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:21.999] atstmt = 0x55c1cd9c9c70 [11:57:21.999] relid = 1255 [11:57:21.999] lockmode = 8 [11:57:21.999] cell = 0x0 [11:57:21.999] _save_exception_stack = 0x7ffc720a87f0 [11:57:21.999] _save_context_stack = 0x0 [11:57:21.999] _local_sigjmp_buf = {{__jmpbuf = {0, 5546239393524939688, 94290866642032, 0, 94290866638848, 0, 1766339573905161128, 5546349155930930088}, __mask_was_saved = 0, __saved_mask = {__val = {0, 139986007171400, 94290095050559, 139986007307968, 94287417049089, 94290111099680, 4294967295, 139986051762256, 139986074390432, 0, 4611686018427387905, 139986005846272, 0, 139986007173956, 139986079310560, 332}}}} [11:57:21.999] _do_rethrow = false [11:57:21.999] parsetree = 0x55c1cd9c9c70 [11:57:21.999] isTopLevel = true [11:57:21.999] isCompleteQuery = true [11:57:21.999] needCleanup = false [11:57:21.999] commandCollected = false [11:57:21.999] address = {classId = 21953, objectId = 3449592944, objectSubId = 21953} [11:57:21.999] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:21.999] __func__ = "ProcessUtilitySlow" [11:57:21.999] #24 0x000055c19fa28189 in standard_ProcessUtility (pstmt=0x55c1cd9c9d20, queryString=0x55c1cd9c9000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55c1a02694a0 , qc=0x7ffc720a8910) at ../src/backend/tcop/utility.c:1070 [11:57:21.999] parsetree = 0x55c1cd9c9c70 [11:57:21.999] isTopLevel = true [11:57:21.999] isAtomicContext = false [11:57:21.999] pstate = 0x55c1cd9ce030 [11:57:21.999] readonly_flags = [11:57:21.999] __func__ = "standard_ProcessUtility" [11:57:21.999] #25 0x000055c19fa282e4 in ProcessUtility (pstmt=pstmt@entry=0x55c1cd9c9d20, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55c1a02694a0 , qc=0x7ffc720a8910) at ../src/backend/tcop/utility.c:523 [11:57:21.999] No locals. [11:57:21.999] #26 0x000055c19fa23c09 in PortalRunUtility (portal=portal@entry=0x55c1cd874a20, pstmt=pstmt@entry=0x55c1cd9c9d20, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55c1a02694a0 , qc=qc@entry=0x7ffc720a8910) at ../src/backend/tcop/pquery.c:1184 [11:57:21.999] No locals. [11:57:21.999] #27 0x000055c19fa2420d in PortalRunMulti (portal=portal@entry=0x55c1cd874a20, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55c1a02694a0 , altdest=altdest@entry=0x55c1a02694a0 , qc=qc@entry=0x7ffc720a8910) at ../src/backend/tcop/pquery.c:1348 [11:57:21.999] pstmt = 0x55c1cd9c9d20 [11:57:21.999] stmtlist_item__state = [11:57:21.999] active_snapshot_set = false [11:57:21.999] stmtlist_item = 0x55c1cd9ca0a8 [11:57:21.999] query_index = 0 [11:57:21.999] #28 0x000055c19fa2478c in PortalRun (portal=portal@entry=0x55c1cd874a20, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55c1a02694a0 , altdest=altdest@entry=0x55c1a02694a0 , qc=qc@entry=0x7ffc720a8910) at ../src/backend/tcop/pquery.c:819 [11:57:21.999] _save_exception_stack = 0x7ffc720a89c0 [11:57:21.999] _save_context_stack = 0x0 [11:57:21.999] _local_sigjmp_buf = {{__jmpbuf = {0, 5546438181506055080, 94290865244704, 94290866642152, 94290866642128, 94290866642080, 1766339574035184552, 5546349149586783144}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140722221779103, 94290866642128, 94290866642080, 94290098080831, 94290100778413, 94290865244704, 94290101203966, 1, 1, 0, 34, 94290865244704, 0, 34, 94290865244704}}}} [11:57:21.999] _do_rethrow = [11:57:21.999] result = [11:57:21.999] nprocessed = [11:57:21.999] saveTopTransactionResourceOwner = 0x55c1cd86cd68 [11:57:21.999] saveTopTransactionContext = 0x55c1cd8ce9d0 [11:57:21.999] saveActivePortal = 0x0 [11:57:21.999] saveResourceOwner = 0x55c1cd86cd68 [11:57:21.999] savePortalContext = 0x0 [11:57:21.999] saveMemoryContext = 0x55c1cd8ce9d0 [11:57:21.999] __func__ = "PortalRun" [11:57:21.999] #29 0x000055c19fa1d9b2 in exec_simple_query (query_string=query_string@entry=0x55c1cd9c9000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:21.999] cmdtaglen = 11 [11:57:21.999] snapshot_set = [11:57:21.999] per_parsetree_context = 0x0 [11:57:21.999] plantree_list = 0x55c1cd9ca090 [11:57:21.999] parsetree = 0x55c1cd9c9ca0 [11:57:21.999] commandTag = [11:57:21.999] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:21.999] querytree_list = [11:57:21.999] portal = 0x55c1cd874a20 [11:57:21.999] receiver = 0x55c1a02694a0 [11:57:21.999] format = 0 [11:57:21.999] cmdtagname = [11:57:21.999] parsetree_item__state = [11:57:21.999] dest = DestDebug [11:57:21.999] oldcontext = 0x55c1cd8ce9d0 [11:57:21.999] parsetree_list = 0x55c1cd9c9cd0 [11:57:21.999] parsetree_item = 0x55c1cd9c9ce8 [11:57:21.999] save_log_statement_stats = false [11:57:21.999] was_logged = false [11:57:21.999] use_implicit_block = false [11:57:21.999] msec_str = "\220\214\nr\374\177\000\000\353 Ο\301U\000\000\240\211\nr\374\177\000\000D\000\000\000\000\000\000" [11:57:21.999] __func__ = "exec_simple_query" [11:57:21.999] #30 0x000055c19fa20714 in PostgresMain (dbname=, username=username@entry=0x55c1cd79ba60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:21.999] query_string = 0x55c1cd9c9000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:21.999] firstchar = [11:57:21.999] input_message = {data = 0x55c1cd9c9000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:21.999] local_sigjmp_buf = {{__jmpbuf = {94290111179768, 5546439422462196648, 94290864355936, 140722221780112, 94290103774680, 139986079305760, 1766339574102293416, 5546349161137896360}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94290864556288, 17408, 94290111173824, 94290865029024, 94290103774680, 94290098259225, 2686725592, 10, 140722221779644, 94290111179776, 94290864556288, 94290111173824, 140722221780112, 94290103774680, 139986079305760}}}} [11:57:21.999] send_ready_for_query = false [11:57:21.999] idle_in_transaction_timeout_enabled = false [11:57:21.999] idle_session_timeout_enabled = false [11:57:21.999] __func__ = "PostgresMain" [11:57:21.999] #31 0x000055c19fa20c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55c1cd7cc840, username=0x55c1cd79ba60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:21.999] dbname = 0x55c1cd80f5d0 "template1" [11:57:21.999] __func__ = "PostgresSingleUserMain" [11:57:21.999] #32 0x000055c19f6fee97 in main (argc=12, argv=0x55c1cd7cc840) at ../src/backend/main/main.c:226 [11:57:21.999] do_check_root = [11:57:21.999] dispatch_option = [11:57:22.032] -e [11:57:22.032] [11:57:22.032] [11:57:22.094] dumping /tmp/cores/postgres-6-32641.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:22.356] [New LWP 32641] [11:57:22.356] [11:57:22.356] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:22.356] [11:57:22.356] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:22.356] Debuginfod has been disabled. [11:57:22.356] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:22.456] [Thread debugging using libthread_db enabled] [11:57:22.456] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:22.456] Core was generated by `postgres: main: postgres template1 [local] ANALYZE '. [11:57:22.456] Program terminated with signal SIGABRT, Aborted. [11:57:22.456] #0 0x00007f34feca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:23.450] [11:57:23.450] Thread 1 (Thread 0x7f34fcc1af00 (LWP 32641)): [11:57:23.450] #0 0x00007f34feca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:23.450] No symbol table info available. [11:57:23.450] #1 0x00007f34fec5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:23.450] No symbol table info available. [11:57:23.450] #2 0x00007f34fec45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:23.450] No symbol table info available. [11:57:23.450] #3 0x00007f34fee1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:23.450] No locals. [11:57:23.450] #4 0x00007f34fee2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:23.450] No locals. [11:57:23.450] #5 0x00007f34fee0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55702ffe8440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:23.450] bp = 140722396873296 [11:57:23.450] pc = [11:57:23.450] Opts = {FromUnrecoverableHandler = true, pc = 93940318502309, bp = 319} [11:57:23.450] #6 0x000055702f507da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:23.450] crc0 = [11:57:23.450] len = [11:57:23.450] buf = [11:57:23.450] #7 0x000055702f507e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:23.450] p = [11:57:23.450] pend = [11:57:23.450] orig_crc = [11:57:23.450] orig_len = [11:57:23.450] #8 0x000055702ebe3ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:23.450] No locals. [11:57:23.450] #9 0x000055702ebe4f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=0 '\000', RedoRecPtr=17636624, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc7c7a4348, num_fpi=num_fpi@entry=0x7ffc7c7a433c, topxid_included=0x7ffc7c7a433b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:23.450] rdt = 0x557066d59210 [11:57:23.450] total_len = 319 [11:57:23.450] block_id = 1 [11:57:23.450] rdata_crc = [11:57:23.450] prev_regbuf = 0x557066d5b128 [11:57:23.450] rdt_datas_last = 0x557066d591e0 [11:57:23.450] rechdr = 0x557066d593f0 [11:57:23.450] scratch = 0x557066d5941e "\034" [11:57:23.450] __func__ = "XLogRecordAssemble" [11:57:23.450] #10 0x000055702ebe5f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=0 '\000') at ../src/backend/access/transam/xloginsert.c:520 [11:57:23.450] RedoRecPtr = 17636624 [11:57:23.450] doPageWrites = true [11:57:23.450] topxid_included = false [11:57:23.450] fpw_lsn = 17657456 [11:57:23.450] rdt = [11:57:23.450] num_fpi = 0 [11:57:23.450] EndPos = [11:57:23.450] __func__ = "XLogInsert" [11:57:23.450] #11 0x000055702eaff66b in heap_insert (relation=relation@entry=0x7f34f31cf208, tup=tup@entry=0x557066de41d8, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:23.450] recptr = [11:57:23.450] info = 0 '\000' [11:57:23.450] bufflags = 0 [11:57:23.450] xlrec = {offnum = 2, flags = 0 '\000'} [11:57:23.450] xlhdr = {t_infomask2 = 31, t_infomask = 2051, t_hoff = 32 ' '} [11:57:23.450] page = 0x7f34f3b76000 "" [11:57:23.450] xid = [11:57:23.450] heaptup = 0x557066de41d8 [11:57:23.450] buffer = 236 [11:57:23.450] vmbuffer = 0 [11:57:23.450] all_visible_cleared = false [11:57:23.450] #12 0x000055702eb00bfc in simple_heap_insert (relation=relation@entry=0x7f34f31cf208, tup=tup@entry=0x557066de41d8) at ../src/backend/access/heap/heapam.c:2641 [11:57:23.450] No locals. [11:57:23.450] #13 0x000055702ec38748 in CatalogTupleInsertWithInfo (heapRel=heapRel@entry=0x7f34f31cf208, tup=tup@entry=0x557066de41d8, indstate=indstate@entry=0x557066de3fc8) at ../src/backend/catalog/indexing.c:261 [11:57:23.450] No locals. [11:57:23.450] #14 0x000055702ec82106 in update_attstats (relid=1255, inh=inh@entry=false, natts=natts@entry=30, vacattrstats=vacattrstats@entry=0x557066e0fb78) at ../src/backend/commands/analyze.c:1775 [11:57:23.450] stats = [11:57:23.450] stup = 0x557066de41d8 [11:57:23.450] oldtup = 0x0 [11:57:23.450] i = 31 [11:57:23.450] k = [11:57:23.450] values = {1255, 2, 0, 0, 64, 18446744072620480432, 2, 3, 0, 0, 0, 660, 660, 0, 0, 0, 950, 950, 0, 0, 0, 0, 93941250794480, 0, 0, 0, 93941250676584, 0, 0, 0, 0} [11:57:23.450] n = [11:57:23.450] nulls = {false , true, false, true, true, true, false, true, true, true, true} [11:57:23.450] replaces = {true } [11:57:23.450] sd = [11:57:23.450] attno = 1 [11:57:23.450] indstate = 0x557066de3fc8 [11:57:23.450] #15 0x000055702ec86f5f in do_analyze_rel (onerel=onerel@entry=0x7f34f31c85f8, params=params@entry=0x7ffc7c7a4ac0, va_cols=va_cols@entry=0x0, acquirefunc=, relpages=87, inh=inh@entry=false, in_outer_xact=false, elevel=13) at ../src/backend/commands/analyze.c:601 [11:57:23.450] col_context = 0x557066e119d0 [11:57:23.450] old_context = 0x557066e0f9c0 [11:57:23.450] attr_cnt = 30 [11:57:23.450] tcnt = [11:57:23.450] i = [11:57:23.450] ind = [11:57:23.450] Irel = 0x557066de3b18 [11:57:23.450] nindexes = 2 [11:57:23.450] verbose = [11:57:23.450] instrument = false [11:57:23.450] hasindex = true [11:57:23.450] vacattrstats = [11:57:23.450] indexdata = 0x557066de3b38 [11:57:23.450] targrows = [11:57:23.450] numrows = 300 [11:57:23.450] minrows = [11:57:23.450] totalrows = 3372 [11:57:23.450] totaldeadrows = 0 [11:57:23.450] rows = 0x557066de8f58 [11:57:23.450] ru0 = {tv = {tv_sec = 140722396874908, tv_usec = 139865590534624}, ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec = 0, tv_usec = 93941250043080}, {ru_maxrss = 1255, __ru_maxrss_word = 1255}, {ru_ixrss = 1262, __ru_ixrss_word = 1262}, {ru_idrss = 10, __ru_idrss_word = 10}, {ru_isrss = 93940309136376, __ru_isrss_word = 93940309136376}, {ru_minflt = 0, __ru_minflt_word = 0}, {ru_majflt = 13, __ru_majflt_word = 13}, {ru_nswap = 93941249650816, __ru_nswap_word = 93941249650816}, {ru_inblock = 93941250332104, __ru_inblock_word = 93941250332104}, {ru_oublock = 0, __ru_oublock_word = 0}, {ru_msgsnd = 93940314712211, __ru_msgsnd_word = 93940314712211}, {ru_msgrcv = 93941249802304, __ru_msgrcv_word = 93941249802304}, {ru_nsignals = 93940315087064, __ru_nsignals_word = 93940315087064}, {ru_nvcsw = 93941250332104, __ru_nvcsw_word = 93941250332104}, {ru_nivcsw = 93940315096662, __ru_nivcsw_word = 93940315096662}}} [11:57:23.450] starttime = 793799123995144 [11:57:23.450] caller_context = 0x557066d40520 [11:57:23.450] save_userid = 10 [11:57:23.450] save_sec_context = 0 [11:57:23.450] save_nestlevel = 2 [11:57:23.450] startwalusage = {wal_records = 0, wal_fpi = 0, wal_bytes = 0, wal_buffers_full = 0} [11:57:23.450] startbufferusage = {shared_blks_hit = 574, shared_blks_read = 26, shared_blks_dirtied = 0, shared_blks_written = 0, local_blks_hit = 0, local_blks_read = 0, local_blks_dirtied = 0, local_blks_written = 0, temp_blks_read = 0, temp_blks_written = 0, shared_blk_read_time = {ticks = 0}, shared_blk_write_time = {ticks = 0}, local_blk_read_time = {ticks = 0}, local_blk_write_time = {ticks = 0}, temp_blk_read_time = {ticks = 0}, temp_blk_write_time = {ticks = 0}} [11:57:23.450] bufferusage = {shared_blks_hit = 0, shared_blks_read = 0, shared_blks_dirtied = 2829496995, shared_blks_written = 93941249379312, local_blks_hit = 139865538522240, local_blks_read = 3, local_blks_dirtied = 16, local_blks_written = 93940317997663, temp_blks_read = 140722396874624, temp_blks_written = 139865590534624, shared_blk_read_time = {ticks = 14610224816}, shared_blk_write_time = {ticks = 140722396874623}, local_blk_read_time = {ticks = 20}, local_blk_write_time = {ticks = 139865538628888}, temp_blk_read_time = {ticks = 140722396874768}, temp_blk_write_time = {ticks = 139865537880488}} [11:57:23.450] startreadtime = 0 [11:57:23.450] startwritetime = 0 [11:57:23.450] __func__ = "do_analyze_rel" [11:57:23.450] #16 0x000055702ec87f9b in analyze_rel (relid=, relation=0x557066d0b080, params=params@entry=0x7ffc7c7a4ac0, va_cols=0x0, in_outer_xact=, bstrategy=bstrategy@entry=0x557066df6f90) at ../src/backend/commands/analyze.c:249 [11:57:23.450] onerel = 0x7f34f31c85f8 [11:57:23.450] elevel = 13 [11:57:23.450] acquirefunc = 0x55702ec7e89e [11:57:23.450] relpages = 87 [11:57:23.450] __func__ = "analyze_rel" [11:57:23.450] #17 0x000055702ed94a96 in vacuum (relations=0x557066df7820, params=params@entry=0x7ffc7c7a4ac0, bstrategy=0x557066df6f90, vac_context=vac_context@entry=0x557066df6e90, isTopLevel=isTopLevel@entry=true) at ../src/backend/commands/vacuum.c:653 [11:57:23.450] vrel = 0x557066df77a0 [11:57:23.450] cur__state = [11:57:23.450] cur = [11:57:23.450] _save_exception_stack = 0x7ffc7c7a4cf0 [11:57:23.450] _save_context_stack = 0x0 [11:57:23.450] _local_sigjmp_buf = {{__jmpbuf = {93941250619424, 5263055514833071888, 1, 1, 93941250616976, 93941249869088, 2022701511815540496, 5263213766509932304}, __mask_was_saved = 0, __saved_mask = {__val = {140722396875540, 93940321053529, 93940318172572, 93941250616976, 1036, 8, 93940318176989, 0, 8, 140722396875574, 1036, 256, 93941249651024, 0, 1, 93941249651024}}}} [11:57:23.450] _do_rethrow = false [11:57:23.450] in_vacuum = true [11:57:23.450] stmttype = [11:57:23.450] in_outer_xact = false [11:57:23.450] use_own_xacts = false [11:57:23.450] __func__ = "vacuum" [11:57:23.450] #18 0x000055702ed95821 in ExecVacuum (pstate=pstate@entry=0x557066d40620, vacstmt=vacstmt@entry=0x557066d0b150, isTopLevel=isTopLevel@entry=true) at ../src/backend/commands/vacuum.c:466 [11:57:23.450] params = {options = 194, freeze_min_age = -1, freeze_table_age = -1, multixact_freeze_min_age = -1, multixact_freeze_table_age = -1, is_wraparound = false, log_min_duration = -1, index_cleanup = VACOPTVALUE_UNSPECIFIED, truncate = VACOPTVALUE_UNSPECIFIED, toast_parent = 0, max_eager_freeze_failure_rate = 0.029999999999999999, nworkers = 0} [11:57:23.450] bstrategy = [11:57:23.450] verbose = false [11:57:23.450] skip_locked = false [11:57:23.450] analyze = false [11:57:23.450] freeze = false [11:57:23.450] full = false [11:57:23.450] disable_page_skipping = false [11:57:23.450] process_main = true [11:57:23.450] process_toast = true [11:57:23.450] ring_size = 2048 [11:57:23.450] skip_database_stats = false [11:57:23.450] only_database_stats = false [11:57:23.450] vac_context = 0x557066df6e90 [11:57:23.450] lc = [11:57:23.450] __func__ = "ExecVacuum" [11:57:23.450] #19 0x000055702f1dfba1 in standard_ProcessUtility (pstmt=0x557066d0b200, queryString=0x557066d0a610 "ANALYZE pg_catalog.pg_proc;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x557066d0b5c0, qc=0x7ffc7c7a4e10) at ../src/backend/tcop/utility.c:862 [11:57:23.450] parsetree = 0x557066d0b150 [11:57:23.450] isTopLevel = true [11:57:23.450] isAtomicContext = false [11:57:23.450] pstate = 0x557066d40620 [11:57:23.450] readonly_flags = [11:57:23.450] __func__ = "standard_ProcessUtility" [11:57:23.450] #20 0x000055702f1e02e4 in ProcessUtility (pstmt=pstmt@entry=0x557066d0b200, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x557066d0b5c0, qc=0x7ffc7c7a4e10) at ../src/backend/tcop/utility.c:523 [11:57:23.450] No locals. [11:57:23.450] #21 0x000055702f1dbc09 in PortalRunUtility (portal=portal@entry=0x557066d89690, pstmt=pstmt@entry=0x557066d0b200, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x557066d0b5c0, qc=qc@entry=0x7ffc7c7a4e10) at ../src/backend/tcop/pquery.c:1184 [11:57:23.450] No locals. [11:57:23.450] #22 0x000055702f1dc20d in PortalRunMulti (portal=portal@entry=0x557066d89690, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x557066d0b5c0, altdest=altdest@entry=0x557066d0b5c0, qc=qc@entry=0x7ffc7c7a4e10) at ../src/backend/tcop/pquery.c:1348 [11:57:23.450] pstmt = 0x557066d0b200 [11:57:23.450] stmtlist_item__state = [11:57:23.450] active_snapshot_set = false [11:57:23.450] stmtlist_item = 0x557066d0b588 [11:57:23.450] query_index = 0 [11:57:23.450] #23 0x000055702f1dc78c in PortalRun (portal=portal@entry=0x557066d89690, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x557066d0b5c0, altdest=altdest@entry=0x557066d0b5c0, qc=qc@entry=0x7ffc7c7a4e10) at ../src/backend/tcop/pquery.c:819 [11:57:23.450] _save_exception_stack = 0x7ffc7c7a4ec0 [11:57:23.450] _save_context_stack = 0x0 [11:57:23.450] _local_sigjmp_buf = {{__jmpbuf = {0, 5263055514707242768, 93941250168464, 93941249651144, 93941249651120, 93941249651072, 2022701511670837008, 5263215385778663184}, __mask_was_saved = 0, __saved_mask = {__val = {93940318176989, 2088390047, 4, 93941249651072, 112, 45, 93941250168464, 93941249651144, 93941249651120, 93941249651072, 93940318264192, 45, 2, 45, 93940307458295, 0}}}} [11:57:23.450] _do_rethrow = [11:57:23.450] result = [11:57:23.450] nprocessed = [11:57:23.450] saveTopTransactionResourceOwner = 0x557066d46148 [11:57:23.450] saveTopTransactionContext = 0x557066d9b6b0 [11:57:23.450] saveActivePortal = 0x0 [11:57:23.450] saveResourceOwner = 0x557066d46148 [11:57:23.450] savePortalContext = 0x0 [11:57:23.450] saveMemoryContext = 0x557066d9b6b0 [11:57:23.450] __func__ = "PortalRun" [11:57:23.450] #24 0x000055702f1d59b2 in exec_simple_query (query_string=query_string@entry=0x557066d0a610 "ANALYZE pg_catalog.pg_proc;") at ../src/backend/tcop/postgres.c:1272 [11:57:23.450] cmdtaglen = 7 [11:57:23.450] snapshot_set = [11:57:23.450] per_parsetree_context = 0x0 [11:57:23.450] plantree_list = 0x557066d0b570 [11:57:23.450] parsetree = 0x557066d0b180 [11:57:23.450] commandTag = [11:57:23.450] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:23.450] querytree_list = [11:57:23.450] portal = 0x557066d89690 [11:57:23.450] receiver = 0x557066d0b5c0 [11:57:23.450] format = 0 [11:57:23.450] cmdtagname = [11:57:23.450] parsetree_item__state = [11:57:23.450] dest = DestRemote [11:57:23.450] oldcontext = 0x557066d9b6b0 [11:57:23.450] parsetree_list = 0x557066d0b1b0 [11:57:23.450] parsetree_item = 0x557066d0b1c8 [11:57:23.450] save_log_statement_stats = false [11:57:23.450] was_logged = true [11:57:23.450] use_implicit_block = false [11:57:23.450] msec_str = "\004\000\000\000\000\000\000\000\353\240I/pU\000\000\240Nz|\374\177\000\000\034\000\000\000\000\000\000" [11:57:23.450] __func__ = "exec_simple_query" [11:57:23.450] #25 0x000055702f1d8714 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4693 [11:57:23.450] query_string = 0x557066d0a610 "ANALYZE pg_catalog.pg_proc;" [11:57:23.450] firstchar = [11:57:23.450] input_message = {data = 0x557066d0a610 "ANALYZE pg_catalog.pg_proc;", len = 28, maxlen = 1024, cursor = 28} [11:57:23.450] local_sigjmp_buf = {{__jmpbuf = {93940331097080, 5263173712433721104, 140722396876828, 4, 1, 140722396877060, 2022701511737945872, 5263215379596259088}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93941249378624, 16128, 93940331091136, 93941249888512, 1, 93940318176537, 0, 9, 2, 93940331097088, 93941249378624, 93940331091136, 4, 1, 140722396877060}}}} [11:57:23.450] send_ready_for_query = false [11:57:23.450] idle_in_transaction_timeout_enabled = false [11:57:23.450] idle_session_timeout_enabled = false [11:57:23.450] __func__ = "PostgresMain" [11:57:23.450] #26 0x000055702f1ce748 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [11:57:23.450] bsdata = [11:57:23.450] #27 0x000055702f07df23 in postmaster_child_launch (child_type=B_BACKEND, child_slot=1, startup_data=startup_data@entry=0x7ffc7c7a501c, startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffc7c7a5070) at ../src/backend/postmaster/launch_backend.c:274 [11:57:23.450] pid = [11:57:23.450] #28 0x000055702f08311e in BackendStartup (client_sock=client_sock@entry=0x7ffc7c7a5070) at ../src/backend/postmaster/postmaster.c:3523 [11:57:23.450] bn = 0x557066d32c18 [11:57:23.450] pid = [11:57:23.450] startup_data = {canAcceptConnections = CAC_OK} [11:57:23.450] cac = [11:57:23.450] __func__ = "BackendStartup" [11:57:23.450] #29 0x000055702f0851ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1689 [11:57:23.450] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = '\000' , "\303\354\036.pU\000\000\260\310\032.pU\000\000\300Qz|\374\177\000\000\270Qz|\374\177\000\000\225[\362\001\000\000\000\000\240t\250\3774\177\000\000+", '\000' , "\374\177\000\000\000\004\000\000\000\000\000\000h&T\0005\177\000\0000v\250\3774\177\000\000\340\"T\0005\177\000\000\316)fR\000\000\000", __ss_align = 2088391168}, salen = 2}} [11:57:23.450] i = 0 [11:57:23.450] now = [11:57:23.450] last_lockfile_recheck_time = 1740483923 [11:57:23.450] last_touch_time = 1740483923 [11:57:23.450] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 5513952, user_data = 0x0}, {pos = 2088391232, events = 32764, fd = 5343816, user_data = 0xf}, {pos = -5736912, events = 32564, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = 5513952, user_data = 0x7ffc7c7a51b8}, {pos = 2088391104, events = 32764, fd = 5514856, user_data = 0x0}, {pos = 1724957360, events = 21872, fd = -20219254, user_data = 0x557066d0c2b0}, {pos = 1, events = 21872, fd = 32768, user_data = 0xffffffff}, {pos = -20783072, events = 32564, fd = 1286048, user_data = 0x557066d37c28}, {pos = 1725135624, events = 21872, fd = 1725135073, user_data = 0x7f350051eebe}, {pos = 1, events = 0, fd = 5513952, user_data = 0x1aa}, {pos = 799235408, events = 21872, fd = 0, user_data = 0xe5}, {pos = 1724957360, events = 21872, fd = 5369534, user_data = 0x1}, {pos = 0, events = 0, fd = -20783072, user_data = 0x7f34fecf2e40 }, {pos = 16, events = 0, fd = 2088392240, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7f35005211ba}, {pos = 0, events = 0, fd = -20255324, user_data = 0x0}, {pos = 806297728, events = 21872, fd = 2, user_data = 0x0}, {pos = 1724697056, events = 21872, fd = 790001219, user_data = 0x557066d3d0c0}, {pos = 790005208, events = 21872, fd = 1725157659, user_data = 0x2ffff00001fa0}, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x1}, {pos = 0, events = 0, fd = -20749112, user_data = 0x7f34fec9c880 }, {pos = -54415944, events = 32564, fd = 2088392432, user_data = 0x100007f00000002}, {pos = -20221843, events = 32564, fd = 2, user_data = 0x557066d3d0c0}, {pos = 255, events = 0, fd = 0, user_data = 0x2}, {pos = -18932640, events = 32564, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 1949262196, user_data = 0x646d75756361765f}, {pos = 1668493166, events = 1953524082, fd = 808529779, user_data = 0x24e6f20e82e727e4}, {pos = 926635331, events = 8, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1725140784, events = 21872, fd = 1080, user_data = 0x557066d37900}, {pos = 793476636, events = 21872, fd = 1024, user_data = 0x7f34fecb58be}, {pos = -18949664, events = 32564, fd = -20311698, user_data = 0x100000400}, {pos = 7, events = 0, fd = 1725136144, user_data = 0xa744db83e7a7100}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x557066d37900}, {pos = 1, events = 0, fd = 1725135304, user_data = 0x3}, {pos = 0, events = 0, fd = 32602, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1724957360, user_data = 0x7f34fecf3053 }, {pos = 1725135304, events = 21872, fd = 1024, user_data = 0x7ffc7c7a56f8}, {pos = 793557776, events = 21872, fd = 806398896, user_data = 0x55702f4ba5cd }, {pos = 1725135104, events = 21872, fd = 1724949776, user_data = 0x557066d37900}, {pos = -20227906, events = 32564, fd = 0, user_data = 0x55702f4cc237 }, {pos = 1725135104, events = 1, fd = 793559936, user_data = 0x557066d0a510}, {pos = 1048211712, events = 175394232, fd = 0, user_data = 0x7f34feca2ab1}, {pos = -20310800, events = 32564, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1724697056, user_data = 0xa744db83e7a7100}, {pos = 0, events = 0, fd = 1048211712, user_data = 0xc}, {pos = 1048211712, events = 175394232, fd = 0, user_data = 0x7f34fec5b239 }, {pos = 230, events = 0, fd = 789044256, user_data = 0x400000}, {pos = 0, events = 0, fd = 1724697056, user_data = 0x55702f4ba461 }, {pos = 1724783680, events = 21872, fd = 1724949776, user_data = 0x557066ce1c40}, {pos = 1, events = 0, fd = 0, user_data = 0x55702f478bfa }, {pos = 12, events = 0, fd = 1725126440, user_data = 0x557066d35708}, {pos = 806299136, events = 21872, fd = 296, user_data = 0x55702f08043a }, {pos = 12, events = 0, fd = 0, user_data = 0x0}, {pos = 789060621, events = 21872, fd = 802668528, user_data = 0x557066d0aec8}} [11:57:23.450] nevents = 1 [11:57:23.450] __func__ = "ServerLoop" [11:57:23.450] #30 0x000055702f086a52 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x557066cc8840) at ../src/backend/postmaster/postmaster.c:1387 [11:57:23.450] opt = [11:57:23.450] status = [11:57:23.450] userDoption = [11:57:23.450] listen_addr_saved = false [11:57:23.450] output_config_variable = [11:57:23.450] __func__ = "PostmasterMain" [11:57:23.450] #31 0x000055702eeb6da3 in main (argc=4, argv=0x557066cc8840) at ../src/backend/main/main.c:230 [11:57:23.450] do_check_root = [11:57:23.450] dispatch_option = [11:57:23.481] -e [11:57:23.481] [11:57:23.481] [11:57:23.542] dumping /tmp/cores/postgres-6-30075.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:23.784] [New LWP 30075] [11:57:23.784] [11:57:23.784] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:23.784] [11:57:23.784] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:23.784] Debuginfod has been disabled. [11:57:23.784] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:23.885] [Thread debugging using libthread_db enabled] [11:57:23.885] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:23.885] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:23.885] Program terminated with signal SIGABRT, Aborted. [11:57:23.885] #0 0x00007f4744aa9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:24.876] [11:57:24.876] Thread 1 (Thread 0x7f4745237f00 (LWP 30075)): [11:57:24.876] #0 0x00007f4744aa9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:24.876] No symbol table info available. [11:57:24.876] #1 0x00007f4744a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:24.876] No symbol table info available. [11:57:24.876] #2 0x00007f4744a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:24.876] No symbol table info available. [11:57:24.876] #3 0x00007f4744c1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:24.876] No locals. [11:57:24.876] #4 0x00007f4744c2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:24.876] No locals. [11:57:24.876] #5 0x00007f4744c0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x56494f423440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:24.876] bp = 140730995112368 [11:57:24.876] pc = [11:57:24.876] Opts = {FromUnrecoverableHandler = true, pc = 94872850935205, bp = 194} [11:57:24.876] #6 0x000056494e942da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:24.876] crc0 = [11:57:24.876] len = [11:57:24.876] buf = [11:57:24.876] #7 0x000056494e942e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:24.876] p = [11:57:24.876] pend = [11:57:24.876] orig_crc = [11:57:24.876] orig_len = [11:57:24.876] #8 0x000056494e01eef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:24.876] No locals. [11:57:24.876] #9 0x000056494e01ff85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17513232, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffe7cf8faa8, num_fpi=num_fpi@entry=0x7ffe7cf8fa9c, topxid_included=0x7ffe7cf8fa9b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:24.876] rdt = 0x5649808fc210 [11:57:24.876] total_len = 194 [11:57:24.876] block_id = 1 [11:57:24.876] rdata_crc = [11:57:24.876] prev_regbuf = 0x5649808fe128 [11:57:24.876] rdt_datas_last = 0x5649808fc1e0 [11:57:24.876] rechdr = 0x5649808fc3f0 [11:57:24.876] scratch = 0x5649808fc41e "" [11:57:24.876] __func__ = "XLogRecordAssemble" [11:57:24.876] #10 0x000056494e020f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:24.876] RedoRecPtr = 17513232 [11:57:24.876] doPageWrites = true [11:57:24.876] topxid_included = false [11:57:24.876] fpw_lsn = 0 [11:57:24.876] rdt = [11:57:24.876] num_fpi = 0 [11:57:24.876] EndPos = [11:57:24.876] __func__ = "XLogInsert" [11:57:24.876] #11 0x000056494df3a66b in heap_insert (relation=relation@entry=0x56498099a0f0, tup=tup@entry=0x564980a8b260, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:24.876] recptr = [11:57:24.876] info = 128 '\200' [11:57:24.876] bufflags = 6 [11:57:24.876] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:24.876] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:24.876] page = 0x7f4739882000 "" [11:57:24.876] xid = [11:57:24.876] heaptup = 0x564980a8b260 [11:57:24.876] buffer = 97 [11:57:24.876] vmbuffer = 0 [11:57:24.876] all_visible_cleared = false [11:57:24.876] #12 0x000056494df3bbfc in simple_heap_insert (relation=relation@entry=0x56498099a0f0, tup=tup@entry=0x564980a8b260) at ../src/backend/access/heap/heapam.c:2641 [11:57:24.876] No locals. [11:57:24.876] #13 0x000056494e07370e in CatalogTupleInsert (heapRel=heapRel@entry=0x56498099a0f0, tup=0x564980a8b260) at ../src/backend/catalog/indexing.c:241 [11:57:24.876] indstate = 0x564980a810f8 [11:57:24.876] #14 0x000056494e094d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x564980a88d20 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffe7cf8fe7c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:24.876] conDesc = 0x56498099a0f0 [11:57:24.876] conOid = 10115 [11:57:24.876] tup = [11:57:24.876] nulls = {false , true, true, true, true, true, true, true} [11:57:24.876] values = {10115, 140730995112976, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94873691141032, 0, 0, 0, 0, 0, 0, 0} [11:57:24.876] conkeyArray = 0x564980a8b3a8 [11:57:24.876] confkeyArray = 0x0 [11:57:24.876] conpfeqopArray = 0x0 [11:57:24.876] conppeqopArray = 0x0 [11:57:24.876] conffeqopArray = 0x0 [11:57:24.876] conexclopArray = 0x0 [11:57:24.876] confdelsetcolsArray = [11:57:24.876] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:24.876] i = [11:57:24.876] conobject = {classId = 32766, objectId = 2156961184, objectSubId = 22089} [11:57:24.876] addrs_auto = [11:57:24.876] addrs_normal = [11:57:24.876] #15 0x000056494e05d44e in StoreRelNotNull (rel=rel@entry=0x56498094e578, nnname=nnname@entry=0x564980a88d20 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:24.876] constrOid = [11:57:24.876] #16 0x000056494e065556 in AddRelationNewConstraints (rel=rel@entry=0x56498094e578, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x564980a88410, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:24.876] nncooked = [11:57:24.876] colnum = 1 [11:57:24.876] inhcount = 0 [11:57:24.876] nnname = 0x564980a88d20 "pg_proc_oid_not_null" [11:57:24.876] constrOid = [11:57:24.876] cdef__state = [11:57:24.876] cdef = 0x564980a869b0 [11:57:24.876] cdef__outerloop = [11:57:24.876] cookedConstraints = 0x0 [11:57:24.876] tupleDesc = [11:57:24.876] oldconstr = [11:57:24.876] numoldchecks = [11:57:24.876] pstate = 0x564980a86d88 [11:57:24.876] nsitem = [11:57:24.876] numchecks = 0 [11:57:24.876] checknames = 0x0 [11:57:24.876] nnnames = 0x564980a8ad90 [11:57:24.876] expr = [11:57:24.876] cooked = [11:57:24.876] __func__ = "AddRelationNewConstraints" [11:57:24.876] #17 0x000056494e18cbae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffe7cf90148, tab=tab@entry=0x564980a81308, rel=rel@entry=0x56498094e578, constr=constr@entry=0x564980a86f48, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:24.876] newcons = [11:57:24.876] lcon = [11:57:24.876] children = [11:57:24.876] child = [11:57:24.876] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:24.876] __func__ = "ATAddCheckNNConstraint" [11:57:24.876] #18 0x000056494e18d291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffe7cf90148, tab=tab@entry=0x564980a81308, rel=rel@entry=0x56498094e578, newConstraint=0x564980a86f48, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:24.876] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:24.876] __func__ = "ATExecAddConstraint" [11:57:24.876] #19 0x000056494e19951e in ATExecCmd (wqueue=wqueue@entry=0x7ffe7cf90148, tab=tab@entry=0x564980a81308, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffe7cf90230) at ../src/backend/commands/tablecmds.c:5428 [11:57:24.876] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:24.876] rel = 0x56498094e578 [11:57:24.876] __func__ = "ATExecCmd" [11:57:24.876] #20 0x000056494e19a3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffe7cf90148, lockmode=lockmode@entry=8, context=context@entry=0x7ffe7cf90230) at ../src/backend/commands/tablecmds.c:5294 [11:57:24.876] lcmd__state = [11:57:24.876] tab = 0x564980a81308 [11:57:24.876] subcmds = 0x564980a88338 [11:57:24.876] lcmd = [11:57:24.876] ltab__state = [11:57:24.876] pass = AT_PASS_COL_ATTRS [11:57:24.876] ltab = [11:57:24.876] #21 0x000056494e19a90d in ATController (parsetree=parsetree@entry=0x564980a6d4b0, rel=rel@entry=0x56498094e578, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffe7cf90230) at ../src/backend/commands/tablecmds.c:4849 [11:57:24.876] wqueue = 0x564980a71980 [11:57:24.876] lcmd = 0x0 [11:57:24.876] #22 0x000056494e19a9c4 in AlterTable (stmt=stmt@entry=0x564980a6d4b0, lockmode=lockmode@entry=8, context=context@entry=0x7ffe7cf90230) at ../src/backend/commands/tablecmds.c:4504 [11:57:24.876] rel = 0x56498094e578 [11:57:24.876] #23 0x000056494e61bb4d in ProcessUtilitySlow (pstate=pstate@entry=0x564980a71870, pstmt=pstmt@entry=0x564980a6d560, queryString=queryString@entry=0x564980a6c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x56494ee5c4a0 , qc=0x7ffe7cf90730) at ../src/backend/tcop/utility.c:1321 [11:57:24.876] atcontext = {pstmt = 0x564980a6d560, queryString = 0x564980a6c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:24.876] atstmt = 0x564980a6d4b0 [11:57:24.876] relid = 1255 [11:57:24.876] lockmode = 8 [11:57:24.876] cell = 0x0 [11:57:24.876] _save_exception_stack = 0x7ffe7cf90610 [11:57:24.876] _save_context_stack = 0x0 [11:57:24.876] _local_sigjmp_buf = {{__jmpbuf = {0, -2562450833263954715, 94873691018416, 0, 94873691015232, 0, -8133606254633945883, -2562050083877161755}, __mask_was_saved = 0, __saved_mask = {__val = {139942919405569, 140730995114744, 4294967295, 139944070973520, 139944093462432, 94872863449888, 94872847857668, 139944025500480, 94871532601345, 0, 139944097690336, 332, 94872856365664, 140730995116720, 94872856124888, 139944097685536}}}} [11:57:24.876] _do_rethrow = false [11:57:24.876] parsetree = 0x564980a6d4b0 [11:57:24.876] isTopLevel = true [11:57:24.876] isCompleteQuery = true [11:57:24.876] needCleanup = false [11:57:24.876] commandCollected = false [11:57:24.876] address = {classId = 22089, objectId = 2158417072, objectSubId = 22089} [11:57:24.876] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:24.876] __func__ = "ProcessUtilitySlow" [11:57:24.876] #24 0x000056494e61b189 in standard_ProcessUtility (pstmt=0x564980a6d560, queryString=0x564980a6c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x56494ee5c4a0 , qc=0x7ffe7cf90730) at ../src/backend/tcop/utility.c:1070 [11:57:24.876] parsetree = 0x564980a6d4b0 [11:57:24.876] isTopLevel = true [11:57:24.876] isAtomicContext = false [11:57:24.876] pstate = 0x564980a71870 [11:57:24.876] readonly_flags = [11:57:24.876] __func__ = "standard_ProcessUtility" [11:57:24.876] #25 0x000056494e61b2e4 in ProcessUtility (pstmt=pstmt@entry=0x564980a6d560, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x56494ee5c4a0 , qc=0x7ffe7cf90730) at ../src/backend/tcop/utility.c:523 [11:57:24.876] No locals. [11:57:24.876] #26 0x000056494e616c09 in PortalRunUtility (portal=portal@entry=0x564980918660, pstmt=pstmt@entry=0x564980a6d560, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56494ee5c4a0 , qc=qc@entry=0x7ffe7cf90730) at ../src/backend/tcop/pquery.c:1184 [11:57:24.876] No locals. [11:57:24.876] #27 0x000056494e61720d in PortalRunMulti (portal=portal@entry=0x564980918660, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56494ee5c4a0 , altdest=altdest@entry=0x56494ee5c4a0 , qc=qc@entry=0x7ffe7cf90730) at ../src/backend/tcop/pquery.c:1348 [11:57:24.876] pstmt = 0x564980a6d560 [11:57:24.876] stmtlist_item__state = [11:57:24.876] active_snapshot_set = false [11:57:24.876] stmtlist_item = 0x564980a6d8e8 [11:57:24.876] query_index = 0 [11:57:24.876] #28 0x000056494e61778c in PortalRun (portal=portal@entry=0x564980918660, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x56494ee5c4a0 , altdest=altdest@entry=0x56494ee5c4a0 , qc=qc@entry=0x7ffe7cf90730) at ../src/backend/tcop/pquery.c:819 [11:57:24.876] _save_exception_stack = 0x7ffe7cf907e0 [11:57:24.876] _save_context_stack = 0x0 [11:57:24.876] _local_sigjmp_buf = {{__jmpbuf = {0, -2562051152692251419, 94873689622112, 94873691018536, 94873691018512, 94873691018464, -8133606254503922459, -2562050090158394139}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140730995115711, 94873691018512, 94873691018464, 94872850431039, 94872853128621, 94873689622112, 94872853554174, 1, 1, 0, 34, 94873689622112, 0, 34, 94873689622112}}}} [11:57:24.876] _do_rethrow = [11:57:24.876] result = [11:57:24.876] nprocessed = [11:57:24.876] saveTopTransactionResourceOwner = 0x5649809109a8 [11:57:24.876] saveTopTransactionContext = 0x564980972610 [11:57:24.876] saveActivePortal = 0x0 [11:57:24.876] saveResourceOwner = 0x5649809109a8 [11:57:24.876] savePortalContext = 0x0 [11:57:24.876] saveMemoryContext = 0x564980972610 [11:57:24.876] __func__ = "PortalRun" [11:57:24.876] #29 0x000056494e6109b2 in exec_simple_query (query_string=query_string@entry=0x564980a6c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:24.876] cmdtaglen = 11 [11:57:24.876] snapshot_set = [11:57:24.876] per_parsetree_context = 0x0 [11:57:24.876] plantree_list = 0x564980a6d8d0 [11:57:24.876] parsetree = 0x564980a6d4e0 [11:57:24.876] commandTag = [11:57:24.876] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:24.876] querytree_list = [11:57:24.876] portal = 0x564980918660 [11:57:24.876] receiver = 0x56494ee5c4a0 [11:57:24.876] format = 0 [11:57:24.876] cmdtagname = [11:57:24.876] parsetree_item__state = [11:57:24.876] dest = DestDebug [11:57:24.876] oldcontext = 0x564980972610 [11:57:24.876] parsetree_list = 0x564980a6d510 [11:57:24.876] parsetree_item = 0x564980a6d528 [11:57:24.876] save_log_statement_stats = false [11:57:24.876] was_logged = false [11:57:24.876] use_implicit_block = false [11:57:24.876] msec_str = "\260\n\371|\376\177\000\000\353P\215NIV\000\000\300\a\371|\376\177\000\000D\000\000\000\000\000\000" [11:57:24.876] __func__ = "exec_simple_query" [11:57:24.876] #30 0x000056494e613714 in PostgresMain (dbname=, username=username@entry=0x56498083e280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:24.876] query_string = 0x564980a6c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:24.876] firstchar = [11:57:24.876] input_message = {data = 0x564980a6c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:24.876] local_sigjmp_buf = {{__jmpbuf = {94872863529976, -2562047436761205531, 94873688728192, 140730995116720, 94872856124888, 139944097685536, -8133606254436813595, -2562050088270957339}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94873688930544, 17408, 94872863524032, 94873689406432, 94872856124888, 94872850609433, 1323523544, 10, 140730995116252, 94872863529984, 94873688930544, 94872863524032, 140730995116720, 94872856124888, 139944097685536}}}} [11:57:24.876] send_ready_for_query = false [11:57:24.876] idle_in_transaction_timeout_enabled = false [11:57:24.876] idle_session_timeout_enabled = false [11:57:24.876] __func__ = "PostgresMain" [11:57:24.876] #31 0x000056494e613c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x56498086f830, username=0x56498083e280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:24.876] dbname = 0x5649808b2200 "template1" [11:57:24.876] __func__ = "PostgresSingleUserMain" [11:57:24.876] #32 0x000056494e2f1e97 in main (argc=12, argv=0x56498086f830) at ../src/backend/main/main.c:226 [11:57:24.876] do_check_root = [11:57:24.876] dispatch_option = [11:57:24.907] -e [11:57:24.907] [11:57:24.907] [11:57:24.970] dumping /tmp/cores/postgres-6-32920.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:25.224] [New LWP 32920] [11:57:25.224] [11:57:25.224] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:25.224] [11:57:25.224] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:25.224] Debuginfod has been disabled. [11:57:25.224] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:25.325] [Thread debugging using libthread_db enabled] [11:57:25.325] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:25.325] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:25.325] Program terminated with signal SIGABRT, Aborted. [11:57:25.325] #0 0x00007fde642a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:26.305] [11:57:26.305] Thread 1 (Thread 0x7fde6221df00 (LWP 32920)): [11:57:26.305] #0 0x00007fde642a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:26.305] No symbol table info available. [11:57:26.305] #1 0x00007fde6425afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:26.305] No symbol table info available. [11:57:26.305] #2 0x00007fde64245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:26.305] No symbol table info available. [11:57:26.305] #3 0x00007fde6441e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:26.305] No locals. [11:57:26.305] #4 0x00007fde6442aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:26.305] No locals. [11:57:26.305] #5 0x00007fde6440d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x5611474f1440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:26.305] bp = 140735328146464 [11:57:26.305] pc = [11:57:26.305] Opts = {FromUnrecoverableHandler = true, pc = 94632199392677, bp = 194} [11:57:26.305] #6 0x0000561146a10da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:26.305] crc0 = [11:57:26.305] len = [11:57:26.305] buf = [11:57:26.305] #7 0x0000561146a10e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:26.305] p = [11:57:26.305] pend = [11:57:26.305] orig_crc = [11:57:26.305] orig_len = [11:57:26.305] #8 0x00005611460ecef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:26.305] No locals. [11:57:26.305] #9 0x00005611460edf85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17513232, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7fff7f3dd518, num_fpi=num_fpi@entry=0x7fff7f3dd50c, topxid_included=0x7fff7f3dd50b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:26.305] rdt = 0x56116710a210 [11:57:26.305] total_len = 194 [11:57:26.305] block_id = 1 [11:57:26.305] rdata_crc = [11:57:26.305] prev_regbuf = 0x56116710c128 [11:57:26.305] rdt_datas_last = 0x56116710a1e0 [11:57:26.305] rechdr = 0x56116710a3f0 [11:57:26.305] scratch = 0x56116710a41e "" [11:57:26.305] __func__ = "XLogRecordAssemble" [11:57:26.305] #10 0x00005611460eef4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:26.305] RedoRecPtr = 17513232 [11:57:26.305] doPageWrites = true [11:57:26.305] topxid_included = false [11:57:26.305] fpw_lsn = 0 [11:57:26.305] rdt = [11:57:26.305] num_fpi = 0 [11:57:26.305] EndPos = [11:57:26.305] __func__ = "XLogInsert" [11:57:26.305] #11 0x000056114600866b in heap_insert (relation=relation@entry=0x5611671a80f0, tup=tup@entry=0x561167299260, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:26.305] recptr = [11:57:26.305] info = 128 '\200' [11:57:26.305] bufflags = 6 [11:57:26.305] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:26.305] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:26.305] page = 0x7fde5902d000 "" [11:57:26.305] xid = [11:57:26.305] heaptup = 0x561167299260 [11:57:26.305] buffer = 97 [11:57:26.305] vmbuffer = 0 [11:57:26.305] all_visible_cleared = false [11:57:26.305] #12 0x0000561146009bfc in simple_heap_insert (relation=relation@entry=0x5611671a80f0, tup=tup@entry=0x561167299260) at ../src/backend/access/heap/heapam.c:2641 [11:57:26.305] No locals. [11:57:26.305] #13 0x000056114614170e in CatalogTupleInsert (heapRel=heapRel@entry=0x5611671a80f0, tup=0x561167299260) at ../src/backend/catalog/indexing.c:241 [11:57:26.305] indstate = 0x56116728f0f8 [11:57:26.305] #14 0x0000561146162d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x561167296d20 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7fff7f3dd8ec, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:26.305] conDesc = 0x5611671a80f0 [11:57:26.305] conOid = 10115 [11:57:26.305] tup = [11:57:26.305] nulls = {false , true, true, true, true, true, true, true} [11:57:26.305] values = {10115, 140735328147072, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94632745210792, 0, 0, 0, 0, 0, 0, 0} [11:57:26.305] conkeyArray = 0x5611672993a8 [11:57:26.305] confkeyArray = 0x0 [11:57:26.305] conpfeqopArray = 0x0 [11:57:26.305] conppeqopArray = 0x0 [11:57:26.305] conffeqopArray = 0x0 [11:57:26.305] conexclopArray = 0x0 [11:57:26.305] confdelsetcolsArray = [11:57:26.305] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:26.305] i = [11:57:26.305] conobject = {classId = 32767, objectId = 1729199520, objectSubId = 22033} [11:57:26.305] addrs_auto = [11:57:26.305] addrs_normal = [11:57:26.305] #15 0x000056114612b44e in StoreRelNotNull (rel=rel@entry=0x56116715c578, nnname=nnname@entry=0x561167296d20 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:26.305] constrOid = [11:57:26.305] #16 0x0000561146133556 in AddRelationNewConstraints (rel=rel@entry=0x56116715c578, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x561167296410, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:26.305] nncooked = [11:57:26.305] colnum = 1 [11:57:26.305] inhcount = 0 [11:57:26.305] nnname = 0x561167296d20 "pg_proc_oid_not_null" [11:57:26.305] constrOid = [11:57:26.305] cdef__state = [11:57:26.305] cdef = 0x5611672949b0 [11:57:26.305] cdef__outerloop = [11:57:26.305] cookedConstraints = 0x0 [11:57:26.305] tupleDesc = [11:57:26.305] oldconstr = [11:57:26.305] numoldchecks = [11:57:26.305] pstate = 0x561167294d88 [11:57:26.305] nsitem = [11:57:26.305] numchecks = 0 [11:57:26.305] checknames = 0x0 [11:57:26.305] nnnames = 0x561167298d90 [11:57:26.305] expr = [11:57:26.305] cooked = [11:57:26.305] __func__ = "AddRelationNewConstraints" [11:57:26.305] #17 0x000056114625abae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7fff7f3ddbb8, tab=tab@entry=0x56116728f308, rel=rel@entry=0x56116715c578, constr=constr@entry=0x561167294f48, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:26.305] newcons = [11:57:26.305] lcon = [11:57:26.305] children = [11:57:26.305] child = [11:57:26.305] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:26.305] __func__ = "ATAddCheckNNConstraint" [11:57:26.305] #18 0x000056114625b291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7fff7f3ddbb8, tab=tab@entry=0x56116728f308, rel=rel@entry=0x56116715c578, newConstraint=0x561167294f48, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:26.305] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:26.305] __func__ = "ATExecAddConstraint" [11:57:26.305] #19 0x000056114626751e in ATExecCmd (wqueue=wqueue@entry=0x7fff7f3ddbb8, tab=tab@entry=0x56116728f308, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7fff7f3ddca0) at ../src/backend/commands/tablecmds.c:5428 [11:57:26.305] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:26.305] rel = 0x56116715c578 [11:57:26.305] __func__ = "ATExecCmd" [11:57:26.305] #20 0x00005611462683b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7fff7f3ddbb8, lockmode=lockmode@entry=8, context=context@entry=0x7fff7f3ddca0) at ../src/backend/commands/tablecmds.c:5294 [11:57:26.305] lcmd__state = [11:57:26.305] tab = 0x56116728f308 [11:57:26.305] subcmds = 0x561167296338 [11:57:26.305] lcmd = [11:57:26.305] ltab__state = [11:57:26.305] pass = AT_PASS_COL_ATTRS [11:57:26.305] ltab = [11:57:26.305] #21 0x000056114626890d in ATController (parsetree=parsetree@entry=0x56116727b4b0, rel=rel@entry=0x56116715c578, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7fff7f3ddca0) at ../src/backend/commands/tablecmds.c:4849 [11:57:26.305] wqueue = 0x56116727f980 [11:57:26.305] lcmd = 0x0 [11:57:26.305] #22 0x00005611462689c4 in AlterTable (stmt=stmt@entry=0x56116727b4b0, lockmode=lockmode@entry=8, context=context@entry=0x7fff7f3ddca0) at ../src/backend/commands/tablecmds.c:4504 [11:57:26.305] rel = 0x56116715c578 [11:57:26.305] #23 0x00005611466e9b4d in ProcessUtilitySlow (pstate=pstate@entry=0x56116727f870, pstmt=pstmt@entry=0x56116727b560, queryString=queryString@entry=0x56116727a840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x561146f2a4a0 , qc=0x7fff7f3de1a0) at ../src/backend/tcop/utility.c:1321 [11:57:26.305] atcontext = {pstmt = 0x56116727b560, queryString = 0x56116727a840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:26.305] atstmt = 0x56116727b4b0 [11:57:26.305] relid = 1255 [11:57:26.305] lockmode = 8 [11:57:26.305] cell = 0x0 [11:57:26.305] _save_exception_stack = 0x7fff7f3de080 [11:57:26.305] _save_context_stack = 0x0 [11:57:26.305] _local_sigjmp_buf = {{__jmpbuf = {0, -3598928149905727795, 94632745088176, 0, 94632745084992, 0, -7074528435945136435, -3598856072750752051}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1, 140591459467265, 140735328148856, 4294967295, 140593139517520, 140593161543584, 140593093696320, 94632195843580, 0, 4611686018427387905, 140593092368640, 140593165615840, 332, 94632204823136, 140735328150816}}}} [11:57:26.305] _do_rethrow = false [11:57:26.305] parsetree = 0x56116727b4b0 [11:57:26.305] isTopLevel = true [11:57:26.305] isCompleteQuery = true [11:57:26.305] needCleanup = false [11:57:26.305] commandCollected = false [11:57:26.305] address = {classId = 22033, objectId = 1730655408, objectSubId = 22033} [11:57:26.305] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:26.305] __func__ = "ProcessUtilitySlow" [11:57:26.305] #24 0x00005611466e9189 in standard_ProcessUtility (pstmt=0x56116727b560, queryString=0x56116727a840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x561146f2a4a0 , qc=0x7fff7f3de1a0) at ../src/backend/tcop/utility.c:1070 [11:57:26.305] parsetree = 0x56116727b4b0 [11:57:26.305] isTopLevel = true [11:57:26.305] isAtomicContext = false [11:57:26.305] pstate = 0x56116727f870 [11:57:26.305] readonly_flags = [11:57:26.305] __func__ = "standard_ProcessUtility" [11:57:26.305] #25 0x00005611466e92e4 in ProcessUtility (pstmt=pstmt@entry=0x56116727b560, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x561146f2a4a0 , qc=0x7fff7f3de1a0) at ../src/backend/tcop/utility.c:523 [11:57:26.305] No locals. [11:57:26.305] #26 0x00005611466e4c09 in PortalRunUtility (portal=portal@entry=0x561167126660, pstmt=pstmt@entry=0x56116727b560, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x561146f2a4a0 , qc=qc@entry=0x7fff7f3de1a0) at ../src/backend/tcop/pquery.c:1184 [11:57:26.305] No locals. [11:57:26.305] #27 0x00005611466e520d in PortalRunMulti (portal=portal@entry=0x561167126660, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x561146f2a4a0 , altdest=altdest@entry=0x561146f2a4a0 , qc=qc@entry=0x7fff7f3de1a0) at ../src/backend/tcop/pquery.c:1348 [11:57:26.305] pstmt = 0x56116727b560 [11:57:26.305] stmtlist_item__state = [11:57:26.305] active_snapshot_set = false [11:57:26.305] stmtlist_item = 0x56116727b8e8 [11:57:26.305] query_index = 0 [11:57:26.305] #28 0x00005611466e578c in PortalRun (portal=portal@entry=0x561167126660, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x561146f2a4a0 , altdest=altdest@entry=0x561146f2a4a0 , qc=qc@entry=0x7fff7f3de1a0) at ../src/backend/tcop/pquery.c:819 [11:57:26.305] _save_exception_stack = 0x7fff7f3de250 [11:57:26.305] _save_context_stack = 0x0 [11:57:26.305] _local_sigjmp_buf = {{__jmpbuf = {0, -3598857412289290547, 94632743691872, 94632745088296, 94632745088272, 94632745088224, -7074528435538288947, -3598856066423906611}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140735328149807, 94632745088272, 94632745088224, 94632198888511, 94632201586093, 94632743691872, 94632202011646, 1, 1, 0, 34, 94632743691872, 0, 34, 94632743691872}}}} [11:57:26.305] _do_rethrow = [11:57:26.305] result = [11:57:26.305] nprocessed = [11:57:26.305] saveTopTransactionResourceOwner = 0x56116711e9a8 [11:57:26.305] saveTopTransactionContext = 0x561167180610 [11:57:26.305] saveActivePortal = 0x0 [11:57:26.305] saveResourceOwner = 0x56116711e9a8 [11:57:26.305] savePortalContext = 0x0 [11:57:26.305] saveMemoryContext = 0x561167180610 [11:57:26.305] __func__ = "PortalRun" [11:57:26.305] #29 0x00005611466de9b2 in exec_simple_query (query_string=query_string@entry=0x56116727a840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:26.305] cmdtaglen = 11 [11:57:26.305] snapshot_set = [11:57:26.305] per_parsetree_context = 0x0 [11:57:26.305] plantree_list = 0x56116727b8d0 [11:57:26.305] parsetree = 0x56116727b4e0 [11:57:26.305] commandTag = [11:57:26.305] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:26.305] querytree_list = [11:57:26.305] portal = 0x561167126660 [11:57:26.305] receiver = 0x561146f2a4a0 [11:57:26.305] format = 0 [11:57:26.305] cmdtagname = [11:57:26.305] parsetree_item__state = [11:57:26.305] dest = DestDebug [11:57:26.305] oldcontext = 0x561167180610 [11:57:26.305] parsetree_list = 0x56116727b510 [11:57:26.305] parsetree_item = 0x56116727b528 [11:57:26.305] save_log_statement_stats = false [11:57:26.305] was_logged = false [11:57:26.305] use_implicit_block = false [11:57:26.305] msec_str = " \345=\177\377\177\000\000\3530\232F\021V\000\0000\342=\177\377\177\000\000D\000\000\000\000\000\000" [11:57:26.305] __func__ = "exec_simple_query" [11:57:26.305] #30 0x00005611466e1714 in PostgresMain (dbname=, username=username@entry=0x56116704c280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:26.305] query_string = 0x56116727a840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:26.305] firstchar = [11:57:26.305] input_message = {data = 0x56116727a840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:26.305] local_sigjmp_buf = {{__jmpbuf = {94632211987448, -3598858343504470323, 94632742797952, 140735328150816, 94632204582360, 140593165611040, -7074528435605397811, -3598856068831437107}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94632743000304, 17408, 94632211981504, 94632743476192, 94632204582360, 94632199066905, 1190149592, 10, 140735328150348, 94632211987456, 94632743000304, 94632211981504, 140735328150816, 94632204582360, 140593165611040}}}} [11:57:26.305] send_ready_for_query = false [11:57:26.305] idle_in_transaction_timeout_enabled = false [11:57:26.305] idle_session_timeout_enabled = false [11:57:26.305] __func__ = "PostgresMain" [11:57:26.305] #31 0x00005611466e1c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x56116707d830, username=0x56116704c280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:26.305] dbname = 0x5611670c0200 "template1" [11:57:26.305] __func__ = "PostgresSingleUserMain" [11:57:26.305] #32 0x00005611463bfe97 in main (argc=12, argv=0x56116707d830) at ../src/backend/main/main.c:226 [11:57:26.305] do_check_root = [11:57:26.305] dispatch_option = [11:57:26.337] -e [11:57:26.337] [11:57:26.337] [11:57:26.398] dumping /tmp/cores/postgres-6-30806.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:26.660] [New LWP 30806] [11:57:26.660] [11:57:26.660] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:26.660] [11:57:26.660] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:26.660] Debuginfod has been disabled. [11:57:26.660] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:26.762] [Thread debugging using libthread_db enabled] [11:57:26.762] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:26.762] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:26.762] Program terminated with signal SIGABRT, Aborted. [11:57:26.762] #0 0x00007f528daa9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:27.726] [11:57:27.726] Thread 1 (Thread 0x7f528d7e1f00 (LWP 30806)): [11:57:27.726] #0 0x00007f528daa9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:27.726] No symbol table info available. [11:57:27.726] #1 0x00007f528da5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:27.726] No symbol table info available. [11:57:27.726] #2 0x00007f528da45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:27.726] No symbol table info available. [11:57:27.726] #3 0x00007f528dc1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:27.726] No locals. [11:57:27.726] #4 0x00007f528dc2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:27.726] No locals. [11:57:27.726] #5 0x00007f528dc0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x5650e8700440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:27.726] bp = 140733600794624 [11:57:27.726] pc = [11:57:27.726] Opts = {FromUnrecoverableHandler = true, pc = 94905485622693, bp = 194} [11:57:27.726] #6 0x00005650e7c1fda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:27.726] crc0 = [11:57:27.726] len = [11:57:27.726] buf = [11:57:27.726] #7 0x00005650e7c1fe72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:27.726] p = [11:57:27.726] pend = [11:57:27.726] orig_crc = [11:57:27.726] orig_len = [11:57:27.726] #8 0x00005650e72fbef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:27.726] No locals. [11:57:27.726] #9 0x00005650e72fcf85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604232, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7fff184888f8, num_fpi=num_fpi@entry=0x7fff184888ec, topxid_included=0x7fff184888eb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:27.726] rdt = 0x5651103a23c0 [11:57:27.726] total_len = 194 [11:57:27.726] block_id = 1 [11:57:27.726] rdata_crc = [11:57:27.726] prev_regbuf = 0x5651103a42d8 [11:57:27.726] rdt_datas_last = 0x5651103a2390 [11:57:27.726] rechdr = 0x5651103a25a0 [11:57:27.726] scratch = 0x5651103a25ce "" [11:57:27.726] __func__ = "XLogRecordAssemble" [11:57:27.726] #10 0x00005650e72fdf4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:27.726] RedoRecPtr = 17604232 [11:57:27.726] doPageWrites = true [11:57:27.726] topxid_included = false [11:57:27.726] fpw_lsn = 0 [11:57:27.726] rdt = [11:57:27.726] num_fpi = 0 [11:57:27.726] EndPos = [11:57:27.726] __func__ = "XLogInsert" [11:57:27.726] #11 0x00005650e721766b in heap_insert (relation=relation@entry=0x5651104406a0, tup=tup@entry=0x565110534c40, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:27.726] recptr = [11:57:27.726] info = 128 '\200' [11:57:27.726] bufflags = 6 [11:57:27.726] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:27.726] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:27.726] page = 0x7f5282768000 "" [11:57:27.726] xid = [11:57:27.726] heaptup = 0x565110534c40 [11:57:27.726] buffer = 104 [11:57:27.726] vmbuffer = 0 [11:57:27.726] all_visible_cleared = false [11:57:27.726] #12 0x00005650e7218bfc in simple_heap_insert (relation=relation@entry=0x5651104406a0, tup=tup@entry=0x565110534c40) at ../src/backend/access/heap/heapam.c:2641 [11:57:27.726] No locals. [11:57:27.726] #13 0x00005650e735070e in CatalogTupleInsert (heapRel=heapRel@entry=0x5651104406a0, tup=0x565110534c40) at ../src/backend/catalog/indexing.c:241 [11:57:27.726] indstate = 0x56511052b2e8 [11:57:27.726] #14 0x00005650e7371d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x565110532f10 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7fff18488ccc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:27.726] conDesc = 0x5651104406a0 [11:57:27.726] conOid = 10115 [11:57:27.726] tup = [11:57:27.726] nulls = {false , true, true, true, true, true, true, true} [11:57:27.726] values = {10115, 140733600795232, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94906166234504, 0, 0, 0, 0, 0, 0, 0} [11:57:27.726] conkeyArray = 0x565110534d88 [11:57:27.726] confkeyArray = 0x0 [11:57:27.726] conpfeqopArray = 0x0 [11:57:27.726] conppeqopArray = 0x0 [11:57:27.726] conffeqopArray = 0x0 [11:57:27.726] conexclopArray = 0x0 [11:57:27.726] confdelsetcolsArray = [11:57:27.726] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:27.726] i = [11:57:27.726] conobject = {classId = 32767, objectId = 272301904, objectSubId = 22097} [11:57:27.726] addrs_auto = [11:57:27.726] addrs_normal = [11:57:27.726] #15 0x00005650e733a44e in StoreRelNotNull (rel=rel@entry=0x5651103f4728, nnname=nnname@entry=0x565110532f10 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:27.726] constrOid = [11:57:27.726] #16 0x00005650e7342556 in AddRelationNewConstraints (rel=rel@entry=0x5651103f4728, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x565110532600, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:27.726] nncooked = [11:57:27.726] colnum = 1 [11:57:27.726] inhcount = 0 [11:57:27.726] nnname = 0x565110532f10 "pg_proc_oid_not_null" [11:57:27.726] constrOid = [11:57:27.726] cdef__state = [11:57:27.726] cdef = 0x565110530ba0 [11:57:27.726] cdef__outerloop = [11:57:27.726] cookedConstraints = 0x0 [11:57:27.726] tupleDesc = [11:57:27.726] oldconstr = [11:57:27.726] numoldchecks = [11:57:27.726] pstate = 0x565110530f78 [11:57:27.726] nsitem = [11:57:27.726] numchecks = 0 [11:57:27.726] checknames = 0x0 [11:57:27.726] nnnames = 0x565110534770 [11:57:27.726] expr = [11:57:27.726] cooked = [11:57:27.726] __func__ = "AddRelationNewConstraints" [11:57:27.726] #17 0x00005650e7469bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7fff18488f98, tab=tab@entry=0x56511052b4f8, rel=rel@entry=0x5651103f4728, constr=constr@entry=0x565110531138, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:27.726] newcons = [11:57:27.726] lcon = [11:57:27.726] children = [11:57:27.726] child = [11:57:27.726] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:27.726] __func__ = "ATAddCheckNNConstraint" [11:57:27.726] #18 0x00005650e746a291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7fff18488f98, tab=tab@entry=0x56511052b4f8, rel=rel@entry=0x5651103f4728, newConstraint=0x565110531138, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:27.726] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:27.726] __func__ = "ATExecAddConstraint" [11:57:27.726] #19 0x00005650e747651e in ATExecCmd (wqueue=wqueue@entry=0x7fff18488f98, tab=tab@entry=0x56511052b4f8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7fff18489080) at ../src/backend/commands/tablecmds.c:5428 [11:57:27.726] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:27.726] rel = 0x5651103f4728 [11:57:27.726] __func__ = "ATExecCmd" [11:57:27.726] #20 0x00005650e74773b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7fff18488f98, lockmode=lockmode@entry=8, context=context@entry=0x7fff18489080) at ../src/backend/commands/tablecmds.c:5294 [11:57:27.726] lcmd__state = [11:57:27.726] tab = 0x56511052b4f8 [11:57:27.726] subcmds = 0x565110532528 [11:57:27.726] lcmd = [11:57:27.726] ltab__state = [11:57:27.726] pass = AT_PASS_COL_ATTRS [11:57:27.726] ltab = [11:57:27.726] #21 0x00005650e747790d in ATController (parsetree=parsetree@entry=0x565110519980, rel=rel@entry=0x5651103f4728, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7fff18489080) at ../src/backend/commands/tablecmds.c:4849 [11:57:27.726] wqueue = 0x56511051e660 [11:57:27.726] lcmd = 0x0 [11:57:27.726] #22 0x00005650e74779c4 in AlterTable (stmt=stmt@entry=0x565110519980, lockmode=lockmode@entry=8, context=context@entry=0x7fff18489080) at ../src/backend/commands/tablecmds.c:4504 [11:57:27.726] rel = 0x5651103f4728 [11:57:27.726] #23 0x00005650e78f8b4d in ProcessUtilitySlow (pstate=pstate@entry=0x56511051e550, pstmt=pstmt@entry=0x565110519a30, queryString=queryString@entry=0x565110518d10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x5650e81394a0 , qc=0x7fff18489580) at ../src/backend/tcop/utility.c:1321 [11:57:27.726] atcontext = {pstmt = 0x565110519a30, queryString = 0x565110518d10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:27.726] atstmt = 0x565110519980 [11:57:27.726] relid = 1255 [11:57:27.726] lockmode = 8 [11:57:27.726] cell = 0x0 [11:57:27.726] _save_exception_stack = 0x7fff18489460 [11:57:27.726] _save_context_stack = 0x0 [11:57:27.726] _local_sigjmp_buf = {{__jmpbuf = {0, 7783890310230719140, 94906166122880, 0, 94906166119696, 0, 4564959854202469028, 7783910394238614180}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 139992540350544, 139992555925408, 0, 94905490812376, 139992565911584, 139992565771966, 1, 139992565916384, 332, 94905491053152, 140733600798976, 94905490812376, 139992565911584, 139992565771966, 1}}}} [11:57:27.726] _do_rethrow = false [11:57:27.726] parsetree = 0x565110519980 [11:57:27.726] isTopLevel = true [11:57:27.726] isCompleteQuery = true [11:57:27.726] needCleanup = false [11:57:27.726] commandCollected = false [11:57:27.726] address = {classId = 22097, objectId = 273783168, objectSubId = 22097} [11:57:27.726] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:27.726] __func__ = "ProcessUtilitySlow" [11:57:27.726] #24 0x00005650e78f8189 in standard_ProcessUtility (pstmt=0x565110519a30, queryString=0x565110518d10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x5650e81394a0 , qc=0x7fff18489580) at ../src/backend/tcop/utility.c:1070 [11:57:27.726] parsetree = 0x565110519980 [11:57:27.726] isTopLevel = true [11:57:27.726] isAtomicContext = false [11:57:27.726] pstate = 0x56511051e550 [11:57:27.726] readonly_flags = [11:57:27.726] __func__ = "standard_ProcessUtility" [11:57:27.726] #25 0x00005650e78f82e4 in ProcessUtility (pstmt=pstmt@entry=0x565110519a30, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x5650e81394a0 , qc=0x7fff18489580) at ../src/backend/tcop/utility.c:523 [11:57:27.726] No locals. [11:57:27.726] #26 0x00005650e78f3c09 in PortalRunUtility (portal=portal@entry=0x5651103be810, pstmt=pstmt@entry=0x565110519a30, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5650e81394a0 , qc=qc@entry=0x7fff18489580) at ../src/backend/tcop/pquery.c:1184 [11:57:27.726] No locals. [11:57:27.726] #27 0x00005650e78f420d in PortalRunMulti (portal=portal@entry=0x5651103be810, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5650e81394a0 , altdest=altdest@entry=0x5650e81394a0 , qc=qc@entry=0x7fff18489580) at ../src/backend/tcop/pquery.c:1348 [11:57:27.726] pstmt = 0x565110519a30 [11:57:27.726] stmtlist_item__state = [11:57:27.726] active_snapshot_set = false [11:57:27.726] stmtlist_item = 0x565110519db8 [11:57:27.726] query_index = 0 [11:57:27.726] #28 0x00005650e78f478c in PortalRun (portal=portal@entry=0x5651103be810, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x5650e81394a0 , altdest=altdest@entry=0x5650e81394a0 , qc=qc@entry=0x7fff18489580) at ../src/backend/tcop/pquery.c:819 [11:57:27.727] _save_exception_stack = 0x7fff18489630 [11:57:27.727] _save_context_stack = 0x0 [11:57:27.727] _local_sigjmp_buf = {{__jmpbuf = {0, 7783942519901403812, 94906164701200, 94906166123000, 94906166122976, 94906166122928, 4564959854215051940, 7783910392005409444}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140733600797967, 94906166122976, 94906166122928, 94905485118527, 94905487816109, 94906164701200, 94905488241662, 1, 1, 0, 34, 94906164701200, 0, 34, 94906164701200}}}} [11:57:27.727] _do_rethrow = [11:57:27.727] result = [11:57:27.727] nprocessed = [11:57:27.727] saveTopTransactionResourceOwner = 0x5651103b6b58 [11:57:27.727] saveTopTransactionContext = 0x5651104187c0 [11:57:27.727] saveActivePortal = 0x0 [11:57:27.727] saveResourceOwner = 0x5651103b6b58 [11:57:27.727] savePortalContext = 0x0 [11:57:27.727] saveMemoryContext = 0x5651104187c0 [11:57:27.727] __func__ = "PortalRun" [11:57:27.727] #29 0x00005650e78ed9b2 in exec_simple_query (query_string=query_string@entry=0x565110518d10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:27.727] cmdtaglen = 11 [11:57:27.727] snapshot_set = [11:57:27.727] per_parsetree_context = 0x0 [11:57:27.727] plantree_list = 0x565110519da0 [11:57:27.727] parsetree = 0x5651105199b0 [11:57:27.727] commandTag = [11:57:27.727] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:27.727] querytree_list = [11:57:27.727] portal = 0x5651103be810 [11:57:27.727] receiver = 0x5650e81394a0 [11:57:27.727] format = 0 [11:57:27.727] cmdtagname = [11:57:27.727] parsetree_item__state = [11:57:27.727] dest = DestDebug [11:57:27.727] oldcontext = 0x5651104187c0 [11:57:27.727] parsetree_list = 0x5651105199e0 [11:57:27.727] parsetree_item = 0x5651105199f8 [11:57:27.727] save_log_statement_stats = false [11:57:27.727] was_logged = false [11:57:27.727] use_implicit_block = false [11:57:27.727] msec_str = "\000\231H\030\377\177\000\000\353 \273\347PV\000\000\020\226H\030\377\177\000\000D\000\000\000\000\000\000" [11:57:27.727] __func__ = "exec_simple_query" [11:57:27.727] #30 0x00005650e78f0714 in PostgresMain (dbname=, username=username@entry=0x5651102e6280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:27.727] query_string = 0x565110518d10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:27.727] firstchar = [11:57:27.727] input_message = {data = 0x565110518d10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:27.727] local_sigjmp_buf = {{__jmpbuf = {94905498217464, 7783943470443936420, 94906163815040, 140733600798976, 94905490812376, 139992565911584, 4564959854013725348, 7783910387970488996}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94906164017488, 17408, 94905498211520, 94906164485520, 94905490812376, 94905485296921, 3893439960, 10, 140733600798508, 94905498217472, 94906164017488, 94905498211520, 140733600798976, 94905490812376, 139992565911584}}}} [11:57:27.727] send_ready_for_query = false [11:57:27.727] idle_in_transaction_timeout_enabled = false [11:57:27.727] idle_session_timeout_enabled = false [11:57:27.727] __func__ = "PostgresMain" [11:57:27.727] #31 0x00005650e78f0c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x565110317890, username=0x5651102e6280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:27.727] dbname = 0x565110359480 "template1" [11:57:27.727] __func__ = "PostgresSingleUserMain" [11:57:27.727] #32 0x00005650e75cee97 in main (argc=12, argv=0x565110317890) at ../src/backend/main/main.c:226 [11:57:27.727] do_check_root = [11:57:27.727] dispatch_option = [11:57:27.757] -e [11:57:27.757] [11:57:27.757] [11:57:27.819] dumping /tmp/cores/postgres-6-29922.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:28.065] [New LWP 29922] [11:57:28.065] [11:57:28.065] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:28.065] [11:57:28.065] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:28.065] Debuginfod has been disabled. [11:57:28.065] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:28.166] [Thread debugging using libthread_db enabled] [11:57:28.166] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:28.166] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:28.166] Program terminated with signal SIGABRT, Aborted. [11:57:28.166] #0 0x00007f37566a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:29.140] [11:57:29.140] Thread 1 (Thread 0x7f375461ef00 (LWP 29922)): [11:57:29.140] #0 0x00007f37566a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:29.140] No symbol table info available. [11:57:29.140] #1 0x00007f375665afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:29.140] No symbol table info available. [11:57:29.140] #2 0x00007f3756645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:29.140] No symbol table info available. [11:57:29.140] #3 0x00007f375681e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:29.140] No locals. [11:57:29.140] #4 0x00007f375682aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:29.140] No locals. [11:57:29.140] #5 0x00007f375680d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x562882924440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:29.140] bp = 140721627886064 [11:57:29.140] pc = [11:57:29.140] Opts = {FromUnrecoverableHandler = true, pc = 94731977899429, bp = 194} [11:57:29.140] #6 0x0000562881e43da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:29.140] crc0 = [11:57:29.140] len = [11:57:29.140] buf = [11:57:29.140] #7 0x0000562881e43e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:29.140] p = [11:57:29.140] pend = [11:57:29.140] orig_crc = [11:57:29.140] orig_len = [11:57:29.140] #8 0x000056288151fef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:29.140] No locals. [11:57:29.140] #9 0x0000562881520f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc4ea472e8, num_fpi=num_fpi@entry=0x7ffc4ea472dc, topxid_included=0x7ffc4ea472db) at ../src/backend/access/transam/xloginsert.c:906 [11:57:29.140] rdt = 0x5628bf583200 [11:57:29.140] total_len = 194 [11:57:29.140] block_id = 1 [11:57:29.140] rdata_crc = [11:57:29.140] prev_regbuf = 0x5628bf585118 [11:57:29.140] rdt_datas_last = 0x5628bf5831d0 [11:57:29.140] rechdr = 0x5628bf5833e0 [11:57:29.140] scratch = 0x5628bf58340e "" [11:57:29.140] __func__ = "XLogRecordAssemble" [11:57:29.140] #10 0x0000562881521f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:29.140] RedoRecPtr = 17604224 [11:57:29.140] doPageWrites = true [11:57:29.140] topxid_included = false [11:57:29.140] fpw_lsn = 0 [11:57:29.140] rdt = [11:57:29.140] num_fpi = 0 [11:57:29.140] EndPos = [11:57:29.140] __func__ = "XLogInsert" [11:57:29.140] #11 0x000056288143b66b in heap_insert (relation=relation@entry=0x5628bf6210e0, tup=tup@entry=0x5628bf712250, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:29.140] recptr = [11:57:29.140] info = 128 '\200' [11:57:29.140] bufflags = 6 [11:57:29.140] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:29.140] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:29.140] page = 0x7f374b44e000 "" [11:57:29.140] xid = [11:57:29.140] heaptup = 0x5628bf712250 [11:57:29.140] buffer = 97 [11:57:29.140] vmbuffer = 0 [11:57:29.140] all_visible_cleared = false [11:57:29.140] #12 0x000056288143cbfc in simple_heap_insert (relation=relation@entry=0x5628bf6210e0, tup=tup@entry=0x5628bf712250) at ../src/backend/access/heap/heapam.c:2641 [11:57:29.140] No locals. [11:57:29.140] #13 0x000056288157470e in CatalogTupleInsert (heapRel=heapRel@entry=0x5628bf6210e0, tup=0x5628bf712250) at ../src/backend/catalog/indexing.c:241 [11:57:29.140] indstate = 0x5628bf7080e8 [11:57:29.140] #14 0x0000562881595d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x5628bf70fd10 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffc4ea476bc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:29.140] conDesc = 0x5628bf6210e0 [11:57:29.140] conOid = 10115 [11:57:29.140] tup = [11:57:29.140] nulls = {false , true, true, true, true, true, true, true} [11:57:29.140] values = {10115, 140721627886672, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94733010543512, 0, 0, 0, 0, 0, 0, 0} [11:57:29.140] conkeyArray = 0x5628bf712398 [11:57:29.140] confkeyArray = 0x0 [11:57:29.140] conpfeqopArray = 0x0 [11:57:29.140] conppeqopArray = 0x0 [11:57:29.140] conffeqopArray = 0x0 [11:57:29.140] conexclopArray = 0x0 [11:57:29.140] confdelsetcolsArray = [11:57:29.140] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:29.140] i = [11:57:29.140] conobject = {classId = 32764, objectId = 3210284432, objectSubId = 22056} [11:57:29.140] addrs_auto = [11:57:29.140] addrs_normal = [11:57:29.140] #15 0x000056288155e44e in StoreRelNotNull (rel=rel@entry=0x5628bf5d5568, nnname=nnname@entry=0x5628bf70fd10 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:29.140] constrOid = [11:57:29.140] #16 0x0000562881566556 in AddRelationNewConstraints (rel=rel@entry=0x5628bf5d5568, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x5628bf70f400, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:29.140] nncooked = [11:57:29.140] colnum = 1 [11:57:29.140] inhcount = 0 [11:57:29.140] nnname = 0x5628bf70fd10 "pg_proc_oid_not_null" [11:57:29.140] constrOid = [11:57:29.140] cdef__state = [11:57:29.140] cdef = 0x5628bf70d9a0 [11:57:29.140] cdef__outerloop = [11:57:29.140] cookedConstraints = 0x0 [11:57:29.140] tupleDesc = [11:57:29.140] oldconstr = [11:57:29.140] numoldchecks = [11:57:29.140] pstate = 0x5628bf70dd78 [11:57:29.140] nsitem = [11:57:29.140] numchecks = 0 [11:57:29.140] checknames = 0x0 [11:57:29.140] nnnames = 0x5628bf711d80 [11:57:29.140] expr = [11:57:29.140] cooked = [11:57:29.140] __func__ = "AddRelationNewConstraints" [11:57:29.140] #17 0x000056288168dbae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffc4ea47988, tab=tab@entry=0x5628bf7082f8, rel=rel@entry=0x5628bf5d5568, constr=constr@entry=0x5628bf70df38, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:29.140] newcons = [11:57:29.140] lcon = [11:57:29.140] children = [11:57:29.140] child = [11:57:29.140] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:29.140] __func__ = "ATAddCheckNNConstraint" [11:57:29.140] #18 0x000056288168e291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffc4ea47988, tab=tab@entry=0x5628bf7082f8, rel=rel@entry=0x5628bf5d5568, newConstraint=0x5628bf70df38, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:29.140] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:29.140] __func__ = "ATExecAddConstraint" [11:57:29.140] #19 0x000056288169a51e in ATExecCmd (wqueue=wqueue@entry=0x7ffc4ea47988, tab=tab@entry=0x5628bf7082f8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffc4ea47a70) at ../src/backend/commands/tablecmds.c:5428 [11:57:29.140] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:29.140] rel = 0x5628bf5d5568 [11:57:29.140] __func__ = "ATExecCmd" [11:57:29.140] #20 0x000056288169b3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffc4ea47988, lockmode=lockmode@entry=8, context=context@entry=0x7ffc4ea47a70) at ../src/backend/commands/tablecmds.c:5294 [11:57:29.140] lcmd__state = [11:57:29.140] tab = 0x5628bf7082f8 [11:57:29.140] subcmds = 0x5628bf70f328 [11:57:29.140] lcmd = [11:57:29.140] ltab__state = [11:57:29.140] pass = AT_PASS_COL_ATTRS [11:57:29.140] ltab = [11:57:29.140] #21 0x000056288169b90d in ATController (parsetree=parsetree@entry=0x5628bf6f44a0, rel=rel@entry=0x5628bf5d5568, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffc4ea47a70) at ../src/backend/commands/tablecmds.c:4849 [11:57:29.140] wqueue = 0x5628bf6f8970 [11:57:29.140] lcmd = 0x0 [11:57:29.140] #22 0x000056288169b9c4 in AlterTable (stmt=stmt@entry=0x5628bf6f44a0, lockmode=lockmode@entry=8, context=context@entry=0x7ffc4ea47a70) at ../src/backend/commands/tablecmds.c:4504 [11:57:29.140] rel = 0x5628bf5d5568 [11:57:29.140] #23 0x0000562881b1cb4d in ProcessUtilitySlow (pstate=pstate@entry=0x5628bf6f8860, pstmt=pstmt@entry=0x5628bf6f4550, queryString=queryString@entry=0x5628bf6f3830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x56288235d4a0 , qc=0x7ffc4ea47f70) at ../src/backend/tcop/utility.c:1321 [11:57:29.140] atcontext = {pstmt = 0x5628bf6f4550, queryString = 0x5628bf6f3830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:29.140] atstmt = 0x5628bf6f44a0 [11:57:29.140] relid = 1255 [11:57:29.140] lockmode = 8 [11:57:29.140] cell = 0x0 [11:57:29.140] _save_exception_stack = 0x7ffc4ea47e50 [11:57:29.140] _save_context_stack = 0x0 [11:57:29.140] _local_sigjmp_buf = {{__jmpbuf = {0, 6023715741724103997, 94733010420896, 0, 94733010417712, 0, 13908938789803325, 6023832990086124861}, __mask_was_saved = 0, __saved_mask = {__val = {139874199928833, 140721627888440, 4294967295, 139875649292368, 139875671289760, 94731990414112, 94731974821892, 139875603606336, 94729798680577, 0, 139875675517664, 332, 94731983329888, 140721627890416, 94731983089112, 139875675512864}}}} [11:57:29.140] _do_rethrow = false [11:57:29.140] parsetree = 0x5628bf6f44a0 [11:57:29.140] isTopLevel = true [11:57:29.140] isCompleteQuery = true [11:57:29.140] needCleanup = false [11:57:29.140] commandCollected = false [11:57:29.140] address = {classId = 22056, objectId = 3211740320, objectSubId = 22056} [11:57:29.140] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:29.140] __func__ = "ProcessUtilitySlow" [11:57:29.140] #24 0x0000562881b1c189 in standard_ProcessUtility (pstmt=0x5628bf6f4550, queryString=0x5628bf6f3830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x56288235d4a0 , qc=0x7ffc4ea47f70) at ../src/backend/tcop/utility.c:1070 [11:57:29.140] parsetree = 0x5628bf6f44a0 [11:57:29.140] isTopLevel = true [11:57:29.140] isAtomicContext = false [11:57:29.140] pstate = 0x5628bf6f8860 [11:57:29.140] readonly_flags = [11:57:29.140] __func__ = "standard_ProcessUtility" [11:57:29.140] #25 0x0000562881b1c2e4 in ProcessUtility (pstmt=pstmt@entry=0x5628bf6f4550, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x56288235d4a0 , qc=0x7ffc4ea47f70) at ../src/backend/tcop/utility.c:523 [11:57:29.140] No locals. [11:57:29.140] #26 0x0000562881b17c09 in PortalRunUtility (portal=portal@entry=0x5628bf59f650, pstmt=pstmt@entry=0x5628bf6f4550, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56288235d4a0 , qc=qc@entry=0x7ffc4ea47f70) at ../src/backend/tcop/pquery.c:1184 [11:57:29.140] No locals. [11:57:29.140] #27 0x0000562881b1820d in PortalRunMulti (portal=portal@entry=0x5628bf59f650, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56288235d4a0 , altdest=altdest@entry=0x56288235d4a0 , qc=qc@entry=0x7ffc4ea47f70) at ../src/backend/tcop/pquery.c:1348 [11:57:29.140] pstmt = 0x5628bf6f4550 [11:57:29.140] stmtlist_item__state = [11:57:29.140] active_snapshot_set = false [11:57:29.140] stmtlist_item = 0x5628bf6f48d8 [11:57:29.140] query_index = 0 [11:57:29.140] #28 0x0000562881b1878c in PortalRun (portal=portal@entry=0x5628bf59f650, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x56288235d4a0 , altdest=altdest@entry=0x56288235d4a0 , qc=qc@entry=0x7ffc4ea47f70) at ../src/backend/tcop/pquery.c:819 [11:57:29.141] _save_exception_stack = 0x7ffc4ea48020 [11:57:29.141] _save_context_stack = 0x0 [11:57:29.141] _local_sigjmp_buf = {{__jmpbuf = {0, 6023831925440173373, 94733009024592, 94733010421016, 94733010420992, 94733010420944, 13908938659779901, 6023832992138974525}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140721627889407, 94733010420992, 94733010420944, 94731977395263, 94731980092845, 94733009024592, 94731980518398, 1, 1, 0, 34, 94733009024592, 0, 34, 94733009024592}}}} [11:57:29.141] _do_rethrow = [11:57:29.141] result = [11:57:29.141] nprocessed = [11:57:29.141] saveTopTransactionResourceOwner = 0x5628bf597998 [11:57:29.141] saveTopTransactionContext = 0x5628bf5f9600 [11:57:29.141] saveActivePortal = 0x0 [11:57:29.141] saveResourceOwner = 0x5628bf597998 [11:57:29.141] savePortalContext = 0x0 [11:57:29.141] saveMemoryContext = 0x5628bf5f9600 [11:57:29.141] __func__ = "PortalRun" [11:57:29.141] #29 0x0000562881b119b2 in exec_simple_query (query_string=query_string@entry=0x5628bf6f3830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:29.141] cmdtaglen = 11 [11:57:29.141] snapshot_set = [11:57:29.141] per_parsetree_context = 0x0 [11:57:29.141] plantree_list = 0x5628bf6f48c0 [11:57:29.141] parsetree = 0x5628bf6f44d0 [11:57:29.141] commandTag = [11:57:29.141] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:29.141] querytree_list = [11:57:29.141] portal = 0x5628bf59f650 [11:57:29.141] receiver = 0x56288235d4a0 [11:57:29.141] format = 0 [11:57:29.141] cmdtagname = [11:57:29.141] parsetree_item__state = [11:57:29.141] dest = DestDebug [11:57:29.141] oldcontext = 0x5628bf5f9600 [11:57:29.141] parsetree_list = 0x5628bf6f4500 [11:57:29.141] parsetree_item = 0x5628bf6f4518 [11:57:29.141] save_log_statement_stats = false [11:57:29.141] was_logged = false [11:57:29.141] use_implicit_block = false [11:57:29.141] msec_str = "\360\202\244N\374\177\000\000\353`݁(V\000\000\000\200\244N\374\177\000\000D\000\000\000\000\000\000" [11:57:29.141] __func__ = "exec_simple_query" [11:57:29.141] #30 0x0000562881b14714 in PostgresMain (dbname=, username=username@entry=0x5628bf4c5a60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:29.141] query_string = 0x5628bf6f3830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:29.141] firstchar = [11:57:29.141] input_message = {data = 0x5628bf6f3830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:29.141] local_sigjmp_buf = {{__jmpbuf = {94731990494200, 6023830699516417341, 94733008132704, 140721627890416, 94731983089112, 139875675512864, 13908938592671037, 6023832995620246845}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94733008332896, 17408, 94731990488256, 94733008808912, 94731983089112, 94731977573657, 2184408536, 10, 140721627889948, 94731990494208, 94733008332896, 94731990488256, 140721627890416, 94731983089112, 139875675512864}}}} [11:57:29.141] send_ready_for_query = false [11:57:29.141] idle_in_transaction_timeout_enabled = false [11:57:29.141] idle_session_timeout_enabled = false [11:57:29.141] __func__ = "PostgresMain" [11:57:29.141] #31 0x0000562881b14c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x5628bf4f67a0, username=0x5628bf4c5a60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:29.141] dbname = 0x5628bf539190 "template1" [11:57:29.141] __func__ = "PostgresSingleUserMain" [11:57:29.141] #32 0x00005628817f2e97 in main (argc=12, argv=0x5628bf4f67a0) at ../src/backend/main/main.c:226 [11:57:29.141] do_check_root = [11:57:29.141] dispatch_option = [11:57:29.171] -e [11:57:29.171] [11:57:29.171] [11:57:29.233] dumping /tmp/cores/postgres-6-29621.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:29.489] [New LWP 29621] [11:57:29.489] [11:57:29.489] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:29.489] [11:57:29.489] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:29.489] Debuginfod has been disabled. [11:57:29.489] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:29.591] [Thread debugging using libthread_db enabled] [11:57:29.591] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:29.591] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:29.591] Program terminated with signal SIGABRT, Aborted. [11:57:29.591] #0 0x00007f3ca92a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:30.579] [11:57:30.579] Thread 1 (Thread 0x7f3ca8fdcf00 (LWP 29621)): [11:57:30.579] #0 0x00007f3ca92a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:30.579] No symbol table info available. [11:57:30.579] #1 0x00007f3ca925afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:30.579] No symbol table info available. [11:57:30.579] #2 0x00007f3ca9245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:30.579] No symbol table info available. [11:57:30.579] #3 0x00007f3ca941e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:30.579] No locals. [11:57:30.579] #4 0x00007f3ca942aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:30.579] No locals. [11:57:30.579] #5 0x00007f3ca940d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55a37cd7d440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:30.579] bp = 140724413403408 [11:57:30.579] pc = [11:57:30.579] Opts = {FromUnrecoverableHandler = true, pc = 94160651144613, bp = 194} [11:57:30.579] #6 0x000055a37c29cda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:30.579] crc0 = [11:57:30.579] len = [11:57:30.579] buf = [11:57:30.579] #7 0x000055a37c29ce72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:30.579] p = [11:57:30.579] pend = [11:57:30.579] orig_crc = [11:57:30.579] orig_len = [11:57:30.579] #8 0x000055a37b978ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:30.579] No locals. [11:57:30.579] #9 0x000055a37b979f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17513232, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffcf4ac1208, num_fpi=num_fpi@entry=0x7ffcf4ac11fc, topxid_included=0x7ffcf4ac11fb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:30.579] rdt = 0x55a3ba66d1e0 [11:57:30.579] total_len = 194 [11:57:30.579] block_id = 1 [11:57:30.579] rdata_crc = [11:57:30.579] prev_regbuf = 0x55a3ba66f0f8 [11:57:30.579] rdt_datas_last = 0x55a3ba66d1b0 [11:57:30.579] rechdr = 0x55a3ba66d3c0 [11:57:30.579] scratch = 0x55a3ba66d3ee "" [11:57:30.579] __func__ = "XLogRecordAssemble" [11:57:30.579] #10 0x000055a37b97af4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:30.579] RedoRecPtr = 17513232 [11:57:30.579] doPageWrites = true [11:57:30.579] topxid_included = false [11:57:30.579] fpw_lsn = 0 [11:57:30.579] rdt = [11:57:30.579] num_fpi = 0 [11:57:30.579] EndPos = [11:57:30.579] __func__ = "XLogInsert" [11:57:30.579] #11 0x000055a37b89466b in heap_insert (relation=relation@entry=0x55a3ba70b0c0, tup=tup@entry=0x55a3ba7fc230, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:30.579] recptr = [11:57:30.579] info = 128 '\200' [11:57:30.579] bufflags = 6 [11:57:30.579] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:30.579] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:30.579] page = 0x7f3c9df5a000 "" [11:57:30.579] xid = [11:57:30.579] heaptup = 0x55a3ba7fc230 [11:57:30.579] buffer = 97 [11:57:30.579] vmbuffer = 0 [11:57:30.579] all_visible_cleared = false [11:57:30.579] #12 0x000055a37b895bfc in simple_heap_insert (relation=relation@entry=0x55a3ba70b0c0, tup=tup@entry=0x55a3ba7fc230) at ../src/backend/access/heap/heapam.c:2641 [11:57:30.579] No locals. [11:57:30.579] #13 0x000055a37b9cd70e in CatalogTupleInsert (heapRel=heapRel@entry=0x55a3ba70b0c0, tup=0x55a3ba7fc230) at ../src/backend/catalog/indexing.c:241 [11:57:30.579] indstate = 0x55a3ba7f20c8 [11:57:30.579] #14 0x000055a37b9eed93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55a3ba7f9cf0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffcf4ac15dc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:30.579] conDesc = 0x55a3ba70b0c0 [11:57:30.579] conOid = 10115 [11:57:30.579] tup = [11:57:30.579] nulls = {false , true, true, true, true, true, true, true} [11:57:30.579] values = {10115, 140724413404016, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94161696965496, 0, 0, 0, 0, 0, 0, 0} [11:57:30.579] conkeyArray = 0x55a3ba7fc378 [11:57:30.579] confkeyArray = 0x0 [11:57:30.579] conpfeqopArray = 0x0 [11:57:30.579] conppeqopArray = 0x0 [11:57:30.579] conffeqopArray = 0x0 [11:57:30.579] conexclopArray = 0x0 [11:57:30.579] confdelsetcolsArray = [11:57:30.579] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:30.579] i = [11:57:30.579] conobject = {classId = 32764, objectId = 3127356784, objectSubId = 21923} [11:57:30.579] addrs_auto = [11:57:30.579] addrs_normal = [11:57:30.579] #15 0x000055a37b9b744e in StoreRelNotNull (rel=rel@entry=0x55a3ba6bf548, nnname=nnname@entry=0x55a3ba7f9cf0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:30.579] constrOid = [11:57:30.579] #16 0x000055a37b9bf556 in AddRelationNewConstraints (rel=rel@entry=0x55a3ba6bf548, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55a3ba7f93e0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:30.579] nncooked = [11:57:30.579] colnum = 1 [11:57:30.579] inhcount = 0 [11:57:30.579] nnname = 0x55a3ba7f9cf0 "pg_proc_oid_not_null" [11:57:30.579] constrOid = [11:57:30.579] cdef__state = [11:57:30.579] cdef = 0x55a3ba7f7980 [11:57:30.579] cdef__outerloop = [11:57:30.579] cookedConstraints = 0x0 [11:57:30.579] tupleDesc = [11:57:30.579] oldconstr = [11:57:30.579] numoldchecks = [11:57:30.579] pstate = 0x55a3ba7f7d58 [11:57:30.579] nsitem = [11:57:30.579] numchecks = 0 [11:57:30.579] checknames = 0x0 [11:57:30.579] nnnames = 0x55a3ba7fbd60 [11:57:30.579] expr = [11:57:30.579] cooked = [11:57:30.579] __func__ = "AddRelationNewConstraints" [11:57:30.579] #17 0x000055a37bae6bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffcf4ac18a8, tab=tab@entry=0x55a3ba7f22d8, rel=rel@entry=0x55a3ba6bf548, constr=constr@entry=0x55a3ba7f7f18, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:30.579] newcons = [11:57:30.579] lcon = [11:57:30.579] children = [11:57:30.579] child = [11:57:30.579] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:30.579] __func__ = "ATAddCheckNNConstraint" [11:57:30.579] #18 0x000055a37bae7291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffcf4ac18a8, tab=tab@entry=0x55a3ba7f22d8, rel=rel@entry=0x55a3ba6bf548, newConstraint=0x55a3ba7f7f18, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:30.579] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:30.579] __func__ = "ATExecAddConstraint" [11:57:30.579] #19 0x000055a37baf351e in ATExecCmd (wqueue=wqueue@entry=0x7ffcf4ac18a8, tab=tab@entry=0x55a3ba7f22d8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffcf4ac1990) at ../src/backend/commands/tablecmds.c:5428 [11:57:30.579] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:30.579] rel = 0x55a3ba6bf548 [11:57:30.579] __func__ = "ATExecCmd" [11:57:30.579] #20 0x000055a37baf43b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffcf4ac18a8, lockmode=lockmode@entry=8, context=context@entry=0x7ffcf4ac1990) at ../src/backend/commands/tablecmds.c:5294 [11:57:30.579] lcmd__state = [11:57:30.579] tab = 0x55a3ba7f22d8 [11:57:30.579] subcmds = 0x55a3ba7f9308 [11:57:30.579] lcmd = [11:57:30.579] ltab__state = [11:57:30.579] pass = AT_PASS_COL_ATTRS [11:57:30.579] ltab = [11:57:30.579] #21 0x000055a37baf490d in ATController (parsetree=parsetree@entry=0x55a3ba7de480, rel=rel@entry=0x55a3ba6bf548, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffcf4ac1990) at ../src/backend/commands/tablecmds.c:4849 [11:57:30.579] wqueue = 0x55a3ba7e2950 [11:57:30.579] lcmd = 0x0 [11:57:30.579] #22 0x000055a37baf49c4 in AlterTable (stmt=stmt@entry=0x55a3ba7de480, lockmode=lockmode@entry=8, context=context@entry=0x7ffcf4ac1990) at ../src/backend/commands/tablecmds.c:4504 [11:57:30.579] rel = 0x55a3ba6bf548 [11:57:30.579] #23 0x000055a37bf75b4d in ProcessUtilitySlow (pstate=pstate@entry=0x55a3ba7e2840, pstmt=pstmt@entry=0x55a3ba7de530, queryString=queryString@entry=0x55a3ba7dd810 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55a37c7b64a0 , qc=0x7ffcf4ac1e90) at ../src/backend/tcop/utility.c:1321 [11:57:30.579] atcontext = {pstmt = 0x55a3ba7de530, queryString = 0x55a3ba7dd810 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:30.579] atstmt = 0x55a3ba7de480 [11:57:30.579] relid = 1255 [11:57:30.579] lockmode = 8 [11:57:30.579] cell = 0x0 [11:57:30.579] _save_exception_stack = 0x7ffcf4ac1d70 [11:57:30.579] _save_context_stack = 0x0 [11:57:30.579] _local_sigjmp_buf = {{__jmpbuf = {0, -4729228000909329217, 94161696842880, 0, 94161696839696, 0, -1521946660331586369, -4728802535776715585}, __mask_was_saved = 0, __saved_mask = {__val = {0, 139898465755464, 94160647610175, 139898465892032, 94158568030209, 94160663659296, 4294967295, 139898512443472, 139898534477728, 0, 4611686018427387905, 139898464430336, 0, 139898465758020, 139898538160864, 332}}}} [11:57:30.579] _do_rethrow = false [11:57:30.579] parsetree = 0x55a3ba7de480 [11:57:30.579] isTopLevel = true [11:57:30.579] isCompleteQuery = true [11:57:30.579] needCleanup = false [11:57:30.579] commandCollected = false [11:57:30.579] address = {classId = 21923, objectId = 3128812672, objectSubId = 21923} [11:57:30.579] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:30.579] __func__ = "ProcessUtilitySlow" [11:57:30.579] #24 0x000055a37bf75189 in standard_ProcessUtility (pstmt=0x55a3ba7de530, queryString=0x55a3ba7dd810 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55a37c7b64a0 , qc=0x7ffcf4ac1e90) at ../src/backend/tcop/utility.c:1070 [11:57:30.579] parsetree = 0x55a3ba7de480 [11:57:30.579] isTopLevel = true [11:57:30.579] isAtomicContext = false [11:57:30.579] pstate = 0x55a3ba7e2840 [11:57:30.579] readonly_flags = [11:57:30.579] __func__ = "standard_ProcessUtility" [11:57:30.579] #25 0x000055a37bf752e4 in ProcessUtility (pstmt=pstmt@entry=0x55a3ba7de530, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55a37c7b64a0 , qc=0x7ffcf4ac1e90) at ../src/backend/tcop/utility.c:523 [11:57:30.579] No locals. [11:57:30.579] #26 0x000055a37bf70c09 in PortalRunUtility (portal=portal@entry=0x55a3ba689630, pstmt=pstmt@entry=0x55a3ba7de530, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a37c7b64a0 , qc=qc@entry=0x7ffcf4ac1e90) at ../src/backend/tcop/pquery.c:1184 [11:57:30.579] No locals. [11:57:30.579] #27 0x000055a37bf7120d in PortalRunMulti (portal=portal@entry=0x55a3ba689630, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a37c7b64a0 , altdest=altdest@entry=0x55a37c7b64a0 , qc=qc@entry=0x7ffcf4ac1e90) at ../src/backend/tcop/pquery.c:1348 [11:57:30.579] pstmt = 0x55a3ba7de530 [11:57:30.579] stmtlist_item__state = [11:57:30.579] active_snapshot_set = false [11:57:30.579] stmtlist_item = 0x55a3ba7de8b8 [11:57:30.579] query_index = 0 [11:57:30.579] #28 0x000055a37bf7178c in PortalRun (portal=portal@entry=0x55a3ba689630, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55a37c7b64a0 , altdest=altdest@entry=0x55a37c7b64a0 , qc=qc@entry=0x7ffcf4ac1e90) at ../src/backend/tcop/pquery.c:819 [11:57:30.579] _save_exception_stack = 0x7ffcf4ac1f40 [11:57:30.579] _save_context_stack = 0x0 [11:57:30.579] _local_sigjmp_buf = {{__jmpbuf = {0, -4728810130708628289, 94161695446576, 94161696843000, 94161696842976, 94161696842928, -1521946660201562945, -4728802537809118017}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140724413406751, 94161696842976, 94161696842928, 94160650640447, 94160653338029, 94161695446576, 94160653763582, 1, 1, 0, 34, 94161695446576, 0, 34, 94161695446576}}}} [11:57:30.579] _do_rethrow = [11:57:30.579] result = [11:57:30.579] nprocessed = [11:57:30.579] saveTopTransactionResourceOwner = 0x55a3ba681978 [11:57:30.579] saveTopTransactionContext = 0x55a3ba6e35e0 [11:57:30.579] saveActivePortal = 0x0 [11:57:30.579] saveResourceOwner = 0x55a3ba681978 [11:57:30.579] savePortalContext = 0x0 [11:57:30.579] saveMemoryContext = 0x55a3ba6e35e0 [11:57:30.579] __func__ = "PortalRun" [11:57:30.579] #29 0x000055a37bf6a9b2 in exec_simple_query (query_string=query_string@entry=0x55a3ba7dd810 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:30.579] cmdtaglen = 11 [11:57:30.579] snapshot_set = [11:57:30.579] per_parsetree_context = 0x0 [11:57:30.579] plantree_list = 0x55a3ba7de8a0 [11:57:30.579] parsetree = 0x55a3ba7de4b0 [11:57:30.579] commandTag = [11:57:30.579] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:30.579] querytree_list = [11:57:30.579] portal = 0x55a3ba689630 [11:57:30.579] receiver = 0x55a37c7b64a0 [11:57:30.579] format = 0 [11:57:30.579] cmdtagname = [11:57:30.579] parsetree_item__state = [11:57:30.579] dest = DestDebug [11:57:30.579] oldcontext = 0x55a3ba6e35e0 [11:57:30.579] parsetree_list = 0x55a3ba7de4e0 [11:57:30.579] parsetree_item = 0x55a3ba7de4f8 [11:57:30.579] save_log_statement_stats = false [11:57:30.579] was_logged = false [11:57:30.579] use_implicit_block = false [11:57:30.579] msec_str = "\020\"\254\364\374\177\000\000\353\360\"|\243U\000\000 \037\254\364\374\177\000\000D\000\000\000\000\000\000" [11:57:30.579] __func__ = "exec_simple_query" [11:57:30.579] #30 0x000055a37bf6d714 in PostgresMain (dbname=, username=username@entry=0x55a3ba5afa60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:30.579] query_string = 0x55a3ba7dd810 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:30.579] firstchar = [11:57:30.579] input_message = {data = 0x55a3ba7dd810 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:30.579] local_sigjmp_buf = {{__jmpbuf = {94160663739384, -4728809189292901185, 94161694554720, 140724413407760, 94160656334296, 139898538156064, -1521946660268671809, -4728802531643491137}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94161694754976, 17408, 94160663733440, 94161695230896, 94160656334296, 94160650818841, 2088304088, 10, 140724413407292, 94160663739392, 94161694754976, 94160663733440, 140724413407760, 94160656334296, 139898538156064}}}} [11:57:30.579] send_ready_for_query = false [11:57:30.579] idle_in_transaction_timeout_enabled = false [11:57:30.579] idle_session_timeout_enabled = false [11:57:30.579] __func__ = "PostgresMain" [11:57:30.579] #31 0x000055a37bf6dc8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55a3ba5e07e0, username=0x55a3ba5afa60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:30.579] dbname = 0x55a3ba6231d0 "template1" [11:57:30.579] __func__ = "PostgresSingleUserMain" [11:57:30.579] #32 0x000055a37bc4be97 in main (argc=12, argv=0x55a3ba5e07e0) at ../src/backend/main/main.c:226 [11:57:30.579] do_check_root = [11:57:30.579] dispatch_option = [11:57:30.610] -e [11:57:30.610] [11:57:30.610] [11:57:30.672] dumping /tmp/cores/postgres-6-29480.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:30.917] [New LWP 29480] [11:57:30.917] [11:57:30.917] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:30.917] [11:57:30.917] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:30.917] Debuginfod has been disabled. [11:57:30.917] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:31.016] [Thread debugging using libthread_db enabled] [11:57:31.016] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:31.016] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:31.016] Program terminated with signal SIGABRT, Aborted. [11:57:31.016] #0 0x00007fcd5eca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:31.989] [11:57:31.989] Thread 1 (Thread 0x7fcd5cc41f00 (LWP 29480)): [11:57:31.989] #0 0x00007fcd5eca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:31.989] No symbol table info available. [11:57:31.989] #1 0x00007fcd5ec5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:31.989] No symbol table info available. [11:57:31.989] #2 0x00007fcd5ec45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:31.989] No symbol table info available. [11:57:31.989] #3 0x00007fcd5ee1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:31.989] No locals. [11:57:31.989] #4 0x00007fcd5ee2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:31.989] No locals. [11:57:31.989] #5 0x00007fcd5ee0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55e8f8406440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:31.989] bp = 140731746439968 [11:57:31.989] pc = [11:57:31.989] Opts = {FromUnrecoverableHandler = true, pc = 94459074338213, bp = 194} [11:57:31.989] #6 0x000055e8f7925da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:31.989] crc0 = [11:57:31.989] len = [11:57:31.989] buf = [11:57:31.989] #7 0x000055e8f7925e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:31.989] p = [11:57:31.989] pend = [11:57:31.989] orig_crc = [11:57:31.989] orig_len = [11:57:31.989] #8 0x000055e8f7001ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:31.989] No locals. [11:57:31.989] #9 0x000055e8f7002f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffea9c15418, num_fpi=num_fpi@entry=0x7ffea9c1540c, topxid_included=0x7ffea9c1540b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:31.989] rdt = 0x55e9199c3200 [11:57:31.989] total_len = 194 [11:57:31.989] block_id = 1 [11:57:31.989] rdata_crc = [11:57:31.989] prev_regbuf = 0x55e9199c5118 [11:57:31.989] rdt_datas_last = 0x55e9199c31d0 [11:57:31.989] rechdr = 0x55e9199c33e0 [11:57:31.989] scratch = 0x55e9199c340e "" [11:57:31.989] __func__ = "XLogRecordAssemble" [11:57:31.989] #10 0x000055e8f7003f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:31.989] RedoRecPtr = 17604224 [11:57:31.989] doPageWrites = true [11:57:31.989] topxid_included = false [11:57:31.989] fpw_lsn = 0 [11:57:31.989] rdt = [11:57:31.989] num_fpi = 0 [11:57:31.989] EndPos = [11:57:31.989] __func__ = "XLogInsert" [11:57:31.989] #11 0x000055e8f6f1d66b in heap_insert (relation=relation@entry=0x55e919a610e0, tup=tup@entry=0x55e919b52250, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:31.989] recptr = [11:57:31.989] info = 128 '\200' [11:57:31.989] bufflags = 6 [11:57:31.989] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:31.989] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:31.989] page = 0x7fcd53b03000 "" [11:57:31.989] xid = [11:57:31.989] heaptup = 0x55e919b52250 [11:57:31.989] buffer = 97 [11:57:31.989] vmbuffer = 0 [11:57:31.989] all_visible_cleared = false [11:57:31.989] #12 0x000055e8f6f1ebfc in simple_heap_insert (relation=relation@entry=0x55e919a610e0, tup=tup@entry=0x55e919b52250) at ../src/backend/access/heap/heapam.c:2641 [11:57:31.989] No locals. [11:57:31.989] #13 0x000055e8f705670e in CatalogTupleInsert (heapRel=heapRel@entry=0x55e919a610e0, tup=0x55e919b52250) at ../src/backend/catalog/indexing.c:241 [11:57:31.989] indstate = 0x55e919b480e8 [11:57:31.989] #14 0x000055e8f7077d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55e919b4fd10 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffea9c157ec, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:31.989] conDesc = 0x55e919a610e0 [11:57:31.989] conOid = 10115 [11:57:31.989] tup = [11:57:31.989] nulls = {false , true, true, true, true, true, true, true} [11:57:31.989] values = {10115, 140731746440576, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94459647042456, 0, 0, 0, 0, 0, 0, 0} [11:57:31.989] conkeyArray = 0x55e919b52398 [11:57:31.989] confkeyArray = 0x0 [11:57:31.989] conpfeqopArray = 0x0 [11:57:31.989] conppeqopArray = 0x0 [11:57:31.989] conffeqopArray = 0x0 [11:57:31.989] conexclopArray = 0x0 [11:57:31.989] confdelsetcolsArray = [11:57:31.989] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:31.989] i = [11:57:31.989] conobject = {classId = 32766, objectId = 429723024, objectSubId = 21993} [11:57:31.989] addrs_auto = [11:57:31.989] addrs_normal = [11:57:31.989] #15 0x000055e8f704044e in StoreRelNotNull (rel=rel@entry=0x55e919a15568, nnname=nnname@entry=0x55e919b4fd10 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:31.989] constrOid = [11:57:31.989] #16 0x000055e8f7048556 in AddRelationNewConstraints (rel=rel@entry=0x55e919a15568, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55e919b4f400, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:31.989] nncooked = [11:57:31.989] colnum = 1 [11:57:31.989] inhcount = 0 [11:57:31.989] nnname = 0x55e919b4fd10 "pg_proc_oid_not_null" [11:57:31.989] constrOid = [11:57:31.989] cdef__state = [11:57:31.989] cdef = 0x55e919b4d9a0 [11:57:31.989] cdef__outerloop = [11:57:31.989] cookedConstraints = 0x0 [11:57:31.989] tupleDesc = [11:57:31.989] oldconstr = [11:57:31.989] numoldchecks = [11:57:31.989] pstate = 0x55e919b4dd78 [11:57:31.989] nsitem = [11:57:31.989] numchecks = 0 [11:57:31.989] checknames = 0x0 [11:57:31.989] nnnames = 0x55e919b51d80 [11:57:31.989] expr = [11:57:31.989] cooked = [11:57:31.989] __func__ = "AddRelationNewConstraints" [11:57:31.989] #17 0x000055e8f716fbae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffea9c15ab8, tab=tab@entry=0x55e919b482f8, rel=rel@entry=0x55e919a15568, constr=constr@entry=0x55e919b4df38, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:31.989] newcons = [11:57:31.989] lcon = [11:57:31.989] children = [11:57:31.989] child = [11:57:31.989] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:31.989] __func__ = "ATAddCheckNNConstraint" [11:57:31.989] #18 0x000055e8f7170291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffea9c15ab8, tab=tab@entry=0x55e919b482f8, rel=rel@entry=0x55e919a15568, newConstraint=0x55e919b4df38, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:31.989] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:31.989] __func__ = "ATExecAddConstraint" [11:57:31.989] #19 0x000055e8f717c51e in ATExecCmd (wqueue=wqueue@entry=0x7ffea9c15ab8, tab=tab@entry=0x55e919b482f8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffea9c15ba0) at ../src/backend/commands/tablecmds.c:5428 [11:57:31.989] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:31.989] rel = 0x55e919a15568 [11:57:31.989] __func__ = "ATExecCmd" [11:57:31.989] #20 0x000055e8f717d3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffea9c15ab8, lockmode=lockmode@entry=8, context=context@entry=0x7ffea9c15ba0) at ../src/backend/commands/tablecmds.c:5294 [11:57:31.989] lcmd__state = [11:57:31.989] tab = 0x55e919b482f8 [11:57:31.989] subcmds = 0x55e919b4f328 [11:57:31.989] lcmd = [11:57:31.989] ltab__state = [11:57:31.989] pass = AT_PASS_COL_ATTRS [11:57:31.989] ltab = [11:57:31.989] #21 0x000055e8f717d90d in ATController (parsetree=parsetree@entry=0x55e919b344a0, rel=rel@entry=0x55e919a15568, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffea9c15ba0) at ../src/backend/commands/tablecmds.c:4849 [11:57:31.989] wqueue = 0x55e919b38970 [11:57:31.989] lcmd = 0x0 [11:57:31.989] #22 0x000055e8f717d9c4 in AlterTable (stmt=stmt@entry=0x55e919b344a0, lockmode=lockmode@entry=8, context=context@entry=0x7ffea9c15ba0) at ../src/backend/commands/tablecmds.c:4504 [11:57:31.989] rel = 0x55e919a15568 [11:57:31.989] #23 0x000055e8f75feb4d in ProcessUtilitySlow (pstate=pstate@entry=0x55e919b38860, pstmt=pstmt@entry=0x55e919b34550, queryString=queryString@entry=0x55e919b33830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55e8f7e3f4a0 , qc=0x7ffea9c160a0) at ../src/backend/tcop/utility.c:1321 [11:57:31.989] atcontext = {pstmt = 0x55e919b34550, queryString = 0x55e919b33830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:31.989] atstmt = 0x55e919b344a0 [11:57:31.989] relid = 1255 [11:57:31.989] lockmode = 8 [11:57:31.989] cell = 0x0 [11:57:31.989] _save_exception_stack = 0x7ffea9c15f80 [11:57:31.989] _save_context_stack = 0x0 [11:57:31.989] _local_sigjmp_buf = {{__jmpbuf = {0, 7313178901566462265, 94459646919840, 0, 94459646916656, 0, 3554115892818221369, 7313419938171459897}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1, 140518445023233, 140731746442360, 4294967295, 140520034895952, 140520057253792, 140519989951296, 94459070789116, 0, 4611686018427387905, 140519988623616, 140520062173920, 332, 94459079768672, 140731746444320}}}} [11:57:31.989] _do_rethrow = false [11:57:31.989] parsetree = 0x55e919b344a0 [11:57:31.989] isTopLevel = true [11:57:31.989] isCompleteQuery = true [11:57:31.989] needCleanup = false [11:57:31.989] commandCollected = false [11:57:31.989] address = {classId = 21993, objectId = 431178912, objectSubId = 21993} [11:57:31.989] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:31.989] __func__ = "ProcessUtilitySlow" [11:57:31.989] #24 0x000055e8f75fe189 in standard_ProcessUtility (pstmt=0x55e919b34550, queryString=0x55e919b33830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55e8f7e3f4a0 , qc=0x7ffea9c160a0) at ../src/backend/tcop/utility.c:1070 [11:57:31.989] parsetree = 0x55e919b344a0 [11:57:31.989] isTopLevel = true [11:57:31.989] isAtomicContext = false [11:57:31.989] pstate = 0x55e919b38860 [11:57:31.989] readonly_flags = [11:57:31.989] __func__ = "standard_ProcessUtility" [11:57:31.989] #25 0x000055e8f75fe2e4 in ProcessUtility (pstmt=pstmt@entry=0x55e919b34550, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55e8f7e3f4a0 , qc=0x7ffea9c160a0) at ../src/backend/tcop/utility.c:523 [11:57:31.989] No locals. [11:57:31.989] #26 0x000055e8f75f9c09 in PortalRunUtility (portal=portal@entry=0x55e9199df650, pstmt=pstmt@entry=0x55e919b34550, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55e8f7e3f4a0 , qc=qc@entry=0x7ffea9c160a0) at ../src/backend/tcop/pquery.c:1184 [11:57:31.989] No locals. [11:57:31.989] #27 0x000055e8f75fa20d in PortalRunMulti (portal=portal@entry=0x55e9199df650, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55e8f7e3f4a0 , altdest=altdest@entry=0x55e8f7e3f4a0 , qc=qc@entry=0x7ffea9c160a0) at ../src/backend/tcop/pquery.c:1348 [11:57:31.989] pstmt = 0x55e919b34550 [11:57:31.989] stmtlist_item__state = [11:57:31.989] active_snapshot_set = false [11:57:31.989] stmtlist_item = 0x55e919b348d8 [11:57:31.989] query_index = 0 [11:57:31.989] #28 0x000055e8f75fa78c in PortalRun (portal=portal@entry=0x55e9199df650, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55e8f7e3f4a0 , altdest=altdest@entry=0x55e8f7e3f4a0 , qc=qc@entry=0x7ffea9c160a0) at ../src/backend/tcop/pquery.c:819 [11:57:31.989] _save_exception_stack = 0x7ffea9c16150 [11:57:31.989] _save_context_stack = 0x0 [11:57:31.989] _local_sigjmp_buf = {{__jmpbuf = {0, 7313421210172266809, 94459645523536, 94459646919960, 94459646919936, 94459646919888, 3554115892956633401, 7313419936110221625}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140731746443311, 94459646919936, 94459646919888, 94459073834047, 94459076531629, 94459645523536, 94459076957182, 1, 1, 0, 34, 94459645523536, 0, 34, 94459645523536}}}} [11:57:31.989] _do_rethrow = [11:57:31.989] result = [11:57:31.989] nprocessed = [11:57:31.989] saveTopTransactionResourceOwner = 0x55e9199d7998 [11:57:31.989] saveTopTransactionContext = 0x55e919a39600 [11:57:31.989] saveActivePortal = 0x0 [11:57:31.989] saveResourceOwner = 0x55e9199d7998 [11:57:31.989] savePortalContext = 0x0 [11:57:31.989] saveMemoryContext = 0x55e919a39600 [11:57:31.989] __func__ = "PortalRun" [11:57:31.989] #29 0x000055e8f75f39b2 in exec_simple_query (query_string=query_string@entry=0x55e919b33830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:31.989] cmdtaglen = 11 [11:57:31.989] snapshot_set = [11:57:31.989] per_parsetree_context = 0x0 [11:57:31.989] plantree_list = 0x55e919b348c0 [11:57:31.989] parsetree = 0x55e919b344d0 [11:57:31.989] commandTag = [11:57:31.989] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:31.989] querytree_list = [11:57:31.989] portal = 0x55e9199df650 [11:57:31.989] receiver = 0x55e8f7e3f4a0 [11:57:31.989] format = 0 [11:57:31.989] cmdtagname = [11:57:31.989] parsetree_item__state = [11:57:31.989] dest = DestDebug [11:57:31.989] oldcontext = 0x55e919a39600 [11:57:31.989] parsetree_list = 0x55e919b34500 [11:57:31.989] parsetree_item = 0x55e919b34518 [11:57:31.989] save_log_statement_stats = false [11:57:31.989] was_logged = false [11:57:31.989] use_implicit_block = false [11:57:31.989] msec_str = " d\301\251\376\177\000\000뀋\367\350U\000\0000a\301\251\376\177\000\000D\000\000\000\000\000\000" [11:57:31.989] __func__ = "exec_simple_query" [11:57:31.989] #30 0x000055e8f75f6714 in PostgresMain (dbname=, username=username@entry=0x55e919905a60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:31.989] query_string = 0x55e919b33830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:31.989] firstchar = [11:57:31.989] input_message = {data = 0x55e919b33830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:31.989] local_sigjmp_buf = {{__jmpbuf = {94459086932984, 7313391375974668601, 94459644631648, 140731746444320, 94459079527896, 140520062169120, 3554115891010476345, 7313419935850174777}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94459644831840, 17408, 94459086927040, 94459645307856, 94459079527896, 94459074012441, 4158754264, 10, 140731746443852, 94459086932992, 94459644831840, 94459086927040, 140731746444320, 94459079527896, 140520062169120}}}} [11:57:31.989] send_ready_for_query = false [11:57:31.989] idle_in_transaction_timeout_enabled = false [11:57:31.989] idle_session_timeout_enabled = false [11:57:31.989] __func__ = "PostgresMain" [11:57:31.989] #31 0x000055e8f75f6c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55e9199367a0, username=0x55e919905a60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:31.989] dbname = 0x55e919979190 "template1" [11:57:31.989] __func__ = "PostgresSingleUserMain" [11:57:31.989] #32 0x000055e8f72d4e97 in main (argc=12, argv=0x55e9199367a0) at ../src/backend/main/main.c:226 [11:57:31.989] do_check_root = [11:57:31.989] dispatch_option = [11:57:32.021] -e [11:57:32.021] [11:57:32.021] [11:57:32.122] dumping /tmp/cores/postgres-6-25224.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:32.377] [New LWP 25224] [11:57:32.377] [11:57:32.377] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:32.377] [11:57:32.377] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:32.377] Debuginfod has been disabled. [11:57:32.377] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:32.482] [Thread debugging using libthread_db enabled] [11:57:32.482] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:32.482] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:32.482] Program terminated with signal SIGABRT, Aborted. [11:57:32.482] #0 0x00007fe98e0a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:33.454] [11:57:33.454] Thread 1 (Thread 0x7fe98ee87f00 (LWP 25224)): [11:57:33.454] #0 0x00007fe98e0a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:33.454] No symbol table info available. [11:57:33.454] #1 0x00007fe98e05afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:33.454] No symbol table info available. [11:57:33.454] #2 0x00007fe98e045472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:33.454] No symbol table info available. [11:57:33.454] #3 0x00007fe98e21e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:33.454] No locals. [11:57:33.454] #4 0x00007fe98e22aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:33.454] No locals. [11:57:33.454] #5 0x00007fe98e20d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x560bd5fe7440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:33.454] bp = 140722818896864 [11:57:33.454] pc = [11:57:33.454] Opts = {FromUnrecoverableHandler = true, pc = 94608823446949, bp = 194} [11:57:33.454] #6 0x0000560bd5506da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:33.454] crc0 = [11:57:33.454] len = [11:57:33.454] buf = [11:57:33.454] #7 0x0000560bd5506e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:33.454] p = [11:57:33.454] pend = [11:57:33.454] orig_crc = [11:57:33.454] orig_len = [11:57:33.454] #8 0x0000560bd4be2ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:33.454] No locals. [11:57:33.454] #9 0x0000560bd4be3f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=1875584, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc95a1d4d8, num_fpi=num_fpi@entry=0x7ffc95a1d4cc, topxid_included=0x7ffc95a1d4cb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:33.454] rdt = 0x560bfc70f5e0 [11:57:33.454] total_len = 194 [11:57:33.454] block_id = 1 [11:57:33.454] rdata_crc = [11:57:33.454] prev_regbuf = 0x560bfc7114f8 [11:57:33.454] rdt_datas_last = 0x560bfc70f5b0 [11:57:33.454] rechdr = 0x560bfc70f7c0 [11:57:33.454] scratch = 0x560bfc70f7ee "" [11:57:33.454] __func__ = "XLogRecordAssemble" [11:57:33.454] #10 0x0000560bd4be4f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:33.454] RedoRecPtr = 1875584 [11:57:33.454] doPageWrites = true [11:57:33.454] topxid_included = false [11:57:33.454] fpw_lsn = 0 [11:57:33.454] rdt = [11:57:33.454] num_fpi = 0 [11:57:33.454] EndPos = [11:57:33.454] __func__ = "XLogInsert" [11:57:33.454] #11 0x0000560bd4afe66b in heap_insert (relation=relation@entry=0x560bfc7ad4c0, tup=tup@entry=0x560bfc89e630, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:33.454] recptr = [11:57:33.454] info = 128 '\200' [11:57:33.454] bufflags = 6 [11:57:33.454] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:33.454] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:33.454] page = 0x7fe982df0000 "" [11:57:33.454] xid = [11:57:33.454] heaptup = 0x560bfc89e630 [11:57:33.454] buffer = 97 [11:57:33.454] vmbuffer = 0 [11:57:33.454] all_visible_cleared = false [11:57:33.454] #12 0x0000560bd4affbfc in simple_heap_insert (relation=relation@entry=0x560bfc7ad4c0, tup=tup@entry=0x560bfc89e630) at ../src/backend/access/heap/heapam.c:2641 [11:57:33.454] No locals. [11:57:33.454] #13 0x0000560bd4c3770e in CatalogTupleInsert (heapRel=heapRel@entry=0x560bfc7ad4c0, tup=0x560bfc89e630) at ../src/backend/catalog/indexing.c:241 [11:57:33.454] indstate = 0x560bfc8944c8 [11:57:33.454] #14 0x0000560bd4c58d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x560bfc89c0f0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffc95a1d8ac, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:33.454] conDesc = 0x560bfc7ad4c0 [11:57:33.454] conOid = 10115 [11:57:33.454] tup = [11:57:33.454] nulls = {false , true, true, true, true, true, true, true} [11:57:33.454] values = {10115, 140722818897472, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94609481525112, 0, 0, 0, 0, 0, 0, 0} [11:57:33.454] conkeyArray = 0x560bfc89e778 [11:57:33.454] confkeyArray = 0x0 [11:57:33.454] conpfeqopArray = 0x0 [11:57:33.454] conppeqopArray = 0x0 [11:57:33.454] conffeqopArray = 0x0 [11:57:33.454] conexclopArray = 0x0 [11:57:33.454] confdelsetcolsArray = [11:57:33.454] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:33.454] i = [11:57:33.454] conobject = {classId = 32764, objectId = 4235317616, objectSubId = 22027} [11:57:33.454] addrs_auto = [11:57:33.454] addrs_normal = [11:57:33.454] #15 0x0000560bd4c2144e in StoreRelNotNull (rel=rel@entry=0x560bfc761948, nnname=nnname@entry=0x560bfc89c0f0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:33.454] constrOid = [11:57:33.454] #16 0x0000560bd4c29556 in AddRelationNewConstraints (rel=rel@entry=0x560bfc761948, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x560bfc89b7e0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:33.454] nncooked = [11:57:33.454] colnum = 1 [11:57:33.454] inhcount = 0 [11:57:33.454] nnname = 0x560bfc89c0f0 "pg_proc_oid_not_null" [11:57:33.454] constrOid = [11:57:33.454] cdef__state = [11:57:33.454] cdef = 0x560bfc899d80 [11:57:33.454] cdef__outerloop = [11:57:33.454] cookedConstraints = 0x0 [11:57:33.454] tupleDesc = [11:57:33.454] oldconstr = [11:57:33.454] numoldchecks = [11:57:33.454] pstate = 0x560bfc89a158 [11:57:33.454] nsitem = [11:57:33.454] numchecks = 0 [11:57:33.454] checknames = 0x0 [11:57:33.454] nnnames = 0x560bfc89e160 [11:57:33.454] expr = [11:57:33.454] cooked = [11:57:33.454] __func__ = "AddRelationNewConstraints" [11:57:33.454] #17 0x0000560bd4d50bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffc95a1db78, tab=tab@entry=0x560bfc8946d8, rel=rel@entry=0x560bfc761948, constr=constr@entry=0x560bfc89a318, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:33.454] newcons = [11:57:33.454] lcon = [11:57:33.454] children = [11:57:33.454] child = [11:57:33.454] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:33.454] __func__ = "ATAddCheckNNConstraint" [11:57:33.454] #18 0x0000560bd4d51291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffc95a1db78, tab=tab@entry=0x560bfc8946d8, rel=rel@entry=0x560bfc761948, newConstraint=0x560bfc89a318, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:33.454] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:33.454] __func__ = "ATExecAddConstraint" [11:57:33.454] #19 0x0000560bd4d5d51e in ATExecCmd (wqueue=wqueue@entry=0x7ffc95a1db78, tab=tab@entry=0x560bfc8946d8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffc95a1dc60) at ../src/backend/commands/tablecmds.c:5428 [11:57:33.454] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:33.454] rel = 0x560bfc761948 [11:57:33.454] __func__ = "ATExecCmd" [11:57:33.454] #20 0x0000560bd4d5e3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffc95a1db78, lockmode=lockmode@entry=8, context=context@entry=0x7ffc95a1dc60) at ../src/backend/commands/tablecmds.c:5294 [11:57:33.454] lcmd__state = [11:57:33.454] tab = 0x560bfc8946d8 [11:57:33.454] subcmds = 0x560bfc89b708 [11:57:33.454] lcmd = [11:57:33.454] ltab__state = [11:57:33.454] pass = AT_PASS_COL_ATTRS [11:57:33.454] ltab = [11:57:33.454] #21 0x0000560bd4d5e90d in ATController (parsetree=parsetree@entry=0x560bfc880880, rel=rel@entry=0x560bfc761948, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffc95a1dc60) at ../src/backend/commands/tablecmds.c:4849 [11:57:33.454] wqueue = 0x560bfc884d50 [11:57:33.454] lcmd = 0x0 [11:57:33.454] #22 0x0000560bd4d5e9c4 in AlterTable (stmt=stmt@entry=0x560bfc880880, lockmode=lockmode@entry=8, context=context@entry=0x7ffc95a1dc60) at ../src/backend/commands/tablecmds.c:4504 [11:57:33.454] rel = 0x560bfc761948 [11:57:33.454] #23 0x0000560bd51dfb4d in ProcessUtilitySlow (pstate=pstate@entry=0x560bfc884c40, pstmt=pstmt@entry=0x560bfc880930, queryString=queryString@entry=0x560bfc87fc10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x560bd5a204a0 , qc=0x7ffc95a1e160) at ../src/backend/tcop/utility.c:1321 [11:57:33.454] atcontext = {pstmt = 0x560bfc880930, queryString = 0x560bfc87fc10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:33.454] atstmt = 0x560bfc880880 [11:57:33.454] relid = 1255 [11:57:33.454] lockmode = 8 [11:57:33.454] cell = 0x0 [11:57:33.454] _save_exception_stack = 0x7ffc95a1e040 [11:57:33.454] _save_context_stack = 0x0 [11:57:33.454] _local_sigjmp_buf = {{__jmpbuf = {0, -5312405822305512856, 94609481402496, 0, 94609481399312, 0, -1898168979734441368, -5312321048434486680}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1, 140638704107521, 140722818899256, 4294967295, 140641086703696, 140641108783008, 140641040633664, 94608819897852, 0, 4611686018427387905, 140641039305984, 140641112621792, 332, 94608828877408, 140722818901216}}}} [11:57:33.454] _do_rethrow = false [11:57:33.454] parsetree = 0x560bfc880880 [11:57:33.454] isTopLevel = true [11:57:33.454] isCompleteQuery = true [11:57:33.454] needCleanup = false [11:57:33.454] commandCollected = false [11:57:33.454] address = {classId = 22027, objectId = 4236773504, objectSubId = 22027} [11:57:33.454] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:33.454] __func__ = "ProcessUtilitySlow" [11:57:33.454] #24 0x0000560bd51df189 in standard_ProcessUtility (pstmt=0x560bfc880930, queryString=0x560bfc87fc10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x560bd5a204a0 , qc=0x7ffc95a1e160) at ../src/backend/tcop/utility.c:1070 [11:57:33.454] parsetree = 0x560bfc880880 [11:57:33.454] isTopLevel = true [11:57:33.454] isAtomicContext = false [11:57:33.454] pstate = 0x560bfc884c40 [11:57:33.454] readonly_flags = [11:57:33.454] __func__ = "standard_ProcessUtility" [11:57:33.454] #25 0x0000560bd51df2e4 in ProcessUtility (pstmt=pstmt@entry=0x560bfc880930, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x560bd5a204a0 , qc=0x7ffc95a1e160) at ../src/backend/tcop/utility.c:523 [11:57:33.454] No locals. [11:57:33.454] #26 0x0000560bd51dac09 in PortalRunUtility (portal=portal@entry=0x560bfc72ba30, pstmt=pstmt@entry=0x560bfc880930, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x560bd5a204a0 , qc=qc@entry=0x7ffc95a1e160) at ../src/backend/tcop/pquery.c:1184 [11:57:33.454] No locals. [11:57:33.454] #27 0x0000560bd51db20d in PortalRunMulti (portal=portal@entry=0x560bfc72ba30, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x560bd5a204a0 , altdest=altdest@entry=0x560bd5a204a0 , qc=qc@entry=0x7ffc95a1e160) at ../src/backend/tcop/pquery.c:1348 [11:57:33.454] pstmt = 0x560bfc880930 [11:57:33.454] stmtlist_item__state = [11:57:33.454] active_snapshot_set = false [11:57:33.454] stmtlist_item = 0x560bfc880cb8 [11:57:33.454] query_index = 0 [11:57:33.454] #28 0x0000560bd51db78c in PortalRun (portal=portal@entry=0x560bfc72ba30, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x560bd5a204a0 , altdest=altdest@entry=0x560bd5a204a0 , qc=qc@entry=0x7ffc95a1e160) at ../src/backend/tcop/pquery.c:819 [11:57:33.455] _save_exception_stack = 0x7ffc95a1e210 [11:57:33.455] _save_context_stack = 0x0 [11:57:33.455] _local_sigjmp_buf = {{__jmpbuf = {0, -5312319733861494168, 94609480006192, 94609481402616, 94609481402592, 94609481402544, -1898168979872853400, -5312321050738994584}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140722818900207, 94609481402592, 94609481402544, 94608822942783, 94608825640365, 94609480006192, 94608826065918, 1, 1, 0, 34, 94609480006192, 0, 34, 94609480006192}}}} [11:57:33.455] _do_rethrow = [11:57:33.455] result = [11:57:33.455] nprocessed = [11:57:33.455] saveTopTransactionResourceOwner = 0x560bfc723d78 [11:57:33.455] saveTopTransactionContext = 0x560bfc7859e0 [11:57:33.455] saveActivePortal = 0x0 [11:57:33.455] saveResourceOwner = 0x560bfc723d78 [11:57:33.455] savePortalContext = 0x0 [11:57:33.455] saveMemoryContext = 0x560bfc7859e0 [11:57:33.455] __func__ = "PortalRun" [11:57:33.455] #29 0x0000560bd51d49b2 in exec_simple_query (query_string=query_string@entry=0x560bfc87fc10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:33.455] cmdtaglen = 11 [11:57:33.455] snapshot_set = [11:57:33.455] per_parsetree_context = 0x0 [11:57:33.455] plantree_list = 0x560bfc880ca0 [11:57:33.455] parsetree = 0x560bfc8808b0 [11:57:33.455] commandTag = [11:57:33.455] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:33.455] querytree_list = [11:57:33.455] portal = 0x560bfc72ba30 [11:57:33.455] receiver = 0x560bd5a204a0 [11:57:33.455] format = 0 [11:57:33.455] cmdtagname = [11:57:33.455] parsetree_item__state = [11:57:33.455] dest = DestDebug [11:57:33.455] oldcontext = 0x560bfc7859e0 [11:57:33.455] parsetree_list = 0x560bfc8808e0 [11:57:33.455] parsetree_item = 0x560bfc8808f8 [11:57:33.455] save_log_statement_stats = false [11:57:33.455] was_logged = false [11:57:33.455] use_implicit_block = false [11:57:33.455] msec_str = "\340䡕\374\177\000\000\353\220I\325\vV\000\000\360ᡕ\374\177\000\000D\000\000\000\000\000\000" [11:57:33.455] __func__ = "exec_simple_query" [11:57:33.455] #30 0x0000560bd51d7714 in PostgresMain (dbname=, username=username@entry=0x560bfc651a60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:33.455] query_string = 0x560bfc87fc10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:33.455] firstchar = [11:57:33.455] input_message = {data = 0x560bfc87fc10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:33.455] local_sigjmp_buf = {{__jmpbuf = {94608836041720, -5312314360609942936, 94609479113312, 140722818901216, 94608828636632, 140641112616992, -1898168979000438168, -5312321045110238616}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94609479313664, 17408, 94608836035776, 94609479790512, 94608828636632, 94608823121177, 3584007640, 10, 140722818900748, 94608836041728, 94609479313664, 94608836035776, 140722818901216, 94608828636632, 140641112616992}}}} [11:57:33.455] send_ready_for_query = false [11:57:33.455] idle_in_transaction_timeout_enabled = false [11:57:33.455] idle_session_timeout_enabled = false [11:57:33.455] __func__ = "PostgresMain" [11:57:33.455] #31 0x0000560bd51d7c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x560bfc682840, username=0x560bfc651a60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:33.455] dbname = 0x560bfc6c55d0 "template1" [11:57:33.455] __func__ = "PostgresSingleUserMain" [11:57:33.455] #32 0x0000560bd4eb5e97 in main (argc=12, argv=0x560bfc682840) at ../src/backend/main/main.c:226 [11:57:33.455] do_check_root = [11:57:33.455] dispatch_option = [11:57:33.485] -e [11:57:33.485] [11:57:33.485] [11:57:33.543] dumping /tmp/cores/cp-3-33046.core for /usr/bin/cp [11:57:33.590] [11:57:33.590] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:33.590] [11:57:33.590] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:33.590] Debuginfod has been disabled. [11:57:33.590] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:33.591] [New LWP 33046] [11:57:33.591] Core was generated by `cp pg_wal/000000010000000000000002.00000028.backup /tmp/cirrus-ci-build/build/t'. [11:57:33.591] Program terminated with signal SIGQUIT, Quit. [11:57:33.591] #0 0x00007ff552c2da50 in ?? () [11:57:33.591] [11:57:33.591] Thread 1 (LWP 33046): [11:57:33.591] #0 0x00007ff552c2da50 in ?? () [11:57:33.591] No symbol table info available. [11:57:33.591] #1 0x0000000000000003 in ?? () [11:57:33.591] No symbol table info available. [11:57:33.591] #2 0x00007ffe418bf46d in ?? () [11:57:33.591] No symbol table info available. [11:57:33.591] #3 0x00007ffe418bf470 in ?? () [11:57:33.591] No symbol table info available. [11:57:33.591] #4 0x00007ffe418bf4a0 in ?? () [11:57:33.591] No symbol table info available. [11:57:33.591] #5 0x0000000000000000 in ?? () [11:57:33.591] No symbol table info available. [11:57:33.598] -e [11:57:33.598] [11:57:33.598] [11:57:33.660] dumping /tmp/cores/postgres-6-30919.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:33.908] [New LWP 30919] [11:57:33.908] [11:57:33.908] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:33.908] [11:57:33.908] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:33.908] Debuginfod has been disabled. [11:57:33.908] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:34.013] [Thread debugging using libthread_db enabled] [11:57:34.013] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:34.013] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:34.013] Program terminated with signal SIGABRT, Aborted. [11:57:34.013] #0 0x00007f02b12a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:34.992] [11:57:34.992] Thread 1 (Thread 0x7f02b2087f00 (LWP 30919)): [11:57:34.992] #0 0x00007f02b12a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:34.992] No symbol table info available. [11:57:34.992] #1 0x00007f02b125afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:34.992] No symbol table info available. [11:57:34.992] #2 0x00007f02b1245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:34.992] No symbol table info available. [11:57:34.992] #3 0x00007f02b141e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:34.992] No locals. [11:57:34.992] #4 0x00007f02b142aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:34.992] No locals. [11:57:34.992] #5 0x00007f02b140d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x557b94b7f440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:34.992] bp = 140722590838032 [11:57:34.992] pc = [11:57:34.992] Opts = {FromUnrecoverableHandler = true, pc = 93989253016997, bp = 194} [11:57:34.992] #6 0x0000557b9409eda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:34.992] crc0 = [11:57:34.992] len = [11:57:34.992] buf = [11:57:34.992] #7 0x0000557b9409ee72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:34.992] p = [11:57:34.992] pend = [11:57:34.992] orig_crc = [11:57:34.992] orig_len = [11:57:34.992] #8 0x0000557b9377aef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:34.992] No locals. [11:57:34.992] #9 0x0000557b9377bf85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc8809ee08, num_fpi=num_fpi@entry=0x7ffc8809edfc, topxid_included=0x7ffc8809edfb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:34.992] rdt = 0x557bae9b9210 [11:57:34.992] total_len = 194 [11:57:34.992] block_id = 1 [11:57:34.992] rdata_crc = [11:57:34.992] prev_regbuf = 0x557bae9bb128 [11:57:34.992] rdt_datas_last = 0x557bae9b91e0 [11:57:34.992] rechdr = 0x557bae9b93f0 [11:57:34.992] scratch = 0x557bae9b941e "" [11:57:34.992] __func__ = "XLogRecordAssemble" [11:57:34.992] #10 0x0000557b9377cf4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:34.992] RedoRecPtr = 17604224 [11:57:34.992] doPageWrites = true [11:57:34.992] topxid_included = false [11:57:34.992] fpw_lsn = 0 [11:57:34.992] rdt = [11:57:34.992] num_fpi = 0 [11:57:34.992] EndPos = [11:57:34.992] __func__ = "XLogInsert" [11:57:34.992] #11 0x0000557b9369666b in heap_insert (relation=relation@entry=0x557baea570f0, tup=tup@entry=0x557baeb48260, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:34.992] recptr = [11:57:34.992] info = 128 '\200' [11:57:34.992] bufflags = 6 [11:57:34.992] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:34.992] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:34.992] page = 0x7f02a5fef000 "" [11:57:34.992] xid = [11:57:34.992] heaptup = 0x557baeb48260 [11:57:34.992] buffer = 97 [11:57:34.992] vmbuffer = 0 [11:57:34.992] all_visible_cleared = false [11:57:34.992] #12 0x0000557b93697bfc in simple_heap_insert (relation=relation@entry=0x557baea570f0, tup=tup@entry=0x557baeb48260) at ../src/backend/access/heap/heapam.c:2641 [11:57:34.992] No locals. [11:57:34.992] #13 0x0000557b937cf70e in CatalogTupleInsert (heapRel=heapRel@entry=0x557baea570f0, tup=0x557baeb48260) at ../src/backend/catalog/indexing.c:241 [11:57:34.992] indstate = 0x557baeb3e0f8 [11:57:34.992] #14 0x0000557b937f0d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x557baeb45d20 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffc8809f1dc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:34.992] conDesc = 0x557baea570f0 [11:57:34.992] conOid = 10115 [11:57:34.992] tup = [11:57:34.992] nulls = {false , true, true, true, true, true, true, true} [11:57:34.992] values = {10115, 140722590838640, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 93989700404136, 0, 0, 0, 0, 0, 0, 0} [11:57:34.992] conkeyArray = 0x557baeb483a8 [11:57:34.992] confkeyArray = 0x0 [11:57:34.992] conpfeqopArray = 0x0 [11:57:34.992] conppeqopArray = 0x0 [11:57:34.992] conffeqopArray = 0x0 [11:57:34.992] conexclopArray = 0x0 [11:57:34.992] confdelsetcolsArray = [11:57:34.992] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:34.992] i = [11:57:34.992] conobject = {classId = 32764, objectId = 2929487264, objectSubId = 21883} [11:57:34.992] addrs_auto = [11:57:34.992] addrs_normal = [11:57:34.992] #15 0x0000557b937b944e in StoreRelNotNull (rel=rel@entry=0x557baea0b578, nnname=nnname@entry=0x557baeb45d20 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:34.992] constrOid = [11:57:34.992] #16 0x0000557b937c1556 in AddRelationNewConstraints (rel=rel@entry=0x557baea0b578, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x557baeb45410, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:34.992] nncooked = [11:57:34.992] colnum = 1 [11:57:34.992] inhcount = 0 [11:57:34.992] nnname = 0x557baeb45d20 "pg_proc_oid_not_null" [11:57:34.992] constrOid = [11:57:34.992] cdef__state = [11:57:34.992] cdef = 0x557baeb439b0 [11:57:34.992] cdef__outerloop = [11:57:34.992] cookedConstraints = 0x0 [11:57:34.992] tupleDesc = [11:57:34.992] oldconstr = [11:57:34.992] numoldchecks = [11:57:34.992] pstate = 0x557baeb43d88 [11:57:34.992] nsitem = [11:57:34.992] numchecks = 0 [11:57:34.992] checknames = 0x0 [11:57:34.992] nnnames = 0x557baeb47d90 [11:57:34.992] expr = [11:57:34.992] cooked = [11:57:34.992] __func__ = "AddRelationNewConstraints" [11:57:34.992] #17 0x0000557b938e8bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffc8809f4a8, tab=tab@entry=0x557baeb3e308, rel=rel@entry=0x557baea0b578, constr=constr@entry=0x557baeb43f48, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:34.992] newcons = [11:57:34.992] lcon = [11:57:34.992] children = [11:57:34.992] child = [11:57:34.992] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:34.992] __func__ = "ATAddCheckNNConstraint" [11:57:34.992] #18 0x0000557b938e9291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffc8809f4a8, tab=tab@entry=0x557baeb3e308, rel=rel@entry=0x557baea0b578, newConstraint=0x557baeb43f48, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:34.992] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:34.992] __func__ = "ATExecAddConstraint" [11:57:34.992] #19 0x0000557b938f551e in ATExecCmd (wqueue=wqueue@entry=0x7ffc8809f4a8, tab=tab@entry=0x557baeb3e308, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffc8809f590) at ../src/backend/commands/tablecmds.c:5428 [11:57:34.992] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:34.992] rel = 0x557baea0b578 [11:57:34.992] __func__ = "ATExecCmd" [11:57:34.992] #20 0x0000557b938f63b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffc8809f4a8, lockmode=lockmode@entry=8, context=context@entry=0x7ffc8809f590) at ../src/backend/commands/tablecmds.c:5294 [11:57:34.992] lcmd__state = [11:57:34.992] tab = 0x557baeb3e308 [11:57:34.992] subcmds = 0x557baeb45338 [11:57:34.992] lcmd = [11:57:34.992] ltab__state = [11:57:34.992] pass = AT_PASS_COL_ATTRS [11:57:34.992] ltab = [11:57:34.992] #21 0x0000557b938f690d in ATController (parsetree=parsetree@entry=0x557baeb2a4b0, rel=rel@entry=0x557baea0b578, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffc8809f590) at ../src/backend/commands/tablecmds.c:4849 [11:57:34.992] wqueue = 0x557baeb2e980 [11:57:34.992] lcmd = 0x0 [11:57:34.992] #22 0x0000557b938f69c4 in AlterTable (stmt=stmt@entry=0x557baeb2a4b0, lockmode=lockmode@entry=8, context=context@entry=0x7ffc8809f590) at ../src/backend/commands/tablecmds.c:4504 [11:57:34.992] rel = 0x557baea0b578 [11:57:34.992] #23 0x0000557b93d77b4d in ProcessUtilitySlow (pstate=pstate@entry=0x557baeb2e870, pstmt=pstmt@entry=0x557baeb2a560, queryString=queryString@entry=0x557baeb29840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x557b945b84a0 , qc=0x7ffc8809fa90) at ../src/backend/tcop/utility.c:1321 [11:57:34.992] atcontext = {pstmt = 0x557baeb2a560, queryString = 0x557baeb29840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:34.992] atstmt = 0x557baeb2a4b0 [11:57:34.992] relid = 1255 [11:57:34.992] lockmode = 8 [11:57:34.992] cell = 0x0 [11:57:34.992] _save_exception_stack = 0x7ffc8809f970 [11:57:34.992] _save_context_stack = 0x0 [11:57:34.992] _local_sigjmp_buf = {{__jmpbuf = {0, -6192317440384315946, 93989700281520, 0, 93989700278336, 0, -63554598074331690, -6192446382235202090}, __mask_was_saved = 0, __saved_mask = {__val = {0, 139649492480328, 93989249482559, 139649492616896, 93986769338369, 93989265531680, 4294967295, 139649538558032, 139649560641440, 0, 4611686018427387905, 139649491155200, 0, 139649492482884, 139649564480224, 332}}}} [11:57:34.992] _do_rethrow = false [11:57:34.992] parsetree = 0x557baeb2a4b0 [11:57:34.992] isTopLevel = true [11:57:34.992] isCompleteQuery = true [11:57:34.992] needCleanup = false [11:57:34.992] commandCollected = false [11:57:34.992] address = {classId = 21883, objectId = 2930943152, objectSubId = 21883} [11:57:34.992] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:34.992] __func__ = "ProcessUtilitySlow" [11:57:34.992] #24 0x0000557b93d77189 in standard_ProcessUtility (pstmt=0x557baeb2a560, queryString=0x557baeb29840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x557b945b84a0 , qc=0x7ffc8809fa90) at ../src/backend/tcop/utility.c:1070 [11:57:34.992] parsetree = 0x557baeb2a4b0 [11:57:34.992] isTopLevel = true [11:57:34.992] isAtomicContext = false [11:57:34.992] pstate = 0x557baeb2e870 [11:57:34.992] readonly_flags = [11:57:34.992] __func__ = "standard_ProcessUtility" [11:57:34.992] #25 0x0000557b93d772e4 in ProcessUtility (pstmt=pstmt@entry=0x557baeb2a560, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x557b945b84a0 , qc=0x7ffc8809fa90) at ../src/backend/tcop/utility.c:523 [11:57:34.992] No locals. [11:57:34.992] #26 0x0000557b93d72c09 in PortalRunUtility (portal=portal@entry=0x557bae9d5660, pstmt=pstmt@entry=0x557baeb2a560, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x557b945b84a0 , qc=qc@entry=0x7ffc8809fa90) at ../src/backend/tcop/pquery.c:1184 [11:57:34.992] No locals. [11:57:34.992] #27 0x0000557b93d7320d in PortalRunMulti (portal=portal@entry=0x557bae9d5660, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x557b945b84a0 , altdest=altdest@entry=0x557b945b84a0 , qc=qc@entry=0x7ffc8809fa90) at ../src/backend/tcop/pquery.c:1348 [11:57:34.992] pstmt = 0x557baeb2a560 [11:57:34.992] stmtlist_item__state = [11:57:34.992] active_snapshot_set = false [11:57:34.992] stmtlist_item = 0x557baeb2a8e8 [11:57:34.992] query_index = 0 [11:57:34.992] #28 0x0000557b93d7378c in PortalRun (portal=portal@entry=0x557bae9d5660, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x557b945b84a0 , altdest=altdest@entry=0x557b945b84a0 , qc=qc@entry=0x7ffc8809fa90) at ../src/backend/tcop/pquery.c:819 [11:57:34.992] _save_exception_stack = 0x7ffc8809fb40 [11:57:34.992] _save_context_stack = 0x0 [11:57:34.992] _local_sigjmp_buf = {{__jmpbuf = {0, -6192434322525401642, 93989698885216, 93989700281640, 93989700281616, 93989700281568, -63554597675872810, -6192446380178158122}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140722590841375, 93989700281616, 93989700281568, 93989252512831, 93989255210413, 93989698885216, 93989255635966, 1, 1, 0, 34, 93989698885216, 0, 34, 93989698885216}}}} [11:57:34.992] _do_rethrow = [11:57:34.992] result = [11:57:34.992] nprocessed = [11:57:34.992] saveTopTransactionResourceOwner = 0x557bae9cd9a8 [11:57:34.992] saveTopTransactionContext = 0x557baea2f610 [11:57:34.992] saveActivePortal = 0x0 [11:57:34.992] saveResourceOwner = 0x557bae9cd9a8 [11:57:34.992] savePortalContext = 0x0 [11:57:34.992] saveMemoryContext = 0x557baea2f610 [11:57:34.992] __func__ = "PortalRun" [11:57:34.992] #29 0x0000557b93d6c9b2 in exec_simple_query (query_string=query_string@entry=0x557baeb29840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:34.992] cmdtaglen = 11 [11:57:34.992] snapshot_set = [11:57:34.992] per_parsetree_context = 0x0 [11:57:34.992] plantree_list = 0x557baeb2a8d0 [11:57:34.992] parsetree = 0x557baeb2a4e0 [11:57:34.992] commandTag = [11:57:34.992] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:34.992] querytree_list = [11:57:34.992] portal = 0x557bae9d5660 [11:57:34.992] receiver = 0x557b945b84a0 [11:57:34.992] format = 0 [11:57:34.992] cmdtagname = [11:57:34.992] parsetree_item__state = [11:57:34.992] dest = DestDebug [11:57:34.992] oldcontext = 0x557baea2f610 [11:57:34.992] parsetree_list = 0x557baeb2a510 [11:57:34.992] parsetree_item = 0x557baeb2a528 [11:57:34.992] save_log_statement_stats = false [11:57:34.992] was_logged = false [11:57:34.992] use_implicit_block = false [11:57:34.992] msec_str = "\020\376\t\210\374\177\000\000\353\020\003\224{U\000\000 \373\t\210\374\177\000\000D\000\000\000\000\000\000" [11:57:34.992] __func__ = "exec_simple_query" [11:57:34.992] #30 0x0000557b93d6f714 in PostgresMain (dbname=, username=username@entry=0x557bae8fb280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:34.992] query_string = 0x557baeb29840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:34.992] firstchar = [11:57:34.992] input_message = {data = 0x557baeb29840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:34.992] local_sigjmp_buf = {{__jmpbuf = {93989265611768, -6192435289148895786, 93989697991296, 140722590842384, 93989258206680, 139649564475424, -63554597742981674, -6192446394413625898}, __mask_was_saved = 1, __saved_mask = {__val = {0, 93989698193648, 17408, 93989265605824, 93989698669536, 93989258206680, 93989252691225, 2488868312, 10, 140722590841916, 93989265611776, 93989698193648, 93989265605824, 140722590842384, 93989258206680, 139649564475424}}}} [11:57:34.992] send_ready_for_query = false [11:57:34.992] idle_in_transaction_timeout_enabled = false [11:57:34.992] idle_session_timeout_enabled = false [11:57:34.992] __func__ = "PostgresMain" [11:57:34.992] #31 0x0000557b93d6fc8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x557bae92c830, username=0x557bae8fb280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:34.992] dbname = 0x557bae96f200 "template1" [11:57:34.992] __func__ = "PostgresSingleUserMain" [11:57:34.992] #32 0x0000557b93a4de97 in main (argc=12, argv=0x557bae92c830) at ../src/backend/main/main.c:226 [11:57:34.992] do_check_root = [11:57:34.992] dispatch_option = [11:57:35.024] -e [11:57:35.024] [11:57:35.024] [11:57:35.086] dumping /tmp/cores/postgres-6-28734.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:35.336] [New LWP 28734] [11:57:35.336] [11:57:35.336] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:35.336] [11:57:35.336] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:35.336] Debuginfod has been disabled. [11:57:35.336] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:35.438] [Thread debugging using libthread_db enabled] [11:57:35.438] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:35.438] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:35.438] Program terminated with signal SIGABRT, Aborted. [11:57:35.438] #0 0x00007fdb47ea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:36.415] [11:57:36.415] Thread 1 (Thread 0x7fdb45e5df00 (LWP 28734)): [11:57:36.415] #0 0x00007fdb47ea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:36.415] No symbol table info available. [11:57:36.415] #1 0x00007fdb47e5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:36.415] No symbol table info available. [11:57:36.415] #2 0x00007fdb47e45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:36.415] No symbol table info available. [11:57:36.415] #3 0x00007fdb4801e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:36.415] No locals. [11:57:36.415] #4 0x00007fdb4802aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:36.415] No locals. [11:57:36.415] #5 0x00007fdb4800d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55700a7ee440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:36.415] bp = 140730202094864 [11:57:36.415] pc = [11:57:36.415] Opts = {FromUnrecoverableHandler = true, pc = 93939689381285, bp = 194} [11:57:36.415] #6 0x0000557009d0dda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:36.415] crc0 = [11:57:36.415] len = [11:57:36.415] buf = [11:57:36.415] #7 0x0000557009d0de72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:36.415] p = [11:57:36.415] pend = [11:57:36.415] orig_crc = [11:57:36.415] orig_len = [11:57:36.415] #8 0x00005570093e9ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:36.415] No locals. [11:57:36.415] #9 0x00005570093eaf85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffe4db47e08, num_fpi=num_fpi@entry=0x7ffe4db47dfc, topxid_included=0x7ffe4db47dfb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:36.415] rdt = 0x55701aeb53b0 [11:57:36.415] total_len = 194 [11:57:36.415] block_id = 1 [11:57:36.415] rdata_crc = [11:57:36.415] prev_regbuf = 0x55701aeb72c8 [11:57:36.415] rdt_datas_last = 0x55701aeb5380 [11:57:36.415] rechdr = 0x55701aeb5590 [11:57:36.415] scratch = 0x55701aeb55be "" [11:57:36.415] __func__ = "XLogRecordAssemble" [11:57:36.415] #10 0x00005570093ebf4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:36.415] RedoRecPtr = 17604224 [11:57:36.415] doPageWrites = true [11:57:36.415] topxid_included = false [11:57:36.415] fpw_lsn = 0 [11:57:36.415] rdt = [11:57:36.415] num_fpi = 0 [11:57:36.415] EndPos = [11:57:36.415] __func__ = "XLogInsert" [11:57:36.415] #11 0x000055700930566b in heap_insert (relation=relation@entry=0x55701af53690, tup=tup@entry=0x55701b044800, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:36.415] recptr = [11:57:36.415] info = 128 '\200' [11:57:36.415] bufflags = 6 [11:57:36.415] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:36.415] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:36.415] page = 0x7fdb3cd5a000 "" [11:57:36.415] xid = [11:57:36.415] heaptup = 0x55701b044800 [11:57:36.415] buffer = 97 [11:57:36.415] vmbuffer = 0 [11:57:36.415] all_visible_cleared = false [11:57:36.415] #12 0x0000557009306bfc in simple_heap_insert (relation=relation@entry=0x55701af53690, tup=tup@entry=0x55701b044800) at ../src/backend/access/heap/heapam.c:2641 [11:57:36.415] No locals. [11:57:36.415] #13 0x000055700943e70e in CatalogTupleInsert (heapRel=heapRel@entry=0x55701af53690, tup=0x55701b044800) at ../src/backend/catalog/indexing.c:241 [11:57:36.415] indstate = 0x55701b03a698 [11:57:36.415] #14 0x000055700945fd93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55701b0422c0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffe4db481dc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:36.415] conDesc = 0x55701af53690 [11:57:36.415] conOid = 10115 [11:57:36.415] tup = [11:57:36.415] nulls = {false , true, true, true, true, true, true, true} [11:57:36.415] values = {10115, 140730202095472, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 93939977963848, 0, 0, 0, 0, 0, 0, 0} [11:57:36.415] conkeyArray = 0x55701b044948 [11:57:36.415] confkeyArray = 0x0 [11:57:36.415] conpfeqopArray = 0x0 [11:57:36.415] conppeqopArray = 0x0 [11:57:36.415] conffeqopArray = 0x0 [11:57:36.415] conexclopArray = 0x0 [11:57:36.415] confdelsetcolsArray = [11:57:36.415] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:36.415] i = [11:57:36.415] conobject = {classId = 32766, objectId = 451686208, objectSubId = 21872} [11:57:36.415] addrs_auto = [11:57:36.415] addrs_normal = [11:57:36.415] #15 0x000055700942844e in StoreRelNotNull (rel=rel@entry=0x55701af07718, nnname=nnname@entry=0x55701b0422c0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:36.415] constrOid = [11:57:36.415] #16 0x0000557009430556 in AddRelationNewConstraints (rel=rel@entry=0x55701af07718, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55701b0419b0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:36.415] nncooked = [11:57:36.415] colnum = 1 [11:57:36.415] inhcount = 0 [11:57:36.415] nnname = 0x55701b0422c0 "pg_proc_oid_not_null" [11:57:36.415] constrOid = [11:57:36.415] cdef__state = [11:57:36.415] cdef = 0x55701b03ff50 [11:57:36.415] cdef__outerloop = [11:57:36.415] cookedConstraints = 0x0 [11:57:36.415] tupleDesc = [11:57:36.415] oldconstr = [11:57:36.415] numoldchecks = [11:57:36.415] pstate = 0x55701b040328 [11:57:36.415] nsitem = [11:57:36.415] numchecks = 0 [11:57:36.415] checknames = 0x0 [11:57:36.415] nnnames = 0x55701b044330 [11:57:36.415] expr = [11:57:36.415] cooked = [11:57:36.415] __func__ = "AddRelationNewConstraints" [11:57:36.415] #17 0x0000557009557bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffe4db484a8, tab=tab@entry=0x55701b03a8a8, rel=rel@entry=0x55701af07718, constr=constr@entry=0x55701b0404e8, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:36.415] newcons = [11:57:36.415] lcon = [11:57:36.415] children = [11:57:36.415] child = [11:57:36.415] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:36.415] __func__ = "ATAddCheckNNConstraint" [11:57:36.415] #18 0x0000557009558291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffe4db484a8, tab=tab@entry=0x55701b03a8a8, rel=rel@entry=0x55701af07718, newConstraint=0x55701b0404e8, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:36.415] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:36.415] __func__ = "ATExecAddConstraint" [11:57:36.415] #19 0x000055700956451e in ATExecCmd (wqueue=wqueue@entry=0x7ffe4db484a8, tab=tab@entry=0x55701b03a8a8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffe4db48590) at ../src/backend/commands/tablecmds.c:5428 [11:57:36.415] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:36.415] rel = 0x55701af07718 [11:57:36.415] __func__ = "ATExecCmd" [11:57:36.415] #20 0x00005570095653b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffe4db484a8, lockmode=lockmode@entry=8, context=context@entry=0x7ffe4db48590) at ../src/backend/commands/tablecmds.c:5294 [11:57:36.415] lcmd__state = [11:57:36.415] tab = 0x55701b03a8a8 [11:57:36.415] subcmds = 0x55701b0418d8 [11:57:36.415] lcmd = [11:57:36.415] ltab__state = [11:57:36.415] pass = AT_PASS_COL_ATTRS [11:57:36.415] ltab = [11:57:36.415] #21 0x000055700956590d in ATController (parsetree=parsetree@entry=0x55701b026a50, rel=rel@entry=0x55701af07718, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffe4db48590) at ../src/backend/commands/tablecmds.c:4849 [11:57:36.415] wqueue = 0x55701b02af20 [11:57:36.415] lcmd = 0x0 [11:57:36.415] #22 0x00005570095659c4 in AlterTable (stmt=stmt@entry=0x55701b026a50, lockmode=lockmode@entry=8, context=context@entry=0x7ffe4db48590) at ../src/backend/commands/tablecmds.c:4504 [11:57:36.415] rel = 0x55701af07718 [11:57:36.415] #23 0x00005570099e6b4d in ProcessUtilitySlow (pstate=pstate@entry=0x55701b02ae10, pstmt=pstmt@entry=0x55701b026b00, queryString=queryString@entry=0x55701b025de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55700a2274a0 , qc=0x7ffe4db48a90) at ../src/backend/tcop/utility.c:1321 [11:57:36.415] atcontext = {pstmt = 0x55701b026b00, queryString = 0x55701b025de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:36.415] atstmt = 0x55701b026a50 [11:57:36.415] relid = 1255 [11:57:36.415] lockmode = 8 [11:57:36.415] cell = 0x0 [11:57:36.415] _save_exception_stack = 0x7ffe4db48970 [11:57:36.415] _save_context_stack = 0x0 [11:57:36.415] _local_sigjmp_buf = {{__jmpbuf = {0, 4062880455880789305, 93939977841232, 0, 93939977838048, 0, 7890004535755066681, 4062920897537690937}, __mask_was_saved = 0, __saved_mask = {__val = {0, 140579736068424, 93939685846847, 140579736204992, 93939524698113, 93939701895968, 4294967295, 140579780659280, 140579803135904, 0, 93939694570968, 140579808051232, 140579807911614, 1, 140579808056032, 332}}}} [11:57:36.415] _do_rethrow = false [11:57:36.415] parsetree = 0x55701b026a50 [11:57:36.415] isTopLevel = true [11:57:36.415] isCompleteQuery = true [11:57:36.415] needCleanup = false [11:57:36.415] commandCollected = false [11:57:36.415] address = {classId = 21872, objectId = 453143120, objectSubId = 21872} [11:57:36.415] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:36.415] __func__ = "ProcessUtilitySlow" [11:57:36.415] #24 0x00005570099e6189 in standard_ProcessUtility (pstmt=0x55701b026b00, queryString=0x55701b025de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55700a2274a0 , qc=0x7ffe4db48a90) at ../src/backend/tcop/utility.c:1070 [11:57:36.415] parsetree = 0x55701b026a50 [11:57:36.415] isTopLevel = true [11:57:36.415] isAtomicContext = false [11:57:36.415] pstate = 0x55701b02ae10 [11:57:36.415] readonly_flags = [11:57:36.415] __func__ = "standard_ProcessUtility" [11:57:36.415] #25 0x00005570099e62e4 in ProcessUtility (pstmt=pstmt@entry=0x55701b026b00, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55700a2274a0 , qc=0x7ffe4db48a90) at ../src/backend/tcop/utility.c:523 [11:57:36.415] No locals. [11:57:36.415] #26 0x00005570099e1c09 in PortalRunUtility (portal=portal@entry=0x55701aed1800, pstmt=pstmt@entry=0x55701b026b00, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55700a2274a0 , qc=qc@entry=0x7ffe4db48a90) at ../src/backend/tcop/pquery.c:1184 [11:57:36.415] No locals. [11:57:36.415] #27 0x00005570099e220d in PortalRunMulti (portal=portal@entry=0x55701aed1800, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55700a2274a0 , altdest=altdest@entry=0x55700a2274a0 , qc=qc@entry=0x7ffe4db48a90) at ../src/backend/tcop/pquery.c:1348 [11:57:36.415] pstmt = 0x55701b026b00 [11:57:36.415] stmtlist_item__state = [11:57:36.415] active_snapshot_set = false [11:57:36.415] stmtlist_item = 0x55701b026e88 [11:57:36.415] query_index = 0 [11:57:36.415] #28 0x00005570099e278c in PortalRun (portal=portal@entry=0x55701aed1800, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55700a2274a0 , altdest=altdest@entry=0x55700a2274a0 , qc=qc@entry=0x7ffe4db48a90) at ../src/backend/tcop/pquery.c:819 [11:57:36.416] _save_exception_stack = 0x7ffe4db48b40 [11:57:36.416] _save_context_stack = 0x0 [11:57:36.416] _local_sigjmp_buf = {{__jmpbuf = {0, 4062918114107903289, 93939976443904, 93939977841352, 93939977841328, 93939977841280, 7890004535348219193, 4062920895568203065}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140730202098207, 93939977841328, 93939977841280, 93939688877119, 93939691574701, 93939976443904, 93939692000254, 1, 1, 0, 34, 93939976443904, 0, 34, 93939976443904}}}} [11:57:36.416] _do_rethrow = [11:57:36.416] result = [11:57:36.416] nprocessed = [11:57:36.416] saveTopTransactionResourceOwner = 0x55701aec9b48 [11:57:36.416] saveTopTransactionContext = 0x55701af2b7b0 [11:57:36.416] saveActivePortal = 0x0 [11:57:36.416] saveResourceOwner = 0x55701aec9b48 [11:57:36.416] savePortalContext = 0x0 [11:57:36.416] saveMemoryContext = 0x55701af2b7b0 [11:57:36.416] __func__ = "PortalRun" [11:57:36.416] #29 0x00005570099db9b2 in exec_simple_query (query_string=query_string@entry=0x55701b025de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:36.416] cmdtaglen = 11 [11:57:36.416] snapshot_set = [11:57:36.416] per_parsetree_context = 0x0 [11:57:36.416] plantree_list = 0x55701b026e70 [11:57:36.416] parsetree = 0x55701b026a80 [11:57:36.416] commandTag = [11:57:36.416] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:36.416] querytree_list = [11:57:36.416] portal = 0x55701aed1800 [11:57:36.416] receiver = 0x55700a2274a0 [11:57:36.416] format = 0 [11:57:36.416] cmdtagname = [11:57:36.416] parsetree_item__state = [11:57:36.416] dest = DestDebug [11:57:36.416] oldcontext = 0x55701af2b7b0 [11:57:36.416] parsetree_list = 0x55701b026ab0 [11:57:36.416] parsetree_item = 0x55701b026ac8 [11:57:36.416] save_log_statement_stats = false [11:57:36.416] was_logged = false [11:57:36.416] use_implicit_block = false [11:57:36.416] msec_str = "\020\216\264M\376\177\000\000\353\000\312\tpU\000\000 \213\264M\376\177\000\000D\000\000\000\000\000\000" [11:57:36.416] __func__ = "exec_simple_query" [11:57:36.416] #30 0x00005570099de714 in PostgresMain (dbname=, username=username@entry=0x55701adf9360 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:36.416] query_string = 0x55701b025de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:36.416] firstchar = [11:57:36.416] input_message = {data = 0x55701b025de0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:36.416] local_sigjmp_buf = {{__jmpbuf = {93939701976056, 4062918774740143417, 93939975557984, 140730202099216, 93939694570968, 140579808051232, 7890004535281110329, 4062920867910962489}, __mask_was_saved = 1, __saved_mask = {__val = {0, 93939975760336, 17408, 93939701970112, 93939976228224, 93939694570968, 93939689055513, 169872856, 10, 140730202098748, 93939701976064, 93939975760336, 93939701970112, 140730202099216, 93939694570968, 140579808051232}}}} [11:57:36.416] send_ready_for_query = false [11:57:36.416] idle_in_transaction_timeout_enabled = false [11:57:36.416] idle_session_timeout_enabled = false [11:57:36.416] __func__ = "PostgresMain" [11:57:36.416] #31 0x00005570099dec8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55701ae2a910, username=0x55701adf9360 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:36.416] dbname = 0x55701ae6c410 "template1" [11:57:36.416] __func__ = "PostgresSingleUserMain" [11:57:36.416] #32 0x00005570096bce97 in main (argc=12, argv=0x55701ae2a910) at ../src/backend/main/main.c:226 [11:57:36.416] do_check_root = [11:57:36.416] dispatch_option = [11:57:36.447] -e [11:57:36.447] [11:57:36.447] [11:57:36.509] dumping /tmp/cores/postgres-6-30790.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:36.760] [New LWP 30790] [11:57:36.760] [11:57:36.760] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:36.760] [11:57:36.760] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:36.760] Debuginfod has been disabled. [11:57:36.760] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:36.862] [Thread debugging using libthread_db enabled] [11:57:36.862] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:36.862] Core was generated by `postgres: main: postgres regression_src [local] CREATE TYPE '. [11:57:36.862] Program terminated with signal SIGABRT, Aborted. [11:57:36.862] #0 0x00007f9aecca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:37.855] [11:57:37.855] Thread 1 (Thread 0x7f9aeda88f00 (LWP 30790)): [11:57:37.855] #0 0x00007f9aecca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:37.855] No symbol table info available. [11:57:37.855] #1 0x00007f9aecc5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:37.855] No symbol table info available. [11:57:37.855] #2 0x00007f9aecc45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:37.855] No symbol table info available. [11:57:37.855] #3 0x00007f9aece1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:37.855] No locals. [11:57:37.855] #4 0x00007f9aece2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:37.855] No locals. [11:57:37.855] #5 0x00007f9aece0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55b7ce437440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:37.855] bp = 140729628285344 [11:57:37.855] pc = [11:57:37.855] Opts = {FromUnrecoverableHandler = true, pc = 94247916498341, bp = 211} [11:57:37.855] #6 0x000055b7cd956da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:37.855] crc0 = [11:57:37.855] len = [11:57:37.855] buf = [11:57:37.855] #7 0x000055b7cd956e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:37.855] p = [11:57:37.855] pend = [11:57:37.855] orig_crc = [11:57:37.855] orig_len = [11:57:37.855] #8 0x000055b7cd032ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:37.855] No locals. [11:57:37.855] #9 0x000055b7cd033f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=0 '\000', RedoRecPtr=0, doPageWrites=false, fpw_lsn=fpw_lsn@entry=0x7ffe2b80da98, num_fpi=num_fpi@entry=0x7ffe2b80da8c, topxid_included=0x7ffe2b80da8b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:37.855] rdt = 0x55b8092612c0 [11:57:37.855] total_len = 211 [11:57:37.855] block_id = 1 [11:57:37.855] rdata_crc = [11:57:37.855] prev_regbuf = 0x55b8092631d8 [11:57:37.855] rdt_datas_last = 0x55b809261290 [11:57:37.855] rechdr = 0x55b8092614a0 [11:57:37.855] scratch = 0x55b8092614ce "" [11:57:37.855] __func__ = "XLogRecordAssemble" [11:57:37.855] #10 0x000055b7cd034f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=0 '\000') at ../src/backend/access/transam/xloginsert.c:520 [11:57:37.855] RedoRecPtr = 0 [11:57:37.855] doPageWrites = false [11:57:37.855] topxid_included = false [11:57:37.855] fpw_lsn = 0 [11:57:37.855] rdt = [11:57:37.855] num_fpi = 0 [11:57:37.855] EndPos = [11:57:37.855] __func__ = "XLogInsert" [11:57:37.855] #11 0x000055b7ccf4e66b in heap_insert (relation=relation@entry=0x7f9aea83a768, tup=tup@entry=0x55b80923cfa8, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:37.855] recptr = [11:57:37.855] info = 0 '\000' [11:57:37.855] bufflags = 0 [11:57:37.855] xlrec = {offnum = 13, flags = 0 '\000'} [11:57:37.855] xlhdr = {t_infomask2 = 32, t_infomask = 2049, t_hoff = 32 ' '} [11:57:37.855] page = 0x7f9ae1b76000 "" [11:57:37.855] xid = [11:57:37.855] heaptup = 0x55b80923cfa8 [11:57:37.855] buffer = 108 [11:57:37.855] vmbuffer = 0 [11:57:37.855] all_visible_cleared = false [11:57:37.855] #12 0x000055b7ccf4fbfc in simple_heap_insert (relation=relation@entry=0x7f9aea83a768, tup=tup@entry=0x55b80923cfa8) at ../src/backend/access/heap/heapam.c:2641 [11:57:37.855] No locals. [11:57:37.855] #13 0x000055b7cd08770e in CatalogTupleInsert (heapRel=heapRel@entry=0x7f9aea83a768, tup=tup@entry=0x55b80923cfa8) at ../src/backend/catalog/indexing.c:241 [11:57:37.855] indstate = 0x55b80923f1f8 [11:57:37.855] #14 0x000055b7cd0c4816 in TypeCreate (newTypeOid=newTypeOid@entry=0, typeName=0x55b809213138 "digit", typeNamespace=typeNamespace@entry=2200, relationOid=relationOid@entry=0, relationKind=relationKind@entry=0 '\000', ownerId=10, internalSize=4, typeType=101 'e', typeCategory=69 'E', typePreferred=false, typDelim=44 ',', inputProcedure=3506, outputProcedure=3507, receiveProcedure=3532, sendProcedure=3533, typmodinProcedure=0, typmodoutProcedure=0, analyzeProcedure=0, subscriptProcedure=0, elementType=0, isImplicitArray=false, arrayType=16387, baseType=0, defaultTypeValue=0x0, defaultTypeBin=0x0, passedByValue=true, alignment=105 'i', storage=112 'p', typeMod=-1, typNDims=0, typeNotNull=false, typeCollation=0) at ../src/backend/catalog/pg_type.c:490 [11:57:37.855] pg_type_desc = 0x7f9aea83a768 [11:57:37.855] typeObjectId = 16388 [11:57:37.855] isDependentType = false [11:57:37.855] rebuildDeps = false [11:57:37.855] typacl = [11:57:37.855] tup = 0x55b80923cfa8 [11:57:37.855] nulls = {false , true, true, true} [11:57:37.855] replaces = {true } [11:57:37.855] values = {16388, 140729628285904, 2200, 10, 4, 1, 101, 69, 0, 1, 44, 0, 0, 0, 16387, 3506, 3507, 3532, 3533, 0, 0, 0, 105, 112, 0, 0, 18446744073709551615, 0, 0, 0, 0, 0} [11:57:37.855] name = {data = "digit", '\000' } [11:57:37.855] i = [11:57:37.855] address = {classId = 0, objectId = 154035232, objectSubId = 21944} [11:57:37.855] __func__ = "TypeCreate" [11:57:37.855] #15 0x000055b7cd1d2d12 in DefineEnum (stmt=stmt@entry=0x55b809212ad0) at ../src/backend/commands/typecmds.c:1212 [11:57:37.855] enumName = 0x55b809213138 "digit" [11:57:37.855] enumArrayName = [11:57:37.855] enumNamespace = 2200 [11:57:37.855] aclresult = [11:57:37.855] old_type_oid = [11:57:37.855] enumArrayOid = 16387 [11:57:37.855] enumTypeAddr = {classId = 21944, objectId = 0, objectSubId = 0} [11:57:37.855] __func__ = "DefineEnum" [11:57:37.855] #16 0x000055b7cd6309e9 in ProcessUtilitySlow (pstate=pstate@entry=0x55b8091e72e0, pstmt=pstmt@entry=0x55b809213530, queryString=queryString@entry=0x55b8092126c0 "create type digit as enum ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55b8092138f0, qc=0x7ffe2b80e450) at ../src/backend/tcop/utility.c:1635 [11:57:37.855] _save_exception_stack = 0x7ffe2b80e330 [11:57:37.855] _save_context_stack = 0x0 [11:57:37.855] _local_sigjmp_buf = {{__jmpbuf = {0, 7348312458978602443, 94248915512016, 0, 94248915510976, 0, 3564096062394150347, 7342551535626694091}, __mask_was_saved = 0, __saved_mask = {__val = {94247921927160, 94248915735000, 94247916485999, 140303388937656, 94248915510976, 94247918854163, 94247929084514, 94247929084640, 140729628287316, 94247919049561, 94247929084529, 94247929084640, 140729628287348, 94247919049576, 94247929084640, 11}}}} [11:57:37.855] _do_rethrow = false [11:57:37.855] parsetree = 0x55b809212ad0 [11:57:37.855] isTopLevel = true [11:57:37.855] isCompleteQuery = true [11:57:37.855] needCleanup = false [11:57:37.855] commandCollected = false [11:57:37.855] address = {classId = 21944, objectId = 153168592, objectSubId = 21944} [11:57:37.855] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:37.855] __func__ = "ProcessUtilitySlow" [11:57:37.855] #17 0x000055b7cd62f189 in standard_ProcessUtility (pstmt=0x55b809213530, queryString=0x55b8092126c0 "create type digit as enum ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55b8092138f0, qc=0x7ffe2b80e450) at ../src/backend/tcop/utility.c:1070 [11:57:37.855] parsetree = 0x55b809212ad0 [11:57:37.855] isTopLevel = true [11:57:37.855] isAtomicContext = false [11:57:37.855] pstate = 0x55b8091e72e0 [11:57:37.855] readonly_flags = [11:57:37.855] __func__ = "standard_ProcessUtility" [11:57:37.855] #18 0x000055b7cd62f2e4 in ProcessUtility (pstmt=pstmt@entry=0x55b809213530, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55b8092138f0, qc=0x7ffe2b80e450) at ../src/backend/tcop/utility.c:523 [11:57:37.855] No locals. [11:57:37.855] #19 0x000055b7cd62ac09 in PortalRunUtility (portal=portal@entry=0x55b809291740, pstmt=pstmt@entry=0x55b809213530, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55b8092138f0, qc=qc@entry=0x7ffe2b80e450) at ../src/backend/tcop/pquery.c:1184 [11:57:37.855] No locals. [11:57:37.855] #20 0x000055b7cd62b20d in PortalRunMulti (portal=portal@entry=0x55b809291740, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55b8092138f0, altdest=altdest@entry=0x55b8092138f0, qc=qc@entry=0x7ffe2b80e450) at ../src/backend/tcop/pquery.c:1348 [11:57:37.855] pstmt = 0x55b809213530 [11:57:37.855] stmtlist_item__state = [11:57:37.855] active_snapshot_set = false [11:57:37.855] stmtlist_item = 0x55b8092138b8 [11:57:37.855] query_index = 0 [11:57:37.855] #21 0x000055b7cd62b78c in PortalRun (portal=portal@entry=0x55b809291740, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55b8092138f0, altdest=altdest@entry=0x55b8092138f0, qc=qc@entry=0x7ffe2b80e450) at ../src/backend/tcop/pquery.c:819 [11:57:37.855] _save_exception_stack = 0x7ffe2b80e500 [11:57:37.855] _save_context_stack = 0x0 [11:57:37.855] _local_sigjmp_buf = {{__jmpbuf = {0, 7348312458785664459, 94248916031296, 94248915514616, 94248915514592, 94248915514544, 3564096062255738315, 7342551537620823499}, __mask_was_saved = 0, __saved_mask = {__val = {94247916173021, 729867231, 4, 94248915514544, 112, 97, 94248916031296, 94248915514616, 94248915514592, 94248915514544, 94247916260224, 97, 2, 97, 94247905454327, 0}}}} [11:57:37.855] _do_rethrow = [11:57:37.855] result = [11:57:37.855] nprocessed = [11:57:37.855] saveTopTransactionResourceOwner = 0x55b80924e1f8 [11:57:37.855] saveTopTransactionContext = 0x55b8092a3760 [11:57:37.855] saveActivePortal = 0x0 [11:57:37.855] saveResourceOwner = 0x55b80924e1f8 [11:57:37.855] savePortalContext = 0x0 [11:57:37.855] saveMemoryContext = 0x55b8092a3760 [11:57:37.855] __func__ = "PortalRun" [11:57:37.855] #22 0x000055b7cd6249b2 in exec_simple_query (query_string=query_string@entry=0x55b8092126c0 "create type digit as enum ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');") at ../src/backend/tcop/postgres.c:1272 [11:57:37.855] cmdtaglen = 11 [11:57:37.855] snapshot_set = [11:57:37.855] per_parsetree_context = 0x0 [11:57:37.855] plantree_list = 0x55b8092138a0 [11:57:37.855] parsetree = 0x55b8092134b0 [11:57:37.855] commandTag = [11:57:37.855] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:37.855] querytree_list = [11:57:37.855] portal = 0x55b809291740 [11:57:37.855] receiver = 0x55b8092138f0 [11:57:37.855] format = 0 [11:57:37.855] cmdtagname = [11:57:37.855] parsetree_item__state = [11:57:37.855] dest = DestRemote [11:57:37.855] oldcontext = 0x55b8092a3760 [11:57:37.855] parsetree_list = 0x55b8092134e0 [11:57:37.855] parsetree_item = 0x55b8092134f8 [11:57:37.855] save_log_statement_stats = false [11:57:37.855] was_logged = true [11:57:37.855] use_implicit_block = false [11:57:37.855] msec_str = "\004\000\000\000\000\000\000\000됎ͷU\000\000\340\344\200+\376\177\000\000N\000\000\000\000\000\000" [11:57:37.855] __func__ = "exec_simple_query" [11:57:37.855] #23 0x000055b7cd627714 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4693 [11:57:37.855] query_string = 0x55b8092126c0 "create type digit as enum ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');" [11:57:37.855] firstchar = [11:57:37.855] input_message = {data = 0x55b8092126c0 "create type digit as enum ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');", len = 78, maxlen = 1024, cursor = 78} [11:57:37.855] local_sigjmp_buf = {{__jmpbuf = {94247929093112, 7342553866377833931, 140729628288604, 4, 2, 140729628288836, 3564096062188629451, 7342551540028353995}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94248915241344, 16128, 94247929087168, 94248915751344, 2, 94247916172569, 0, 9, 2, 94247929093120, 94248915241344, 94247929087168, 4, 2, 140729628288836}}}} [11:57:37.855] send_ready_for_query = false [11:57:37.855] idle_in_transaction_timeout_enabled = false [11:57:37.855] idle_session_timeout_enabled = false [11:57:37.855] __func__ = "PostgresMain" [11:57:37.855] #24 0x000055b7cd61d748 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [11:57:37.855] bsdata = [11:57:37.855] #25 0x000055b7cd4ccf23 in postmaster_child_launch (child_type=B_BACKEND, child_slot=2, startup_data=startup_data@entry=0x7ffe2b80e65c, startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe2b80e6b0) at ../src/backend/postmaster/launch_backend.c:274 [11:57:37.855] pid = [11:57:37.855] #26 0x000055b7cd4d211e in BackendStartup (client_sock=client_sock@entry=0x7ffe2b80e6b0) at ../src/backend/postmaster/postmaster.c:3523 [11:57:37.855] bn = 0x55b80923acf8 [11:57:37.855] pid = [11:57:37.855] startup_data = {canAcceptConnections = CAC_OK} [11:57:37.855] cac = [11:57:37.855] __func__ = "BackendStartup" [11:57:37.855] #27 0x000055b7cd4d41ee in ServerLoop () at ../src/backend/postmaster/postmaster.c:1689 [11:57:37.855] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = '\000' , "\303\334c̷U\000\000\260\270_̷U\000\000\000\350\200+\376\177\000\000\370\347\200+\376\177\000\000\225[\362\001\000\000\000\000\240t\251\355\232\177\000\000+", '\000' , "\376\177\000\000\000\004\000\000\000\000\000\000hVh\356\232\177\000\0000v\251\355\232\177\000\000\340Rh\356\232\177\000\000\316)fR\000\000\000", __ss_align = 729868352}, salen = 2}} [11:57:37.855] i = 0 [11:57:37.855] now = [11:57:37.855] last_lockfile_recheck_time = 1740483911 [11:57:37.855] last_touch_time = 1740483911 [11:57:37.855] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = -295152928, user_data = 0x0}, {pos = 729868416, events = 32766, fd = -295323064, user_data = 0xf}, {pos = -307661264, events = 32666, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = -295152928, user_data = 0x7ffe2b80e7f8}, {pos = 729868288, events = 32766, fd = -295152024, user_data = 0x0}, {pos = 153174880, events = 21944, fd = -322209142, user_data = 0x55b809214360}, {pos = 1, events = 21943, fd = 32768, user_data = 0xffffffff}, {pos = -322772960, events = 32666, fd = -300073056, user_data = 0x55b80923fcd8}, {pos = 153353144, events = 21944, fd = 153352593, user_data = 0x7f9aee661ebe}, {pos = 1, events = 0, fd = -295152928, user_data = 0x1aa}, {pos = -840413872, events = 21943, fd = 0, user_data = 0xe5}, {pos = 153174880, events = 21944, fd = -295297346, user_data = 0x1}, {pos = 0, events = 0, fd = -322772960, user_data = 0x7f9aeccf2e40 }, {pos = 16, events = 0, fd = 729869424, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7f9aee6641ba}, {pos = 0, events = 0, fd = -322245212, user_data = 0x0}, {pos = -833351552, events = 21943, fd = 2, user_data = 0x0}, {pos = 152914464, events = 21944, fd = -849648061, user_data = 0x55b809245170}, {pos = -849644072, events = 21943, fd = 153375179, user_data = 0x2ffff00001fa0}, {pos = 1702060386, events = 1936158767, fd = 1952410737, user_data = 0x1}, {pos = 0, events = 0, fd = -322739000, user_data = 0x7f9aecc9c880 }, {pos = -307720776, events = 32666, fd = 729869616, user_data = 0x100007f00000002}, {pos = -322211731, events = 32666, fd = 2, user_data = 0x55b809245170}, {pos = 255, events = 0, fd = 0, user_data = 0x2}, {pos = -320922528, events = 32666, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 170991648, events = 842019119, fd = 1630951690, user_data = 0x0}, {pos = 0, events = 0, fd = 1601449825, user_data = 0x5f706d75645f6770}, {pos = 1683974000, events = 795897205, fd = 1597255728, user_data = 0x24e6f20e82e727e4}, {pos = 926635331, events = 8, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 153358304, events = 21944, fd = 1080, user_data = 0x55b80923f9b0}, {pos = -846172644, events = 21943, fd = 1024, user_data = 0x7f9aeccb58be}, {pos = -320939552, events = 32666, fd = -322301586, user_data = 0x100000400}, {pos = 7, events = 0, fd = 153353664, user_data = 0x24c293e9f448ab00}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x55b80923f9b0}, {pos = 1, events = 0, fd = 153352824, user_data = 0x3}, {pos = 0, events = 0, fd = 30733, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 153174880, user_data = 0x7f9aeccf3053 }, {pos = 153352824, events = 21944, fd = 1024, user_data = 0x7ffe2b80ed38}, {pos = -846091504, events = 21943, fd = -833250384, user_data = 0x55b7cd9095cd }, {pos = 153352624, events = 21944, fd = 153167296, user_data = 0x55b80923f9b0}, {pos = -322217794, events = 32666, fd = 0, user_data = 0x55b7cd91b237 }, {pos = 153352624, events = 1, fd = -846089344, user_data = 0x55b8092125c0}, {pos = -196564224, events = 616731625, fd = 0, user_data = 0x7f9aecca2ab1}, {pos = -322300688, events = 32666, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 152914464, user_data = 0x24c293e9f448ab00}, {pos = 0, events = 0, fd = -196564224, user_data = 0xc}, {pos = -196564224, events = 616731625, fd = 0, user_data = 0x7f9aecc5b239 }, {pos = 230, events = 0, fd = -850605024, user_data = 0x400000}, {pos = 0, events = 0, fd = 152914464, user_data = 0x55b7cd909461 }, {pos = 153001200, events = 21944, fd = 153167296, user_data = 0x55b8091e9cf0}, {pos = 1, events = 0, fd = 0, user_data = 0x55b7cd8c7bfa }, {pos = 12, events = 0, fd = 153343960, user_data = 0x55b80923d7b8}, {pos = -833350144, events = 21943, fd = 296, user_data = 0x55b7cd4cf43a }, {pos = 12, events = 0, fd = 0, user_data = 0x0}, {pos = -850588659, events = 21943, fd = -836980752, user_data = 0x55b809212f78}} [11:57:37.856] nevents = 1 [11:57:37.856] __func__ = "ServerLoop" [11:57:37.856] #28 0x000055b7cd4d5a52 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55b8091d0880) at ../src/backend/postmaster/postmaster.c:1387 [11:57:37.856] opt = [11:57:37.856] status = [11:57:37.856] userDoption = [11:57:37.856] listen_addr_saved = false [11:57:37.856] output_config_variable = [11:57:37.856] __func__ = "PostmasterMain" [11:57:37.856] #29 0x000055b7cd305da3 in main (argc=4, argv=0x55b8091d0880) at ../src/backend/main/main.c:230 [11:57:37.856] do_check_root = [11:57:37.856] dispatch_option = [11:57:37.886] -e [11:57:37.886] [11:57:37.886] [11:57:37.947] dumping /tmp/cores/postgres-6-31950.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:38.196] [New LWP 31950] [11:57:38.196] [11:57:38.196] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:38.196] [11:57:38.196] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:38.196] Debuginfod has been disabled. [11:57:38.196] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:38.295] [Thread debugging using libthread_db enabled] [11:57:38.295] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:38.295] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:38.295] Program terminated with signal SIGABRT, Aborted. [11:57:38.295] #0 0x00007f14302a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:39.261] [11:57:39.261] Thread 1 (Thread 0x7f142e028f00 (LWP 31950)): [11:57:39.261] #0 0x00007f14302a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:39.261] No symbol table info available. [11:57:39.261] #1 0x00007f143025afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:39.261] No symbol table info available. [11:57:39.261] #2 0x00007f1430245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:39.261] No symbol table info available. [11:57:39.261] #3 0x00007f143041e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:39.261] No locals. [11:57:39.261] #4 0x00007f143042aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:39.261] No locals. [11:57:39.261] #5 0x00007f143040d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x56038a8fa440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:39.261] bp = 140721550884224 [11:57:39.261] pc = [11:57:39.261] Opts = {FromUnrecoverableHandler = true, pc = 94573198155173, bp = 194} [11:57:39.261] #6 0x0000560389e19da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:39.261] crc0 = [11:57:39.261] len = [11:57:39.261] buf = [11:57:39.261] #7 0x0000560389e19e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:39.261] p = [11:57:39.261] pend = [11:57:39.261] orig_crc = [11:57:39.261] orig_len = [11:57:39.261] #8 0x00005603894f5ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:39.261] No locals. [11:57:39.261] #9 0x00005603894f6f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc4a0d7e78, num_fpi=num_fpi@entry=0x7ffc4a0d7e6c, topxid_included=0x7ffc4a0d7e6b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:39.261] rdt = 0x5603b4a0d210 [11:57:39.261] total_len = 194 [11:57:39.261] block_id = 1 [11:57:39.261] rdata_crc = [11:57:39.261] prev_regbuf = 0x5603b4a0f128 [11:57:39.261] rdt_datas_last = 0x5603b4a0d1e0 [11:57:39.261] rechdr = 0x5603b4a0d3f0 [11:57:39.261] scratch = 0x5603b4a0d41e "" [11:57:39.261] __func__ = "XLogRecordAssemble" [11:57:39.261] #10 0x00005603894f7f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:39.261] RedoRecPtr = 17604224 [11:57:39.261] doPageWrites = true [11:57:39.261] topxid_included = false [11:57:39.261] fpw_lsn = 0 [11:57:39.261] rdt = [11:57:39.261] num_fpi = 0 [11:57:39.261] EndPos = [11:57:39.261] __func__ = "XLogInsert" [11:57:39.261] #11 0x000056038941166b in heap_insert (relation=relation@entry=0x5603b4aab4f0, tup=tup@entry=0x5603b4b9c660, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:39.261] recptr = [11:57:39.261] info = 128 '\200' [11:57:39.261] bufflags = 6 [11:57:39.261] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:39.261] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:39.261] page = 0x7f1424f5a000 "" [11:57:39.261] xid = [11:57:39.261] heaptup = 0x5603b4b9c660 [11:57:39.261] buffer = 97 [11:57:39.261] vmbuffer = 0 [11:57:39.261] all_visible_cleared = false [11:57:39.261] #12 0x0000560389412bfc in simple_heap_insert (relation=relation@entry=0x5603b4aab4f0, tup=tup@entry=0x5603b4b9c660) at ../src/backend/access/heap/heapam.c:2641 [11:57:39.261] No locals. [11:57:39.261] #13 0x000056038954a70e in CatalogTupleInsert (heapRel=heapRel@entry=0x5603b4aab4f0, tup=0x5603b4b9c660) at ../src/backend/catalog/indexing.c:241 [11:57:39.261] indstate = 0x5603b4b924f8 [11:57:39.261] #14 0x000056038956bd93 in CreateConstraintEntry (constraintName=constraintName@entry=0x5603b4b9a120 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffc4a0d824c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:39.261] conDesc = 0x5603b4aab4f0 [11:57:39.261] conOid = 10115 [11:57:39.261] tup = [11:57:39.261] nulls = {false , true, true, true, true, true, true, true} [11:57:39.261] values = {10115, 140721550884832, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94573916964776, 0, 0, 0, 0, 0, 0, 0} [11:57:39.261] conkeyArray = 0x5603b4b9c7a8 [11:57:39.261] confkeyArray = 0x0 [11:57:39.261] conpfeqopArray = 0x0 [11:57:39.261] conppeqopArray = 0x0 [11:57:39.261] conffeqopArray = 0x0 [11:57:39.261] conexclopArray = 0x0 [11:57:39.261] confdelsetcolsArray = [11:57:39.261] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:39.261] i = [11:57:39.261] conobject = {classId = 32764, objectId = 3030494624, objectSubId = 22019} [11:57:39.261] addrs_auto = [11:57:39.261] addrs_normal = [11:57:39.261] #15 0x000056038953444e in StoreRelNotNull (rel=rel@entry=0x5603b4a5f578, nnname=nnname@entry=0x5603b4b9a120 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:39.261] constrOid = [11:57:39.261] #16 0x000056038953c556 in AddRelationNewConstraints (rel=rel@entry=0x5603b4a5f578, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x5603b4b99810, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:39.261] nncooked = [11:57:39.261] colnum = 1 [11:57:39.261] inhcount = 0 [11:57:39.261] nnname = 0x5603b4b9a120 "pg_proc_oid_not_null" [11:57:39.261] constrOid = [11:57:39.261] cdef__state = [11:57:39.261] cdef = 0x5603b4b97db0 [11:57:39.261] cdef__outerloop = [11:57:39.261] cookedConstraints = 0x0 [11:57:39.261] tupleDesc = [11:57:39.261] oldconstr = [11:57:39.261] numoldchecks = [11:57:39.261] pstate = 0x5603b4b98188 [11:57:39.261] nsitem = [11:57:39.261] numchecks = 0 [11:57:39.261] checknames = 0x0 [11:57:39.261] nnnames = 0x5603b4b9c190 [11:57:39.261] expr = [11:57:39.261] cooked = [11:57:39.261] __func__ = "AddRelationNewConstraints" [11:57:39.261] #17 0x0000560389663bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffc4a0d8518, tab=tab@entry=0x5603b4b92708, rel=rel@entry=0x5603b4a5f578, constr=constr@entry=0x5603b4b98348, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:39.261] newcons = [11:57:39.261] lcon = [11:57:39.261] children = [11:57:39.261] child = [11:57:39.261] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:39.261] __func__ = "ATAddCheckNNConstraint" [11:57:39.261] #18 0x0000560389664291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffc4a0d8518, tab=tab@entry=0x5603b4b92708, rel=rel@entry=0x5603b4a5f578, newConstraint=0x5603b4b98348, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:39.261] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:39.261] __func__ = "ATExecAddConstraint" [11:57:39.261] #19 0x000056038967051e in ATExecCmd (wqueue=wqueue@entry=0x7ffc4a0d8518, tab=tab@entry=0x5603b4b92708, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffc4a0d8600) at ../src/backend/commands/tablecmds.c:5428 [11:57:39.261] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:39.261] rel = 0x5603b4a5f578 [11:57:39.261] __func__ = "ATExecCmd" [11:57:39.261] #20 0x00005603896713b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffc4a0d8518, lockmode=lockmode@entry=8, context=context@entry=0x7ffc4a0d8600) at ../src/backend/commands/tablecmds.c:5294 [11:57:39.261] lcmd__state = [11:57:39.261] tab = 0x5603b4b92708 [11:57:39.261] subcmds = 0x5603b4b99738 [11:57:39.261] lcmd = [11:57:39.261] ltab__state = [11:57:39.261] pass = AT_PASS_COL_ATTRS [11:57:39.261] ltab = [11:57:39.261] #21 0x000056038967190d in ATController (parsetree=parsetree@entry=0x5603b4b7e8b0, rel=rel@entry=0x5603b4a5f578, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffc4a0d8600) at ../src/backend/commands/tablecmds.c:4849 [11:57:39.261] wqueue = 0x5603b4b82d80 [11:57:39.261] lcmd = 0x0 [11:57:39.261] #22 0x00005603896719c4 in AlterTable (stmt=stmt@entry=0x5603b4b7e8b0, lockmode=lockmode@entry=8, context=context@entry=0x7ffc4a0d8600) at ../src/backend/commands/tablecmds.c:4504 [11:57:39.261] rel = 0x5603b4a5f578 [11:57:39.261] #23 0x0000560389af2b4d in ProcessUtilitySlow (pstate=pstate@entry=0x5603b4b82c70, pstmt=pstmt@entry=0x5603b4b7e960, queryString=queryString@entry=0x5603b4b7dc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x56038a3334a0 , qc=0x7ffc4a0d8b00) at ../src/backend/tcop/utility.c:1321 [11:57:39.261] atcontext = {pstmt = 0x5603b4b7e960, queryString = 0x5603b4b7dc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:39.261] atstmt = 0x5603b4b7e8b0 [11:57:39.261] relid = 1255 [11:57:39.261] lockmode = 8 [11:57:39.261] cell = 0x0 [11:57:39.261] _save_exception_stack = 0x7ffc4a0d89e0 [11:57:39.261] _save_context_stack = 0x0 [11:57:39.261] _local_sigjmp_buf = {{__jmpbuf = {0, -594598458812024943, 94573916842160, 0, 94573916838976, 0, -6611158157984811119, -594486233777064047}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 139724683708496, 139724705705888, 0, 94573203344856, 139724709310496, 139724709170878, 1, 139724709315296, 332, 94573203585632, 140721550888576, 94573203344856, 139724709310496, 139724709170878, 1}}}} [11:57:39.261] _do_rethrow = false [11:57:39.261] parsetree = 0x5603b4b7e8b0 [11:57:39.261] isTopLevel = true [11:57:39.261] isCompleteQuery = true [11:57:39.261] needCleanup = false [11:57:39.261] commandCollected = false [11:57:39.261] address = {classId = 22019, objectId = 3031951536, objectSubId = 22019} [11:57:39.261] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:39.261] __func__ = "ProcessUtilitySlow" [11:57:39.261] #24 0x0000560389af2189 in standard_ProcessUtility (pstmt=0x5603b4b7e960, queryString=0x5603b4b7dc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x56038a3334a0 , qc=0x7ffc4a0d8b00) at ../src/backend/tcop/utility.c:1070 [11:57:39.261] parsetree = 0x5603b4b7e8b0 [11:57:39.261] isTopLevel = true [11:57:39.261] isAtomicContext = false [11:57:39.261] pstate = 0x5603b4b82c70 [11:57:39.261] readonly_flags = [11:57:39.261] __func__ = "standard_ProcessUtility" [11:57:39.261] #25 0x0000560389af22e4 in ProcessUtility (pstmt=pstmt@entry=0x5603b4b7e960, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x56038a3334a0 , qc=0x7ffc4a0d8b00) at ../src/backend/tcop/utility.c:523 [11:57:39.261] No locals. [11:57:39.261] #26 0x0000560389aedc09 in PortalRunUtility (portal=portal@entry=0x5603b4a29660, pstmt=pstmt@entry=0x5603b4b7e960, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56038a3334a0 , qc=qc@entry=0x7ffc4a0d8b00) at ../src/backend/tcop/pquery.c:1184 [11:57:39.261] No locals. [11:57:39.261] #27 0x0000560389aee20d in PortalRunMulti (portal=portal@entry=0x5603b4a29660, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56038a3334a0 , altdest=altdest@entry=0x56038a3334a0 , qc=qc@entry=0x7ffc4a0d8b00) at ../src/backend/tcop/pquery.c:1348 [11:57:39.261] pstmt = 0x5603b4b7e960 [11:57:39.261] stmtlist_item__state = [11:57:39.261] active_snapshot_set = false [11:57:39.261] stmtlist_item = 0x5603b4b7ece8 [11:57:39.261] query_index = 0 [11:57:39.261] #28 0x0000560389aee78c in PortalRun (portal=portal@entry=0x5603b4a29660, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x56038a3334a0 , altdest=altdest@entry=0x56038a3334a0 , qc=qc@entry=0x7ffc4a0d8b00) at ../src/backend/tcop/pquery.c:819 [11:57:39.261] _save_exception_stack = 0x7ffc4a0d8bb0 [11:57:39.261] _save_context_stack = 0x0 [11:57:39.261] _local_sigjmp_buf = {{__jmpbuf = {0, -594489634969110639, 94573915444832, 94573916842280, 94573916842256, 94573916842208, -6611158157594740847, -594486248987445359}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140721550887567, 94573916842256, 94573916842208, 94573197651007, 94573200348589, 94573915444832, 94573200774142, 1, 1, 0, 34, 94573915444832, 0, 34, 94573915444832}}}} [11:57:39.261] _do_rethrow = [11:57:39.261] result = [11:57:39.261] nprocessed = [11:57:39.261] saveTopTransactionResourceOwner = 0x5603b4a219a8 [11:57:39.261] saveTopTransactionContext = 0x5603b4a83610 [11:57:39.261] saveActivePortal = 0x0 [11:57:39.261] saveResourceOwner = 0x5603b4a219a8 [11:57:39.261] savePortalContext = 0x0 [11:57:39.261] saveMemoryContext = 0x5603b4a83610 [11:57:39.261] __func__ = "PortalRun" [11:57:39.261] #29 0x0000560389ae79b2 in exec_simple_query (query_string=query_string@entry=0x5603b4b7dc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:39.261] cmdtaglen = 11 [11:57:39.261] snapshot_set = [11:57:39.261] per_parsetree_context = 0x0 [11:57:39.261] plantree_list = 0x5603b4b7ecd0 [11:57:39.261] parsetree = 0x5603b4b7e8e0 [11:57:39.261] commandTag = [11:57:39.261] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:39.261] querytree_list = [11:57:39.261] portal = 0x5603b4a29660 [11:57:39.261] receiver = 0x56038a3334a0 [11:57:39.261] format = 0 [11:57:39.261] cmdtagname = [11:57:39.261] parsetree_item__state = [11:57:39.261] dest = DestDebug [11:57:39.261] oldcontext = 0x5603b4a83610 [11:57:39.261] parsetree_list = 0x5603b4b7e910 [11:57:39.261] parsetree_item = 0x5603b4b7e928 [11:57:39.261] save_log_statement_stats = false [11:57:39.261] was_logged = false [11:57:39.261] use_implicit_block = false [11:57:39.261] msec_str = "\200\216\rJ\374\177\000\000\353\300ډ\003V\000\000\220\213\rJ\374\177\000\000D\000\000\000\000\000\000" [11:57:39.261] __func__ = "exec_simple_query" [11:57:39.261] #30 0x0000560389aea714 in PostgresMain (dbname=, username=username@entry=0x5603b4950280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:39.261] query_string = 0x5603b4b7dc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:39.261] firstchar = [11:57:39.261] input_message = {data = 0x5603b4b7dc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:39.261] local_sigjmp_buf = {{__jmpbuf = {94573210749944, -594488386488387695, 94573914555008, 140721550888576, 94573203344856, 139724709310496, -6611158157661849711, -594486244952524911}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94573914757376, 17408, 94573210744000, 94573915229152, 94573203344856, 94573197829401, 2318454232, 10, 140721550888108, 94573210749952, 94573914757376, 94573210744000, 140721550888576, 94573203344856, 139724709310496}}}} [11:57:39.261] send_ready_for_query = false [11:57:39.261] idle_in_transaction_timeout_enabled = false [11:57:39.261] idle_session_timeout_enabled = false [11:57:39.261] __func__ = "PostgresMain" [11:57:39.261] #31 0x0000560389aeac8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x5603b4981840, username=0x5603b4950280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:39.261] dbname = 0x5603b49c4210 "template1" [11:57:39.261] __func__ = "PostgresSingleUserMain" [11:57:39.261] #32 0x00005603897c8e97 in main (argc=12, argv=0x5603b4981840) at ../src/backend/main/main.c:226 [11:57:39.261] do_check_root = [11:57:39.261] dispatch_option = [11:57:39.293] -e [11:57:39.293] [11:57:39.293] [11:57:39.356] dumping /tmp/cores/postgres-6-35436.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:39.605] [New LWP 35436] [11:57:39.605] [11:57:39.605] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:39.605] [11:57:39.605] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:39.605] Debuginfod has been disabled. [11:57:39.605] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:39.707] [Thread debugging using libthread_db enabled] [11:57:39.707] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:39.707] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:39.707] Program terminated with signal SIGABRT, Aborted. [11:57:39.707] #0 0x00007fb11d4a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:40.680] [11:57:40.680] Thread 1 (Thread 0x7fb11dc33f00 (LWP 35436)): [11:57:40.680] #0 0x00007fb11d4a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:40.680] No symbol table info available. [11:57:40.680] #1 0x00007fb11d45afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:40.680] No symbol table info available. [11:57:40.680] #2 0x00007fb11d445472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:40.680] No symbol table info available. [11:57:40.680] #3 0x00007fb11d61e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:40.680] No locals. [11:57:40.680] #4 0x00007fb11d62aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:40.680] No locals. [11:57:40.680] #5 0x00007fb11d60d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x5651d4e83440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:40.680] bp = 140724057645312 [11:57:40.680] pc = [11:57:40.680] Opts = {FromUnrecoverableHandler = true, pc = 94909452922277, bp = 194} [11:57:40.680] #6 0x00005651d43a2da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:40.680] crc0 = [11:57:40.680] len = [11:57:40.680] buf = [11:57:40.680] #7 0x00005651d43a2e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:40.680] p = [11:57:40.680] pend = [11:57:40.680] orig_crc = [11:57:40.680] orig_len = [11:57:40.680] #8 0x00005651d3a7eef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:40.680] No locals. [11:57:40.680] #9 0x00005651d3a7ff85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffcdf77a1f8, num_fpi=num_fpi@entry=0x7ffcdf77a1ec, topxid_included=0x7ffcdf77a1eb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:40.680] rdt = 0x5651fe016200 [11:57:40.680] total_len = 194 [11:57:40.680] block_id = 1 [11:57:40.680] rdata_crc = [11:57:40.680] prev_regbuf = 0x5651fe018118 [11:57:40.680] rdt_datas_last = 0x5651fe0161d0 [11:57:40.680] rechdr = 0x5651fe0163e0 [11:57:40.680] scratch = 0x5651fe01640e "" [11:57:40.680] __func__ = "XLogRecordAssemble" [11:57:40.680] #10 0x00005651d3a80f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:40.680] RedoRecPtr = 17604224 [11:57:40.680] doPageWrites = true [11:57:40.680] topxid_included = false [11:57:40.680] fpw_lsn = 0 [11:57:40.680] rdt = [11:57:40.680] num_fpi = 0 [11:57:40.680] EndPos = [11:57:40.680] __func__ = "XLogInsert" [11:57:40.680] #11 0x00005651d399a66b in heap_insert (relation=relation@entry=0x5651fe0b40e0, tup=tup@entry=0x5651fe1a5250, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:40.680] recptr = [11:57:40.680] info = 128 '\200' [11:57:40.680] bufflags = 6 [11:57:40.680] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:40.680] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:40.680] page = 0x7fb112282000 "" [11:57:40.680] xid = [11:57:40.680] heaptup = 0x5651fe1a5250 [11:57:40.680] buffer = 97 [11:57:40.680] vmbuffer = 0 [11:57:40.680] all_visible_cleared = false [11:57:40.680] #12 0x00005651d399bbfc in simple_heap_insert (relation=relation@entry=0x5651fe0b40e0, tup=tup@entry=0x5651fe1a5250) at ../src/backend/access/heap/heapam.c:2641 [11:57:40.680] No locals. [11:57:40.680] #13 0x00005651d3ad370e in CatalogTupleInsert (heapRel=heapRel@entry=0x5651fe0b40e0, tup=0x5651fe1a5250) at ../src/backend/catalog/indexing.c:241 [11:57:40.680] indstate = 0x5651fe19b0e8 [11:57:40.680] #14 0x00005651d3af4d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x5651fe1a2d10 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffcdf77a5cc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:40.680] conDesc = 0x5651fe0b40e0 [11:57:40.680] conOid = 10115 [11:57:40.680] tup = [11:57:40.680] nulls = {false , true, true, true, true, true, true, true} [11:57:40.680] values = {10115, 140724057645920, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94910155477912, 0, 0, 0, 0, 0, 0, 0} [11:57:40.680] conkeyArray = 0x5651fe1a5398 [11:57:40.680] confkeyArray = 0x0 [11:57:40.680] conpfeqopArray = 0x0 [11:57:40.680] conppeqopArray = 0x0 [11:57:40.680] conffeqopArray = 0x0 [11:57:40.680] conexclopArray = 0x0 [11:57:40.680] confdelsetcolsArray = [11:57:40.680] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:40.680] i = [11:57:40.680] conobject = {classId = 32764, objectId = 4261559696, objectSubId = 22097} [11:57:40.680] addrs_auto = [11:57:40.680] addrs_normal = [11:57:40.680] #15 0x00005651d3abd44e in StoreRelNotNull (rel=rel@entry=0x5651fe068568, nnname=nnname@entry=0x5651fe1a2d10 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:40.680] constrOid = [11:57:40.680] #16 0x00005651d3ac5556 in AddRelationNewConstraints (rel=rel@entry=0x5651fe068568, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x5651fe1a2400, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:40.680] nncooked = [11:57:40.680] colnum = 1 [11:57:40.680] inhcount = 0 [11:57:40.680] nnname = 0x5651fe1a2d10 "pg_proc_oid_not_null" [11:57:40.680] constrOid = [11:57:40.680] cdef__state = [11:57:40.680] cdef = 0x5651fe1a09a0 [11:57:40.680] cdef__outerloop = [11:57:40.680] cookedConstraints = 0x0 [11:57:40.680] tupleDesc = [11:57:40.680] oldconstr = [11:57:40.680] numoldchecks = [11:57:40.680] pstate = 0x5651fe1a0d78 [11:57:40.680] nsitem = [11:57:40.680] numchecks = 0 [11:57:40.680] checknames = 0x0 [11:57:40.680] nnnames = 0x5651fe1a4d80 [11:57:40.680] expr = [11:57:40.680] cooked = [11:57:40.680] __func__ = "AddRelationNewConstraints" [11:57:40.680] #17 0x00005651d3becbae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffcdf77a898, tab=tab@entry=0x5651fe19b2f8, rel=rel@entry=0x5651fe068568, constr=constr@entry=0x5651fe1a0f38, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:40.680] newcons = [11:57:40.680] lcon = [11:57:40.680] children = [11:57:40.680] child = [11:57:40.680] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:40.680] __func__ = "ATAddCheckNNConstraint" [11:57:40.680] #18 0x00005651d3bed291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffcdf77a898, tab=tab@entry=0x5651fe19b2f8, rel=rel@entry=0x5651fe068568, newConstraint=0x5651fe1a0f38, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:40.680] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:40.680] __func__ = "ATExecAddConstraint" [11:57:40.680] #19 0x00005651d3bf951e in ATExecCmd (wqueue=wqueue@entry=0x7ffcdf77a898, tab=tab@entry=0x5651fe19b2f8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffcdf77a980) at ../src/backend/commands/tablecmds.c:5428 [11:57:40.680] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:40.680] rel = 0x5651fe068568 [11:57:40.680] __func__ = "ATExecCmd" [11:57:40.680] #20 0x00005651d3bfa3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffcdf77a898, lockmode=lockmode@entry=8, context=context@entry=0x7ffcdf77a980) at ../src/backend/commands/tablecmds.c:5294 [11:57:40.680] lcmd__state = [11:57:40.680] tab = 0x5651fe19b2f8 [11:57:40.680] subcmds = 0x5651fe1a2328 [11:57:40.680] lcmd = [11:57:40.680] ltab__state = [11:57:40.680] pass = AT_PASS_COL_ATTRS [11:57:40.680] ltab = [11:57:40.680] #21 0x00005651d3bfa90d in ATController (parsetree=parsetree@entry=0x5651fe1874a0, rel=rel@entry=0x5651fe068568, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffcdf77a980) at ../src/backend/commands/tablecmds.c:4849 [11:57:40.680] wqueue = 0x5651fe18b970 [11:57:40.680] lcmd = 0x0 [11:57:40.680] #22 0x00005651d3bfa9c4 in AlterTable (stmt=stmt@entry=0x5651fe1874a0, lockmode=lockmode@entry=8, context=context@entry=0x7ffcdf77a980) at ../src/backend/commands/tablecmds.c:4504 [11:57:40.680] rel = 0x5651fe068568 [11:57:40.680] #23 0x00005651d407bb4d in ProcessUtilitySlow (pstate=pstate@entry=0x5651fe18b860, pstmt=pstmt@entry=0x5651fe187550, queryString=queryString@entry=0x5651fe186830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x5651d48bc4a0 , qc=0x7ffcdf77ae80) at ../src/backend/tcop/utility.c:1321 [11:57:40.680] atcontext = {pstmt = 0x5651fe187550, queryString = 0x5651fe186830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:40.680] atstmt = 0x5651fe1874a0 [11:57:40.680] relid = 1255 [11:57:40.680] lockmode = 8 [11:57:40.680] cell = 0x0 [11:57:40.680] _save_exception_stack = 0x7ffcdf77ad60 [11:57:40.680] _save_context_stack = 0x0 [11:57:40.680] _local_sigjmp_buf = {{__jmpbuf = {0, -3538971225716334837, 94910155355296, 0, 94910155352112, 0, -7081542403586695413, -3538887763679944949}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 140398676904016, 140398699491232, 140398631564992, 94909446118559, 94909465436960, 94905892339713, 140398631430976, 140398703719136, 332, 94909458352736, 140724057649664, 94909458111960, 140398703714336, 140398703574718, 1}}}} [11:57:40.680] _do_rethrow = false [11:57:40.680] parsetree = 0x5651fe1874a0 [11:57:40.680] isTopLevel = true [11:57:40.680] isCompleteQuery = true [11:57:40.680] needCleanup = false [11:57:40.680] commandCollected = false [11:57:40.680] address = {classId = 22097, objectId = 4263015584, objectSubId = 22097} [11:57:40.680] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:40.680] __func__ = "ProcessUtilitySlow" [11:57:40.680] #24 0x00005651d407b189 in standard_ProcessUtility (pstmt=0x5651fe187550, queryString=0x5651fe186830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x5651d48bc4a0 , qc=0x7ffcdf77ae80) at ../src/backend/tcop/utility.c:1070 [11:57:40.680] parsetree = 0x5651fe1874a0 [11:57:40.680] isTopLevel = true [11:57:40.680] isAtomicContext = false [11:57:40.680] pstate = 0x5651fe18b860 [11:57:40.680] readonly_flags = [11:57:40.680] __func__ = "standard_ProcessUtility" [11:57:40.680] #25 0x00005651d407b2e4 in ProcessUtility (pstmt=pstmt@entry=0x5651fe187550, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x5651d48bc4a0 , qc=0x7ffcdf77ae80) at ../src/backend/tcop/utility.c:523 [11:57:40.680] No locals. [11:57:40.680] #26 0x00005651d4076c09 in PortalRunUtility (portal=portal@entry=0x5651fe032650, pstmt=pstmt@entry=0x5651fe187550, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5651d48bc4a0 , qc=qc@entry=0x7ffcdf77ae80) at ../src/backend/tcop/pquery.c:1184 [11:57:40.680] No locals. [11:57:40.680] #27 0x00005651d407720d in PortalRunMulti (portal=portal@entry=0x5651fe032650, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5651d48bc4a0 , altdest=altdest@entry=0x5651d48bc4a0 , qc=qc@entry=0x7ffcdf77ae80) at ../src/backend/tcop/pquery.c:1348 [11:57:40.680] pstmt = 0x5651fe187550 [11:57:40.680] stmtlist_item__state = [11:57:40.680] active_snapshot_set = false [11:57:40.680] stmtlist_item = 0x5651fe1878d8 [11:57:40.680] query_index = 0 [11:57:40.680] #28 0x00005651d407778c in PortalRun (portal=portal@entry=0x5651fe032650, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x5651d48bc4a0 , altdest=altdest@entry=0x5651d48bc4a0 , qc=qc@entry=0x7ffcdf77ae80) at ../src/backend/tcop/pquery.c:819 [11:57:40.680] _save_exception_stack = 0x7ffcdf77af30 [11:57:40.680] _save_context_stack = 0x0 [11:57:40.680] _local_sigjmp_buf = {{__jmpbuf = {0, -3538886695888265461, 94910153958992, 94910155355416, 94910155355392, 94910155355344, -7081542403666387189, -3538887757352575221}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140724057648655, 94910155355392, 94910155355344, 94909452418111, 94909455115693, 94910153958992, 94909455541246, 1, 1, 0, 34, 94910153958992, 0, 34, 94910153958992}}}} [11:57:40.680] _do_rethrow = [11:57:40.680] result = [11:57:40.680] nprocessed = [11:57:40.680] saveTopTransactionResourceOwner = 0x5651fe02a998 [11:57:40.680] saveTopTransactionContext = 0x5651fe08c600 [11:57:40.680] saveActivePortal = 0x0 [11:57:40.680] saveResourceOwner = 0x5651fe02a998 [11:57:40.680] savePortalContext = 0x0 [11:57:40.680] saveMemoryContext = 0x5651fe08c600 [11:57:40.680] __func__ = "PortalRun" [11:57:40.680] #29 0x00005651d40709b2 in exec_simple_query (query_string=query_string@entry=0x5651fe186830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:40.680] cmdtaglen = 11 [11:57:40.680] snapshot_set = [11:57:40.680] per_parsetree_context = 0x0 [11:57:40.680] plantree_list = 0x5651fe1878c0 [11:57:40.680] parsetree = 0x5651fe1874d0 [11:57:40.680] commandTag = [11:57:40.680] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:40.680] querytree_list = [11:57:40.680] portal = 0x5651fe032650 [11:57:40.680] receiver = 0x5651d48bc4a0 [11:57:40.680] format = 0 [11:57:40.680] cmdtagname = [11:57:40.680] parsetree_item__state = [11:57:40.680] dest = DestDebug [11:57:40.680] oldcontext = 0x5651fe08c600 [11:57:40.680] parsetree_list = 0x5651fe187500 [11:57:40.680] parsetree_item = 0x5651fe187518 [11:57:40.680] save_log_statement_stats = false [11:57:40.680] was_logged = false [11:57:40.680] use_implicit_block = false [11:57:40.680] msec_str = "\000\262w\337\374\177\000\000\353P3\324QV\000\000\020\257w\337\374\177\000\000D\000\000\000\000\000\000" [11:57:40.680] __func__ = "exec_simple_query" [11:57:40.680] #30 0x00005651d4073714 in PostgresMain (dbname=, username=username@entry=0x5651fdf58a60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:40.680] query_string = 0x5651fe186830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:40.680] firstchar = [11:57:40.680] input_message = {data = 0x5651fe186830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:40.680] local_sigjmp_buf = {{__jmpbuf = {94909465517048, -3538886269893779701, 94910153067104, 140724057649664, 94909458111960, 140398703714336, -7081542403733496053, -3538887759760105717}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94910153267296, 17408, 94909465511104, 94910153743312, 94909458111960, 94909452596505, 3565772248, 10, 140724057649196, 94909465517056, 94910153267296, 94909465511104, 140724057649664, 94909458111960, 140398703714336}}}} [11:57:40.680] send_ready_for_query = false [11:57:40.680] idle_in_transaction_timeout_enabled = false [11:57:40.680] idle_session_timeout_enabled = false [11:57:40.680] __func__ = "PostgresMain" [11:57:40.680] #31 0x00005651d4073c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x5651fdf897a0, username=0x5651fdf58a60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:40.680] dbname = 0x5651fdfcc190 "template1" [11:57:40.680] __func__ = "PostgresSingleUserMain" [11:57:40.680] #32 0x00005651d3d51e97 in main (argc=12, argv=0x5651fdf897a0) at ../src/backend/main/main.c:226 [11:57:40.680] do_check_root = [11:57:40.680] dispatch_option = [11:57:40.712] -e [11:57:40.712] [11:57:40.712] [11:57:40.774] dumping /tmp/cores/postgres-6-29661.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:41.021] [New LWP 29661] [11:57:41.021] [11:57:41.021] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:41.021] [11:57:41.021] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:41.021] Debuginfod has been disabled. [11:57:41.021] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:41.124] [Thread debugging using libthread_db enabled] [11:57:41.124] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:41.124] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:41.124] Program terminated with signal SIGABRT, Aborted. [11:57:41.124] #0 0x00007fa09c6a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:42.121] [11:57:42.121] Thread 1 (Thread 0x7fa09ce37f00 (LWP 29661)): [11:57:42.121] #0 0x00007fa09c6a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:42.121] No symbol table info available. [11:57:42.121] #1 0x00007fa09c65afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:42.121] No symbol table info available. [11:57:42.121] #2 0x00007fa09c645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:42.121] No symbol table info available. [11:57:42.121] #3 0x00007fa09c81e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:42.121] No locals. [11:57:42.121] #4 0x00007fa09c82aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:42.121] No locals. [11:57:42.121] #5 0x00007fa09c80d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55f74ea01440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:42.121] bp = 140720638100096 [11:57:42.121] pc = [11:57:42.121] Opts = {FromUnrecoverableHandler = true, pc = 94520652991909, bp = 194} [11:57:42.121] #6 0x000055f74df20da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:42.121] crc0 = [11:57:42.121] len = [11:57:42.121] buf = [11:57:42.121] #7 0x000055f74df20e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:42.121] p = [11:57:42.121] pend = [11:57:42.121] orig_crc = [11:57:42.121] orig_len = [11:57:42.121] #8 0x000055f74d5fcef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:42.121] No locals. [11:57:42.121] #9 0x000055f74d5fdf85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17513232, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc13a58378, num_fpi=num_fpi@entry=0x7ffc13a5836c, topxid_included=0x7ffc13a5836b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:42.121] rdt = 0x55f76327d210 [11:57:42.121] total_len = 194 [11:57:42.121] block_id = 1 [11:57:42.121] rdata_crc = [11:57:42.121] prev_regbuf = 0x55f76327f128 [11:57:42.121] rdt_datas_last = 0x55f76327d1e0 [11:57:42.121] rechdr = 0x55f76327d3f0 [11:57:42.121] scratch = 0x55f76327d41e "" [11:57:42.121] __func__ = "XLogRecordAssemble" [11:57:42.121] #10 0x000055f74d5fef4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:42.121] RedoRecPtr = 17513232 [11:57:42.121] doPageWrites = true [11:57:42.121] topxid_included = false [11:57:42.121] fpw_lsn = 0 [11:57:42.121] rdt = [11:57:42.121] num_fpi = 0 [11:57:42.121] EndPos = [11:57:42.121] __func__ = "XLogInsert" [11:57:42.121] #11 0x000055f74d51866b in heap_insert (relation=relation@entry=0x55f76331b0f0, tup=tup@entry=0x55f76340c260, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:42.121] recptr = [11:57:42.121] info = 128 '\200' [11:57:42.121] bufflags = 6 [11:57:42.121] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:42.121] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:42.121] page = 0x7fa091482000 "" [11:57:42.121] xid = [11:57:42.121] heaptup = 0x55f76340c260 [11:57:42.121] buffer = 97 [11:57:42.121] vmbuffer = 0 [11:57:42.121] all_visible_cleared = false [11:57:42.121] #12 0x000055f74d519bfc in simple_heap_insert (relation=relation@entry=0x55f76331b0f0, tup=tup@entry=0x55f76340c260) at ../src/backend/access/heap/heapam.c:2641 [11:57:42.121] No locals. [11:57:42.121] #13 0x000055f74d65170e in CatalogTupleInsert (heapRel=heapRel@entry=0x55f76331b0f0, tup=0x55f76340c260) at ../src/backend/catalog/indexing.c:241 [11:57:42.121] indstate = 0x55f7634020f8 [11:57:42.121] #14 0x000055f74d672d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55f763409d20 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffc13a5874c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:42.121] conDesc = 0x55f76331b0f0 [11:57:42.121] conOid = 10115 [11:57:42.121] tup = [11:57:42.121] nulls = {false , true, true, true, true, true, true, true} [11:57:42.121] values = {10115, 140720638100704, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94521010471848, 0, 0, 0, 0, 0, 0, 0} [11:57:42.121] conkeyArray = 0x55f76340c3a8 [11:57:42.121] confkeyArray = 0x0 [11:57:42.121] conpfeqopArray = 0x0 [11:57:42.121] conppeqopArray = 0x0 [11:57:42.121] conffeqopArray = 0x0 [11:57:42.121] conexclopArray = 0x0 [11:57:42.121] confdelsetcolsArray = [11:57:42.121] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:42.121] i = [11:57:42.121] conobject = {classId = 32764, objectId = 1663610272, objectSubId = 22007} [11:57:42.121] addrs_auto = [11:57:42.121] addrs_normal = [11:57:42.121] #15 0x000055f74d63b44e in StoreRelNotNull (rel=rel@entry=0x55f7632cf578, nnname=nnname@entry=0x55f763409d20 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:42.121] constrOid = [11:57:42.121] #16 0x000055f74d643556 in AddRelationNewConstraints (rel=rel@entry=0x55f7632cf578, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55f763409410, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:42.121] nncooked = [11:57:42.121] colnum = 1 [11:57:42.121] inhcount = 0 [11:57:42.121] nnname = 0x55f763409d20 "pg_proc_oid_not_null" [11:57:42.121] constrOid = [11:57:42.121] cdef__state = [11:57:42.121] cdef = 0x55f7634079b0 [11:57:42.121] cdef__outerloop = [11:57:42.121] cookedConstraints = 0x0 [11:57:42.121] tupleDesc = [11:57:42.121] oldconstr = [11:57:42.121] numoldchecks = [11:57:42.121] pstate = 0x55f763407d88 [11:57:42.121] nsitem = [11:57:42.121] numchecks = 0 [11:57:42.121] checknames = 0x0 [11:57:42.121] nnnames = 0x55f76340bd90 [11:57:42.121] expr = [11:57:42.121] cooked = [11:57:42.121] __func__ = "AddRelationNewConstraints" [11:57:42.121] #17 0x000055f74d76abae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffc13a58a18, tab=tab@entry=0x55f763402308, rel=rel@entry=0x55f7632cf578, constr=constr@entry=0x55f763407f48, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:42.121] newcons = [11:57:42.121] lcon = [11:57:42.121] children = [11:57:42.121] child = [11:57:42.121] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:42.121] __func__ = "ATAddCheckNNConstraint" [11:57:42.121] #18 0x000055f74d76b291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffc13a58a18, tab=tab@entry=0x55f763402308, rel=rel@entry=0x55f7632cf578, newConstraint=0x55f763407f48, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:42.121] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:42.121] __func__ = "ATExecAddConstraint" [11:57:42.121] #19 0x000055f74d77751e in ATExecCmd (wqueue=wqueue@entry=0x7ffc13a58a18, tab=tab@entry=0x55f763402308, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffc13a58b00) at ../src/backend/commands/tablecmds.c:5428 [11:57:42.121] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:42.121] rel = 0x55f7632cf578 [11:57:42.121] __func__ = "ATExecCmd" [11:57:42.121] #20 0x000055f74d7783b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffc13a58a18, lockmode=lockmode@entry=8, context=context@entry=0x7ffc13a58b00) at ../src/backend/commands/tablecmds.c:5294 [11:57:42.121] lcmd__state = [11:57:42.121] tab = 0x55f763402308 [11:57:42.121] subcmds = 0x55f763409338 [11:57:42.121] lcmd = [11:57:42.121] ltab__state = [11:57:42.121] pass = AT_PASS_COL_ATTRS [11:57:42.121] ltab = [11:57:42.121] #21 0x000055f74d77890d in ATController (parsetree=parsetree@entry=0x55f7633ee4b0, rel=rel@entry=0x55f7632cf578, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffc13a58b00) at ../src/backend/commands/tablecmds.c:4849 [11:57:42.121] wqueue = 0x55f7633f2980 [11:57:42.121] lcmd = 0x0 [11:57:42.121] #22 0x000055f74d7789c4 in AlterTable (stmt=stmt@entry=0x55f7633ee4b0, lockmode=lockmode@entry=8, context=context@entry=0x7ffc13a58b00) at ../src/backend/commands/tablecmds.c:4504 [11:57:42.121] rel = 0x55f7632cf578 [11:57:42.121] #23 0x000055f74dbf9b4d in ProcessUtilitySlow (pstate=pstate@entry=0x55f7633f2870, pstmt=pstmt@entry=0x55f7633ee560, queryString=queryString@entry=0x55f7633ed840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55f74e43a4a0 , qc=0x7ffc13a59000) at ../src/backend/tcop/utility.c:1321 [11:57:42.121] atcontext = {pstmt = 0x55f7633ee560, queryString = 0x55f7633ed840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:42.121] atstmt = 0x55f7633ee4b0 [11:57:42.121] relid = 1255 [11:57:42.121] lockmode = 8 [11:57:42.121] cell = 0x0 [11:57:42.121] _save_exception_stack = 0x7ffc13a58ee0 [11:57:42.121] _save_context_stack = 0x0 [11:57:42.121] _local_sigjmp_buf = {{__jmpbuf = {0, 2995157489551811267, 94521010349232, 0, 94521010346048, 0, 9044933295459410627, 2995090413625156291}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 140327795263568, 140327817748384, 140327749924544, 94520646188191, 94520665506592, 94519345283073, 140327749790528, 140327821976288, 332, 94520658422368, 140720638104448, 94520658181592, 140327821971488, 140327821831870, 1}}}} [11:57:42.121] _do_rethrow = false [11:57:42.121] parsetree = 0x55f7633ee4b0 [11:57:42.121] isTopLevel = true [11:57:42.121] isCompleteQuery = true [11:57:42.121] needCleanup = false [11:57:42.121] commandCollected = false [11:57:42.121] address = {classId = 22007, objectId = 1665066160, objectSubId = 22007} [11:57:42.121] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:42.121] __func__ = "ProcessUtilitySlow" [11:57:42.121] #24 0x000055f74dbf9189 in standard_ProcessUtility (pstmt=0x55f7633ee560, queryString=0x55f7633ed840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55f74e43a4a0 , qc=0x7ffc13a59000) at ../src/backend/tcop/utility.c:1070 [11:57:42.121] parsetree = 0x55f7633ee4b0 [11:57:42.121] isTopLevel = true [11:57:42.121] isAtomicContext = false [11:57:42.121] pstate = 0x55f7633f2870 [11:57:42.121] readonly_flags = [11:57:42.121] __func__ = "standard_ProcessUtility" [11:57:42.121] #25 0x000055f74dbf92e4 in ProcessUtility (pstmt=pstmt@entry=0x55f7633ee560, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55f74e43a4a0 , qc=0x7ffc13a59000) at ../src/backend/tcop/utility.c:523 [11:57:42.121] No locals. [11:57:42.121] #26 0x000055f74dbf4c09 in PortalRunUtility (portal=portal@entry=0x55f763299660, pstmt=pstmt@entry=0x55f7633ee560, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55f74e43a4a0 , qc=qc@entry=0x7ffc13a59000) at ../src/backend/tcop/pquery.c:1184 [11:57:42.121] No locals. [11:57:42.121] #27 0x000055f74dbf520d in PortalRunMulti (portal=portal@entry=0x55f763299660, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55f74e43a4a0 , altdest=altdest@entry=0x55f74e43a4a0 , qc=qc@entry=0x7ffc13a59000) at ../src/backend/tcop/pquery.c:1348 [11:57:42.121] pstmt = 0x55f7633ee560 [11:57:42.121] stmtlist_item__state = [11:57:42.121] active_snapshot_set = false [11:57:42.121] stmtlist_item = 0x55f7633ee8e8 [11:57:42.121] query_index = 0 [11:57:42.121] #28 0x000055f74dbf578c in PortalRun (portal=portal@entry=0x55f763299660, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55f74e43a4a0 , altdest=altdest@entry=0x55f74e43a4a0 , qc=qc@entry=0x7ffc13a59000) at ../src/backend/tcop/pquery.c:819 [11:57:42.121] _save_exception_stack = 0x7ffc13a590b0 [11:57:42.121] _save_context_stack = 0x0 [11:57:42.121] _local_sigjmp_buf = {{__jmpbuf = {0, 2995092921119023811, 94521008952928, 94521010349352, 94521010349328, 94521010349280, 9044933295329387203, 2995090415610897091}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140720638103439, 94521010349328, 94521010349280, 94520652487743, 94520655185325, 94521008952928, 94520655610878, 1, 1, 0, 34, 94521008952928, 0, 34, 94521008952928}}}} [11:57:42.121] _do_rethrow = [11:57:42.121] result = [11:57:42.121] nprocessed = [11:57:42.121] saveTopTransactionResourceOwner = 0x55f7632919a8 [11:57:42.121] saveTopTransactionContext = 0x55f7632f3610 [11:57:42.121] saveActivePortal = 0x0 [11:57:42.121] saveResourceOwner = 0x55f7632919a8 [11:57:42.121] savePortalContext = 0x0 [11:57:42.121] saveMemoryContext = 0x55f7632f3610 [11:57:42.121] __func__ = "PortalRun" [11:57:42.121] #29 0x000055f74dbee9b2 in exec_simple_query (query_string=query_string@entry=0x55f7633ed840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:42.121] cmdtaglen = 11 [11:57:42.121] snapshot_set = [11:57:42.121] per_parsetree_context = 0x0 [11:57:42.121] plantree_list = 0x55f7633ee8d0 [11:57:42.121] parsetree = 0x55f7633ee4e0 [11:57:42.121] commandTag = [11:57:42.121] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:42.121] querytree_list = [11:57:42.121] portal = 0x55f763299660 [11:57:42.121] receiver = 0x55f74e43a4a0 [11:57:42.121] format = 0 [11:57:42.121] cmdtagname = [11:57:42.121] parsetree_item__state = [11:57:42.121] dest = DestDebug [11:57:42.121] oldcontext = 0x55f7632f3610 [11:57:42.121] parsetree_list = 0x55f7633ee510 [11:57:42.121] parsetree_item = 0x55f7633ee528 [11:57:42.121] save_log_statement_stats = false [11:57:42.121] was_logged = false [11:57:42.121] use_implicit_block = false [11:57:42.121] msec_str = "\200\223\245\023\374\177\000\000\3530\353M\367U\000\000\220\220\245\023\374\177\000\000D\000\000\000\000\000\000" [11:57:42.121] __func__ = "exec_simple_query" [11:57:42.121] #30 0x000055f74dbf1714 in PostgresMain (dbname=, username=username@entry=0x55f7631bf280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:42.121] query_string = 0x55f7633ed840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:42.121] firstchar = [11:57:42.121] input_message = {data = 0x55f7633ed840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:42.121] local_sigjmp_buf = {{__jmpbuf = {94520665586680, 2995092521439601347, 94521008059008, 140720638104448, 94520658181592, 140327821971488, 9044933294591189699, 2995090418555298499}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94521008261360, 17408, 94520665580736, 94521008737248, 94520658181592, 94520652666137, 1312898520, 10, 140720638103980, 94520665586688, 94521008261360, 94520665580736, 140720638104448, 94520658181592, 140327821971488}}}} [11:57:42.121] send_ready_for_query = false [11:57:42.121] idle_in_transaction_timeout_enabled = false [11:57:42.121] idle_session_timeout_enabled = false [11:57:42.121] __func__ = "PostgresMain" [11:57:42.121] #31 0x000055f74dbf1c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55f7631f0830, username=0x55f7631bf280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:42.121] dbname = 0x55f763233200 "template1" [11:57:42.121] __func__ = "PostgresSingleUserMain" [11:57:42.121] #32 0x000055f74d8cfe97 in main (argc=12, argv=0x55f7631f0830) at ../src/backend/main/main.c:226 [11:57:42.121] do_check_root = [11:57:42.121] dispatch_option = [11:57:42.153] -e [11:57:42.153] [11:57:42.153] [11:57:42.214] dumping /tmp/cores/postgres-6-30485.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:42.460] [New LWP 30485] [11:57:42.460] [11:57:42.460] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:42.460] [11:57:42.460] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:42.460] Debuginfod has been disabled. [11:57:42.460] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:42.560] [Thread debugging using libthread_db enabled] [11:57:42.560] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:42.560] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:42.560] Program terminated with signal SIGABRT, Aborted. [11:57:42.560] #0 0x00007fe728ea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:43.553] [11:57:43.553] Thread 1 (Thread 0x7fe728dd2f00 (LWP 30485)): [11:57:43.553] #0 0x00007fe728ea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:43.553] No symbol table info available. [11:57:43.553] #1 0x00007fe728e5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:43.553] No symbol table info available. [11:57:43.553] #2 0x00007fe728e45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:43.553] No symbol table info available. [11:57:43.553] #3 0x00007fe72901e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:43.553] No locals. [11:57:43.553] #4 0x00007fe72902aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:43.553] No locals. [11:57:43.553] #5 0x00007fe72900d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x560c2b838440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:43.553] bp = 140723971002112 [11:57:43.553] pc = [11:57:43.553] Opts = {FromUnrecoverableHandler = true, pc = 94610258230693, bp = 194} [11:57:43.553] #6 0x0000560c2ad57da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:43.553] crc0 = [11:57:43.553] len = [11:57:43.553] buf = [11:57:43.553] #7 0x0000560c2ad57e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:43.553] p = [11:57:43.553] pend = [11:57:43.553] orig_crc = [11:57:43.553] orig_len = [11:57:43.553] #8 0x0000560c2a433ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:43.553] No locals. [11:57:43.553] #9 0x0000560c2a434f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffcda4d8ff8, num_fpi=num_fpi@entry=0x7ffcda4d8fec, topxid_included=0x7ffcda4d8feb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:43.553] rdt = 0x560c50091570 [11:57:43.553] total_len = 194 [11:57:43.553] block_id = 1 [11:57:43.553] rdata_crc = [11:57:43.553] prev_regbuf = 0x560c50093488 [11:57:43.553] rdt_datas_last = 0x560c50091540 [11:57:43.553] rechdr = 0x560c50091750 [11:57:43.553] scratch = 0x560c5009177e "" [11:57:43.553] __func__ = "XLogRecordAssemble" [11:57:43.553] #10 0x0000560c2a435f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:43.553] RedoRecPtr = 17604224 [11:57:43.553] doPageWrites = true [11:57:43.553] topxid_included = false [11:57:43.553] fpw_lsn = 0 [11:57:43.553] rdt = [11:57:43.553] num_fpi = 0 [11:57:43.553] EndPos = [11:57:43.553] __func__ = "XLogInsert" [11:57:43.553] #11 0x0000560c2a34f66b in heap_insert (relation=relation@entry=0x560c5012f450, tup=tup@entry=0x560c502205c0, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:43.553] recptr = [11:57:43.553] info = 128 '\200' [11:57:43.553] bufflags = 6 [11:57:43.553] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:43.553] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:43.553] page = 0x7fe71dd03000 "" [11:57:43.553] xid = [11:57:43.553] heaptup = 0x560c502205c0 [11:57:43.553] buffer = 97 [11:57:43.553] vmbuffer = 0 [11:57:43.553] all_visible_cleared = false [11:57:43.553] #12 0x0000560c2a350bfc in simple_heap_insert (relation=relation@entry=0x560c5012f450, tup=tup@entry=0x560c502205c0) at ../src/backend/access/heap/heapam.c:2641 [11:57:43.553] No locals. [11:57:43.553] #13 0x0000560c2a48870e in CatalogTupleInsert (heapRel=heapRel@entry=0x560c5012f450, tup=0x560c502205c0) at ../src/backend/catalog/indexing.c:241 [11:57:43.553] indstate = 0x560c50216458 [11:57:43.553] #14 0x0000560c2a4a9d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x560c5021e080 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffcda4d93cc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:43.553] conDesc = 0x560c5012f450 [11:57:43.553] conOid = 10115 [11:57:43.553] tup = [11:57:43.553] nulls = {false , true, true, true, true, true, true, true} [11:57:43.553] values = {10115, 140723971002720, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94610884003592, 0, 0, 0, 0, 0, 0, 0} [11:57:43.553] conkeyArray = 0x560c50220708 [11:57:43.553] confkeyArray = 0x0 [11:57:43.553] conpfeqopArray = 0x0 [11:57:43.553] conppeqopArray = 0x0 [11:57:43.553] conffeqopArray = 0x0 [11:57:43.553] conexclopArray = 0x0 [11:57:43.553] confdelsetcolsArray = [11:57:43.553] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:43.553] i = [11:57:43.553] conobject = {classId = 32764, objectId = 1342828800, objectSubId = 22028} [11:57:43.553] addrs_auto = [11:57:43.553] addrs_normal = [11:57:43.553] #15 0x0000560c2a47244e in StoreRelNotNull (rel=rel@entry=0x560c500e38d8, nnname=nnname@entry=0x560c5021e080 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:43.553] constrOid = [11:57:43.553] #16 0x0000560c2a47a556 in AddRelationNewConstraints (rel=rel@entry=0x560c500e38d8, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x560c5021d770, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:43.553] nncooked = [11:57:43.553] colnum = 1 [11:57:43.553] inhcount = 0 [11:57:43.553] nnname = 0x560c5021e080 "pg_proc_oid_not_null" [11:57:43.553] constrOid = [11:57:43.553] cdef__state = [11:57:43.553] cdef = 0x560c5021bd10 [11:57:43.553] cdef__outerloop = [11:57:43.553] cookedConstraints = 0x0 [11:57:43.553] tupleDesc = [11:57:43.553] oldconstr = [11:57:43.553] numoldchecks = [11:57:43.553] pstate = 0x560c5021c0e8 [11:57:43.553] nsitem = [11:57:43.553] numchecks = 0 [11:57:43.553] checknames = 0x0 [11:57:43.553] nnnames = 0x560c502200f0 [11:57:43.553] expr = [11:57:43.553] cooked = [11:57:43.553] __func__ = "AddRelationNewConstraints" [11:57:43.553] #17 0x0000560c2a5a1bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffcda4d9698, tab=tab@entry=0x560c50216668, rel=rel@entry=0x560c500e38d8, constr=constr@entry=0x560c5021c2a8, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:43.553] newcons = [11:57:43.553] lcon = [11:57:43.553] children = [11:57:43.553] child = [11:57:43.553] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:43.553] __func__ = "ATAddCheckNNConstraint" [11:57:43.553] #18 0x0000560c2a5a2291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffcda4d9698, tab=tab@entry=0x560c50216668, rel=rel@entry=0x560c500e38d8, newConstraint=0x560c5021c2a8, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:43.553] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:43.553] __func__ = "ATExecAddConstraint" [11:57:43.553] #19 0x0000560c2a5ae51e in ATExecCmd (wqueue=wqueue@entry=0x7ffcda4d9698, tab=tab@entry=0x560c50216668, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffcda4d9780) at ../src/backend/commands/tablecmds.c:5428 [11:57:43.553] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:43.553] rel = 0x560c500e38d8 [11:57:43.553] __func__ = "ATExecCmd" [11:57:43.553] #20 0x0000560c2a5af3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffcda4d9698, lockmode=lockmode@entry=8, context=context@entry=0x7ffcda4d9780) at ../src/backend/commands/tablecmds.c:5294 [11:57:43.553] lcmd__state = [11:57:43.553] tab = 0x560c50216668 [11:57:43.553] subcmds = 0x560c5021d698 [11:57:43.553] lcmd = [11:57:43.553] ltab__state = [11:57:43.553] pass = AT_PASS_COL_ATTRS [11:57:43.553] ltab = [11:57:43.553] #21 0x0000560c2a5af90d in ATController (parsetree=parsetree@entry=0x560c50202810, rel=rel@entry=0x560c500e38d8, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffcda4d9780) at ../src/backend/commands/tablecmds.c:4849 [11:57:43.553] wqueue = 0x560c50206ce0 [11:57:43.553] lcmd = 0x0 [11:57:43.553] #22 0x0000560c2a5af9c4 in AlterTable (stmt=stmt@entry=0x560c50202810, lockmode=lockmode@entry=8, context=context@entry=0x7ffcda4d9780) at ../src/backend/commands/tablecmds.c:4504 [11:57:43.553] rel = 0x560c500e38d8 [11:57:43.553] #23 0x0000560c2aa30b4d in ProcessUtilitySlow (pstate=pstate@entry=0x560c50206bd0, pstmt=pstmt@entry=0x560c502028c0, queryString=queryString@entry=0x560c50201ba0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x560c2b2714a0 , qc=0x7ffcda4d9c80) at ../src/backend/tcop/utility.c:1321 [11:57:43.553] atcontext = {pstmt = 0x560c502028c0, queryString = 0x560c50201ba0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:43.553] atstmt = 0x560c50202810 [11:57:43.553] relid = 1255 [11:57:43.553] lockmode = 8 [11:57:43.553] cell = 0x0 [11:57:43.553] _save_exception_stack = 0x7ffcda4d9b60 [11:57:43.553] _save_context_stack = 0x0 [11:57:43.553] _local_sigjmp_buf = {{__jmpbuf = {0, -8831349621658161072, 94610883880976, 0, 94610883877792, 0, -2985417524290981808, -8831476091969277872}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 140630800173136, 140630822244256, 140630755362496, 94610251426975, 94610270745376, 94609539596289, 140630755228480, 140630827164384, 332, 94610263661152, 140723971006464, 94610263420376, 140630827159584, 140630827019966, 1}}}} [11:57:43.553] _do_rethrow = false [11:57:43.553] parsetree = 0x560c50202810 [11:57:43.553] isTopLevel = true [11:57:43.553] isCompleteQuery = true [11:57:43.553] needCleanup = false [11:57:43.553] commandCollected = false [11:57:43.553] address = {classId = 22028, objectId = 1344284688, objectSubId = 22028} [11:57:43.553] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:43.553] __func__ = "ProcessUtilitySlow" [11:57:43.553] #24 0x0000560c2aa30189 in standard_ProcessUtility (pstmt=0x560c502028c0, queryString=0x560c50201ba0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x560c2b2714a0 , qc=0x7ffcda4d9c80) at ../src/backend/tcop/utility.c:1070 [11:57:43.553] parsetree = 0x560c50202810 [11:57:43.553] isTopLevel = true [11:57:43.553] isAtomicContext = false [11:57:43.553] pstate = 0x560c50206bd0 [11:57:43.553] readonly_flags = [11:57:43.553] __func__ = "standard_ProcessUtility" [11:57:43.553] #25 0x0000560c2aa302e4 in ProcessUtility (pstmt=pstmt@entry=0x560c502028c0, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x560c2b2714a0 , qc=0x7ffcda4d9c80) at ../src/backend/tcop/utility.c:523 [11:57:43.553] No locals. [11:57:43.553] #26 0x0000560c2aa2bc09 in PortalRunUtility (portal=portal@entry=0x560c500ad9c0, pstmt=pstmt@entry=0x560c502028c0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x560c2b2714a0 , qc=qc@entry=0x7ffcda4d9c80) at ../src/backend/tcop/pquery.c:1184 [11:57:43.553] No locals. [11:57:43.553] #27 0x0000560c2aa2c20d in PortalRunMulti (portal=portal@entry=0x560c500ad9c0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x560c2b2714a0 , altdest=altdest@entry=0x560c2b2714a0 , qc=qc@entry=0x7ffcda4d9c80) at ../src/backend/tcop/pquery.c:1348 [11:57:43.553] pstmt = 0x560c502028c0 [11:57:43.553] stmtlist_item__state = [11:57:43.553] active_snapshot_set = false [11:57:43.553] stmtlist_item = 0x560c50202c48 [11:57:43.553] query_index = 0 [11:57:43.553] #28 0x0000560c2aa2c78c in PortalRun (portal=portal@entry=0x560c500ad9c0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x560c2b2714a0 , altdest=altdest@entry=0x560c2b2714a0 , qc=qc@entry=0x7ffcda4d9c80) at ../src/backend/tcop/pquery.c:819 [11:57:43.553] _save_exception_stack = 0x7ffcda4d9d30 [11:57:43.553] _save_context_stack = 0x0 [11:57:43.553] _local_sigjmp_buf = {{__jmpbuf = {0, -8831479424306581424, 94610882484672, 94610883881096, 94610883881072, 94610883881024, -2985417524706217904, -8831476085436387248}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140723971005455, 94610883881072, 94610883881024, 94610257726527, 94610260424109, 94610882484672, 94610260849662, 1, 1, 0, 34, 94610882484672, 0, 34, 94610882484672}}}} [11:57:43.553] _do_rethrow = [11:57:43.553] result = [11:57:43.553] nprocessed = [11:57:43.553] saveTopTransactionResourceOwner = 0x560c500a5d08 [11:57:43.553] saveTopTransactionContext = 0x560c50107970 [11:57:43.553] saveActivePortal = 0x0 [11:57:43.553] saveResourceOwner = 0x560c500a5d08 [11:57:43.553] savePortalContext = 0x0 [11:57:43.553] saveMemoryContext = 0x560c50107970 [11:57:43.553] __func__ = "PortalRun" [11:57:43.553] #29 0x0000560c2aa259b2 in exec_simple_query (query_string=query_string@entry=0x560c50201ba0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:43.553] cmdtaglen = 11 [11:57:43.553] snapshot_set = [11:57:43.553] per_parsetree_context = 0x0 [11:57:43.553] plantree_list = 0x560c50202c30 [11:57:43.553] parsetree = 0x560c50202840 [11:57:43.553] commandTag = [11:57:43.553] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:43.553] querytree_list = [11:57:43.553] portal = 0x560c500ad9c0 [11:57:43.553] receiver = 0x560c2b2714a0 [11:57:43.553] format = 0 [11:57:43.553] cmdtagname = [11:57:43.553] parsetree_item__state = [11:57:43.553] dest = DestDebug [11:57:43.553] oldcontext = 0x560c50107970 [11:57:43.553] parsetree_list = 0x560c50202870 [11:57:43.553] parsetree_item = 0x560c50202888 [11:57:43.553] save_log_statement_stats = false [11:57:43.553] was_logged = false [11:57:43.553] use_implicit_block = false [11:57:43.553] msec_str = "\000\240M\332\374\177\000\000\353\240\316*\fV\000\000\020\235M\332\374\177\000\000D\000\000\000\000\000\000" [11:57:43.553] __func__ = "exec_simple_query" [11:57:43.553] #30 0x0000560c2aa28714 in PostgresMain (dbname=, username=username@entry=0x560c4ffd31a0 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:43.553] query_string = 0x560c50201ba0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:43.553] firstchar = [11:57:43.553] input_message = {data = 0x560c50201ba0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:43.553] local_sigjmp_buf = {{__jmpbuf = {94610270825464, -8831478449093152688, 94610881589664, 140723971006464, 94610263420376, 140630827159584, -2985417524639109040, -8831476079790854064}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94610881792160, 17408, 94610270819520, 94610882268992, 94610263420376, 94610257904921, 723824088, 10, 140723971005996, 94610270825472, 94610881792160, 94610270819520, 140723971006464, 94610263420376, 140630827159584}}}} [11:57:43.553] send_ready_for_query = false [11:57:43.553] idle_in_transaction_timeout_enabled = false [11:57:43.553] idle_session_timeout_enabled = false [11:57:43.553] __func__ = "PostgresMain" [11:57:43.553] #31 0x0000560c2aa28c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x560c500047e0, username=0x560c4ffd31a0 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:43.553] dbname = 0x560c50047500 "template1" [11:57:43.553] __func__ = "PostgresSingleUserMain" [11:57:43.553] #32 0x0000560c2a706e97 in main (argc=12, argv=0x560c500047e0) at ../src/backend/main/main.c:226 [11:57:43.553] do_check_root = [11:57:43.553] dispatch_option = [11:57:43.584] -e [11:57:43.584] [11:57:43.584] [11:57:43.647] dumping /tmp/cores/postgres-6-32727.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:43.896] [New LWP 32727] [11:57:43.896] [11:57:43.896] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:43.896] [11:57:43.896] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:43.896] Debuginfod has been disabled. [11:57:43.896] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:43.998] [Thread debugging using libthread_db enabled] [11:57:43.998] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:43.998] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:43.998] Program terminated with signal SIGABRT, Aborted. [11:57:43.998] #0 0x00007fbcbd2a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:44.976] [11:57:44.976] Thread 1 (Thread 0x7fbcbb21bf00 (LWP 32727)): [11:57:44.976] #0 0x00007fbcbd2a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:44.976] No symbol table info available. [11:57:44.976] #1 0x00007fbcbd25afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:44.976] No symbol table info available. [11:57:44.976] #2 0x00007fbcbd245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:44.976] No symbol table info available. [11:57:44.976] #3 0x00007fbcbd41e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:44.976] No locals. [11:57:44.976] #4 0x00007fbcbd42aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:44.976] No locals. [11:57:44.976] #5 0x00007fbcbd40d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55d605c28440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:44.976] bp = 140736823062544 [11:57:44.976] pc = [11:57:44.976] Opts = {FromUnrecoverableHandler = true, pc = 94377696591269, bp = 194} [11:57:44.976] #6 0x000055d605147da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:44.976] crc0 = [11:57:44.976] len = [11:57:44.976] buf = [11:57:44.976] #7 0x000055d605147e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:44.976] p = [11:57:44.976] pend = [11:57:44.976] orig_crc = [11:57:44.976] orig_len = [11:57:44.976] #8 0x000055d604823ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:44.976] No locals. [11:57:44.976] #9 0x000055d604824f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7fffd8587108, num_fpi=num_fpi@entry=0x7fffd85870fc, topxid_included=0x7fffd85870fb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:44.976] rdt = 0x55d60aa2c2f0 [11:57:44.976] total_len = 194 [11:57:44.976] block_id = 1 [11:57:44.976] rdata_crc = [11:57:44.976] prev_regbuf = 0x55d60aa2e208 [11:57:44.976] rdt_datas_last = 0x55d60aa2c2c0 [11:57:44.976] rechdr = 0x55d60aa2c4d0 [11:57:44.976] scratch = 0x55d60aa2c4fe "" [11:57:44.976] __func__ = "XLogRecordAssemble" [11:57:44.976] #10 0x000055d604825f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:44.976] RedoRecPtr = 17604224 [11:57:44.976] doPageWrites = true [11:57:44.976] topxid_included = false [11:57:44.976] fpw_lsn = 0 [11:57:44.976] rdt = [11:57:44.976] num_fpi = 0 [11:57:44.976] EndPos = [11:57:44.976] __func__ = "XLogInsert" [11:57:44.976] #11 0x000055d60473f66b in heap_insert (relation=relation@entry=0x55d60aaca5d0, tup=tup@entry=0x55d60abbeb70, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:44.976] recptr = [11:57:44.976] info = 128 '\200' [11:57:44.976] bufflags = 6 [11:57:44.976] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:44.976] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:44.976] page = 0x7fbcb206a000 "" [11:57:44.976] xid = [11:57:44.976] heaptup = 0x55d60abbeb70 [11:57:44.976] buffer = 104 [11:57:44.976] vmbuffer = 0 [11:57:44.976] all_visible_cleared = false [11:57:44.976] #12 0x000055d604740bfc in simple_heap_insert (relation=relation@entry=0x55d60aaca5d0, tup=tup@entry=0x55d60abbeb70) at ../src/backend/access/heap/heapam.c:2641 [11:57:44.976] No locals. [11:57:44.976] #13 0x000055d60487870e in CatalogTupleInsert (heapRel=heapRel@entry=0x55d60aaca5d0, tup=0x55d60abbeb70) at ../src/backend/catalog/indexing.c:241 [11:57:44.976] indstate = 0x55d60abb5218 [11:57:44.976] #14 0x000055d604899d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55d60abbce40 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7fffd85874dc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:44.976] conDesc = 0x55d60aaca5d0 [11:57:44.976] conOid = 10115 [11:57:44.976] tup = [11:57:44.976] nulls = {false , true, true, true, true, true, true, true} [11:57:44.976] values = {10115, 140736823063152, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94377791450296, 0, 0, 0, 0, 0, 0, 0} [11:57:44.976] conkeyArray = 0x55d60abbecb8 [11:57:44.976] confkeyArray = 0x0 [11:57:44.976] conpfeqopArray = 0x0 [11:57:44.976] conppeqopArray = 0x0 [11:57:44.976] conffeqopArray = 0x0 [11:57:44.976] conexclopArray = 0x0 [11:57:44.976] confdelsetcolsArray = [11:57:44.976] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:44.976] i = [11:57:44.976] conobject = {classId = 32767, objectId = 178495104, objectSubId = 21974} [11:57:44.976] addrs_auto = [11:57:44.976] addrs_normal = [11:57:44.976] #15 0x000055d60486244e in StoreRelNotNull (rel=rel@entry=0x55d60aa7e658, nnname=nnname@entry=0x55d60abbce40 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:44.976] constrOid = [11:57:44.976] #16 0x000055d60486a556 in AddRelationNewConstraints (rel=rel@entry=0x55d60aa7e658, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55d60abbc530, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:44.976] nncooked = [11:57:44.976] colnum = 1 [11:57:44.976] inhcount = 0 [11:57:44.976] nnname = 0x55d60abbce40 "pg_proc_oid_not_null" [11:57:44.976] constrOid = [11:57:44.976] cdef__state = [11:57:44.976] cdef = 0x55d60abbaad0 [11:57:44.976] cdef__outerloop = [11:57:44.976] cookedConstraints = 0x0 [11:57:44.976] tupleDesc = [11:57:44.976] oldconstr = [11:57:44.976] numoldchecks = [11:57:44.976] pstate = 0x55d60abbaea8 [11:57:44.976] nsitem = [11:57:44.976] numchecks = 0 [11:57:44.976] checknames = 0x0 [11:57:44.976] nnnames = 0x55d60abbe6a0 [11:57:44.976] expr = [11:57:44.976] cooked = [11:57:44.976] __func__ = "AddRelationNewConstraints" [11:57:44.976] #17 0x000055d604991bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7fffd85877a8, tab=tab@entry=0x55d60abb5428, rel=rel@entry=0x55d60aa7e658, constr=constr@entry=0x55d60abbb068, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:44.976] newcons = [11:57:44.976] lcon = [11:57:44.976] children = [11:57:44.976] child = [11:57:44.976] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:44.976] __func__ = "ATAddCheckNNConstraint" [11:57:44.976] #18 0x000055d604992291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7fffd85877a8, tab=tab@entry=0x55d60abb5428, rel=rel@entry=0x55d60aa7e658, newConstraint=0x55d60abbb068, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:44.976] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:44.976] __func__ = "ATExecAddConstraint" [11:57:44.976] #19 0x000055d60499e51e in ATExecCmd (wqueue=wqueue@entry=0x7fffd85877a8, tab=tab@entry=0x55d60abb5428, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7fffd8587890) at ../src/backend/commands/tablecmds.c:5428 [11:57:44.976] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:44.976] rel = 0x55d60aa7e658 [11:57:44.976] __func__ = "ATExecCmd" [11:57:44.976] #20 0x000055d60499f3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7fffd85877a8, lockmode=lockmode@entry=8, context=context@entry=0x7fffd8587890) at ../src/backend/commands/tablecmds.c:5294 [11:57:44.976] lcmd__state = [11:57:44.976] tab = 0x55d60abb5428 [11:57:44.976] subcmds = 0x55d60abbc458 [11:57:44.976] lcmd = [11:57:44.976] ltab__state = [11:57:44.976] pass = AT_PASS_COL_ATTRS [11:57:44.976] ltab = [11:57:44.976] #21 0x000055d60499f90d in ATController (parsetree=parsetree@entry=0x55d60aba38b0, rel=rel@entry=0x55d60aa7e658, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7fffd8587890) at ../src/backend/commands/tablecmds.c:4849 [11:57:44.976] wqueue = 0x55d60aba8590 [11:57:44.976] lcmd = 0x0 [11:57:44.976] #22 0x000055d60499f9c4 in AlterTable (stmt=stmt@entry=0x55d60aba38b0, lockmode=lockmode@entry=8, context=context@entry=0x7fffd8587890) at ../src/backend/commands/tablecmds.c:4504 [11:57:44.976] rel = 0x55d60aa7e658 [11:57:44.976] #23 0x000055d604e20b4d in ProcessUtilitySlow (pstate=pstate@entry=0x55d60aba8480, pstmt=pstmt@entry=0x55d60aba3960, queryString=queryString@entry=0x55d60aba2c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55d6056614a0 , qc=0x7fffd8587d90) at ../src/backend/tcop/utility.c:1321 [11:57:44.976] atcontext = {pstmt = 0x55d60aba3960, queryString = 0x55d60aba2c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:44.976] atstmt = 0x55d60aba38b0 [11:57:44.976] relid = 1255 [11:57:44.976] lockmode = 8 [11:57:44.976] cell = 0x0 [11:57:44.976] _save_exception_stack = 0x7fffd8587c70 [11:57:44.976] _save_context_stack = 0x0 [11:57:44.976] _local_sigjmp_buf = {{__jmpbuf = {0, -1951562925076512613, 94377791338672, 0, 94377791335488, 0, -5712532347967111013, -1951541414090899301}, __mask_was_saved = 0, __saved_mask = {__val = {0, 140448558170440, 94377693056831, 140448558307176, 94377611362305, 94377709105952, 4294967295, 140448603801680, 140448625893280, 0, 94377701780952, 140448629727264, 140448629587646, 1, 140448629732064, 332}}}} [11:57:44.976] _do_rethrow = false [11:57:44.976] parsetree = 0x55d60aba38b0 [11:57:44.976] isTopLevel = true [11:57:44.976] isCompleteQuery = true [11:57:44.976] needCleanup = false [11:57:44.976] commandCollected = false [11:57:44.976] address = {classId = 21974, objectId = 179976368, objectSubId = 21974} [11:57:44.976] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:44.976] __func__ = "ProcessUtilitySlow" [11:57:44.976] #24 0x000055d604e20189 in standard_ProcessUtility (pstmt=0x55d60aba3960, queryString=0x55d60aba2c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55d6056614a0 , qc=0x7fffd8587d90) at ../src/backend/tcop/utility.c:1070 [11:57:44.976] parsetree = 0x55d60aba38b0 [11:57:44.976] isTopLevel = true [11:57:44.976] isAtomicContext = false [11:57:44.976] pstate = 0x55d60aba8480 [11:57:44.976] readonly_flags = [11:57:44.976] __func__ = "standard_ProcessUtility" [11:57:44.976] #25 0x000055d604e202e4 in ProcessUtility (pstmt=pstmt@entry=0x55d60aba3960, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55d6056614a0 , qc=0x7fffd8587d90) at ../src/backend/tcop/utility.c:523 [11:57:44.976] No locals. [11:57:44.976] #26 0x000055d604e1bc09 in PortalRunUtility (portal=portal@entry=0x55d60aa48740, pstmt=pstmt@entry=0x55d60aba3960, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55d6056614a0 , qc=qc@entry=0x7fffd8587d90) at ../src/backend/tcop/pquery.c:1184 [11:57:44.976] No locals. [11:57:44.976] #27 0x000055d604e1c20d in PortalRunMulti (portal=portal@entry=0x55d60aa48740, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55d6056614a0 , altdest=altdest@entry=0x55d6056614a0 , qc=qc@entry=0x7fffd8587d90) at ../src/backend/tcop/pquery.c:1348 [11:57:44.976] pstmt = 0x55d60aba3960 [11:57:44.976] stmtlist_item__state = [11:57:44.976] active_snapshot_set = false [11:57:44.976] stmtlist_item = 0x55d60aba3ce8 [11:57:44.976] query_index = 0 [11:57:44.976] #28 0x000055d604e1c78c in PortalRun (portal=portal@entry=0x55d60aa48740, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55d6056614a0 , altdest=altdest@entry=0x55d6056614a0 , qc=qc@entry=0x7fffd8587d90) at ../src/backend/tcop/pquery.c:819 [11:57:44.976] _save_exception_stack = 0x7fffd8587e40 [11:57:44.976] _save_context_stack = 0x0 [11:57:44.976] _local_sigjmp_buf = {{__jmpbuf = {0, -1951544747290132325, 94377789916992, 94377791338792, 94377791338768, 94377791338720, -5712532347837087589, -1951541416077164389}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140736823065887, 94377791338768, 94377791338720, 94377696087103, 94377698784685, 94377789916992, 94377699210238, 1, 1, 0, 34, 94377789916992, 0, 34, 94377789916992}}}} [11:57:44.976] _do_rethrow = [11:57:44.976] result = [11:57:44.976] nprocessed = [11:57:44.976] saveTopTransactionResourceOwner = 0x55d60aa40a88 [11:57:44.976] saveTopTransactionContext = 0x55d60aaa26f0 [11:57:44.976] saveActivePortal = 0x0 [11:57:44.976] saveResourceOwner = 0x55d60aa40a88 [11:57:44.976] savePortalContext = 0x0 [11:57:44.976] saveMemoryContext = 0x55d60aaa26f0 [11:57:44.976] __func__ = "PortalRun" [11:57:44.976] #29 0x000055d604e159b2 in exec_simple_query (query_string=query_string@entry=0x55d60aba2c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:44.976] cmdtaglen = 11 [11:57:44.976] snapshot_set = [11:57:44.976] per_parsetree_context = 0x0 [11:57:44.976] plantree_list = 0x55d60aba3cd0 [11:57:44.976] parsetree = 0x55d60aba38e0 [11:57:44.976] commandTag = [11:57:44.976] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:44.976] querytree_list = [11:57:44.976] portal = 0x55d60aa48740 [11:57:44.976] receiver = 0x55d6056614a0 [11:57:44.976] format = 0 [11:57:44.976] cmdtagname = [11:57:44.976] parsetree_item__state = [11:57:44.976] dest = DestDebug [11:57:44.976] oldcontext = 0x55d60aaa26f0 [11:57:44.976] parsetree_list = 0x55d60aba3910 [11:57:44.976] parsetree_item = 0x55d60aba3928 [11:57:44.976] save_log_statement_stats = false [11:57:44.976] was_logged = false [11:57:44.976] use_implicit_block = false [11:57:44.976] msec_str = "\020\201X\330\377\177\000\000\353\240\r\005\326U\000\000 ~X\330\377\177\000\000D\000\000\000\000\000\000" [11:57:44.976] __func__ = "exec_simple_query" [11:57:44.976] #30 0x000055d604e18714 in PostgresMain (dbname=, username=username@entry=0x55d60a9700c0 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:44.976] query_string = 0x55d60aba2c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:44.976] firstchar = [11:57:44.976] input_message = {data = 0x55d60aba2c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:44.976] local_sigjmp_buf = {{__jmpbuf = {94377709186040, -1951544073772990309, 94377789030592, 140736823066896, 94377701780952, 140448629727264, -5712532347904196453, -1951541422242791269}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94377789233360, 17408, 94377709180096, 94377789701312, 94377701780952, 94377696265497, 90418648, 10, 140736823066428, 94377709186048, 94377789233360, 94377709180096, 140736823066896, 94377701780952, 140448629727264}}}} [11:57:44.976] send_ready_for_query = false [11:57:44.976] idle_in_transaction_timeout_enabled = false [11:57:44.976] idle_session_timeout_enabled = false [11:57:44.976] __func__ = "PostgresMain" [11:57:44.976] #31 0x000055d604e18c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55d60a9a1810, username=0x55d60a9700c0 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:44.976] dbname = 0x55d60a9e33b0 "template1" [11:57:44.976] __func__ = "PostgresSingleUserMain" [11:57:44.976] #32 0x000055d604af6e97 in main (argc=12, argv=0x55d60a9a1810) at ../src/backend/main/main.c:226 [11:57:44.976] do_check_root = [11:57:44.976] dispatch_option = [11:57:45.007] -e [11:57:45.007] [11:57:45.007] [11:57:45.072] dumping /tmp/cores/postgres-6-29811.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:45.321] [New LWP 29811] [11:57:45.321] [11:57:45.321] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:45.321] [11:57:45.321] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:45.321] Debuginfod has been disabled. [11:57:45.321] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:45.421] [Thread debugging using libthread_db enabled] [11:57:45.421] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:45.421] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:45.421] Program terminated with signal SIGABRT, Aborted. [11:57:45.421] #0 0x00007f09698a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:46.402] [11:57:46.402] Thread 1 (Thread 0x7f096a687f00 (LWP 29811)): [11:57:46.402] #0 0x00007f09698a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:46.402] No symbol table info available. [11:57:46.402] #1 0x00007f096985afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:46.402] No symbol table info available. [11:57:46.402] #2 0x00007f0969845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:46.402] No symbol table info available. [11:57:46.402] #3 0x00007f0969a1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:46.402] No locals. [11:57:46.402] #4 0x00007f0969a2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:46.402] No locals. [11:57:46.402] #5 0x00007f0969a0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55ff7f931440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:46.402] bp = 140731096215008 [11:57:46.402] pc = [11:57:46.402] Opts = {FromUnrecoverableHandler = true, pc = 94555833961893, bp = 194} [11:57:46.402] #6 0x000055ff7ee50da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:46.402] crc0 = [11:57:46.402] len = [11:57:46.402] buf = [11:57:46.402] #7 0x000055ff7ee50e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:46.402] p = [11:57:46.402] pend = [11:57:46.402] orig_crc = [11:57:46.402] orig_len = [11:57:46.402] #8 0x000055ff7e52cef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:46.402] No locals. [11:57:46.402] #9 0x000055ff7e52df85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffe82ffaed8, num_fpi=num_fpi@entry=0x7ffe82ffaecc, topxid_included=0x7ffe82ffaecb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:46.402] rdt = 0x55ff90954610 [11:57:46.402] total_len = 194 [11:57:46.402] block_id = 1 [11:57:46.402] rdata_crc = [11:57:46.402] prev_regbuf = 0x55ff90956528 [11:57:46.402] rdt_datas_last = 0x55ff909545e0 [11:57:46.402] rechdr = 0x55ff909547f0 [11:57:46.402] scratch = 0x55ff9095481e "" [11:57:46.402] __func__ = "XLogRecordAssemble" [11:57:46.402] #10 0x000055ff7e52ef4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:46.402] RedoRecPtr = 17604224 [11:57:46.402] doPageWrites = true [11:57:46.402] topxid_included = false [11:57:46.402] fpw_lsn = 0 [11:57:46.402] rdt = [11:57:46.402] num_fpi = 0 [11:57:46.402] EndPos = [11:57:46.402] __func__ = "XLogInsert" [11:57:46.402] #11 0x000055ff7e44866b in heap_insert (relation=relation@entry=0x55ff909f24f0, tup=tup@entry=0x55ff90ae3660, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:46.402] recptr = [11:57:46.402] info = 128 '\200' [11:57:46.402] bufflags = 6 [11:57:46.402] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:46.402] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:46.402] page = 0x7f095e75a000 "" [11:57:46.402] xid = [11:57:46.402] heaptup = 0x55ff90ae3660 [11:57:46.402] buffer = 97 [11:57:46.402] vmbuffer = 0 [11:57:46.402] all_visible_cleared = false [11:57:46.402] #12 0x000055ff7e449bfc in simple_heap_insert (relation=relation@entry=0x55ff909f24f0, tup=tup@entry=0x55ff90ae3660) at ../src/backend/access/heap/heapam.c:2641 [11:57:46.402] No locals. [11:57:46.402] #13 0x000055ff7e58170e in CatalogTupleInsert (heapRel=heapRel@entry=0x55ff909f24f0, tup=0x55ff90ae3660) at ../src/backend/catalog/indexing.c:241 [11:57:46.402] indstate = 0x55ff90ad94f8 [11:57:46.402] #14 0x000055ff7e5a2d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55ff90ae1120 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffe82ffb2ac, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:46.402] conDesc = 0x55ff909f24f0 [11:57:46.402] conOid = 10115 [11:57:46.402] tup = [11:57:46.402] nulls = {false , true, true, true, true, true, true, true} [11:57:46.402] values = {10115, 140731096215616, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94556132358056, 0, 0, 0, 0, 0, 0, 0} [11:57:46.402] conkeyArray = 0x55ff90ae37a8 [11:57:46.402] confkeyArray = 0x0 [11:57:46.402] conpfeqopArray = 0x0 [11:57:46.402] conppeqopArray = 0x0 [11:57:46.402] conffeqopArray = 0x0 [11:57:46.402] conexclopArray = 0x0 [11:57:46.402] confdelsetcolsArray = [11:57:46.402] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:46.402] i = [11:57:46.402] conobject = {classId = 32766, objectId = 2425758112, objectSubId = 22015} [11:57:46.402] addrs_auto = [11:57:46.402] addrs_normal = [11:57:46.402] #15 0x000055ff7e56b44e in StoreRelNotNull (rel=rel@entry=0x55ff909a6978, nnname=nnname@entry=0x55ff90ae1120 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:46.402] constrOid = [11:57:46.402] #16 0x000055ff7e573556 in AddRelationNewConstraints (rel=rel@entry=0x55ff909a6978, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55ff90ae0810, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:46.402] nncooked = [11:57:46.402] colnum = 1 [11:57:46.402] inhcount = 0 [11:57:46.402] nnname = 0x55ff90ae1120 "pg_proc_oid_not_null" [11:57:46.402] constrOid = [11:57:46.402] cdef__state = [11:57:46.402] cdef = 0x55ff90adedb0 [11:57:46.402] cdef__outerloop = [11:57:46.402] cookedConstraints = 0x0 [11:57:46.402] tupleDesc = [11:57:46.402] oldconstr = [11:57:46.402] numoldchecks = [11:57:46.402] pstate = 0x55ff90adf188 [11:57:46.402] nsitem = [11:57:46.402] numchecks = 0 [11:57:46.402] checknames = 0x0 [11:57:46.402] nnnames = 0x55ff90ae3190 [11:57:46.402] expr = [11:57:46.402] cooked = [11:57:46.402] __func__ = "AddRelationNewConstraints" [11:57:46.402] #17 0x000055ff7e69abae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffe82ffb578, tab=tab@entry=0x55ff90ad9708, rel=rel@entry=0x55ff909a6978, constr=constr@entry=0x55ff90adf348, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:46.402] newcons = [11:57:46.402] lcon = [11:57:46.402] children = [11:57:46.402] child = [11:57:46.402] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:46.402] __func__ = "ATAddCheckNNConstraint" [11:57:46.402] #18 0x000055ff7e69b291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffe82ffb578, tab=tab@entry=0x55ff90ad9708, rel=rel@entry=0x55ff909a6978, newConstraint=0x55ff90adf348, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:46.402] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:46.402] __func__ = "ATExecAddConstraint" [11:57:46.402] #19 0x000055ff7e6a751e in ATExecCmd (wqueue=wqueue@entry=0x7ffe82ffb578, tab=tab@entry=0x55ff90ad9708, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffe82ffb660) at ../src/backend/commands/tablecmds.c:5428 [11:57:46.402] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:46.402] rel = 0x55ff909a6978 [11:57:46.402] __func__ = "ATExecCmd" [11:57:46.402] #20 0x000055ff7e6a83b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffe82ffb578, lockmode=lockmode@entry=8, context=context@entry=0x7ffe82ffb660) at ../src/backend/commands/tablecmds.c:5294 [11:57:46.402] lcmd__state = [11:57:46.402] tab = 0x55ff90ad9708 [11:57:46.402] subcmds = 0x55ff90ae0738 [11:57:46.402] lcmd = [11:57:46.402] ltab__state = [11:57:46.402] pass = AT_PASS_COL_ATTRS [11:57:46.402] ltab = [11:57:46.402] #21 0x000055ff7e6a890d in ATController (parsetree=parsetree@entry=0x55ff90ac58b0, rel=rel@entry=0x55ff909a6978, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffe82ffb660) at ../src/backend/commands/tablecmds.c:4849 [11:57:46.402] wqueue = 0x55ff90ac9d80 [11:57:46.402] lcmd = 0x0 [11:57:46.402] #22 0x000055ff7e6a89c4 in AlterTable (stmt=stmt@entry=0x55ff90ac58b0, lockmode=lockmode@entry=8, context=context@entry=0x7ffe82ffb660) at ../src/backend/commands/tablecmds.c:4504 [11:57:46.402] rel = 0x55ff909a6978 [11:57:46.402] #23 0x000055ff7eb29b4d in ProcessUtilitySlow (pstate=pstate@entry=0x55ff90ac9c70, pstmt=pstmt@entry=0x55ff90ac5960, queryString=queryString@entry=0x55ff90ac4c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55ff7f36a4a0 , qc=0x7ffe82ffbb60) at ../src/backend/tcop/utility.c:1321 [11:57:46.402] atcontext = {pstmt = 0x55ff90ac5960, queryString = 0x55ff90ac4c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:46.402] atstmt = 0x55ff90ac58b0 [11:57:46.402] relid = 1255 [11:57:46.402] lockmode = 8 [11:57:46.402] cell = 0x0 [11:57:46.402] _save_exception_stack = 0x7ffe82ffba40 [11:57:46.402] _save_context_stack = 0x0 [11:57:46.402] _local_sigjmp_buf = {{__jmpbuf = {0, -7857252373675368489, 94556132235440, 0, 94556132232256, 0, -4109734497734615081, -7857459024203866153}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1, 139676631433217, 140731096217400, 4294967295, 139678401661008, 139678424313760, 139678357072704, 94555830412796, 0, 4611686018427387905, 139678355745024, 139678429233888, 332, 94555839392352, 140731096219360}}}} [11:57:46.402] _do_rethrow = false [11:57:46.402] parsetree = 0x55ff90ac58b0 [11:57:46.402] isTopLevel = true [11:57:46.402] isCompleteQuery = true [11:57:46.402] needCleanup = false [11:57:46.402] commandCollected = false [11:57:46.402] address = {classId = 22015, objectId = 2427214000, objectSubId = 22015} [11:57:46.402] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:46.402] __func__ = "ProcessUtilitySlow" [11:57:46.402] #24 0x000055ff7eb29189 in standard_ProcessUtility (pstmt=0x55ff90ac5960, queryString=0x55ff90ac4c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55ff7f36a4a0 , qc=0x7ffe82ffbb60) at ../src/backend/tcop/utility.c:1070 [11:57:46.402] parsetree = 0x55ff90ac58b0 [11:57:46.402] isTopLevel = true [11:57:46.402] isAtomicContext = false [11:57:46.402] pstate = 0x55ff90ac9c70 [11:57:46.402] readonly_flags = [11:57:46.402] __func__ = "standard_ProcessUtility" [11:57:46.402] #25 0x000055ff7eb292e4 in ProcessUtility (pstmt=pstmt@entry=0x55ff90ac5960, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55ff7f36a4a0 , qc=0x7ffe82ffbb60) at ../src/backend/tcop/utility.c:523 [11:57:46.402] No locals. [11:57:46.402] #26 0x000055ff7eb24c09 in PortalRunUtility (portal=portal@entry=0x55ff90970a60, pstmt=pstmt@entry=0x55ff90ac5960, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55ff7f36a4a0 , qc=qc@entry=0x7ffe82ffbb60) at ../src/backend/tcop/pquery.c:1184 [11:57:46.402] No locals. [11:57:46.402] #27 0x000055ff7eb2520d in PortalRunMulti (portal=portal@entry=0x55ff90970a60, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55ff7f36a4a0 , altdest=altdest@entry=0x55ff7f36a4a0 , qc=qc@entry=0x7ffe82ffbb60) at ../src/backend/tcop/pquery.c:1348 [11:57:46.402] pstmt = 0x55ff90ac5960 [11:57:46.402] stmtlist_item__state = [11:57:46.402] active_snapshot_set = false [11:57:46.402] stmtlist_item = 0x55ff90ac5ce8 [11:57:46.402] query_index = 0 [11:57:46.402] #28 0x000055ff7eb2578c in PortalRun (portal=portal@entry=0x55ff90970a60, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55ff7f36a4a0 , altdest=altdest@entry=0x55ff7f36a4a0 , qc=qc@entry=0x7ffe82ffbb60) at ../src/backend/tcop/pquery.c:819 [11:57:46.403] _save_exception_stack = 0x7ffe82ffbc10 [11:57:46.403] _save_context_stack = 0x0 [11:57:46.403] _local_sigjmp_buf = {{__jmpbuf = {0, -7857460090985766953, 94556130839136, 94556132235560, 94556132235536, 94556132235488, -4109734497336156201, -7857459030736756777}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140731096218351, 94556132235536, 94556132235488, 94555833457727, 94555836155309, 94556130839136, 94555836580862, 1, 1, 0, 34, 94556130839136, 0, 34, 94556130839136}}}} [11:57:46.403] _do_rethrow = [11:57:46.403] result = [11:57:46.403] nprocessed = [11:57:46.403] saveTopTransactionResourceOwner = 0x55ff90968da8 [11:57:46.403] saveTopTransactionContext = 0x55ff909caa10 [11:57:46.403] saveActivePortal = 0x0 [11:57:46.403] saveResourceOwner = 0x55ff90968da8 [11:57:46.403] savePortalContext = 0x0 [11:57:46.403] saveMemoryContext = 0x55ff909caa10 [11:57:46.403] __func__ = "PortalRun" [11:57:46.403] #29 0x000055ff7eb1e9b2 in exec_simple_query (query_string=query_string@entry=0x55ff90ac4c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:46.403] cmdtaglen = 11 [11:57:46.403] snapshot_set = [11:57:46.403] per_parsetree_context = 0x0 [11:57:46.403] plantree_list = 0x55ff90ac5cd0 [11:57:46.403] parsetree = 0x55ff90ac58e0 [11:57:46.403] commandTag = [11:57:46.403] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:46.403] querytree_list = [11:57:46.403] portal = 0x55ff90970a60 [11:57:46.403] receiver = 0x55ff7f36a4a0 [11:57:46.403] format = 0 [11:57:46.403] cmdtagname = [11:57:46.403] parsetree_item__state = [11:57:46.403] dest = DestDebug [11:57:46.403] oldcontext = 0x55ff909caa10 [11:57:46.403] parsetree_list = 0x55ff90ac5910 [11:57:46.403] parsetree_item = 0x55ff90ac5928 [11:57:46.403] save_log_statement_stats = false [11:57:46.403] was_logged = false [11:57:46.403] use_implicit_block = false [11:57:46.403] msec_str = "\340\276\377\202\376\177\000\000\3530\336~\377U\000\000\360\273\377\202\376\177\000\000D\000\000\000\000\000\000" [11:57:46.403] __func__ = "exec_simple_query" [11:57:46.403] #30 0x000055ff7eb21714 in PostgresMain (dbname=, username=username@entry=0x55ff90897280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:46.403] query_string = 0x55ff90ac4c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:46.403] firstchar = [11:57:46.403] input_message = {data = 0x55ff90ac4c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:46.403] local_sigjmp_buf = {{__jmpbuf = {94555846556664, -7857461340036915241, 94556129948288, 140731096219360, 94555839151576, 139678429229088, -4109734497403265065, -7857459028866097193}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94556130146624, 17408, 94555846550720, 94556130623456, 94555839151576, 94555833636121, 2134130136, 10, 140731096218892, 94555846556672, 94556130146624, 94555846550720, 140731096219360, 94555839151576, 139678429229088}}}} [11:57:46.403] send_ready_for_query = false [11:57:46.403] idle_in_transaction_timeout_enabled = false [11:57:46.403] idle_session_timeout_enabled = false [11:57:46.403] __func__ = "PostgresMain" [11:57:46.403] #31 0x000055ff7eb21c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55ff908c7880, username=0x55ff90897280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:46.403] dbname = 0x55ff9090a600 "template1" [11:57:46.403] __func__ = "PostgresSingleUserMain" [11:57:46.403] #32 0x000055ff7e7ffe97 in main (argc=12, argv=0x55ff908c7880) at ../src/backend/main/main.c:226 [11:57:46.403] do_check_root = [11:57:46.403] dispatch_option = [11:57:46.434] -e [11:57:46.434] [11:57:46.434] [11:57:46.497] dumping /tmp/cores/postgres-6-34279.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:46.748] [New LWP 34279] [11:57:46.748] [11:57:46.748] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:46.748] [11:57:46.748] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:46.748] Debuginfod has been disabled. [11:57:46.748] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:46.849] [Thread debugging using libthread_db enabled] [11:57:46.849] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:46.849] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:46.849] Program terminated with signal SIGABRT, Aborted. [11:57:46.849] #0 0x00007fd0e58a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:47.844] [11:57:47.844] Thread 1 (Thread 0x7fd0e57d3f00 (LWP 34279)): [11:57:47.844] #0 0x00007fd0e58a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:47.844] No symbol table info available. [11:57:47.844] #1 0x00007fd0e585afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:47.844] No symbol table info available. [11:57:47.844] #2 0x00007fd0e5845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:47.844] No symbol table info available. [11:57:47.844] #3 0x00007fd0e5a1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:47.844] No locals. [11:57:47.844] #4 0x00007fd0e5a2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:47.844] No locals. [11:57:47.844] #5 0x00007fd0e5a0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x56070c28c440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:47.844] bp = 140733647432224 [11:57:47.844] pc = [11:57:47.844] Opts = {FromUnrecoverableHandler = true, pc = 94588257353125, bp = 194} [11:57:47.844] #6 0x000056070b7abda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:47.844] crc0 = [11:57:47.844] len = [11:57:47.844] buf = [11:57:47.844] #7 0x000056070b7abe72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:47.844] p = [11:57:47.844] pend = [11:57:47.844] orig_crc = [11:57:47.844] orig_len = [11:57:47.844] #8 0x000056070ae87ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:47.844] No locals. [11:57:47.844] #9 0x000056070ae88f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7fff1b102b18, num_fpi=num_fpi@entry=0x7fff1b102b0c, topxid_included=0x7fff1b102b0b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:47.844] rdt = 0x56074965b1f0 [11:57:47.844] total_len = 194 [11:57:47.844] block_id = 1 [11:57:47.844] rdata_crc = [11:57:47.844] prev_regbuf = 0x56074965d108 [11:57:47.844] rdt_datas_last = 0x56074965b1c0 [11:57:47.844] rechdr = 0x56074965b3d0 [11:57:47.844] scratch = 0x56074965b3fe "" [11:57:47.844] __func__ = "XLogRecordAssemble" [11:57:47.844] #10 0x000056070ae89f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:47.844] RedoRecPtr = 17604224 [11:57:47.844] doPageWrites = true [11:57:47.844] topxid_included = false [11:57:47.844] fpw_lsn = 0 [11:57:47.844] rdt = [11:57:47.844] num_fpi = 0 [11:57:47.844] EndPos = [11:57:47.844] __func__ = "XLogInsert" [11:57:47.844] #11 0x000056070ada366b in heap_insert (relation=relation@entry=0x5607496f94d0, tup=tup@entry=0x5607497ea640, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:47.844] recptr = [11:57:47.844] info = 128 '\200' [11:57:47.844] bufflags = 6 [11:57:47.844] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:47.844] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:47.844] page = 0x7fd0da682000 "" [11:57:47.844] xid = [11:57:47.844] heaptup = 0x5607497ea640 [11:57:47.844] buffer = 97 [11:57:47.844] vmbuffer = 0 [11:57:47.844] all_visible_cleared = false [11:57:47.844] #12 0x000056070ada4bfc in simple_heap_insert (relation=relation@entry=0x5607496f94d0, tup=tup@entry=0x5607497ea640) at ../src/backend/access/heap/heapam.c:2641 [11:57:47.844] No locals. [11:57:47.844] #13 0x000056070aedc70e in CatalogTupleInsert (heapRel=heapRel@entry=0x5607496f94d0, tup=0x5607497ea640) at ../src/backend/catalog/indexing.c:241 [11:57:47.844] indstate = 0x5607497e04d8 [11:57:47.844] #14 0x000056070aefdd93 in CreateConstraintEntry (constraintName=constraintName@entry=0x5607497e8100 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7fff1b102eec, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:47.844] conDesc = 0x5607496f94d0 [11:57:47.844] conOid = 10115 [11:57:47.844] tup = [11:57:47.844] nulls = {false , true, true, true, true, true, true, true} [11:57:47.844] values = {10115, 140733647432832, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94589297797000, 0, 0, 0, 0, 0, 0, 0} [11:57:47.844] conkeyArray = 0x5607497ea788 [11:57:47.844] confkeyArray = 0x0 [11:57:47.844] conpfeqopArray = 0x0 [11:57:47.844] conppeqopArray = 0x0 [11:57:47.844] conffeqopArray = 0x0 [11:57:47.844] conexclopArray = 0x0 [11:57:47.844] confdelsetcolsArray = [11:57:47.844] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:47.844] i = [11:57:47.844] conobject = {classId = 32767, objectId = 1231457664, objectSubId = 22023} [11:57:47.844] addrs_auto = [11:57:47.844] addrs_normal = [11:57:47.844] #15 0x000056070aec644e in StoreRelNotNull (rel=rel@entry=0x5607496ad558, nnname=nnname@entry=0x5607497e8100 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:47.844] constrOid = [11:57:47.844] #16 0x000056070aece556 in AddRelationNewConstraints (rel=rel@entry=0x5607496ad558, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x5607497e77f0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:47.844] nncooked = [11:57:47.844] colnum = 1 [11:57:47.844] inhcount = 0 [11:57:47.844] nnname = 0x5607497e8100 "pg_proc_oid_not_null" [11:57:47.844] constrOid = [11:57:47.844] cdef__state = [11:57:47.844] cdef = 0x5607497e5d90 [11:57:47.844] cdef__outerloop = [11:57:47.844] cookedConstraints = 0x0 [11:57:47.844] tupleDesc = [11:57:47.844] oldconstr = [11:57:47.844] numoldchecks = [11:57:47.844] pstate = 0x5607497e6168 [11:57:47.844] nsitem = [11:57:47.844] numchecks = 0 [11:57:47.844] checknames = 0x0 [11:57:47.844] nnnames = 0x5607497ea170 [11:57:47.844] expr = [11:57:47.844] cooked = [11:57:47.844] __func__ = "AddRelationNewConstraints" [11:57:47.844] #17 0x000056070aff5bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7fff1b1031b8, tab=tab@entry=0x5607497e06e8, rel=rel@entry=0x5607496ad558, constr=constr@entry=0x5607497e6328, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:47.844] newcons = [11:57:47.844] lcon = [11:57:47.844] children = [11:57:47.844] child = [11:57:47.844] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:47.844] __func__ = "ATAddCheckNNConstraint" [11:57:47.844] #18 0x000056070aff6291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7fff1b1031b8, tab=tab@entry=0x5607497e06e8, rel=rel@entry=0x5607496ad558, newConstraint=0x5607497e6328, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:47.844] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:47.844] __func__ = "ATExecAddConstraint" [11:57:47.844] #19 0x000056070b00251e in ATExecCmd (wqueue=wqueue@entry=0x7fff1b1031b8, tab=tab@entry=0x5607497e06e8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7fff1b1032a0) at ../src/backend/commands/tablecmds.c:5428 [11:57:47.844] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:47.844] rel = 0x5607496ad558 [11:57:47.844] __func__ = "ATExecCmd" [11:57:47.844] #20 0x000056070b0033b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7fff1b1031b8, lockmode=lockmode@entry=8, context=context@entry=0x7fff1b1032a0) at ../src/backend/commands/tablecmds.c:5294 [11:57:47.844] lcmd__state = [11:57:47.844] tab = 0x5607497e06e8 [11:57:47.844] subcmds = 0x5607497e7718 [11:57:47.844] lcmd = [11:57:47.844] ltab__state = [11:57:47.844] pass = AT_PASS_COL_ATTRS [11:57:47.844] ltab = [11:57:47.844] #21 0x000056070b00390d in ATController (parsetree=parsetree@entry=0x5607497cc890, rel=rel@entry=0x5607496ad558, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7fff1b1032a0) at ../src/backend/commands/tablecmds.c:4849 [11:57:47.844] wqueue = 0x5607497d0d60 [11:57:47.844] lcmd = 0x0 [11:57:47.844] #22 0x000056070b0039c4 in AlterTable (stmt=stmt@entry=0x5607497cc890, lockmode=lockmode@entry=8, context=context@entry=0x7fff1b1032a0) at ../src/backend/commands/tablecmds.c:4504 [11:57:47.844] rel = 0x5607496ad558 [11:57:47.844] #23 0x000056070b484b4d in ProcessUtilitySlow (pstate=pstate@entry=0x5607497d0c50, pstmt=pstmt@entry=0x5607497cc940, queryString=queryString@entry=0x5607497cbc20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x56070bcc54a0 , qc=0x7fff1b1037a0) at ../src/backend/tcop/utility.c:1321 [11:57:47.844] atcontext = {pstmt = 0x5607497cc940, queryString = 0x5607497cbc20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:47.844] atstmt = 0x5607497cc890 [11:57:47.844] relid = 1255 [11:57:47.844] lockmode = 8 [11:57:47.844] cell = 0x0 [11:57:47.844] _save_exception_stack = 0x7fff1b103680 [11:57:47.844] _save_context_stack = 0x0 [11:57:47.844] _local_sigjmp_buf = {{__jmpbuf = {0, -6082220603678264914, 94589297674384, 0, 94589297671200, 0, -547406913607700050, -6082365287889768018}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1, 140531329925121, 140733647434616, 4294967295, 140535180527696, 140535202815904, 0, 94588262542808, 140535207039008, 140535206899390, 1, 140535207043808, 332, 94588262783584, 140733647436576}}}} [11:57:47.844] _do_rethrow = false [11:57:47.844] parsetree = 0x5607497cc890 [11:57:47.844] isTopLevel = true [11:57:47.844] isCompleteQuery = true [11:57:47.844] needCleanup = false [11:57:47.844] commandCollected = false [11:57:47.844] address = {classId = 22023, objectId = 1232914576, objectSubId = 22023} [11:57:47.844] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:47.844] __func__ = "ProcessUtilitySlow" [11:57:47.844] #24 0x000056070b484189 in standard_ProcessUtility (pstmt=0x5607497cc940, queryString=0x5607497cbc20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x56070bcc54a0 , qc=0x7fff1b1037a0) at ../src/backend/tcop/utility.c:1070 [11:57:47.844] parsetree = 0x5607497cc890 [11:57:47.844] isTopLevel = true [11:57:47.844] isAtomicContext = false [11:57:47.844] pstate = 0x5607497d0c50 [11:57:47.844] readonly_flags = [11:57:47.844] __func__ = "standard_ProcessUtility" [11:57:47.844] #25 0x000056070b4842e4 in ProcessUtility (pstmt=pstmt@entry=0x5607497cc940, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x56070bcc54a0 , qc=0x7fff1b1037a0) at ../src/backend/tcop/utility.c:523 [11:57:47.844] No locals. [11:57:47.844] #26 0x000056070b47fc09 in PortalRunUtility (portal=portal@entry=0x560749677640, pstmt=pstmt@entry=0x5607497cc940, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56070bcc54a0 , qc=qc@entry=0x7fff1b1037a0) at ../src/backend/tcop/pquery.c:1184 [11:57:47.844] No locals. [11:57:47.844] #27 0x000056070b48020d in PortalRunMulti (portal=portal@entry=0x560749677640, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56070bcc54a0 , altdest=altdest@entry=0x56070bcc54a0 , qc=qc@entry=0x7fff1b1037a0) at ../src/backend/tcop/pquery.c:1348 [11:57:47.844] pstmt = 0x5607497cc940 [11:57:47.844] stmtlist_item__state = [11:57:47.844] active_snapshot_set = false [11:57:47.844] stmtlist_item = 0x5607497cccc8 [11:57:47.844] query_index = 0 [11:57:47.844] #28 0x000056070b48078c in PortalRun (portal=portal@entry=0x560749677640, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x56070bcc54a0 , altdest=altdest@entry=0x56070bcc54a0 , qc=qc@entry=0x7fff1b1037a0) at ../src/backend/tcop/pquery.c:819 [11:57:47.844] _save_exception_stack = 0x7fff1b103850 [11:57:47.844] _save_context_stack = 0x0 [11:57:47.844] _local_sigjmp_buf = {{__jmpbuf = {0, -6082364222087237202, 94589296277056, 94589297674504, 94589297674480, 94589297674432, -547406913477676626, -6082365285563764306}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140733647435567, 94589297674480, 94589297674432, 94588256848959, 94588259546541, 94589296277056, 94588259972094, 1, 1, 0, 34, 94589296277056, 0, 34, 94589296277056}}}} [11:57:47.844] _do_rethrow = [11:57:47.844] result = [11:57:47.844] nprocessed = [11:57:47.844] saveTopTransactionResourceOwner = 0x56074966f988 [11:57:47.844] saveTopTransactionContext = 0x5607496d15f0 [11:57:47.844] saveActivePortal = 0x0 [11:57:47.844] saveResourceOwner = 0x56074966f988 [11:57:47.844] savePortalContext = 0x0 [11:57:47.844] saveMemoryContext = 0x5607496d15f0 [11:57:47.844] __func__ = "PortalRun" [11:57:47.844] #29 0x000056070b4799b2 in exec_simple_query (query_string=query_string@entry=0x5607497cbc20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:47.844] cmdtaglen = 11 [11:57:47.844] snapshot_set = [11:57:47.844] per_parsetree_context = 0x0 [11:57:47.844] plantree_list = 0x5607497cccb0 [11:57:47.844] parsetree = 0x5607497cc8c0 [11:57:47.844] commandTag = [11:57:47.844] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:47.844] querytree_list = [11:57:47.844] portal = 0x560749677640 [11:57:47.844] receiver = 0x56070bcc54a0 [11:57:47.844] format = 0 [11:57:47.844] cmdtagname = [11:57:47.844] parsetree_item__state = [11:57:47.844] dest = DestDebug [11:57:47.844] oldcontext = 0x5607496d15f0 [11:57:47.844] parsetree_list = 0x5607497cc8f0 [11:57:47.844] parsetree_item = 0x5607497cc908 [11:57:47.844] save_log_statement_stats = false [11:57:47.844] was_logged = false [11:57:47.844] use_implicit_block = false [11:57:47.844] msec_str = " ;\020\033\377\177\000\000\353\340s\v\aV\000\00008\020\033\377\177\000\000D\000\000\000\000\000\000" [11:57:47.844] __func__ = "exec_simple_query" [11:57:47.844] #30 0x000056070b47c714 in PostgresMain (dbname=, username=username@entry=0x56074959ea60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:47.844] query_string = 0x5607497cbc20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:47.844] firstchar = [11:57:47.844] input_message = {data = 0x5607497cbc20 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:47.844] local_sigjmp_buf = {{__jmpbuf = {94588269947896, -6082368469562429010, 94589295389280, 140733647436576, 94588262542808, 140535207039008, -547406913947438674, -6082365417373961810}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94589295589472, 17408, 94588269941952, 94589296061376, 94588262542808, 94588257027353, 197783000, 10, 140733647436108, 94588269947904, 94589295589472, 94588269941952, 140733647436576, 94588262542808, 140535207039008}}}} [11:57:47.844] send_ready_for_query = false [11:57:47.844] idle_in_transaction_timeout_enabled = false [11:57:47.844] idle_session_timeout_enabled = false [11:57:47.844] __func__ = "PostgresMain" [11:57:47.844] #31 0x000056070b47cc8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x5607495cf7a0, username=0x56074959ea60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:47.844] dbname = 0x560749612190 "template1" [11:57:47.844] __func__ = "PostgresSingleUserMain" [11:57:47.844] #32 0x000056070b15ae97 in main (argc=12, argv=0x5607495cf7a0) at ../src/backend/main/main.c:226 [11:57:47.844] do_check_root = [11:57:47.844] dispatch_option = [11:57:47.876] -e [11:57:47.876] [11:57:47.876] [11:57:47.938] dumping /tmp/cores/postgres-6-34527.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:48.189] [New LWP 34527] [11:57:48.189] [11:57:48.189] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:48.189] [11:57:48.189] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:48.189] Debuginfod has been disabled. [11:57:48.189] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:48.292] [Thread debugging using libthread_db enabled] [11:57:48.292] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:48.292] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:48.292] Program terminated with signal SIGABRT, Aborted. [11:57:48.292] #0 0x00007fd7c92a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:49.263] [11:57:49.263] Thread 1 (Thread 0x7fd7c6e21f00 (LWP 34527)): [11:57:49.263] #0 0x00007fd7c92a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:49.263] No symbol table info available. [11:57:49.263] #1 0x00007fd7c925afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:49.263] No symbol table info available. [11:57:49.263] #2 0x00007fd7c9245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:49.263] No symbol table info available. [11:57:49.263] #3 0x00007fd7c941e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:49.263] No locals. [11:57:49.263] #4 0x00007fd7c942aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:49.263] No locals. [11:57:49.263] #5 0x00007fd7c940d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x5575ef227440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:49.263] bp = 140723893258368 [11:57:49.263] pc = [11:57:49.263] Opts = {FromUnrecoverableHandler = true, pc = 93965000142245, bp = 194} [11:57:49.263] #6 0x00005575ee746da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:49.263] crc0 = [11:57:49.263] len = [11:57:49.263] buf = [11:57:49.263] #7 0x00005575ee746e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:49.263] p = [11:57:49.263] pend = [11:57:49.263] orig_crc = [11:57:49.263] orig_len = [11:57:49.263] #8 0x00005575ede22ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:49.263] No locals. [11:57:49.263] #9 0x00005575ede23f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffcd5ab4978, num_fpi=num_fpi@entry=0x7ffcd5ab496c, topxid_included=0x7ffcd5ab496b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:49.263] rdt = 0x5575fecbe200 [11:57:49.263] total_len = 194 [11:57:49.263] block_id = 1 [11:57:49.263] rdata_crc = [11:57:49.263] prev_regbuf = 0x5575fecc0118 [11:57:49.263] rdt_datas_last = 0x5575fecbe1d0 [11:57:49.263] rechdr = 0x5575fecbe3e0 [11:57:49.263] scratch = 0x5575fecbe40e "" [11:57:49.263] __func__ = "XLogRecordAssemble" [11:57:49.263] #10 0x00005575ede24f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:49.263] RedoRecPtr = 17604224 [11:57:49.263] doPageWrites = true [11:57:49.263] topxid_included = false [11:57:49.263] fpw_lsn = 0 [11:57:49.263] rdt = [11:57:49.263] num_fpi = 0 [11:57:49.263] EndPos = [11:57:49.263] __func__ = "XLogInsert" [11:57:49.263] #11 0x00005575edd3e66b in heap_insert (relation=relation@entry=0x5575fed5c0e0, tup=tup@entry=0x5575fee4d250, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:49.263] recptr = [11:57:49.263] info = 128 '\200' [11:57:49.263] bufflags = 6 [11:57:49.263] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:49.263] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:49.263] page = 0x7fd7be0f7000 "" [11:57:49.263] xid = [11:57:49.263] heaptup = 0x5575fee4d250 [11:57:49.263] buffer = 97 [11:57:49.263] vmbuffer = 0 [11:57:49.263] all_visible_cleared = false [11:57:49.263] #12 0x00005575edd3fbfc in simple_heap_insert (relation=relation@entry=0x5575fed5c0e0, tup=tup@entry=0x5575fee4d250) at ../src/backend/access/heap/heapam.c:2641 [11:57:49.263] No locals. [11:57:49.263] #13 0x00005575ede7770e in CatalogTupleInsert (heapRel=heapRel@entry=0x5575fed5c0e0, tup=0x5575fee4d250) at ../src/backend/catalog/indexing.c:241 [11:57:49.263] indstate = 0x5575fee430e8 [11:57:49.263] #14 0x00005575ede98d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x5575fee4ad10 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffcd5ab4d4c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:49.263] conDesc = 0x5575fed5c0e0 [11:57:49.263] conOid = 10115 [11:57:49.263] tup = [11:57:49.263] nulls = {false , true, true, true, true, true, true, true} [11:57:49.263] values = {10115, 140723893258976, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 93965275943832, 0, 0, 0, 0, 0, 0, 0} [11:57:49.263] conkeyArray = 0x5575fee4d398 [11:57:49.263] confkeyArray = 0x0 [11:57:49.263] conpfeqopArray = 0x0 [11:57:49.263] conppeqopArray = 0x0 [11:57:49.263] conffeqopArray = 0x0 [11:57:49.263] conexclopArray = 0x0 [11:57:49.263] confdelsetcolsArray = [11:57:49.263] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:49.263] i = [11:57:49.263] conobject = {classId = 32764, objectId = 4274830736, objectSubId = 21877} [11:57:49.263] addrs_auto = [11:57:49.263] addrs_normal = [11:57:49.263] #15 0x00005575ede6144e in StoreRelNotNull (rel=rel@entry=0x5575fed10568, nnname=nnname@entry=0x5575fee4ad10 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:49.263] constrOid = [11:57:49.263] #16 0x00005575ede69556 in AddRelationNewConstraints (rel=rel@entry=0x5575fed10568, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x5575fee4a400, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:49.263] nncooked = [11:57:49.263] colnum = 1 [11:57:49.263] inhcount = 0 [11:57:49.263] nnname = 0x5575fee4ad10 "pg_proc_oid_not_null" [11:57:49.263] constrOid = [11:57:49.263] cdef__state = [11:57:49.263] cdef = 0x5575fee489a0 [11:57:49.263] cdef__outerloop = [11:57:49.263] cookedConstraints = 0x0 [11:57:49.263] tupleDesc = [11:57:49.263] oldconstr = [11:57:49.263] numoldchecks = [11:57:49.263] pstate = 0x5575fee48d78 [11:57:49.263] nsitem = [11:57:49.263] numchecks = 0 [11:57:49.263] checknames = 0x0 [11:57:49.263] nnnames = 0x5575fee4cd80 [11:57:49.263] expr = [11:57:49.263] cooked = [11:57:49.263] __func__ = "AddRelationNewConstraints" [11:57:49.263] #17 0x00005575edf90bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffcd5ab5018, tab=tab@entry=0x5575fee432f8, rel=rel@entry=0x5575fed10568, constr=constr@entry=0x5575fee48f38, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:49.263] newcons = [11:57:49.263] lcon = [11:57:49.263] children = [11:57:49.263] child = [11:57:49.263] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:49.263] __func__ = "ATAddCheckNNConstraint" [11:57:49.263] #18 0x00005575edf91291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffcd5ab5018, tab=tab@entry=0x5575fee432f8, rel=rel@entry=0x5575fed10568, newConstraint=0x5575fee48f38, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:49.263] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:49.263] __func__ = "ATExecAddConstraint" [11:57:49.263] #19 0x00005575edf9d51e in ATExecCmd (wqueue=wqueue@entry=0x7ffcd5ab5018, tab=tab@entry=0x5575fee432f8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffcd5ab5100) at ../src/backend/commands/tablecmds.c:5428 [11:57:49.263] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:49.263] rel = 0x5575fed10568 [11:57:49.263] __func__ = "ATExecCmd" [11:57:49.263] #20 0x00005575edf9e3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffcd5ab5018, lockmode=lockmode@entry=8, context=context@entry=0x7ffcd5ab5100) at ../src/backend/commands/tablecmds.c:5294 [11:57:49.263] lcmd__state = [11:57:49.263] tab = 0x5575fee432f8 [11:57:49.263] subcmds = 0x5575fee4a328 [11:57:49.263] lcmd = [11:57:49.263] ltab__state = [11:57:49.263] pass = AT_PASS_COL_ATTRS [11:57:49.263] ltab = [11:57:49.263] #21 0x00005575edf9e90d in ATController (parsetree=parsetree@entry=0x5575fee2f4a0, rel=rel@entry=0x5575fed10568, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffcd5ab5100) at ../src/backend/commands/tablecmds.c:4849 [11:57:49.263] wqueue = 0x5575fee33970 [11:57:49.263] lcmd = 0x0 [11:57:49.263] #22 0x00005575edf9e9c4 in AlterTable (stmt=stmt@entry=0x5575fee2f4a0, lockmode=lockmode@entry=8, context=context@entry=0x7ffcd5ab5100) at ../src/backend/commands/tablecmds.c:4504 [11:57:49.263] rel = 0x5575fed10568 [11:57:49.263] #23 0x00005575ee41fb4d in ProcessUtilitySlow (pstate=pstate@entry=0x5575fee33860, pstmt=pstmt@entry=0x5575fee2f550, queryString=queryString@entry=0x5575fee2e830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x5575eec604a0 , qc=0x7ffcd5ab5600) at ../src/backend/tcop/utility.c:1321 [11:57:49.263] atcontext = {pstmt = 0x5575fee2f550, queryString = 0x5575fee2e830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:49.263] atstmt = 0x5575fee2f4a0 [11:57:49.263] relid = 1255 [11:57:49.263] lockmode = 8 [11:57:49.263] cell = 0x0 [11:57:49.263] _save_exception_stack = 0x7ffcd5ab54e0 [11:57:49.263] _save_context_stack = 0x0 [11:57:49.263] _local_sigjmp_buf = {{__jmpbuf = {0, -2241656372640437851, 93965275821216, 0, 93965275818032, 0, -5334971204249409115, -2241622588474349147}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 140564769245264, 140564791230368, 140564724385472, 93964993338527, 93965012656928, 93960999534593, 140564724251456, 140564796150496, 332, 93965005572704, 140723893262720, 93965005331928, 140564796145696, 140564796006078, 1}}}} [11:57:49.263] _do_rethrow = false [11:57:49.263] parsetree = 0x5575fee2f4a0 [11:57:49.263] isTopLevel = true [11:57:49.263] isCompleteQuery = true [11:57:49.263] needCleanup = false [11:57:49.263] commandCollected = false [11:57:49.263] address = {classId = 21877, objectId = 4276286624, objectSubId = 21877} [11:57:49.263] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:49.263] __func__ = "ProcessUtilitySlow" [11:57:49.263] #24 0x00005575ee41f189 in standard_ProcessUtility (pstmt=0x5575fee2f550, queryString=0x5575fee2e830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x5575eec604a0 , qc=0x7ffcd5ab5600) at ../src/backend/tcop/utility.c:1070 [11:57:49.263] parsetree = 0x5575fee2f4a0 [11:57:49.263] isTopLevel = true [11:57:49.263] isAtomicContext = false [11:57:49.263] pstate = 0x5575fee33860 [11:57:49.263] readonly_flags = [11:57:49.263] __func__ = "standard_ProcessUtility" [11:57:49.263] #25 0x00005575ee41f2e4 in ProcessUtility (pstmt=pstmt@entry=0x5575fee2f550, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x5575eec604a0 , qc=0x7ffcd5ab5600) at ../src/backend/tcop/utility.c:523 [11:57:49.263] No locals. [11:57:49.263] #26 0x00005575ee41ac09 in PortalRunUtility (portal=portal@entry=0x5575fecda650, pstmt=pstmt@entry=0x5575fee2f550, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5575eec604a0 , qc=qc@entry=0x7ffcd5ab5600) at ../src/backend/tcop/pquery.c:1184 [11:57:49.263] No locals. [11:57:49.263] #27 0x00005575ee41b20d in PortalRunMulti (portal=portal@entry=0x5575fecda650, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x5575eec604a0 , altdest=altdest@entry=0x5575eec604a0 , qc=qc@entry=0x7ffcd5ab5600) at ../src/backend/tcop/pquery.c:1348 [11:57:49.263] pstmt = 0x5575fee2f550 [11:57:49.263] stmtlist_item__state = [11:57:49.263] active_snapshot_set = false [11:57:49.263] stmtlist_item = 0x5575fee2f8d8 [11:57:49.263] query_index = 0 [11:57:49.263] #28 0x00005575ee41b78c in PortalRun (portal=portal@entry=0x5575fecda650, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x5575eec604a0 , altdest=altdest@entry=0x5575eec604a0 , qc=qc@entry=0x7ffcd5ab5600) at ../src/backend/tcop/pquery.c:819 [11:57:49.263] _save_exception_stack = 0x7ffcd5ab56b0 [11:57:49.263] _save_context_stack = 0x0 [11:57:49.263] _local_sigjmp_buf = {{__jmpbuf = {0, -2241621436782958171, 93965274424912, 93965275821336, 93965275821312, 93965275821264, -5334971204144551515, -2241622590452225627}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140723893261711, 93965275821312, 93965275821264, 93964999638079, 93965002335661, 93965274424912, 93965002761214, 1, 1, 0, 34, 93965274424912, 0, 34, 93965274424912}}}} [11:57:49.263] _do_rethrow = [11:57:49.263] result = [11:57:49.263] nprocessed = [11:57:49.263] saveTopTransactionResourceOwner = 0x5575fecd2998 [11:57:49.263] saveTopTransactionContext = 0x5575fed34600 [11:57:49.263] saveActivePortal = 0x0 [11:57:49.263] saveResourceOwner = 0x5575fecd2998 [11:57:49.263] savePortalContext = 0x0 [11:57:49.263] saveMemoryContext = 0x5575fed34600 [11:57:49.263] __func__ = "PortalRun" [11:57:49.263] #29 0x00005575ee4149b2 in exec_simple_query (query_string=query_string@entry=0x5575fee2e830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:49.263] cmdtaglen = 11 [11:57:49.263] snapshot_set = [11:57:49.263] per_parsetree_context = 0x0 [11:57:49.263] plantree_list = 0x5575fee2f8c0 [11:57:49.263] parsetree = 0x5575fee2f4d0 [11:57:49.263] commandTag = [11:57:49.263] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:49.263] querytree_list = [11:57:49.263] portal = 0x5575fecda650 [11:57:49.263] receiver = 0x5575eec604a0 [11:57:49.263] format = 0 [11:57:49.263] cmdtagname = [11:57:49.263] parsetree_item__state = [11:57:49.263] dest = DestDebug [11:57:49.263] oldcontext = 0x5575fed34600 [11:57:49.263] parsetree_list = 0x5575fee2f500 [11:57:49.263] parsetree_item = 0x5575fee2f518 [11:57:49.263] save_log_statement_stats = false [11:57:49.263] was_logged = false [11:57:49.263] use_implicit_block = false [11:57:49.263] msec_str = "\200Y\253\325\374\177\000\000\353\220m\356uU\000\000\220V\253\325\374\177\000\000D\000\000\000\000\000\000" [11:57:49.263] __func__ = "exec_simple_query" [11:57:49.263] #30 0x00005575ee417714 in PostgresMain (dbname=, username=username@entry=0x5575fec00a60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:49.263] query_string = 0x5575fee2e830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:49.263] firstchar = [11:57:49.263] input_message = {data = 0x5575fee2e830 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:49.263] local_sigjmp_buf = {{__jmpbuf = {93965012737016, -2241619662168741467, 93965273533024, 140723893262720, 93965005331928, 140564796145696, -5334971204077442651, -2241622592876533339}, __mask_was_saved = 1, __saved_mask = {__val = {0, 93965273733216, 17408, 93965012731072, 93965274209232, 93965005331928, 93964999816473, 4005797336, 10, 140723893262252, 93965012737024, 93965273733216, 93965012731072, 140723893262720, 93965005331928, 140564796145696}}}} [11:57:49.263] send_ready_for_query = false [11:57:49.263] idle_in_transaction_timeout_enabled = false [11:57:49.263] idle_session_timeout_enabled = false [11:57:49.263] __func__ = "PostgresMain" [11:57:49.263] #31 0x00005575ee417c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x5575fec317a0, username=0x5575fec00a60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:49.263] dbname = 0x5575fec74190 "template1" [11:57:49.263] __func__ = "PostgresSingleUserMain" [11:57:49.263] #32 0x00005575ee0f5e97 in main (argc=12, argv=0x5575fec317a0) at ../src/backend/main/main.c:226 [11:57:49.263] do_check_root = [11:57:49.263] dispatch_option = [11:57:49.294] -e [11:57:49.294] [11:57:49.294] [11:57:49.357] dumping /tmp/cores/postgres-6-33509.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:49.608] [New LWP 33509] [11:57:49.608] [11:57:49.608] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:49.608] [11:57:49.608] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:49.608] Debuginfod has been disabled. [11:57:49.608] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:49.713] [Thread debugging using libthread_db enabled] [11:57:49.713] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:49.713] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:49.713] Program terminated with signal SIGABRT, Aborted. [11:57:49.713] #0 0x00007f5e0b6a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:50.694] [11:57:50.694] Thread 1 (Thread 0x7f5e0b5d4f00 (LWP 33509)): [11:57:50.694] #0 0x00007f5e0b6a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:50.694] No symbol table info available. [11:57:50.694] #1 0x00007f5e0b65afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:50.694] No symbol table info available. [11:57:50.694] #2 0x00007f5e0b645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:50.694] No symbol table info available. [11:57:50.694] #3 0x00007f5e0b81e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:50.694] No locals. [11:57:50.694] #4 0x00007f5e0b82aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:50.694] No locals. [11:57:50.694] #5 0x00007f5e0b80d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55e05d397440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:50.694] bp = 140729080388336 [11:57:50.694] pc = [11:57:50.694] Opts = {FromUnrecoverableHandler = true, pc = 94422113676709, bp = 194} [11:57:50.694] #6 0x000055e05c8b6da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:50.694] crc0 = [11:57:50.694] len = [11:57:50.694] buf = [11:57:50.694] #7 0x000055e05c8b6e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:50.694] p = [11:57:50.694] pend = [11:57:50.694] orig_crc = [11:57:50.694] orig_len = [11:57:50.694] #8 0x000055e05bf92ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:50.694] No locals. [11:57:50.694] #9 0x000055e05bf93f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffe0ad89be8, num_fpi=num_fpi@entry=0x7ffe0ad89bdc, topxid_included=0x7ffe0ad89bdb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:50.694] rdt = 0x55e06f818200 [11:57:50.694] total_len = 194 [11:57:50.694] block_id = 1 [11:57:50.694] rdata_crc = [11:57:50.694] prev_regbuf = 0x55e06f81a118 [11:57:50.694] rdt_datas_last = 0x55e06f8181d0 [11:57:50.694] rechdr = 0x55e06f8183e0 [11:57:50.694] scratch = 0x55e06f81840e "" [11:57:50.694] __func__ = "XLogRecordAssemble" [11:57:50.694] #10 0x000055e05bf94f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:50.694] RedoRecPtr = 17604224 [11:57:50.694] doPageWrites = true [11:57:50.694] topxid_included = false [11:57:50.694] fpw_lsn = 0 [11:57:50.694] rdt = [11:57:50.694] num_fpi = 0 [11:57:50.694] EndPos = [11:57:50.694] __func__ = "XLogInsert" [11:57:50.694] #11 0x000055e05beae66b in heap_insert (relation=relation@entry=0x55e06f8b60e0, tup=tup@entry=0x55e06f9aaa60, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:50.694] recptr = [11:57:50.694] info = 128 '\200' [11:57:50.694] bufflags = 6 [11:57:50.694] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:50.694] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:50.694] page = 0x7f5e0055a000 "" [11:57:50.694] xid = [11:57:50.694] heaptup = 0x55e06f9aaa60 [11:57:50.694] buffer = 97 [11:57:50.694] vmbuffer = 0 [11:57:50.694] all_visible_cleared = false [11:57:50.694] #12 0x000055e05beafbfc in simple_heap_insert (relation=relation@entry=0x55e06f8b60e0, tup=tup@entry=0x55e06f9aaa60) at ../src/backend/access/heap/heapam.c:2641 [11:57:50.694] No locals. [11:57:50.694] #13 0x000055e05bfe770e in CatalogTupleInsert (heapRel=heapRel@entry=0x55e06f8b60e0, tup=0x55e06f9aaa60) at ../src/backend/catalog/indexing.c:241 [11:57:50.694] indstate = 0x55e06f9a2118 [11:57:50.694] #14 0x000055e05c008d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55e06f9b1b00 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffe0ad89fbc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:50.694] conDesc = 0x55e06f8b60e0 [11:57:50.694] conOid = 10115 [11:57:50.694] tup = [11:57:50.694] nulls = {false , true, true, true, true, true, true, true} [11:57:50.694] values = {10115, 140729080388944, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94422433442728, 0, 0, 0, 0, 0, 0, 0} [11:57:50.694] conkeyArray = 0x55e06f9aaba8 [11:57:50.694] confkeyArray = 0x0 [11:57:50.694] conpfeqopArray = 0x0 [11:57:50.694] conppeqopArray = 0x0 [11:57:50.694] conffeqopArray = 0x0 [11:57:50.694] conexclopArray = 0x0 [11:57:50.694] confdelsetcolsArray = [11:57:50.694] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:50.694] i = [11:57:50.694] conobject = {classId = 32766, objectId = 1870814608, objectSubId = 21984} [11:57:50.694] addrs_auto = [11:57:50.694] addrs_normal = [11:57:50.694] #15 0x000055e05bfd144e in StoreRelNotNull (rel=rel@entry=0x55e06f86a568, nnname=nnname@entry=0x55e06f9b1b00 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:50.694] constrOid = [11:57:50.694] #16 0x000055e05bfd9556 in AddRelationNewConstraints (rel=rel@entry=0x55e06f86a568, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55e06f9b11f0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:50.694] nncooked = [11:57:50.694] colnum = 1 [11:57:50.694] inhcount = 0 [11:57:50.694] nnname = 0x55e06f9b1b00 "pg_proc_oid_not_null" [11:57:50.694] constrOid = [11:57:50.694] cdef__state = [11:57:50.694] cdef = 0x55e06f9a85f0 [11:57:50.694] cdef__outerloop = [11:57:50.694] cookedConstraints = 0x0 [11:57:50.694] tupleDesc = [11:57:50.694] oldconstr = [11:57:50.694] numoldchecks = [11:57:50.694] pstate = 0x55e06f9afb68 [11:57:50.694] nsitem = [11:57:50.694] numchecks = 0 [11:57:50.694] checknames = 0x0 [11:57:50.694] nnnames = 0x55e06f9aa590 [11:57:50.694] expr = [11:57:50.694] cooked = [11:57:50.694] __func__ = "AddRelationNewConstraints" [11:57:50.694] #17 0x000055e05c100bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffe0ad8a288, tab=tab@entry=0x55e06f9a2328, rel=rel@entry=0x55e06f86a568, constr=constr@entry=0x55e06f9afd28, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:50.694] newcons = [11:57:50.694] lcon = [11:57:50.694] children = [11:57:50.694] child = [11:57:50.694] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:50.694] __func__ = "ATAddCheckNNConstraint" [11:57:50.694] #18 0x000055e05c101291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffe0ad8a288, tab=tab@entry=0x55e06f9a2328, rel=rel@entry=0x55e06f86a568, newConstraint=0x55e06f9afd28, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:50.694] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:50.694] __func__ = "ATExecAddConstraint" [11:57:50.694] #19 0x000055e05c10d51e in ATExecCmd (wqueue=wqueue@entry=0x7ffe0ad8a288, tab=tab@entry=0x55e06f9a2328, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffe0ad8a370) at ../src/backend/commands/tablecmds.c:5428 [11:57:50.694] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:50.694] rel = 0x55e06f86a568 [11:57:50.694] __func__ = "ATExecCmd" [11:57:50.694] #20 0x000055e05c10e3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffe0ad8a288, lockmode=lockmode@entry=8, context=context@entry=0x7ffe0ad8a370) at ../src/backend/commands/tablecmds.c:5294 [11:57:50.694] lcmd__state = [11:57:50.694] tab = 0x55e06f9a2328 [11:57:50.694] subcmds = 0x55e06f9b1118 [11:57:50.694] lcmd = [11:57:50.694] ltab__state = [11:57:50.694] pass = AT_PASS_COL_ATTRS [11:57:50.694] ltab = [11:57:50.694] #21 0x000055e05c10e90d in ATController (parsetree=parsetree@entry=0x55e06f98f3c0, rel=rel@entry=0x55e06f86a568, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffe0ad8a370) at ../src/backend/commands/tablecmds.c:4849 [11:57:50.694] wqueue = 0x55e06f98a880 [11:57:50.694] lcmd = 0x0 [11:57:50.694] #22 0x000055e05c10e9c4 in AlterTable (stmt=stmt@entry=0x55e06f98f3c0, lockmode=lockmode@entry=8, context=context@entry=0x7ffe0ad8a370) at ../src/backend/commands/tablecmds.c:4504 [11:57:50.694] rel = 0x55e06f86a568 [11:57:50.694] #23 0x000055e05c58fb4d in ProcessUtilitySlow (pstate=pstate@entry=0x55e06f98a770, pstmt=pstmt@entry=0x55e06f98f470, queryString=queryString@entry=0x55e06f98e750 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55e05cdd04a0 , qc=0x7ffe0ad8a870) at ../src/backend/tcop/utility.c:1321 [11:57:50.694] atcontext = {pstmt = 0x55e06f98f470, queryString = 0x55e06f98e750 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:50.694] atstmt = 0x55e06f98f3c0 [11:57:50.694] relid = 1255 [11:57:50.694] lockmode = 8 [11:57:50.694] cell = 0x0 [11:57:50.694] _save_exception_stack = 0x7ffe0ad8a750 [11:57:50.694] _save_context_stack = 0x0 [11:57:50.694] _local_sigjmp_buf = {{__jmpbuf = {0, 5199494031474644454, 94422433330112, 0, 94422433326928, 0, 2023412310662403558, 5199467093522077158}, __mask_was_saved = 0, __saved_mask = {__val = {140041703653377, 140729080390712, 4294967295, 140041894725712, 140041917337504, 94422126191392, 94422110599172, 140041850137408, 94420561035265, 0, 140041922257632, 332, 94422119107168, 140729080392688, 94422118866392, 140041922252832}}}} [11:57:50.694] _do_rethrow = false [11:57:50.694] parsetree = 0x55e06f98f3c0 [11:57:50.694] isTopLevel = true [11:57:50.694] isCompleteQuery = true [11:57:50.694] needCleanup = false [11:57:50.694] commandCollected = false [11:57:50.694] address = {classId = 21984, objectId = 1872294848, objectSubId = 21984} [11:57:50.694] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:50.694] __func__ = "ProcessUtilitySlow" [11:57:50.694] #24 0x000055e05c58f189 in standard_ProcessUtility (pstmt=0x55e06f98f470, queryString=0x55e06f98e750 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55e05cdd04a0 , qc=0x7ffe0ad8a870) at ../src/backend/tcop/utility.c:1070 [11:57:50.694] parsetree = 0x55e06f98f3c0 [11:57:50.694] isTopLevel = true [11:57:50.694] isAtomicContext = false [11:57:50.694] pstate = 0x55e06f98a770 [11:57:50.694] readonly_flags = [11:57:50.694] __func__ = "standard_ProcessUtility" [11:57:50.694] #25 0x000055e05c58f2e4 in ProcessUtility (pstmt=pstmt@entry=0x55e06f98f470, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55e05cdd04a0 , qc=0x7ffe0ad8a870) at ../src/backend/tcop/utility.c:523 [11:57:50.694] No locals. [11:57:50.694] #26 0x000055e05c58ac09 in PortalRunUtility (portal=portal@entry=0x55e06f834650, pstmt=pstmt@entry=0x55e06f98f470, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55e05cdd04a0 , qc=qc@entry=0x7ffe0ad8a870) at ../src/backend/tcop/pquery.c:1184 [11:57:50.694] No locals. [11:57:50.694] #27 0x000055e05c58b20d in PortalRunMulti (portal=portal@entry=0x55e06f834650, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55e05cdd04a0 , altdest=altdest@entry=0x55e05cdd04a0 , qc=qc@entry=0x7ffe0ad8a870) at ../src/backend/tcop/pquery.c:1348 [11:57:50.694] pstmt = 0x55e06f98f470 [11:57:50.694] stmtlist_item__state = [11:57:50.694] active_snapshot_set = false [11:57:50.694] stmtlist_item = 0x55e06f98f7f8 [11:57:50.694] query_index = 0 [11:57:50.694] #28 0x000055e05c58b78c in PortalRun (portal=portal@entry=0x55e06f834650, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55e05cdd04a0 , altdest=altdest@entry=0x55e05cdd04a0 , qc=qc@entry=0x7ffe0ad8a870) at ../src/backend/tcop/pquery.c:819 [11:57:50.695] _save_exception_stack = 0x7ffe0ad8a920 [11:57:50.695] _save_context_stack = 0x0 [11:57:50.695] _local_sigjmp_buf = {{__jmpbuf = {0, 5199466027727934950, 94422431909456, 94422433330232, 94422433330208, 94422433330160, 2023412310490437094, 5199467095495235046}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140729080391679, 94422433330208, 94422433330160, 94422113172543, 94422115870125, 94422431909456, 94422116295678, 1, 1, 0, 34, 94422431909456, 0, 34, 94422431909456}}}} [11:57:50.695] _do_rethrow = [11:57:50.695] result = [11:57:50.695] nprocessed = [11:57:50.695] saveTopTransactionResourceOwner = 0x55e06f82c998 [11:57:50.695] saveTopTransactionContext = 0x55e06f88e600 [11:57:50.695] saveActivePortal = 0x0 [11:57:50.695] saveResourceOwner = 0x55e06f82c998 [11:57:50.695] savePortalContext = 0x0 [11:57:50.695] saveMemoryContext = 0x55e06f88e600 [11:57:50.695] __func__ = "PortalRun" [11:57:50.695] #29 0x000055e05c5849b2 in exec_simple_query (query_string=query_string@entry=0x55e06f98e750 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:50.695] cmdtaglen = 11 [11:57:50.695] snapshot_set = [11:57:50.695] per_parsetree_context = 0x0 [11:57:50.695] plantree_list = 0x55e06f98f7e0 [11:57:50.695] parsetree = 0x55e06f98f3f0 [11:57:50.695] commandTag = [11:57:50.695] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:50.695] querytree_list = [11:57:50.695] portal = 0x55e06f834650 [11:57:50.695] receiver = 0x55e05cdd04a0 [11:57:50.695] format = 0 [11:57:50.695] cmdtagname = [11:57:50.695] parsetree_item__state = [11:57:50.695] dest = DestDebug [11:57:50.695] oldcontext = 0x55e06f88e600 [11:57:50.695] parsetree_list = 0x55e06f98f420 [11:57:50.695] parsetree_item = 0x55e06f98f438 [11:57:50.695] save_log_statement_stats = false [11:57:50.695] was_logged = false [11:57:50.695] use_implicit_block = false [11:57:50.695] msec_str = "\360\253\330\n\376\177\000\000됄\\\340U\000\000\000\251\330\n\376\177\000\000D\000\000\000\000\000\000" [11:57:50.695] __func__ = "exec_simple_query" [11:57:50.695] #30 0x000055e05c587714 in PostgresMain (dbname=, username=username@entry=0x55e06f75aa60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:50.695] query_string = 0x55e06f98e750 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:50.695] firstchar = [11:57:50.695] input_message = {data = 0x55e06f98e750 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:50.695] local_sigjmp_buf = {{__jmpbuf = {94422126271480, 5199465009564833254, 94422431017568, 140729080392688, 94422118866392, 140041922252832, 2023412310960199142, 5199467098456413670}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94422431217760, 17408, 94422126265536, 94422431693776, 94422118866392, 94422113350937, 1557831128, 10, 140729080392220, 94422126271488, 94422431217760, 94422126265536, 140729080392688, 94422118866392, 140041922252832}}}} [11:57:50.695] send_ready_for_query = false [11:57:50.695] idle_in_transaction_timeout_enabled = false [11:57:50.695] idle_session_timeout_enabled = false [11:57:50.695] __func__ = "PostgresMain" [11:57:50.695] #31 0x000055e05c587c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55e06f78b7a0, username=0x55e06f75aa60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:50.695] dbname = 0x55e06f7ce190 "template1" [11:57:50.695] __func__ = "PostgresSingleUserMain" [11:57:50.695] #32 0x000055e05c265e97 in main (argc=12, argv=0x55e06f78b7a0) at ../src/backend/main/main.c:226 [11:57:50.695] do_check_root = [11:57:50.695] dispatch_option = [11:57:50.725] -e [11:57:50.725] [11:57:50.725] [11:57:50.788] dumping /tmp/cores/postgres-6-29969.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:51.040] [New LWP 29969] [11:57:51.040] [11:57:51.040] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:51.040] [11:57:51.040] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:51.040] Debuginfod has been disabled. [11:57:51.040] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:51.142] [Thread debugging using libthread_db enabled] [11:57:51.142] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:51.142] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:51.142] Program terminated with signal SIGABRT, Aborted. [11:57:51.142] #0 0x00007f4a09aa9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:52.125] [11:57:52.125] Thread 1 (Thread 0x7f4a07623f00 (LWP 29969)): [11:57:52.125] #0 0x00007f4a09aa9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:52.125] No symbol table info available. [11:57:52.125] #1 0x00007f4a09a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:52.125] No symbol table info available. [11:57:52.125] #2 0x00007f4a09a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:52.125] No symbol table info available. [11:57:52.125] #3 0x00007f4a09c1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:52.125] No locals. [11:57:52.125] #4 0x00007f4a09c2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:52.125] No locals. [11:57:52.125] #5 0x00007f4a09c0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x564a4c759440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:52.125] bp = 140729753942496 [11:57:52.125] pc = [11:57:52.125] Opts = {FromUnrecoverableHandler = true, pc = 94877098937765, bp = 194} [11:57:52.125] #6 0x0000564a4bc78da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:52.125] crc0 = [11:57:52.125] len = [11:57:52.125] buf = [11:57:52.125] #7 0x0000564a4bc78e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:52.125] p = [11:57:52.125] pend = [11:57:52.125] orig_crc = [11:57:52.125] orig_len = [11:57:52.125] #8 0x0000564a4b354ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:52.125] No locals. [11:57:52.125] #9 0x0000564a4b355f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffe32fe3ad8, num_fpi=num_fpi@entry=0x7ffe32fe3acc, topxid_included=0x7ffe32fe3acb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:52.125] rdt = 0x564a61ad16c0 [11:57:52.125] total_len = 194 [11:57:52.125] block_id = 1 [11:57:52.125] rdata_crc = [11:57:52.125] prev_regbuf = 0x564a61ad35d8 [11:57:52.125] rdt_datas_last = 0x564a61ad1690 [11:57:52.125] rechdr = 0x564a61ad18a0 [11:57:52.125] scratch = 0x564a61ad18ce "" [11:57:52.125] __func__ = "XLogRecordAssemble" [11:57:52.125] #10 0x0000564a4b356f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:52.125] RedoRecPtr = 17604224 [11:57:52.125] doPageWrites = true [11:57:52.125] topxid_included = false [11:57:52.125] fpw_lsn = 0 [11:57:52.125] rdt = [11:57:52.125] num_fpi = 0 [11:57:52.125] EndPos = [11:57:52.125] __func__ = "XLogInsert" [11:57:52.125] #11 0x0000564a4b27066b in heap_insert (relation=relation@entry=0x564a61b6f5a0, tup=tup@entry=0x564a61c60710, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:52.125] recptr = [11:57:52.125] info = 128 '\200' [11:57:52.125] bufflags = 6 [11:57:52.125] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:52.125] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:52.125] page = 0x7f49fe82d000 "" [11:57:52.125] xid = [11:57:52.125] heaptup = 0x564a61c60710 [11:57:52.125] buffer = 97 [11:57:52.125] vmbuffer = 0 [11:57:52.125] all_visible_cleared = false [11:57:52.125] #12 0x0000564a4b271bfc in simple_heap_insert (relation=relation@entry=0x564a61b6f5a0, tup=tup@entry=0x564a61c60710) at ../src/backend/access/heap/heapam.c:2641 [11:57:52.125] No locals. [11:57:52.125] #13 0x0000564a4b3a970e in CatalogTupleInsert (heapRel=heapRel@entry=0x564a61b6f5a0, tup=0x564a61c60710) at ../src/backend/catalog/indexing.c:241 [11:57:52.125] indstate = 0x564a61c565a8 [11:57:52.125] #14 0x0000564a4b3cad93 in CreateConstraintEntry (constraintName=constraintName@entry=0x564a61c5e1d0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffe32fe3eac, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:52.125] conDesc = 0x564a61b6f5a0 [11:57:52.125] conOid = 10115 [11:57:52.125] tup = [11:57:52.125] nulls = {false , true, true, true, true, true, true, true} [11:57:52.125] values = {10115, 140729753943104, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94877467936856, 0, 0, 0, 0, 0, 0, 0} [11:57:52.125] conkeyArray = 0x564a61c60858 [11:57:52.125] confkeyArray = 0x0 [11:57:52.125] conpfeqopArray = 0x0 [11:57:52.125] conppeqopArray = 0x0 [11:57:52.125] conffeqopArray = 0x0 [11:57:52.125] conexclopArray = 0x0 [11:57:52.125] confdelsetcolsArray = [11:57:52.125] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:52.125] i = [11:57:52.125] conobject = {classId = 32766, objectId = 1638789712, objectSubId = 22090} [11:57:52.125] addrs_auto = [11:57:52.125] addrs_normal = [11:57:52.125] #15 0x0000564a4b39344e in StoreRelNotNull (rel=rel@entry=0x564a61b23a28, nnname=nnname@entry=0x564a61c5e1d0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:52.125] constrOid = [11:57:52.125] #16 0x0000564a4b39b556 in AddRelationNewConstraints (rel=rel@entry=0x564a61b23a28, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x564a61c5d8c0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:52.125] nncooked = [11:57:52.125] colnum = 1 [11:57:52.125] inhcount = 0 [11:57:52.125] nnname = 0x564a61c5e1d0 "pg_proc_oid_not_null" [11:57:52.125] constrOid = [11:57:52.125] cdef__state = [11:57:52.125] cdef = 0x564a61c5be60 [11:57:52.125] cdef__outerloop = [11:57:52.125] cookedConstraints = 0x0 [11:57:52.125] tupleDesc = [11:57:52.125] oldconstr = [11:57:52.125] numoldchecks = [11:57:52.125] pstate = 0x564a61c5c238 [11:57:52.125] nsitem = [11:57:52.125] numchecks = 0 [11:57:52.125] checknames = 0x0 [11:57:52.125] nnnames = 0x564a61c60240 [11:57:52.125] expr = [11:57:52.125] cooked = [11:57:52.125] __func__ = "AddRelationNewConstraints" [11:57:52.125] #17 0x0000564a4b4c2bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffe32fe4178, tab=tab@entry=0x564a61c567b8, rel=rel@entry=0x564a61b23a28, constr=constr@entry=0x564a61c5c3f8, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:52.125] newcons = [11:57:52.125] lcon = [11:57:52.125] children = [11:57:52.125] child = [11:57:52.125] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:52.125] __func__ = "ATAddCheckNNConstraint" [11:57:52.125] #18 0x0000564a4b4c3291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffe32fe4178, tab=tab@entry=0x564a61c567b8, rel=rel@entry=0x564a61b23a28, newConstraint=0x564a61c5c3f8, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:52.125] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:52.125] __func__ = "ATExecAddConstraint" [11:57:52.125] #19 0x0000564a4b4cf51e in ATExecCmd (wqueue=wqueue@entry=0x7ffe32fe4178, tab=tab@entry=0x564a61c567b8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffe32fe4260) at ../src/backend/commands/tablecmds.c:5428 [11:57:52.125] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:52.125] rel = 0x564a61b23a28 [11:57:52.125] __func__ = "ATExecCmd" [11:57:52.125] #20 0x0000564a4b4d03b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffe32fe4178, lockmode=lockmode@entry=8, context=context@entry=0x7ffe32fe4260) at ../src/backend/commands/tablecmds.c:5294 [11:57:52.125] lcmd__state = [11:57:52.125] tab = 0x564a61c567b8 [11:57:52.125] subcmds = 0x564a61c5d7e8 [11:57:52.125] lcmd = [11:57:52.125] ltab__state = [11:57:52.125] pass = AT_PASS_COL_ATTRS [11:57:52.125] ltab = [11:57:52.125] #21 0x0000564a4b4d090d in ATController (parsetree=parsetree@entry=0x564a61c42960, rel=rel@entry=0x564a61b23a28, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffe32fe4260) at ../src/backend/commands/tablecmds.c:4849 [11:57:52.125] wqueue = 0x564a61c46e30 [11:57:52.125] lcmd = 0x0 [11:57:52.125] #22 0x0000564a4b4d09c4 in AlterTable (stmt=stmt@entry=0x564a61c42960, lockmode=lockmode@entry=8, context=context@entry=0x7ffe32fe4260) at ../src/backend/commands/tablecmds.c:4504 [11:57:52.125] rel = 0x564a61b23a28 [11:57:52.125] #23 0x0000564a4b951b4d in ProcessUtilitySlow (pstate=pstate@entry=0x564a61c46d20, pstmt=pstmt@entry=0x564a61c42a10, queryString=queryString@entry=0x564a61c41cf0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x564a4c1924a0 , qc=0x7ffe32fe4760) at ../src/backend/tcop/utility.c:1321 [11:57:52.125] atcontext = {pstmt = 0x564a61c42a10, queryString = 0x564a61c41cf0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:52.125] atstmt = 0x564a61c42960 [11:57:52.125] relid = 1255 [11:57:52.125] lockmode = 8 [11:57:52.125] cell = 0x0 [11:57:52.125] _save_exception_stack = 0x7ffe32fe4640 [11:57:52.125] _save_context_stack = 0x0 [11:57:52.125] _local_sigjmp_buf = {{__jmpbuf = {0, 3246355856881082014, 94877467814240, 0, 94877467811056, 0, 9107959631902662302, 3246263902377336478}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1, 139955804307457, 140729753944888, 4294967295, 139955966019664, 139955988025248, 139955920198464, 94877095388668, 0, 4611686018427387905, 139955918870784, 139955992097504, 332, 94877104368224, 140729753946848}}}} [11:57:52.125] _do_rethrow = false [11:57:52.125] parsetree = 0x564a61c42960 [11:57:52.125] isTopLevel = true [11:57:52.125] isCompleteQuery = true [11:57:52.125] needCleanup = false [11:57:52.125] commandCollected = false [11:57:52.125] address = {classId = 22090, objectId = 1640245600, objectSubId = 22090} [11:57:52.125] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:52.125] __func__ = "ProcessUtilitySlow" [11:57:52.125] #24 0x0000564a4b951189 in standard_ProcessUtility (pstmt=0x564a61c42a10, queryString=0x564a61c41cf0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x564a4c1924a0 , qc=0x7ffe32fe4760) at ../src/backend/tcop/utility.c:1070 [11:57:52.125] parsetree = 0x564a61c42960 [11:57:52.125] isTopLevel = true [11:57:52.125] isAtomicContext = false [11:57:52.125] pstate = 0x564a61c46d20 [11:57:52.125] readonly_flags = [11:57:52.125] __func__ = "standard_ProcessUtility" [11:57:52.125] #25 0x0000564a4b9512e4 in ProcessUtility (pstmt=pstmt@entry=0x564a61c42a10, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x564a4c1924a0 , qc=0x7ffe32fe4760) at ../src/backend/tcop/utility.c:523 [11:57:52.125] No locals. [11:57:52.125] #26 0x0000564a4b94cc09 in PortalRunUtility (portal=portal@entry=0x564a61aedb10, pstmt=pstmt@entry=0x564a61c42a10, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x564a4c1924a0 , qc=qc@entry=0x7ffe32fe4760) at ../src/backend/tcop/pquery.c:1184 [11:57:52.125] No locals. [11:57:52.125] #27 0x0000564a4b94d20d in PortalRunMulti (portal=portal@entry=0x564a61aedb10, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x564a4c1924a0 , altdest=altdest@entry=0x564a4c1924a0 , qc=qc@entry=0x7ffe32fe4760) at ../src/backend/tcop/pquery.c:1348 [11:57:52.125] pstmt = 0x564a61c42a10 [11:57:52.125] stmtlist_item__state = [11:57:52.125] active_snapshot_set = false [11:57:52.125] stmtlist_item = 0x564a61c42d98 [11:57:52.125] query_index = 0 [11:57:52.125] #28 0x0000564a4b94d78c in PortalRun (portal=portal@entry=0x564a61aedb10, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x564a4c1924a0 , altdest=altdest@entry=0x564a4c1924a0 , qc=qc@entry=0x7ffe32fe4760) at ../src/backend/tcop/pquery.c:819 [11:57:52.125] _save_exception_stack = 0x7ffe32fe4810 [11:57:52.125] _save_context_stack = 0x0 [11:57:52.125] _local_sigjmp_buf = {{__jmpbuf = {0, 3246256170734182046, 94877466417936, 94877467814360, 94877467814336, 94877467814288, 9107959631772638878, 3246263904430186142}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140729753945839, 94877467814336, 94877467814288, 94877098433599, 94877101131181, 94877466417936, 94877101556734, 1, 1, 0, 34, 94877466417936, 0, 34, 94877466417936}}}} [11:57:52.125] _do_rethrow = [11:57:52.125] result = [11:57:52.125] nprocessed = [11:57:52.125] saveTopTransactionResourceOwner = 0x564a61ae5e58 [11:57:52.125] saveTopTransactionContext = 0x564a61b47ac0 [11:57:52.125] saveActivePortal = 0x0 [11:57:52.125] saveResourceOwner = 0x564a61ae5e58 [11:57:52.125] savePortalContext = 0x0 [11:57:52.125] saveMemoryContext = 0x564a61b47ac0 [11:57:52.125] __func__ = "PortalRun" [11:57:52.125] #29 0x0000564a4b9469b2 in exec_simple_query (query_string=query_string@entry=0x564a61c41cf0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:52.125] cmdtaglen = 11 [11:57:52.125] snapshot_set = [11:57:52.125] per_parsetree_context = 0x0 [11:57:52.125] plantree_list = 0x564a61c42d80 [11:57:52.125] parsetree = 0x564a61c42990 [11:57:52.125] commandTag = [11:57:52.125] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:52.125] querytree_list = [11:57:52.125] portal = 0x564a61aedb10 [11:57:52.125] receiver = 0x564a4c1924a0 [11:57:52.125] format = 0 [11:57:52.125] cmdtagname = [11:57:52.125] parsetree_item__state = [11:57:52.125] dest = DestDebug [11:57:52.125] oldcontext = 0x564a61b47ac0 [11:57:52.125] parsetree_list = 0x564a61c429c0 [11:57:52.125] parsetree_item = 0x564a61c429d8 [11:57:52.125] save_log_statement_stats = false [11:57:52.125] was_logged = false [11:57:52.125] use_implicit_block = false [11:57:52.125] msec_str = "\340J\3762\376\177\000\000\353\260\300KJV\000\000\360G\3762\376\177\000\000D\000\000\000\000\000\000" [11:57:52.125] __func__ = "exec_simple_query" [11:57:52.125] #30 0x0000564a4b949714 in PostgresMain (dbname=, username=username@entry=0x564a61a14280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:52.125] query_string = 0x564a61c41cf0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:52.125] firstchar = [11:57:52.125] input_message = {data = 0x564a61c41cf0 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:52.125] local_sigjmp_buf = {{__jmpbuf = {94877111532536, 3246257454145068702, 94877465526912, 140729753946848, 94877104127448, 139955992092704, 9107959631839747742, 3246263906837716638}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94877465725280, 17408, 94877111526592, 94877466202256, 94877104127448, 94877098611993, 1276558808, 10, 140729753946380, 94877111532544, 94877465725280, 94877111526592, 140729753946848, 94877104127448, 139955992092704}}}} [11:57:52.125] send_ready_for_query = false [11:57:52.125] idle_in_transaction_timeout_enabled = false [11:57:52.125] idle_session_timeout_enabled = false [11:57:52.125] __func__ = "PostgresMain" [11:57:52.125] #31 0x0000564a4b949c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x564a61a448a0, username=0x564a61a14280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:52.125] dbname = 0x564a61a87620 "template1" [11:57:52.125] __func__ = "PostgresSingleUserMain" [11:57:52.125] #32 0x0000564a4b627e97 in main (argc=12, argv=0x564a61a448a0) at ../src/backend/main/main.c:226 [11:57:52.125] do_check_root = [11:57:52.125] dispatch_option = [11:57:52.156] -e [11:57:52.156] [11:57:52.156] [11:57:52.220] dumping /tmp/cores/postgres-6-32269.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:52.472] [New LWP 32269] [11:57:52.472] [11:57:52.472] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:52.472] [11:57:52.472] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:52.472] Debuginfod has been disabled. [11:57:52.472] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:52.573] [Thread debugging using libthread_db enabled] [11:57:52.573] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:52.573] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:52.573] Program terminated with signal SIGABRT, Aborted. [11:57:52.573] #0 0x00007f412a8a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:53.558] [11:57:53.558] Thread 1 (Thread 0x7f4128820f00 (LWP 32269)): [11:57:53.558] #0 0x00007f412a8a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:53.558] No symbol table info available. [11:57:53.558] #1 0x00007f412a85afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:53.558] No symbol table info available. [11:57:53.558] #2 0x00007f412a845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:53.558] No symbol table info available. [11:57:53.558] #3 0x00007f412aa1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:53.558] No locals. [11:57:53.558] #4 0x00007f412aa2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:53.558] No locals. [11:57:53.558] #5 0x00007f412aa0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55a54a2e6440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:53.558] bp = 140726986516736 [11:57:53.558] pc = [11:57:53.558] Opts = {FromUnrecoverableHandler = true, pc = 94168391114149, bp = 194} [11:57:53.558] #6 0x000055a549805da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:53.558] crc0 = [11:57:53.558] len = [11:57:53.558] buf = [11:57:53.558] #7 0x000055a549805e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:53.558] p = [11:57:53.558] pend = [11:57:53.558] orig_crc = [11:57:53.558] orig_len = [11:57:53.558] #8 0x000055a548ee1ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:53.558] No locals. [11:57:53.558] #9 0x000055a548ee2f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffd8e0aa9f8, num_fpi=num_fpi@entry=0x7ffd8e0aa9ec, topxid_included=0x7ffd8e0aa9eb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:53.558] rdt = 0x55a55b6f95c0 [11:57:53.558] total_len = 194 [11:57:53.558] block_id = 1 [11:57:53.558] rdata_crc = [11:57:53.558] prev_regbuf = 0x55a55b6fb4d8 [11:57:53.558] rdt_datas_last = 0x55a55b6f9590 [11:57:53.558] rechdr = 0x55a55b6f97a0 [11:57:53.558] scratch = 0x55a55b6f97ce "" [11:57:53.558] __func__ = "XLogRecordAssemble" [11:57:53.558] #10 0x000055a548ee3f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:53.558] RedoRecPtr = 17604224 [11:57:53.558] doPageWrites = true [11:57:53.558] topxid_included = false [11:57:53.558] fpw_lsn = 0 [11:57:53.558] rdt = [11:57:53.558] num_fpi = 0 [11:57:53.558] EndPos = [11:57:53.558] __func__ = "XLogInsert" [11:57:53.558] #11 0x000055a548dfd66b in heap_insert (relation=relation@entry=0x55a55b7974a0, tup=tup@entry=0x55a55b88be20, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:53.558] recptr = [11:57:53.558] info = 128 '\200' [11:57:53.558] bufflags = 6 [11:57:53.558] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:53.558] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:53.558] page = 0x7f411f703000 "" [11:57:53.558] xid = [11:57:53.558] heaptup = 0x55a55b88be20 [11:57:53.558] buffer = 97 [11:57:53.558] vmbuffer = 0 [11:57:53.558] all_visible_cleared = false [11:57:53.558] #12 0x000055a548dfebfc in simple_heap_insert (relation=relation@entry=0x55a55b7974a0, tup=tup@entry=0x55a55b88be20) at ../src/backend/access/heap/heapam.c:2641 [11:57:53.558] No locals. [11:57:53.558] #13 0x000055a548f3670e in CatalogTupleInsert (heapRel=heapRel@entry=0x55a55b7974a0, tup=0x55a55b88be20) at ../src/backend/catalog/indexing.c:241 [11:57:53.558] indstate = 0x55a55b8834d8 [11:57:53.558] #14 0x000055a548f57d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55a55b892ec0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffd8e0aadcc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:53.558] conDesc = 0x55a55b7974a0 [11:57:53.558] conOid = 10115 [11:57:53.558] tup = [11:57:53.558] nulls = {false , true, true, true, true, true, true, true} [11:57:53.558] values = {10115, 140726986517344, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94168693653352, 0, 0, 0, 0, 0, 0, 0} [11:57:53.558] conkeyArray = 0x55a55b88bf68 [11:57:53.558] confkeyArray = 0x0 [11:57:53.558] conpfeqopArray = 0x0 [11:57:53.558] conppeqopArray = 0x0 [11:57:53.558] conffeqopArray = 0x0 [11:57:53.558] conexclopArray = 0x0 [11:57:53.558] confdelsetcolsArray = [11:57:53.558] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:53.558] i = [11:57:53.558] conobject = {classId = 32765, objectId = 1534095696, objectSubId = 21925} [11:57:53.558] addrs_auto = [11:57:53.558] addrs_normal = [11:57:53.558] #15 0x000055a548f2044e in StoreRelNotNull (rel=rel@entry=0x55a55b74b928, nnname=nnname@entry=0x55a55b892ec0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:53.558] constrOid = [11:57:53.558] #16 0x000055a548f28556 in AddRelationNewConstraints (rel=rel@entry=0x55a55b74b928, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55a55b8925b0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:53.558] nncooked = [11:57:53.558] colnum = 1 [11:57:53.558] inhcount = 0 [11:57:53.558] nnname = 0x55a55b892ec0 "pg_proc_oid_not_null" [11:57:53.558] constrOid = [11:57:53.558] cdef__state = [11:57:53.558] cdef = 0x55a55b8899b0 [11:57:53.558] cdef__outerloop = [11:57:53.558] cookedConstraints = 0x0 [11:57:53.558] tupleDesc = [11:57:53.558] oldconstr = [11:57:53.558] numoldchecks = [11:57:53.558] pstate = 0x55a55b890f28 [11:57:53.558] nsitem = [11:57:53.558] numchecks = 0 [11:57:53.558] checknames = 0x0 [11:57:53.558] nnnames = 0x55a55b88b950 [11:57:53.558] expr = [11:57:53.558] cooked = [11:57:53.558] __func__ = "AddRelationNewConstraints" [11:57:53.558] #17 0x000055a54904fbae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffd8e0ab098, tab=tab@entry=0x55a55b8836e8, rel=rel@entry=0x55a55b74b928, constr=constr@entry=0x55a55b8910e8, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:53.558] newcons = [11:57:53.558] lcon = [11:57:53.558] children = [11:57:53.558] child = [11:57:53.558] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:53.558] __func__ = "ATAddCheckNNConstraint" [11:57:53.558] #18 0x000055a549050291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffd8e0ab098, tab=tab@entry=0x55a55b8836e8, rel=rel@entry=0x55a55b74b928, newConstraint=0x55a55b8910e8, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:53.558] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:53.558] __func__ = "ATExecAddConstraint" [11:57:53.558] #19 0x000055a54905c51e in ATExecCmd (wqueue=wqueue@entry=0x7ffd8e0ab098, tab=tab@entry=0x55a55b8836e8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffd8e0ab180) at ../src/backend/commands/tablecmds.c:5428 [11:57:53.558] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:53.558] rel = 0x55a55b74b928 [11:57:53.558] __func__ = "ATExecCmd" [11:57:53.558] #20 0x000055a54905d3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffd8e0ab098, lockmode=lockmode@entry=8, context=context@entry=0x7ffd8e0ab180) at ../src/backend/commands/tablecmds.c:5294 [11:57:53.558] lcmd__state = [11:57:53.558] tab = 0x55a55b8836e8 [11:57:53.558] subcmds = 0x55a55b8924d8 [11:57:53.558] lcmd = [11:57:53.558] ltab__state = [11:57:53.558] pass = AT_PASS_COL_ATTRS [11:57:53.558] ltab = [11:57:53.558] #21 0x000055a54905d90d in ATController (parsetree=parsetree@entry=0x55a55b870780, rel=rel@entry=0x55a55b74b928, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffd8e0ab180) at ../src/backend/commands/tablecmds.c:4849 [11:57:53.558] wqueue = 0x55a55b86bca0 [11:57:53.558] lcmd = 0x0 [11:57:53.558] #22 0x000055a54905d9c4 in AlterTable (stmt=stmt@entry=0x55a55b870780, lockmode=lockmode@entry=8, context=context@entry=0x7ffd8e0ab180) at ../src/backend/commands/tablecmds.c:4504 [11:57:53.558] rel = 0x55a55b74b928 [11:57:53.558] #23 0x000055a5494deb4d in ProcessUtilitySlow (pstate=pstate@entry=0x55a55b86bb90, pstmt=pstmt@entry=0x55a55b870830, queryString=queryString@entry=0x55a55b86fb10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55a549d1f4a0 , qc=0x7ffd8e0ab680) at ../src/backend/tcop/utility.c:1321 [11:57:53.558] atcontext = {pstmt = 0x55a55b870830, queryString = 0x55a55b86fb10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:53.558] atstmt = 0x55a55b870780 [11:57:53.558] relid = 1255 [11:57:53.558] lockmode = 8 [11:57:53.558] cell = 0x0 [11:57:53.558] _save_exception_stack = 0x7ffd8e0ab560 [11:57:53.558] _save_context_stack = 0x0 [11:57:53.558] _local_sigjmp_buf = {{__jmpbuf = {0, -8822131038641569299, 94168693540736, 0, 94168693537552, 0, -3377464885983952403, -8822170027677826579}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 139917862864976, 139917885091744, 139917818054336, 94168384310431, 94168403628832, 94167157964801, 139917817920320, 139917890011872, 332, 94168396544608, 140726986521088, 94168396303832, 139917890007072, 139917889867454, 1}}}} [11:57:53.558] _do_rethrow = false [11:57:53.558] parsetree = 0x55a55b870780 [11:57:53.558] isTopLevel = true [11:57:53.558] isCompleteQuery = true [11:57:53.558] needCleanup = false [11:57:53.558] commandCollected = false [11:57:53.558] address = {classId = 21925, objectId = 1535575936, objectSubId = 21925} [11:57:53.558] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:53.558] __func__ = "ProcessUtilitySlow" [11:57:53.558] #24 0x000055a5494de189 in standard_ProcessUtility (pstmt=0x55a55b870830, queryString=0x55a55b86fb10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55a549d1f4a0 , qc=0x7ffd8e0ab680) at ../src/backend/tcop/utility.c:1070 [11:57:53.558] parsetree = 0x55a55b870780 [11:57:53.558] isTopLevel = true [11:57:53.558] isAtomicContext = false [11:57:53.558] pstate = 0x55a55b86bb90 [11:57:53.558] readonly_flags = [11:57:53.558] __func__ = "standard_ProcessUtility" [11:57:53.558] #25 0x000055a5494de2e4 in ProcessUtility (pstmt=pstmt@entry=0x55a55b870830, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55a549d1f4a0 , qc=0x7ffd8e0ab680) at ../src/backend/tcop/utility.c:523 [11:57:53.558] No locals. [11:57:53.558] #26 0x000055a5494d9c09 in PortalRunUtility (portal=portal@entry=0x55a55b715a10, pstmt=pstmt@entry=0x55a55b870830, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a549d1f4a0 , qc=qc@entry=0x7ffd8e0ab680) at ../src/backend/tcop/pquery.c:1184 [11:57:53.558] No locals. [11:57:53.558] #27 0x000055a5494da20d in PortalRunMulti (portal=portal@entry=0x55a55b715a10, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a549d1f4a0 , altdest=altdest@entry=0x55a549d1f4a0 , qc=qc@entry=0x7ffd8e0ab680) at ../src/backend/tcop/pquery.c:1348 [11:57:53.558] pstmt = 0x55a55b870830 [11:57:53.558] stmtlist_item__state = [11:57:53.558] active_snapshot_set = false [11:57:53.558] stmtlist_item = 0x55a55b870bb8 [11:57:53.558] query_index = 0 [11:57:53.558] #28 0x000055a5494da78c in PortalRun (portal=portal@entry=0x55a55b715a10, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55a549d1f4a0 , altdest=altdest@entry=0x55a549d1f4a0 , qc=qc@entry=0x7ffd8e0ab680) at ../src/backend/tcop/pquery.c:819 [11:57:53.559] _save_exception_stack = 0x7ffd8e0ab730 [11:57:53.559] _save_context_stack = 0x0 [11:57:53.559] _local_sigjmp_buf = {{__jmpbuf = {0, -8822171092313292307, 94168692120080, 94168693540856, 94168693540832, 94168693540784, -3377464886105587219, -8822170025620258323}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140726986520079, 94168693540832, 94168693540784, 94168390609983, 94168393307565, 94168692120080, 94168393733118, 1, 1, 0, 34, 94168692120080, 0, 34, 94168692120080}}}} [11:57:53.559] _do_rethrow = [11:57:53.559] result = [11:57:53.559] nprocessed = [11:57:53.559] saveTopTransactionResourceOwner = 0x55a55b70dd58 [11:57:53.559] saveTopTransactionContext = 0x55a55b76f9c0 [11:57:53.559] saveActivePortal = 0x0 [11:57:53.559] saveResourceOwner = 0x55a55b70dd58 [11:57:53.559] savePortalContext = 0x0 [11:57:53.559] saveMemoryContext = 0x55a55b76f9c0 [11:57:53.559] __func__ = "PortalRun" [11:57:53.559] #29 0x000055a5494d39b2 in exec_simple_query (query_string=query_string@entry=0x55a55b86fb10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:53.559] cmdtaglen = 11 [11:57:53.559] snapshot_set = [11:57:53.559] per_parsetree_context = 0x0 [11:57:53.559] plantree_list = 0x55a55b870ba0 [11:57:53.559] parsetree = 0x55a55b8707b0 [11:57:53.559] commandTag = [11:57:53.559] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:53.559] querytree_list = [11:57:53.559] portal = 0x55a55b715a10 [11:57:53.559] receiver = 0x55a549d1f4a0 [11:57:53.559] format = 0 [11:57:53.559] cmdtagname = [11:57:53.559] parsetree_item__state = [11:57:53.559] dest = DestDebug [11:57:53.559] oldcontext = 0x55a55b76f9c0 [11:57:53.559] parsetree_list = 0x55a55b8707e0 [11:57:53.559] parsetree_item = 0x55a55b8707f8 [11:57:53.559] save_log_statement_stats = false [11:57:53.559] was_logged = false [11:57:53.559] use_implicit_block = false [11:57:53.559] msec_str = "\000\272\n\216\375\177\000\000\353\200yI\245U\000\000\020\267\n\216\375\177\000\000D\000\000\000\000\000\000" [11:57:53.559] __func__ = "exec_simple_query" [11:57:53.559] #30 0x000055a5494d6714 in PostgresMain (dbname=, username=username@entry=0x55a55b63ba60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:53.559] query_string = 0x55a55b86fb10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:53.559] firstchar = [11:57:53.559] input_message = {data = 0x55a55b86fb10 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:53.559] local_sigjmp_buf = {{__jmpbuf = {94168403708920, -8822167936841924115, 94168691227232, 140726986521088, 94168396303832, 139917890007072, -3377464886172696083, -8822170021602115091}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94168691427552, 17408, 94168403702976, 94168691904400, 94168396303832, 94168390788377, 1238339032, 10, 140726986520620, 94168403708928, 94168691427552, 94168403702976, 140726986521088, 94168396303832, 139917890007072}}}} [11:57:53.559] send_ready_for_query = false [11:57:53.559] idle_in_transaction_timeout_enabled = false [11:57:53.559] idle_session_timeout_enabled = false [11:57:53.559] __func__ = "PostgresMain" [11:57:53.559] #31 0x000055a5494d6c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55a55b66c820, username=0x55a55b63ba60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:53.559] dbname = 0x55a55b6af5b0 "template1" [11:57:53.559] __func__ = "PostgresSingleUserMain" [11:57:53.559] #32 0x000055a5491b4e97 in main (argc=12, argv=0x55a55b66c820) at ../src/backend/main/main.c:226 [11:57:53.559] do_check_root = [11:57:53.559] dispatch_option = [11:57:53.590] -e [11:57:53.590] [11:57:53.590] [11:57:53.653] dumping /tmp/cores/postgres-6-33232.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:53.924] [New LWP 33232] [11:57:53.924] [11:57:53.924] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:53.924] [11:57:53.924] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:53.924] Debuginfod has been disabled. [11:57:53.924] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:54.026] [Thread debugging using libthread_db enabled] [11:57:54.026] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:54.026] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:54.026] Program terminated with signal SIGABRT, Aborted. [11:57:54.026] #0 0x00007fd0dd8a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:55.006] [11:57:55.006] Thread 1 (Thread 0x7fd0de687f00 (LWP 33232)): [11:57:55.006] #0 0x00007fd0dd8a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:55.006] No symbol table info available. [11:57:55.006] #1 0x00007fd0dd85afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:55.006] No symbol table info available. [11:57:55.006] #2 0x00007fd0dd845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:55.006] No symbol table info available. [11:57:55.006] #3 0x00007fd0dda1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:55.006] No locals. [11:57:55.006] #4 0x00007fd0dda2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:55.006] No locals. [11:57:55.006] #5 0x00007fd0dda0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x562270926440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:55.006] bp = 140733599680480 [11:57:55.006] pc = [11:57:55.006] Opts = {FromUnrecoverableHandler = true, pc = 94705906113957, bp = 194} [11:57:55.006] #6 0x000056226fe45da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:55.006] crc0 = [11:57:55.006] len = [11:57:55.006] buf = [11:57:55.006] #7 0x000056226fe45e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:55.006] p = [11:57:55.006] pend = [11:57:55.006] orig_crc = [11:57:55.006] orig_len = [11:57:55.006] #8 0x000056226f521ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:55.006] No locals. [11:57:55.006] #9 0x000056226f522f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7fff183788d8, num_fpi=num_fpi@entry=0x7fff183788cc, topxid_included=0x7fff183788cb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:55.006] rdt = 0x562288a2c210 [11:57:55.006] total_len = 194 [11:57:55.006] block_id = 1 [11:57:55.006] rdata_crc = [11:57:55.006] prev_regbuf = 0x562288a2e128 [11:57:55.006] rdt_datas_last = 0x562288a2c1e0 [11:57:55.006] rechdr = 0x562288a2c3f0 [11:57:55.006] scratch = 0x562288a2c41e "" [11:57:55.006] __func__ = "XLogRecordAssemble" [11:57:55.006] #10 0x000056226f523f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:55.006] RedoRecPtr = 17604224 [11:57:55.006] doPageWrites = true [11:57:55.006] topxid_included = false [11:57:55.006] fpw_lsn = 0 [11:57:55.006] rdt = [11:57:55.006] num_fpi = 0 [11:57:55.006] EndPos = [11:57:55.006] __func__ = "XLogInsert" [11:57:55.006] #11 0x000056226f43d66b in heap_insert (relation=relation@entry=0x562288aca0f0, tup=tup@entry=0x562288bbb260, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:55.006] recptr = [11:57:55.006] info = 128 '\200' [11:57:55.006] bufflags = 6 [11:57:55.006] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:55.006] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:55.006] page = 0x7fd0d25ef000 "" [11:57:55.006] xid = [11:57:55.006] heaptup = 0x562288bbb260 [11:57:55.006] buffer = 97 [11:57:55.006] vmbuffer = 0 [11:57:55.006] all_visible_cleared = false [11:57:55.006] #12 0x000056226f43ebfc in simple_heap_insert (relation=relation@entry=0x562288aca0f0, tup=tup@entry=0x562288bbb260) at ../src/backend/access/heap/heapam.c:2641 [11:57:55.006] No locals. [11:57:55.006] #13 0x000056226f57670e in CatalogTupleInsert (heapRel=heapRel@entry=0x562288aca0f0, tup=0x562288bbb260) at ../src/backend/catalog/indexing.c:241 [11:57:55.006] indstate = 0x562288bb10f8 [11:57:55.006] #14 0x000056226f597d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x562288bb8d20 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7fff18378cac, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:55.006] conDesc = 0x562288aca0f0 [11:57:55.006] conOid = 10115 [11:57:55.006] tup = [11:57:55.006] nulls = {false , true, true, true, true, true, true, true} [11:57:55.006] values = {10115, 140733599681088, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94706322879400, 0, 0, 0, 0, 0, 0, 0} [11:57:55.006] conkeyArray = 0x562288bbb3a8 [11:57:55.006] confkeyArray = 0x0 [11:57:55.006] conpfeqopArray = 0x0 [11:57:55.006] conppeqopArray = 0x0 [11:57:55.006] conffeqopArray = 0x0 [11:57:55.006] conexclopArray = 0x0 [11:57:55.006] confdelsetcolsArray = [11:57:55.006] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:55.006] i = [11:57:55.006] conobject = {classId = 32767, objectId = 2292424096, objectSubId = 22050} [11:57:55.006] addrs_auto = [11:57:55.006] addrs_normal = [11:57:55.006] #15 0x000056226f56044e in StoreRelNotNull (rel=rel@entry=0x562288a7e578, nnname=nnname@entry=0x562288bb8d20 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:55.006] constrOid = [11:57:55.006] #16 0x000056226f568556 in AddRelationNewConstraints (rel=rel@entry=0x562288a7e578, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x562288bb8410, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:55.006] nncooked = [11:57:55.006] colnum = 1 [11:57:55.006] inhcount = 0 [11:57:55.006] nnname = 0x562288bb8d20 "pg_proc_oid_not_null" [11:57:55.006] constrOid = [11:57:55.006] cdef__state = [11:57:55.006] cdef = 0x562288bb69b0 [11:57:55.006] cdef__outerloop = [11:57:55.006] cookedConstraints = 0x0 [11:57:55.006] tupleDesc = [11:57:55.006] oldconstr = [11:57:55.006] numoldchecks = [11:57:55.006] pstate = 0x562288bb6d88 [11:57:55.006] nsitem = [11:57:55.006] numchecks = 0 [11:57:55.006] checknames = 0x0 [11:57:55.006] nnnames = 0x562288bbad90 [11:57:55.006] expr = [11:57:55.006] cooked = [11:57:55.006] __func__ = "AddRelationNewConstraints" [11:57:55.006] #17 0x000056226f68fbae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7fff18378f78, tab=tab@entry=0x562288bb1308, rel=rel@entry=0x562288a7e578, constr=constr@entry=0x562288bb6f48, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:55.006] newcons = [11:57:55.006] lcon = [11:57:55.006] children = [11:57:55.006] child = [11:57:55.006] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:55.006] __func__ = "ATAddCheckNNConstraint" [11:57:55.006] #18 0x000056226f690291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7fff18378f78, tab=tab@entry=0x562288bb1308, rel=rel@entry=0x562288a7e578, newConstraint=0x562288bb6f48, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:55.006] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:55.006] __func__ = "ATExecAddConstraint" [11:57:55.006] #19 0x000056226f69c51e in ATExecCmd (wqueue=wqueue@entry=0x7fff18378f78, tab=tab@entry=0x562288bb1308, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7fff18379060) at ../src/backend/commands/tablecmds.c:5428 [11:57:55.006] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:55.006] rel = 0x562288a7e578 [11:57:55.006] __func__ = "ATExecCmd" [11:57:55.006] #20 0x000056226f69d3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7fff18378f78, lockmode=lockmode@entry=8, context=context@entry=0x7fff18379060) at ../src/backend/commands/tablecmds.c:5294 [11:57:55.006] lcmd__state = [11:57:55.006] tab = 0x562288bb1308 [11:57:55.006] subcmds = 0x562288bb8338 [11:57:55.006] lcmd = [11:57:55.006] ltab__state = [11:57:55.006] pass = AT_PASS_COL_ATTRS [11:57:55.006] ltab = [11:57:55.006] #21 0x000056226f69d90d in ATController (parsetree=parsetree@entry=0x562288b9d4b0, rel=rel@entry=0x562288a7e578, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7fff18379060) at ../src/backend/commands/tablecmds.c:4849 [11:57:55.006] wqueue = 0x562288ba1980 [11:57:55.006] lcmd = 0x0 [11:57:55.006] #22 0x000056226f69d9c4 in AlterTable (stmt=stmt@entry=0x562288b9d4b0, lockmode=lockmode@entry=8, context=context@entry=0x7fff18379060) at ../src/backend/commands/tablecmds.c:4504 [11:57:55.006] rel = 0x562288a7e578 [11:57:55.006] #23 0x000056226fb1eb4d in ProcessUtilitySlow (pstate=pstate@entry=0x562288ba1870, pstmt=pstmt@entry=0x562288b9d560, queryString=queryString@entry=0x562288b9c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x56227035f4a0 , qc=0x7fff18379560) at ../src/backend/tcop/utility.c:1321 [11:57:55.006] atcontext = {pstmt = 0x562288b9d560, queryString = 0x562288b9c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:55.006] atstmt = 0x562288b9d4b0 [11:57:55.006] relid = 1255 [11:57:55.006] lockmode = 8 [11:57:55.006] cell = 0x0 [11:57:55.006] _save_exception_stack = 0x7fff18379440 [11:57:55.006] _save_context_stack = 0x0 [11:57:55.006] _local_sigjmp_buf = {{__jmpbuf = {0, -9000768496709767046, 94706322756784, 0, 94706322753600, 0, -3409794871937568646, -9000700394144370566}, __mask_was_saved = 0, __saved_mask = {__val = {0, 1, 140531329925121, 140733599682872, 4294967295, 140535046309968, 140535068393376, 140535000234816, 94705902564860, 0, 4611686018427387905, 140534998907136, 140535072232160, 332, 94705911544416, 140733599684832}}}} [11:57:55.006] _do_rethrow = false [11:57:55.006] parsetree = 0x562288b9d4b0 [11:57:55.006] isTopLevel = true [11:57:55.006] isCompleteQuery = true [11:57:55.006] needCleanup = false [11:57:55.006] commandCollected = false [11:57:55.006] address = {classId = 22050, objectId = 2293879984, objectSubId = 22050} [11:57:55.006] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:55.006] __func__ = "ProcessUtilitySlow" [11:57:55.006] #24 0x000056226fb1e189 in standard_ProcessUtility (pstmt=0x562288b9d560, queryString=0x562288b9c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x56227035f4a0 , qc=0x7fff18379560) at ../src/backend/tcop/utility.c:1070 [11:57:55.006] parsetree = 0x562288b9d4b0 [11:57:55.006] isTopLevel = true [11:57:55.006] isAtomicContext = false [11:57:55.006] pstate = 0x562288ba1870 [11:57:55.006] readonly_flags = [11:57:55.006] __func__ = "standard_ProcessUtility" [11:57:55.006] #25 0x000056226fb1e2e4 in ProcessUtility (pstmt=pstmt@entry=0x562288b9d560, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x56227035f4a0 , qc=0x7fff18379560) at ../src/backend/tcop/utility.c:523 [11:57:55.006] No locals. [11:57:55.006] #26 0x000056226fb19c09 in PortalRunUtility (portal=portal@entry=0x562288a48660, pstmt=pstmt@entry=0x562288b9d560, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56227035f4a0 , qc=qc@entry=0x7fff18379560) at ../src/backend/tcop/pquery.c:1184 [11:57:55.006] No locals. [11:57:55.006] #27 0x000056226fb1a20d in PortalRunMulti (portal=portal@entry=0x562288a48660, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x56227035f4a0 , altdest=altdest@entry=0x56227035f4a0 , qc=qc@entry=0x7fff18379560) at ../src/backend/tcop/pquery.c:1348 [11:57:55.006] pstmt = 0x562288b9d560 [11:57:55.006] stmtlist_item__state = [11:57:55.006] active_snapshot_set = false [11:57:55.006] stmtlist_item = 0x562288b9d8e8 [11:57:55.006] query_index = 0 [11:57:55.006] #28 0x000056226fb1a78c in PortalRun (portal=portal@entry=0x562288a48660, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x56227035f4a0 , altdest=altdest@entry=0x56227035f4a0 , qc=qc@entry=0x7fff18379560) at ../src/backend/tcop/pquery.c:819 [11:57:55.006] _save_exception_stack = 0x7fff18379610 [11:57:55.006] _save_context_stack = 0x0 [11:57:55.006] _local_sigjmp_buf = {{__jmpbuf = {0, -9000679538214670214, 94706321360480, 94706322756904, 94706322756880, 94706322756832, -3409794872872898438, -9000700396118052742}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140733599683823, 94706322756880, 94706322756832, 94705905609791, 94705908307373, 94706321360480, 94705908732926, 1, 1, 0, 34, 94706321360480, 0, 34, 94706321360480}}}} [11:57:55.006] _do_rethrow = [11:57:55.006] result = [11:57:55.006] nprocessed = [11:57:55.006] saveTopTransactionResourceOwner = 0x562288a409a8 [11:57:55.006] saveTopTransactionContext = 0x562288aa2610 [11:57:55.006] saveActivePortal = 0x0 [11:57:55.006] saveResourceOwner = 0x562288a409a8 [11:57:55.006] savePortalContext = 0x0 [11:57:55.006] saveMemoryContext = 0x562288aa2610 [11:57:55.006] __func__ = "PortalRun" [11:57:55.006] #29 0x000056226fb139b2 in exec_simple_query (query_string=query_string@entry=0x562288b9c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:55.006] cmdtaglen = 11 [11:57:55.006] snapshot_set = [11:57:55.006] per_parsetree_context = 0x0 [11:57:55.006] plantree_list = 0x562288b9d8d0 [11:57:55.006] parsetree = 0x562288b9d4e0 [11:57:55.006] commandTag = [11:57:55.006] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:55.006] querytree_list = [11:57:55.006] portal = 0x562288a48660 [11:57:55.006] receiver = 0x56227035f4a0 [11:57:55.006] format = 0 [11:57:55.006] cmdtagname = [11:57:55.006] parsetree_item__state = [11:57:55.006] dest = DestDebug [11:57:55.006] oldcontext = 0x562288aa2610 [11:57:55.006] parsetree_list = 0x562288b9d510 [11:57:55.006] parsetree_item = 0x562288b9d528 [11:57:55.006] save_log_statement_stats = false [11:57:55.006] was_logged = false [11:57:55.006] use_implicit_block = false [11:57:55.006] msec_str = "\340\2307\030\377\177\000\000\353\200\335o\"V\000\000\360\2257\030\377\177\000\000D\000\000\000\000\000\000" [11:57:55.006] __func__ = "exec_simple_query" [11:57:55.006] #30 0x000056226fb16714 in PostgresMain (dbname=, username=username@entry=0x56228896ea60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:55.006] query_string = 0x562288b9c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:55.006] firstchar = [11:57:55.006] input_message = {data = 0x562288b9c840 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:55.006] local_sigjmp_buf = {{__jmpbuf = {94705918708728, -9000680769003818886, 94706320468576, 140733599684832, 94705911303640, 140535072227360, -3409794872805789574, -9000700399616102278}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94706320668784, 17408, 94705918702784, 94706321144800, 94705911303640, 94705905788185, 1882426840, 10, 140733599684364, 94705918708736, 94706320668784, 94705918702784, 140733599684832, 94705911303640, 140535072227360}}}} [11:57:55.006] send_ready_for_query = false [11:57:55.006] idle_in_transaction_timeout_enabled = false [11:57:55.006] idle_session_timeout_enabled = false [11:57:55.006] __func__ = "PostgresMain" [11:57:55.006] #31 0x000056226fb16c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x56228899f7b0, username=0x56228896ea60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:55.006] dbname = 0x5622889e21a0 "template1" [11:57:55.006] __func__ = "PostgresSingleUserMain" [11:57:55.006] #32 0x000056226f7f4e97 in main (argc=12, argv=0x56228899f7b0) at ../src/backend/main/main.c:226 [11:57:55.006] do_check_root = [11:57:55.006] dispatch_option = [11:57:55.037] -e [11:57:55.037] [11:57:55.037] [11:57:55.099] dumping /tmp/cores/postgres-6-34389.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:55.352] [New LWP 34389] [11:57:55.352] [11:57:55.352] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:55.352] [11:57:55.352] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:55.352] Debuginfod has been disabled. [11:57:55.352] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:55.454] [Thread debugging using libthread_db enabled] [11:57:55.454] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:55.454] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:55.454] Program terminated with signal SIGABRT, Aborted. [11:57:55.454] #0 0x00007f18e32a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:56.435] [11:57:56.435] Thread 1 (Thread 0x7f18e31def00 (LWP 34389)): [11:57:56.435] #0 0x00007f18e32a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:56.435] No symbol table info available. [11:57:56.435] #1 0x00007f18e325afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:56.435] No symbol table info available. [11:57:56.435] #2 0x00007f18e3245472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:56.435] No symbol table info available. [11:57:56.435] #3 0x00007f18e341e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:56.435] No locals. [11:57:56.435] #4 0x00007f18e342aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:56.435] No locals. [11:57:56.435] #5 0x00007f18e340d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55d511053440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:56.435] bp = 140725017160960 [11:57:56.435] pc = [11:57:56.435] Opts = {FromUnrecoverableHandler = true, pc = 94373590543781, bp = 194} [11:57:56.435] #6 0x000055d510572da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:56.435] crc0 = [11:57:56.435] len = [11:57:56.435] buf = [11:57:56.435] #7 0x000055d510572e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:56.435] p = [11:57:56.435] pend = [11:57:56.435] orig_crc = [11:57:56.435] orig_len = [11:57:56.435] #8 0x000055d50fc4eef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:56.435] No locals. [11:57:56.435] #9 0x000055d50fc4ff85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffd18a8adf8, num_fpi=num_fpi@entry=0x7ffd18a8adec, topxid_included=0x7ffd18a8adeb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:56.435] rdt = 0x55d54068e5d0 [11:57:56.435] total_len = 194 [11:57:56.435] block_id = 1 [11:57:56.435] rdata_crc = [11:57:56.435] prev_regbuf = 0x55d5406904e8 [11:57:56.435] rdt_datas_last = 0x55d54068e5a0 [11:57:56.435] rechdr = 0x55d54068e7b0 [11:57:56.435] scratch = 0x55d54068e7de "" [11:57:56.435] __func__ = "XLogRecordAssemble" [11:57:56.435] #10 0x000055d50fc50f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:56.435] RedoRecPtr = 17604224 [11:57:56.435] doPageWrites = true [11:57:56.435] topxid_included = false [11:57:56.435] fpw_lsn = 0 [11:57:56.435] rdt = [11:57:56.435] num_fpi = 0 [11:57:56.435] EndPos = [11:57:56.435] __func__ = "XLogInsert" [11:57:56.435] #11 0x000055d50fb6a66b in heap_insert (relation=relation@entry=0x55d54072c8b0, tup=tup@entry=0x55d54081da20, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:56.435] recptr = [11:57:56.435] info = 128 '\200' [11:57:56.435] bufflags = 6 [11:57:56.435] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:56.435] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:56.435] page = 0x7f18d8103000 "" [11:57:56.435] xid = [11:57:56.435] heaptup = 0x55d54081da20 [11:57:56.435] buffer = 97 [11:57:56.435] vmbuffer = 0 [11:57:56.435] all_visible_cleared = false [11:57:56.435] #12 0x000055d50fb6bbfc in simple_heap_insert (relation=relation@entry=0x55d54072c8b0, tup=tup@entry=0x55d54081da20) at ../src/backend/access/heap/heapam.c:2641 [11:57:56.435] No locals. [11:57:56.435] #13 0x000055d50fca370e in CatalogTupleInsert (heapRel=heapRel@entry=0x55d54072c8b0, tup=0x55d54081da20) at ../src/backend/catalog/indexing.c:241 [11:57:56.435] indstate = 0x55d5408138b8 [11:57:56.435] #14 0x000055d50fcc4d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55d54081b4e0 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffd18a8b1cc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:56.435] conDesc = 0x55d54072c8b0 [11:57:56.435] conOid = 10115 [11:57:56.435] tup = [11:57:56.435] nulls = {false , true, true, true, true, true, true, true} [11:57:56.435] values = {10115, 140725017161568, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94374398647144, 0, 0, 0, 0, 0, 0, 0} [11:57:56.435] conkeyArray = 0x55d54081db68 [11:57:56.435] confkeyArray = 0x0 [11:57:56.435] conpfeqopArray = 0x0 [11:57:56.435] conppeqopArray = 0x0 [11:57:56.435] conffeqopArray = 0x0 [11:57:56.435] conexclopArray = 0x0 [11:57:56.435] confdelsetcolsArray = [11:57:56.435] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:56.435] i = [11:57:56.435] conobject = {classId = 32765, objectId = 1080672608, objectSubId = 21973} [11:57:56.435] addrs_auto = [11:57:56.435] addrs_normal = [11:57:56.435] #15 0x000055d50fc8d44e in StoreRelNotNull (rel=rel@entry=0x55d5406e0938, nnname=nnname@entry=0x55d54081b4e0 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:56.435] constrOid = [11:57:56.435] #16 0x000055d50fc95556 in AddRelationNewConstraints (rel=rel@entry=0x55d5406e0938, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55d54081abd0, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:56.435] nncooked = [11:57:56.435] colnum = 1 [11:57:56.435] inhcount = 0 [11:57:56.435] nnname = 0x55d54081b4e0 "pg_proc_oid_not_null" [11:57:56.435] constrOid = [11:57:56.435] cdef__state = [11:57:56.435] cdef = 0x55d540819170 [11:57:56.435] cdef__outerloop = [11:57:56.435] cookedConstraints = 0x0 [11:57:56.435] tupleDesc = [11:57:56.435] oldconstr = [11:57:56.435] numoldchecks = [11:57:56.435] pstate = 0x55d540819548 [11:57:56.435] nsitem = [11:57:56.435] numchecks = 0 [11:57:56.435] checknames = 0x0 [11:57:56.435] nnnames = 0x55d54081d550 [11:57:56.435] expr = [11:57:56.435] cooked = [11:57:56.435] __func__ = "AddRelationNewConstraints" [11:57:56.435] #17 0x000055d50fdbcbae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffd18a8b498, tab=tab@entry=0x55d540813ac8, rel=rel@entry=0x55d5406e0938, constr=constr@entry=0x55d540819708, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:56.435] newcons = [11:57:56.435] lcon = [11:57:56.435] children = [11:57:56.435] child = [11:57:56.435] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:56.435] __func__ = "ATAddCheckNNConstraint" [11:57:56.435] #18 0x000055d50fdbd291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffd18a8b498, tab=tab@entry=0x55d540813ac8, rel=rel@entry=0x55d5406e0938, newConstraint=0x55d540819708, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:56.435] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:56.435] __func__ = "ATExecAddConstraint" [11:57:56.435] #19 0x000055d50fdc951e in ATExecCmd (wqueue=wqueue@entry=0x7ffd18a8b498, tab=tab@entry=0x55d540813ac8, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffd18a8b580) at ../src/backend/commands/tablecmds.c:5428 [11:57:56.435] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:56.435] rel = 0x55d5406e0938 [11:57:56.435] __func__ = "ATExecCmd" [11:57:56.435] #20 0x000055d50fdca3b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffd18a8b498, lockmode=lockmode@entry=8, context=context@entry=0x7ffd18a8b580) at ../src/backend/commands/tablecmds.c:5294 [11:57:56.435] lcmd__state = [11:57:56.435] tab = 0x55d540813ac8 [11:57:56.435] subcmds = 0x55d54081aaf8 [11:57:56.435] lcmd = [11:57:56.435] ltab__state = [11:57:56.435] pass = AT_PASS_COL_ATTRS [11:57:56.435] ltab = [11:57:56.435] #21 0x000055d50fdca90d in ATController (parsetree=parsetree@entry=0x55d5407ffc70, rel=rel@entry=0x55d5406e0938, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffd18a8b580) at ../src/backend/commands/tablecmds.c:4849 [11:57:56.435] wqueue = 0x55d540804140 [11:57:56.435] lcmd = 0x0 [11:57:56.435] #22 0x000055d50fdca9c4 in AlterTable (stmt=stmt@entry=0x55d5407ffc70, lockmode=lockmode@entry=8, context=context@entry=0x7ffd18a8b580) at ../src/backend/commands/tablecmds.c:4504 [11:57:56.435] rel = 0x55d5406e0938 [11:57:56.435] #23 0x000055d51024bb4d in ProcessUtilitySlow (pstate=pstate@entry=0x55d540804030, pstmt=pstmt@entry=0x55d5407ffd20, queryString=queryString@entry=0x55d5407ff000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55d510a8c4a0 , qc=0x7ffd18a8ba80) at ../src/backend/tcop/utility.c:1321 [11:57:56.435] atcontext = {pstmt = 0x55d5407ffd20, queryString = 0x55d5407ff000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:56.435] atstmt = 0x55d5407ffc70 [11:57:56.435] relid = 1255 [11:57:56.435] lockmode = 8 [11:57:56.435] cell = 0x0 [11:57:56.435] _save_exception_stack = 0x7ffd18a8b960 [11:57:56.435] _save_context_stack = 0x0 [11:57:56.435] _local_sigjmp_buf = {{__jmpbuf = {0, 1956046331612739863, 94374398524528, 0, 94374398521344, 0, 5725751232939407639, 1956221886558091543}, __mask_was_saved = 0, __saved_mask = {__val = {4294967295, 139744866699344, 139744888815520, 139744821888704, 94373583740063, 94373603058464, 94373316395009, 139744821754688, 139744893735648, 332, 94373595974240, 140725017165312, 94373595733464, 139744893730848, 139744893591230, 1}}}} [11:57:56.435] _do_rethrow = false [11:57:56.435] parsetree = 0x55d5407ffc70 [11:57:56.435] isTopLevel = true [11:57:56.435] isCompleteQuery = true [11:57:56.435] needCleanup = false [11:57:56.435] commandCollected = false [11:57:56.435] address = {classId = 21973, objectId = 1082129520, objectSubId = 21973} [11:57:56.435] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:56.435] __func__ = "ProcessUtilitySlow" [11:57:56.435] #24 0x000055d51024b189 in standard_ProcessUtility (pstmt=0x55d5407ffd20, queryString=0x55d5407ff000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55d510a8c4a0 , qc=0x7ffd18a8ba80) at ../src/backend/tcop/utility.c:1070 [11:57:56.435] parsetree = 0x55d5407ffc70 [11:57:56.435] isTopLevel = true [11:57:56.435] isAtomicContext = false [11:57:56.435] pstate = 0x55d540804030 [11:57:56.435] readonly_flags = [11:57:56.435] __func__ = "standard_ProcessUtility" [11:57:56.435] #25 0x000055d51024b2e4 in ProcessUtility (pstmt=pstmt@entry=0x55d5407ffd20, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55d510a8c4a0 , qc=0x7ffd18a8ba80) at ../src/backend/tcop/utility.c:523 [11:57:56.435] No locals. [11:57:56.435] #26 0x000055d510246c09 in PortalRunUtility (portal=portal@entry=0x55d5406aaa20, pstmt=pstmt@entry=0x55d5407ffd20, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55d510a8c4a0 , qc=qc@entry=0x7ffd18a8ba80) at ../src/backend/tcop/pquery.c:1184 [11:57:56.435] No locals. [11:57:56.435] #27 0x000055d51024720d in PortalRunMulti (portal=portal@entry=0x55d5406aaa20, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55d510a8c4a0 , altdest=altdest@entry=0x55d510a8c4a0 , qc=qc@entry=0x7ffd18a8ba80) at ../src/backend/tcop/pquery.c:1348 [11:57:56.435] pstmt = 0x55d5407ffd20 [11:57:56.435] stmtlist_item__state = [11:57:56.435] active_snapshot_set = false [11:57:56.435] stmtlist_item = 0x55d5408000a8 [11:57:56.435] query_index = 0 [11:57:56.435] #28 0x000055d51024778c in PortalRun (portal=portal@entry=0x55d5406aaa20, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55d510a8c4a0 , altdest=altdest@entry=0x55d510a8c4a0 , qc=qc@entry=0x7ffd18a8ba80) at ../src/backend/tcop/pquery.c:819 [11:57:56.435] _save_exception_stack = 0x7ffd18a8bb30 [11:57:56.435] _save_context_stack = 0x0 [11:57:56.435] _local_sigjmp_buf = {{__jmpbuf = {0, 1956220748842121495, 94374397127200, 94374398524648, 94374398524624, 94374398524576, 5725751232750663959, 1956221888548550935}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140725017164303, 94374398524624, 94374398524576, 94373590039615, 94373592737197, 94374397127200, 94373593162750, 1, 1, 0, 34, 94374397127200, 0, 34, 94374397127200}}}} [11:57:56.435] _do_rethrow = [11:57:56.435] result = [11:57:56.435] nprocessed = [11:57:56.435] saveTopTransactionResourceOwner = 0x55d5406a2d68 [11:57:56.435] saveTopTransactionContext = 0x55d5407049d0 [11:57:56.435] saveActivePortal = 0x0 [11:57:56.435] saveResourceOwner = 0x55d5406a2d68 [11:57:56.435] savePortalContext = 0x0 [11:57:56.435] saveMemoryContext = 0x55d5407049d0 [11:57:56.435] __func__ = "PortalRun" [11:57:56.435] #29 0x000055d5102409b2 in exec_simple_query (query_string=query_string@entry=0x55d5407ff000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:56.435] cmdtaglen = 11 [11:57:56.435] snapshot_set = [11:57:56.435] per_parsetree_context = 0x0 [11:57:56.435] plantree_list = 0x55d540800090 [11:57:56.435] parsetree = 0x55d5407ffca0 [11:57:56.435] commandTag = [11:57:56.435] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:56.435] querytree_list = [11:57:56.435] portal = 0x55d5406aaa20 [11:57:56.435] receiver = 0x55d510a8c4a0 [11:57:56.435] format = 0 [11:57:56.435] cmdtagname = [11:57:56.435] parsetree_item__state = [11:57:56.435] dest = DestDebug [11:57:56.435] oldcontext = 0x55d5407049d0 [11:57:56.435] parsetree_list = 0x55d5407ffcd0 [11:57:56.435] parsetree_item = 0x55d5407ffce8 [11:57:56.435] save_log_statement_stats = false [11:57:56.435] was_logged = false [11:57:56.435] use_implicit_block = false [11:57:56.435] msec_str = "\000\276\250\030\375\177\000\000\353PP\020\325U\000\000\020\273\250\030\375\177\000\000D\000\000\000\000\000\000" [11:57:56.435] __func__ = "exec_simple_query" [11:57:56.435] #30 0x000055d510243714 in PostgresMain (dbname=, username=username@entry=0x55d5405d1a60 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:56.435] query_string = 0x55d5407ff000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:56.435] firstchar = [11:57:56.435] input_message = {data = 0x55d5407ff000 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:56.435] local_sigjmp_buf = {{__jmpbuf = {94373603138552, 1956223699765672215, 94374396238432, 140725017165312, 94373595733464, 139744893730848, 5725751232683555095, 1956221889882339607}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94374396438784, 17408, 94373603132608, 94374396911520, 94373595733464, 94373590218009, 279338456, 10, 140725017164844, 94373603138560, 94374396438784, 94373603132608, 140725017165312, 94373595733464, 139744893730848}}}} [11:57:56.435] send_ready_for_query = false [11:57:56.435] idle_in_transaction_timeout_enabled = false [11:57:56.435] idle_session_timeout_enabled = false [11:57:56.435] __func__ = "PostgresMain" [11:57:56.435] #31 0x000055d510243c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55d540602840, username=0x55d5405d1a60 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:56.435] dbname = 0x55d5406455d0 "template1" [11:57:56.435] __func__ = "PostgresSingleUserMain" [11:57:56.435] #32 0x000055d50ff21e97 in main (argc=12, argv=0x55d540602840) at ../src/backend/main/main.c:226 [11:57:56.435] do_check_root = [11:57:56.435] dispatch_option = [11:57:56.466] -e [11:57:56.466] [11:57:56.466] [11:57:56.529] dumping /tmp/cores/postgres-6-33623.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:56.784] [New LWP 33623] [11:57:56.784] [11:57:56.784] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:56.784] [11:57:56.784] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:56.784] Debuginfod has been disabled. [11:57:56.784] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:56.885] [Thread debugging using libthread_db enabled] [11:57:56.885] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:56.885] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:56.885] Program terminated with signal SIGABRT, Aborted. [11:57:56.885] #0 0x00007f12dcca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:57.849] [11:57:57.849] Thread 1 (Thread 0x7f12dd435f00 (LWP 33623)): [11:57:57.849] #0 0x00007f12dcca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:57.849] No symbol table info available. [11:57:57.849] #1 0x00007f12dcc5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:57.849] No symbol table info available. [11:57:57.849] #2 0x00007f12dcc45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:57.849] No symbol table info available. [11:57:57.849] #3 0x00007f12dce1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:57.849] No locals. [11:57:57.849] #4 0x00007f12dce2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:57.849] No locals. [11:57:57.849] #5 0x00007f12dce0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x560e62300440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:57.849] bp = 140730149701136 [11:57:57.849] pc = [11:57:57.849] Opts = {FromUnrecoverableHandler = true, pc = 94619765439909, bp = 194} [11:57:57.849] #6 0x0000560e6181fda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:57.849] crc0 = [11:57:57.849] len = [11:57:57.849] buf = [11:57:57.849] #7 0x0000560e6181fe72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:57.849] p = [11:57:57.849] pend = [11:57:57.849] orig_crc = [11:57:57.849] orig_len = [11:57:57.849] #8 0x0000560e60efbef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:57.849] No locals. [11:57:57.849] #9 0x0000560e60efcf85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffe4a950708, num_fpi=num_fpi@entry=0x7ffe4a9506fc, topxid_included=0x7ffe4a9506fb) at ../src/backend/access/transam/xloginsert.c:906 [11:57:57.849] rdt = 0x560e76d78210 [11:57:57.849] total_len = 194 [11:57:57.849] block_id = 1 [11:57:57.849] rdata_crc = [11:57:57.849] prev_regbuf = 0x560e76d7a128 [11:57:57.849] rdt_datas_last = 0x560e76d781e0 [11:57:57.849] rechdr = 0x560e76d783f0 [11:57:57.849] scratch = 0x560e76d7841e "" [11:57:57.849] __func__ = "XLogRecordAssemble" [11:57:57.849] #10 0x0000560e60efdf4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:57.849] RedoRecPtr = 17604224 [11:57:57.849] doPageWrites = true [11:57:57.849] topxid_included = false [11:57:57.849] fpw_lsn = 0 [11:57:57.849] rdt = [11:57:57.849] num_fpi = 0 [11:57:57.849] EndPos = [11:57:57.849] __func__ = "XLogInsert" [11:57:57.849] #11 0x0000560e60e1766b in heap_insert (relation=relation@entry=0x560e76e164f0, tup=tup@entry=0x560e76f07660, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:57.849] recptr = [11:57:57.849] info = 128 '\200' [11:57:57.849] bufflags = 6 [11:57:57.849] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:57.849] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:57.849] page = 0x7f12d1b03000 "" [11:57:57.849] xid = [11:57:57.849] heaptup = 0x560e76f07660 [11:57:57.849] buffer = 97 [11:57:57.849] vmbuffer = 0 [11:57:57.849] all_visible_cleared = false [11:57:57.849] #12 0x0000560e60e18bfc in simple_heap_insert (relation=relation@entry=0x560e76e164f0, tup=tup@entry=0x560e76f07660) at ../src/backend/access/heap/heapam.c:2641 [11:57:57.849] No locals. [11:57:57.849] #13 0x0000560e60f5070e in CatalogTupleInsert (heapRel=heapRel@entry=0x560e76e164f0, tup=0x560e76f07660) at ../src/backend/catalog/indexing.c:241 [11:57:57.849] indstate = 0x560e76efd4f8 [11:57:57.849] #14 0x0000560e60f71d93 in CreateConstraintEntry (constraintName=constraintName@entry=0x560e76f05120 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffe4a950adc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:57.849] conDesc = 0x560e76e164f0 [11:57:57.849] conOid = 10115 [11:57:57.849] tup = [11:57:57.849] nulls = {false , true, true, true, true, true, true, true} [11:57:57.849] values = {10115, 140730149701744, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94620125001640, 0, 0, 0, 0, 0, 0, 0} [11:57:57.849] conkeyArray = 0x560e76f077a8 [11:57:57.849] confkeyArray = 0x0 [11:57:57.849] conpfeqopArray = 0x0 [11:57:57.849] conppeqopArray = 0x0 [11:57:57.849] conffeqopArray = 0x0 [11:57:57.849] conexclopArray = 0x0 [11:57:57.849] confdelsetcolsArray = [11:57:57.849] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:57.849] i = [11:57:57.849] conobject = {classId = 32766, objectId = 1993891232, objectSubId = 22030} [11:57:57.849] addrs_auto = [11:57:57.849] addrs_normal = [11:57:57.849] #15 0x0000560e60f3a44e in StoreRelNotNull (rel=rel@entry=0x560e76dca578, nnname=nnname@entry=0x560e76f05120 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:57.849] constrOid = [11:57:57.849] #16 0x0000560e60f42556 in AddRelationNewConstraints (rel=rel@entry=0x560e76dca578, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x560e76f04810, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:57.849] nncooked = [11:57:57.849] colnum = 1 [11:57:57.849] inhcount = 0 [11:57:57.849] nnname = 0x560e76f05120 "pg_proc_oid_not_null" [11:57:57.849] constrOid = [11:57:57.849] cdef__state = [11:57:57.849] cdef = 0x560e76f02db0 [11:57:57.849] cdef__outerloop = [11:57:57.849] cookedConstraints = 0x0 [11:57:57.849] tupleDesc = [11:57:57.849] oldconstr = [11:57:57.849] numoldchecks = [11:57:57.849] pstate = 0x560e76f03188 [11:57:57.849] nsitem = [11:57:57.849] numchecks = 0 [11:57:57.849] checknames = 0x0 [11:57:57.849] nnnames = 0x560e76f07190 [11:57:57.849] expr = [11:57:57.849] cooked = [11:57:57.849] __func__ = "AddRelationNewConstraints" [11:57:57.849] #17 0x0000560e61069bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffe4a950da8, tab=tab@entry=0x560e76efd708, rel=rel@entry=0x560e76dca578, constr=constr@entry=0x560e76f03348, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:57.849] newcons = [11:57:57.849] lcon = [11:57:57.849] children = [11:57:57.849] child = [11:57:57.849] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:57.849] __func__ = "ATAddCheckNNConstraint" [11:57:57.849] #18 0x0000560e6106a291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffe4a950da8, tab=tab@entry=0x560e76efd708, rel=rel@entry=0x560e76dca578, newConstraint=0x560e76f03348, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:57.849] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:57.849] __func__ = "ATExecAddConstraint" [11:57:57.849] #19 0x0000560e6107651e in ATExecCmd (wqueue=wqueue@entry=0x7ffe4a950da8, tab=tab@entry=0x560e76efd708, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffe4a950e90) at ../src/backend/commands/tablecmds.c:5428 [11:57:57.849] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:57.849] rel = 0x560e76dca578 [11:57:57.849] __func__ = "ATExecCmd" [11:57:57.849] #20 0x0000560e610773b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffe4a950da8, lockmode=lockmode@entry=8, context=context@entry=0x7ffe4a950e90) at ../src/backend/commands/tablecmds.c:5294 [11:57:57.849] lcmd__state = [11:57:57.849] tab = 0x560e76efd708 [11:57:57.849] subcmds = 0x560e76f04738 [11:57:57.849] lcmd = [11:57:57.849] ltab__state = [11:57:57.849] pass = AT_PASS_COL_ATTRS [11:57:57.849] ltab = [11:57:57.849] #21 0x0000560e6107790d in ATController (parsetree=parsetree@entry=0x560e76ee98b0, rel=rel@entry=0x560e76dca578, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffe4a950e90) at ../src/backend/commands/tablecmds.c:4849 [11:57:57.849] wqueue = 0x560e76eedd80 [11:57:57.849] lcmd = 0x0 [11:57:57.849] #22 0x0000560e610779c4 in AlterTable (stmt=stmt@entry=0x560e76ee98b0, lockmode=lockmode@entry=8, context=context@entry=0x7ffe4a950e90) at ../src/backend/commands/tablecmds.c:4504 [11:57:57.849] rel = 0x560e76dca578 [11:57:57.849] #23 0x0000560e614f8b4d in ProcessUtilitySlow (pstate=pstate@entry=0x560e76eedc70, pstmt=pstmt@entry=0x560e76ee9960, queryString=queryString@entry=0x560e76ee8c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x560e61d394a0 , qc=0x7ffe4a951390) at ../src/backend/tcop/utility.c:1321 [11:57:57.849] atcontext = {pstmt = 0x560e76ee9960, queryString = 0x560e76ee8c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:57.849] atstmt = 0x560e76ee98b0 [11:57:57.849] relid = 1255 [11:57:57.849] lockmode = 8 [11:57:57.849] cell = 0x0 [11:57:57.849] _save_exception_stack = 0x7ffe4a951270 [11:57:57.849] _save_context_stack = 0x0 [11:57:57.849] _local_sigjmp_buf = {{__jmpbuf = {0, 4196894246607411541, 94620124879024, 0, 94620124875840, 0, 7628576479565732181, 4196917620704958805}, __mask_was_saved = 0, __saved_mask = {__val = {0, 139718944993608, 94619761905471, 139718945130176, 94618129530881, 94619777954592, 4294967295, 139718989940816, 139719012200352, 0, 4611686018427387905, 139718943668480, 0, 139718944996164, 139719017120480, 332}}}} [11:57:57.849] _do_rethrow = false [11:57:57.849] parsetree = 0x560e76ee98b0 [11:57:57.849] isTopLevel = true [11:57:57.849] isCompleteQuery = true [11:57:57.849] needCleanup = false [11:57:57.849] commandCollected = false [11:57:57.849] address = {classId = 22030, objectId = 1995348144, objectSubId = 22030} [11:57:57.849] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:57.849] __func__ = "ProcessUtilitySlow" [11:57:57.849] #24 0x0000560e614f8189 in standard_ProcessUtility (pstmt=0x560e76ee9960, queryString=0x560e76ee8c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x560e61d394a0 , qc=0x7ffe4a951390) at ../src/backend/tcop/utility.c:1070 [11:57:57.849] parsetree = 0x560e76ee98b0 [11:57:57.849] isTopLevel = true [11:57:57.849] isAtomicContext = false [11:57:57.849] pstate = 0x560e76eedc70 [11:57:57.849] readonly_flags = [11:57:57.849] __func__ = "standard_ProcessUtility" [11:57:57.849] #25 0x0000560e614f82e4 in ProcessUtility (pstmt=pstmt@entry=0x560e76ee9960, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x560e61d394a0 , qc=0x7ffe4a951390) at ../src/backend/tcop/utility.c:523 [11:57:57.849] No locals. [11:57:57.849] #26 0x0000560e614f3c09 in PortalRunUtility (portal=portal@entry=0x560e76d94660, pstmt=pstmt@entry=0x560e76ee9960, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x560e61d394a0 , qc=qc@entry=0x7ffe4a951390) at ../src/backend/tcop/pquery.c:1184 [11:57:57.849] No locals. [11:57:57.849] #27 0x0000560e614f420d in PortalRunMulti (portal=portal@entry=0x560e76d94660, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x560e61d394a0 , altdest=altdest@entry=0x560e61d394a0 , qc=qc@entry=0x7ffe4a951390) at ../src/backend/tcop/pquery.c:1348 [11:57:57.849] pstmt = 0x560e76ee9960 [11:57:57.849] stmtlist_item__state = [11:57:57.849] active_snapshot_set = false [11:57:57.849] stmtlist_item = 0x560e76ee9ce8 [11:57:57.849] query_index = 0 [11:57:57.849] #28 0x0000560e614f478c in PortalRun (portal=portal@entry=0x560e76d94660, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x560e61d394a0 , altdest=altdest@entry=0x560e61d394a0 , qc=qc@entry=0x7ffe4a951390) at ../src/backend/tcop/pquery.c:819 [11:57:57.849] _save_exception_stack = 0x7ffe4a951440 [11:57:57.849] _save_context_stack = 0x0 [11:57:57.849] _local_sigjmp_buf = {{__jmpbuf = {0, 4196918822586440021, 94620123481696, 94620124879144, 94620124879120, 94620124879072, 7628576479427320149, 4196917622745749845}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140730149704479, 94620124879120, 94620124879072, 94619764935743, 94619767633325, 94620123481696, 94619768058878, 1, 1, 0, 34, 94620123481696, 0, 34, 94620123481696}}}} [11:57:57.849] _do_rethrow = [11:57:57.849] result = [11:57:57.849] nprocessed = [11:57:57.849] saveTopTransactionResourceOwner = 0x560e76d8c9a8 [11:57:57.849] saveTopTransactionContext = 0x560e76dee610 [11:57:57.849] saveActivePortal = 0x0 [11:57:57.849] saveResourceOwner = 0x560e76d8c9a8 [11:57:57.849] savePortalContext = 0x0 [11:57:57.849] saveMemoryContext = 0x560e76dee610 [11:57:57.849] __func__ = "PortalRun" [11:57:57.849] #29 0x0000560e614ed9b2 in exec_simple_query (query_string=query_string@entry=0x560e76ee8c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:57.849] cmdtaglen = 11 [11:57:57.849] snapshot_set = [11:57:57.849] per_parsetree_context = 0x0 [11:57:57.849] plantree_list = 0x560e76ee9cd0 [11:57:57.849] parsetree = 0x560e76ee98e0 [11:57:57.849] commandTag = [11:57:57.849] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:57.849] querytree_list = [11:57:57.849] portal = 0x560e76d94660 [11:57:57.849] receiver = 0x560e61d394a0 [11:57:57.849] format = 0 [11:57:57.849] cmdtagname = [11:57:57.849] parsetree_item__state = [11:57:57.849] dest = DestDebug [11:57:57.849] oldcontext = 0x560e76dee610 [11:57:57.849] parsetree_list = 0x560e76ee9910 [11:57:57.849] parsetree_item = 0x560e76ee9928 [11:57:57.849] save_log_statement_stats = false [11:57:57.849] was_logged = false [11:57:57.849] use_implicit_block = false [11:57:57.849] msec_str = "\020\027\225J\376\177\000\000\353 {a\016V\000\000 \024\225J\376\177\000\000D\000\000\000\000\000\000" [11:57:57.849] __func__ = "exec_simple_query" [11:57:57.849] #30 0x0000560e614f0714 in PostgresMain (dbname=, username=username@entry=0x560e76cbb280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:57.849] query_string = 0x560e76ee8c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:57.849] firstchar = [11:57:57.849] input_message = {data = 0x560e76ee8c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:57.849] local_sigjmp_buf = {{__jmpbuf = {94619778034680, 4196919779537869141, 94620122591872, 140730149705488, 94619770629592, 139719017115680, 7628576479225993557, 4196917607990188373}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94620122794240, 17408, 94619778028736, 94620123266016, 94619770629592, 94619765114137, 1641098712, 10, 140730149705020, 94619778034688, 94620122794240, 94619778028736, 140730149705488, 94619770629592, 139719017115680}}}} [11:57:57.849] send_ready_for_query = false [11:57:57.849] idle_in_transaction_timeout_enabled = false [11:57:57.849] idle_session_timeout_enabled = false [11:57:57.849] __func__ = "PostgresMain" [11:57:57.849] #31 0x0000560e614f0c8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x560e76cec840, username=0x560e76cbb280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:57.849] dbname = 0x560e76d2f210 "template1" [11:57:57.849] __func__ = "PostgresSingleUserMain" [11:57:57.849] #32 0x0000560e611cee97 in main (argc=12, argv=0x560e76cec840) at ../src/backend/main/main.c:226 [11:57:57.849] do_check_root = [11:57:57.849] dispatch_option = [11:57:57.880] -e [11:57:57.880] [11:57:57.880] [11:57:57.943] dumping /tmp/cores/postgres-6-30304.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:58.188] [New LWP 30304] [11:57:58.188] [11:57:58.188] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:58.188] [11:57:58.188] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:58.188] Debuginfod has been disabled. [11:57:58.188] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:58.288] [Thread debugging using libthread_db enabled] [11:57:58.288] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:58.288] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:58.288] Program terminated with signal SIGABRT, Aborted. [11:57:58.288] #0 0x00007f81b4ea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:59.260] [11:57:59.260] Thread 1 (Thread 0x7f81b4dd2f00 (LWP 30304)): [11:57:59.260] #0 0x00007f81b4ea9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:59.260] No symbol table info available. [11:57:59.260] #1 0x00007f81b4e5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:59.260] No symbol table info available. [11:57:59.260] #2 0x00007f81b4e45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:57:59.260] No symbol table info available. [11:57:59.260] #3 0x00007f81b501e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:57:59.260] No locals. [11:57:59.260] #4 0x00007f81b502aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:57:59.260] No locals. [11:57:59.260] #5 0x00007f81b500d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x558a79b2e440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:57:59.260] bp = 140725943031408 [11:57:59.260] pc = [11:57:59.260] Opts = {FromUnrecoverableHandler = true, pc = 94053224209829, bp = 194} [11:57:59.260] #6 0x0000558a7904dda5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:57:59.260] crc0 = [11:57:59.260] len = [11:57:59.260] buf = [11:57:59.260] #7 0x0000558a7904de72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:57:59.260] p = [11:57:59.260] pend = [11:57:59.260] orig_crc = [11:57:59.260] orig_len = [11:57:59.260] #8 0x0000558a78729ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:57:59.260] No locals. [11:57:59.260] #9 0x0000558a7872af85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffd4fd85768, num_fpi=num_fpi@entry=0x7ffd4fd8575c, topxid_included=0x7ffd4fd8575b) at ../src/backend/access/transam/xloginsert.c:906 [11:57:59.260] rdt = 0x558aa9518220 [11:57:59.260] total_len = 194 [11:57:59.260] block_id = 1 [11:57:59.260] rdata_crc = [11:57:59.260] prev_regbuf = 0x558aa951a138 [11:57:59.260] rdt_datas_last = 0x558aa95181f0 [11:57:59.260] rechdr = 0x558aa9518400 [11:57:59.260] scratch = 0x558aa951842e "" [11:57:59.260] __func__ = "XLogRecordAssemble" [11:57:59.260] #10 0x0000558a7872bf4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:57:59.260] RedoRecPtr = 17604224 [11:57:59.260] doPageWrites = true [11:57:59.260] topxid_included = false [11:57:59.260] fpw_lsn = 0 [11:57:59.260] rdt = [11:57:59.260] num_fpi = 0 [11:57:59.260] EndPos = [11:57:59.260] __func__ = "XLogInsert" [11:57:59.260] #11 0x0000558a7864566b in heap_insert (relation=relation@entry=0x558aa95b6100, tup=tup@entry=0x558aa96a7270, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:57:59.260] recptr = [11:57:59.260] info = 128 '\200' [11:57:59.260] bufflags = 6 [11:57:59.260] xlrec = {offnum = 1, flags = 0 '\000'} [11:57:59.260] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:57:59.260] page = 0x7f81a9d03000 "" [11:57:59.260] xid = [11:57:59.260] heaptup = 0x558aa96a7270 [11:57:59.260] buffer = 97 [11:57:59.260] vmbuffer = 0 [11:57:59.260] all_visible_cleared = false [11:57:59.260] #12 0x0000558a78646bfc in simple_heap_insert (relation=relation@entry=0x558aa95b6100, tup=tup@entry=0x558aa96a7270) at ../src/backend/access/heap/heapam.c:2641 [11:57:59.260] No locals. [11:57:59.260] #13 0x0000558a7877e70e in CatalogTupleInsert (heapRel=heapRel@entry=0x558aa95b6100, tup=0x558aa96a7270) at ../src/backend/catalog/indexing.c:241 [11:57:59.260] indstate = 0x558aa969d108 [11:57:59.260] #14 0x0000558a7879fd93 in CreateConstraintEntry (constraintName=constraintName@entry=0x558aa96a4d30 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffd4fd85b3c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:57:59.260] conDesc = 0x558aa95b6100 [11:57:59.260] conOid = 10115 [11:57:59.260] tup = [11:57:59.260] nulls = {false , true, true, true, true, true, true, true} [11:57:59.260] values = {10115, 140725943032016, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94054036173752, 0, 0, 0, 0, 0, 0, 0} [11:57:59.260] conkeyArray = 0x558aa96a73b8 [11:57:59.260] confkeyArray = 0x0 [11:57:59.260] conpfeqopArray = 0x0 [11:57:59.260] conppeqopArray = 0x0 [11:57:59.260] conffeqopArray = 0x0 [11:57:59.260] conexclopArray = 0x0 [11:57:59.260] confdelsetcolsArray = [11:57:59.260] cname = {data = "pg_proc_oid_not_null", '\000' } [11:57:59.260] i = [11:57:59.260] conobject = {classId = 32765, objectId = 2840747440, objectSubId = 21898} [11:57:59.260] addrs_auto = [11:57:59.260] addrs_normal = [11:57:59.260] #15 0x0000558a7876844e in StoreRelNotNull (rel=rel@entry=0x558aa956a588, nnname=nnname@entry=0x558aa96a4d30 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:57:59.260] constrOid = [11:57:59.260] #16 0x0000558a78770556 in AddRelationNewConstraints (rel=rel@entry=0x558aa956a588, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x558aa96a4420, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:57:59.260] nncooked = [11:57:59.260] colnum = 1 [11:57:59.260] inhcount = 0 [11:57:59.260] nnname = 0x558aa96a4d30 "pg_proc_oid_not_null" [11:57:59.260] constrOid = [11:57:59.260] cdef__state = [11:57:59.260] cdef = 0x558aa96a29c0 [11:57:59.260] cdef__outerloop = [11:57:59.260] cookedConstraints = 0x0 [11:57:59.260] tupleDesc = [11:57:59.260] oldconstr = [11:57:59.260] numoldchecks = [11:57:59.260] pstate = 0x558aa96a2d98 [11:57:59.260] nsitem = [11:57:59.260] numchecks = 0 [11:57:59.260] checknames = 0x0 [11:57:59.260] nnnames = 0x558aa96a6da0 [11:57:59.260] expr = [11:57:59.260] cooked = [11:57:59.260] __func__ = "AddRelationNewConstraints" [11:57:59.260] #17 0x0000558a78897bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffd4fd85e08, tab=tab@entry=0x558aa969d318, rel=rel@entry=0x558aa956a588, constr=constr@entry=0x558aa96a2f58, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:57:59.260] newcons = [11:57:59.260] lcon = [11:57:59.260] children = [11:57:59.260] child = [11:57:59.260] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:59.260] __func__ = "ATAddCheckNNConstraint" [11:57:59.260] #18 0x0000558a78898291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffd4fd85e08, tab=tab@entry=0x558aa969d318, rel=rel@entry=0x558aa956a588, newConstraint=0x558aa96a2f58, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:57:59.260] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:59.260] __func__ = "ATExecAddConstraint" [11:57:59.260] #19 0x0000558a788a451e in ATExecCmd (wqueue=wqueue@entry=0x7ffd4fd85e08, tab=tab@entry=0x558aa969d318, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffd4fd85ef0) at ../src/backend/commands/tablecmds.c:5428 [11:57:59.260] address = {classId = 0, objectId = 0, objectSubId = 0} [11:57:59.260] rel = 0x558aa956a588 [11:57:59.260] __func__ = "ATExecCmd" [11:57:59.260] #20 0x0000558a788a53b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffd4fd85e08, lockmode=lockmode@entry=8, context=context@entry=0x7ffd4fd85ef0) at ../src/backend/commands/tablecmds.c:5294 [11:57:59.260] lcmd__state = [11:57:59.260] tab = 0x558aa969d318 [11:57:59.260] subcmds = 0x558aa96a4348 [11:57:59.260] lcmd = [11:57:59.260] ltab__state = [11:57:59.260] pass = AT_PASS_COL_ATTRS [11:57:59.260] ltab = [11:57:59.260] #21 0x0000558a788a590d in ATController (parsetree=parsetree@entry=0x558aa96894c0, rel=rel@entry=0x558aa956a588, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffd4fd85ef0) at ../src/backend/commands/tablecmds.c:4849 [11:57:59.260] wqueue = 0x558aa968d990 [11:57:59.260] lcmd = 0x0 [11:57:59.260] #22 0x0000558a788a59c4 in AlterTable (stmt=stmt@entry=0x558aa96894c0, lockmode=lockmode@entry=8, context=context@entry=0x7ffd4fd85ef0) at ../src/backend/commands/tablecmds.c:4504 [11:57:59.260] rel = 0x558aa956a588 [11:57:59.260] #23 0x0000558a78d26b4d in ProcessUtilitySlow (pstate=pstate@entry=0x558aa968d880, pstmt=pstmt@entry=0x558aa9689570, queryString=queryString@entry=0x558aa9688850 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x558a795674a0 , qc=0x7ffd4fd863f0) at ../src/backend/tcop/utility.c:1321 [11:57:59.260] atcontext = {pstmt = 0x558aa9689570, queryString = 0x558aa9688850 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:57:59.260] atstmt = 0x558aa96894c0 [11:57:59.260] relid = 1255 [11:57:59.260] lockmode = 8 [11:57:59.260] cell = 0x0 [11:57:59.260] _save_exception_stack = 0x7ffd4fd862d0 [11:57:59.260] _save_context_stack = 0x0 [11:57:59.260] _local_sigjmp_buf = {{__jmpbuf = {0, -3903187019466313014, 94054036051136, 0, 94054036047952, 0, -7117141565248933174, -3903288955600932150}, __mask_was_saved = 0, __saved_mask = {__val = {140192027508737, 140725943033784, 4294967295, 140195062319184, 140195084685216, 94053236724512, 94053221132292, 140195017374528, 94051193847809, 0, 140195089605344, 332, 94053229640288, 140725943035760, 94053229399512, 140195089600544}}}} [11:57:59.260] _do_rethrow = false [11:57:59.260] parsetree = 0x558aa96894c0 [11:57:59.260] isTopLevel = true [11:57:59.260] isCompleteQuery = true [11:57:59.260] needCleanup = false [11:57:59.260] commandCollected = false [11:57:59.260] address = {classId = 21898, objectId = 2842203328, objectSubId = 21898} [11:57:59.260] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:57:59.260] __func__ = "ProcessUtilitySlow" [11:57:59.260] #24 0x0000558a78d26189 in standard_ProcessUtility (pstmt=0x558aa9689570, queryString=0x558aa9688850 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x558a795674a0 , qc=0x7ffd4fd863f0) at ../src/backend/tcop/utility.c:1070 [11:57:59.260] parsetree = 0x558aa96894c0 [11:57:59.260] isTopLevel = true [11:57:59.260] isAtomicContext = false [11:57:59.260] pstate = 0x558aa968d880 [11:57:59.260] readonly_flags = [11:57:59.260] __func__ = "standard_ProcessUtility" [11:57:59.260] #25 0x0000558a78d262e4 in ProcessUtility (pstmt=pstmt@entry=0x558aa9689570, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x558a795674a0 , qc=0x7ffd4fd863f0) at ../src/backend/tcop/utility.c:523 [11:57:59.260] No locals. [11:57:59.260] #26 0x0000558a78d21c09 in PortalRunUtility (portal=portal@entry=0x558aa9534670, pstmt=pstmt@entry=0x558aa9689570, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x558a795674a0 , qc=qc@entry=0x7ffd4fd863f0) at ../src/backend/tcop/pquery.c:1184 [11:57:59.260] No locals. [11:57:59.260] #27 0x0000558a78d2220d in PortalRunMulti (portal=portal@entry=0x558aa9534670, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x558a795674a0 , altdest=altdest@entry=0x558a795674a0 , qc=qc@entry=0x7ffd4fd863f0) at ../src/backend/tcop/pquery.c:1348 [11:57:59.260] pstmt = 0x558aa9689570 [11:57:59.260] stmtlist_item__state = [11:57:59.260] active_snapshot_set = false [11:57:59.260] stmtlist_item = 0x558aa96898f8 [11:57:59.260] query_index = 0 [11:57:59.260] #28 0x0000558a78d2278c in PortalRun (portal=portal@entry=0x558aa9534670, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x558a795674a0 , altdest=altdest@entry=0x558a795674a0 , qc=qc@entry=0x7ffd4fd863f0) at ../src/backend/tcop/pquery.c:819 [11:57:59.261] _save_exception_stack = 0x7ffd4fd864a0 [11:57:59.261] _save_context_stack = 0x0 [11:57:59.261] _local_sigjmp_buf = {{__jmpbuf = {0, -3903292219277479222, 94054034654832, 94054036051256, 94054036051232, 94054036051184, -7117141566461087030, -3903288953560141110}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140725943034751, 94054036051232, 94054036051184, 94053223705663, 94053226403245, 94054034654832, 94053226828798, 1, 1, 0, 34, 94054034654832, 0, 34, 94054034654832}}}} [11:57:59.261] _do_rethrow = [11:57:59.261] result = [11:57:59.261] nprocessed = [11:57:59.261] saveTopTransactionResourceOwner = 0x558aa952c9b8 [11:57:59.261] saveTopTransactionContext = 0x558aa958e620 [11:57:59.261] saveActivePortal = 0x0 [11:57:59.261] saveResourceOwner = 0x558aa952c9b8 [11:57:59.261] savePortalContext = 0x0 [11:57:59.261] saveMemoryContext = 0x558aa958e620 [11:57:59.261] __func__ = "PortalRun" [11:57:59.261] #29 0x0000558a78d1b9b2 in exec_simple_query (query_string=query_string@entry=0x558aa9688850 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:57:59.261] cmdtaglen = 11 [11:57:59.261] snapshot_set = [11:57:59.261] per_parsetree_context = 0x0 [11:57:59.261] plantree_list = 0x558aa96898e0 [11:57:59.261] parsetree = 0x558aa96894f0 [11:57:59.261] commandTag = [11:57:59.261] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:57:59.261] querytree_list = [11:57:59.261] portal = 0x558aa9534670 [11:57:59.261] receiver = 0x558a795674a0 [11:57:59.261] format = 0 [11:57:59.261] cmdtagname = [11:57:59.261] parsetree_item__state = [11:57:59.261] dest = DestDebug [11:57:59.261] oldcontext = 0x558aa958e620 [11:57:59.261] parsetree_list = 0x558aa9689520 [11:57:59.261] parsetree_item = 0x558aa9689538 [11:57:59.261] save_log_statement_stats = false [11:57:59.261] was_logged = false [11:57:59.261] use_implicit_block = false [11:57:59.261] msec_str = "pg\330O\375\177\000\000\353\000\376x\212U\000\000\200d\330O\375\177\000\000D\000\000\000\000\000\000" [11:57:59.261] __func__ = "exec_simple_query" [11:57:59.261] #30 0x0000558a78d1e714 in PostgresMain (dbname=, username=username@entry=0x558aa945a280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:57:59.261] query_string = 0x558aa9688850 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:57:59.261] firstchar = [11:57:59.261] input_message = {data = 0x558aa9688850 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:57:59.261] local_sigjmp_buf = {{__jmpbuf = {94053236804600, -3903291229040053558, 94054033760896, 140725943035760, 94053229399512, 140195089600544, -7117141566528195894, -3903288924292287798}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94054033963264, 17408, 94053236798656, 94054034439152, 94053229399512, 94053223884057, 2035551704, 10, 140725943035292, 94053236804608, 94054033963264, 94053236798656, 140725943035760, 94053229399512, 140195089600544}}}} [11:57:59.261] send_ready_for_query = false [11:57:59.261] idle_in_transaction_timeout_enabled = false [11:57:59.261] idle_session_timeout_enabled = false [11:57:59.261] __func__ = "PostgresMain" [11:57:59.261] #31 0x0000558a78d1ec8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x558aa948b840, username=0x558aa945a280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:57:59.261] dbname = 0x558aa94ce210 "template1" [11:57:59.261] __func__ = "PostgresSingleUserMain" [11:57:59.261] #32 0x0000558a789fce97 in main (argc=12, argv=0x558aa948b840) at ../src/backend/main/main.c:226 [11:57:59.261] do_check_root = [11:57:59.261] dispatch_option = [11:57:59.292] -e [11:57:59.292] [11:57:59.292] [11:57:59.353] dumping /tmp/cores/postgres-6-33513.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:57:59.600] [New LWP 33513] [11:57:59.600] [11:57:59.600] This GDB supports auto-downloading debuginfo from the following URLs: [11:57:59.600] [11:57:59.600] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:57:59.600] Debuginfod has been disabled. [11:57:59.600] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:57:59.703] [Thread debugging using libthread_db enabled] [11:57:59.703] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:57:59.703] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:57:59.703] Program terminated with signal SIGABRT, Aborted. [11:57:59.703] #0 0x00007fb06dca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:58:00.678] [11:58:00.678] Thread 1 (Thread 0x7fb06bc1ef00 (LWP 33513)): [11:58:00.678] #0 0x00007fb06dca9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:58:00.678] No symbol table info available. [11:58:00.678] #1 0x00007fb06dc5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:58:00.678] No symbol table info available. [11:58:00.678] #2 0x00007fb06dc45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:58:00.678] No symbol table info available. [11:58:00.678] #3 0x00007fb06de1e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:58:00.678] No locals. [11:58:00.678] #4 0x00007fb06de2aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:58:00.678] No locals. [11:58:00.678] #5 0x00007fb06de0d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x55a0bd2fb440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:58:00.678] bp = 140721125236272 [11:58:00.678] pc = [11:58:00.678] Opts = {FromUnrecoverableHandler = true, pc = 94148845743525, bp = 194} [11:58:00.678] #6 0x000055a0bc81ada5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:58:00.678] crc0 = [11:58:00.678] len = [11:58:00.678] buf = [11:58:00.678] #7 0x000055a0bc81ae72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:58:00.678] p = [11:58:00.678] pend = [11:58:00.678] orig_crc = [11:58:00.678] orig_len = [11:58:00.678] #8 0x000055a0bbef6ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:58:00.678] No locals. [11:58:00.678] #9 0x000055a0bbef7f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=17604224, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7ffc30ae9f28, num_fpi=num_fpi@entry=0x7ffc30ae9f1c, topxid_included=0x7ffc30ae9f1b) at ../src/backend/access/transam/xloginsert.c:906 [11:58:00.678] rdt = 0x55a0e912b210 [11:58:00.678] total_len = 194 [11:58:00.678] block_id = 1 [11:58:00.678] rdata_crc = [11:58:00.678] prev_regbuf = 0x55a0e912d128 [11:58:00.678] rdt_datas_last = 0x55a0e912b1e0 [11:58:00.678] rechdr = 0x55a0e912b3f0 [11:58:00.678] scratch = 0x55a0e912b41e "" [11:58:00.678] __func__ = "XLogRecordAssemble" [11:58:00.678] #10 0x000055a0bbef8f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:58:00.678] RedoRecPtr = 17604224 [11:58:00.678] doPageWrites = true [11:58:00.678] topxid_included = false [11:58:00.678] fpw_lsn = 0 [11:58:00.678] rdt = [11:58:00.678] num_fpi = 0 [11:58:00.678] EndPos = [11:58:00.678] __func__ = "XLogInsert" [11:58:00.678] #11 0x000055a0bbe1266b in heap_insert (relation=relation@entry=0x55a0e91c94f0, tup=tup@entry=0x55a0e92ba660, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:58:00.678] recptr = [11:58:00.678] info = 128 '\200' [11:58:00.678] bufflags = 6 [11:58:00.678] xlrec = {offnum = 1, flags = 0 '\000'} [11:58:00.678] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:58:00.678] page = 0x7fb062a4e000 "" [11:58:00.678] xid = [11:58:00.678] heaptup = 0x55a0e92ba660 [11:58:00.678] buffer = 97 [11:58:00.678] vmbuffer = 0 [11:58:00.678] all_visible_cleared = false [11:58:00.678] #12 0x000055a0bbe13bfc in simple_heap_insert (relation=relation@entry=0x55a0e91c94f0, tup=tup@entry=0x55a0e92ba660) at ../src/backend/access/heap/heapam.c:2641 [11:58:00.678] No locals. [11:58:00.678] #13 0x000055a0bbf4b70e in CatalogTupleInsert (heapRel=heapRel@entry=0x55a0e91c94f0, tup=0x55a0e92ba660) at ../src/backend/catalog/indexing.c:241 [11:58:00.678] indstate = 0x55a0e92b04f8 [11:58:00.678] #14 0x000055a0bbf6cd93 in CreateConstraintEntry (constraintName=constraintName@entry=0x55a0e92b8120 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7ffc30aea2fc, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:58:00.678] conDesc = 0x55a0e91c94f0 [11:58:00.678] conOid = 10115 [11:58:00.678] tup = [11:58:00.678] nulls = {false , true, true, true, true, true, true, true} [11:58:00.678] values = {10115, 140721125236880, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94149595080616, 0, 0, 0, 0, 0, 0, 0} [11:58:00.678] conkeyArray = 0x55a0e92ba7a8 [11:58:00.678] confkeyArray = 0x0 [11:58:00.678] conpfeqopArray = 0x0 [11:58:00.678] conppeqopArray = 0x0 [11:58:00.678] conffeqopArray = 0x0 [11:58:00.678] conexclopArray = 0x0 [11:58:00.678] confdelsetcolsArray = [11:58:00.678] cname = {data = "pg_proc_oid_not_null", '\000' } [11:58:00.678] i = [11:58:00.678] conobject = {classId = 32764, objectId = 3910372768, objectSubId = 21920} [11:58:00.678] addrs_auto = [11:58:00.678] addrs_normal = [11:58:00.678] #15 0x000055a0bbf3544e in StoreRelNotNull (rel=rel@entry=0x55a0e917d578, nnname=nnname@entry=0x55a0e92b8120 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:58:00.678] constrOid = [11:58:00.678] #16 0x000055a0bbf3d556 in AddRelationNewConstraints (rel=rel@entry=0x55a0e917d578, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x55a0e92b7810, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:58:00.678] nncooked = [11:58:00.678] colnum = 1 [11:58:00.678] inhcount = 0 [11:58:00.678] nnname = 0x55a0e92b8120 "pg_proc_oid_not_null" [11:58:00.678] constrOid = [11:58:00.678] cdef__state = [11:58:00.678] cdef = 0x55a0e92b5db0 [11:58:00.678] cdef__outerloop = [11:58:00.678] cookedConstraints = 0x0 [11:58:00.678] tupleDesc = [11:58:00.678] oldconstr = [11:58:00.678] numoldchecks = [11:58:00.678] pstate = 0x55a0e92b6188 [11:58:00.678] nsitem = [11:58:00.678] numchecks = 0 [11:58:00.678] checknames = 0x0 [11:58:00.678] nnnames = 0x55a0e92ba190 [11:58:00.678] expr = [11:58:00.678] cooked = [11:58:00.678] __func__ = "AddRelationNewConstraints" [11:58:00.678] #17 0x000055a0bc064bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7ffc30aea5c8, tab=tab@entry=0x55a0e92b0708, rel=rel@entry=0x55a0e917d578, constr=constr@entry=0x55a0e92b6348, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:58:00.678] newcons = [11:58:00.678] lcon = [11:58:00.678] children = [11:58:00.678] child = [11:58:00.678] address = {classId = 0, objectId = 0, objectSubId = 0} [11:58:00.678] __func__ = "ATAddCheckNNConstraint" [11:58:00.678] #18 0x000055a0bc065291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7ffc30aea5c8, tab=tab@entry=0x55a0e92b0708, rel=rel@entry=0x55a0e917d578, newConstraint=0x55a0e92b6348, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:58:00.678] address = {classId = 0, objectId = 0, objectSubId = 0} [11:58:00.678] __func__ = "ATExecAddConstraint" [11:58:00.678] #19 0x000055a0bc07151e in ATExecCmd (wqueue=wqueue@entry=0x7ffc30aea5c8, tab=tab@entry=0x55a0e92b0708, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7ffc30aea6b0) at ../src/backend/commands/tablecmds.c:5428 [11:58:00.678] address = {classId = 0, objectId = 0, objectSubId = 0} [11:58:00.678] rel = 0x55a0e917d578 [11:58:00.678] __func__ = "ATExecCmd" [11:58:00.678] #20 0x000055a0bc0723b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7ffc30aea5c8, lockmode=lockmode@entry=8, context=context@entry=0x7ffc30aea6b0) at ../src/backend/commands/tablecmds.c:5294 [11:58:00.678] lcmd__state = [11:58:00.678] tab = 0x55a0e92b0708 [11:58:00.678] subcmds = 0x55a0e92b7738 [11:58:00.678] lcmd = [11:58:00.678] ltab__state = [11:58:00.678] pass = AT_PASS_COL_ATTRS [11:58:00.678] ltab = [11:58:00.678] #21 0x000055a0bc07290d in ATController (parsetree=parsetree@entry=0x55a0e929c8b0, rel=rel@entry=0x55a0e917d578, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7ffc30aea6b0) at ../src/backend/commands/tablecmds.c:4849 [11:58:00.678] wqueue = 0x55a0e92a0d80 [11:58:00.678] lcmd = 0x0 [11:58:00.678] #22 0x000055a0bc0729c4 in AlterTable (stmt=stmt@entry=0x55a0e929c8b0, lockmode=lockmode@entry=8, context=context@entry=0x7ffc30aea6b0) at ../src/backend/commands/tablecmds.c:4504 [11:58:00.678] rel = 0x55a0e917d578 [11:58:00.678] #23 0x000055a0bc4f3b4d in ProcessUtilitySlow (pstate=pstate@entry=0x55a0e92a0c70, pstmt=pstmt@entry=0x55a0e929c960, queryString=queryString@entry=0x55a0e929bc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x55a0bcd344a0 , qc=0x7ffc30aeabb0) at ../src/backend/tcop/utility.c:1321 [11:58:00.678] atcontext = {pstmt = 0x55a0e929c960, queryString = 0x55a0e929bc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:58:00.678] atstmt = 0x55a0e929c8b0 [11:58:00.678] relid = 1255 [11:58:00.678] lockmode = 8 [11:58:00.678] cell = 0x0 [11:58:00.678] _save_exception_stack = 0x7ffc30aeaa90 [11:58:00.678] _save_context_stack = 0x0 [11:58:00.678] _local_sigjmp_buf = {{__jmpbuf = {0, -8219659590596532968, 94149594958000, 0, 94149594954816, 0, -2786509737693518568, -8219828072857967336}, __mask_was_saved = 0, __saved_mask = {__val = {140393890971649, 140721125238648, 4294967295, 140395732502608, 140395754500000, 94148858258208, 94148842665988, 140395686816576, 94145683128321, 0, 140395758727904, 332, 94148851173984, 140721125240624, 94148850933208, 140395758723104}}}} [11:58:00.678] _do_rethrow = false [11:58:00.678] parsetree = 0x55a0e929c8b0 [11:58:00.678] isTopLevel = true [11:58:00.678] isCompleteQuery = true [11:58:00.678] needCleanup = false [11:58:00.678] commandCollected = false [11:58:00.678] address = {classId = 21920, objectId = 3911829680, objectSubId = 21920} [11:58:00.678] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:58:00.678] __func__ = "ProcessUtilitySlow" [11:58:00.678] #24 0x000055a0bc4f3189 in standard_ProcessUtility (pstmt=0x55a0e929c960, queryString=0x55a0e929bc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x55a0bcd344a0 , qc=0x7ffc30aeabb0) at ../src/backend/tcop/utility.c:1070 [11:58:00.678] parsetree = 0x55a0e929c8b0 [11:58:00.678] isTopLevel = true [11:58:00.678] isAtomicContext = false [11:58:00.678] pstate = 0x55a0e92a0c70 [11:58:00.678] readonly_flags = [11:58:00.678] __func__ = "standard_ProcessUtility" [11:58:00.678] #25 0x000055a0bc4f32e4 in ProcessUtility (pstmt=pstmt@entry=0x55a0e929c960, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x55a0bcd344a0 , qc=0x7ffc30aeabb0) at ../src/backend/tcop/utility.c:523 [11:58:00.678] No locals. [11:58:00.678] #26 0x000055a0bc4eec09 in PortalRunUtility (portal=portal@entry=0x55a0e9147660, pstmt=pstmt@entry=0x55a0e929c960, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a0bcd344a0 , qc=qc@entry=0x7ffc30aeabb0) at ../src/backend/tcop/pquery.c:1184 [11:58:00.678] No locals. [11:58:00.678] #27 0x000055a0bc4ef20d in PortalRunMulti (portal=portal@entry=0x55a0e9147660, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a0bcd344a0 , altdest=altdest@entry=0x55a0bcd344a0 , qc=qc@entry=0x7ffc30aeabb0) at ../src/backend/tcop/pquery.c:1348 [11:58:00.678] pstmt = 0x55a0e929c960 [11:58:00.678] stmtlist_item__state = [11:58:00.678] active_snapshot_set = false [11:58:00.678] stmtlist_item = 0x55a0e929cce8 [11:58:00.678] query_index = 0 [11:58:00.678] #28 0x000055a0bc4ef78c in PortalRun (portal=portal@entry=0x55a0e9147660, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x55a0bcd344a0 , altdest=altdest@entry=0x55a0bcd344a0 , qc=qc@entry=0x7ffc30aeabb0) at ../src/backend/tcop/pquery.c:819 [11:58:00.678] _save_exception_stack = 0x7ffc30aeac60 [11:58:00.678] _save_context_stack = 0x0 [11:58:00.678] _local_sigjmp_buf = {{__jmpbuf = {0, -8219829271525563112, 94149593560672, 94149594958120, 94149594958096, 94149594958048, -2786509738100366056, -8219828083497081576}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140721125239615, 94149594958096, 94149594958048, 94148845239359, 94148847936941, 94149593560672, 94148848362494, 1, 1, 0, 34, 94149593560672, 0, 34, 94149593560672}}}} [11:58:00.678] _do_rethrow = [11:58:00.678] result = [11:58:00.678] nprocessed = [11:58:00.678] saveTopTransactionResourceOwner = 0x55a0e913f9a8 [11:58:00.678] saveTopTransactionContext = 0x55a0e91a1610 [11:58:00.678] saveActivePortal = 0x0 [11:58:00.678] saveResourceOwner = 0x55a0e913f9a8 [11:58:00.678] savePortalContext = 0x0 [11:58:00.678] saveMemoryContext = 0x55a0e91a1610 [11:58:00.678] __func__ = "PortalRun" [11:58:00.678] #29 0x000055a0bc4e89b2 in exec_simple_query (query_string=query_string@entry=0x55a0e929bc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:58:00.678] cmdtaglen = 11 [11:58:00.678] snapshot_set = [11:58:00.678] per_parsetree_context = 0x0 [11:58:00.678] plantree_list = 0x55a0e929ccd0 [11:58:00.678] parsetree = 0x55a0e929c8e0 [11:58:00.678] commandTag = [11:58:00.678] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:58:00.678] querytree_list = [11:58:00.678] portal = 0x55a0e9147660 [11:58:00.678] receiver = 0x55a0bcd344a0 [11:58:00.678] format = 0 [11:58:00.678] cmdtagname = [11:58:00.678] parsetree_item__state = [11:58:00.678] dest = DestDebug [11:58:00.678] oldcontext = 0x55a0e91a1610 [11:58:00.678] parsetree_list = 0x55a0e929c910 [11:58:00.678] parsetree_item = 0x55a0e929c928 [11:58:00.678] save_log_statement_stats = false [11:58:00.678] was_logged = false [11:58:00.678] use_implicit_block = false [11:58:00.678] msec_str = "0\257\2560\374\177\000\000\353\320z\274\240U\000\000@\254\2560\374\177\000\000D\000\000\000\000\000\000" [11:58:00.678] __func__ = "exec_simple_query" [11:58:00.678] #30 0x000055a0bc4eb714 in PostgresMain (dbname=, username=username@entry=0x55a0e906e280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:58:00.678] query_string = 0x55a0e929bc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:58:00.678] firstchar = [11:58:00.678] input_message = {data = 0x55a0e929bc40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:58:00.678] local_sigjmp_buf = {{__jmpbuf = {94148858338296, -8219825823459547880, 94149592670848, 140721125240624, 94148850933208, 140395758723104, -2786509737899039464, -8219828085367741160}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94149592873216, 17408, 94148858332352, 94149593344992, 94148850933208, 94148845417753, 3167804888, 10, 140721125240156, 94148858338304, 94149592873216, 94148858332352, 140721125240624, 94148850933208, 140395758723104}}}} [11:58:00.678] send_ready_for_query = false [11:58:00.678] idle_in_transaction_timeout_enabled = false [11:58:00.678] idle_session_timeout_enabled = false [11:58:00.678] __func__ = "PostgresMain" [11:58:00.678] #31 0x000055a0bc4ebc8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x55a0e909f840, username=0x55a0e906e280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:58:00.678] dbname = 0x55a0e90e2210 "template1" [11:58:00.678] __func__ = "PostgresSingleUserMain" [11:58:00.678] #32 0x000055a0bc1c9e97 in main (argc=12, argv=0x55a0e909f840) at ../src/backend/main/main.c:226 [11:58:00.678] do_check_root = [11:58:00.678] dispatch_option = [11:58:00.709] -e [11:58:00.709] [11:58:00.709] [11:58:00.770] dumping /tmp/cores/postgres-6-29895.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [11:58:01.029] [New LWP 29895] [11:58:01.029] [11:58:01.029] This GDB supports auto-downloading debuginfo from the following URLs: [11:58:01.029] [11:58:01.029] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [11:58:01.029] Debuginfod has been disabled. [11:58:01.029] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [11:58:01.131] [Thread debugging using libthread_db enabled] [11:58:01.131] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [11:58:01.131] Core was generated by `/tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres --single -F'. [11:58:01.131] Program terminated with signal SIGABRT, Aborted. [11:58:01.131] #0 0x00007f6d676a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:58:02.127] [11:58:02.127] Thread 1 (Thread 0x7f6d6562af00 (LWP 29895)): [11:58:02.127] #0 0x00007f6d676a9ebc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [11:58:02.127] No symbol table info available. [11:58:02.127] #1 0x00007f6d6765afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [11:58:02.127] No symbol table info available. [11:58:02.127] #2 0x00007f6d67645472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [11:58:02.127] No symbol table info available. [11:58:02.127] #3 0x00007f6d6781e84f in __sanitizer::Abort () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:143 [11:58:02.127] No locals. [11:58:02.127] #4 0x00007f6d6782aee1 in __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58 [11:58:02.127] No locals. [11:58:02.127] #5 0x00007f6d6780d6f8 in __ubsan::__ubsan_handle_type_mismatch_v1_abort (Data=Data@entry=0x56512810a440, Pointer=) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:148 [11:58:02.127] bp = 140737033290640 [11:58:02.127] pc = [11:58:02.127] Opts = {FromUnrecoverableHandler = true, pc = 94906553114021, bp = 194} [11:58:02.127] #6 0x0000565127629da5 in pg_comp_crc32c_pclmul (crc=, data=, length=) at ../src/port/pg_crc32c_sse42.c:118 [11:58:02.127] crc0 = [11:58:02.127] len = [11:58:02.127] buf = [11:58:02.127] #7 0x0000565127629e72 in pg_comp_crc32c_sse42 (crc=, data=, len=) at ../src/port/pg_crc32c_sse42.c:145 [11:58:02.127] p = [11:58:02.127] pend = [11:58:02.127] orig_crc = [11:58:02.127] orig_len = [11:58:02.127] #8 0x0000565126d05ef8 in pg_comp_crc32c_dispatch (crc=, data=, len=) at ../src/include/port/pg_crc32c.h:135 [11:58:02.127] No locals. [11:58:02.127] #9 0x0000565126d06f85 in XLogRecordAssemble (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200', RedoRecPtr=1875584, doPageWrites=true, fpw_lsn=fpw_lsn@entry=0x7fffe4e04488, num_fpi=num_fpi@entry=0x7fffe4e0447c, topxid_included=0x7fffe4e0447b) at ../src/backend/access/transam/xloginsert.c:906 [11:58:02.127] rdt = 0x56512b3e2610 [11:58:02.127] total_len = 194 [11:58:02.127] block_id = 1 [11:58:02.127] rdata_crc = [11:58:02.127] prev_regbuf = 0x56512b3e4528 [11:58:02.127] rdt_datas_last = 0x56512b3e25e0 [11:58:02.127] rechdr = 0x56512b3e27f0 [11:58:02.127] scratch = 0x56512b3e281e "" [11:58:02.127] __func__ = "XLogRecordAssemble" [11:58:02.127] #10 0x0000565126d07f4d in XLogInsert (rmid=rmid@entry=10 '\n', info=info@entry=128 '\200') at ../src/backend/access/transam/xloginsert.c:520 [11:58:02.127] RedoRecPtr = 1875584 [11:58:02.127] doPageWrites = true [11:58:02.127] topxid_included = false [11:58:02.127] fpw_lsn = 0 [11:58:02.127] rdt = [11:58:02.127] num_fpi = 0 [11:58:02.127] EndPos = [11:58:02.127] __func__ = "XLogInsert" [11:58:02.127] #11 0x0000565126c2166b in heap_insert (relation=relation@entry=0x56512b4804f0, tup=tup@entry=0x56512b571660, cid=, options=options@entry=0, bistate=bistate@entry=0x0) at ../src/backend/access/heap/heapam.c:2157 [11:58:02.127] recptr = [11:58:02.127] info = 128 '\200' [11:58:02.127] bufflags = 6 [11:58:02.127] xlrec = {offnum = 1, flags = 0 '\000'} [11:58:02.127] xlhdr = {t_infomask2 = 28, t_infomask = 2051, t_hoff = 32 ' '} [11:58:02.127] page = 0x7f6d5c55b000 "" [11:58:02.127] xid = [11:58:02.127] heaptup = 0x56512b571660 [11:58:02.127] buffer = 97 [11:58:02.127] vmbuffer = 0 [11:58:02.127] all_visible_cleared = false [11:58:02.127] #12 0x0000565126c22bfc in simple_heap_insert (relation=relation@entry=0x56512b4804f0, tup=tup@entry=0x56512b571660) at ../src/backend/access/heap/heapam.c:2641 [11:58:02.127] No locals. [11:58:02.127] #13 0x0000565126d5a70e in CatalogTupleInsert (heapRel=heapRel@entry=0x56512b4804f0, tup=0x56512b571660) at ../src/backend/catalog/indexing.c:241 [11:58:02.127] indstate = 0x56512b5674f8 [11:58:02.127] #14 0x0000565126d7bd93 in CreateConstraintEntry (constraintName=constraintName@entry=0x56512b56f120 "pg_proc_oid_not_null", constraintNamespace=11, constraintType=constraintType@entry=110 'n', isDeferrable=isDeferrable@entry=false, isDeferred=isDeferred@entry=false, isEnforced=isEnforced@entry=true, isValidated=true, parentConstrId=0, relId=1255, constraintKey=0x7fffe4e0485c, constraintNKeys=1, constraintNTotalKeys=1, domainId=0, indexRelId=0, foreignRelId=0, foreignKey=0x0, pfEqOp=0x0, ppEqOp=0x0, ffEqOp=0x0, foreignNKeys=0, foreignUpdateType=32 ' ', foreignDeleteType=32 ' ', fkDeleteSetCols=0x0, numFkDeleteSetCols=0, foreignMatchType=32 ' ', exclOp=0x0, conExpr=0x0, conBin=0x0, conIsLocal=true, conInhCount=0, conNoInherit=false, conPeriod=false, is_internal=false) at ../src/backend/catalog/pg_constraint.c:248 [11:58:02.127] conDesc = 0x56512b4804f0 [11:58:02.127] conOid = 10115 [11:58:02.127] tup = [11:58:02.127] nulls = {false , true, true, true, true, true, true, true} [11:58:02.127] values = {10115, 140737033291248, 11, 110, 0, 0, 1, 1, 1255, 0, 0, 0, 0, 32, 32, 32, 1, 0, 0, 0, 94906619467688, 0, 0, 0, 0, 0, 0, 0} [11:58:02.127] conkeyArray = 0x56512b5717a8 [11:58:02.127] confkeyArray = 0x0 [11:58:02.127] conpfeqopArray = 0x0 [11:58:02.127] conppeqopArray = 0x0 [11:58:02.127] conffeqopArray = 0x0 [11:58:02.127] conexclopArray = 0x0 [11:58:02.127] confdelsetcolsArray = [11:58:02.127] cname = {data = "pg_proc_oid_not_null", '\000' } [11:58:02.127] i = [11:58:02.127] conobject = {classId = 32767, objectId = 725549472, objectSubId = 22097} [11:58:02.127] addrs_auto = [11:58:02.127] addrs_normal = [11:58:02.127] #15 0x0000565126d4444e in StoreRelNotNull (rel=rel@entry=0x56512b434978, nnname=nnname@entry=0x56512b56f120 "pg_proc_oid_not_null", attnum=, attnum@entry=1, is_validated=, is_local=is_local@entry=true, inhcount=inhcount@entry=0, is_no_inherit=false) at ../src/backend/catalog/heap.c:2196 [11:58:02.127] constrOid = [11:58:02.127] #16 0x0000565126d4c556 in AddRelationNewConstraints (rel=rel@entry=0x56512b434978, newColDefaults=newColDefaults@entry=0x0, newConstraints=0x56512b56e810, allow_merge=allow_merge@entry=false, is_local=is_local@entry=true, is_internal=is_internal@entry=false, queryString=0x0) at ../src/backend/catalog/heap.c:2605 [11:58:02.127] nncooked = [11:58:02.127] colnum = 1 [11:58:02.127] inhcount = 0 [11:58:02.127] nnname = 0x56512b56f120 "pg_proc_oid_not_null" [11:58:02.127] constrOid = [11:58:02.127] cdef__state = [11:58:02.127] cdef = 0x56512b56cdb0 [11:58:02.127] cdef__outerloop = [11:58:02.127] cookedConstraints = 0x0 [11:58:02.127] tupleDesc = [11:58:02.127] oldconstr = [11:58:02.127] numoldchecks = [11:58:02.127] pstate = 0x56512b56d188 [11:58:02.127] nsitem = [11:58:02.127] numchecks = 0 [11:58:02.127] checknames = 0x0 [11:58:02.127] nnnames = 0x56512b571190 [11:58:02.127] expr = [11:58:02.127] cooked = [11:58:02.127] __func__ = "AddRelationNewConstraints" [11:58:02.127] #17 0x0000565126e73bae in ATAddCheckNNConstraint (wqueue=wqueue@entry=0x7fffe4e04b28, tab=tab@entry=0x56512b567708, rel=rel@entry=0x56512b434978, constr=constr@entry=0x56512b56d348, recurse=recurse@entry=true, recursing=recursing@entry=false, is_readd=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9702 [11:58:02.127] newcons = [11:58:02.127] lcon = [11:58:02.127] children = [11:58:02.127] child = [11:58:02.127] address = {classId = 0, objectId = 0, objectSubId = 0} [11:58:02.127] __func__ = "ATAddCheckNNConstraint" [11:58:02.127] #18 0x0000565126e74291 in ATExecAddConstraint (wqueue=wqueue@entry=0x7fffe4e04b28, tab=tab@entry=0x56512b567708, rel=rel@entry=0x56512b434978, newConstraint=0x56512b56d348, recurse=, is_readd=is_readd@entry=false, lockmode=8) at ../src/backend/commands/tablecmds.c:9576 [11:58:02.127] address = {classId = 0, objectId = 0, objectSubId = 0} [11:58:02.127] __func__ = "ATExecAddConstraint" [11:58:02.127] #19 0x0000565126e8051e in ATExecCmd (wqueue=wqueue@entry=0x7fffe4e04b28, tab=tab@entry=0x56512b567708, cmd=, lockmode=lockmode@entry=8, cur_pass=cur_pass@entry=AT_PASS_COL_ATTRS, context=context@entry=0x7fffe4e04c10) at ../src/backend/commands/tablecmds.c:5428 [11:58:02.127] address = {classId = 0, objectId = 0, objectSubId = 0} [11:58:02.127] rel = 0x56512b434978 [11:58:02.127] __func__ = "ATExecCmd" [11:58:02.127] #20 0x0000565126e813b3 in ATRewriteCatalogs (wqueue=wqueue@entry=0x7fffe4e04b28, lockmode=lockmode@entry=8, context=context@entry=0x7fffe4e04c10) at ../src/backend/commands/tablecmds.c:5294 [11:58:02.127] lcmd__state = [11:58:02.127] tab = 0x56512b567708 [11:58:02.127] subcmds = 0x56512b56e738 [11:58:02.127] lcmd = [11:58:02.127] ltab__state = [11:58:02.127] pass = AT_PASS_COL_ATTRS [11:58:02.127] ltab = [11:58:02.127] #21 0x0000565126e8190d in ATController (parsetree=parsetree@entry=0x56512b5538b0, rel=rel@entry=0x56512b434978, cmds=, recurse=, lockmode=lockmode@entry=8, context=context@entry=0x7fffe4e04c10) at ../src/backend/commands/tablecmds.c:4849 [11:58:02.127] wqueue = 0x56512b557d80 [11:58:02.127] lcmd = 0x0 [11:58:02.127] #22 0x0000565126e819c4 in AlterTable (stmt=stmt@entry=0x56512b5538b0, lockmode=lockmode@entry=8, context=context@entry=0x7fffe4e04c10) at ../src/backend/commands/tablecmds.c:4504 [11:58:02.127] rel = 0x56512b434978 [11:58:02.127] #23 0x0000565127302b4d in ProcessUtilitySlow (pstate=pstate@entry=0x56512b557c70, pstmt=pstmt@entry=0x56512b553960, queryString=queryString@entry=0x56512b552c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=0x565127b434a0 , qc=0x7fffe4e05110) at ../src/backend/tcop/utility.c:1321 [11:58:02.127] atcontext = {pstmt = 0x56512b553960, queryString = 0x56512b552c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", relid = 1255, params = 0x0, queryEnv = 0x0} [11:58:02.127] atstmt = 0x56512b5538b0 [11:58:02.127] relid = 1255 [11:58:02.127] lockmode = 8 [11:58:02.127] cell = 0x0 [11:58:02.127] _save_exception_stack = 0x7fffe4e04ff0 [11:58:02.127] _save_context_stack = 0x0 [11:58:02.127] _local_sigjmp_buf = {{__jmpbuf = {0, -7485066567466373060, 94906619345072, 0, 94906619341888, 0, -3800425693301198788, -7485075663446364100}, __mask_was_saved = 0, __saved_mask = {__val = {0, 140107818153288, 94906549579583, 140107818289856, 94905892339713, 94906565628704, 4294967295, 140107862739024, 140107885363104, 0, 4611686018427387905, 140107816828160, 0, 140107818155844, 140107890283232, 332}}}} [11:58:02.127] _do_rethrow = false [11:58:02.127] parsetree = 0x56512b5538b0 [11:58:02.127] isTopLevel = true [11:58:02.127] isCompleteQuery = true [11:58:02.127] needCleanup = false [11:58:02.127] commandCollected = false [11:58:02.127] address = {classId = 22097, objectId = 727005360, objectSubId = 22097} [11:58:02.127] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [11:58:02.127] __func__ = "ProcessUtilitySlow" [11:58:02.127] #24 0x0000565127302189 in standard_ProcessUtility (pstmt=0x56512b553960, queryString=0x56512b552c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x565127b434a0 , qc=0x7fffe4e05110) at ../src/backend/tcop/utility.c:1070 [11:58:02.127] parsetree = 0x56512b5538b0 [11:58:02.127] isTopLevel = true [11:58:02.127] isAtomicContext = false [11:58:02.127] pstate = 0x56512b557c70 [11:58:02.127] readonly_flags = [11:58:02.127] __func__ = "standard_ProcessUtility" [11:58:02.127] #25 0x00005651273022e4 in ProcessUtility (pstmt=pstmt@entry=0x56512b553960, queryString=, readOnlyTree=, context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=, dest=0x565127b434a0 , qc=0x7fffe4e05110) at ../src/backend/tcop/utility.c:523 [11:58:02.127] No locals. [11:58:02.127] #26 0x00005651272fdc09 in PortalRunUtility (portal=portal@entry=0x56512b3fea60, pstmt=pstmt@entry=0x56512b553960, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x565127b434a0 , qc=qc@entry=0x7fffe4e05110) at ../src/backend/tcop/pquery.c:1184 [11:58:02.127] No locals. [11:58:02.127] #27 0x00005651272fe20d in PortalRunMulti (portal=portal@entry=0x56512b3fea60, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x565127b434a0 , altdest=altdest@entry=0x565127b434a0 , qc=qc@entry=0x7fffe4e05110) at ../src/backend/tcop/pquery.c:1348 [11:58:02.127] pstmt = 0x56512b553960 [11:58:02.127] stmtlist_item__state = [11:58:02.127] active_snapshot_set = false [11:58:02.127] stmtlist_item = 0x56512b553ce8 [11:58:02.127] query_index = 0 [11:58:02.127] #28 0x00005651272fe78c in PortalRun (portal=portal@entry=0x56512b3fea60, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, dest=dest@entry=0x565127b434a0 , altdest=altdest@entry=0x565127b434a0 , qc=qc@entry=0x7fffe4e05110) at ../src/backend/tcop/pquery.c:819 [11:58:02.127] _save_exception_stack = 0x7fffe4e051c0 [11:58:02.127] _save_context_stack = 0x0 [11:58:02.127] _local_sigjmp_buf = {{__jmpbuf = {0, -7485076729233166276, 94906617948768, 94906619345192, 94906619345168, 94906619345120, -3800425693431222212, -7485075588445654980}, __mask_was_saved = 0, __saved_mask = {__val = {1, 140737033293983, 94906619345168, 94906619345120, 94906552609855, 94906555307437, 94906617948768, 94906555732990, 1, 1, 0, 34, 94906617948768, 0, 34, 94906617948768}}}} [11:58:02.127] _do_rethrow = [11:58:02.127] result = [11:58:02.127] nprocessed = [11:58:02.127] saveTopTransactionResourceOwner = 0x56512b3f6da8 [11:58:02.127] saveTopTransactionContext = 0x56512b458a10 [11:58:02.127] saveActivePortal = 0x0 [11:58:02.127] saveResourceOwner = 0x56512b3f6da8 [11:58:02.127] savePortalContext = 0x0 [11:58:02.127] saveMemoryContext = 0x56512b458a10 [11:58:02.127] __func__ = "PortalRun" [11:58:02.127] #29 0x00005651272f79b2 in exec_simple_query (query_string=query_string@entry=0x56512b552c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n") at ../src/backend/tcop/postgres.c:1272 [11:58:02.127] cmdtaglen = 11 [11:58:02.127] snapshot_set = [11:58:02.127] per_parsetree_context = 0x0 [11:58:02.127] plantree_list = 0x56512b553cd0 [11:58:02.127] parsetree = 0x56512b5538e0 [11:58:02.127] commandTag = [11:58:02.127] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [11:58:02.127] querytree_list = [11:58:02.127] portal = 0x56512b3fea60 [11:58:02.127] receiver = 0x565127b434a0 [11:58:02.127] format = 0 [11:58:02.127] cmdtagname = [11:58:02.127] parsetree_item__state = [11:58:02.127] dest = DestDebug [11:58:02.127] oldcontext = 0x56512b458a10 [11:58:02.127] parsetree_list = 0x56512b553910 [11:58:02.127] parsetree_item = 0x56512b553928 [11:58:02.127] save_log_statement_stats = false [11:58:02.127] was_logged = false [11:58:02.127] use_implicit_block = false [11:58:02.127] msec_str = "\220T\340\344\377\177\000\000\353\300['QV\000\000\240Q\340\344\377\177\000\000D\000\000\000\000\000\000" [11:58:02.127] __func__ = "exec_simple_query" [11:58:02.127] #30 0x00005651272fa714 in PostgresMain (dbname=, username=username@entry=0x56512b325280 "postgres") at ../src/backend/tcop/postgres.c:4693 [11:58:02.127] query_string = 0x56512b552c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n" [11:58:02.127] firstchar = [11:58:02.127] input_message = {data = 0x56512b552c40 "ALTER TABLE pg_proc ADD PRIMARY KEY USING INDEX pg_proc_oid_index;\n", len = 68, maxlen = 1024, cursor = 68} [11:58:02.127] local_sigjmp_buf = {{__jmpbuf = {94906565708792, -7485064551671287748, 94906617057920, 140737033294992, 94906558303704, 140107890278432, -3800425693498331076, -7485075592480575428}, __mask_was_saved = 1, __saved_mask = {__val = {0, 94906617256256, 17408, 94906565702848, 94906617733088, 94906558303704, 94906552788249, 665963992, 10, 140737033294524, 94906565708800, 94906617256256, 94906565702848, 140737033294992, 94906558303704, 140107890278432}}}} [11:58:02.127] send_ready_for_query = false [11:58:02.127] idle_in_transaction_timeout_enabled = false [11:58:02.127] idle_session_timeout_enabled = false [11:58:02.127] __func__ = "PostgresMain" [11:58:02.127] #31 0x00005651272fac8c in PostgresSingleUserMain (argc=argc@entry=12, argv=argv@entry=0x56512b355880, username=0x56512b325280 "postgres") at ../src/backend/tcop/postgres.c:4132 [11:58:02.127] dbname = 0x56512b398600 "template1" [11:58:02.127] __func__ = "PostgresSingleUserMain" [11:58:02.127] #32 0x0000565126fd8e97 in main (argc=12, argv=0x56512b355880) at ../src/backend/main/main.c:226 [11:58:02.127] do_check_root = [11:58:02.127] dispatch_option =