[03:23:02.450] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [03:23:02.813] dumping /tmp/cores/postgres.18873.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:02.941] [New LWP 100121] [03:23:03.031] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:23:03.031] Program terminated with signal SIGABRT, Aborted. [03:23:03.031] Sent by thr_kill() from pid 18873 and user 1003. [03:23:03.031] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:03.644] To enable execution of this file add [03:23:03.644] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:03.644] line to your configuration file "/.config/gdb/gdbinit". [03:23:03.644] To completely disable this security protection add [03:23:03.644] set auto-load safe-path / [03:23:03.644] line to your configuration file "/.config/gdb/gdbinit". [03:23:03.644] For more information about this security protection see the [03:23:03.644] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:03.644] info "(gdb)Auto-loading safe path" [03:23:03.644] [03:23:03.644] Thread 1 (LWP 100121): [03:23:03.644] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:03.644] No symbol table info available. [03:23:03.644] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:03.644] No symbol table info available. [03:23:03.644] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:03.644] No symbol table info available. [03:23:03.644] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x8476b6e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:03.644] No locals. [03:23:03.644] #4 0x00000008476c0063 in PLy_generate_spi_exceptions (mod=0x847bc9ad0, base=0x842e67010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:03.644] dict = [03:23:03.644] found = true [03:23:03.644] sqlstate = [03:23:03.644] exc = 0x842ebfc10 [03:23:03.644] entry = 0x0 [03:23:03.644] i = 66 [03:23:03.644] #5 PLy_add_exceptions (plpy=0x847116c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:03.644] hash_ctl = {num_partitions = 35551350128, ssize = 7, dsize = 2, max_dsize = 34919011520, keysize = 4, entrysize = 16, hash = 0x8470b0d40, match = 0x8470b0d40, keycopy = 0x847bb1000, alloc = 0x84710e0f0, hcxt = 0x8495e5ac0 <_PyRuntime+166184>, hctl = 0x82155d510} [03:23:03.644] excmod = 0x847bc9ad0 [03:23:03.644] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:03.644] m = 0x847116c50 [03:23:03.644] #7 0x00000008493f1f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #8 0x00000008493f02e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #9 0x0000000849310c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #10 0x00000008493bad9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #11 0x00000008493bd795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #12 0x00000008492be90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #13 0x00000008492be705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #14 0x00000008493ec284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #15 0x00000008493a4996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #16 0x0000000849310e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #17 0x00000008492bd538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #18 0x00000008492bd467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #19 0x00000008493ebb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #20 0x00000008493ecef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:03.644] No symbol table info available. [03:23:03.644] #21 0x00000008476bf476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:03.644] inited = false [03:23:03.644] #22 0x00000008476bf3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:03.644] funcoid = 16457 [03:23:03.644] tuple = [03:23:03.644] is_trigger = [03:23:03.644] procStruct = [03:23:03.644] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155dc98, collation=0, arg1=16457) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:03.644] fcinfodata = {fcinfo = {flinfo = 0x82155dc98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155dce8}, fcinfo_data = "\230\334U!\b", '\000' , "\001\000I@", '\000' } [03:23:03.644] fcinfo = 0x82155dcc8 [03:23:03.644] result = [03:23:03.644] __error = [03:23:03.644] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=16457) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:03.644] flinfo = {fn_addr = 0x8476bf370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835a0b400, fn_expr = 0x0} [03:23:03.644] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x835b4e060 "stupid", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8359fefd8 "return \"zarkon\"", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x835a48bb0, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:03.644] set_items = [03:23:03.644] save_nestlevel = 0 [03:23:03.644] myself = {classId = 1255, objectId = 16457, objectSubId = 0} [03:23:03.644] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:23:03.644] values = {16457, 34919013664, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35259714480, 0, 0, 0, 0, 0, 35259714552, 0, 0, 0, 0} [03:23:03.644] replaces = {true } [03:23:03.644] procname = {data = "stupid", '\000' } [03:23:03.644] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [03:23:03.644] paramModes = [03:23:03.644] variadicType = [03:23:03.644] proacl = 0x0 [03:23:03.644] parameterCount = [03:23:03.644] allParamCount = 0 [03:23:03.644] allParams = 0x835a48bc8 [03:23:03.644] detailmsg = [03:23:03.644] i = [03:23:03.644] rel = 0x835b291c8 [03:23:03.644] tupDesc = 0x835b293d8 [03:23:03.644] oldtup = 0x0 [03:23:03.644] tup = 0x835a48948 [03:23:03.644] is_update = [03:23:03.644] retval = 16457 [03:23:03.644] addrs = [03:23:03.644] trfid = [03:23:03.644] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x835a0b500, stmt=, stmt@entry=0x835b4e010) at ../src/backend/commands/functioncmds.c:1257 [03:23:03.644] funcname = 0x835b4e060 "stupid" [03:23:03.644] parameterTypes = 0x835a48bb0 [03:23:03.644] parameterTypes_list = 0x0 [03:23:03.644] allParameterTypes = 0x0 [03:23:03.644] parameterModes = 0x0 [03:23:03.644] parameterNames = 0x0 [03:23:03.644] inParameterNames_list = 0x0 [03:23:03.644] parameterDefaults = 0x0 [03:23:03.644] variadicArgType = 0 [03:23:03.644] requiredResultType = 0 [03:23:03.644] transformDefElem = [03:23:03.644] trftypes_list = [03:23:03.644] namespaceId = 2200 [03:23:03.644] aclresult = [03:23:03.644] as_clause = [03:23:03.644] language = [03:23:03.644] isWindowFunc = false [03:23:03.644] isStrict = false [03:23:03.644] security = false [03:23:03.644] isLeakProof = [03:23:03.644] volatility = 118 'v' [03:23:03.644] proconfig = 0x0 [03:23:03.644] procost = 100 [03:23:03.644] prorows = 0 [03:23:03.644] prosupport = 0 [03:23:03.644] parallel = 117 'u' [03:23:03.644] languageTuple = [03:23:03.644] languageStruct = [03:23:03.644] languageOid = 16456 [03:23:03.644] languageValidator = 16455 [03:23:03.644] prorettype = 25 [03:23:03.644] returnsSet = false [03:23:03.644] trftypes = 0x0 [03:23:03.644] prosqlbody = 0x0 [03:23:03.644] probin_str = 0x0 [03:23:03.644] prosrc_str = 0x8359fefd8 "return \"zarkon\"" [03:23:03.644] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x835a0b500, pstmt=pstmt@entry=0x8359feb88, queryString=queryString@entry=0x8359fd100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1655 [03:23:03.644] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34919014664, 34919015040, 34919014672, 12139528, 0, 35259462912, 35260728191, 10, 0, 549755813888}}} [03:23:03.644] _save_exception_stack = 0x82155e3e0 [03:23:03.644] _save_context_stack = 0x0 [03:23:03.644] _do_rethrow = false [03:23:03.644] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:03.644] parsetree = 0x835b4e010 [03:23:03.644] commandCollected = false [03:23:03.644] needCleanup = false [03:23:03.644] address = [03:23:03.644] isTopLevel = [03:23:03.644] isCompleteQuery = [03:23:03.644] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x8359feb88, queryString=0x8359fd100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8359fef48, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1030 [03:23:03.644] isAtomicContext = false [03:23:03.644] parsetree = 0x835b4e010 [03:23:03.644] readonly_flags = [03:23:03.644] pstate = 0x835a0b500 [03:23:03.644] isTopLevel = [03:23:03.644] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x18719, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x8359fef48, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:03.644] No locals. [03:23:03.644] #30 0x0000000000904113 in PortalRunUtility (portal=0x835ad2100, pstmt=0x8359feb88, isTopLevel=, setHoldSnapshot=, dest=0x8359fef48, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:03.644] No locals. [03:23:03.644] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad2100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8359fef48, altdest=altdest@entry=0x8359fef48, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:03.644] pstmt = 0x8359feb88 [03:23:03.644] stmtlist_item__state = {l = 0x835b4e3e8, i = 0} [03:23:03.644] active_snapshot_set = false [03:23:03.644] stmtlist_item = 0x835b4e400 [03:23:03.644] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad2100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8359fef48, altdest=altdest@entry=0x8359fef48, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:03.644] _local_sigjmp_buf = {{_sjb = {9449453, 35260276992, 34919015384, 34919015616, 34919015392, 35260293120, 12106216, 12139528, 35260269439, 35259412216, 4294967984, 0}}} [03:23:03.644] _save_exception_stack = 0x82155e5b0 [03:23:03.644] _save_context_stack = 0x0 [03:23:03.644] _do_rethrow = false [03:23:03.644] saveTopTransactionResourceOwner = 0x835ade718 [03:23:03.644] saveTopTransactionContext = 0x835ad6000 [03:23:03.644] saveActivePortal = 0x0 [03:23:03.644] saveResourceOwner = 0x835ade718 [03:23:03.644] savePortalContext = 0x0 [03:23:03.644] saveMemoryContext = 0x835ad6000 [03:23:03.644] result = [03:23:03.644] nprocessed = [03:23:03.644] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:23:03.644] cmdtaglen = 15 [03:23:03.644] snapshot_set = [03:23:03.644] per_parsetree_context = 0x0 [03:23:03.644] plantree_list = [03:23:03.644] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:03.644] format = 0 [03:23:03.644] parsetree = 0x8359fe750 [03:23:03.644] commandTag = [03:23:03.644] cmdtagname = [03:23:03.644] querytree_list = [03:23:03.644] portal = 0x835ad2100 [03:23:03.644] receiver = 0x8359fef48 [03:23:03.644] parsetree_item__state = {l = 0x8359feb38, i = 0} [03:23:03.644] msec_str = "\000\000\000\000\b", '\000' , "B\200\326f\000\000\000\000G.\221\254{\273\326\214" [03:23:03.644] dest = DestRemote [03:23:03.644] was_logged = [03:23:03.644] oldcontext = 0x835ad6000 [03:23:03.644] parsetree_list = 0x8359feb38 [03:23:03.644] use_implicit_block = false [03:23:03.644] parsetree_item = 0x8359feb50 [03:23:03.644] save_log_statement_stats = [03:23:03.644] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:03.644] query_string = 0x8359fd100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;" [03:23:03.644] input_message = {data = 0x8359fd100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", len = 80, maxlen = 1024, cursor = 80} [03:23:03.644] firstchar = [03:23:03.644] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:03.644] send_ready_for_query = false [03:23:03.644] idle_in_transaction_timeout_enabled = false [03:23:03.644] idle_session_timeout_enabled = false [03:23:03.644] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:03.644] bsdata = [03:23:03.644] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:03.644] pid = [03:23:03.644] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:03.644] startup_data = {canAcceptConnections = CAC_OK} [03:23:03.644] bn = 0x835a09088 [03:23:03.644] pid = [03:23:03.644] __error = [03:23:03.644] save_errno = [03:23:03.644] __error = [03:23:03.644] __error = [03:23:03.644] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:03.644] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:03.644] i = 0 [03:23:03.644] now = [03:23:03.644] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:03.644] last_touch_time = 1725333570 [03:23:03.644] last_lockfile_recheck_time = 1725333570 [03:23:03.644] nevents = 1 [03:23:03.644] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:03.644] userDoption = [03:23:03.644] listen_addr_saved = [03:23:03.644] output_config_variable = [03:23:03.644] opt = [03:23:03.644] status = [03:23:03.644] #40 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:03.644] do_check_root = [03:23:03.657] [03:23:03.657] [03:23:03.657] [03:23:03.722] dumping /tmp/cores/postgres.19039.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:03.839] [New LWP 101674] [03:23:03.911] Core was generated by `postgres: postgres regression_plpython [local] DO'. [03:23:03.911] Program terminated with signal SIGABRT, Aborted. [03:23:03.911] Sent by thr_kill() from pid 19039 and user 1003. [03:23:03.911] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:04.477] To enable execution of this file add [03:23:04.477] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:04.477] line to your configuration file "/.config/gdb/gdbinit". [03:23:04.477] To completely disable this security protection add [03:23:04.477] set auto-load safe-path / [03:23:04.477] line to your configuration file "/.config/gdb/gdbinit". [03:23:04.477] For more information about this security protection see the [03:23:04.477] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:04.477] info "(gdb)Auto-loading safe path" [03:23:04.477] [03:23:04.477] Thread 1 (LWP 101674): [03:23:04.477] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:04.477] No symbol table info available. [03:23:04.477] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:04.477] No symbol table info available. [03:23:04.477] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:04.477] No symbol table info available. [03:23:04.477] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x844c46e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:04.477] No locals. [03:23:04.477] #4 0x0000000844c50063 in PLy_generate_spi_exceptions (mod=0x847af5ad0, base=0x841b17010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:04.477] dict = [03:23:04.477] found = true [03:23:04.477] sqlstate = [03:23:04.477] exc = 0x841b27c10 [03:23:04.477] entry = 0x0 [03:23:04.477] i = 66 [03:23:04.477] #5 PLy_add_exceptions (plpy=0x846356c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:04.477] hash_ctl = {num_partitions = 35536932208, ssize = 7, dsize = 2, max_dsize = 34919012352, keysize = 4, entrysize = 16, hash = 0x8462f0d40, match = 0x8462f0d40, keycopy = 0x847adcf80, alloc = 0x84634e070, hcxt = 0x846a0cac0 <_PyRuntime+166184>, hctl = 0x82155d850} [03:23:04.477] excmod = 0x847af5ad0 [03:23:04.477] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:04.477] m = 0x846356c50 [03:23:04.477] #7 0x0000000846818f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #8 0x00000008468172e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #9 0x0000000846737c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #10 0x00000008467e1d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #11 0x00000008467e4795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #12 0x00000008466e590f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #13 0x00000008466e5705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #14 0x0000000846813284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #15 0x00000008467cb996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #16 0x0000000846737e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #17 0x00000008466e4538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #18 0x00000008466e4467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #19 0x0000000846812b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #20 0x0000000846813ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:04.477] No symbol table info available. [03:23:04.477] #21 0x0000000844c4f476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:04.477] inited = false [03:23:04.477] #22 0x0000000844c4f880 in plpython3_inline_handler (fcinfo=0x18d2a) at ../src/pl/plpython/plpy_main.c:272 [03:23:04.477] fake_fcinfodata = {fcinfo = {flinfo = 0x0, context = 0x0, resultinfo = 0x835b0dc80, fncollation = 4, isnull = false, nargs = 0, args = 0x82155e170}, fcinfo_data = '\000' , "\200ܰ5\b\000\000\000\004\000\000\000\000\000\000"} [03:23:04.477] flinfo = {fn_addr = 0x20, fn_oid = 10743840, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 0 '\000', fn_extra = 0x0, fn_mcxt = 0x835a9c400, fn_expr = 0x0} [03:23:04.477] proc = {mcxt = 0x7e0, proname = 0x30 , pyname = 0x82155e050 "\220\340U!\b", fn_xmin = 11050673, fn_tid = {ip_blkid = {bi_hi = 0, bi_lo = 0}, ip_posid = 468}, fn_readonly = false, is_setof = false, is_procedure = false, is_trigger = false, result = {func = 0x20, typoid = 48, typmod = 0, typbyval = 42, typlen = 0, typalign = 0 '\000', mcxt = 0x82155e090, u = {scalar = {typfunc = {fn_addr = 0xa6807c , fn_oid = 0, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 0 '\000', fn_extra = 0x835b57e90, fn_mcxt = 0x0, fn_expr = 0x835b57190}, typioparam = 901083536}, array = {elm = 0xa6807c , elmbasetype = 0}, tuple = {recdesc = 0xa6807c , typentry = 0x0, tupdescid = 35260821760, atts = 0x835b57e90, natts = 0, recinfunc = {fn_addr = 0x835b57190, fn_oid = 901083536, fn_nargs = 8, fn_strict = false, fn_retset = false, fn_stats = 48 '0', fn_extra = 0xa689ce , fn_mcxt = 0x82155e0d0, fn_expr = 0xa89eb1 }}, domain = {base = 0xa6807c , domain_info = 0x0}, transform = {typtransform = {fn_addr = 0xa6807c , fn_oid = 0, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 0 '\000', fn_extra = 0x835b57e90, fn_mcxt = 0x0, fn_expr = 0x835b57190}}}}, result_in = {func = 0x1d4, typoid = 559276476, typmod = 8, typbyval = 160, typlen = 13749, typalign = 8 '\b', mcxt = 0x82155e148, u = {scalar = {typfunc = {fn_addr = 0x835b57100, fn_oid = 10910837, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 96 '`', fn_extra = 0x0, fn_mcxt = 0xb95e80 , fn_expr = 0x835bb8fa8}}, array = {elm = 0x835b57100}, tuple = {recdesc = 0x835b57100, typentry = 0xa67c75 , tupdescid = 5448726624, atts = 0x0, natts = 12148352}, transform = {typtransform = {fn_addr = 0x835b57100, fn_oid = 10910837, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 96 '`', fn_extra = 0x0, fn_mcxt = 0xb95e80 , fn_expr = 0x835bb8fa8}}}}, src = 0x82155e208 "`\370\304D\b", argnames = 0x835bb8fa8, args = 0x82155e130, nargs = 10744239, langid = 0, trftypes = 0x835b93301, code = 0x4046, statics = 0x82155e1f0, globals = 0xa619a3 , calldepth = -4563311449585221630, argstack = 0x800004000} [03:23:04.477] plerrcontext = {previous = 0x0, callback = 0x821de0408, arg = 0x835a48380} [03:23:04.477] fake_fcinfo = 0x82155e150 [03:23:04.477] codeblock = 0x835a0b610 [03:23:04.477] exec_ctx = [03:23:04.477] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155e208, collation=0, arg1=35259463184) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:04.477] fcinfodata = {fcinfo = {flinfo = 0x82155e208, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155e258}, fcinfo_data = "\b\342U!\b", '\000' , "\001\000\020\266\2405\b\000\000\000\000\265\2405\b\000\000"} [03:23:04.477] fcinfo = 0x82155e238 [03:23:04.477] result = [03:23:04.477] __error = [03:23:04.477] #24 OidFunctionCall1Coll (functionId=, collation=collation@entry=0, arg1=35259463184) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:04.477] flinfo = {fn_addr = 0x844c4f860 , fn_oid = 16454, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835a0b400, fn_expr = 0x0} [03:23:04.477] #25 0x00000000006bf034 in ExecuteDoStmt (pstate=0x8359fd100, pstate@entry=0x835a0b500, stmt=stmt@entry=0x835a9c248, atomic=8) at ../src/backend/commands/functioncmds.c:2156 [03:23:04.477] codeblock = 0x6 [03:23:04.477] as_item = 0x0 [03:23:04.477] language_item = [03:23:04.477] arg = [03:23:04.477] language = [03:23:04.477] languageTuple = [03:23:04.477] languageStruct = [03:23:04.477] laninline = 101674 [03:23:04.477] #26 0x0000000000904813 in standard_ProcessUtility (pstmt=0x8359fee30, queryString=0x8359fd100 "DO $$ plpy.notice(\"This is plpython3u.\") $$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8359fef40, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:707 [03:23:04.477] isAtomicContext = false [03:23:04.477] parsetree = 0x835a9c248 [03:23:04.477] readonly_flags = [03:23:04.477] pstate = 0x835a0b500 [03:23:04.477] isTopLevel = [03:23:04.477] #27 0x00000000009045d8 in ProcessUtility (pstmt=0x18d2a, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x8359fef40, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:04.477] No locals. [03:23:04.477] #28 0x0000000000904113 in PortalRunUtility (portal=0x835ad2100, pstmt=0x8359fee30, isTopLevel=, setHoldSnapshot=, dest=0x8359fef40, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:04.477] No locals. [03:23:04.477] #29 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad2100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8359fef40, altdest=altdest@entry=0x8359fef40, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:04.477] pstmt = 0x8359fee30 [03:23:04.477] stmtlist_item__state = {l = 0x835a9c490, i = 0} [03:23:04.477] active_snapshot_set = false [03:23:04.477] stmtlist_item = 0x835a9c4a8 [03:23:04.477] #30 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad2100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8359fef40, altdest=altdest@entry=0x8359fef40, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:04.477] _local_sigjmp_buf = {{_sjb = {9449453, 35260276992, 34919015384, 34919015616, 34919015392, 35260342272, 12106216, 12139528, 35260269439, 35259410904, 4294967984, 0}}} [03:23:04.477] _save_exception_stack = 0x82155e5b0 [03:23:04.477] _save_context_stack = 0x0 [03:23:04.477] _do_rethrow = false [03:23:04.477] saveTopTransactionResourceOwner = 0x835adc160 [03:23:04.477] saveTopTransactionContext = 0x835ae2000 [03:23:04.477] saveActivePortal = 0x0 [03:23:04.477] saveResourceOwner = 0x835adc160 [03:23:04.477] savePortalContext = 0x0 [03:23:04.477] saveMemoryContext = 0x835ae2000 [03:23:04.477] result = [03:23:04.477] nprocessed = [03:23:04.477] #31 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "DO $$ plpy.notice(\"This is plpython3u.\") $$ LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:23:04.477] cmdtaglen = 2 [03:23:04.477] snapshot_set = [03:23:04.477] per_parsetree_context = 0x0 [03:23:04.477] plantree_list = [03:23:04.477] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:04.477] format = 0 [03:23:04.477] parsetree = 0x8359fe3f0 [03:23:04.477] commandTag = [03:23:04.477] cmdtagname = [03:23:04.477] querytree_list = [03:23:04.477] portal = 0x835ad2100 [03:23:04.477] receiver = 0x8359fef40 [03:23:04.477] parsetree_item__state = {l = 0x8359fe618, i = 0} [03:23:04.477] msec_str = "\000\000\000\000\b", '\000' , "D\200\326f\000\000\000\000\331\b\266\233\363\305", [03:23:04.477] dest = DestRemote [03:23:04.477] was_logged = [03:23:04.477] oldcontext = 0x835ae2000 [03:23:04.477] parsetree_list = 0x8359fe618 [03:23:04.477] use_implicit_block = false [03:23:04.477] parsetree_item = 0x8359fe630 [03:23:04.477] save_log_statement_stats = [03:23:04.477] #32 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:04.477] query_string = 0x8359fd100 "DO $$ plpy.notice(\"This is plpython3u.\") $$ LANGUAGE plpython3u;" [03:23:04.477] input_message = {data = 0x8359fd100 "DO $$ plpy.notice(\"This is plpython3u.\") $$ LANGUAGE plpython3u;", len = 65, maxlen = 1024, cursor = 65} [03:23:04.477] firstchar = [03:23:04.477] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:04.477] send_ready_for_query = false [03:23:04.477] idle_in_transaction_timeout_enabled = false [03:23:04.477] idle_session_timeout_enabled = false [03:23:04.477] #33 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:04.477] bsdata = [03:23:04.477] #34 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:04.477] pid = [03:23:04.477] #35 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:04.477] startup_data = {canAcceptConnections = CAC_OK} [03:23:04.477] bn = 0x8359fef00 [03:23:04.477] pid = [03:23:04.477] __error = [03:23:04.477] save_errno = [03:23:04.477] __error = [03:23:04.477] __error = [03:23:04.477] #36 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:04.477] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:04.477] i = 0 [03:23:04.477] now = [03:23:04.477] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:04.477] last_touch_time = 1725333570 [03:23:04.477] last_lockfile_recheck_time = 1725333570 [03:23:04.477] nevents = 1 [03:23:04.477] #37 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:04.477] userDoption = [03:23:04.477] listen_addr_saved = [03:23:04.477] output_config_variable = [03:23:04.477] opt = [03:23:04.477] status = [03:23:04.477] #38 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:04.477] do_check_root = [03:23:04.489] [03:23:04.489] [03:23:04.489] [03:23:04.556] dumping /tmp/cores/postgres.19632.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:04.678] [New LWP 100606] [03:23:04.747] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:23:04.747] Program terminated with signal SIGABRT, Aborted. [03:23:04.747] Sent by thr_kill() from pid 19632 and user 1003. [03:23:04.747] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:05.322] To enable execution of this file add [03:23:05.322] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:05.322] line to your configuration file "/.config/gdb/gdbinit". [03:23:05.322] To completely disable this security protection add [03:23:05.322] set auto-load safe-path / [03:23:05.322] line to your configuration file "/.config/gdb/gdbinit". [03:23:05.322] For more information about this security protection see the [03:23:05.322] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:05.322] info "(gdb)Auto-loading safe path" [03:23:05.322] [03:23:05.322] Thread 1 (LWP 100606): [03:23:05.322] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:05.322] No symbol table info available. [03:23:05.322] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:05.322] No symbol table info available. [03:23:05.322] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:05.322] No symbol table info available. [03:23:05.322] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x846e90e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:05.322] No locals. [03:23:05.322] #4 0x0000000846e9a063 in PLy_generate_spi_exceptions (mod=0x84b211ad0, base=0x84300c010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:05.322] dict = [03:23:05.322] found = true [03:23:05.322] sqlstate = [03:23:05.322] exc = 0x8430c0c10 [03:23:05.322] entry = 0x0 [03:23:05.322] i = 66 [03:23:05.322] #5 PLy_add_exceptions (plpy=0x849ebec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:05.322] hash_ctl = {num_partitions = 35599224176, ssize = 7, dsize = 2, max_dsize = 34919011520, keysize = 4, entrysize = 16, hash = 0x849e58d40, match = 0x849e58d40, keycopy = 0x849ec0f80, alloc = 0x849eb6070, hcxt = 0x84977cac0 <_PyRuntime+166184>, hctl = 0x82155d510} [03:23:05.322] excmod = 0x84b211ad0 [03:23:05.322] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:05.322] m = 0x849ebec50 [03:23:05.322] #7 0x0000000849588f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #8 0x00000008495872e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #9 0x00000008494a7c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #10 0x0000000849551d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #11 0x0000000849554795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #12 0x000000084945590f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #13 0x0000000849455705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #14 0x0000000849583284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #15 0x000000084953b996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #16 0x00000008494a7e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #17 0x0000000849454538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #18 0x0000000849454467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #19 0x0000000849582b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #20 0x0000000849583ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:05.322] No symbol table info available. [03:23:05.322] #21 0x0000000846e99476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:05.322] inited = false [03:23:05.322] #22 0x0000000846e993a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:05.322] funcoid = 24576 [03:23:05.322] tuple = [03:23:05.322] is_trigger = [03:23:05.322] procStruct = [03:23:05.322] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155dc98, collation=0, arg1=24576) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:05.322] fcinfodata = {fcinfo = {flinfo = 0x82155dc98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155dce8}, fcinfo_data = "\230\334U!\b", '\000' , "\001\000\000`", '\000' } [03:23:05.322] fcinfo = 0x82155dcc8 [03:23:05.322] result = [03:23:05.322] __error = [03:23:05.322] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=24576) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:05.322] flinfo = {fn_addr = 0x846e99370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835a0b400, fn_expr = 0x0} [03:23:05.322] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x835a9d408 "global_test_one", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x835a9d5d8 "if \"global_test\" not in SD:\n\tSD[\"global_test\"] = \"set by global_test_one\"\nif \"global_test\" not in GD:\n\tGD[\"global_test\"] = \"set by global_test_one\"\nreturn \"SD: \" + SD[\"global_test\"] + \", GD: \" + GD[\"g"..., probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x835a483b0, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:05.322] set_items = [03:23:05.322] save_nestlevel = 0 [03:23:05.322] myself = {classId = 1255, objectId = 24576, objectSubId = 0} [03:23:05.322] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:23:05.322] values = {24576, 34919013664, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35259712432, 0, 0, 0, 0, 0, 35259711544, 0, 0, 0, 0} [03:23:05.322] replaces = {true } [03:23:05.322] procname = {data = "global_test_one", '\000' } [03:23:05.322] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [03:23:05.322] paramModes = [03:23:05.322] variadicType = [03:23:05.322] proacl = 0x0 [03:23:05.322] parameterCount = [03:23:05.322] allParamCount = 0 [03:23:05.322] allParams = 0x835a483c8 [03:23:05.322] detailmsg = [03:23:05.322] i = [03:23:05.322] rel = 0x835b29918 [03:23:05.322] tupDesc = 0x835b29c38 [03:23:05.322] oldtup = 0x0 [03:23:05.322] tup = 0x835b93038 [03:23:05.322] is_update = [03:23:05.322] retval = 24576 [03:23:05.322] addrs = [03:23:05.322] trfid = [03:23:05.322] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x835a0b500, stmt=, stmt@entry=0x835a9d3b8) at ../src/backend/commands/functioncmds.c:1257 [03:23:05.322] funcname = 0x835a9d408 "global_test_one" [03:23:05.322] parameterTypes = 0x835a483b0 [03:23:05.322] parameterTypes_list = 0x0 [03:23:05.322] allParameterTypes = 0x0 [03:23:05.322] parameterModes = 0x0 [03:23:05.322] parameterNames = 0x0 [03:23:05.322] inParameterNames_list = 0x0 [03:23:05.322] parameterDefaults = 0x0 [03:23:05.322] variadicArgType = 0 [03:23:05.322] requiredResultType = 0 [03:23:05.322] transformDefElem = [03:23:05.322] trftypes_list = [03:23:05.322] namespaceId = 2200 [03:23:05.322] aclresult = [03:23:05.322] as_clause = [03:23:05.322] language = [03:23:05.322] isWindowFunc = false [03:23:05.322] isStrict = false [03:23:05.322] security = false [03:23:05.322] isLeakProof = [03:23:05.322] volatility = 118 'v' [03:23:05.322] proconfig = 0x0 [03:23:05.322] procost = 100 [03:23:05.322] prorows = 0 [03:23:05.322] prosupport = 0 [03:23:05.322] parallel = 117 'u' [03:23:05.322] languageTuple = [03:23:05.322] languageStruct = [03:23:05.322] languageOid = 16456 [03:23:05.322] languageValidator = 16455 [03:23:05.322] prorettype = 25 [03:23:05.322] returnsSet = false [03:23:05.322] trftypes = 0x0 [03:23:05.322] prosqlbody = 0x0 [03:23:05.322] probin_str = 0x0 [03:23:05.322] prosrc_str = 0x835a9d5d8 "if \"global_test\" not in SD:\n\tSD[\"global_test\"] = \"set by global_test_one\"\nif \"global_test\" not in GD:\n\tGD[\"global_test\"] = \"set by global_test_one\"\nreturn \"SD: \" + SD[\"global_test\"] + \", GD: \" + GD[\"g"... [03:23:05.322] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x835a0b500, pstmt=pstmt@entry=0x835a9d8a8, queryString=queryString@entry=0x8359fd100 "CREATE FUNCTION global_test_one() returns text\n AS\n'if \"global_test\" not in SD:\n\tSD[\"global_test\"] = \"set by global_test_one\"\nif \"global_test\" not in GD:\n\tGD[\"global_test\"] = \"set by global_test_on"..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1655 [03:23:05.322] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34919014664, 34919015040, 34919014672, 12139528, 0, 35259462912, 35260007295, 10, 0, 549755813888}}} [03:23:05.322] _save_exception_stack = 0x82155e3e0 [03:23:05.322] _save_context_stack = 0x0 [03:23:05.322] _do_rethrow = false [03:23:05.322] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:05.322] parsetree = 0x835a9d3b8 [03:23:05.322] commandCollected = false [03:23:05.322] needCleanup = false [03:23:05.322] address = [03:23:05.322] isTopLevel = [03:23:05.322] isCompleteQuery = [03:23:05.322] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x835a9d8a8, queryString=0x8359fd100 "CREATE FUNCTION global_test_one() returns text\n AS\n'if \"global_test\" not in SD:\n\tSD[\"global_test\"] = \"set by global_test_one\"\nif \"global_test\" not in GD:\n\tGD[\"global_test\"] = \"set by global_test_on"..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x835a9da08, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1030 [03:23:05.322] isAtomicContext = false [03:23:05.322] parsetree = 0x835a9d3b8 [03:23:05.322] readonly_flags = [03:23:05.322] pstate = 0x835a0b500 [03:23:05.322] isTopLevel = [03:23:05.322] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x188fe, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x835a9da08, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:05.322] No locals. [03:23:05.322] #30 0x0000000000904113 in PortalRunUtility (portal=0x835ad2100, pstmt=0x835a9d8a8, isTopLevel=, setHoldSnapshot=, dest=0x835a9da08, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:05.322] No locals. [03:23:05.322] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad2100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x835a9da08, altdest=altdest@entry=0x835a9da08, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:05.322] pstmt = 0x835a9d8a8 [03:23:05.322] stmtlist_item__state = {l = 0x835a9d9b8, i = 0} [03:23:05.322] active_snapshot_set = false [03:23:05.322] stmtlist_item = 0x835a9d9d0 [03:23:05.322] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad2100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x835a9da08, altdest=altdest@entry=0x835a9da08, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:05.322] _local_sigjmp_buf = {{_sjb = {9449453, 35260276992, 34919015384, 34919015616, 34919015392, 35260342272, 12106216, 12139528, 35260269439, 35260056488, 4294967984, 0}}} [03:23:05.322] _save_exception_stack = 0x82155e5b0 [03:23:05.322] _save_context_stack = 0x0 [03:23:05.322] _do_rethrow = false [03:23:05.322] saveTopTransactionResourceOwner = 0x835ade7e8 [03:23:05.322] saveTopTransactionContext = 0x835ae2000 [03:23:05.322] saveActivePortal = 0x0 [03:23:05.322] saveResourceOwner = 0x835ade7e8 [03:23:05.322] savePortalContext = 0x0 [03:23:05.322] saveMemoryContext = 0x835ae2000 [03:23:05.322] result = [03:23:05.322] nprocessed = [03:23:05.322] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "CREATE FUNCTION global_test_one() returns text\n AS\n'if \"global_test\" not in SD:\n\tSD[\"global_test\"] = \"set by global_test_one\"\nif \"global_test\" not in GD:\n\tGD[\"global_test\"] = \"set by global_test_on"...) at ../src/backend/tcop/postgres.c:1284 [03:23:05.322] cmdtaglen = 15 [03:23:05.322] snapshot_set = [03:23:05.322] per_parsetree_context = 0x0 [03:23:05.322] plantree_list = [03:23:05.322] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:05.322] format = 0 [03:23:05.322] parsetree = 0x8359feac0 [03:23:05.322] commandTag = [03:23:05.322] cmdtagname = [03:23:05.322] querytree_list = [03:23:05.322] portal = 0x835ad2100 [03:23:05.322] receiver = 0x835a9da08 [03:23:05.322] parsetree_item__state = {l = 0x8359fef90, i = 0} [03:23:05.322] msec_str = "\000\000\000\000\b", '\000' , "G\200\326f\000\000\000\000\273\277~\210\321Πg" [03:23:05.322] dest = DestRemote [03:23:05.322] was_logged = [03:23:05.322] oldcontext = 0x835ae2000 [03:23:05.322] parsetree_list = 0x8359fef90 [03:23:05.322] use_implicit_block = false [03:23:05.322] parsetree_item = 0x8359fefa8 [03:23:05.322] save_log_statement_stats = [03:23:05.322] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:05.322] query_string = 0x8359fd100 "CREATE FUNCTION global_test_one() returns text\n AS\n'if \"global_test\" not in SD:\n\tSD[\"global_test\"] = \"set by global_test_one\"\nif \"global_test\" not in GD:\n\tGD[\"global_test\"] = \"set by global_test_on"... [03:23:05.322] input_message = {data = 0x8359fd100 "CREATE FUNCTION global_test_one() returns text\n AS\n'if \"global_test\" not in SD:\n\tSD[\"global_test\"] = \"set by global_test_one\"\nif \"global_test\" not in GD:\n\tGD[\"global_test\"] = \"set by global_test_on"..., len = 294, maxlen = 1024, cursor = 294} [03:23:05.322] firstchar = [03:23:05.322] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:05.322] send_ready_for_query = false [03:23:05.322] idle_in_transaction_timeout_enabled = false [03:23:05.322] idle_session_timeout_enabled = false [03:23:05.322] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:05.322] bsdata = [03:23:05.322] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:05.322] pid = [03:23:05.322] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:05.322] startup_data = {canAcceptConnections = CAC_OK} [03:23:05.322] bn = 0x8359fef00 [03:23:05.322] pid = [03:23:05.322] __error = [03:23:05.322] save_errno = [03:23:05.322] __error = [03:23:05.322] __error = [03:23:05.322] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:05.322] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:05.322] i = 0 [03:23:05.322] now = [03:23:05.322] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:05.322] last_touch_time = 1725333570 [03:23:05.322] last_lockfile_recheck_time = 1725333570 [03:23:05.322] nevents = 1 [03:23:05.322] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:05.322] userDoption = [03:23:05.322] listen_addr_saved = [03:23:05.322] output_config_variable = [03:23:05.322] opt = [03:23:05.322] status = [03:23:05.322] #40 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:05.322] do_check_root = [03:23:05.333] [03:23:05.333] [03:23:05.333] [03:23:05.397] dumping /tmp/cores/postgres.19877.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:05.516] [New LWP 101600] [03:23:05.585] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:23:05.585] Program terminated with signal SIGABRT, Aborted. [03:23:05.585] Sent by thr_kill() from pid 19877 and user 1003. [03:23:05.585] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:06.154] To enable execution of this file add [03:23:06.154] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:06.154] line to your configuration file "/.config/gdb/gdbinit". [03:23:06.154] To completely disable this security protection add [03:23:06.154] set auto-load safe-path / [03:23:06.154] line to your configuration file "/.config/gdb/gdbinit". [03:23:06.154] For more information about this security protection see the [03:23:06.154] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:06.154] info "(gdb)Auto-loading safe path" [03:23:06.154] [03:23:06.154] Thread 1 (LWP 101600): [03:23:06.154] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:06.154] No symbol table info available. [03:23:06.154] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:06.154] No symbol table info available. [03:23:06.154] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:06.154] No symbol table info available. [03:23:06.154] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x842597e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:06.154] No locals. [03:23:06.154] #4 0x00000008425a1063 in PLy_generate_spi_exceptions (mod=0x849271ad0, base=0x8447b8010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:06.154] dict = [03:23:06.154] found = true [03:23:06.154] sqlstate = [03:23:06.154] exc = 0x84486cc10 [03:23:06.154] entry = 0x0 [03:23:06.154] i = 66 [03:23:06.154] #5 PLy_add_exceptions (plpy=0x84737ec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:06.154] hash_ctl = {num_partitions = 35553873264, ssize = 7, dsize = 2, max_dsize = 34919011520, keysize = 4, entrysize = 16, hash = 0x847318d40, match = 0x847318d40, keycopy = 0x847381000, alloc = 0x8473760f0, hcxt = 0x84537dac0 <_PyRuntime+166184>, hctl = 0x82155d510} [03:23:06.154] excmod = 0x849271ad0 [03:23:06.154] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:06.154] m = 0x84737ec50 [03:23:06.154] #7 0x0000000845189f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #8 0x00000008451882e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #9 0x00000008450a8c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #10 0x0000000845152d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #11 0x0000000845155795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #12 0x000000084505690f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #13 0x0000000845056705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #14 0x0000000845184284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #15 0x000000084513c996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #16 0x00000008450a8e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #17 0x0000000845055538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #18 0x0000000845055467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #19 0x0000000845183b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #20 0x0000000845184ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:06.154] No symbol table info available. [03:23:06.154] #21 0x00000008425a0476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:06.154] inited = false [03:23:06.154] #22 0x00000008425a03a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:06.154] funcoid = 32768 [03:23:06.154] tuple = [03:23:06.154] is_trigger = [03:23:06.154] procStruct = [03:23:06.154] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155dc98, collation=0, arg1=32768) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:06.154] fcinfodata = {fcinfo = {flinfo = 0x82155dc98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155dce8}, fcinfo_data = "\230\334U!\b", '\000' , "\001\000\000\200", '\000' } [03:23:06.154] fcinfo = 0x82155dcc8 [03:23:06.154] result = [03:23:06.154] __error = [03:23:06.154] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=32768) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:06.154] flinfo = {fn_addr = 0x8425a0370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835a0b400, fn_expr = 0x0} [03:23:06.154] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x835a9d0d8 "newline_lf", procNamespace=procNamespace@entry=2200, replace=true, returnsSet=, returnType=23, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x835a9d2e8 "x = 100\ny = 23\nreturn x + y\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x835a483b0, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:06.154] set_items = [03:23:06.154] save_nestlevel = 0 [03:23:06.154] myself = {classId = 1255, objectId = 32768, objectSubId = 0} [03:23:06.154] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:23:06.154] values = {32768, 34919013664, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 23, 35259712432, 0, 0, 0, 0, 0, 35259712504, 0, 0, 0, 0} [03:23:06.154] replaces = {true } [03:23:06.154] procname = {data = "newline_lf", '\000' } [03:23:06.154] referenced = {classId = 1247, objectId = 23, objectSubId = 0} [03:23:06.154] paramModes = [03:23:06.154] variadicType = [03:23:06.154] proacl = 0x0 [03:23:06.154] parameterCount = [03:23:06.154] allParamCount = 0 [03:23:06.154] allParams = 0x835a483c8 [03:23:06.154] detailmsg = [03:23:06.154] i = [03:23:06.154] rel = 0x835b297d8 [03:23:06.154] tupDesc = 0x835b29af8 [03:23:06.154] oldtup = 0x0 [03:23:06.154] tup = 0x835a48258 [03:23:06.154] is_update = [03:23:06.154] retval = 32768 [03:23:06.154] addrs = [03:23:06.154] trfid = [03:23:06.154] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x835a0b500, stmt=, stmt@entry=0x835a9d088) at ../src/backend/commands/functioncmds.c:1257 [03:23:06.154] funcname = 0x835a9d0d8 "newline_lf" [03:23:06.154] parameterTypes = 0x835a483b0 [03:23:06.154] parameterTypes_list = 0x0 [03:23:06.154] allParameterTypes = 0x0 [03:23:06.154] parameterModes = 0x0 [03:23:06.154] parameterNames = 0x0 [03:23:06.154] inParameterNames_list = 0x0 [03:23:06.154] parameterDefaults = 0x0 [03:23:06.154] variadicArgType = 0 [03:23:06.154] requiredResultType = 0 [03:23:06.154] transformDefElem = [03:23:06.154] trftypes_list = [03:23:06.154] namespaceId = 2200 [03:23:06.154] aclresult = [03:23:06.154] as_clause = [03:23:06.154] language = [03:23:06.154] isWindowFunc = false [03:23:06.154] isStrict = false [03:23:06.154] security = false [03:23:06.154] isLeakProof = [03:23:06.154] volatility = 118 'v' [03:23:06.154] proconfig = 0x0 [03:23:06.154] procost = 100 [03:23:06.154] prorows = 0 [03:23:06.154] prosupport = 0 [03:23:06.154] parallel = 117 'u' [03:23:06.154] languageTuple = [03:23:06.154] languageStruct = [03:23:06.154] languageOid = 16456 [03:23:06.154] languageValidator = 16455 [03:23:06.154] prorettype = 23 [03:23:06.154] returnsSet = false [03:23:06.154] trftypes = 0x0 [03:23:06.154] prosqlbody = 0x0 [03:23:06.154] probin_str = 0x0 [03:23:06.154] prosrc_str = 0x835a9d2e8 "x = 100\ny = 23\nreturn x + y\n" [03:23:06.154] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x835a0b500, pstmt=pstmt@entry=0x8359fec68, queryString=queryString@entry=0x8359fd100 "CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1655 [03:23:06.154] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34919014664, 34919015040, 34919014672, 12139528, 0, 35259462912, 35260007295, 10, 0, 549755813888}}} [03:23:06.154] _save_exception_stack = 0x82155e3e0 [03:23:06.154] _save_context_stack = 0x0 [03:23:06.154] _do_rethrow = false [03:23:06.154] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:06.154] parsetree = 0x835a9d088 [03:23:06.154] commandCollected = false [03:23:06.154] needCleanup = false [03:23:06.154] address = [03:23:06.154] isTopLevel = [03:23:06.154] isCompleteQuery = [03:23:06.154] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x8359fec68, queryString=0x8359fd100 "CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x835a9d548, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1030 [03:23:06.154] isAtomicContext = false [03:23:06.154] parsetree = 0x835a9d088 [03:23:06.154] readonly_flags = [03:23:06.154] pstate = 0x835a0b500 [03:23:06.154] isTopLevel = [03:23:06.154] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x18ce0, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x835a9d548, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:06.154] No locals. [03:23:06.154] #30 0x0000000000904113 in PortalRunUtility (portal=0x835ad2100, pstmt=0x8359fec68, isTopLevel=, setHoldSnapshot=, dest=0x835a9d548, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:06.154] No locals. [03:23:06.154] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad2100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x835a9d548, altdest=altdest@entry=0x835a9d548, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:06.154] pstmt = 0x8359fec68 [03:23:06.154] stmtlist_item__state = {l = 0x835a9d4f8, i = 0} [03:23:06.154] active_snapshot_set = false [03:23:06.154] stmtlist_item = 0x835a9d510 [03:23:06.154] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad2100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x835a9d548, altdest=altdest@entry=0x835a9d548, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:06.154] _local_sigjmp_buf = {{_sjb = {9449453, 35260276992, 34919015384, 34919015616, 34919015392, 35260342272, 12106216, 12139528, 35260269439, 35260055608, 4294967984, 0}}} [03:23:06.154] _save_exception_stack = 0x82155e5b0 [03:23:06.154] _save_context_stack = 0x0 [03:23:06.154] _do_rethrow = false [03:23:06.154] saveTopTransactionResourceOwner = 0x835adeb18 [03:23:06.154] saveTopTransactionContext = 0x835ae2000 [03:23:06.154] saveActivePortal = 0x0 [03:23:06.154] saveResourceOwner = 0x835adeb18 [03:23:06.154] savePortalContext = 0x0 [03:23:06.154] saveMemoryContext = 0x835ae2000 [03:23:06.154] result = [03:23:06.154] nprocessed = [03:23:06.154] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:23:06.154] cmdtaglen = 15 [03:23:06.154] snapshot_set = [03:23:06.154] per_parsetree_context = 0x0 [03:23:06.154] plantree_list = [03:23:06.154] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:06.154] format = 0 [03:23:06.154] parsetree = 0x8359fe7c8 [03:23:06.154] commandTag = [03:23:06.154] cmdtagname = [03:23:06.154] querytree_list = [03:23:06.154] portal = 0x835ad2100 [03:23:06.154] receiver = 0x835a9d548 [03:23:06.154] parsetree_item__state = {l = 0x8359fec18, i = 0} [03:23:06.154] msec_str = "\000\000\000\000\b", '\000' , "J\200\326f\000\000\000\000\361\357\022\214(\262\017\256" [03:23:06.154] dest = DestRemote [03:23:06.154] was_logged = [03:23:06.154] oldcontext = 0x835ae2000 [03:23:06.154] parsetree_list = 0x8359fec18 [03:23:06.154] use_implicit_block = false [03:23:06.154] parsetree_item = 0x8359fec30 [03:23:06.154] save_log_statement_stats = [03:23:06.154] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:06.154] query_string = 0x8359fd100 "CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;" [03:23:06.154] input_message = {data = 0x8359fd100 "CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;", len = 115, maxlen = 1024, cursor = 115} [03:23:06.154] firstchar = [03:23:06.154] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:06.154] send_ready_for_query = false [03:23:06.154] idle_in_transaction_timeout_enabled = false [03:23:06.154] idle_session_timeout_enabled = false [03:23:06.154] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:06.154] bsdata = [03:23:06.154] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:06.154] pid = [03:23:06.154] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:06.154] startup_data = {canAcceptConnections = CAC_OK} [03:23:06.154] bn = 0x8359fef00 [03:23:06.154] pid = [03:23:06.154] __error = [03:23:06.154] save_errno = [03:23:06.154] __error = [03:23:06.154] __error = [03:23:06.154] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:06.154] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:06.154] i = 0 [03:23:06.154] now = [03:23:06.154] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:06.155] last_touch_time = 1725333570 [03:23:06.155] last_lockfile_recheck_time = 1725333570 [03:23:06.155] nevents = 1 [03:23:06.155] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:06.155] userDoption = [03:23:06.155] listen_addr_saved = [03:23:06.155] output_config_variable = [03:23:06.155] opt = [03:23:06.155] status = [03:23:06.155] #40 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:06.155] do_check_root = [03:23:06.166] [03:23:06.166] [03:23:06.166] [03:23:06.230] dumping /tmp/cores/postgres.19974.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:06.351] [New LWP 101682] [03:23:06.423] Core was generated by `postgres: postgres regression_hstore_plpython [local] CREATE FUNCTION'. [03:23:06.423] Program terminated with signal SIGABRT, Aborted. [03:23:06.423] Sent by thr_kill() from pid 19974 and user 1003. [03:23:06.423] #0 0x000000082c2ca41a in thr_kill () from /lib/libc.so.7 [03:23:07.007] To enable execution of this file add [03:23:07.007] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:07.007] line to your configuration file "/.config/gdb/gdbinit". [03:23:07.007] To completely disable this security protection add [03:23:07.007] set auto-load safe-path / [03:23:07.007] line to your configuration file "/.config/gdb/gdbinit". [03:23:07.007] For more information about this security protection see the [03:23:07.007] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:07.007] info "(gdb)Auto-loading safe path" [03:23:07.007] [03:23:07.007] Thread 1 (LWP 101682): [03:23:07.007] #0 0x000000082c2ca41a in thr_kill () from /lib/libc.so.7 [03:23:07.007] No symbol table info available. [03:23:07.007] #1 0x000000082c243e64 in raise () from /lib/libc.so.7 [03:23:07.007] No symbol table info available. [03:23:07.007] #2 0x000000082c2f46f9 in abort () from /lib/libc.so.7 [03:23:07.007] No symbol table info available. [03:23:07.007] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x8363e5e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:07.007] No locals. [03:23:07.007] #4 0x00000008363ef063 in PLy_generate_spi_exceptions (mod=0x8455b1ad0, base=0x835f13010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:07.007] dict = [03:23:07.007] found = true [03:23:07.007] sqlstate = [03:23:07.007] exc = 0x835f65c10 [03:23:07.007] entry = 0x0 [03:23:07.007] i = 66 [03:23:07.007] #5 PLy_add_exceptions (plpy=0x84491ac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:07.007] hash_ctl = {num_partitions = 35509423472, ssize = 7, dsize = 2, max_dsize = 34912351600, keysize = 4, entrysize = 16, hash = 0x8448b4d40, match = 0x8448b4d40, keycopy = 0x845598f80, alloc = 0x8449120b0, hcxt = 0x843d6cac0 <_PyRuntime+166184>, hctl = 0x820f035c0} [03:23:07.007] excmod = 0x8455b1ad0 [03:23:07.007] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:07.007] m = 0x84491ac50 [03:23:07.007] #7 0x0000000843b78f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #8 0x0000000843b772e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #9 0x0000000843a97c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #10 0x0000000843b41d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #11 0x0000000843b44795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #12 0x0000000843a4590f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #13 0x0000000843a45705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #14 0x0000000843b73284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #15 0x0000000843b2b996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #16 0x0000000843a97e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #17 0x0000000843a44538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #18 0x0000000843a44467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #19 0x0000000843b72b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #20 0x0000000843b73ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.007] No symbol table info available. [03:23:07.007] #21 0x00000008363ee476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:07.007] inited = false [03:23:07.007] #22 0x00000008363ee3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:07.007] funcoid = 16522 [03:23:07.007] tuple = [03:23:07.007] is_trigger = [03:23:07.007] procStruct = [03:23:07.007] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x820f03d48, collation=0, arg1=16522) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:07.007] fcinfodata = {fcinfo = {flinfo = 0x820f03d48, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x820f03d98}, fcinfo_data = "H=\360 \b", '\000' , "\001\000\212@", '\000' } [03:23:07.007] fcinfo = 0x820f03d78 [03:23:07.007] result = [03:23:07.007] __error = [03:23:07.007] #24 OidFunctionCall1Coll (functionId=functionId@entry=16516, collation=collation@entry=0, arg1=arg1@entry=16522) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:07.007] flinfo = {fn_addr = 0x8363ee370 , fn_oid = 16516, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x833cd9400, fn_expr = 0x0} [03:23:07.007] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x833e1cf40 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16517, languageValidator=16516, prosrc=0x835e301c8 "\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x833d16c18, allParameterTypes=0, parameterModes=0, parameterNames=35229101128, parameterDefaults=0x0, trftypes=35229101312, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:07.007] set_items = [03:23:07.007] save_nestlevel = 0 [03:23:07.007] myself = {classId = 1255, objectId = 16522, objectSubId = 0} [03:23:07.007] nulls = {false , true, true, false, true, false, false, true, true, true, true} [03:23:07.007] values = {16522, 34912353744, 2200, 10, 16517, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35229101080, 0, 0, 35229101128, 0, 35229101312, 35228850032, 0, 0, 0, 0} [03:23:07.007] replaces = {true } [03:23:07.007] procname = {data = "test1", '\000' } [03:23:07.007] referenced = {classId = 3576, objectId = 16521, objectSubId = 0} [03:23:07.007] paramModes = [03:23:07.007] variadicType = [03:23:07.007] proacl = 0x0 [03:23:07.007] parameterCount = [03:23:07.007] allParamCount = 1 [03:23:07.007] allParams = 0x833d16c30 [03:23:07.007] detailmsg = [03:23:07.007] i = [03:23:07.007] rel = 0x833df6e88 [03:23:07.007] tupDesc = 0x833df7098 [03:23:07.007] oldtup = 0x0 [03:23:07.007] tup = 0x833e61838 [03:23:07.007] is_update = [03:23:07.007] retval = 16522 [03:23:07.007] addrs = [03:23:07.007] trfid = [03:23:07.007] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x833cd9500, stmt=, stmt@entry=0x833e1cef0) at ../src/backend/commands/functioncmds.c:1257 [03:23:07.007] funcname = 0x833e1cf40 "test1" [03:23:07.007] parameterTypes = 0x833d16c18 [03:23:07.007] parameterTypes_list = 0x833e61ba8 [03:23:07.007] allParameterTypes = 0x0 [03:23:07.007] parameterModes = 0x0 [03:23:07.007] parameterNames = 0x833d16c48 [03:23:07.007] inParameterNames_list = 0x833d16bc8 [03:23:07.007] parameterDefaults = 0x0 [03:23:07.007] variadicArgType = 0 [03:23:07.007] requiredResultType = 0 [03:23:07.007] transformDefElem = [03:23:07.007] trftypes_list = [03:23:07.007] namespaceId = 2200 [03:23:07.007] aclresult = [03:23:07.007] as_clause = [03:23:07.007] language = [03:23:07.007] isWindowFunc = false [03:23:07.007] isStrict = false [03:23:07.007] security = false [03:23:07.007] isLeakProof = [03:23:07.007] volatility = 118 'v' [03:23:07.007] proconfig = 0x0 [03:23:07.007] procost = 100 [03:23:07.007] prorows = 0 [03:23:07.007] prosupport = 0 [03:23:07.007] parallel = 117 'u' [03:23:07.007] languageTuple = [03:23:07.007] languageStruct = [03:23:07.007] languageOid = 16517 [03:23:07.007] languageValidator = 16516 [03:23:07.007] prorettype = 23 [03:23:07.007] returnsSet = false [03:23:07.007] trftypes = 0x833d16d00 [03:23:07.007] prosqlbody = 0x0 [03:23:07.007] probin_str = 0x0 [03:23:07.007] prosrc_str = 0x835e301c8 "\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n" [03:23:07.007] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x833cd9500, pstmt=pstmt@entry=0x833e1b780, queryString=queryString@entry=0x833ccb100 "CREATE FUNCTION test1(val hstore) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE hstore\nAS $$\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n$$;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x820f04590) at ../src/backend/tcop/utility.c:1655 [03:23:07.007] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34912354744, 34912355120, 34912354752, 12139528, 0, 35228849408, 35230122879, 10, 0, 549755813888}}} [03:23:07.007] _save_exception_stack = 0x820f04490 [03:23:07.007] _save_context_stack = 0x0 [03:23:07.007] _do_rethrow = false [03:23:07.007] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:07.007] parsetree = 0x833e1cef0 [03:23:07.007] commandCollected = false [03:23:07.007] needCleanup = false [03:23:07.007] address = [03:23:07.007] isTopLevel = [03:23:07.007] isCompleteQuery = [03:23:07.007] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x833e1b780, queryString=0x833ccb100 "CREATE FUNCTION test1(val hstore) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE hstore\nAS $$\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n$$;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x835e30368, qc=0x820f04590) at ../src/backend/tcop/utility.c:1030 [03:23:07.007] isAtomicContext = false [03:23:07.007] parsetree = 0x833e1cef0 [03:23:07.007] readonly_flags = [03:23:07.007] pstate = 0x833cd9500 [03:23:07.007] isTopLevel = [03:23:07.007] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x18d32, queryString=0x6 , readOnlyTree=, context=741123066, params=0x0, queryEnv=0x0, dest=0x835e30368, qc=0x820f04590) at ../src/backend/tcop/utility.c:523 [03:23:07.007] No locals. [03:23:07.007] #30 0x0000000000904113 in PortalRunUtility (portal=0x833da0100, pstmt=0x833e1b780, isTopLevel=, setHoldSnapshot=, dest=0x835e30368, qc=0x820f04590) at ../src/backend/tcop/pquery.c:1158 [03:23:07.007] No locals. [03:23:07.007] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x833da0100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x835e30368, altdest=altdest@entry=0x835e30368, qc=0x820f04590) at ../src/backend/tcop/pquery.c:1323 [03:23:07.007] pstmt = 0x833e1b780 [03:23:07.007] stmtlist_item__state = {l = 0x835e30318, i = 0} [03:23:07.007] active_snapshot_set = false [03:23:07.007] stmtlist_item = 0x835e30330 [03:23:07.007] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x833da0100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x835e30368, altdest=altdest@entry=0x835e30368, qc=0x820f04590) at ../src/backend/tcop/pquery.c:791 [03:23:07.007] _local_sigjmp_buf = {{_sjb = {9449453, 35229663488, 34912355464, 34912355696, 34912355472, 35229679616, 12106216, 12139528, 35229664127, 35230169840, 4294967984, 0}}} [03:23:07.007] _save_exception_stack = 0x820f04660 [03:23:07.007] _save_context_stack = 0x0 [03:23:07.007] _do_rethrow = false [03:23:07.007] saveTopTransactionResourceOwner = 0x833dac598 [03:23:07.007] saveTopTransactionContext = 0x833da4000 [03:23:07.007] saveActivePortal = 0x0 [03:23:07.007] saveResourceOwner = 0x833dac598 [03:23:07.007] savePortalContext = 0x0 [03:23:07.007] saveMemoryContext = 0x833da4000 [03:23:07.007] result = [03:23:07.007] nprocessed = [03:23:07.007] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x833ccb100 "CREATE FUNCTION test1(val hstore) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE hstore\nAS $$\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n$$;") at ../src/backend/tcop/postgres.c:1284 [03:23:07.007] cmdtaglen = 15 [03:23:07.007] snapshot_set = [03:23:07.007] per_parsetree_context = 0x0 [03:23:07.007] plantree_list = [03:23:07.007] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:07.007] format = 0 [03:23:07.007] parsetree = 0x833cccf28 [03:23:07.007] commandTag = [03:23:07.007] cmdtagname = [03:23:07.007] querytree_list = [03:23:07.007] portal = 0x833da0100 [03:23:07.007] receiver = 0x835e30368 [03:23:07.007] parsetree_item__state = {l = 0x833e1b730, i = 0} [03:23:07.007] msec_str = "\000\000\000\000\b", '\000' , "L\200\326f\000\000\000\000\261]\177\361\206", [03:23:07.007] dest = DestRemote [03:23:07.007] was_logged = [03:23:07.007] oldcontext = 0x833da4000 [03:23:07.007] parsetree_list = 0x833e1b730 [03:23:07.007] use_implicit_block = false [03:23:07.007] parsetree_item = 0x833e1b748 [03:23:07.007] save_log_statement_stats = [03:23:07.007] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:07.007] query_string = 0x833ccb100 "CREATE FUNCTION test1(val hstore) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE hstore\nAS $$\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n$$;" [03:23:07.007] input_message = {data = 0x833ccb100 "CREATE FUNCTION test1(val hstore) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE hstore\nAS $$\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n$$;", len = 178, maxlen = 1024, cursor = 178} [03:23:07.007] firstchar = [03:23:07.007] local_sigjmp_buf = {{_sjb = {9433366, 34912355936, 34912355896, 34912356480, 12148264, 1, 8192, 8388608, 34912338815, 0, 0, 1}}} [03:23:07.007] send_ready_for_query = false [03:23:07.007] idle_in_transaction_timeout_enabled = false [03:23:07.007] idle_session_timeout_enabled = false [03:23:07.007] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:07.007] bsdata = [03:23:07.007] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x820f053a4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x820f052e0) at ../src/backend/postmaster/launch_backend.c:274 [03:23:07.007] pid = [03:23:07.007] #37 0x00000000008589c8 in BackendStartup (client_sock=0x820f052e0) at ../src/backend/postmaster/postmaster.c:3414 [03:23:07.007] startup_data = {canAcceptConnections = CAC_OK} [03:23:07.007] bn = 0x833cd7088 [03:23:07.007] pid = [03:23:07.007] __error = [03:23:07.007] save_errno = [03:23:07.007] __error = [03:23:07.007] __error = [03:23:07.007] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:07.007] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\317\3143\b", '\000' , "@S\360 \b\000\000\000h\345\273*\b\000\000\000\v\000\000\000\000\000\000\000^o\274*\b", '\000' , "\200S\360 \b\000\000\000\264C\205\000\000\000\000\000\220S\360 \b", '\000' }, salen = 16}} [03:23:07.007] i = 0 [03:23:07.007] now = [03:23:07.007] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 740748418, events = 8, fd = 0, user_data = 0x820f05290}, {pos = 869422552, events = 8, fd = 552620320, user_data = 0x0}, {pos = 0, events = 0, fd = 1432240103, user_data = 0x1105a7d4d30a}, {pos = 739915680, events = 8, fd = 739986808, user_data = 0x820f04da8}, {pos = 552619552, events = 8, fd = 552619432, user_data = 0x1105a7d4d30a}, {pos = 739894152, events = 8, fd = 739986808, user_data = 0x820f04dd8}, {pos = 552619600, events = 8, fd = 552619480, user_data = 0x82c1ad194}, {pos = 564900872, events = 8, fd = 739955092, user_data = 0x820f04e40}, {pos = -1479244742, events = 4357, fd = 741777456, user_data = 0x1}, {pos = 552619632, events = 8, fd = -1479224566, user_data = 0x82c196858}, {pos = 739986808, events = 8, fd = 552619592, user_data = 0x820f04ec0}, {pos = 552619592, events = 8, fd = 739949836, user_data = 0x821abb408}, {pos = 739949836, events = 8, fd = 552619696, user_data = 0x1105a7d4843a}, {pos = 552619736, events = 8, fd = 552620184, user_data = 0x820f04ec0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2369747160, fd = 564924472, user_data = 0x800000001}, {pos = 564900872, events = 8, fd = 739894152, user_data = 0x821ac0288}, {pos = 739862616, events = 8, fd = 564900872, user_data = 0x820f04f48}, {pos = 552620296, events = 8, fd = 552619824, user_data = 0x1105a7d4cca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 564924472, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 552620552, user_data = 0x21abb408}, {pos = 552620368, events = 8, fd = 552619968, user_data = 0x1}, {pos = 552620296, events = 8, fd = 32, user_data = 0x820f04fb0}, {pos = -1479226765, events = 4357, fd = 552620240, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ac1038}, {pos = 1, events = 8, fd = 564900872, user_data = 0x82c196858}, {pos = 552620552, events = 8, fd = 552620368, user_data = 0x820f04fc0}, {pos = 0, events = 0, fd = 564871176, user_data = 0x20}, {pos = 552620352, events = 8, fd = -1479251225, user_data = 0x821ab4008}, {pos = 564872200, events = 8, fd = 564873224, user_data = 0x821ab4c08}, {pos = 564887560, events = 8, fd = 564888584, user_data = 0x821ab8808}, {pos = 564890632, events = 8, fd = 564891656, user_data = 0x821ab9408}, {pos = 564893704, events = 8, fd = 564894728, user_data = 0x821aba008}, {pos = 564896776, events = 8, fd = 564897800, user_data = 0x821abac08}, {pos = 564899848, events = 8, fd = 564900872, user_data = 0x821abb808}, {pos = 564902920, events = 8, fd = 564903944, user_data = 0x821abc408}, {pos = 564905992, events = 8, fd = 564907016, user_data = 0x821abd008}, {pos = 564909064, events = 8, fd = 564910088, user_data = 0x821abdc08}, {pos = 564916232, events = 8, fd = 564917256, user_data = 0x821abf808}, {pos = 564919304, events = 8, fd = 564871176, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ac1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 552620552, events = 8, fd = 552619968, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 564924472, user_data = 0x1}, {pos = 564871176, events = 8, fd = 313, user_data = 0x820f051f0}, {pos = -1479252497, events = 4357, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 564924472, user_data = 0x1}, {pos = 564900872, events = 8, fd = 868986880, user_data = 0x1}, {pos = 868987284, events = 8, fd = 0, user_data = 0x820f051c0}, {pos = 716989804, events = 8, fd = 1, user_data = 0x833cbb000}, {pos = 552620528, events = 8, fd = 716986114, user_data = 0x82c2c8170 }, {pos = 12073312, events = 0, fd = 741114224, user_data = 0x821abb408}, {pos = 552620752, events = 8, fd = -1479253026, user_data = 0x833cd9800}, {pos = 1, events = 0, fd = -1479253410, user_data = 0x821ab4008}, {pos = 552620536, events = 8, fd = 552620752, user_data = 0x1c20}, {pos = 869060352, events = 8, fd = -1479173744, user_data = 0x0}, {pos = 552600447, events = 8, fd = 7886631, user_data = 0x820f05280}, {pos = 716948496, events = 8, fd = 741777456, user_data = 0x82c36c310}, {pos = 0, events = 0, fd = 8128, user_data = 0x820f052b0}, {pos = 716991389, events = 8, fd = 868986880, user_data = 0x4de3}, {pos = 552620816, events = 8, fd = 716957946, user_data = 0x0}, {pos = 0, events = 0, fd = 1432240103, user_data = 0x0}} [03:23:07.008] last_touch_time = 1725333579 [03:23:07.008] last_lockfile_recheck_time = 1725333579 [03:23:07.008] nevents = 1 [03:23:07.008] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x820f058f0) at ../src/backend/postmaster/postmaster.c:1346 [03:23:07.008] userDoption = [03:23:07.008] listen_addr_saved = [03:23:07.008] output_config_variable = [03:23:07.008] opt = [03:23:07.008] status = [03:23:07.008] #40 0x000000000079240c in main (argc=8, argv=0x820f058f0) at ../src/backend/main/main.c:197 [03:23:07.008] do_check_root = [03:23:07.019] [03:23:07.019] [03:23:07.019] [03:23:07.084] dumping /tmp/cores/postgres.20042.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:07.207] [New LWP 101631] [03:23:07.279] Core was generated by `postgres: postgres regression_jsonb_plpython [local] CREATE FUNCTION'. [03:23:07.279] Program terminated with signal SIGABRT, Aborted. [03:23:07.279] Sent by thr_kill() from pid 20042 and user 1003. [03:23:07.279] #0 0x0000000829cf141a in thr_kill () from /lib/libc.so.7 [03:23:07.857] To enable execution of this file add [03:23:07.857] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:07.857] line to your configuration file "/.config/gdb/gdbinit". [03:23:07.857] To completely disable this security protection add [03:23:07.857] set auto-load safe-path / [03:23:07.857] line to your configuration file "/.config/gdb/gdbinit". [03:23:07.857] For more information about this security protection see the [03:23:07.857] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:07.857] info "(gdb)Auto-loading safe path" [03:23:07.857] [03:23:07.857] Thread 1 (LWP 101631): [03:23:07.857] #0 0x0000000829cf141a in thr_kill () from /lib/libc.so.7 [03:23:07.857] No symbol table info available. [03:23:07.857] #1 0x0000000829c6ae64 in raise () from /lib/libc.so.7 [03:23:07.857] No symbol table info available. [03:23:07.857] #2 0x0000000829d1b6f9 in abort () from /lib/libc.so.7 [03:23:07.857] No symbol table info available. [03:23:07.857] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x837fd6e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:07.857] No locals. [03:23:07.857] #4 0x0000000837fe0063 in PLy_generate_spi_exceptions (mod=0x8490b1ad0, base=0x83742f010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:07.857] dict = [03:23:07.857] found = true [03:23:07.857] sqlstate = [03:23:07.857] exc = 0x837481c10 [03:23:07.857] entry = 0x0 [03:23:07.857] i = 66 [03:23:07.857] #5 PLy_add_exceptions (plpy=0x847112c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:07.857] hash_ctl = {num_partitions = 35551333744, ssize = 7, dsize = 2, max_dsize = 34909945104, keysize = 4, entrysize = 16, hash = 0x8470acd40, match = 0x8470acd40, keycopy = 0x849099000, alloc = 0x84710a0f0, hcxt = 0x84667bac0 <_PyRuntime+166184>, hctl = 0x820cb7d60} [03:23:07.857] excmod = 0x8490b1ad0 [03:23:07.857] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:07.857] m = 0x847112c50 [03:23:07.857] #7 0x0000000846487f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #8 0x00000008464862e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #9 0x00000008463a6c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #10 0x0000000846450d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #11 0x0000000846453795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #12 0x000000084635490f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #13 0x0000000846354705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #14 0x0000000846482284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #15 0x000000084643a996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #16 0x00000008463a6e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #17 0x0000000846353538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #18 0x0000000846353467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #19 0x0000000846481b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #20 0x0000000846482ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:07.857] No symbol table info available. [03:23:07.857] #21 0x0000000837fdf476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:07.857] inited = false [03:23:07.857] #22 0x0000000837fdf3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:07.857] funcoid = 16394 [03:23:07.857] tuple = [03:23:07.857] is_trigger = [03:23:07.857] procStruct = [03:23:07.857] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x820cb84e8, collation=0, arg1=16394) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:07.857] fcinfodata = {fcinfo = {flinfo = 0x820cb84e8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x820cb8538}, fcinfo_data = "\350\204\313 \b", '\000' , "\001\000\n@", '\000' } [03:23:07.857] fcinfo = 0x820cb8518 [03:23:07.857] result = [03:23:07.857] __error = [03:23:07.857] #24 OidFunctionCall1Coll (functionId=functionId@entry=16388, collation=collation@entry=0, arg1=arg1@entry=16394) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:07.857] flinfo = {fn_addr = 0x837fdf370 , fn_oid = 16388, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834e85400, fn_expr = 0x0} [03:23:07.857] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x834fc8f40 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16389, languageValidator=16388, prosrc=0x83734d1c8 "\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x834ec2c18, allParameterTypes=0, parameterModes=0, parameterNames=35247631432, parameterDefaults=0x0, trftypes=35247631616, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:07.857] set_items = [03:23:07.857] save_nestlevel = 0 [03:23:07.857] myself = {classId = 1255, objectId = 16394, objectSubId = 0} [03:23:07.857] nulls = {false , true, true, false, true, false, false, true, true, true, true} [03:23:07.857] values = {16394, 34909947248, 2200, 10, 16389, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35247631384, 0, 0, 35247631432, 0, 35247631616, 35247380336, 0, 0, 0, 0} [03:23:07.857] replaces = {true } [03:23:07.857] procname = {data = "test1", '\000' } [03:23:07.857] referenced = {classId = 3576, objectId = 16393, objectSubId = 0} [03:23:07.857] paramModes = [03:23:07.857] variadicType = [03:23:07.857] proacl = 0x0 [03:23:07.857] parameterCount = [03:23:07.857] allParamCount = 1 [03:23:07.857] allParams = 0x834ec2c30 [03:23:07.857] detailmsg = [03:23:07.857] i = [03:23:07.857] rel = 0x834fa3418 [03:23:07.857] tupDesc = 0x834fa3738 [03:23:07.857] oldtup = 0x0 [03:23:07.857] tup = 0x83500dc38 [03:23:07.857] is_update = [03:23:07.857] retval = 16394 [03:23:07.857] addrs = [03:23:07.857] trfid = [03:23:07.857] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x834e85500, stmt=, stmt@entry=0x834fc8ef0) at ../src/backend/commands/functioncmds.c:1257 [03:23:07.857] funcname = 0x834fc8f40 "test1" [03:23:07.857] parameterTypes = 0x834ec2c18 [03:23:07.857] parameterTypes_list = 0x83500dfa8 [03:23:07.857] allParameterTypes = 0x0 [03:23:07.857] parameterModes = 0x0 [03:23:07.857] parameterNames = 0x834ec2c48 [03:23:07.857] inParameterNames_list = 0x834ec2bc8 [03:23:07.857] parameterDefaults = 0x0 [03:23:07.857] variadicArgType = 0 [03:23:07.857] requiredResultType = 0 [03:23:07.857] transformDefElem = [03:23:07.857] trftypes_list = [03:23:07.857] namespaceId = 2200 [03:23:07.857] aclresult = [03:23:07.857] as_clause = [03:23:07.857] language = [03:23:07.857] isWindowFunc = false [03:23:07.857] isStrict = false [03:23:07.857] security = false [03:23:07.857] isLeakProof = [03:23:07.857] volatility = 118 'v' [03:23:07.857] proconfig = 0x0 [03:23:07.857] procost = 100 [03:23:07.857] prorows = 0 [03:23:07.857] prosupport = 0 [03:23:07.857] parallel = 117 'u' [03:23:07.857] languageTuple = [03:23:07.857] languageStruct = [03:23:07.857] languageOid = 16389 [03:23:07.857] languageValidator = 16388 [03:23:07.857] prorettype = 23 [03:23:07.857] returnsSet = false [03:23:07.857] trftypes = 0x834ec2d00 [03:23:07.857] prosqlbody = 0x0 [03:23:07.857] probin_str = 0x0 [03:23:07.857] prosrc_str = 0x83734d1c8 "\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n" [03:23:07.857] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x834e85500, pstmt=pstmt@entry=0x834fc7780, queryString=queryString@entry=0x834e77100 "CREATE FUNCTION test1(val jsonb) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE jsonb\nAS $$\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n$$;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x820cb8d30) at ../src/backend/tcop/utility.c:1655 [03:23:07.857] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34909948248, 34909948624, 34909948256, 12139528, 0, 35247379712, 35248669567, 10, 0, 549755813888}}} [03:23:07.857] _save_exception_stack = 0x820cb8c30 [03:23:07.857] _save_context_stack = 0x0 [03:23:07.857] _do_rethrow = false [03:23:07.857] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:07.857] parsetree = 0x834fc8ef0 [03:23:07.857] commandCollected = false [03:23:07.857] needCleanup = false [03:23:07.857] address = [03:23:07.857] isTopLevel = [03:23:07.857] isCompleteQuery = [03:23:07.857] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x834fc7780, queryString=0x834e77100 "CREATE FUNCTION test1(val jsonb) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE jsonb\nAS $$\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n$$;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x83734d368, qc=0x820cb8d30) at ../src/backend/tcop/utility.c:1030 [03:23:07.857] isAtomicContext = false [03:23:07.857] parsetree = 0x834fc8ef0 [03:23:07.857] readonly_flags = [03:23:07.857] pstate = 0x834e85500 [03:23:07.857] isTopLevel = [03:23:07.857] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x18cff, queryString=0x6 , readOnlyTree=, context=701436922, params=0x0, queryEnv=0x0, dest=0x83734d368, qc=0x820cb8d30) at ../src/backend/tcop/utility.c:523 [03:23:07.857] No locals. [03:23:07.857] #30 0x0000000000904113 in PortalRunUtility (portal=0x834f4c100, pstmt=0x834fc7780, isTopLevel=, setHoldSnapshot=, dest=0x83734d368, qc=0x820cb8d30) at ../src/backend/tcop/pquery.c:1158 [03:23:07.857] No locals. [03:23:07.857] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x834f4c100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x83734d368, altdest=altdest@entry=0x83734d368, qc=0x820cb8d30) at ../src/backend/tcop/pquery.c:1323 [03:23:07.857] pstmt = 0x834fc7780 [03:23:07.857] stmtlist_item__state = {l = 0x83734d318, i = 0} [03:23:07.857] active_snapshot_set = false [03:23:07.857] stmtlist_item = 0x83734d330 [03:23:07.857] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x834f4c100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x83734d368, altdest=altdest@entry=0x83734d368, qc=0x820cb8d30) at ../src/backend/tcop/pquery.c:791 [03:23:07.857] _local_sigjmp_buf = {{_sjb = {9449453, 35248193792, 34909948968, 34909949200, 34909948976, 35248209920, 12106216, 12139528, 35248145279, 35248700144, 4294967984, 0}}} [03:23:07.857] _save_exception_stack = 0x820cb8e00 [03:23:07.857] _save_context_stack = 0x0 [03:23:07.857] _do_rethrow = false [03:23:07.857] saveTopTransactionResourceOwner = 0x834f585d8 [03:23:07.857] saveTopTransactionContext = 0x834f50000 [03:23:07.857] saveActivePortal = 0x0 [03:23:07.857] saveResourceOwner = 0x834f585d8 [03:23:07.857] savePortalContext = 0x0 [03:23:07.857] saveMemoryContext = 0x834f50000 [03:23:07.857] result = [03:23:07.857] nprocessed = [03:23:07.857] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x834e77100 "CREATE FUNCTION test1(val jsonb) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE jsonb\nAS $$\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n$$;") at ../src/backend/tcop/postgres.c:1284 [03:23:07.857] cmdtaglen = 15 [03:23:07.857] snapshot_set = [03:23:07.857] per_parsetree_context = 0x0 [03:23:07.857] plantree_list = [03:23:07.857] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:07.857] format = 0 [03:23:07.857] parsetree = 0x834e78f28 [03:23:07.857] commandTag = [03:23:07.857] cmdtagname = [03:23:07.857] querytree_list = [03:23:07.857] portal = 0x834f4c100 [03:23:07.857] receiver = 0x83734d368 [03:23:07.857] parsetree_item__state = {l = 0x834fc7730, i = 0} [03:23:07.857] msec_str = "\000\000\000\000\b", '\000' , "M\200\326f\000\000\000\000\225\303\036\033\301\214\nI" [03:23:07.857] dest = DestRemote [03:23:07.857] was_logged = [03:23:07.857] oldcontext = 0x834f50000 [03:23:07.857] parsetree_list = 0x834fc7730 [03:23:07.857] use_implicit_block = false [03:23:07.857] parsetree_item = 0x834fc7748 [03:23:07.857] save_log_statement_stats = [03:23:07.857] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:07.857] query_string = 0x834e77100 "CREATE FUNCTION test1(val jsonb) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE jsonb\nAS $$\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n$$;" [03:23:07.857] input_message = {data = 0x834e77100 "CREATE FUNCTION test1(val jsonb) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE jsonb\nAS $$\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n$$;", len = 182, maxlen = 1024, cursor = 182} [03:23:07.857] firstchar = [03:23:07.857] local_sigjmp_buf = {{_sjb = {9433366, 34909949440, 34909949400, 34909949984, 12148264, 1, 8192, 8388608, 34909913983, 0, 0, 1}}} [03:23:07.857] send_ready_for_query = false [03:23:07.857] idle_in_transaction_timeout_enabled = false [03:23:07.857] idle_session_timeout_enabled = false [03:23:07.857] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:07.857] bsdata = [03:23:07.857] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x820cb9b44 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x820cb9a80) at ../src/backend/postmaster/launch_backend.c:274 [03:23:07.857] pid = [03:23:07.857] #37 0x00000000008589c8 in BackendStartup (client_sock=0x820cb9a80) at ../src/backend/postmaster/postmaster.c:3414 [03:23:07.857] startup_data = {canAcceptConnections = CAC_OK} [03:23:07.857] bn = 0x834e83088 [03:23:07.857] pid = [03:23:07.857] __error = [03:23:07.857] save_errno = [03:23:07.857] __error = [03:23:07.857] __error = [03:23:07.857] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:07.857] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\217\3474\b", '\000' , "\340\232\313 \b\000\000\000h\025C)\b\000\000\000\v\000\000\000\000\000\000\000^\237C)\b", '\000' , " \233\313 \b\000\000\000\264C\205\000\000\000\000\0000\233\313 \b", '\000' }, salen = 16}} [03:23:07.857] i = 0 [03:23:07.857] now = [03:23:07.857] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 701062274, events = 8, fd = 0, user_data = 0x820cb9a30}, {pos = 887952856, events = 8, fd = 550213824, user_data = 0x0}, {pos = 0, events = 0, fd = -1226509090, user_data = 0x3fbae449630a}, {pos = 700229536, events = 8, fd = 700300664, user_data = 0x820cb9548}, {pos = 550213056, events = 8, fd = 550212936, user_data = 0x3fbae449630a}, {pos = 700208008, events = 8, fd = 700300664, user_data = 0x820cb9578}, {pos = 550213104, events = 8, fd = 550212984, user_data = 0x829bd4194}, {pos = 552317960, events = 8, fd = 700268948, user_data = 0x820cb95e0}, {pos = -464972742, events = 16314, fd = 702091312, user_data = 0x1}, {pos = 550213136, events = 8, fd = -464952566, user_data = 0x829bbd858}, {pos = 700300664, events = 8, fd = 550213096, user_data = 0x820cb9660}, {pos = 550213096, events = 8, fd = 700263692, user_data = 0x820ebb408}, {pos = 700263692, events = 8, fd = 550213200, user_data = 0x3fbae449143a}, {pos = 550213240, events = 8, fd = 550213688, user_data = 0x820cb9660}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3378284295, fd = 552341560, user_data = 0x800000001}, {pos = 552317960, events = 8, fd = 700208008, user_data = 0x820ec0288}, {pos = 700176472, events = 8, fd = 552317960, user_data = 0x820cb96e8}, {pos = 550213800, events = 8, fd = 550213328, user_data = 0x3fbae4495ca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 552341560, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 550214056, user_data = 0x20ebb408}, {pos = 550213872, events = 8, fd = 550213472, user_data = 0x1}, {pos = 550213800, events = 8, fd = 32, user_data = 0x820cb9750}, {pos = -464954765, events = 16314, fd = 550213744, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x820ec1038}, {pos = 1, events = 8, fd = 552317960, user_data = 0x829bbd858}, {pos = 550214056, events = 8, fd = 550213872, user_data = 0x820cb9760}, {pos = 0, events = 0, fd = 552288264, user_data = 0x20}, {pos = 550213856, events = 8, fd = -464979225, user_data = 0x820eb4008}, {pos = 552289288, events = 8, fd = 552290312, user_data = 0x820eb4c08}, {pos = 552304648, events = 8, fd = 552305672, user_data = 0x820eb8808}, {pos = 552307720, events = 8, fd = 552308744, user_data = 0x820eb9408}, {pos = 552310792, events = 8, fd = 552311816, user_data = 0x820eba008}, {pos = 552313864, events = 8, fd = 552314888, user_data = 0x820ebac08}, {pos = 552316936, events = 8, fd = 552317960, user_data = 0x820ebb808}, {pos = 552320008, events = 8, fd = 552321032, user_data = 0x820ebc408}, {pos = 552323080, events = 8, fd = 552324104, user_data = 0x820ebd008}, {pos = 552326152, events = 8, fd = 552327176, user_data = 0x820ebdc08}, {pos = 552333320, events = 8, fd = 552334344, user_data = 0x820ebf808}, {pos = 552336392, events = 8, fd = 552288264, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x820ec1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 550214056, events = 8, fd = 550213472, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 552341560, user_data = 0x1}, {pos = 552288264, events = 8, fd = 313, user_data = 0x820cb9990}, {pos = -464980497, events = 16314, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 552341560, user_data = 0x1}, {pos = 552317960, events = 8, fd = 887517184, user_data = 0x1}, {pos = 887517588, events = 8, fd = 0, user_data = 0x820cb9960}, {pos = 692295020, events = 8, fd = 1, user_data = 0x834e67000}, {pos = 550214032, events = 8, fd = 692291330, user_data = 0x829cef170 }, {pos = 12073312, events = 0, fd = 701428080, user_data = 0x820ebb408}, {pos = 550214256, events = 8, fd = -464981026, user_data = 0x834e85800}, {pos = 1, events = 0, fd = -464981410, user_data = 0x820eb4008}, {pos = 550214040, events = 8, fd = 550214256, user_data = 0x1c20}, {pos = 887590656, events = 8, fd = -464901744, user_data = 0x0}, {pos = 550175615, events = 8, fd = 7886631, user_data = 0x820cb9a20}, {pos = 692253712, events = 8, fd = 702091312, user_data = 0x829d93310}, {pos = 0, events = 0, fd = 8128, user_data = 0x820cb9a50}, {pos = 692296605, events = 8, fd = 887517184, user_data = 0x4e39}, {pos = 550214320, events = 8, fd = 692263162, user_data = 0x0}, {pos = 0, events = 0, fd = -1226509090, user_data = 0x0}} [03:23:07.858] last_touch_time = 1725333581 [03:23:07.858] last_lockfile_recheck_time = 1725333581 [03:23:07.858] nevents = 1 [03:23:07.858] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x820cba090) at ../src/backend/postmaster/postmaster.c:1346 [03:23:07.858] userDoption = [03:23:07.858] listen_addr_saved = [03:23:07.858] output_config_variable = [03:23:07.858] opt = [03:23:07.858] status = [03:23:07.858] #40 0x000000000079240c in main (argc=8, argv=0x820cba090) at ../src/backend/main/main.c:197 [03:23:07.858] do_check_root = [03:23:07.871] [03:23:07.871] [03:23:07.871] [03:23:07.942] dumping /tmp/cores/postgres.20138.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:08.061] [New LWP 101671] [03:23:08.132] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:23:08.132] Program terminated with signal SIGABRT, Aborted. [03:23:08.132] Sent by thr_kill() from pid 20138 and user 1003. [03:23:08.132] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:08.705] To enable execution of this file add [03:23:08.705] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:08.705] line to your configuration file "/.config/gdb/gdbinit". [03:23:08.705] To completely disable this security protection add [03:23:08.705] set auto-load safe-path / [03:23:08.705] line to your configuration file "/.config/gdb/gdbinit". [03:23:08.705] For more information about this security protection see the [03:23:08.705] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:08.705] info "(gdb)Auto-loading safe path" [03:23:08.705] [03:23:08.705] Thread 1 (LWP 101671): [03:23:08.705] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:08.705] No symbol table info available. [03:23:08.705] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:08.705] No symbol table info available. [03:23:08.705] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:08.705] No symbol table info available. [03:23:08.705] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x844b02e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:08.705] No locals. [03:23:08.705] #4 0x0000000844b0c063 in PLy_generate_spi_exceptions (mod=0x8496b9ad0, base=0x8428de010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:08.705] dict = [03:23:08.705] found = true [03:23:08.705] sqlstate = [03:23:08.705] exc = 0x84299bc10 [03:23:08.705] entry = 0x0 [03:23:08.705] i = 66 [03:23:08.705] #5 PLy_add_exceptions (plpy=0x8469cec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:08.705] hash_ctl = {num_partitions = 35543715184, ssize = 7, dsize = 2, max_dsize = 34919011520, keysize = 4, entrysize = 16, hash = 0x846968d40, match = 0x846968d40, keycopy = 0x8496a1040, alloc = 0x8469c6130, hcxt = 0x847c4aac0 <_PyRuntime+166184>, hctl = 0x82155d510} [03:23:08.705] excmod = 0x8496b9ad0 [03:23:08.705] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:08.705] m = 0x8469cec50 [03:23:08.705] #7 0x0000000847a56f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #8 0x0000000847a552e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #9 0x0000000847975c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #10 0x0000000847a1fd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #11 0x0000000847a22795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #12 0x000000084792390f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #13 0x0000000847923705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #14 0x0000000847a51284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #15 0x0000000847a09996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #16 0x0000000847975e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #17 0x0000000847922538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #18 0x0000000847922467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #19 0x0000000847a50b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #20 0x0000000847a51ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:08.705] No symbol table info available. [03:23:08.705] #21 0x0000000844b0b476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:08.705] inited = false [03:23:08.705] #22 0x0000000844b0b3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:08.705] funcoid = 40960 [03:23:08.705] tuple = [03:23:08.705] is_trigger = [03:23:08.705] procStruct = [03:23:08.705] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155dc98, collation=0, arg1=40960) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:08.705] fcinfodata = {fcinfo = {flinfo = 0x82155dc98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155dce8}, fcinfo_data = "\230\334U!\b", '\000' , "\001\000\000\240", '\000' } [03:23:08.705] fcinfo = 0x82155dcc8 [03:23:08.705] result = [03:23:08.705] __error = [03:23:08.705] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=40960) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:08.705] flinfo = {fn_addr = 0x844b0b370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835a0b400, fn_expr = 0x0} [03:23:08.705] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x835a9dd08 "test_param_names0", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8428107c0 "\nreturn args[0] + args[1]\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x835a483f8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:08.705] set_items = [03:23:08.705] save_nestlevel = 0 [03:23:08.705] myself = {classId = 1255, objectId = 40960, objectSubId = 0} [03:23:08.705] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:23:08.705] values = {40960, 34919013664, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 2, 0, 23, 35259712504, 0, 0, 0, 0, 0, 35259712552, 0, 0, 0, 0} [03:23:08.705] replaces = {true } [03:23:08.705] procname = {data = "test_param_names0", '\000' } [03:23:08.705] referenced = {classId = 1247, objectId = 23, objectSubId = 0} [03:23:08.705] paramModes = [03:23:08.705] variadicType = [03:23:08.705] proacl = 0x0 [03:23:08.705] parameterCount = [03:23:08.705] allParamCount = 2 [03:23:08.705] allParams = 0x835a48410 [03:23:08.705] detailmsg = [03:23:08.705] i = [03:23:08.705] rel = 0x835b247d8 [03:23:08.705] tupDesc = 0x835b24af8 [03:23:08.705] oldtup = 0x0 [03:23:08.705] tup = 0x835a48258 [03:23:08.705] is_update = [03:23:08.705] retval = 40960 [03:23:08.705] addrs = [03:23:08.705] trfid = [03:23:08.705] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x835a0b500, stmt=, stmt@entry=0x835a9dcb8) at ../src/backend/commands/functioncmds.c:1257 [03:23:08.705] funcname = 0x835a9dd08 "test_param_names0" [03:23:08.705] parameterTypes = 0x835a483f8 [03:23:08.705] parameterTypes_list = 0x835a0b610 [03:23:08.705] allParameterTypes = 0x0 [03:23:08.705] parameterModes = 0x0 [03:23:08.705] parameterNames = 0x0 [03:23:08.705] inParameterNames_list = 0x835b973a8 [03:23:08.705] parameterDefaults = 0x0 [03:23:08.705] variadicArgType = 0 [03:23:08.705] requiredResultType = 0 [03:23:08.705] transformDefElem = [03:23:08.705] trftypes_list = [03:23:08.705] namespaceId = 2200 [03:23:08.705] aclresult = [03:23:08.705] as_clause = [03:23:08.705] language = [03:23:08.705] isWindowFunc = false [03:23:08.705] isStrict = false [03:23:08.705] security = false [03:23:08.705] isLeakProof = [03:23:08.705] volatility = 118 'v' [03:23:08.705] proconfig = 0x0 [03:23:08.705] procost = 100 [03:23:08.705] prorows = 0 [03:23:08.705] prosupport = 0 [03:23:08.705] parallel = 117 'u' [03:23:08.705] languageTuple = [03:23:08.705] languageStruct = [03:23:08.705] languageOid = 16456 [03:23:08.705] languageValidator = 16455 [03:23:08.705] prorettype = 23 [03:23:08.705] returnsSet = false [03:23:08.705] trftypes = 0x0 [03:23:08.705] prosqlbody = 0x0 [03:23:08.705] probin_str = 0x0 [03:23:08.705] prosrc_str = 0x8428107c0 "\nreturn args[0] + args[1]\n" [03:23:08.705] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x835a0b500, pstmt=pstmt@entry=0x835a9c598, queryString=queryString@entry=0x8359fd100 "CREATE FUNCTION test_param_names0(integer, integer) RETURNS int AS $$\nreturn args[0] + args[1]\n$$ LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1655 [03:23:08.705] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34919014664, 34919015040, 34919014672, 12139528, 0, 35259462912, 35260007295, 10, 0, 549755813888}}} [03:23:08.705] _save_exception_stack = 0x82155e3e0 [03:23:08.705] _save_context_stack = 0x0 [03:23:08.705] _do_rethrow = false [03:23:08.705] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:08.705] parsetree = 0x835a9dcb8 [03:23:08.705] commandCollected = false [03:23:08.705] needCleanup = false [03:23:08.705] address = [03:23:08.705] isTopLevel = [03:23:08.705] isCompleteQuery = [03:23:08.705] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x835a9c598, queryString=0x8359fd100 "CREATE FUNCTION test_param_names0(integer, integer) RETURNS int AS $$\nreturn args[0] + args[1]\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x842810a00, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1030 [03:23:08.705] isAtomicContext = false [03:23:08.705] parsetree = 0x835a9dcb8 [03:23:08.705] readonly_flags = [03:23:08.705] pstate = 0x835a0b500 [03:23:08.705] isTopLevel = [03:23:08.705] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x18d27, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x842810a00, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:08.705] No locals. [03:23:08.705] #30 0x0000000000904113 in PortalRunUtility (portal=0x835ad4100, pstmt=0x835a9c598, isTopLevel=, setHoldSnapshot=, dest=0x842810a00, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:08.705] No locals. [03:23:08.705] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad4100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x842810a00, altdest=altdest@entry=0x842810a00, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:08.705] pstmt = 0x835a9c598 [03:23:08.705] stmtlist_item__state = {l = 0x8428109b0, i = 0} [03:23:08.705] active_snapshot_set = false [03:23:08.705] stmtlist_item = 0x8428109c8 [03:23:08.705] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad4100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x842810a00, altdest=altdest@entry=0x842810a00, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:08.705] _local_sigjmp_buf = {{_sjb = {9449453, 35260285184, 34919015384, 34919015616, 34919015392, 35260723200, 12106216, 12139528, 35260269439, 35260057864, 4294967984, 0}}} [03:23:08.705] _save_exception_stack = 0x82155e5b0 [03:23:08.705] _save_context_stack = 0x0 [03:23:08.705] _do_rethrow = false [03:23:08.705] saveTopTransactionResourceOwner = 0x835b5aef8 [03:23:08.705] saveTopTransactionContext = 0x835b3f000 [03:23:08.705] saveActivePortal = 0x0 [03:23:08.705] saveResourceOwner = 0x835b5aef8 [03:23:08.705] savePortalContext = 0x0 [03:23:08.705] saveMemoryContext = 0x835b3f000 [03:23:08.705] result = [03:23:08.705] nprocessed = [03:23:08.705] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "CREATE FUNCTION test_param_names0(integer, integer) RETURNS int AS $$\nreturn args[0] + args[1]\n$$ LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:23:08.705] cmdtaglen = 15 [03:23:08.705] snapshot_set = [03:23:08.705] per_parsetree_context = 0x0 [03:23:08.705] plantree_list = [03:23:08.705] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:08.705] format = 0 [03:23:08.705] parsetree = 0x8359fedb8 [03:23:08.705] commandTag = [03:23:08.705] cmdtagname = [03:23:08.705] querytree_list = [03:23:08.705] portal = 0x835ad4100 [03:23:08.705] receiver = 0x842810a00 [03:23:08.705] parsetree_item__state = {l = 0x835a9c548, i = 0} [03:23:08.705] msec_str = "\000\000\000\000\b", '\000' , "N\200\326f\000\000\000\000\001\027\310eB\222\0348" [03:23:08.705] dest = DestRemote [03:23:08.705] was_logged = [03:23:08.705] oldcontext = 0x835b3f000 [03:23:08.705] parsetree_list = 0x835a9c548 [03:23:08.705] use_implicit_block = false [03:23:08.705] parsetree_item = 0x835a9c560 [03:23:08.705] save_log_statement_stats = [03:23:08.705] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:08.705] query_string = 0x8359fd100 "CREATE FUNCTION test_param_names0(integer, integer) RETURNS int AS $$\nreturn args[0] + args[1]\n$$ LANGUAGE plpython3u;" [03:23:08.705] input_message = {data = 0x8359fd100 "CREATE FUNCTION test_param_names0(integer, integer) RETURNS int AS $$\nreturn args[0] + args[1]\n$$ LANGUAGE plpython3u;", len = 119, maxlen = 1024, cursor = 119} [03:23:08.705] firstchar = [03:23:08.705] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:08.705] send_ready_for_query = false [03:23:08.705] idle_in_transaction_timeout_enabled = false [03:23:08.705] idle_session_timeout_enabled = false [03:23:08.705] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:08.705] bsdata = [03:23:08.705] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:08.705] pid = [03:23:08.705] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:08.705] startup_data = {canAcceptConnections = CAC_OK} [03:23:08.705] bn = 0x8359fef00 [03:23:08.705] pid = [03:23:08.705] __error = [03:23:08.705] save_errno = [03:23:08.705] __error = [03:23:08.705] __error = [03:23:08.705] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:08.705] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:08.705] i = 0 [03:23:08.705] now = [03:23:08.705] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:08.705] last_touch_time = 1725333570 [03:23:08.705] last_lockfile_recheck_time = 1725333570 [03:23:08.705] nevents = 1 [03:23:08.705] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:08.705] userDoption = [03:23:08.705] listen_addr_saved = [03:23:08.705] output_config_variable = [03:23:08.705] opt = [03:23:08.705] status = [03:23:08.705] #40 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:08.705] do_check_root = [03:23:08.718] [03:23:08.718] [03:23:08.718] [03:23:08.784] dumping /tmp/cores/postgres.20209.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:08.901] [New LWP 101672] [03:23:08.979] Core was generated by `postgres: postgres regression_ltree_plpython [local] CREATE FUNCTION'. [03:23:08.979] Program terminated with signal SIGABRT, Aborted. [03:23:08.979] Sent by thr_kill() from pid 20209 and user 1003. [03:23:08.979] #0 0x000000082ad8f41a in thr_kill () from /lib/libc.so.7 [03:23:09.548] To enable execution of this file add [03:23:09.548] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:09.548] line to your configuration file "/.config/gdb/gdbinit". [03:23:09.548] To completely disable this security protection add [03:23:09.548] set auto-load safe-path / [03:23:09.548] line to your configuration file "/.config/gdb/gdbinit". [03:23:09.548] For more information about this security protection see the [03:23:09.548] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:09.548] info "(gdb)Auto-loading safe path" [03:23:09.548] [03:23:09.548] Thread 1 (LWP 101672): [03:23:09.548] #0 0x000000082ad8f41a in thr_kill () from /lib/libc.so.7 [03:23:09.548] No symbol table info available. [03:23:09.548] #1 0x000000082ad08e64 in raise () from /lib/libc.so.7 [03:23:09.548] No symbol table info available. [03:23:09.548] #2 0x000000082adb96f9 in abort () from /lib/libc.so.7 [03:23:09.548] No symbol table info available. [03:23:09.548] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x8441a4e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:09.548] No locals. [03:23:09.548] #4 0x00000008441ae063 in PLy_generate_spi_exceptions (mod=0x847cbdad0, base=0x8408a0010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:09.548] dict = [03:23:09.548] found = true [03:23:09.548] sqlstate = [03:23:09.548] exc = 0x8408f8c10 [03:23:09.548] entry = 0x0 [03:23:09.548] i = 66 [03:23:09.548] #5 PLy_add_exceptions (plpy=0x8463cec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:09.548] hash_ctl = {num_partitions = 35537423728, ssize = 7, dsize = 2, max_dsize = 34913583008, keysize = 4, entrysize = 16, hash = 0x846368d40, match = 0x846368d40, keycopy = 0x847ca4f80, alloc = 0x8463c60b0, hcxt = 0x844d08ac0 <_PyRuntime+166184>, hctl = 0x82102fff0} [03:23:09.548] excmod = 0x847cbdad0 [03:23:09.548] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:09.548] m = 0x8463cec50 [03:23:09.548] #7 0x0000000844b14f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #8 0x0000000844b132e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #9 0x0000000844a33c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #10 0x0000000844addd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #11 0x0000000844ae0795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #12 0x00000008449e190f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #13 0x00000008449e1705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #14 0x0000000844b0f284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #15 0x0000000844ac7996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #16 0x0000000844a33e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #17 0x00000008449e0538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #18 0x00000008449e0467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #19 0x0000000844b0eb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #20 0x0000000844b0fef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:09.548] No symbol table info available. [03:23:09.548] #21 0x00000008441ad476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:09.548] inited = false [03:23:09.548] #22 0x00000008441ad3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:09.548] funcoid = 16585 [03:23:09.548] tuple = [03:23:09.548] is_trigger = [03:23:09.548] procStruct = [03:23:09.548] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x821030778, collation=0, arg1=16585) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:09.548] fcinfodata = {fcinfo = {flinfo = 0x821030778, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x8210307c8}, fcinfo_data = "x\a\003!\b", '\000' , "\001\000\311@", '\000' } [03:23:09.548] fcinfo = 0x8210307a8 [03:23:09.548] result = [03:23:09.548] __error = [03:23:09.548] #24 OidFunctionCall1Coll (functionId=functionId@entry=16580, collation=collation@entry=0, arg1=arg1@entry=16585) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:09.548] flinfo = {fn_addr = 0x8441ad370 , fn_oid = 16580, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834b26400, fn_expr = 0x0} [03:23:09.548] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x834c69e20 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16581, languageValidator=16580, prosrc=0x8407b9900 "\nplpy.info(repr(val))\nreturn len(val)\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x834b63c18, allParameterTypes=0, parameterModes=0, parameterNames=35244096584, parameterDefaults=0x0, trftypes=35244096768, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:09.548] set_items = [03:23:09.548] save_nestlevel = 0 [03:23:09.548] myself = {classId = 1255, objectId = 16585, objectSubId = 0} [03:23:09.548] nulls = {false , true, true, false, true, false, false, true, true, true, true} [03:23:09.548] values = {16585, 34913585152, 2200, 10, 16581, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35244096536, 0, 0, 35244096584, 0, 35244096768, 35244096632, 0, 0, 0, 0} [03:23:09.548] replaces = {true } [03:23:09.548] procname = {data = "test1", '\000' } [03:23:09.548] referenced = {classId = 3576, objectId = 16584, objectSubId = 0} [03:23:09.548] paramModes = [03:23:09.548] variadicType = [03:23:09.548] proacl = 0x0 [03:23:09.548] parameterCount = [03:23:09.548] allParamCount = 1 [03:23:09.548] allParams = 0x834b63c30 [03:23:09.548] detailmsg = [03:23:09.548] i = [03:23:09.548] rel = 0x834c44108 [03:23:09.548] tupDesc = 0x834c44318 [03:23:09.548] oldtup = 0x0 [03:23:09.548] tup = 0x834cae838 [03:23:09.548] is_update = [03:23:09.548] retval = 16585 [03:23:09.548] addrs = [03:23:09.548] trfid = [03:23:09.548] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x834b26500, stmt=, stmt@entry=0x834c69dd0) at ../src/backend/commands/functioncmds.c:1257 [03:23:09.548] funcname = 0x834c69e20 "test1" [03:23:09.548] parameterTypes = 0x834b63c18 [03:23:09.548] parameterTypes_list = 0x834caeba8 [03:23:09.548] allParameterTypes = 0x0 [03:23:09.548] parameterModes = 0x0 [03:23:09.548] parameterNames = 0x834b63c48 [03:23:09.548] inParameterNames_list = 0x834b63bc8 [03:23:09.548] parameterDefaults = 0x0 [03:23:09.548] variadicArgType = 0 [03:23:09.548] requiredResultType = 0 [03:23:09.548] transformDefElem = [03:23:09.548] trftypes_list = [03:23:09.548] namespaceId = 2200 [03:23:09.548] aclresult = [03:23:09.548] as_clause = [03:23:09.548] language = [03:23:09.548] isWindowFunc = false [03:23:09.548] isStrict = false [03:23:09.548] security = false [03:23:09.548] isLeakProof = [03:23:09.548] volatility = 118 'v' [03:23:09.548] proconfig = 0x0 [03:23:09.548] procost = 100 [03:23:09.548] prorows = 0 [03:23:09.548] prosupport = 0 [03:23:09.548] parallel = 117 'u' [03:23:09.548] languageTuple = [03:23:09.548] languageStruct = [03:23:09.548] languageOid = 16581 [03:23:09.548] languageValidator = 16580 [03:23:09.548] prorettype = 23 [03:23:09.548] returnsSet = false [03:23:09.548] trftypes = 0x834b63d00 [03:23:09.548] prosqlbody = 0x0 [03:23:09.548] probin_str = 0x0 [03:23:09.548] prosrc_str = 0x8407b9900 "\nplpy.info(repr(val))\nreturn len(val)\n" [03:23:09.548] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x834b26500, pstmt=pstmt@entry=0x834c686a0, queryString=queryString@entry=0x834b18100 "CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x821030fc0) at ../src/backend/tcop/utility.c:1655 [03:23:09.548] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34913586152, 34913586528, 34913586160, 12139528, 0, 35243844864, 35245130623, 10, 0, 549755813888}}} [03:23:09.548] _save_exception_stack = 0x821030ec0 [03:23:09.548] _save_context_stack = 0x0 [03:23:09.548] _do_rethrow = false [03:23:09.548] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:09.548] parsetree = 0x834c69dd0 [03:23:09.548] commandCollected = false [03:23:09.548] needCleanup = false [03:23:09.548] address = [03:23:09.548] isTopLevel = [03:23:09.548] isCompleteQuery = [03:23:09.548] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x834c686a0, queryString=0x834b18100 "CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8407b9a60, qc=0x821030fc0) at ../src/backend/tcop/utility.c:1030 [03:23:09.548] isAtomicContext = false [03:23:09.548] parsetree = 0x834c69dd0 [03:23:09.548] readonly_flags = [03:23:09.548] pstate = 0x834b26500 [03:23:09.548] isTopLevel = [03:23:09.548] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x18d28, queryString=0x6 , readOnlyTree=, context=718861306, params=0x0, queryEnv=0x0, dest=0x8407b9a60, qc=0x821030fc0) at ../src/backend/tcop/utility.c:523 [03:23:09.548] No locals. [03:23:09.548] #30 0x0000000000904113 in PortalRunUtility (portal=0x834bed100, pstmt=0x834c686a0, isTopLevel=, setHoldSnapshot=, dest=0x8407b9a60, qc=0x821030fc0) at ../src/backend/tcop/pquery.c:1158 [03:23:09.548] No locals. [03:23:09.548] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x834bed100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8407b9a60, altdest=altdest@entry=0x8407b9a60, qc=0x821030fc0) at ../src/backend/tcop/pquery.c:1323 [03:23:09.548] pstmt = 0x834c686a0 [03:23:09.548] stmtlist_item__state = {l = 0x8407b9a10, i = 0} [03:23:09.548] active_snapshot_set = false [03:23:09.548] stmtlist_item = 0x8407b9a28 [03:23:09.548] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x834bed100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8407b9a60, altdest=altdest@entry=0x8407b9a60, qc=0x821030fc0) at ../src/backend/tcop/pquery.c:791 [03:23:09.548] _local_sigjmp_buf = {{_sjb = {9449453, 35244658944, 34913586872, 34913587104, 34913586880, 35244675072, 12106216, 12139528, 35244606335, 35245165072, 4294967984, 0}}} [03:23:09.548] _save_exception_stack = 0x821031090 [03:23:09.548] _save_context_stack = 0x0 [03:23:09.548] _do_rethrow = false [03:23:09.548] saveTopTransactionResourceOwner = 0x834bf95d8 [03:23:09.548] saveTopTransactionContext = 0x834bf1000 [03:23:09.548] saveActivePortal = 0x0 [03:23:09.548] saveResourceOwner = 0x834bf95d8 [03:23:09.548] savePortalContext = 0x0 [03:23:09.548] saveMemoryContext = 0x834bf1000 [03:23:09.548] result = [03:23:09.548] nprocessed = [03:23:09.548] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x834b18100 "CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;") at ../src/backend/tcop/postgres.c:1284 [03:23:09.548] cmdtaglen = 15 [03:23:09.548] snapshot_set = [03:23:09.548] per_parsetree_context = 0x0 [03:23:09.548] plantree_list = [03:23:09.548] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:09.548] format = 0 [03:23:09.548] parsetree = 0x834b19ea8 [03:23:09.548] commandTag = [03:23:09.548] cmdtagname = [03:23:09.548] querytree_list = [03:23:09.548] portal = 0x834bed100 [03:23:09.548] receiver = 0x8407b9a60 [03:23:09.548] parsetree_item__state = {l = 0x834c68650, i = 0} [03:23:09.548] msec_str = "\000\000\000\000\b", '\000' , "O\200\326f\000\000\000\000\221rM\301\005-\252$" [03:23:09.548] dest = DestRemote [03:23:09.548] was_logged = [03:23:09.548] oldcontext = 0x834bf1000 [03:23:09.548] parsetree_list = 0x834c68650 [03:23:09.548] use_implicit_block = false [03:23:09.548] parsetree_item = 0x834c68668 [03:23:09.548] save_log_statement_stats = [03:23:09.548] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:09.548] query_string = 0x834b18100 "CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;" [03:23:09.548] input_message = {data = 0x834b18100 "CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;", len = 137, maxlen = 1024, cursor = 137} [03:23:09.548] firstchar = [03:23:09.548] local_sigjmp_buf = {{_sjb = {9433366, 34913587344, 34913587304, 34913587888, 12148264, 1, 8192, 8388608, 34913583999, 0, 0, 1}}} [03:23:09.548] send_ready_for_query = false [03:23:09.548] idle_in_transaction_timeout_enabled = false [03:23:09.548] idle_session_timeout_enabled = false [03:23:09.548] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:09.548] bsdata = [03:23:09.548] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821031dd4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x821031d10) at ../src/backend/postmaster/launch_backend.c:274 [03:23:09.548] pid = [03:23:09.548] #37 0x00000000008589c8 in BackendStartup (client_sock=0x821031d10) at ../src/backend/postmaster/postmaster.c:3414 [03:23:09.548] startup_data = {canAcceptConnections = CAC_OK} [03:23:09.548] bn = 0x834b24088 [03:23:09.548] pid = [03:23:09.548] __error = [03:23:09.548] save_errno = [03:23:09.548] __error = [03:23:09.548] __error = [03:23:09.548] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:09.548] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\237\2614\b", '\000' , "p\035\003!\b\000\000\000hE;*\b\000\000\000\v\000\000\000\000\000\000\000^\317;*\b", '\000' , "\260\035\003!\b\000\000\000\264C\205\000\000\000\000\000\300\035\003!\b", '\000' }, salen = 16}} [03:23:09.548] i = 0 [03:23:09.548] now = [03:23:09.548] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 718486658, events = 8, fd = 0, user_data = 0x821031cc0}, {pos = 884418008, events = 8, fd = 553851728, user_data = 0x0}, {pos = 0, events = 0, fd = -1365801960, user_data = 0x5370b0030a}, {pos = 717653920, events = 8, fd = 717725048, user_data = 0x8210317d8}, {pos = 553850960, events = 8, fd = 553850840, user_data = 0x5370b0030a}, {pos = 717632392, events = 8, fd = 717725048, user_data = 0x821031808}, {pos = 553851008, events = 8, fd = 553850888, user_data = 0x82ac72194}, {pos = 558421000, events = 8, fd = 717693332, user_data = 0x821031870}, {pos = 1890563130, events = 83, fd = 719515696, user_data = 0x1}, {pos = 553851040, events = 8, fd = 1890583306, user_data = 0x82ac5b858}, {pos = 717725048, events = 8, fd = 553851000, user_data = 0x8210318f0}, {pos = 553851000, events = 8, fd = 717688076, user_data = 0x82148d408}, {pos = 717688076, events = 8, fd = 553851104, user_data = 0x5370afb43a}, {pos = 553851144, events = 8, fd = 553851592, user_data = 0x8210318f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2688731969, fd = 558444600, user_data = 0x800000001}, {pos = 558421000, events = 8, fd = 717632392, user_data = 0x821492288}, {pos = 717600856, events = 8, fd = 558421000, user_data = 0x821031978}, {pos = 553851704, events = 8, fd = 553851232, user_data = 0x5370affca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 558444600, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 553851960, user_data = 0x2148d408}, {pos = 553851776, events = 8, fd = 553851376, user_data = 0x1}, {pos = 553851704, events = 8, fd = 32, user_data = 0x8210319e0}, {pos = 1890581107, events = 83, fd = 553851648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821493038}, {pos = 1, events = 8, fd = 558421000, user_data = 0x82ac5b858}, {pos = 553851960, events = 8, fd = 553851776, user_data = 0x8210319f0}, {pos = 0, events = 0, fd = 558391304, user_data = 0x20}, {pos = 553851760, events = 8, fd = 1890556647, user_data = 0x821486008}, {pos = 558392328, events = 8, fd = 558393352, user_data = 0x821486c08}, {pos = 558407688, events = 8, fd = 558408712, user_data = 0x82148a808}, {pos = 558410760, events = 8, fd = 558411784, user_data = 0x82148b408}, {pos = 558413832, events = 8, fd = 558414856, user_data = 0x82148c008}, {pos = 558416904, events = 8, fd = 558417928, user_data = 0x82148cc08}, {pos = 558419976, events = 8, fd = 558421000, user_data = 0x82148d808}, {pos = 558423048, events = 8, fd = 558424072, user_data = 0x82148e408}, {pos = 558426120, events = 8, fd = 558427144, user_data = 0x82148f008}, {pos = 558429192, events = 8, fd = 558430216, user_data = 0x82148fc08}, {pos = 558436360, events = 8, fd = 558437384, user_data = 0x821491808}, {pos = 558439432, events = 8, fd = 558391304, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821493038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 553851960, events = 8, fd = 553851376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 558444600, user_data = 0x1}, {pos = 558391304, events = 8, fd = 313, user_data = 0x821031c20}, {pos = 1890555375, events = 83, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 558444600, user_data = 0x1}, {pos = 558421000, events = 8, fd = 883982336, user_data = 0x1}, {pos = 883982740, events = 8, fd = 0, user_data = 0x821031bf0}, {pos = 708560236, events = 8, fd = 1, user_data = 0x834b08000}, {pos = 553851936, events = 8, fd = 708556546, user_data = 0x82ad8d170 }, {pos = 12073312, events = 0, fd = 718852464, user_data = 0x82148d408}, {pos = 553852160, events = 8, fd = 1890554846, user_data = 0x834b26800}, {pos = 1, events = 0, fd = 1890554462, user_data = 0x821486008}, {pos = 553851944, events = 8, fd = 553852160, user_data = 0x1c20}, {pos = 884055808, events = 8, fd = 1890634128, user_data = 0x0}, {pos = 553845631, events = 8, fd = 7886631, user_data = 0x821031cb0}, {pos = 708518928, events = 8, fd = 719515696, user_data = 0x82ae31310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821031ce0}, {pos = 708561821, events = 8, fd = 883982336, user_data = 0x4eb9}, {pos = 553852224, events = 8, fd = 708528378, user_data = 0x0}, {pos = 0, events = 0, fd = -1365801960, user_data = 0x0}} [03:23:09.548] last_touch_time = 1725333582 [03:23:09.548] last_lockfile_recheck_time = 1725333582 [03:23:09.548] nevents = 1 [03:23:09.548] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821032320) at ../src/backend/postmaster/postmaster.c:1346 [03:23:09.548] userDoption = [03:23:09.548] listen_addr_saved = [03:23:09.548] output_config_variable = [03:23:09.548] opt = [03:23:09.548] status = [03:23:09.548] #40 0x000000000079240c in main (argc=8, argv=0x821032320) at ../src/backend/main/main.c:197 [03:23:09.548] do_check_root = [03:23:09.560] [03:23:09.560] [03:23:09.560] [03:23:09.628] dumping /tmp/cores/postgres.20279.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:09.754] [New LWP 100109] [03:23:09.829] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:23:09.829] Program terminated with signal SIGABRT, Aborted. [03:23:09.829] Sent by thr_kill() from pid 20279 and user 1003. [03:23:09.829] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:10.395] To enable execution of this file add [03:23:10.395] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:10.395] line to your configuration file "/.config/gdb/gdbinit". [03:23:10.395] To completely disable this security protection add [03:23:10.395] set auto-load safe-path / [03:23:10.395] line to your configuration file "/.config/gdb/gdbinit". [03:23:10.395] For more information about this security protection see the [03:23:10.395] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:10.395] info "(gdb)Auto-loading safe path" [03:23:10.395] [03:23:10.395] Thread 1 (LWP 100109): [03:23:10.395] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:10.395] No symbol table info available. [03:23:10.395] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:10.395] No symbol table info available. [03:23:10.395] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:10.395] No symbol table info available. [03:23:10.395] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x84244ee44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:10.395] No locals. [03:23:10.395] #4 0x0000000842458063 in PLy_generate_spi_exceptions (mod=0x84a4c5b20, base=0x841e88010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:10.395] dict = [03:23:10.395] found = true [03:23:10.395] sqlstate = [03:23:10.395] exc = 0x841f40c10 [03:23:10.395] entry = 0x0 [03:23:10.395] i = 66 [03:23:10.395] #5 PLy_add_exceptions (plpy=0x848cb2ca0) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:10.395] hash_ctl = {num_partitions = 35580300656, ssize = 7, dsize = 2, max_dsize = 34919011520, keysize = 4, entrysize = 16, hash = 0x848c4cd40, match = 0x848c4cd40, keycopy = 0x84a4ad000, alloc = 0x848caa0f0, hcxt = 0x847e4aac0 <_PyRuntime+166184>, hctl = 0x82155d510} [03:23:10.395] excmod = 0x84a4c5b20 [03:23:10.395] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:10.395] m = 0x848cb2ca0 [03:23:10.395] #7 0x0000000847c56f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #8 0x0000000847c552e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #9 0x0000000847b75c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #10 0x0000000847c1fd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #11 0x0000000847c22795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #12 0x0000000847b2390f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #13 0x0000000847b23705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #14 0x0000000847c51284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #15 0x0000000847c09996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #16 0x0000000847b75e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #17 0x0000000847b22538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #18 0x0000000847b22467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #19 0x0000000847c50b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #20 0x0000000847c51ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:10.395] No symbol table info available. [03:23:10.395] #21 0x0000000842457476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:10.395] inited = false [03:23:10.395] #22 0x00000008424573a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:10.395] funcoid = 49152 [03:23:10.395] tuple = [03:23:10.395] is_trigger = [03:23:10.395] procStruct = [03:23:10.395] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155dc98, collation=0, arg1=49152) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:10.395] fcinfodata = {fcinfo = {flinfo = 0x82155dc98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155dce8}, fcinfo_data = "\230\334U!\b", '\000' , "\001\000\000\300", '\000' } [03:23:10.395] fcinfo = 0x82155dcc8 [03:23:10.395] result = [03:23:10.395] __error = [03:23:10.395] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=49152) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:10.395] flinfo = {fn_addr = 0x842457370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835a0b400, fn_expr = 0x0} [03:23:10.395] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x835a9d978 "users_insert", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2279, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x835a9db48 "if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fname\"][:1] + \"_\" + TD[\"new\"][\"lname\"]\n\trv = \"MODIFY\"\n"..., probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x835a483b0, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:10.395] set_items = [03:23:10.395] save_nestlevel = 0 [03:23:10.395] myself = {classId = 1255, objectId = 49152, objectSubId = 0} [03:23:10.395] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:23:10.395] values = {49152, 34919013664, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 2279, 35259712432, 0, 0, 0, 0, 0, 35261083704, 0, 0, 0, 0} [03:23:10.395] replaces = {true } [03:23:10.395] procname = {data = "users_insert", '\000' } [03:23:10.395] referenced = {classId = 1247, objectId = 2279, objectSubId = 0} [03:23:10.395] paramModes = [03:23:10.395] variadicType = [03:23:10.395] proacl = 0x0 [03:23:10.395] parameterCount = [03:23:10.395] allParamCount = 0 [03:23:10.395] allParams = 0x835a483c8 [03:23:10.395] detailmsg = [03:23:10.395] i = [03:23:10.395] rel = 0x835b2e118 [03:23:10.395] tupDesc = 0x835b2e438 [03:23:10.395] oldtup = 0x0 [03:23:10.395] tup = 0x835a483f8 [03:23:10.395] is_update = [03:23:10.395] retval = 49152 [03:23:10.395] addrs = [03:23:10.395] trfid = [03:23:10.395] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x835a0b500, stmt=, stmt@entry=0x835a9d928) at ../src/backend/commands/functioncmds.c:1257 [03:23:10.395] funcname = 0x835a9d978 "users_insert" [03:23:10.395] parameterTypes = 0x835a483b0 [03:23:10.395] parameterTypes_list = 0x0 [03:23:10.395] allParameterTypes = 0x0 [03:23:10.395] parameterModes = 0x0 [03:23:10.395] parameterNames = 0x0 [03:23:10.395] inParameterNames_list = 0x0 [03:23:10.395] parameterDefaults = 0x0 [03:23:10.395] variadicArgType = 0 [03:23:10.395] requiredResultType = 0 [03:23:10.395] transformDefElem = [03:23:10.395] trftypes_list = [03:23:10.395] namespaceId = 2200 [03:23:10.395] aclresult = [03:23:10.395] as_clause = [03:23:10.395] language = [03:23:10.395] isWindowFunc = false [03:23:10.395] isStrict = false [03:23:10.395] security = false [03:23:10.395] isLeakProof = [03:23:10.395] volatility = 118 'v' [03:23:10.395] proconfig = 0x0 [03:23:10.395] procost = 100 [03:23:10.395] prorows = 0 [03:23:10.395] prosupport = 0 [03:23:10.395] parallel = 117 'u' [03:23:10.395] languageTuple = [03:23:10.395] languageStruct = [03:23:10.395] languageOid = 16456 [03:23:10.395] languageValidator = 16455 [03:23:10.395] prorettype = 2279 [03:23:10.395] returnsSet = false [03:23:10.395] trftypes = 0x0 [03:23:10.395] prosqlbody = 0x0 [03:23:10.395] probin_str = 0x0 [03:23:10.395] prosrc_str = 0x835a9db48 "if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fname\"][:1] + \"_\" + TD[\"new\"][\"lname\"]\n\trv = \"MODIFY\"\n"... [03:23:10.395] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x835a0b500, pstmt=pstmt@entry=0x835a9c398, queryString=queryString@entry=0x8359fd100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1655 [03:23:10.395] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34919014664, 34919015040, 34919014672, 12139528, 0, 35259462912, 35260007295, 10, 0, 549755813888}}} [03:23:10.395] _save_exception_stack = 0x82155e3e0 [03:23:10.395] _save_context_stack = 0x0 [03:23:10.395] _do_rethrow = false [03:23:10.395] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:10.395] parsetree = 0x835a9d928 [03:23:10.395] commandCollected = false [03:23:10.395] needCleanup = false [03:23:10.395] address = [03:23:10.395] isTopLevel = [03:23:10.395] isCompleteQuery = [03:23:10.395] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x835a9c398, queryString=0x8359fd100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8359fef10, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1030 [03:23:10.395] isAtomicContext = false [03:23:10.395] parsetree = 0x835a9d928 [03:23:10.395] readonly_flags = [03:23:10.395] pstate = 0x835a0b500 [03:23:10.395] isTopLevel = [03:23:10.395] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x1870d, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x8359fef10, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:10.395] No locals. [03:23:10.395] #30 0x0000000000904113 in PortalRunUtility (portal=0x835ad4100, pstmt=0x835a9c398, isTopLevel=, setHoldSnapshot=, dest=0x8359fef10, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:10.395] No locals. [03:23:10.395] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad4100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8359fef10, altdest=altdest@entry=0x8359fef10, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:10.395] pstmt = 0x835a9c398 [03:23:10.395] stmtlist_item__state = {l = 0x835a9df18, i = 0} [03:23:10.395] active_snapshot_set = false [03:23:10.395] stmtlist_item = 0x835a9df30 [03:23:10.395] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad4100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8359fef10, altdest=altdest@entry=0x8359fef10, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:10.395] _local_sigjmp_buf = {{_sjb = {9449453, 35260285184, 34919015384, 34919015616, 34919015392, 35260760064, 12106216, 12139528, 35260269439, 35260057352, 4294967984, 0}}} [03:23:10.395] _save_exception_stack = 0x82155e5b0 [03:23:10.395] _save_context_stack = 0x0 [03:23:10.395] _do_rethrow = false [03:23:10.395] saveTopTransactionResourceOwner = 0x835adc6e0 [03:23:10.395] saveTopTransactionContext = 0x835b48000 [03:23:10.395] saveActivePortal = 0x0 [03:23:10.395] saveResourceOwner = 0x835adc6e0 [03:23:10.395] savePortalContext = 0x0 [03:23:10.395] saveMemoryContext = 0x835b48000 [03:23:10.395] result = [03:23:10.395] nprocessed = [03:23:10.395] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"...) at ../src/backend/tcop/postgres.c:1284 [03:23:10.395] cmdtaglen = 15 [03:23:10.395] snapshot_set = [03:23:10.395] per_parsetree_context = 0x0 [03:23:10.395] plantree_list = [03:23:10.395] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:10.395] format = 0 [03:23:10.395] parsetree = 0x8359fecc0 [03:23:10.395] commandTag = [03:23:10.395] cmdtagname = [03:23:10.395] querytree_list = [03:23:10.395] portal = 0x835ad4100 [03:23:10.395] receiver = 0x8359fef10 [03:23:10.395] parsetree_item__state = {l = 0x835a9c348, i = 0} [03:23:10.395] msec_str = "\000\000\000\000\b", '\000' , "P\200\326f\000\000\000\000\205[^`6~\234\232" [03:23:10.395] dest = DestRemote [03:23:10.395] was_logged = [03:23:10.395] oldcontext = 0x835b48000 [03:23:10.395] parsetree_list = 0x835a9c348 [03:23:10.395] use_implicit_block = false [03:23:10.395] parsetree_item = 0x835a9c360 [03:23:10.395] save_log_statement_stats = [03:23:10.395] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:10.395] query_string = 0x8359fd100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"... [03:23:10.395] input_message = {data = 0x8359fd100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"..., len = 389, maxlen = 1024, cursor = 389} [03:23:10.395] firstchar = [03:23:10.395] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:10.395] send_ready_for_query = false [03:23:10.395] idle_in_transaction_timeout_enabled = false [03:23:10.395] idle_session_timeout_enabled = false [03:23:10.395] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:10.395] bsdata = [03:23:10.395] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:10.395] pid = [03:23:10.395] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:10.395] startup_data = {canAcceptConnections = CAC_OK} [03:23:10.395] bn = 0x8359fef00 [03:23:10.395] pid = [03:23:10.395] __error = [03:23:10.395] save_errno = [03:23:10.395] __error = [03:23:10.395] __error = [03:23:10.395] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:10.395] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:10.395] i = 0 [03:23:10.395] now = [03:23:10.395] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:10.396] last_touch_time = 1725333570 [03:23:10.396] last_lockfile_recheck_time = 1725333570 [03:23:10.396] nevents = 1 [03:23:10.396] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:10.396] userDoption = [03:23:10.396] listen_addr_saved = [03:23:10.396] output_config_variable = [03:23:10.396] opt = [03:23:10.396] status = [03:23:10.396] #40 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:10.396] do_check_root = [03:23:10.408] [03:23:10.408] [03:23:10.408] [03:23:10.476] dumping /tmp/cores/postgres.20509.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:10.602] [New LWP 100598] [03:23:10.681] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:23:10.681] Program terminated with signal SIGABRT, Aborted. [03:23:10.681] Sent by thr_kill() from pid 20509 and user 1003. [03:23:10.681] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:11.275] To enable execution of this file add [03:23:11.275] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:11.275] line to your configuration file "/.config/gdb/gdbinit". [03:23:11.275] To completely disable this security protection add [03:23:11.275] set auto-load safe-path / [03:23:11.275] line to your configuration file "/.config/gdb/gdbinit". [03:23:11.275] For more information about this security protection see the [03:23:11.275] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:11.275] info "(gdb)Auto-loading safe path" [03:23:11.275] [03:23:11.275] Thread 1 (LWP 100598): [03:23:11.275] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:11.275] No symbol table info available. [03:23:11.275] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:11.275] No symbol table info available. [03:23:11.275] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:11.275] No symbol table info available. [03:23:11.275] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x844ac2e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:11.275] No locals. [03:23:11.275] #4 0x0000000844acc063 in PLy_generate_spi_exceptions (mod=0x84a6fdad0, base=0x8439e8010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:11.275] dict = [03:23:11.275] found = true [03:23:11.275] sqlstate = [03:23:11.275] exc = 0x843aa5c10 [03:23:11.275] entry = 0x0 [03:23:11.275] i = 66 [03:23:11.275] #5 PLy_add_exceptions (plpy=0x848ef2c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:11.275] hash_ctl = {num_partitions = 35582659952, ssize = 7, dsize = 2, max_dsize = 34919011520, keysize = 4, entrysize = 16, hash = 0x848e8cd40, match = 0x848e8cd40, keycopy = 0x84a6e5040, alloc = 0x848eea130, hcxt = 0x848446ac0 <_PyRuntime+166184>, hctl = 0x82155d510} [03:23:11.275] excmod = 0x84a6fdad0 [03:23:11.275] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:11.275] m = 0x848ef2c50 [03:23:11.275] #7 0x0000000848252f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #8 0x00000008482512e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #9 0x0000000848171c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #10 0x000000084821bd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #11 0x000000084821e795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #12 0x000000084811f90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #13 0x000000084811f705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #14 0x000000084824d284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #15 0x0000000848205996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #16 0x0000000848171e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #17 0x000000084811e538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #18 0x000000084811e467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #19 0x000000084824cb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #20 0x000000084824def8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:11.275] No symbol table info available. [03:23:11.275] #21 0x0000000844acb476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:11.275] inited = false [03:23:11.275] #22 0x0000000844acb3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:11.275] funcoid = 57344 [03:23:11.275] tuple = [03:23:11.275] is_trigger = [03:23:11.275] procStruct = [03:23:11.275] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155dc98, collation=0, arg1=57344) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:11.275] fcinfodata = {fcinfo = {flinfo = 0x82155dc98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155dce8}, fcinfo_data = "\230\334U!\b", '\000' , "\001\000\000\340", '\000' } [03:23:11.275] fcinfo = 0x82155dcc8 [03:23:11.275] result = [03:23:11.275] __error = [03:23:11.275] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=57344) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:11.275] flinfo = {fn_addr = 0x844acb370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835a0b400, fn_expr = 0x0} [03:23:11.275] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x835a9d930 "multiout_simple", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2249, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x835a9dd78 "\nreturn (1, 2)\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x835a483f8, allParameterTypes=35259712552, parameterModes=35259712600, parameterNames=35261084584, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:11.275] set_items = [03:23:11.275] save_nestlevel = 0 [03:23:11.275] myself = {classId = 1255, objectId = 57344, objectSubId = 0} [03:23:11.275] nulls = {false , true, true, false, true, true, true, true} [03:23:11.275] values = {57344, 34919013664, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 2249, 35259712504, 35259712552, 35259712600, 35261084584, 0, 0, 35259712648, 0, 0, 0, 0} [03:23:11.275] replaces = {true } [03:23:11.275] procname = {data = "multiout_simple", '\000' } [03:23:11.275] referenced = {classId = 1247, objectId = 23, objectSubId = 0} [03:23:11.275] paramModes = [03:23:11.275] variadicType = [03:23:11.275] proacl = 0x0 [03:23:11.275] parameterCount = [03:23:11.275] allParamCount = 2 [03:23:11.275] allParams = 0x835a48440 [03:23:11.275] detailmsg = [03:23:11.275] i = [03:23:11.275] rel = 0x835b2d558 [03:23:11.275] tupDesc = 0x835b2d878 [03:23:11.275] oldtup = 0x0 [03:23:11.275] tup = 0x835b97038 [03:23:11.275] is_update = [03:23:11.275] retval = 57344 [03:23:11.275] addrs = [03:23:11.275] trfid = [03:23:11.275] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x835a0b500, stmt=, stmt@entry=0x835a9d8e0) at ../src/backend/commands/functioncmds.c:1257 [03:23:11.275] funcname = 0x835a9d930 "multiout_simple" [03:23:11.275] parameterTypes = 0x835a483f8 [03:23:11.275] parameterTypes_list = 0x0 [03:23:11.275] allParameterTypes = 0x835a48428 [03:23:11.275] parameterModes = 0x835a48458 [03:23:11.275] parameterNames = 0x835b973a8 [03:23:11.275] inParameterNames_list = 0x835a0b610 [03:23:11.275] parameterDefaults = 0x0 [03:23:11.275] variadicArgType = 0 [03:23:11.275] requiredResultType = 2249 [03:23:11.275] transformDefElem = [03:23:11.275] trftypes_list = [03:23:11.275] namespaceId = 2200 [03:23:11.275] aclresult = [03:23:11.275] as_clause = [03:23:11.275] language = [03:23:11.275] isWindowFunc = false [03:23:11.275] isStrict = false [03:23:11.275] security = false [03:23:11.275] isLeakProof = [03:23:11.275] volatility = 118 'v' [03:23:11.275] proconfig = 0x0 [03:23:11.275] procost = 100 [03:23:11.275] prorows = 0 [03:23:11.275] prosupport = 0 [03:23:11.275] parallel = 117 'u' [03:23:11.275] languageTuple = [03:23:11.275] languageStruct = [03:23:11.275] languageOid = 16456 [03:23:11.275] languageValidator = 16455 [03:23:11.275] prorettype = 2249 [03:23:11.275] returnsSet = false [03:23:11.275] trftypes = 0x0 [03:23:11.275] prosqlbody = 0x0 [03:23:11.275] probin_str = 0x0 [03:23:11.275] prosrc_str = 0x835a9dd78 "\nreturn (1, 2)\n" [03:23:11.275] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x835a0b500, pstmt=pstmt@entry=0x835a9c2c8, queryString=queryString@entry=0x8359fd100 "CREATE FUNCTION multiout_simple(OUT i integer, OUT j integer) AS $$\nreturn (1, 2)\n$$ LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1655 [03:23:11.275] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34919014664, 34919015040, 34919014672, 12139528, 0, 35259462912, 35260007295, 10, 0, 549755813888}}} [03:23:11.275] _save_exception_stack = 0x82155e3e0 [03:23:11.275] _save_context_stack = 0x0 [03:23:11.275] _do_rethrow = false [03:23:11.275] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:11.275] parsetree = 0x835a9d8e0 [03:23:11.275] commandCollected = false [03:23:11.275] needCleanup = false [03:23:11.275] address = [03:23:11.275] isTopLevel = [03:23:11.275] isCompleteQuery = [03:23:11.275] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x835a9c2c8, queryString=0x8359fd100 "CREATE FUNCTION multiout_simple(OUT i integer, OUT j integer) AS $$\nreturn (1, 2)\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x84391a438, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1030 [03:23:11.275] isAtomicContext = false [03:23:11.275] parsetree = 0x835a9d8e0 [03:23:11.275] readonly_flags = [03:23:11.275] pstate = 0x835a0b500 [03:23:11.275] isTopLevel = [03:23:11.275] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x188f6, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x84391a438, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:11.275] No locals. [03:23:11.275] #30 0x0000000000904113 in PortalRunUtility (portal=0x835ad4100, pstmt=0x835a9c2c8, isTopLevel=, setHoldSnapshot=, dest=0x84391a438, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:11.275] No locals. [03:23:11.275] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad4100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x84391a438, altdest=altdest@entry=0x84391a438, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:11.275] pstmt = 0x835a9c2c8 [03:23:11.275] stmtlist_item__state = {l = 0x835a9df68, i = 0} [03:23:11.275] active_snapshot_set = false [03:23:11.275] stmtlist_item = 0x835a9df80 [03:23:11.275] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad4100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x84391a438, altdest=altdest@entry=0x84391a438, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:11.275] _local_sigjmp_buf = {{_sjb = {9449453, 35260285184, 34919015384, 34919015616, 34919015392, 35260760064, 12106216, 12139528, 895, 35259404288, 34919015552, 0}}} [03:23:11.275] _save_exception_stack = 0x82155e5b0 [03:23:11.275] _save_context_stack = 0x0 [03:23:11.275] _do_rethrow = false [03:23:11.275] saveTopTransactionResourceOwner = 0x835ae6788 [03:23:11.275] saveTopTransactionContext = 0x835b48000 [03:23:11.275] saveActivePortal = 0x0 [03:23:11.275] saveResourceOwner = 0x835ae6788 [03:23:11.275] savePortalContext = 0x0 [03:23:11.275] saveMemoryContext = 0x835b48000 [03:23:11.275] result = [03:23:11.275] nprocessed = [03:23:11.275] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "CREATE FUNCTION multiout_simple(OUT i integer, OUT j integer) AS $$\nreturn (1, 2)\n$$ LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:23:11.275] cmdtaglen = 15 [03:23:11.275] snapshot_set = [03:23:11.275] per_parsetree_context = 0x0 [03:23:11.275] plantree_list = [03:23:11.275] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:11.275] format = 0 [03:23:11.275] parsetree = 0x8359febe0 [03:23:11.275] commandTag = [03:23:11.275] cmdtagname = [03:23:11.275] querytree_list = [03:23:11.275] portal = 0x835ad4100 [03:23:11.275] receiver = 0x84391a438 [03:23:11.275] parsetree_item__state = {l = 0x835a9c278, i = 0} [03:23:11.275] msec_str = "\000\000\000\000\b", '\000' , "S\200\326f\000\000\000\000{g_y\365\205P\001" [03:23:11.275] dest = DestRemote [03:23:11.275] was_logged = [03:23:11.275] oldcontext = 0x835b48000 [03:23:11.275] parsetree_list = 0x835a9c278 [03:23:11.275] use_implicit_block = false [03:23:11.275] parsetree_item = 0x835a9c290 [03:23:11.275] save_log_statement_stats = [03:23:11.275] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:11.275] query_string = 0x8359fd100 "CREATE FUNCTION multiout_simple(OUT i integer, OUT j integer) AS $$\nreturn (1, 2)\n$$ LANGUAGE plpython3u;" [03:23:11.275] input_message = {data = 0x8359fd100 "CREATE FUNCTION multiout_simple(OUT i integer, OUT j integer) AS $$\nreturn (1, 2)\n$$ LANGUAGE plpython3u;", len = 106, maxlen = 1024, cursor = 106} [03:23:11.275] firstchar = [03:23:11.275] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:11.275] send_ready_for_query = false [03:23:11.275] idle_in_transaction_timeout_enabled = false [03:23:11.275] idle_session_timeout_enabled = false [03:23:11.275] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:11.275] bsdata = [03:23:11.275] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:11.275] pid = [03:23:11.275] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:11.275] startup_data = {canAcceptConnections = CAC_OK} [03:23:11.275] bn = 0x8359fef00 [03:23:11.275] pid = [03:23:11.275] __error = [03:23:11.275] save_errno = [03:23:11.275] __error = [03:23:11.275] __error = [03:23:11.275] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:11.275] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:11.275] i = 0 [03:23:11.275] now = [03:23:11.275] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:11.276] last_touch_time = 1725333570 [03:23:11.276] last_lockfile_recheck_time = 1725333570 [03:23:11.276] nevents = 1 [03:23:11.276] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:11.276] userDoption = [03:23:11.276] listen_addr_saved = [03:23:11.276] output_config_variable = [03:23:11.276] opt = [03:23:11.276] status = [03:23:11.276] #40 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:11.276] do_check_root = [03:23:11.289] [03:23:11.289] [03:23:11.289] [03:23:11.360] dumping /tmp/cores/postgres.20714.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:11.495] [New LWP 101578] [03:23:11.577] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:23:11.577] Program terminated with signal SIGABRT, Aborted. [03:23:11.577] Sent by thr_kill() from pid 20714 and user 1003. [03:23:11.577] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:12.140] To enable execution of this file add [03:23:12.140] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:12.140] line to your configuration file "/.config/gdb/gdbinit". [03:23:12.140] To completely disable this security protection add [03:23:12.140] set auto-load safe-path / [03:23:12.140] line to your configuration file "/.config/gdb/gdbinit". [03:23:12.140] For more information about this security protection see the [03:23:12.140] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:12.140] info "(gdb)Auto-loading safe path" [03:23:12.140] [03:23:12.140] Thread 1 (LWP 101578): [03:23:12.140] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:12.140] No symbol table info available. [03:23:12.140] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:12.140] No symbol table info available. [03:23:12.140] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:12.140] No symbol table info available. [03:23:12.140] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x842ee9e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:12.140] No locals. [03:23:12.140] #4 0x0000000842ef3063 in PLy_generate_spi_exceptions (mod=0x848a99ad0, base=0x8420ee010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:12.140] dict = [03:23:12.140] found = true [03:23:12.140] sqlstate = [03:23:12.140] exc = 0x842196c10 [03:23:12.140] entry = 0x0 [03:23:12.140] i = 66 [03:23:12.140] #5 PLy_add_exceptions (plpy=0x846f1ec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:12.140] hash_ctl = {num_partitions = 35549285744, ssize = 7, dsize = 2, max_dsize = 34919011520, keysize = 4, entrysize = 16, hash = 0x846eb8d40, match = 0x846eb8d40, keycopy = 0x846f21040, alloc = 0x846f16130, hcxt = 0x845e59ac0 <_PyRuntime+166184>, hctl = 0x82155d510} [03:23:12.140] excmod = 0x848a99ad0 [03:23:12.140] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:12.140] m = 0x846f1ec50 [03:23:12.140] #7 0x0000000845c65f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #8 0x0000000845c642e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #9 0x0000000845b84c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #10 0x0000000845c2ed9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #11 0x0000000845c31795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #12 0x0000000845b3290f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #13 0x0000000845b32705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #14 0x0000000845c60284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #15 0x0000000845c18996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #16 0x0000000845b84e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #17 0x0000000845b31538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #18 0x0000000845b31467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #19 0x0000000845c5fb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #20 0x0000000845c60ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:12.140] No symbol table info available. [03:23:12.140] #21 0x0000000842ef2476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:12.140] inited = false [03:23:12.140] #22 0x0000000842ef23a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:12.140] funcoid = 65539 [03:23:12.140] tuple = [03:23:12.140] is_trigger = [03:23:12.140] procStruct = [03:23:12.140] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155dc98, collation=0, arg1=65539) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:12.140] fcinfodata = {fcinfo = {flinfo = 0x82155dc98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155dce8}, fcinfo_data = "\230\334U!\b", '\000' , "\001\000\003\000\001", '\000' } [03:23:12.140] fcinfo = 0x82155dcc8 [03:23:12.140] result = [03:23:12.140] __error = [03:23:12.140] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=65539) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:12.140] flinfo = {fn_addr = 0x842ef2370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835a0b400, fn_expr = 0x0} [03:23:12.140] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x835a9dfd8 "subtransaction_ctx_test", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8420109c0 "\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (2)\")\n if what_error == \"SPI\":\n plpy.execut"..., probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x835a484b8, allParameterTypes=0, parameterModes=0, parameterNames=35259712744, parameterDefaults=0x835a48468, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:12.140] set_items = [03:23:12.140] save_nestlevel = 0 [03:23:12.140] myself = {classId = 1255, objectId = 65539, objectSubId = 0} [03:23:12.140] nulls = {false , true, true, false, false, true, false, true, true, true, true} [03:23:12.140] values = {65539, 34919013664, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 1, 25, 35259712696, 0, 0, 35259712744, 35259711544, 0, 35259712824, 0, 0, 0, 0} [03:23:12.140] replaces = {true } [03:23:12.140] procname = {data = "subtransaction_ctx_test", '\000' } [03:23:12.140] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [03:23:12.140] paramModes = [03:23:12.140] variadicType = [03:23:12.140] proacl = 0x0 [03:23:12.140] parameterCount = [03:23:12.140] allParamCount = 1 [03:23:12.140] allParams = 0x835a484d0 [03:23:12.140] detailmsg = [03:23:12.140] i = [03:23:12.140] rel = 0x835b2d458 [03:23:12.140] tupDesc = 0x835b2d778 [03:23:12.140] oldtup = 0x0 [03:23:12.140] tup = 0x835a575e8 [03:23:12.140] is_update = [03:23:12.140] retval = 65539 [03:23:12.140] addrs = [03:23:12.140] trfid = [03:23:12.140] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x835a0b500, stmt=, stmt@entry=0x835a9df88) at ../src/backend/commands/functioncmds.c:1257 [03:23:12.140] funcname = 0x835a9dfd8 "subtransaction_ctx_test" [03:23:12.140] parameterTypes = 0x835a484b8 [03:23:12.140] parameterTypes_list = 0x835a0b610 [03:23:12.140] allParameterTypes = 0x0 [03:23:12.140] parameterModes = 0x0 [03:23:12.140] parameterNames = 0x835a484e8 [03:23:12.140] inParameterNames_list = 0x835b973a8 [03:23:12.140] parameterDefaults = 0x835a48468 [03:23:12.140] variadicArgType = 0 [03:23:12.140] requiredResultType = 0 [03:23:12.140] transformDefElem = [03:23:12.140] trftypes_list = [03:23:12.140] namespaceId = 2200 [03:23:12.140] aclresult = [03:23:12.140] as_clause = [03:23:12.140] language = [03:23:12.140] isWindowFunc = false [03:23:12.140] isStrict = false [03:23:12.140] security = false [03:23:12.140] isLeakProof = [03:23:12.140] volatility = 118 'v' [03:23:12.140] proconfig = 0x0 [03:23:12.140] procost = 100 [03:23:12.140] prorows = 0 [03:23:12.140] prosupport = 0 [03:23:12.140] parallel = 117 'u' [03:23:12.140] languageTuple = [03:23:12.140] languageStruct = [03:23:12.140] languageOid = 16456 [03:23:12.140] languageValidator = 16455 [03:23:12.140] prorettype = 25 [03:23:12.140] returnsSet = false [03:23:12.140] trftypes = 0x0 [03:23:12.140] prosqlbody = 0x0 [03:23:12.140] probin_str = 0x0 [03:23:12.140] prosrc_str = 0x8420109c0 "\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (2)\")\n if what_error == \"SPI\":\n plpy.execut"... [03:23:12.140] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x835a0b500, pstmt=pstmt@entry=0x835a9de78, queryString=queryString@entry=0x8359fd100 "CREATE FUNCTION subtransaction_ctx_test(what_error text = NULL) RETURNS text\nAS $$\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT IN"..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1655 [03:23:12.140] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34919014664, 34919015040, 34919014672, 12139528, 0, 35259462912, 35260007295, 10, 0, 549755813888}}} [03:23:12.140] _save_exception_stack = 0x82155e3e0 [03:23:12.140] _save_context_stack = 0x0 [03:23:12.140] _do_rethrow = false [03:23:12.140] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:12.140] parsetree = 0x835a9df88 [03:23:12.140] commandCollected = false [03:23:12.140] needCleanup = false [03:23:12.140] address = [03:23:12.140] isTopLevel = [03:23:12.140] isCompleteQuery = [03:23:12.140] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x835a9de78, queryString=0x8359fd100 "CREATE FUNCTION subtransaction_ctx_test(what_error text = NULL) RETURNS text\nAS $$\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT IN"..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8359fef80, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1030 [03:23:12.140] isAtomicContext = false [03:23:12.140] parsetree = 0x835a9df88 [03:23:12.140] readonly_flags = [03:23:12.140] pstate = 0x835a0b500 [03:23:12.140] isTopLevel = [03:23:12.140] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x18cca, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x8359fef80, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:12.140] No locals. [03:23:12.140] #30 0x0000000000904113 in PortalRunUtility (portal=0x835ad4100, pstmt=0x835a9de78, isTopLevel=, setHoldSnapshot=, dest=0x8359fef80, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:12.140] No locals. [03:23:12.140] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad4100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8359fef80, altdest=altdest@entry=0x8359fef80, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:12.140] pstmt = 0x835a9de78 [03:23:12.140] stmtlist_item__state = {l = 0x842010d90, i = 0} [03:23:12.140] active_snapshot_set = false [03:23:12.140] stmtlist_item = 0x842010da8 [03:23:12.140] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad4100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8359fef80, altdest=altdest@entry=0x8359fef80, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:12.140] _local_sigjmp_buf = {{_sjb = {9449453, 35260285184, 34919015384, 34919015616, 34919015392, 35260760064, 12106216, 12139528, 35260269439, 35260060832, 4294967984, 0}}} [03:23:12.140] _save_exception_stack = 0x82155e5b0 [03:23:12.140] _save_context_stack = 0x0 [03:23:12.140] _do_rethrow = false [03:23:12.140] saveTopTransactionResourceOwner = 0x835ae6908 [03:23:12.140] saveTopTransactionContext = 0x835b48000 [03:23:12.140] saveActivePortal = 0x0 [03:23:12.140] saveResourceOwner = 0x835ae6908 [03:23:12.140] savePortalContext = 0x0 [03:23:12.140] saveMemoryContext = 0x835b48000 [03:23:12.140] result = [03:23:12.140] nprocessed = [03:23:12.140] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "CREATE FUNCTION subtransaction_ctx_test(what_error text = NULL) RETURNS text\nAS $$\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT IN"...) at ../src/backend/tcop/postgres.c:1284 [03:23:12.140] cmdtaglen = 15 [03:23:12.140] snapshot_set = [03:23:12.140] per_parsetree_context = 0x0 [03:23:12.140] plantree_list = [03:23:12.140] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:12.140] format = 0 [03:23:12.140] parsetree = 0x835a9cc58 [03:23:12.140] commandTag = [03:23:12.140] cmdtagname = [03:23:12.140] querytree_list = [03:23:12.140] portal = 0x835ad4100 [03:23:12.140] receiver = 0x8359fef80 [03:23:12.140] parsetree_item__state = {l = 0x835a9d1f0, i = 0} [03:23:12.140] msec_str = "\000\000\000\000\b", '\000' , "U\200\326f\000\000\000\000[AM\033\357G\222N" [03:23:12.140] dest = DestRemote [03:23:12.140] was_logged = [03:23:12.140] oldcontext = 0x835b48000 [03:23:12.140] parsetree_list = 0x835a9d1f0 [03:23:12.140] use_implicit_block = false [03:23:12.140] parsetree_item = 0x835a9d208 [03:23:12.140] save_log_statement_stats = [03:23:12.140] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:12.140] query_string = 0x8359fd100 "CREATE FUNCTION subtransaction_ctx_test(what_error text = NULL) RETURNS text\nAS $$\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT IN"... [03:23:12.140] input_message = {data = 0x8359fd100 "CREATE FUNCTION subtransaction_ctx_test(what_error text = NULL) RETURNS text\nAS $$\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT IN"..., len = 435, maxlen = 1024, cursor = 435} [03:23:12.140] firstchar = [03:23:12.140] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:12.140] send_ready_for_query = false [03:23:12.140] idle_in_transaction_timeout_enabled = false [03:23:12.140] idle_session_timeout_enabled = false [03:23:12.140] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:12.140] bsdata = [03:23:12.140] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:12.140] pid = [03:23:12.140] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:12.140] startup_data = {canAcceptConnections = CAC_OK} [03:23:12.140] bn = 0x8359fef00 [03:23:12.140] pid = [03:23:12.140] __error = [03:23:12.140] save_errno = [03:23:12.140] __error = [03:23:12.140] __error = [03:23:12.140] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:12.140] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:12.140] i = 0 [03:23:12.140] now = [03:23:12.140] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:12.140] last_touch_time = 1725333570 [03:23:12.140] last_lockfile_recheck_time = 1725333570 [03:23:12.140] nevents = 1 [03:23:12.140] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:12.140] userDoption = [03:23:12.140] listen_addr_saved = [03:23:12.140] output_config_variable = [03:23:12.140] opt = [03:23:12.140] status = [03:23:12.140] #40 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:12.140] do_check_root = [03:23:12.153] [03:23:12.153] [03:23:12.153] [03:23:12.219] dumping /tmp/cores/postgres.20885.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:23:12.340] [New LWP 101610] [03:23:12.414] Core was generated by `postgres: postgres regression_plpython [local] CREATE PROCEDURE'. [03:23:12.414] Program terminated with signal SIGABRT, Aborted. [03:23:12.414] Sent by thr_kill() from pid 20885 and user 1003. [03:23:12.414] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:13.003] To enable execution of this file add [03:23:13.003] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:23:13.003] line to your configuration file "/.config/gdb/gdbinit". [03:23:13.003] To completely disable this security protection add [03:23:13.003] set auto-load safe-path / [03:23:13.003] line to your configuration file "/.config/gdb/gdbinit". [03:23:13.003] For more information about this security protection see the [03:23:13.003] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:23:13.003] info "(gdb)Auto-loading safe path" [03:23:13.003] [03:23:13.003] Thread 1 (LWP 101610): [03:23:13.003] #0 0x000000082b4ad41a in thr_kill () from /lib/libc.so.7 [03:23:13.003] No symbol table info available. [03:23:13.003] #1 0x000000082b426e64 in raise () from /lib/libc.so.7 [03:23:13.003] No symbol table info available. [03:23:13.003] #2 0x000000082b4d76f9 in abort () from /lib/libc.so.7 [03:23:13.003] No symbol table info available. [03:23:13.003] #3 0x0000000000a59315 in ExceptionalCondition (conditionName=0x8426a9e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:23:13.003] No locals. [03:23:13.003] #4 0x00000008426b3063 in PLy_generate_spi_exceptions (mod=0x847b29ad0, base=0x8421b7010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:23:13.003] dict = [03:23:13.003] found = true [03:23:13.003] sqlstate = [03:23:13.003] exc = 0x8421c7c10 [03:23:13.003] entry = 0x0 [03:23:13.003] i = 66 [03:23:13.003] #5 PLy_add_exceptions (plpy=0x8472bac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:23:13.003] hash_ctl = {num_partitions = 35553070448, ssize = 7, dsize = 2, max_dsize = 34919011520, keysize = 4, entrysize = 16, hash = 0x847254d40, match = 0x847254d40, keycopy = 0x847b11040, alloc = 0x8472b2130, hcxt = 0x84677dac0 <_PyRuntime+166184>, hctl = 0x82155d510} [03:23:13.003] excmod = 0x847b29ad0 [03:23:13.003] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:23:13.003] m = 0x8472bac50 [03:23:13.003] #7 0x0000000846589f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #8 0x00000008465882e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #9 0x00000008464a8c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #10 0x0000000846552d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #11 0x0000000846555795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #12 0x000000084645690f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #13 0x0000000846456705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #14 0x0000000846584284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #15 0x000000084653c996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #16 0x00000008464a8e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #17 0x0000000846455538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #18 0x0000000846455467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #19 0x0000000846583b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #20 0x0000000846584ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:23:13.003] No symbol table info available. [03:23:13.003] #21 0x00000008426b2476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:23:13.003] inited = false [03:23:13.003] #22 0x00000008426b23a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:23:13.003] funcoid = 73733 [03:23:13.003] tuple = [03:23:13.003] is_trigger = [03:23:13.003] procStruct = [03:23:13.003] #23 0x0000000000a63243 in FunctionCall1Coll (flinfo=0x82155dc98, collation=0, arg1=73733) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:23:13.003] fcinfodata = {fcinfo = {flinfo = 0x82155dc98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82155dce8}, fcinfo_data = "\230\334U!\b", '\000' , "\001\000\005 \001", '\000' } [03:23:13.003] fcinfo = 0x82155dcc8 [03:23:13.003] result = [03:23:13.003] __error = [03:23:13.003] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=73733) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:23:13.003] flinfo = {fn_addr = 0x8426b2370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835b96800, fn_expr = 0x0} [03:23:13.003] #25 0x000000000067e5bd in ProcedureCreate (procedureName=procedureName@entry=0x835a9cfb8 "transaction_test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2278, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x835a9d1c0 "\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n plpy.rollback()\n", probin=0x0, prosqlbody=0x0, prokind=112 'p', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x835a483b0, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:23:13.003] set_items = [03:23:13.003] save_nestlevel = 0 [03:23:13.003] myself = {classId = 1255, objectId = 73733, objectSubId = 0} [03:23:13.003] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:23:13.003] values = {73733, 34919013664, 2200, 10, 16456, 1120403456, 0, 0, 0, 112, 0, 0, 0, 0, 118, 117, 0, 0, 2278, 35259712432, 0, 0, 0, 0, 0, 35259711544, 0, 0, 0, 0} [03:23:13.003] replaces = {true } [03:23:13.003] procname = {data = "transaction_test1", '\000' } [03:23:13.003] referenced = {classId = 1247, objectId = 2278, objectSubId = 0} [03:23:13.003] paramModes = [03:23:13.003] variadicType = [03:23:13.003] proacl = 0x0 [03:23:13.003] parameterCount = [03:23:13.003] allParamCount = 0 [03:23:13.003] allParams = 0x835a483c8 [03:23:13.003] detailmsg = [03:23:13.003] i = [03:23:13.003] rel = 0x835b2d698 [03:23:13.003] tupDesc = 0x835b2d9b8 [03:23:13.003] oldtup = 0x0 [03:23:13.003] tup = 0x835b97c38 [03:23:13.003] is_update = [03:23:13.003] retval = 73733 [03:23:13.003] addrs = [03:23:13.003] trfid = [03:23:13.003] #26 0x00000000006bc849 in CreateFunction (pstate=pstate@entry=0x835b96900, stmt=, stmt@entry=0x835a9cf68) at ../src/backend/commands/functioncmds.c:1257 [03:23:13.003] funcname = 0x835a9cfb8 "transaction_test1" [03:23:13.003] parameterTypes = 0x835a483b0 [03:23:13.003] parameterTypes_list = 0x0 [03:23:13.003] allParameterTypes = 0x0 [03:23:13.003] parameterModes = 0x0 [03:23:13.003] parameterNames = 0x0 [03:23:13.003] inParameterNames_list = 0x0 [03:23:13.003] parameterDefaults = 0x0 [03:23:13.003] variadicArgType = 0 [03:23:13.003] requiredResultType = 0 [03:23:13.003] transformDefElem = [03:23:13.003] trftypes_list = [03:23:13.003] namespaceId = 2200 [03:23:13.003] aclresult = [03:23:13.003] as_clause = [03:23:13.003] language = [03:23:13.003] isWindowFunc = false [03:23:13.003] isStrict = false [03:23:13.003] security = false [03:23:13.003] isLeakProof = [03:23:13.003] volatility = 118 'v' [03:23:13.003] proconfig = 0x0 [03:23:13.003] procost = 100 [03:23:13.003] prorows = 0 [03:23:13.003] prosupport = 0 [03:23:13.003] parallel = 117 'u' [03:23:13.003] languageTuple = [03:23:13.003] languageStruct = [03:23:13.003] languageOid = 16456 [03:23:13.003] languageValidator = 16455 [03:23:13.003] prorettype = 2278 [03:23:13.003] returnsSet = false [03:23:13.003] trftypes = 0x0 [03:23:13.003] prosqlbody = 0x0 [03:23:13.003] probin_str = 0x0 [03:23:13.003] prosrc_str = 0x835a9d1c0 "\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n plpy.rollback()\n" [03:23:13.003] #27 0x0000000000906128 in ProcessUtilitySlow (pstate=pstate@entry=0x835b96900, pstmt=pstmt@entry=0x835a9d390, queryString=queryString@entry=0x8359fd100 "CREATE PROCEDURE transaction_test1()\nLANGUAGE plpython3u\nAS $$\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n "..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1655 [03:23:13.003] _local_sigjmp_buf = {{_sjb = {9460217, 0, 34919014664, 34919015040, 34919014672, 12139528, 0, 35261081856, 35260007295, 10, 0, 549755813888}}} [03:23:13.003] _save_exception_stack = 0x82155e3e0 [03:23:13.003] _save_context_stack = 0x0 [03:23:13.003] _do_rethrow = false [03:23:13.003] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:23:13.003] parsetree = 0x835a9cf68 [03:23:13.003] commandCollected = false [03:23:13.003] needCleanup = false [03:23:13.003] address = [03:23:13.003] isTopLevel = [03:23:13.003] isCompleteQuery = [03:23:13.003] #28 0x0000000000904b48 in standard_ProcessUtility (pstmt=0x835a9d390, queryString=0x8359fd100 "CREATE PROCEDURE transaction_test1()\nLANGUAGE plpython3u\nAS $$\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n "..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x835a9d4f0, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:1030 [03:23:13.003] isAtomicContext = false [03:23:13.003] parsetree = 0x835a9cf68 [03:23:13.003] readonly_flags = [03:23:13.003] pstate = 0x835b96900 [03:23:13.003] isTopLevel = [03:23:13.003] #29 0x00000000009045d8 in ProcessUtility (pstmt=0x18cea, queryString=0x6 , readOnlyTree=, context=726324218, params=0x0, queryEnv=0x0, dest=0x835a9d4f0, qc=0x82155e4e0) at ../src/backend/tcop/utility.c:523 [03:23:13.003] No locals. [03:23:13.003] #30 0x0000000000904113 in PortalRunUtility (portal=0x835ad4100, pstmt=0x835a9d390, isTopLevel=, setHoldSnapshot=, dest=0x835a9d4f0, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1158 [03:23:13.003] No locals. [03:23:13.003] #31 0x00000000009037a4 in PortalRunMulti (portal=portal@entry=0x835ad4100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x835a9d4f0, altdest=altdest@entry=0x835a9d4f0, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:1323 [03:23:13.003] pstmt = 0x835a9d390 [03:23:13.003] stmtlist_item__state = {l = 0x835a9d4a0, i = 0} [03:23:13.003] active_snapshot_set = false [03:23:13.003] stmtlist_item = 0x835a9d4b8 [03:23:13.003] #32 0x0000000000903073 in PortalRun (portal=portal@entry=0x835ad4100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x835a9d4f0, altdest=altdest@entry=0x835a9d4f0, qc=0x82155e4e0) at ../src/backend/tcop/pquery.c:791 [03:23:13.003] _local_sigjmp_buf = {{_sjb = {9449453, 35260285184, 34919015384, 34919015616, 34919015392, 35260760064, 12106216, 12139528, 35260269439, 35260055608, 4294967984, 0}}} [03:23:13.003] _save_exception_stack = 0x82155e5b0 [03:23:13.003] _save_context_stack = 0x0 [03:23:13.003] _do_rethrow = false [03:23:13.003] saveTopTransactionResourceOwner = 0x835ae6c18 [03:23:13.003] saveTopTransactionContext = 0x835b48000 [03:23:13.003] saveActivePortal = 0x0 [03:23:13.003] saveResourceOwner = 0x835ae6c18 [03:23:13.003] savePortalContext = 0x0 [03:23:13.003] saveMemoryContext = 0x835b48000 [03:23:13.003] result = [03:23:13.003] nprocessed = [03:23:13.003] #33 0x0000000000901f12 in exec_simple_query (query_string=query_string@entry=0x8359fd100 "CREATE PROCEDURE transaction_test1()\nLANGUAGE plpython3u\nAS $$\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n "...) at ../src/backend/tcop/postgres.c:1284 [03:23:13.003] cmdtaglen = 16 [03:23:13.003] snapshot_set = [03:23:13.003] per_parsetree_context = 0x0 [03:23:13.003] plantree_list = [03:23:13.003] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:23:13.003] format = 0 [03:23:13.003] parsetree = 0x8359fe830 [03:23:13.003] commandTag = [03:23:13.003] cmdtagname = [03:23:13.003] querytree_list = [03:23:13.003] portal = 0x835ad4100 [03:23:13.003] receiver = 0x835a9d4f0 [03:23:13.003] parsetree_item__state = {l = 0x8359fec38, i = 0} [03:23:13.003] msec_str = "\000\000\000\000\b", '\000' , "W\200\326f\000\000\000\000\177\b\243x\207]\207t" [03:23:13.003] dest = DestRemote [03:23:13.003] was_logged = [03:23:13.003] oldcontext = 0x835b48000 [03:23:13.003] parsetree_list = 0x8359fec38 [03:23:13.003] use_implicit_block = false [03:23:13.003] parsetree_item = 0x8359fec50 [03:23:13.003] save_log_statement_stats = [03:23:13.003] #34 0x00000000008ffc80 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:23:13.003] query_string = 0x8359fd100 "CREATE PROCEDURE transaction_test1()\nLANGUAGE plpython3u\nAS $$\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n "... [03:23:13.003] input_message = {data = 0x8359fd100 "CREATE PROCEDURE transaction_test1()\nLANGUAGE plpython3u\nAS $$\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n "..., len = 223, maxlen = 1024, cursor = 223} [03:23:13.003] firstchar = [03:23:13.003] local_sigjmp_buf = {{_sjb = {9433366, 34919015856, 34919015816, 34919016400, 12148264, 1, 8192, 8388608, 34918957951, 0, 0, 1}}} [03:23:13.003] send_ready_for_query = false [03:23:13.003] idle_in_transaction_timeout_enabled = false [03:23:13.003] idle_session_timeout_enabled = false [03:23:13.003] #35 0x00000000008fa459 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:23:13.003] bsdata = [03:23:13.003] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82155f2f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82155f230) at ../src/backend/postmaster/launch_backend.c:274 [03:23:13.003] pid = [03:23:13.003] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82155f230) at ../src/backend/postmaster/postmaster.c:3414 [03:23:13.003] startup_data = {canAcceptConnections = CAC_OK} [03:23:13.003] bn = 0x8359fef00 [03:23:13.003] pid = [03:23:13.003] __error = [03:23:13.003] save_errno = [03:23:13.003] __error = [03:23:13.003] __error = [03:23:13.003] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:23:13.003] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\357\2375\b", '\000' , "\220\362U!\b\000\000\000h\245s,\b\000\000\000\v\000\000\000\000\000\000\000^/t,\b", '\000' , "\320\362U!\b\000\000\000\264C\205\000\000\000\000\000\340\362U!\b", '\000' }, salen = 16}} [03:23:13.003] i = 0 [03:23:13.003] now = [03:23:13.003] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725949570, events = 8, fd = 0, user_data = 0x82155f1e0}, {pos = 900036056, events = 8, fd = 559280240, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x3cac1dc6b30a}, {pos = 725116832, events = 8, fd = 725187960, user_data = 0x82155ecf8}, {pos = 559279472, events = 8, fd = 559279352, user_data = 0x3cac1dc6b30a}, {pos = 725095304, events = 8, fd = 725187960, user_data = 0x82155ed28}, {pos = 559279520, events = 8, fd = 559279400, user_data = 0x82b390194}, {pos = 568169480, events = 8, fd = 725156244, user_data = 0x82155ed90}, {pos = 499541050, events = 15532, fd = 726978608, user_data = 0x1}, {pos = 559279552, events = 8, fd = 499561226, user_data = 0x82b379858}, {pos = 725187960, events = 8, fd = 559279512, user_data = 0x82155ee10}, {pos = 559279512, events = 8, fd = 725150988, user_data = 0x821dd9408}, {pos = 725150988, events = 8, fd = 559279616, user_data = 0x3cac1dc6643a}, {pos = 559279656, events = 8, fd = 559280104, user_data = 0x82155ee10}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2749722764, fd = 568193080, user_data = 0x800000001}, {pos = 568169480, events = 8, fd = 725095304, user_data = 0x821dde288}, {pos = 725063768, events = 8, fd = 568169480, user_data = 0x82155ee98}, {pos = 559280216, events = 8, fd = 559279744, user_data = 0x3cac1dc6aca2}, {pos = 2699697, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 568193080, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 559280472, user_data = 0x21dd9408}, {pos = 559280288, events = 8, fd = 559279888, user_data = 0x1}, {pos = 559280216, events = 8, fd = 32, user_data = 0x82155ef00}, {pos = 499559027, events = 15532, fd = 559280160, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ddf038}, {pos = 1, events = 8, fd = 568169480, user_data = 0x82b379858}, {pos = 559280472, events = 8, fd = 559280288, user_data = 0x82155ef10}, {pos = 0, events = 0, fd = 568139784, user_data = 0x20}, {pos = 559280272, events = 8, fd = 499534567, user_data = 0x821dd2008}, {pos = 568140808, events = 8, fd = 568141832, user_data = 0x821dd2c08}, {pos = 568156168, events = 8, fd = 568157192, user_data = 0x821dd6808}, {pos = 568159240, events = 8, fd = 568160264, user_data = 0x821dd7408}, {pos = 568162312, events = 8, fd = 568163336, user_data = 0x821dd8008}, {pos = 568165384, events = 8, fd = 568166408, user_data = 0x821dd8c08}, {pos = 568168456, events = 8, fd = 568169480, user_data = 0x821dd9808}, {pos = 568171528, events = 8, fd = 568172552, user_data = 0x821dda408}, {pos = 568174600, events = 8, fd = 568175624, user_data = 0x821ddb008}, {pos = 568177672, events = 8, fd = 568178696, user_data = 0x821ddbc08}, {pos = 568184840, events = 8, fd = 568185864, user_data = 0x821ddd808}, {pos = 568187912, events = 8, fd = 568139784, user_data = 0x2931b1}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ddf038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 559280472, events = 8, fd = 559279888, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568139784, events = 8, fd = 313, user_data = 0x82155f140}, {pos = 499533295, events = 15532, fd = 2699697, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 568193080, user_data = 0x1}, {pos = 568169480, events = 8, fd = 899600384, user_data = 0x1}, {pos = 899600788, events = 8, fd = 0, user_data = 0x82155f110}, {pos = 745809260, events = 8, fd = 1, user_data = 0x8359ed000}, {pos = 559280448, events = 8, fd = 745805570, user_data = 0x82b4ab170 }, {pos = 12073312, events = 0, fd = 726315376, user_data = 0x821dd9408}, {pos = 559280672, events = 8, fd = 499532766, user_data = 0x835a0b800}, {pos = 1, events = 0, fd = 499532382, user_data = 0x821dd2008}, {pos = 559280456, events = 8, fd = 559280672, user_data = 0x1c20}, {pos = 899673856, events = 8, fd = 499612048, user_data = 0x0}, {pos = 559219583, events = 8, fd = 7886631, user_data = 0x82155f1d0}, {pos = 745767952, events = 8, fd = 726978608, user_data = 0x82b54f310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82155f200}, {pos = 745810845, events = 8, fd = 899600384, user_data = 0x49a4}, {pos = 559280736, events = 8, fd = 745777402, user_data = 0x0}, {pos = 0, events = 0, fd = 841656541, user_data = 0x0}} [03:23:13.003] last_touch_time = 1725333570 [03:23:13.003] last_lockfile_recheck_time = 1725333570 [03:23:13.003] nevents = 1 [03:23:13.003] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82155f840) at ../src/backend/postmaster/postmaster.c:1346 [03:23:13.003] userDoption = [03:23:13.003] listen_addr_saved = [03:23:13.003] output_config_variable = [03:23:13.003] opt = [03:23:13.003] status = [03:23:13.003] #40 0x000000000079240c in main (argc=8, argv=0x82155f840) at ../src/backend/main/main.c:197 [03:23:13.003] do_check_root =