[03:03:57.535] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [03:03:57.871] dumping /tmp/cores/postgres.18619.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:03:57.999] [New LWP 100619] [03:03:58.088] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:03:58.088] Program terminated with signal SIGABRT, Aborted. [03:03:58.088] Sent by thr_kill() from pid 18619 and user 1003. [03:03:58.088] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:03:58.728] To enable execution of this file add [03:03:58.728] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:03:58.728] line to your configuration file "/.config/gdb/gdbinit". [03:03:58.728] To completely disable this security protection add [03:03:58.728] set auto-load safe-path / [03:03:58.728] line to your configuration file "/.config/gdb/gdbinit". [03:03:58.728] For more information about this security protection see the [03:03:58.728] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:03:58.728] info "(gdb)Auto-loading safe path" [03:03:58.728] [03:03:58.728] Thread 1 (LWP 100619): [03:03:58.728] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:03:58.728] No symbol table info available. [03:03:58.728] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:03:58.728] No symbol table info available. [03:03:58.728] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:03:58.728] No symbol table info available. [03:03:58.728] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x8422bde44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:03:58.728] No locals. [03:03:58.728] #4 0x00000008422c7063 in PLy_generate_spi_exceptions (mod=0x847cbdad0, base=0x841e02010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:03:58.728] dict = [03:03:58.728] found = true [03:03:58.728] sqlstate = [03:03:58.728] exc = 0x841e5ac10 [03:03:58.728] entry = 0x0 [03:03:58.728] i = 66 [03:03:58.728] #5 PLy_add_exceptions (plpy=0x846b6ac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:03:58.728] hash_ctl = {num_partitions = 35545402736, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x846b04d40, match = 0x846b04d40, keycopy = 0x847ca4f80, alloc = 0x846b62070, hcxt = 0x844300ac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:03:58.728] excmod = 0x847cbdad0 [03:03:58.728] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:03:58.728] m = 0x846b6ac50 [03:03:58.728] #7 0x000000084410cf70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #8 0x000000084410b2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #9 0x000000084402bc29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #10 0x00000008440d5d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #11 0x00000008440d8795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #12 0x0000000843fd990f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #13 0x0000000843fd9705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #14 0x0000000844107284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #15 0x00000008440bf996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #16 0x000000084402be70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #17 0x0000000843fd8538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #18 0x0000000843fd8467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #19 0x0000000844106b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #20 0x0000000844107ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:03:58.728] No symbol table info available. [03:03:58.728] #21 0x00000008422c6476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:03:58.728] inited = false [03:03:58.728] #22 0x00000008422c63a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:03:58.728] funcoid = 16457 [03:03:58.728] tuple = [03:03:58.728] is_trigger = [03:03:58.728] procStruct = [03:03:58.728] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=16457) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:03:58.728] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000I@", '\000' } [03:03:58.728] fcinfo = 0x82185f038 [03:03:58.728] result = [03:03:58.728] __error = [03:03:58.728] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=16457) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:03:58.728] flinfo = {fn_addr = 0x8422c6370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:03:58.728] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834ac3060 "stupid", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834973fd8 "return \"zarkon\"", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8349bdbb0, 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:03:58.728] set_items = [03:03:58.728] save_nestlevel = 0 [03:03:58.728] myself = {classId = 1255, objectId = 16457, objectSubId = 0} [03:03:58.728] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:03:58.728] values = {16457, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35242367920, 0, 0, 0, 0, 0, 35242367992, 0, 0, 0, 0} [03:03:58.728] replaces = {true } [03:03:58.728] procname = {data = "stupid", '\000' } [03:03:58.728] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [03:03:58.728] paramModes = [03:03:58.728] variadicType = [03:03:58.728] proacl = 0x0 [03:03:58.728] parameterCount = [03:03:58.728] allParamCount = 0 [03:03:58.728] allParams = 0x8349bdbc8 [03:03:58.728] detailmsg = [03:03:58.728] i = [03:03:58.728] rel = 0x834a9e208 [03:03:58.728] tupDesc = 0x834a9e418 [03:03:58.728] oldtup = 0x0 [03:03:58.728] tup = 0x8349bd948 [03:03:58.728] is_update = [03:03:58.728] retval = 16457 [03:03:58.728] addrs = [03:03:58.728] trfid = [03:03:58.728] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834980500, stmt=, stmt@entry=0x834ac3010) at ../src/backend/commands/functioncmds.c:1257 [03:03:58.728] funcname = 0x834ac3060 "stupid" [03:03:58.728] parameterTypes = 0x8349bdbb0 [03:03:58.728] parameterTypes_list = 0x0 [03:03:58.728] allParameterTypes = 0x0 [03:03:58.728] parameterModes = 0x0 [03:03:58.728] parameterNames = 0x0 [03:03:58.728] inParameterNames_list = 0x0 [03:03:58.728] parameterDefaults = 0x0 [03:03:58.728] variadicArgType = 0 [03:03:58.728] requiredResultType = 0 [03:03:58.728] transformDefElem = [03:03:58.728] trftypes_list = [03:03:58.728] namespaceId = 2200 [03:03:58.728] aclresult = [03:03:58.728] as_clause = [03:03:58.728] language = [03:03:58.728] isWindowFunc = false [03:03:58.728] isStrict = false [03:03:58.728] security = false [03:03:58.728] isLeakProof = [03:03:58.728] volatility = 118 'v' [03:03:58.728] proconfig = 0x0 [03:03:58.728] procost = 100 [03:03:58.728] prorows = 0 [03:03:58.728] prosupport = 0 [03:03:58.728] parallel = 117 'u' [03:03:58.728] languageTuple = [03:03:58.728] languageStruct = [03:03:58.728] languageOid = 16456 [03:03:58.728] languageValidator = 16455 [03:03:58.728] prorettype = 25 [03:03:58.728] returnsSet = false [03:03:58.728] trftypes = 0x0 [03:03:58.728] prosqlbody = 0x0 [03:03:58.728] probin_str = 0x0 [03:03:58.728] prosrc_str = 0x834973fd8 "return \"zarkon\"" [03:03:58.728] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834980500, pstmt=pstmt@entry=0x834973b88, queryString=queryString@entry=0x834972100 "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=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:03:58.728] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35242116352, 35243426687, 10, 0, 549755813888}}} [03:03:58.728] _save_exception_stack = 0x82185f750 [03:03:58.728] _save_context_stack = 0x0 [03:03:58.728] _do_rethrow = false [03:03:58.728] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:03:58.728] parsetree = 0x834ac3010 [03:03:58.728] commandCollected = false [03:03:58.728] needCleanup = false [03:03:58.728] address = [03:03:58.728] isTopLevel = [03:03:58.728] isCompleteQuery = [03:03:58.728] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834973b88, queryString=0x834972100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x834973f48, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:03:58.728] isAtomicContext = false [03:03:58.728] parsetree = 0x834ac3010 [03:03:58.728] readonly_flags = [03:03:58.728] pstate = 0x834980500 [03:03:58.728] isTopLevel = [03:03:58.728] #29 0x0000000000904708 in ProcessUtility (pstmt=0x1890b, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834973f48, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:03:58.728] No locals. [03:03:58.728] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a47100, pstmt=0x834973b88, isTopLevel=, setHoldSnapshot=, dest=0x834973f48, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:03:58.728] No locals. [03:03:58.728] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a47100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834973f48, altdest=altdest@entry=0x834973f48, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:03:58.728] pstmt = 0x834973b88 [03:03:58.728] stmtlist_item__state = {l = 0x834ac33e8, i = 0} [03:03:58.728] active_snapshot_set = false [03:03:58.728] stmtlist_item = 0x834ac3400 [03:03:58.728] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a47100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834973f48, altdest=altdest@entry=0x834973f48, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:03:58.728] _local_sigjmp_buf = {{_sjb = {9449757, 35242930432, 34922166088, 34922166320, 34922166096, 35242946560, 12106872, 12140200, 35242902399, 35242065656, 4294967984, 0}}} [03:03:58.728] _save_exception_stack = 0x82185f920 [03:03:58.728] _save_context_stack = 0x0 [03:03:58.728] _do_rethrow = false [03:03:58.728] saveTopTransactionResourceOwner = 0x834a53a98 [03:03:58.728] saveTopTransactionContext = 0x834a4b000 [03:03:58.728] saveActivePortal = 0x0 [03:03:58.728] saveResourceOwner = 0x834a53a98 [03:03:58.728] savePortalContext = 0x0 [03:03:58.728] saveMemoryContext = 0x834a4b000 [03:03:58.728] result = [03:03:58.728] nprocessed = [03:03:58.728] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:03:58.728] cmdtaglen = 15 [03:03:58.728] snapshot_set = [03:03:58.728] per_parsetree_context = 0x0 [03:03:58.728] plantree_list = [03:03:58.728] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:03:58.728] format = 0 [03:03:58.728] parsetree = 0x834973750 [03:03:58.728] commandTag = [03:03:58.728] cmdtagname = [03:03:58.728] querytree_list = [03:03:58.728] portal = 0x834a47100 [03:03:58.728] receiver = 0x834973f48 [03:03:58.728] parsetree_item__state = {l = 0x834973b38, i = 0} [03:03:58.728] msec_str = "\000\000\000\000\b", '\000' , "\312\036\331f\000\000\000\000\301\023\3229'\350\026~" [03:03:58.728] dest = DestRemote [03:03:58.728] was_logged = [03:03:58.728] oldcontext = 0x834a4b000 [03:03:58.728] parsetree_list = 0x834973b38 [03:03:58.728] use_implicit_block = false [03:03:58.728] parsetree_item = 0x834973b50 [03:03:58.728] save_log_statement_stats = [03:03:58.728] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:03:58.728] query_string = 0x834972100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;" [03:03:58.728] input_message = {data = 0x834972100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", len = 80, maxlen = 1024, cursor = 80} [03:03:58.728] firstchar = [03:03:58.728] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:03:58.728] send_ready_for_query = false [03:03:58.728] idle_in_transaction_timeout_enabled = false [03:03:58.728] idle_session_timeout_enabled = false [03:03:58.728] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:03:58.728] bsdata = [03:03:58.728] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:03:58.728] pid = [03:03:58.728] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:03:58.728] startup_data = {canAcceptConnections = CAC_OK} [03:03:58.728] bn = 0x83497e088 [03:03:58.728] pid = [03:03:58.728] __error = [03:03:58.728] save_errno = [03:03:58.728] __error = [03:03:58.728] __error = [03:03:58.728] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:03:58.728] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:03:58.728] i = 0 [03:03:58.728] now = [03:03:58.728] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:03:58.728] last_touch_time = 1725505226 [03:03:58.728] last_lockfile_recheck_time = 1725505226 [03:03:58.728] nevents = 1 [03:03:58.728] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:03:58.728] userDoption = [03:03:58.728] listen_addr_saved = [03:03:58.728] output_config_variable = [03:03:58.728] opt = [03:03:58.728] status = [03:03:58.728] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:03:58.728] do_check_root = [03:03:58.741] [03:03:58.741] [03:03:58.741] [03:03:58.804] dumping /tmp/cores/postgres.18802.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:03:58.924] [New LWP 101608] [03:03:58.996] Core was generated by `postgres: postgres regression_plpython [local] DO'. [03:03:58.996] Program terminated with signal SIGABRT, Aborted. [03:03:58.996] Sent by thr_kill() from pid 18802 and user 1003. [03:03:58.996] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:03:59.618] To enable execution of this file add [03:03:59.618] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:03:59.618] line to your configuration file "/.config/gdb/gdbinit". [03:03:59.618] To completely disable this security protection add [03:03:59.618] set auto-load safe-path / [03:03:59.618] line to your configuration file "/.config/gdb/gdbinit". [03:03:59.618] For more information about this security protection see the [03:03:59.618] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:03:59.618] info "(gdb)Auto-loading safe path" [03:03:59.618] [03:03:59.618] Thread 1 (LWP 101608): [03:03:59.618] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:03:59.618] No symbol table info available. [03:03:59.618] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:03:59.618] No symbol table info available. [03:03:59.618] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:03:59.618] No symbol table info available. [03:03:59.618] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x843e53e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:03:59.618] No locals. [03:03:59.618] #4 0x0000000843e5d063 in PLy_generate_spi_exceptions (mod=0x84a04d9e0, base=0x844a48010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:03:59.618] dict = [03:03:59.618] found = true [03:03:59.618] sqlstate = [03:03:59.618] exc = 0x844a58c10 [03:03:59.618] entry = 0x0 [03:03:59.618] i = 66 [03:03:59.618] #5 PLy_add_exceptions (plpy=0x848812c00) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:03:59.618] hash_ctl = {num_partitions = 35575450992, ssize = 7, dsize = 2, max_dsize = 34922163056, keysize = 4, entrysize = 16, hash = 0x8487acd40, match = 0x8487acd40, keycopy = 0x848815000, alloc = 0x84880a0f0, hcxt = 0x846ae4ac0 <_PyRuntime+166184>, hctl = 0x82185ebc0} [03:03:59.618] excmod = 0x84a04d9e0 [03:03:59.618] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:03:59.618] m = 0x848812c00 [03:03:59.618] #7 0x00000008468f0f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #8 0x00000008468ef2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #9 0x000000084680fc29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #10 0x00000008468b9d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #11 0x00000008468bc795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #12 0x00000008467bd90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #13 0x00000008467bd705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #14 0x00000008468eb284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #15 0x00000008468a3996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #16 0x000000084680fe70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #17 0x00000008467bc538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #18 0x00000008467bc467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #19 0x00000008468eab30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #20 0x00000008468ebef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:03:59.618] No symbol table info available. [03:03:59.618] #21 0x0000000843e5c476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:03:59.618] inited = false [03:03:59.618] #22 0x0000000843e5c880 in plpython3_inline_handler (fcinfo=0x18ce8) at ../src/pl/plpython/plpy_main.c:272 [03:03:59.618] fake_fcinfodata = {fcinfo = {flinfo = 0x0, context = 0x0, resultinfo = 0x834a83480, fncollation = 4, isnull = false, nargs = 0, args = 0x82185f4e0}, fcinfo_data = '\000' , "\2004\2504\b\000\000\000\004\000\000\000\000\000\000"} [03:03:59.618] flinfo = {fn_addr = 0x20, fn_oid = 10744464, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 0 '\000', fn_extra = 0x0, fn_mcxt = 0x834a11400, fn_expr = 0x0} [03:03:59.618] proc = {mcxt = 0x7e0, proname = 0x30 , pyname = 0x82185f3c0 "", fn_xmin = 11051329, 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 = 0x82185f400, u = {scalar = {typfunc = {fn_addr = 0xa6830c , fn_oid = 0, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 0 '\000', fn_extra = 0x834acce90, fn_mcxt = 0x0, fn_expr = 0x834acc190}, typioparam = 883736976}, array = {elm = 0xa6830c , elmbasetype = 0}, tuple = {recdesc = 0xa6830c , typentry = 0x0, tupdescid = 35243475200, atts = 0x834acce90, natts = 0, recinfunc = {fn_addr = 0x834acc190, fn_oid = 883736976, fn_nargs = 8, fn_strict = false, fn_retset = false, fn_stats = 160 '\240', fn_extra = 0xa68c5e , fn_mcxt = 0x82185f440, fn_expr = 0xa8a141 }}, domain = {base = 0xa6830c , domain_info = 0x0}, transform = {typtransform = {fn_addr = 0xa6830c , fn_oid = 0, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 0 '\000', fn_extra = 0x834acce90, fn_mcxt = 0x0, fn_expr = 0x834acc190}}}}, result_in = {func = 0x1d4, typoid = 562427180, typmod = 8, typbyval = 160, typlen = 13484, typalign = 8 '\b', mcxt = 0x82185f4b8, u = {scalar = {typfunc = {fn_addr = 0x834acc100, fn_oid = 10911493, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 96 '`', fn_extra = 0x0, fn_mcxt = 0xb96120 , fn_expr = 0x834b2dce8}}, array = {elm = 0x834acc100}, tuple = {recdesc = 0x834acc100, typentry = 0xa67f05 , tupdescid = 5434099808, atts = 0x0, natts = 12149024}, transform = {typtransform = {fn_addr = 0x834acc100, fn_oid = 10911493, fn_nargs = 0, fn_strict = false, fn_retset = false, fn_stats = 96 '`', fn_extra = 0x0, fn_mcxt = 0xb96120 , fn_expr = 0x834b2dce8}}}}, src = 0x82185f578 "`\310\345C\b", argnames = 0x834b2dce8, args = 0x82185f4a0, nargs = 10744863, langid = 0, trftypes = 0x834b08301, code = 0x4046, statics = 0x82185f560, globals = 0xa61c33 , calldepth = -4563311449585221630, argstack = 0x800004000} [03:03:59.618] plerrcontext = {previous = 0x0, callback = 0x821f75408, arg = 0x8349bd380} [03:03:59.618] fake_fcinfo = 0x82185f4c0 [03:03:59.618] codeblock = 0x834980610 [03:03:59.618] exec_ctx = [03:03:59.618] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f578, collation=0, arg1=35242116624) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:03:59.618] fcinfodata = {fcinfo = {flinfo = 0x82185f578, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f5c8}, fcinfo_data = "x\365\205!\b", '\000' , "\001\000\020\006\2304\b\000\000\000\000\005\2304\b\000\000"} [03:03:59.618] fcinfo = 0x82185f5a8 [03:03:59.618] result = [03:03:59.618] __error = [03:03:59.618] #24 OidFunctionCall1Coll (functionId=, collation=collation@entry=0, arg1=35242116624) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:03:59.618] flinfo = {fn_addr = 0x843e5c860 , fn_oid = 16454, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:03:59.618] #25 0x00000000006bf0c4 in ExecuteDoStmt (pstate=0x834972100, pstate@entry=0x834980500, stmt=stmt@entry=0x834a11248, atomic=8) at ../src/backend/commands/functioncmds.c:2156 [03:03:59.618] codeblock = 0x6 [03:03:59.618] as_item = 0x0 [03:03:59.618] language_item = [03:03:59.618] arg = [03:03:59.618] language = [03:03:59.618] languageTuple = [03:03:59.618] languageStruct = [03:03:59.618] laninline = 101608 [03:03:59.618] #26 0x0000000000904943 in standard_ProcessUtility (pstmt=0x834973e30, queryString=0x834972100 "DO $$ plpy.notice(\"This is plpython3u.\") $$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x834973f40, qc=0x82185f850) at ../src/backend/tcop/utility.c:707 [03:03:59.618] isAtomicContext = false [03:03:59.618] parsetree = 0x834a11248 [03:03:59.618] readonly_flags = [03:03:59.618] pstate = 0x834980500 [03:03:59.618] isTopLevel = [03:03:59.618] #27 0x0000000000904708 in ProcessUtility (pstmt=0x18ce8, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834973f40, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:03:59.618] No locals. [03:03:59.618] #28 0x0000000000904243 in PortalRunUtility (portal=0x834a47100, pstmt=0x834973e30, isTopLevel=, setHoldSnapshot=, dest=0x834973f40, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:03:59.618] No locals. [03:03:59.618] #29 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a47100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834973f40, altdest=altdest@entry=0x834973f40, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:03:59.618] pstmt = 0x834973e30 [03:03:59.618] stmtlist_item__state = {l = 0x834a11490, i = 0} [03:03:59.618] active_snapshot_set = false [03:03:59.618] stmtlist_item = 0x834a114a8 [03:03:59.618] #30 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a47100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834973f40, altdest=altdest@entry=0x834973f40, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:03:59.618] _local_sigjmp_buf = {{_sjb = {9449757, 35242930432, 34922166088, 34922166320, 34922166096, 35242995712, 12106872, 12140200, 35242902399, 35242064344, 4294967984, 0}}} [03:03:59.618] _save_exception_stack = 0x82185f920 [03:03:59.618] _save_context_stack = 0x0 [03:03:59.618] _do_rethrow = false [03:03:59.618] saveTopTransactionResourceOwner = 0x834a514e0 [03:03:59.618] saveTopTransactionContext = 0x834a57000 [03:03:59.618] saveActivePortal = 0x0 [03:03:59.618] saveResourceOwner = 0x834a514e0 [03:03:59.618] savePortalContext = 0x0 [03:03:59.618] saveMemoryContext = 0x834a57000 [03:03:59.618] result = [03:03:59.618] nprocessed = [03:03:59.618] #31 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "DO $$ plpy.notice(\"This is plpython3u.\") $$ LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:03:59.618] cmdtaglen = 2 [03:03:59.618] snapshot_set = [03:03:59.618] per_parsetree_context = 0x0 [03:03:59.618] plantree_list = [03:03:59.618] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:03:59.618] format = 0 [03:03:59.618] parsetree = 0x8349733f0 [03:03:59.618] commandTag = [03:03:59.618] cmdtagname = [03:03:59.618] querytree_list = [03:03:59.618] portal = 0x834a47100 [03:03:59.618] receiver = 0x834973f40 [03:03:59.618] parsetree_item__state = {l = 0x834973618, i = 0} [03:03:59.618] msec_str = "\000\000\000\000\b", '\000' , "\314\036\331f\000\000\000\000\331\343\v#\225\222F\025" [03:03:59.618] dest = DestRemote [03:03:59.618] was_logged = [03:03:59.618] oldcontext = 0x834a57000 [03:03:59.618] parsetree_list = 0x834973618 [03:03:59.618] use_implicit_block = false [03:03:59.618] parsetree_item = 0x834973630 [03:03:59.618] save_log_statement_stats = [03:03:59.618] #32 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:03:59.618] query_string = 0x834972100 "DO $$ plpy.notice(\"This is plpython3u.\") $$ LANGUAGE plpython3u;" [03:03:59.618] input_message = {data = 0x834972100 "DO $$ plpy.notice(\"This is plpython3u.\") $$ LANGUAGE plpython3u;", len = 65, maxlen = 1024, cursor = 65} [03:03:59.618] firstchar = [03:03:59.618] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:03:59.618] send_ready_for_query = false [03:03:59.618] idle_in_transaction_timeout_enabled = false [03:03:59.618] idle_session_timeout_enabled = false [03:03:59.618] #33 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:03:59.618] bsdata = [03:03:59.618] #34 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:03:59.618] pid = [03:03:59.618] #35 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:03:59.618] startup_data = {canAcceptConnections = CAC_OK} [03:03:59.618] bn = 0x834973f00 [03:03:59.618] pid = [03:03:59.618] __error = [03:03:59.618] save_errno = [03:03:59.618] __error = [03:03:59.618] __error = [03:03:59.618] #36 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:03:59.618] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:03:59.618] i = 0 [03:03:59.618] now = [03:03:59.618] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:03:59.618] last_touch_time = 1725505226 [03:03:59.618] last_lockfile_recheck_time = 1725505226 [03:03:59.618] nevents = 1 [03:03:59.618] #37 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:03:59.618] userDoption = [03:03:59.618] listen_addr_saved = [03:03:59.618] output_config_variable = [03:03:59.618] opt = [03:03:59.618] status = [03:03:59.618] #38 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:03:59.618] do_check_root = [03:03:59.630] [03:03:59.630] [03:03:59.630] [03:03:59.699] dumping /tmp/cores/postgres.19119.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:03:59.821] [New LWP 101659] [03:03:59.893] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:03:59.893] Program terminated with signal SIGABRT, Aborted. [03:03:59.893] Sent by thr_kill() from pid 19119 and user 1003. [03:03:59.893] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:00.498] To enable execution of this file add [03:04:00.498] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:00.498] line to your configuration file "/.config/gdb/gdbinit". [03:04:00.498] To completely disable this security protection add [03:04:00.498] set auto-load safe-path / [03:04:00.498] line to your configuration file "/.config/gdb/gdbinit". [03:04:00.498] For more information about this security protection see the [03:04:00.498] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:00.498] info "(gdb)Auto-loading safe path" [03:04:00.498] [03:04:00.498] Thread 1 (LWP 101659): [03:04:00.498] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:00.498] No symbol table info available. [03:04:00.498] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:00.498] No symbol table info available. [03:04:00.498] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:00.498] No symbol table info available. [03:04:00.498] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x844925e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:00.498] No locals. [03:04:00.498] #4 0x000000084492f063 in PLy_generate_spi_exceptions (mod=0x84a73d9e0, base=0x842fef010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:00.498] dict = [03:04:00.498] found = true [03:04:00.498] sqlstate = [03:04:00.498] exc = 0x8430a3c10 [03:04:00.498] entry = 0x0 [03:04:00.498] i = 66 [03:04:00.498] #5 PLy_add_exceptions (plpy=0x84941ec00) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:00.498] hash_ctl = {num_partitions = 35588083056, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x8493b8d40, match = 0x8493b8d40, keycopy = 0x84a725000, alloc = 0x8494160f0, hcxt = 0x847b98ac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:00.498] excmod = 0x84a73d9e0 [03:04:00.498] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:00.498] m = 0x84941ec00 [03:04:00.498] #7 0x00000008479a4f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #8 0x00000008479a32e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #9 0x00000008478c3c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #10 0x000000084796dd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #11 0x0000000847970795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #12 0x000000084787190f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #13 0x0000000847871705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #14 0x000000084799f284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #15 0x0000000847957996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #16 0x00000008478c3e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #17 0x0000000847870538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #18 0x0000000847870467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #19 0x000000084799eb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #20 0x000000084799fef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:00.498] No symbol table info available. [03:04:00.498] #21 0x000000084492e476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:00.498] inited = false [03:04:00.498] #22 0x000000084492e3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:00.498] funcoid = 24576 [03:04:00.498] tuple = [03:04:00.498] is_trigger = [03:04:00.498] procStruct = [03:04:00.498] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=24576) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:00.498] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\000`", '\000' } [03:04:00.498] fcinfo = 0x82185f038 [03:04:00.498] result = [03:04:00.498] __error = [03:04:00.498] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=24576) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:00.498] flinfo = {fn_addr = 0x84492e370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:04:00.498] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834a12408 "global_test_one", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834a125d8 "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=0x8349bd3b0, 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:04:00.498] set_items = [03:04:00.498] save_nestlevel = 0 [03:04:00.498] myself = {classId = 1255, objectId = 24576, objectSubId = 0} [03:04:00.498] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:04:00.498] values = {24576, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35242365872, 0, 0, 0, 0, 0, 35242364984, 0, 0, 0, 0} [03:04:00.498] replaces = {true } [03:04:00.498] procname = {data = "global_test_one", '\000' } [03:04:00.498] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [03:04:00.498] paramModes = [03:04:00.498] variadicType = [03:04:00.498] proacl = 0x0 [03:04:00.498] parameterCount = [03:04:00.498] allParamCount = 0 [03:04:00.498] allParams = 0x8349bd3c8 [03:04:00.498] detailmsg = [03:04:00.498] i = [03:04:00.498] rel = 0x834a9ea58 [03:04:00.498] tupDesc = 0x834a9ed78 [03:04:00.498] oldtup = 0x0 [03:04:00.498] tup = 0x834b08038 [03:04:00.498] is_update = [03:04:00.498] retval = 24576 [03:04:00.498] addrs = [03:04:00.498] trfid = [03:04:00.498] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834980500, stmt=, stmt@entry=0x834a123b8) at ../src/backend/commands/functioncmds.c:1257 [03:04:00.498] funcname = 0x834a12408 "global_test_one" [03:04:00.498] parameterTypes = 0x8349bd3b0 [03:04:00.498] parameterTypes_list = 0x0 [03:04:00.498] allParameterTypes = 0x0 [03:04:00.498] parameterModes = 0x0 [03:04:00.498] parameterNames = 0x0 [03:04:00.498] inParameterNames_list = 0x0 [03:04:00.498] parameterDefaults = 0x0 [03:04:00.498] variadicArgType = 0 [03:04:00.498] requiredResultType = 0 [03:04:00.498] transformDefElem = [03:04:00.498] trftypes_list = [03:04:00.498] namespaceId = 2200 [03:04:00.498] aclresult = [03:04:00.498] as_clause = [03:04:00.498] language = [03:04:00.498] isWindowFunc = false [03:04:00.498] isStrict = false [03:04:00.498] security = false [03:04:00.498] isLeakProof = [03:04:00.498] volatility = 118 'v' [03:04:00.498] proconfig = 0x0 [03:04:00.498] procost = 100 [03:04:00.498] prorows = 0 [03:04:00.498] prosupport = 0 [03:04:00.498] parallel = 117 'u' [03:04:00.498] languageTuple = [03:04:00.498] languageStruct = [03:04:00.498] languageOid = 16456 [03:04:00.498] languageValidator = 16455 [03:04:00.498] prorettype = 25 [03:04:00.498] returnsSet = false [03:04:00.498] trftypes = 0x0 [03:04:00.498] prosqlbody = 0x0 [03:04:00.498] probin_str = 0x0 [03:04:00.498] prosrc_str = 0x834a125d8 "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:04:00.498] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834980500, pstmt=pstmt@entry=0x834a128a8, queryString=queryString@entry=0x834972100 "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=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:00.498] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35242116352, 35242705791, 10, 0, 549755813888}}} [03:04:00.498] _save_exception_stack = 0x82185f750 [03:04:00.498] _save_context_stack = 0x0 [03:04:00.498] _do_rethrow = false [03:04:00.498] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:00.498] parsetree = 0x834a123b8 [03:04:00.498] commandCollected = false [03:04:00.498] needCleanup = false [03:04:00.498] address = [03:04:00.498] isTopLevel = [03:04:00.498] isCompleteQuery = [03:04:00.498] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834a128a8, queryString=0x834972100 "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=0x834a12a08, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:00.498] isAtomicContext = false [03:04:00.498] parsetree = 0x834a123b8 [03:04:00.498] readonly_flags = [03:04:00.498] pstate = 0x834980500 [03:04:00.498] isTopLevel = [03:04:00.498] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18d1b, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834a12a08, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:00.498] No locals. [03:04:00.498] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a47100, pstmt=0x834a128a8, isTopLevel=, setHoldSnapshot=, dest=0x834a12a08, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:00.498] No locals. [03:04:00.498] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a47100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834a12a08, altdest=altdest@entry=0x834a12a08, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:00.498] pstmt = 0x834a128a8 [03:04:00.498] stmtlist_item__state = {l = 0x834a129b8, i = 0} [03:04:00.498] active_snapshot_set = false [03:04:00.498] stmtlist_item = 0x834a129d0 [03:04:00.498] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a47100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834a12a08, altdest=altdest@entry=0x834a12a08, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:00.498] _local_sigjmp_buf = {{_sjb = {9449757, 35242930432, 34922166088, 34922166320, 34922166096, 35242995712, 12106872, 12140200, 35242902399, 35242709928, 4294967984, 0}}} [03:04:00.498] _save_exception_stack = 0x82185f920 [03:04:00.498] _save_context_stack = 0x0 [03:04:00.498] _do_rethrow = false [03:04:00.498] saveTopTransactionResourceOwner = 0x834a53ba8 [03:04:00.498] saveTopTransactionContext = 0x834a57000 [03:04:00.498] saveActivePortal = 0x0 [03:04:00.498] saveResourceOwner = 0x834a53ba8 [03:04:00.498] savePortalContext = 0x0 [03:04:00.498] saveMemoryContext = 0x834a57000 [03:04:00.498] result = [03:04:00.498] nprocessed = [03:04:00.498] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "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:04:00.498] cmdtaglen = 15 [03:04:00.498] snapshot_set = [03:04:00.498] per_parsetree_context = 0x0 [03:04:00.498] plantree_list = [03:04:00.498] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:00.498] format = 0 [03:04:00.498] parsetree = 0x834973ac0 [03:04:00.498] commandTag = [03:04:00.498] cmdtagname = [03:04:00.498] querytree_list = [03:04:00.498] portal = 0x834a47100 [03:04:00.498] receiver = 0x834a12a08 [03:04:00.498] parsetree_item__state = {l = 0x834973f90, i = 0} [03:04:00.498] msec_str = "\000\000\000\000\b", '\000' , "\316\036\331f\000\000\000\000\251cu\272", [03:04:00.498] dest = DestRemote [03:04:00.498] was_logged = [03:04:00.498] oldcontext = 0x834a57000 [03:04:00.498] parsetree_list = 0x834973f90 [03:04:00.498] use_implicit_block = false [03:04:00.498] parsetree_item = 0x834973fa8 [03:04:00.498] save_log_statement_stats = [03:04:00.498] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:00.498] query_string = 0x834972100 "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:04:00.498] input_message = {data = 0x834972100 "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:04:00.498] firstchar = [03:04:00.498] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:00.498] send_ready_for_query = false [03:04:00.498] idle_in_transaction_timeout_enabled = false [03:04:00.498] idle_session_timeout_enabled = false [03:04:00.498] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:00.498] bsdata = [03:04:00.498] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:00.498] pid = [03:04:00.498] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:00.498] startup_data = {canAcceptConnections = CAC_OK} [03:04:00.498] bn = 0x834973f00 [03:04:00.498] pid = [03:04:00.498] __error = [03:04:00.498] save_errno = [03:04:00.498] __error = [03:04:00.498] __error = [03:04:00.498] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:00.498] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:00.498] i = 0 [03:04:00.498] now = [03:04:00.498] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:00.498] last_touch_time = 1725505226 [03:04:00.498] last_lockfile_recheck_time = 1725505226 [03:04:00.498] nevents = 1 [03:04:00.498] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:00.498] userDoption = [03:04:00.498] listen_addr_saved = [03:04:00.498] output_config_variable = [03:04:00.498] opt = [03:04:00.498] status = [03:04:00.498] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:00.498] do_check_root = [03:04:00.511] [03:04:00.511] [03:04:00.511] [03:04:00.579] dumping /tmp/cores/postgres.19564.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:00.696] [New LWP 101628] [03:04:00.768] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:04:00.768] Program terminated with signal SIGABRT, Aborted. [03:04:00.768] Sent by thr_kill() from pid 19564 and user 1003. [03:04:00.768] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:01.398] To enable execution of this file add [03:04:01.398] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:01.398] line to your configuration file "/.config/gdb/gdbinit". [03:04:01.398] To completely disable this security protection add [03:04:01.398] set auto-load safe-path / [03:04:01.398] line to your configuration file "/.config/gdb/gdbinit". [03:04:01.398] For more information about this security protection see the [03:04:01.398] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:01.398] info "(gdb)Auto-loading safe path" [03:04:01.398] [03:04:01.398] Thread 1 (LWP 101628): [03:04:01.398] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:01.398] No symbol table info available. [03:04:01.398] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:01.398] No symbol table info available. [03:04:01.398] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:01.398] No symbol table info available. [03:04:01.398] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x842ec7e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:01.398] No locals. [03:04:01.398] #4 0x0000000842ed1063 in PLy_generate_spi_exceptions (mod=0x849d7dad0, base=0x844d69010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:01.398] dict = [03:04:01.398] found = true [03:04:01.398] sqlstate = [03:04:01.398] exc = 0x844e1dc10 [03:04:01.398] entry = 0x0 [03:04:01.398] i = 66 [03:04:01.398] #5 PLy_add_exceptions (plpy=0x847bd2c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:01.398] hash_ctl = {num_partitions = 35562605936, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x847b6cd40, match = 0x847b6cd40, keycopy = 0x849d65040, alloc = 0x847bca130, hcxt = 0x8493b5ac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:01.398] excmod = 0x849d7dad0 [03:04:01.398] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:01.398] m = 0x847bd2c50 [03:04:01.398] #7 0x00000008491c1f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #8 0x00000008491c02e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #9 0x00000008490e0c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #10 0x000000084918ad9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #11 0x000000084918d795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #12 0x000000084908e90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #13 0x000000084908e705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #14 0x00000008491bc284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #15 0x0000000849174996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #16 0x00000008490e0e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #17 0x000000084908d538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #18 0x000000084908d467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #19 0x00000008491bbb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #20 0x00000008491bcef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:01.398] No symbol table info available. [03:04:01.398] #21 0x0000000842ed0476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:01.398] inited = false [03:04:01.398] #22 0x0000000842ed03a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:01.398] funcoid = 32768 [03:04:01.398] tuple = [03:04:01.398] is_trigger = [03:04:01.398] procStruct = [03:04:01.398] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=32768) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:01.398] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\000\200", '\000' } [03:04:01.398] fcinfo = 0x82185f038 [03:04:01.398] result = [03:04:01.398] __error = [03:04:01.398] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=32768) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:01.398] flinfo = {fn_addr = 0x842ed0370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:04:01.398] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834a12388 "import_fail", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834973de0 "try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn't supposed to happen\"", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8349bd3b0, 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:04:01.398] set_items = [03:04:01.398] save_nestlevel = 0 [03:04:01.398] myself = {classId = 1255, objectId = 32768, objectSubId = 0} [03:04:01.398] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:04:01.398] values = {32768, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35242365872, 0, 0, 0, 0, 0, 35242116976, 0, 0, 0, 0} [03:04:01.398] replaces = {true } [03:04:01.398] procname = {data = "import_fail", '\000' } [03:04:01.398] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [03:04:01.398] paramModes = [03:04:01.398] variadicType = [03:04:01.398] proacl = 0x0 [03:04:01.398] parameterCount = [03:04:01.398] allParamCount = 0 [03:04:01.398] allParams = 0x8349bd3c8 [03:04:01.398] detailmsg = [03:04:01.398] i = [03:04:01.398] rel = 0x834a9e398 [03:04:01.398] tupDesc = 0x834a9e6b8 [03:04:01.398] oldtup = 0x0 [03:04:01.398] tup = 0x834b08038 [03:04:01.398] is_update = [03:04:01.398] retval = 32768 [03:04:01.398] addrs = [03:04:01.398] trfid = [03:04:01.398] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834980500, stmt=, stmt@entry=0x834a12338) at ../src/backend/commands/functioncmds.c:1257 [03:04:01.398] funcname = 0x834a12388 "import_fail" [03:04:01.398] parameterTypes = 0x8349bd3b0 [03:04:01.398] parameterTypes_list = 0x0 [03:04:01.398] allParameterTypes = 0x0 [03:04:01.398] parameterModes = 0x0 [03:04:01.398] parameterNames = 0x0 [03:04:01.398] inParameterNames_list = 0x0 [03:04:01.398] parameterDefaults = 0x0 [03:04:01.398] variadicArgType = 0 [03:04:01.398] requiredResultType = 0 [03:04:01.398] transformDefElem = [03:04:01.398] trftypes_list = [03:04:01.398] namespaceId = 2200 [03:04:01.398] aclresult = [03:04:01.398] as_clause = [03:04:01.398] language = [03:04:01.398] isWindowFunc = false [03:04:01.398] isStrict = false [03:04:01.398] security = false [03:04:01.398] isLeakProof = [03:04:01.398] volatility = 118 'v' [03:04:01.398] proconfig = 0x0 [03:04:01.398] procost = 100 [03:04:01.398] prorows = 0 [03:04:01.398] prosupport = 0 [03:04:01.398] parallel = 117 'u' [03:04:01.398] languageTuple = [03:04:01.398] languageStruct = [03:04:01.398] languageOid = 16456 [03:04:01.398] languageValidator = 16455 [03:04:01.398] prorettype = 25 [03:04:01.398] returnsSet = false [03:04:01.398] trftypes = 0x0 [03:04:01.398] prosqlbody = 0x0 [03:04:01.398] probin_str = 0x0 [03:04:01.398] prosrc_str = 0x834973de0 "try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn't supposed to happen\"" [03:04:01.398] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834980500, pstmt=pstmt@entry=0x834973ef0, queryString=queryString@entry=0x834972100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:01.398] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35242116352, 35242705791, 10, 0, 549755813888}}} [03:04:01.398] _save_exception_stack = 0x82185f750 [03:04:01.398] _save_context_stack = 0x0 [03:04:01.398] _do_rethrow = false [03:04:01.398] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:01.398] parsetree = 0x834a12338 [03:04:01.398] commandCollected = false [03:04:01.398] needCleanup = false [03:04:01.398] address = [03:04:01.398] isTopLevel = [03:04:01.398] isCompleteQuery = [03:04:01.398] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834973ef0, queryString=0x834972100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x834a12768, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:01.398] isAtomicContext = false [03:04:01.398] parsetree = 0x834a12338 [03:04:01.398] readonly_flags = [03:04:01.398] pstate = 0x834980500 [03:04:01.398] isTopLevel = [03:04:01.398] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18cfc, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834a12768, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:01.398] No locals. [03:04:01.398] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a47100, pstmt=0x834973ef0, isTopLevel=, setHoldSnapshot=, dest=0x834a12768, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:01.398] No locals. [03:04:01.398] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a47100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834a12768, altdest=altdest@entry=0x834a12768, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:01.398] pstmt = 0x834973ef0 [03:04:01.398] stmtlist_item__state = {l = 0x834a12718, i = 0} [03:04:01.398] active_snapshot_set = false [03:04:01.398] stmtlist_item = 0x834a12730 [03:04:01.398] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a47100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834a12768, altdest=altdest@entry=0x834a12768, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:01.398] _local_sigjmp_buf = {{_sjb = {9449757, 35242930432, 34922166088, 34922166320, 34922166096, 35242995712, 12106872, 12140200, 35242902399, 35242709656, 4294967984, 0}}} [03:04:01.398] _save_exception_stack = 0x82185f920 [03:04:01.398] _save_context_stack = 0x0 [03:04:01.398] _do_rethrow = false [03:04:01.398] saveTopTransactionResourceOwner = 0x834a53958 [03:04:01.398] saveTopTransactionContext = 0x834a57000 [03:04:01.398] saveActivePortal = 0x0 [03:04:01.398] saveResourceOwner = 0x834a53958 [03:04:01.398] savePortalContext = 0x0 [03:04:01.398] saveMemoryContext = 0x834a57000 [03:04:01.398] result = [03:04:01.398] nprocessed = [03:04:01.398] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:04:01.398] cmdtaglen = 15 [03:04:01.398] snapshot_set = [03:04:01.398] per_parsetree_context = 0x0 [03:04:01.398] plantree_list = [03:04:01.398] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:01.398] format = 0 [03:04:01.398] parsetree = 0x8349738c0 [03:04:01.398] commandTag = [03:04:01.398] cmdtagname = [03:04:01.398] querytree_list = [03:04:01.398] portal = 0x834a47100 [03:04:01.398] receiver = 0x834a12768 [03:04:01.398] parsetree_item__state = {l = 0x834973d90, i = 0} [03:04:01.398] msec_str = "\000\000\000\000\b", '\000' , "\320\036\331f\000\000\000\000\t\233H*\2176(\261" [03:04:01.398] dest = DestRemote [03:04:01.398] was_logged = [03:04:01.398] oldcontext = 0x834a57000 [03:04:01.398] parsetree_list = 0x834973d90 [03:04:01.398] use_implicit_block = false [03:04:01.398] parsetree_item = 0x834973da8 [03:04:01.398] save_log_statement_stats = [03:04:01.398] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:01.398] query_string = 0x834972100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;" [03:04:01.398] input_message = {data = 0x834972100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;", len = 201, maxlen = 1024, cursor = 201} [03:04:01.398] firstchar = [03:04:01.398] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:01.398] send_ready_for_query = false [03:04:01.398] idle_in_transaction_timeout_enabled = false [03:04:01.398] idle_session_timeout_enabled = false [03:04:01.398] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:01.398] bsdata = [03:04:01.398] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:01.398] pid = [03:04:01.398] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:01.398] startup_data = {canAcceptConnections = CAC_OK} [03:04:01.398] bn = 0x834973f00 [03:04:01.398] pid = [03:04:01.398] __error = [03:04:01.398] save_errno = [03:04:01.398] __error = [03:04:01.398] __error = [03:04:01.398] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:01.398] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:01.398] i = 0 [03:04:01.398] now = [03:04:01.398] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:01.398] last_touch_time = 1725505226 [03:04:01.398] last_lockfile_recheck_time = 1725505226 [03:04:01.398] nevents = 1 [03:04:01.398] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:01.398] userDoption = [03:04:01.398] listen_addr_saved = [03:04:01.398] output_config_variable = [03:04:01.398] opt = [03:04:01.398] status = [03:04:01.398] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:01.398] do_check_root = [03:04:01.411] [03:04:01.411] [03:04:01.411] [03:04:01.475] dumping /tmp/cores/postgres.19824.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:01.597] [New LWP 101690] [03:04:01.669] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:04:01.669] Program terminated with signal SIGABRT, Aborted. [03:04:01.669] Sent by thr_kill() from pid 19824 and user 1003. [03:04:01.669] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:02.279] To enable execution of this file add [03:04:02.279] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:02.279] line to your configuration file "/.config/gdb/gdbinit". [03:04:02.279] To completely disable this security protection add [03:04:02.279] set auto-load safe-path / [03:04:02.279] line to your configuration file "/.config/gdb/gdbinit". [03:04:02.279] For more information about this security protection see the [03:04:02.279] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:02.279] info "(gdb)Auto-loading safe path" [03:04:02.279] [03:04:02.279] Thread 1 (LWP 101690): [03:04:02.279] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:02.279] No symbol table info available. [03:04:02.279] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:02.279] No symbol table info available. [03:04:02.279] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:02.279] No symbol table info available. [03:04:02.279] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x842f90e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:02.279] No locals. [03:04:02.279] #4 0x0000000842f9a063 in PLy_generate_spi_exceptions (mod=0x849bedad0, base=0x8421ef010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:02.279] dict = [03:04:02.279] found = true [03:04:02.279] sqlstate = [03:04:02.279] exc = 0x8422a7c10 [03:04:02.279] entry = 0x0 [03:04:02.279] i = 66 [03:04:02.279] #5 PLy_add_exceptions (plpy=0x849026c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:02.279] hash_ctl = {num_partitions = 35583921520, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x848fc0d40, match = 0x848fc0d40, keycopy = 0x849029040, alloc = 0x84901e130, hcxt = 0x8476faac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:02.279] excmod = 0x849bedad0 [03:04:02.279] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:02.279] m = 0x849026c50 [03:04:02.279] #7 0x0000000847506f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #8 0x00000008475052e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #9 0x0000000847425c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #10 0x00000008474cfd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #11 0x00000008474d2795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #12 0x00000008473d390f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #13 0x00000008473d3705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #14 0x0000000847501284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #15 0x00000008474b9996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #16 0x0000000847425e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #17 0x00000008473d2538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #18 0x00000008473d2467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #19 0x0000000847500b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #20 0x0000000847501ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:02.279] No symbol table info available. [03:04:02.279] #21 0x0000000842f99476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:02.279] inited = false [03:04:02.279] #22 0x0000000842f993a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:02.279] funcoid = 40960 [03:04:02.279] tuple = [03:04:02.279] is_trigger = [03:04:02.279] procStruct = [03:04:02.279] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=40960) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:02.279] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\000\240", '\000' } [03:04:02.279] fcinfo = 0x82185f038 [03:04:02.279] result = [03:04:02.279] __error = [03:04:02.279] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=40960) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:02.279] flinfo = {fn_addr = 0x842f99370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:04:02.279] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834a120d8 "newline_lf", procNamespace=procNamespace@entry=2200, replace=true, returnsSet=, returnType=23, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834a122e8 "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=0x8349bd3b0, 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:04:02.279] set_items = [03:04:02.279] save_nestlevel = 0 [03:04:02.279] myself = {classId = 1255, objectId = 40960, objectSubId = 0} [03:04:02.279] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:04:02.279] values = {40960, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 23, 35242365872, 0, 0, 0, 0, 0, 35242365944, 0, 0, 0, 0} [03:04:02.279] replaces = {true } [03:04:02.279] procname = {data = "newline_lf", '\000' } [03:04:02.279] referenced = {classId = 1247, objectId = 23, objectSubId = 0} [03:04:02.279] paramModes = [03:04:02.279] variadicType = [03:04:02.279] proacl = 0x0 [03:04:02.279] parameterCount = [03:04:02.279] allParamCount = 0 [03:04:02.279] allParams = 0x8349bd3c8 [03:04:02.279] detailmsg = [03:04:02.279] i = [03:04:02.279] rel = 0x834a99398 [03:04:02.279] tupDesc = 0x834a996b8 [03:04:02.279] oldtup = 0x0 [03:04:02.279] tup = 0x8349bd258 [03:04:02.279] is_update = [03:04:02.279] retval = 40960 [03:04:02.279] addrs = [03:04:02.279] trfid = [03:04:02.279] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834980500, stmt=, stmt@entry=0x834a12088) at ../src/backend/commands/functioncmds.c:1257 [03:04:02.279] funcname = 0x834a120d8 "newline_lf" [03:04:02.279] parameterTypes = 0x8349bd3b0 [03:04:02.279] parameterTypes_list = 0x0 [03:04:02.279] allParameterTypes = 0x0 [03:04:02.279] parameterModes = 0x0 [03:04:02.279] parameterNames = 0x0 [03:04:02.279] inParameterNames_list = 0x0 [03:04:02.279] parameterDefaults = 0x0 [03:04:02.279] variadicArgType = 0 [03:04:02.279] requiredResultType = 0 [03:04:02.279] transformDefElem = [03:04:02.279] trftypes_list = [03:04:02.279] namespaceId = 2200 [03:04:02.279] aclresult = [03:04:02.279] as_clause = [03:04:02.279] language = [03:04:02.279] isWindowFunc = false [03:04:02.279] isStrict = false [03:04:02.279] security = false [03:04:02.279] isLeakProof = [03:04:02.279] volatility = 118 'v' [03:04:02.279] proconfig = 0x0 [03:04:02.279] procost = 100 [03:04:02.279] prorows = 0 [03:04:02.279] prosupport = 0 [03:04:02.279] parallel = 117 'u' [03:04:02.279] languageTuple = [03:04:02.279] languageStruct = [03:04:02.279] languageOid = 16456 [03:04:02.279] languageValidator = 16455 [03:04:02.279] prorettype = 23 [03:04:02.279] returnsSet = false [03:04:02.279] trftypes = 0x0 [03:04:02.279] prosqlbody = 0x0 [03:04:02.279] probin_str = 0x0 [03:04:02.279] prosrc_str = 0x834a122e8 "x = 100\ny = 23\nreturn x + y\n" [03:04:02.279] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834980500, pstmt=pstmt@entry=0x834973c68, queryString=queryString@entry=0x834972100 "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=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:02.279] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35242116352, 35242705791, 10, 0, 549755813888}}} [03:04:02.279] _save_exception_stack = 0x82185f750 [03:04:02.279] _save_context_stack = 0x0 [03:04:02.279] _do_rethrow = false [03:04:02.279] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:02.279] parsetree = 0x834a12088 [03:04:02.279] commandCollected = false [03:04:02.279] needCleanup = false [03:04:02.279] address = [03:04:02.279] isTopLevel = [03:04:02.279] isCompleteQuery = [03:04:02.279] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834973c68, queryString=0x834972100 "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=0x834a12548, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:02.279] isAtomicContext = false [03:04:02.279] parsetree = 0x834a12088 [03:04:02.279] readonly_flags = [03:04:02.279] pstate = 0x834980500 [03:04:02.279] isTopLevel = [03:04:02.279] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18d3a, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834a12548, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:02.279] No locals. [03:04:02.279] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a49100, pstmt=0x834973c68, isTopLevel=, setHoldSnapshot=, dest=0x834a12548, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:02.279] No locals. [03:04:02.279] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a49100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834a12548, altdest=altdest@entry=0x834a12548, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:02.279] pstmt = 0x834973c68 [03:04:02.279] stmtlist_item__state = {l = 0x834a124f8, i = 0} [03:04:02.279] active_snapshot_set = false [03:04:02.279] stmtlist_item = 0x834a12510 [03:04:02.279] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a49100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834a12548, altdest=altdest@entry=0x834a12548, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:02.279] _local_sigjmp_buf = {{_sjb = {9449757, 35242938624, 34922166088, 34922166320, 34922166096, 35243376640, 12106872, 12140200, 35242902399, 35242709048, 4294967984, 0}}} [03:04:02.279] _save_exception_stack = 0x82185f920 [03:04:02.279] _save_context_stack = 0x0 [03:04:02.279] _do_rethrow = false [03:04:02.279] saveTopTransactionResourceOwner = 0x834acfcb8 [03:04:02.279] saveTopTransactionContext = 0x834ab4000 [03:04:02.279] saveActivePortal = 0x0 [03:04:02.279] saveResourceOwner = 0x834acfcb8 [03:04:02.279] savePortalContext = 0x0 [03:04:02.279] saveMemoryContext = 0x834ab4000 [03:04:02.279] result = [03:04:02.279] nprocessed = [03:04:02.279] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "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:04:02.279] cmdtaglen = 15 [03:04:02.279] snapshot_set = [03:04:02.279] per_parsetree_context = 0x0 [03:04:02.279] plantree_list = [03:04:02.279] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:02.279] format = 0 [03:04:02.279] parsetree = 0x8349737c8 [03:04:02.279] commandTag = [03:04:02.279] cmdtagname = [03:04:02.279] querytree_list = [03:04:02.279] portal = 0x834a49100 [03:04:02.279] receiver = 0x834a12548 [03:04:02.279] parsetree_item__state = {l = 0x834973c18, i = 0} [03:04:02.279] msec_str = "\000\000\000\000\b", '\000' , "\323\036\331f\000\000\000\000-\n\355\240\374L\0250" [03:04:02.279] dest = DestRemote [03:04:02.279] was_logged = [03:04:02.279] oldcontext = 0x834ab4000 [03:04:02.279] parsetree_list = 0x834973c18 [03:04:02.279] use_implicit_block = false [03:04:02.279] parsetree_item = 0x834973c30 [03:04:02.279] save_log_statement_stats = [03:04:02.279] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:02.279] query_string = 0x834972100 "CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;" [03:04:02.279] input_message = {data = 0x834972100 "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:04:02.279] firstchar = [03:04:02.279] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:02.279] send_ready_for_query = false [03:04:02.279] idle_in_transaction_timeout_enabled = false [03:04:02.279] idle_session_timeout_enabled = false [03:04:02.279] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:02.279] bsdata = [03:04:02.279] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:02.279] pid = [03:04:02.279] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:02.279] startup_data = {canAcceptConnections = CAC_OK} [03:04:02.279] bn = 0x834973f00 [03:04:02.279] pid = [03:04:02.279] __error = [03:04:02.279] save_errno = [03:04:02.279] __error = [03:04:02.279] __error = [03:04:02.279] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:02.279] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:02.279] i = 0 [03:04:02.279] now = [03:04:02.279] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:02.279] last_touch_time = 1725505226 [03:04:02.279] last_lockfile_recheck_time = 1725505226 [03:04:02.279] nevents = 1 [03:04:02.279] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:02.279] userDoption = [03:04:02.279] listen_addr_saved = [03:04:02.279] output_config_variable = [03:04:02.279] opt = [03:04:02.279] status = [03:04:02.279] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:02.279] do_check_root = [03:04:02.291] [03:04:02.291] [03:04:02.291] [03:04:02.357] dumping /tmp/cores/postgres.19959.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:02.475] [New LWP 100104] [03:04:02.547] Core was generated by `postgres: postgres regression_hstore_plpython [local] CREATE FUNCTION'. [03:04:02.547] Program terminated with signal SIGABRT, Aborted. [03:04:02.547] Sent by thr_kill() from pid 19959 and user 1003. [03:04:02.547] #0 0x000000082dfd741a in thr_kill () from /lib/libc.so.7 [03:04:03.156] To enable execution of this file add [03:04:03.156] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:03.156] line to your configuration file "/.config/gdb/gdbinit". [03:04:03.156] To completely disable this security protection add [03:04:03.156] set auto-load safe-path / [03:04:03.156] line to your configuration file "/.config/gdb/gdbinit". [03:04:03.156] For more information about this security protection see the [03:04:03.156] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:03.156] info "(gdb)Auto-loading safe path" [03:04:03.156] [03:04:03.156] Thread 1 (LWP 100104): [03:04:03.156] #0 0x000000082dfd741a in thr_kill () from /lib/libc.so.7 [03:04:03.156] No symbol table info available. [03:04:03.156] #1 0x000000082df50e64 in raise () from /lib/libc.so.7 [03:04:03.156] No symbol table info available. [03:04:03.156] #2 0x000000082e0016f9 in abort () from /lib/libc.so.7 [03:04:03.156] No symbol table info available. [03:04:03.156] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x8469a3e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:03.156] No locals. [03:04:03.156] #4 0x00000008469ad063 in PLy_generate_spi_exceptions (mod=0x84a621a80, base=0x844b59010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:03.156] dict = [03:04:03.156] found = true [03:04:03.156] sqlstate = [03:04:03.156] exc = 0x844babc10 [03:04:03.156] entry = 0x0 [03:04:03.156] i = 66 [03:04:03.156] #5 PLy_add_exceptions (plpy=0x849d3ad40) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:03.156] hash_ctl = {num_partitions = 35597634928, ssize = 7, dsize = 2, max_dsize = 34913998176, keysize = 4, entrysize = 16, hash = 0x849cd4d40, match = 0x849cd4d40, keycopy = 0x84a608fc0, alloc = 0x849d320b0, hcxt = 0x8487eaac0 <_PyRuntime+166184>, hctl = 0x8210955b0} [03:04:03.156] excmod = 0x84a621a80 [03:04:03.156] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:03.156] m = 0x849d3ad40 [03:04:03.156] #7 0x00000008485f6f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #8 0x00000008485f52e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #9 0x0000000848515c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #10 0x00000008485bfd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #11 0x00000008485c2795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #12 0x00000008484c390f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #13 0x00000008484c3705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #14 0x00000008485f1284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #15 0x00000008485a9996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #16 0x0000000848515e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #17 0x00000008484c2538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #18 0x00000008484c2467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #19 0x00000008485f0b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #20 0x00000008485f1ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:03.156] No symbol table info available. [03:04:03.156] #21 0x00000008469ac476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:03.156] inited = false [03:04:03.156] #22 0x00000008469ac3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:03.156] funcoid = 16522 [03:04:03.156] tuple = [03:04:03.156] is_trigger = [03:04:03.156] procStruct = [03:04:03.156] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x821095d38, collation=0, arg1=16522) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:03.156] fcinfodata = {fcinfo = {flinfo = 0x821095d38, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x821095d88}, fcinfo_data = "8]\t!\b", '\000' , "\001\000\212@", '\000' } [03:04:03.156] fcinfo = 0x821095d68 [03:04:03.156] result = [03:04:03.156] __error = [03:04:03.156] #24 OidFunctionCall1Coll (functionId=functionId@entry=16516, collation=collation@entry=0, arg1=arg1@entry=16522) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:03.156] flinfo = {fn_addr = 0x8469ac370 , fn_oid = 16516, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x837a01400, fn_expr = 0x0} [03:04:03.156] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x837b44f40 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16517, languageValidator=16516, prosrc=0x844a75608 "\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=0x837a3ec18, allParameterTypes=0, parameterModes=0, parameterNames=35293228104, parameterDefaults=0x0, trftypes=35293228288, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:04:03.156] set_items = [03:04:03.156] save_nestlevel = 0 [03:04:03.156] myself = {classId = 1255, objectId = 16522, objectSubId = 0} [03:04:03.156] nulls = {false , true, true, false, true, false, false, true, true, true, true} [03:04:03.156] values = {16522, 34914000320, 2200, 10, 16517, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35293228056, 0, 0, 35293228104, 0, 35293228288, 35292977008, 0, 0, 0, 0} [03:04:03.156] replaces = {true } [03:04:03.156] procname = {data = "test1", '\000' } [03:04:03.156] referenced = {classId = 3576, objectId = 16521, objectSubId = 0} [03:04:03.156] paramModes = [03:04:03.156] variadicType = [03:04:03.156] proacl = 0x0 [03:04:03.156] parameterCount = [03:04:03.156] allParamCount = 1 [03:04:03.156] allParams = 0x837a3ec30 [03:04:03.156] detailmsg = [03:04:03.156] i = [03:04:03.156] rel = 0x837b1f088 [03:04:03.156] tupDesc = 0x837b1f298 [03:04:03.156] oldtup = 0x0 [03:04:03.156] tup = 0x837b89838 [03:04:03.156] is_update = [03:04:03.156] retval = 16522 [03:04:03.156] addrs = [03:04:03.156] trfid = [03:04:03.156] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x837a01500, stmt=, stmt@entry=0x837b44ef0) at ../src/backend/commands/functioncmds.c:1257 [03:04:03.156] funcname = 0x837b44f40 "test1" [03:04:03.156] parameterTypes = 0x837a3ec18 [03:04:03.156] parameterTypes_list = 0x837b89ba8 [03:04:03.156] allParameterTypes = 0x0 [03:04:03.156] parameterModes = 0x0 [03:04:03.156] parameterNames = 0x837a3ec48 [03:04:03.156] inParameterNames_list = 0x837a3ebc8 [03:04:03.156] parameterDefaults = 0x0 [03:04:03.156] variadicArgType = 0 [03:04:03.156] requiredResultType = 0 [03:04:03.156] transformDefElem = [03:04:03.156] trftypes_list = [03:04:03.156] namespaceId = 2200 [03:04:03.156] aclresult = [03:04:03.156] as_clause = [03:04:03.156] language = [03:04:03.156] isWindowFunc = false [03:04:03.156] isStrict = false [03:04:03.156] security = false [03:04:03.156] isLeakProof = [03:04:03.156] volatility = 118 'v' [03:04:03.156] proconfig = 0x0 [03:04:03.156] procost = 100 [03:04:03.156] prorows = 0 [03:04:03.156] prosupport = 0 [03:04:03.156] parallel = 117 'u' [03:04:03.156] languageTuple = [03:04:03.156] languageStruct = [03:04:03.156] languageOid = 16517 [03:04:03.156] languageValidator = 16516 [03:04:03.156] prorettype = 23 [03:04:03.156] returnsSet = false [03:04:03.156] trftypes = 0x837a3ed00 [03:04:03.156] prosqlbody = 0x0 [03:04:03.156] probin_str = 0x0 [03:04:03.156] prosrc_str = 0x844a75608 "\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n" [03:04:03.156] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x837a01500, pstmt=pstmt@entry=0x837b43780, queryString=queryString@entry=0x8379f3100 "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=0x821096580) at ../src/backend/tcop/utility.c:1655 [03:04:03.156] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34914001320, 34914001696, 34914001328, 12140200, 0, 35292976384, 35294282623, 10, 0, 549755813888}}} [03:04:03.156] _save_exception_stack = 0x821096480 [03:04:03.156] _save_context_stack = 0x0 [03:04:03.156] _do_rethrow = false [03:04:03.156] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:03.156] parsetree = 0x837b44ef0 [03:04:03.156] commandCollected = false [03:04:03.156] needCleanup = false [03:04:03.156] address = [03:04:03.156] isTopLevel = [03:04:03.156] isCompleteQuery = [03:04:03.156] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x837b43780, queryString=0x8379f3100 "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=0x844a757a8, qc=0x821096580) at ../src/backend/tcop/utility.c:1030 [03:04:03.156] isAtomicContext = false [03:04:03.156] parsetree = 0x837b44ef0 [03:04:03.156] readonly_flags = [03:04:03.156] pstate = 0x837a01500 [03:04:03.156] isTopLevel = [03:04:03.156] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18708, queryString=0x6 , readOnlyTree=, context=771585018, params=0x0, queryEnv=0x0, dest=0x844a757a8, qc=0x821096580) at ../src/backend/tcop/utility.c:523 [03:04:03.156] No locals. [03:04:03.156] #30 0x0000000000904243 in PortalRunUtility (portal=0x837ac8100, pstmt=0x837b43780, isTopLevel=, setHoldSnapshot=, dest=0x844a757a8, qc=0x821096580) at ../src/backend/tcop/pquery.c:1158 [03:04:03.156] No locals. [03:04:03.156] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x837ac8100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x844a757a8, altdest=altdest@entry=0x844a757a8, qc=0x821096580) at ../src/backend/tcop/pquery.c:1323 [03:04:03.156] pstmt = 0x837b43780 [03:04:03.156] stmtlist_item__state = {l = 0x844a75758, i = 0} [03:04:03.156] active_snapshot_set = false [03:04:03.156] stmtlist_item = 0x844a75770 [03:04:03.156] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x837ac8100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x844a757a8, altdest=altdest@entry=0x844a757a8, qc=0x821096580) at ../src/backend/tcop/pquery.c:791 [03:04:03.156] _local_sigjmp_buf = {{_sjb = {9449757, 35293790464, 34914002040, 34914002272, 34914002048, 35293806592, 12106872, 12140200, 35293758335, 35294296816, 4294967984, 0}}} [03:04:03.156] _save_exception_stack = 0x821096650 [03:04:03.156] _save_context_stack = 0x0 [03:04:03.156] _do_rethrow = false [03:04:03.156] saveTopTransactionResourceOwner = 0x837ad4d98 [03:04:03.156] saveTopTransactionContext = 0x837acc000 [03:04:03.156] saveActivePortal = 0x0 [03:04:03.156] saveResourceOwner = 0x837ad4d98 [03:04:03.156] savePortalContext = 0x0 [03:04:03.156] saveMemoryContext = 0x837acc000 [03:04:03.156] result = [03:04:03.156] nprocessed = [03:04:03.156] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x8379f3100 "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:04:03.156] cmdtaglen = 15 [03:04:03.156] snapshot_set = [03:04:03.156] per_parsetree_context = 0x0 [03:04:03.156] plantree_list = [03:04:03.156] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:03.156] format = 0 [03:04:03.156] parsetree = 0x8379f4f28 [03:04:03.156] commandTag = [03:04:03.156] cmdtagname = [03:04:03.156] querytree_list = [03:04:03.156] portal = 0x837ac8100 [03:04:03.156] receiver = 0x844a757a8 [03:04:03.156] parsetree_item__state = {l = 0x837b43730, i = 0} [03:04:03.156] msec_str = "\000\000\000\000\b", '\000' , "\325\036\331f\000\000\000\000\021\376VW\207o\326", [03:04:03.156] dest = DestRemote [03:04:03.156] was_logged = [03:04:03.156] oldcontext = 0x837acc000 [03:04:03.156] parsetree_list = 0x837b43730 [03:04:03.156] use_implicit_block = false [03:04:03.156] parsetree_item = 0x837b43748 [03:04:03.156] save_log_statement_stats = [03:04:03.156] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:03.156] query_string = 0x8379f3100 "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:04:03.156] input_message = {data = 0x8379f3100 "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:04:03.156] firstchar = [03:04:03.156] local_sigjmp_buf = {{_sjb = {9433670, 34914002512, 34914002472, 34914003056, 12148936, 1, 8192, 8388608, 34913977215, 0, 0, 1}}} [03:04:03.156] send_ready_for_query = false [03:04:03.156] idle_in_transaction_timeout_enabled = false [03:04:03.156] idle_session_timeout_enabled = false [03:04:03.156] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:03.156] bsdata = [03:04:03.156] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821097394 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8210972d0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:03.156] pid = [03:04:03.156] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8210972d0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:03.156] startup_data = {canAcceptConnections = CAC_OK} [03:04:03.156] bn = 0x8379ff088 [03:04:03.156] pid = [03:04:03.156] __error = [03:04:03.156] save_errno = [03:04:03.156] __error = [03:04:03.156] __error = [03:04:03.156] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:03.156] 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 = "\000O\2377\b", '\000' , "0s\t!\b\000\000\000h56,\b\000\000\000\v\000\000\000\000\000\000\000^\2776,\b", '\000' , "ps\t!\b\000\000\000\304D\205\000\000\000\000\000\200s\t!\b", '\000' }, salen = 16}} [03:04:03.156] i = 0 [03:04:03.156] now = [03:04:03.156] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 771210370, events = 8, fd = 0, user_data = 0x821097280}, {pos = 933549528, events = 8, fd = 554266896, user_data = 0x0}, {pos = 0, events = 0, fd = -1237167910, user_data = 0x98d1ebb830a}, {pos = 770377632, events = 8, fd = 770448760, user_data = 0x821096d98}, {pos = 554266128, events = 8, fd = 554266008, user_data = 0x98d1ebb830a}, {pos = 770356104, events = 8, fd = 770448760, user_data = 0x821096dc8}, {pos = 554266176, events = 8, fd = 554266056, user_data = 0x82deba194}, {pos = 560571400, events = 8, fd = 770417044, user_data = 0x821096e30}, {pos = 515585082, events = 2445, fd = 772239408, user_data = 0x1}, {pos = 554266208, events = 8, fd = 515605258, user_data = 0x82dea3858}, {pos = 770448760, events = 8, fd = 554266168, user_data = 0x821096eb0}, {pos = 554266168, events = 8, fd = 770411788, user_data = 0x82169a408}, {pos = 770411788, events = 8, fd = 554266272, user_data = 0x98d1ebb343a}, {pos = 554266312, events = 8, fd = 554266760, user_data = 0x821096eb0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 254566033, fd = 560595000, user_data = 0x800000001}, {pos = 560571400, events = 8, fd = 770356104, user_data = 0x82169f288}, {pos = 770324568, events = 8, fd = 560571400, user_data = 0x821096f38}, {pos = 554266872, events = 8, fd = 554266400, user_data = 0x98d1ebb7ca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 560595000, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 554267128, user_data = 0x2169a408}, {pos = 554266944, events = 8, fd = 554266544, user_data = 0x1}, {pos = 554266872, events = 8, fd = 32, user_data = 0x821096fa0}, {pos = 515603059, events = 2445, fd = 554266816, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x8216a0038}, {pos = 1, events = 8, fd = 560571400, user_data = 0x82dea3858}, {pos = 554267128, events = 8, fd = 554266944, user_data = 0x821096fb0}, {pos = 0, events = 0, fd = 560541704, user_data = 0x20}, {pos = 554266928, events = 8, fd = 515578599, user_data = 0x821693008}, {pos = 560542728, events = 8, fd = 560543752, user_data = 0x821693c08}, {pos = 560558088, events = 8, fd = 560559112, user_data = 0x821697808}, {pos = 560561160, events = 8, fd = 560562184, user_data = 0x821698408}, {pos = 560564232, events = 8, fd = 560565256, user_data = 0x821699008}, {pos = 560567304, events = 8, fd = 560568328, user_data = 0x821699c08}, {pos = 560570376, events = 8, fd = 560571400, user_data = 0x82169a808}, {pos = 560573448, events = 8, fd = 560574472, user_data = 0x82169b408}, {pos = 560576520, events = 8, fd = 560577544, user_data = 0x82169c008}, {pos = 560579592, events = 8, fd = 560580616, user_data = 0x82169cc08}, {pos = 560586760, events = 8, fd = 560587784, user_data = 0x82169e808}, {pos = 560589832, events = 8, fd = 560541704, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x8216a0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 554267128, events = 8, fd = 554266544, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 560595000, user_data = 0x1}, {pos = 560541704, events = 8, fd = 313, user_data = 0x8210971e0}, {pos = 515577327, events = 2445, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 560595000, user_data = 0x1}, {pos = 560571400, events = 8, fd = 933113856, user_data = 0x1}, {pos = 933114260, events = 8, fd = 0, user_data = 0x8210971b0}, {pos = 741782892, events = 8, fd = 1, user_data = 0x8379e3000}, {pos = 554267104, events = 8, fd = 741779202, user_data = 0x82dfd5170 }, {pos = 12073968, events = 0, fd = 771576176, user_data = 0x82169a408}, {pos = 554267328, events = 8, fd = 515576798, user_data = 0x837a01800}, {pos = 1, events = 0, fd = 515576414, user_data = 0x821693008}, {pos = 554267112, events = 8, fd = 554267328, user_data = 0x1c20}, {pos = 933187328, events = 8, fd = 515656080, user_data = 0x0}, {pos = 554238847, events = 8, fd = 7886759, user_data = 0x821097270}, {pos = 741741584, events = 8, fd = 772239408, user_data = 0x82e079310}, {pos = 0, events = 0, fd = 8128, user_data = 0x8210972a0}, {pos = 741784477, events = 8, fd = 933113856, user_data = 0x4dda}, {pos = 554267392, events = 8, fd = 741751034, user_data = 0x0}, {pos = 0, events = 0, fd = -1237167910, user_data = 0x0}} [03:04:03.156] last_touch_time = 1725505237 [03:04:03.156] last_lockfile_recheck_time = 1725505237 [03:04:03.156] nevents = 1 [03:04:03.156] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x8210978e8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:03.156] userDoption = [03:04:03.156] listen_addr_saved = [03:04:03.156] output_config_variable = [03:04:03.156] opt = [03:04:03.156] status = [03:04:03.156] #40 0x000000000079248c in main (argc=8, argv=0x8210978e8) at ../src/backend/main/main.c:197 [03:04:03.156] do_check_root = [03:04:03.169] [03:04:03.169] [03:04:03.169] [03:04:03.235] dumping /tmp/cores/postgres.19960.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:03.353] [New LWP 101582] [03:04:03.423] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:04:03.423] Program terminated with signal SIGABRT, Aborted. [03:04:03.423] Sent by thr_kill() from pid 19960 and user 1003. [03:04:03.423] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:04.046] To enable execution of this file add [03:04:04.046] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:04.046] line to your configuration file "/.config/gdb/gdbinit". [03:04:04.046] To completely disable this security protection add [03:04:04.046] set auto-load safe-path / [03:04:04.046] line to your configuration file "/.config/gdb/gdbinit". [03:04:04.046] For more information about this security protection see the [03:04:04.046] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:04.046] info "(gdb)Auto-loading safe path" [03:04:04.046] [03:04:04.046] Thread 1 (LWP 101582): [03:04:04.046] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:04.046] No symbol table info available. [03:04:04.046] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:04.046] No symbol table info available. [03:04:04.046] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:04.046] No symbol table info available. [03:04:04.046] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x84580ae44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:04.046] No locals. [03:04:04.046] #4 0x0000000845814063 in PLy_generate_spi_exceptions (mod=0x849859ad0, base=0x8433d3010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:04.046] dict = [03:04:04.046] found = true [03:04:04.046] sqlstate = [03:04:04.046] exc = 0x84348bc10 [03:04:04.046] entry = 0x0 [03:04:04.046] i = 66 [03:04:04.046] #5 PLy_add_exceptions (plpy=0x84938ac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:04.046] hash_ctl = {num_partitions = 35587476848, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x849324d40, match = 0x849324d40, keycopy = 0x849841040, alloc = 0x849382130, hcxt = 0x847c5eac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:04.046] excmod = 0x849859ad0 [03:04:04.046] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:04.046] m = 0x84938ac50 [03:04:04.046] #7 0x0000000847a6af70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #8 0x0000000847a692e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #9 0x0000000847989c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #10 0x0000000847a33d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #11 0x0000000847a36795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #12 0x000000084793790f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #13 0x0000000847937705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #14 0x0000000847a65284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #15 0x0000000847a1d996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #16 0x0000000847989e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #17 0x0000000847936538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #18 0x0000000847936467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #19 0x0000000847a64b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #20 0x0000000847a65ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.046] No symbol table info available. [03:04:04.046] #21 0x0000000845813476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:04.046] inited = false [03:04:04.046] #22 0x00000008458133a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:04.046] funcoid = 49152 [03:04:04.046] tuple = [03:04:04.046] is_trigger = [03:04:04.046] procStruct = [03:04:04.046] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=49152) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:04.046] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\000\300", '\000' } [03:04:04.046] fcinfo = 0x82185f038 [03:04:04.046] result = [03:04:04.046] __error = [03:04:04.046] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=49152) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:04.046] flinfo = {fn_addr = 0x845813370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:04:04.046] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834a12068 "test_void_func1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2278, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834a12238 "\nx = 10\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8349bd3b0, 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:04:04.046] set_items = [03:04:04.046] save_nestlevel = 0 [03:04:04.046] myself = {classId = 1255, objectId = 49152, objectSubId = 0} [03:04:04.046] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:04:04.046] values = {49152, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 2278, 35242365872, 0, 0, 0, 0, 0, 35243737816, 0, 0, 0, 0} [03:04:04.046] replaces = {true } [03:04:04.046] procname = {data = "test_void_func1", '\000' } [03:04:04.046] referenced = {classId = 1247, objectId = 2278, objectSubId = 0} [03:04:04.046] paramModes = [03:04:04.046] variadicType = [03:04:04.046] proacl = 0x0 [03:04:04.046] parameterCount = [03:04:04.046] allParamCount = 0 [03:04:04.046] allParams = 0x8349bd3c8 [03:04:04.046] detailmsg = [03:04:04.046] i = [03:04:04.046] rel = 0x834aa2ed8 [03:04:04.046] tupDesc = 0x834aa31f8 [03:04:04.046] oldtup = 0x0 [03:04:04.046] tup = 0x8349bd258 [03:04:04.046] is_update = [03:04:04.046] retval = 49152 [03:04:04.046] addrs = [03:04:04.046] trfid = [03:04:04.046] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834980500, stmt=, stmt@entry=0x834a12018) at ../src/backend/commands/functioncmds.c:1257 [03:04:04.046] funcname = 0x834a12068 "test_void_func1" [03:04:04.046] parameterTypes = 0x8349bd3b0 [03:04:04.046] parameterTypes_list = 0x0 [03:04:04.046] allParameterTypes = 0x0 [03:04:04.046] parameterModes = 0x0 [03:04:04.046] parameterNames = 0x0 [03:04:04.046] inParameterNames_list = 0x0 [03:04:04.046] parameterDefaults = 0x0 [03:04:04.046] variadicArgType = 0 [03:04:04.046] requiredResultType = 0 [03:04:04.046] transformDefElem = [03:04:04.046] trftypes_list = [03:04:04.046] namespaceId = 2200 [03:04:04.046] aclresult = [03:04:04.046] as_clause = [03:04:04.046] language = [03:04:04.046] isWindowFunc = false [03:04:04.046] isStrict = false [03:04:04.046] security = false [03:04:04.046] isLeakProof = [03:04:04.046] volatility = 118 'v' [03:04:04.046] proconfig = 0x0 [03:04:04.046] procost = 100 [03:04:04.046] prorows = 0 [03:04:04.046] prosupport = 0 [03:04:04.046] parallel = 117 'u' [03:04:04.046] languageTuple = [03:04:04.046] languageStruct = [03:04:04.046] languageOid = 16456 [03:04:04.046] languageValidator = 16455 [03:04:04.046] prorettype = 2278 [03:04:04.046] returnsSet = false [03:04:04.046] trftypes = 0x0 [03:04:04.046] prosqlbody = 0x0 [03:04:04.046] probin_str = 0x0 [03:04:04.046] prosrc_str = 0x834a12238 "\nx = 10\n" [03:04:04.046] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834980500, pstmt=pstmt@entry=0x834973b90, queryString=queryString@entry=0x834972100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:04.046] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35242116352, 35242705791, 10, 0, 549755813888}}} [03:04:04.046] _save_exception_stack = 0x82185f750 [03:04:04.046] _save_context_stack = 0x0 [03:04:04.046] _do_rethrow = false [03:04:04.046] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:04.046] parsetree = 0x834a12018 [03:04:04.046] commandCollected = false [03:04:04.046] needCleanup = false [03:04:04.046] address = [03:04:04.046] isTopLevel = [03:04:04.046] isCompleteQuery = [03:04:04.046] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834973b90, queryString=0x834972100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x834973f50, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:04.046] isAtomicContext = false [03:04:04.046] parsetree = 0x834a12018 [03:04:04.046] readonly_flags = [03:04:04.046] pstate = 0x834980500 [03:04:04.046] isTopLevel = [03:04:04.046] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18cce, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834973f50, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:04.046] No locals. [03:04:04.046] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a49100, pstmt=0x834973b90, isTopLevel=, setHoldSnapshot=, dest=0x834973f50, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:04.046] No locals. [03:04:04.046] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a49100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834973f50, altdest=altdest@entry=0x834973f50, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:04.046] pstmt = 0x834973b90 [03:04:04.046] stmtlist_item__state = {l = 0x834a12418, i = 0} [03:04:04.046] active_snapshot_set = false [03:04:04.046] stmtlist_item = 0x834a12430 [03:04:04.046] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a49100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834973f50, altdest=altdest@entry=0x834973f50, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:04.046] _local_sigjmp_buf = {{_sjb = {9449757, 35242938624, 34922166088, 34922166320, 34922166096, 35243413504, 12106872, 12140200, 35242902399, 35242065664, 4294967984, 0}}} [03:04:04.046] _save_exception_stack = 0x82185f920 [03:04:04.046] _save_context_stack = 0x0 [03:04:04.046] _do_rethrow = false [03:04:04.046] saveTopTransactionResourceOwner = 0x834a50fa0 [03:04:04.046] saveTopTransactionContext = 0x834abd000 [03:04:04.046] saveActivePortal = 0x0 [03:04:04.046] saveResourceOwner = 0x834a50fa0 [03:04:04.046] savePortalContext = 0x0 [03:04:04.046] saveMemoryContext = 0x834abd000 [03:04:04.046] result = [03:04:04.046] nprocessed = [03:04:04.046] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:04:04.046] cmdtaglen = 15 [03:04:04.046] snapshot_set = [03:04:04.046] per_parsetree_context = 0x0 [03:04:04.046] plantree_list = [03:04:04.046] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:04.046] format = 0 [03:04:04.046] parsetree = 0x834973760 [03:04:04.046] commandTag = [03:04:04.046] cmdtagname = [03:04:04.046] querytree_list = [03:04:04.046] portal = 0x834a49100 [03:04:04.046] receiver = 0x834973f50 [03:04:04.046] parsetree_item__state = {l = 0x834973b40, i = 0} [03:04:04.046] msec_str = "\000\000\000\000\b", '\000' , "\325\036\331f\000\000\000\000\031\204\321\321i\247", [03:04:04.046] dest = DestRemote [03:04:04.046] was_logged = [03:04:04.046] oldcontext = 0x834abd000 [03:04:04.046] parsetree_list = 0x834973b40 [03:04:04.046] use_implicit_block = false [03:04:04.046] parsetree_item = 0x834973b58 [03:04:04.046] save_log_statement_stats = [03:04:04.046] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:04.046] query_string = 0x834972100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;" [03:04:04.046] input_message = {data = 0x834972100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;", len = 84, maxlen = 1024, cursor = 84} [03:04:04.046] firstchar = [03:04:04.046] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:04.046] send_ready_for_query = false [03:04:04.046] idle_in_transaction_timeout_enabled = false [03:04:04.046] idle_session_timeout_enabled = false [03:04:04.046] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:04.046] bsdata = [03:04:04.046] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:04.046] pid = [03:04:04.046] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:04.046] startup_data = {canAcceptConnections = CAC_OK} [03:04:04.046] bn = 0x834973f00 [03:04:04.046] pid = [03:04:04.046] __error = [03:04:04.046] save_errno = [03:04:04.046] __error = [03:04:04.046] __error = [03:04:04.046] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:04.046] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:04.046] i = 0 [03:04:04.046] now = [03:04:04.046] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:04.047] last_touch_time = 1725505226 [03:04:04.047] last_lockfile_recheck_time = 1725505226 [03:04:04.047] nevents = 1 [03:04:04.047] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:04.047] userDoption = [03:04:04.047] listen_addr_saved = [03:04:04.047] output_config_variable = [03:04:04.047] opt = [03:04:04.047] status = [03:04:04.047] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:04.047] do_check_root = [03:04:04.059] [03:04:04.059] [03:04:04.059] [03:04:04.124] dumping /tmp/cores/postgres.20086.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:04.243] [New LWP 101712] [03:04:04.316] Core was generated by `postgres: postgres regression_jsonb_plpython [local] CREATE FUNCTION'. [03:04:04.316] Program terminated with signal SIGABRT, Aborted. [03:04:04.316] Sent by thr_kill() from pid 20086 and user 1003. [03:04:04.316] #0 0x000000082b2d941a in thr_kill () from /lib/libc.so.7 [03:04:04.946] To enable execution of this file add [03:04:04.946] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:04.946] line to your configuration file "/.config/gdb/gdbinit". [03:04:04.946] To completely disable this security protection add [03:04:04.946] set auto-load safe-path / [03:04:04.946] line to your configuration file "/.config/gdb/gdbinit". [03:04:04.946] For more information about this security protection see the [03:04:04.946] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:04.946] info "(gdb)Auto-loading safe path" [03:04:04.946] [03:04:04.946] Thread 1 (LWP 101712): [03:04:04.946] #0 0x000000082b2d941a in thr_kill () from /lib/libc.so.7 [03:04:04.946] No symbol table info available. [03:04:04.946] #1 0x000000082b252e64 in raise () from /lib/libc.so.7 [03:04:04.946] No symbol table info available. [03:04:04.946] #2 0x000000082b3036f9 in abort () from /lib/libc.so.7 [03:04:04.946] No symbol table info available. [03:04:04.946] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x843ad3e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:04.946] No locals. [03:04:04.946] #4 0x0000000843add063 in PLy_generate_spi_exceptions (mod=0x848fd1ad0, base=0x841e60010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:04.946] dict = [03:04:04.946] found = true [03:04:04.946] sqlstate = [03:04:04.946] exc = 0x841eb2c10 [03:04:04.946] entry = 0x0 [03:04:04.946] i = 66 [03:04:04.946] #5 PLy_add_exceptions (plpy=0x8484bac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:04.946] hash_ctl = {num_partitions = 35571944816, ssize = 7, dsize = 2, max_dsize = 34922038768, keysize = 4, entrysize = 16, hash = 0x848454d40, match = 0x848454d40, keycopy = 0x8484bcf00, alloc = 0x8484b2030, hcxt = 0x846330ac0 <_PyRuntime+166184>, hctl = 0x821840640} [03:04:04.946] excmod = 0x848fd1ad0 [03:04:04.946] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:04.946] m = 0x8484bac50 [03:04:04.946] #7 0x000000084613cf70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #8 0x000000084613b2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #9 0x000000084605bc29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #10 0x0000000846105d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #11 0x0000000846108795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #12 0x000000084600990f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #13 0x0000000846009705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #14 0x0000000846137284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #15 0x00000008460ef996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #16 0x000000084605be70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #17 0x0000000846008538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #18 0x0000000846008467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #19 0x0000000846136b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #20 0x0000000846137ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:04.946] No symbol table info available. [03:04:04.946] #21 0x0000000843adc476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:04.946] inited = false [03:04:04.946] #22 0x0000000843adc3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:04.946] funcoid = 16394 [03:04:04.946] tuple = [03:04:04.946] is_trigger = [03:04:04.946] procStruct = [03:04:04.946] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x821840dc8, collation=0, arg1=16394) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:04.946] fcinfodata = {fcinfo = {flinfo = 0x821840dc8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x821840e18}, fcinfo_data = "\310\r\204!\b", '\000' , "\001\000\n@", '\000' } [03:04:04.946] fcinfo = 0x821840df8 [03:04:04.946] result = [03:04:04.946] __error = [03:04:04.946] #24 OidFunctionCall1Coll (functionId=functionId@entry=16388, collation=collation@entry=0, arg1=arg1@entry=16394) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:04.946] flinfo = {fn_addr = 0x843adc370 , fn_oid = 16388, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x835443400, fn_expr = 0x0} [03:04:04.946] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x835586f40 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16389, languageValidator=16388, prosrc=0x841d7de48 "\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=0x835480c18, allParameterTypes=0, parameterModes=0, parameterNames=35253652552, parameterDefaults=0x0, trftypes=35253652736, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:04:04.946] set_items = [03:04:04.946] save_nestlevel = 0 [03:04:04.946] myself = {classId = 1255, objectId = 16394, objectSubId = 0} [03:04:04.946] nulls = {false , true, true, false, true, false, false, true, true, true, true} [03:04:04.946] values = {16394, 34922040912, 2200, 10, 16389, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35253652504, 0, 0, 35253652552, 0, 35253652736, 35253401456, 0, 0, 0, 0} [03:04:04.946] replaces = {true } [03:04:04.946] procname = {data = "test1", '\000' } [03:04:04.946] referenced = {classId = 3576, objectId = 16393, objectSubId = 0} [03:04:04.946] paramModes = [03:04:04.946] variadicType = [03:04:04.946] proacl = 0x0 [03:04:04.946] parameterCount = [03:04:04.946] allParamCount = 1 [03:04:04.946] allParams = 0x835480c30 [03:04:04.946] detailmsg = [03:04:04.946] i = [03:04:04.946] rel = 0x8355610d8 [03:04:04.946] tupDesc = 0x8355613f8 [03:04:04.946] oldtup = 0x0 [03:04:04.946] tup = 0x8355cbc38 [03:04:04.946] is_update = [03:04:04.946] retval = 16394 [03:04:04.946] addrs = [03:04:04.946] trfid = [03:04:04.946] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x835443500, stmt=, stmt@entry=0x835586ef0) at ../src/backend/commands/functioncmds.c:1257 [03:04:04.946] funcname = 0x835586f40 "test1" [03:04:04.946] parameterTypes = 0x835480c18 [03:04:04.946] parameterTypes_list = 0x8355cbfa8 [03:04:04.946] allParameterTypes = 0x0 [03:04:04.946] parameterModes = 0x0 [03:04:04.946] parameterNames = 0x835480c48 [03:04:04.946] inParameterNames_list = 0x835480bc8 [03:04:04.946] parameterDefaults = 0x0 [03:04:04.946] variadicArgType = 0 [03:04:04.946] requiredResultType = 0 [03:04:04.946] transformDefElem = [03:04:04.946] trftypes_list = [03:04:04.946] namespaceId = 2200 [03:04:04.946] aclresult = [03:04:04.946] as_clause = [03:04:04.946] language = [03:04:04.946] isWindowFunc = false [03:04:04.946] isStrict = false [03:04:04.946] security = false [03:04:04.946] isLeakProof = [03:04:04.946] volatility = 118 'v' [03:04:04.946] proconfig = 0x0 [03:04:04.946] procost = 100 [03:04:04.946] prorows = 0 [03:04:04.946] prosupport = 0 [03:04:04.946] parallel = 117 'u' [03:04:04.946] languageTuple = [03:04:04.946] languageStruct = [03:04:04.946] languageOid = 16389 [03:04:04.946] languageValidator = 16388 [03:04:04.946] prorettype = 23 [03:04:04.946] returnsSet = false [03:04:04.946] trftypes = 0x835480d00 [03:04:04.946] prosqlbody = 0x0 [03:04:04.946] probin_str = 0x0 [03:04:04.946] prosrc_str = 0x841d7de48 "\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n" [03:04:04.946] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x835443500, pstmt=pstmt@entry=0x835585780, queryString=queryString@entry=0x835435100 "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=0x821841610) at ../src/backend/tcop/utility.c:1655 [03:04:04.946] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922041912, 34922042288, 34922041920, 12140200, 0, 35253400832, 35254698879, 10, 0, 549755813888}}} [03:04:04.946] _save_exception_stack = 0x821841510 [03:04:04.946] _save_context_stack = 0x0 [03:04:04.946] _do_rethrow = false [03:04:04.946] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:04.946] parsetree = 0x835586ef0 [03:04:04.946] commandCollected = false [03:04:04.946] needCleanup = false [03:04:04.946] address = [03:04:04.946] isTopLevel = [03:04:04.946] isCompleteQuery = [03:04:04.946] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x835585780, queryString=0x835435100 "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=0x841d7dfe8, qc=0x821841610) at ../src/backend/tcop/utility.c:1030 [03:04:04.946] isAtomicContext = false [03:04:04.946] parsetree = 0x835586ef0 [03:04:04.946] readonly_flags = [03:04:04.946] pstate = 0x835443500 [03:04:04.946] isTopLevel = [03:04:04.946] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18d50, queryString=0x6 , readOnlyTree=, context=724407290, params=0x0, queryEnv=0x0, dest=0x841d7dfe8, qc=0x821841610) at ../src/backend/tcop/utility.c:523 [03:04:04.946] No locals. [03:04:04.946] #30 0x0000000000904243 in PortalRunUtility (portal=0x83550a100, pstmt=0x835585780, isTopLevel=, setHoldSnapshot=, dest=0x841d7dfe8, qc=0x821841610) at ../src/backend/tcop/pquery.c:1158 [03:04:04.946] No locals. [03:04:04.946] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x83550a100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x841d7dfe8, altdest=altdest@entry=0x841d7dfe8, qc=0x821841610) at ../src/backend/tcop/pquery.c:1323 [03:04:04.946] pstmt = 0x835585780 [03:04:04.946] stmtlist_item__state = {l = 0x841d7df98, i = 0} [03:04:04.946] active_snapshot_set = false [03:04:04.946] stmtlist_item = 0x841d7dfb0 [03:04:04.946] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x83550a100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x841d7dfe8, altdest=altdest@entry=0x841d7dfe8, qc=0x821841610) at ../src/backend/tcop/pquery.c:791 [03:04:04.946] _local_sigjmp_buf = {{_sjb = {9449757, 35254214912, 34922042632, 34922042864, 34922042640, 35254231040, 12106872, 12140200, 35254174591, 35254721264, 4294967984, 0}}} [03:04:04.946] _save_exception_stack = 0x8218416e0 [03:04:04.946] _save_context_stack = 0x0 [03:04:04.946] _do_rethrow = false [03:04:04.946] saveTopTransactionResourceOwner = 0x835516798 [03:04:04.946] saveTopTransactionContext = 0x83550e000 [03:04:04.946] saveActivePortal = 0x0 [03:04:04.946] saveResourceOwner = 0x835516798 [03:04:04.946] savePortalContext = 0x0 [03:04:04.946] saveMemoryContext = 0x83550e000 [03:04:04.946] result = [03:04:04.946] nprocessed = [03:04:04.946] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x835435100 "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:04:04.946] cmdtaglen = 15 [03:04:04.946] snapshot_set = [03:04:04.946] per_parsetree_context = 0x0 [03:04:04.946] plantree_list = [03:04:04.946] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:04.946] format = 0 [03:04:04.946] parsetree = 0x835436f28 [03:04:04.946] commandTag = [03:04:04.946] cmdtagname = [03:04:04.946] querytree_list = [03:04:04.946] portal = 0x83550a100 [03:04:04.946] receiver = 0x841d7dfe8 [03:04:04.946] parsetree_item__state = {l = 0x835585730, i = 0} [03:04:04.946] msec_str = "\000\000\000\000\b", '\000' , "\327\036\331f\000\000\000\000\251D\216`b E\227" [03:04:04.946] dest = DestRemote [03:04:04.946] was_logged = [03:04:04.946] oldcontext = 0x83550e000 [03:04:04.946] parsetree_list = 0x835585730 [03:04:04.946] use_implicit_block = false [03:04:04.946] parsetree_item = 0x835585748 [03:04:04.946] save_log_statement_stats = [03:04:04.946] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:04.946] query_string = 0x835435100 "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:04:04.946] input_message = {data = 0x835435100 "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:04:04.946] firstchar = [03:04:04.946] local_sigjmp_buf = {{_sjb = {9433670, 34922043104, 34922043064, 34922043648, 12148936, 1, 8192, 8388608, 34922038143, 0, 0, 1}}} [03:04:04.946] send_ready_for_query = false [03:04:04.946] idle_in_transaction_timeout_enabled = false [03:04:04.946] idle_session_timeout_enabled = false [03:04:04.946] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:04.946] bsdata = [03:04:04.946] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821842424 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x821842360) at ../src/backend/postmaster/launch_backend.c:274 [03:04:04.946] pid = [03:04:04.946] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x821842360) at ../src/backend/postmaster/postmaster.c:3415 [03:04:04.946] startup_data = {canAcceptConnections = CAC_OK} [03:04:04.946] bn = 0x8354410d8 [03:04:04.946] pid = [03:04:04.946] __error = [03:04:04.946] save_errno = [03:04:04.946] __error = [03:04:04.946] __error = [03:04:04.946] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:04.946] 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 = "\000oC5\b", '\000' , "\300#\204!\b\000\000\000h\005\326*\b\000\000\000\v\000\000\000\000\000\000\000^\217\326*\b", '\000' , "$\204!\b\000\000\000\304D\205\000\000\000\000\000\020$\204!\b", '\000' }, salen = 16}} [03:04:04.946] i = 0 [03:04:04.946] now = [03:04:04.946] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 724032642, events = 8, fd = 0, user_data = 0x821842310}, {pos = 893973976, events = 8, fd = 562307488, user_data = 0x0}, {pos = 0, events = 0, fd = -141806117, user_data = 0x10072b90230a}, {pos = 723199904, events = 8, fd = 723271032, user_data = 0x821841e28}, {pos = 562306720, events = 8, fd = 562306600, user_data = 0x10072b90230a}, {pos = 723178376, events = 8, fd = 723271032, user_data = 0x821841e58}, {pos = 562306768, events = 8, fd = 562306648, user_data = 0x82b1bc194}, {pos = 565060616, events = 8, fd = 723239316, user_data = 0x821841ec0}, {pos = 730846266, events = 4103, fd = 725061680, user_data = 0x1}, {pos = 562306800, events = 8, fd = 730866442, user_data = 0x82b1a5858}, {pos = 723271032, events = 8, fd = 562306760, user_data = 0x821841f40}, {pos = 562306760, events = 8, fd = 723234060, user_data = 0x821ae2408}, {pos = 723234060, events = 8, fd = 562306864, user_data = 0x10072b8fd43a}, {pos = 562306904, events = 8, fd = 562307352, user_data = 0x821841f40}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2562476930, fd = 565084216, user_data = 0x800000001}, {pos = 565060616, events = 8, fd = 723178376, user_data = 0x821ae7288}, {pos = 723146840, events = 8, fd = 565060616, user_data = 0x821841fc8}, {pos = 562307464, events = 8, fd = 562306992, user_data = 0x10072b901ca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565084216, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562307720, user_data = 0x21ae2408}, {pos = 562307536, events = 8, fd = 562307136, user_data = 0x1}, {pos = 562307464, events = 8, fd = 32, user_data = 0x821842030}, {pos = 730864243, events = 4103, fd = 562307408, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821ae8038}, {pos = 1, events = 8, fd = 565060616, user_data = 0x82b1a5858}, {pos = 562307720, events = 8, fd = 562307536, user_data = 0x821842040}, {pos = 0, events = 0, fd = 565030920, user_data = 0x20}, {pos = 562307520, events = 8, fd = 730839783, user_data = 0x821adb008}, {pos = 565031944, events = 8, fd = 565032968, user_data = 0x821adbc08}, {pos = 565047304, events = 8, fd = 565048328, user_data = 0x821adf808}, {pos = 565050376, events = 8, fd = 565051400, user_data = 0x821ae0408}, {pos = 565053448, events = 8, fd = 565054472, user_data = 0x821ae1008}, {pos = 565056520, events = 8, fd = 565057544, user_data = 0x821ae1c08}, {pos = 565059592, events = 8, fd = 565060616, user_data = 0x821ae2808}, {pos = 565062664, events = 8, fd = 565063688, user_data = 0x821ae3408}, {pos = 565065736, events = 8, fd = 565066760, user_data = 0x821ae4008}, {pos = 565068808, events = 8, fd = 565069832, user_data = 0x821ae4c08}, {pos = 565075976, events = 8, fd = 565077000, user_data = 0x821ae6808}, {pos = 565079048, events = 8, fd = 565030920, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821ae8038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562307720, events = 8, fd = 562307136, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565084216, user_data = 0x1}, {pos = 565030920, events = 8, fd = 313, user_data = 0x821842270}, {pos = 730838511, events = 4103, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565084216, user_data = 0x1}, {pos = 565060616, events = 8, fd = 893538304, user_data = 0x1}, {pos = 893538708, events = 8, fd = 0, user_data = 0x821842240}, {pos = 718701932, events = 8, fd = 1, user_data = 0x835425000}, {pos = 562307696, events = 8, fd = 718698242, user_data = 0x82b2d7170 }, {pos = 12073968, events = 0, fd = 724398448, user_data = 0x821ae2408}, {pos = 562307920, events = 8, fd = 730837982, user_data = 0x835443800}, {pos = 1, events = 0, fd = 730837598, user_data = 0x821adb008}, {pos = 562307704, events = 8, fd = 562307920, user_data = 0x1c20}, {pos = 893611776, events = 8, fd = 730917264, user_data = 0x0}, {pos = 562299775, events = 8, fd = 7886759, user_data = 0x821842300}, {pos = 718660624, events = 8, fd = 725061680, user_data = 0x82b37b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821842330}, {pos = 718703517, events = 8, fd = 893538304, user_data = 0x4e69}, {pos = 562307984, events = 8, fd = 718670074, user_data = 0x0}, {pos = 0, events = 0, fd = -141806117, user_data = 0x0}} [03:04:04.946] last_touch_time = 1725505239 [03:04:04.946] last_lockfile_recheck_time = 1725505239 [03:04:04.946] nevents = 1 [03:04:04.946] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821842970) at ../src/backend/postmaster/postmaster.c:1346 [03:04:04.946] userDoption = [03:04:04.946] listen_addr_saved = [03:04:04.946] output_config_variable = [03:04:04.946] opt = [03:04:04.946] status = [03:04:04.946] #40 0x000000000079248c in main (argc=8, argv=0x821842970) at ../src/backend/main/main.c:197 [03:04:04.946] do_check_root = [03:04:04.959] [03:04:04.959] [03:04:04.959] [03:04:05.024] dumping /tmp/cores/postgres.20146.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:05.143] [New LWP 101582] [03:04:05.211] Core was generated by `postgres: postgres regression_plpython [local] CREATE PROCEDURE'. [03:04:05.211] Program terminated with signal SIGABRT, Aborted. [03:04:05.211] Sent by thr_kill() from pid 20146 and user 1003. [03:04:05.211] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:05.835] To enable execution of this file add [03:04:05.835] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:05.835] line to your configuration file "/.config/gdb/gdbinit". [03:04:05.835] To completely disable this security protection add [03:04:05.835] set auto-load safe-path / [03:04:05.835] line to your configuration file "/.config/gdb/gdbinit". [03:04:05.835] For more information about this security protection see the [03:04:05.835] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:05.835] info "(gdb)Auto-loading safe path" [03:04:05.835] [03:04:05.835] Thread 1 (LWP 101582): [03:04:05.835] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:05.835] No symbol table info available. [03:04:05.835] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:05.835] No symbol table info available. [03:04:05.835] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:05.835] No symbol table info available. [03:04:05.835] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x8433cae44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:05.835] No locals. [03:04:05.835] #4 0x00000008433d4063 in PLy_generate_spi_exceptions (mod=0x847d9dad0, base=0x84227d010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:05.835] dict = [03:04:05.835] found = true [03:04:05.835] sqlstate = [03:04:05.835] exc = 0x842335c10 [03:04:05.835] entry = 0x0 [03:04:05.835] i = 66 [03:04:05.835] #5 PLy_add_exceptions (plpy=0x8476d6c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:05.835] hash_ctl = {num_partitions = 35557379440, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x847670d40, match = 0x847670d40, keycopy = 0x847d84f80, alloc = 0x8476ce070, hcxt = 0x847314ac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:05.835] excmod = 0x847d9dad0 [03:04:05.835] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:05.835] m = 0x8476d6c50 [03:04:05.835] #7 0x0000000847120f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #8 0x000000084711f2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #9 0x000000084703fc29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #10 0x00000008470e9d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #11 0x00000008470ec795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #12 0x0000000846fed90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #13 0x0000000846fed705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #14 0x000000084711b284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #15 0x00000008470d3996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #16 0x000000084703fe70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #17 0x0000000846fec538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #18 0x0000000846fec467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #19 0x000000084711ab30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #20 0x000000084711bef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:05.835] No symbol table info available. [03:04:05.835] #21 0x00000008433d3476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:05.835] inited = false [03:04:05.835] #22 0x00000008433d33a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:05.835] funcoid = 57344 [03:04:05.835] tuple = [03:04:05.835] is_trigger = [03:04:05.835] procStruct = [03:04:05.835] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=57344) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:05.835] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\000\340", '\000' } [03:04:05.835] fcinfo = 0x82185f038 [03:04:05.835] result = [03:04:05.835] __error = [03:04:05.835] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=57344) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:05.835] flinfo = {fn_addr = 0x8433d3370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:04:05.835] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834a11c30 "test_proc1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2278, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834a11e28 "\npass\n", probin=0x0, prosqlbody=0x0, prokind=112 'p', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8349bd3b0, 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:04:05.835] set_items = [03:04:05.835] save_nestlevel = 0 [03:04:05.835] myself = {classId = 1255, objectId = 57344, objectSubId = 0} [03:04:05.835] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:04:05.835] values = {57344, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 112, 0, 0, 0, 0, 118, 117, 0, 0, 2278, 35242365872, 0, 0, 0, 0, 0, 35243737816, 0, 0, 0, 0} [03:04:05.835] replaces = {true } [03:04:05.835] procname = {data = "test_proc1", '\000' } [03:04:05.835] referenced = {classId = 1247, objectId = 2278, objectSubId = 0} [03:04:05.835] paramModes = [03:04:05.835] variadicType = [03:04:05.835] proacl = 0x0 [03:04:05.835] parameterCount = [03:04:05.835] allParamCount = 0 [03:04:05.835] allParams = 0x8349bd3c8 [03:04:05.835] detailmsg = [03:04:05.835] i = [03:04:05.835] rel = 0x834aa2298 [03:04:05.835] tupDesc = 0x834aa25b8 [03:04:05.835] oldtup = 0x0 [03:04:05.835] tup = 0x8349bd258 [03:04:05.835] is_update = [03:04:05.835] retval = 57344 [03:04:05.835] addrs = [03:04:05.835] trfid = [03:04:05.835] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834980500, stmt=, stmt@entry=0x834a11be0) at ../src/backend/commands/functioncmds.c:1257 [03:04:05.835] funcname = 0x834a11c30 "test_proc1" [03:04:05.835] parameterTypes = 0x8349bd3b0 [03:04:05.835] parameterTypes_list = 0x0 [03:04:05.835] allParameterTypes = 0x0 [03:04:05.835] parameterModes = 0x0 [03:04:05.835] parameterNames = 0x0 [03:04:05.835] inParameterNames_list = 0x0 [03:04:05.835] parameterDefaults = 0x0 [03:04:05.835] variadicArgType = 0 [03:04:05.835] requiredResultType = 0 [03:04:05.835] transformDefElem = [03:04:05.835] trftypes_list = [03:04:05.835] namespaceId = 2200 [03:04:05.835] aclresult = [03:04:05.835] as_clause = [03:04:05.835] language = [03:04:05.835] isWindowFunc = false [03:04:05.835] isStrict = false [03:04:05.835] security = false [03:04:05.835] isLeakProof = [03:04:05.835] volatility = 118 'v' [03:04:05.835] proconfig = 0x0 [03:04:05.835] procost = 100 [03:04:05.835] prorows = 0 [03:04:05.835] prosupport = 0 [03:04:05.835] parallel = 117 'u' [03:04:05.835] languageTuple = [03:04:05.835] languageStruct = [03:04:05.835] languageOid = 16456 [03:04:05.835] languageValidator = 16455 [03:04:05.835] prorettype = 2278 [03:04:05.835] returnsSet = false [03:04:05.835] trftypes = 0x0 [03:04:05.835] prosqlbody = 0x0 [03:04:05.835] probin_str = 0x0 [03:04:05.835] prosrc_str = 0x834a11e28 "\npass\n" [03:04:05.835] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834980500, pstmt=pstmt@entry=0x8349738f8, queryString=queryString@entry=0x834972100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:05.835] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35242116352, 35242705791, 10, 0, 549755813888}}} [03:04:05.835] _save_exception_stack = 0x82185f750 [03:04:05.835] _save_context_stack = 0x0 [03:04:05.835] _do_rethrow = false [03:04:05.835] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:05.835] parsetree = 0x834a11be0 [03:04:05.835] commandCollected = false [03:04:05.835] needCleanup = false [03:04:05.835] address = [03:04:05.835] isTopLevel = [03:04:05.835] isCompleteQuery = [03:04:05.835] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x8349738f8, queryString=0x834972100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x834a11f58, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:05.835] isAtomicContext = false [03:04:05.835] parsetree = 0x834a11be0 [03:04:05.835] readonly_flags = [03:04:05.835] pstate = 0x834980500 [03:04:05.835] isTopLevel = [03:04:05.835] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18cce, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834a11f58, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:05.835] No locals. [03:04:05.835] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a49100, pstmt=0x8349738f8, isTopLevel=, setHoldSnapshot=, dest=0x834a11f58, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:05.835] No locals. [03:04:05.835] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a49100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834a11f58, altdest=altdest@entry=0x834a11f58, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:05.835] pstmt = 0x8349738f8 [03:04:05.835] stmtlist_item__state = {l = 0x834a11f08, i = 0} [03:04:05.835] active_snapshot_set = false [03:04:05.835] stmtlist_item = 0x834a11f20 [03:04:05.835] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a49100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834a11f58, altdest=altdest@entry=0x834a11f58, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:05.835] _local_sigjmp_buf = {{_sjb = {9449757, 35242938624, 34922166088, 34922166320, 34922166096, 35243413504, 12106872, 12140200, 35242902399, 35242065000, 4294967984, 0}}} [03:04:05.835] _save_exception_stack = 0x82185f920 [03:04:05.835] _save_context_stack = 0x0 [03:04:05.835] _do_rethrow = false [03:04:05.835] saveTopTransactionResourceOwner = 0x834a5bf48 [03:04:05.835] saveTopTransactionContext = 0x834abd000 [03:04:05.835] saveActivePortal = 0x0 [03:04:05.835] saveResourceOwner = 0x834a5bf48 [03:04:05.835] savePortalContext = 0x0 [03:04:05.835] saveMemoryContext = 0x834abd000 [03:04:05.835] result = [03:04:05.835] nprocessed = [03:04:05.835] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;") at ../src/backend/tcop/postgres.c:1284 [03:04:05.835] cmdtaglen = 16 [03:04:05.835] snapshot_set = [03:04:05.835] per_parsetree_context = 0x0 [03:04:05.835] plantree_list = [03:04:05.835] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:05.835] format = 0 [03:04:05.835] parsetree = 0x8349735a0 [03:04:05.835] commandTag = [03:04:05.835] cmdtagname = [03:04:05.835] querytree_list = [03:04:05.835] portal = 0x834a49100 [03:04:05.835] receiver = 0x834a11f58 [03:04:05.835] parsetree_item__state = {l = 0x8349738a8, i = 0} [03:04:05.835] msec_str = "\000\000\000\000\b", '\000' , "\330\036\331f\000\000\000\000Y\214$i\247\347\031\020" [03:04:05.835] dest = DestRemote [03:04:05.835] was_logged = [03:04:05.835] oldcontext = 0x834abd000 [03:04:05.835] parsetree_list = 0x8349738a8 [03:04:05.835] use_implicit_block = false [03:04:05.835] parsetree_item = 0x8349738c0 [03:04:05.835] save_log_statement_stats = [03:04:05.835] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:05.835] query_string = 0x834972100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;" [03:04:05.835] input_message = {data = 0x834972100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", len = 65, maxlen = 1024, cursor = 65} [03:04:05.835] firstchar = [03:04:05.835] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:05.835] send_ready_for_query = false [03:04:05.835] idle_in_transaction_timeout_enabled = false [03:04:05.835] idle_session_timeout_enabled = false [03:04:05.835] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:05.835] bsdata = [03:04:05.835] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:05.835] pid = [03:04:05.835] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:05.835] startup_data = {canAcceptConnections = CAC_OK} [03:04:05.835] bn = 0x834973f00 [03:04:05.835] pid = [03:04:05.835] __error = [03:04:05.835] save_errno = [03:04:05.835] __error = [03:04:05.835] __error = [03:04:05.835] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:05.835] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:05.835] i = 0 [03:04:05.835] now = [03:04:05.835] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:05.835] last_touch_time = 1725505226 [03:04:05.835] last_lockfile_recheck_time = 1725505226 [03:04:05.835] nevents = 1 [03:04:05.835] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:05.835] userDoption = [03:04:05.835] listen_addr_saved = [03:04:05.835] output_config_variable = [03:04:05.835] opt = [03:04:05.835] status = [03:04:05.835] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:05.835] do_check_root = [03:04:05.847] [03:04:05.847] [03:04:05.847] [03:04:05.910] dumping /tmp/cores/postgres.20294.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:06.029] [New LWP 101710] [03:04:06.100] Core was generated by `postgres: postgres regression_ltree_plpython [local] CREATE FUNCTION'. [03:04:06.100] Program terminated with signal SIGABRT, Aborted. [03:04:06.100] Sent by thr_kill() from pid 20294 and user 1003. [03:04:06.100] #0 0x000000082a2be41a in thr_kill () from /lib/libc.so.7 [03:04:06.741] To enable execution of this file add [03:04:06.741] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:06.741] line to your configuration file "/.config/gdb/gdbinit". [03:04:06.741] To completely disable this security protection add [03:04:06.741] set auto-load safe-path / [03:04:06.741] line to your configuration file "/.config/gdb/gdbinit". [03:04:06.741] For more information about this security protection see the [03:04:06.741] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:06.741] info "(gdb)Auto-loading safe path" [03:04:06.741] [03:04:06.741] Thread 1 (LWP 101710): [03:04:06.741] #0 0x000000082a2be41a in thr_kill () from /lib/libc.so.7 [03:04:06.741] No symbol table info available. [03:04:06.741] #1 0x000000082a237e64 in raise () from /lib/libc.so.7 [03:04:06.741] No symbol table info available. [03:04:06.741] #2 0x000000082a2e86f9 in abort () from /lib/libc.so.7 [03:04:06.741] No symbol table info available. [03:04:06.741] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x835575e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:06.741] No locals. [03:04:06.741] #4 0x000000083557f063 in PLy_generate_spi_exceptions (mod=0x845fd9ad0, base=0x835010010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:06.741] dict = [03:04:06.741] found = true [03:04:06.741] sqlstate = [03:04:06.741] exc = 0x835068c10 [03:04:06.741] entry = 0x0 [03:04:06.741] i = 66 [03:04:06.741] #5 PLy_add_exceptions (plpy=0x843ac6c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:06.741] hash_ctl = {num_partitions = 35494399344, ssize = 7, dsize = 2, max_dsize = 34916189488, keysize = 4, entrysize = 16, hash = 0x843a60d40, match = 0x843a60d40, keycopy = 0x845fc0fc0, alloc = 0x843abe0b0, hcxt = 0x8435ddac0 <_PyRuntime+166184>, hctl = 0x8212ac580} [03:04:06.741] excmod = 0x845fd9ad0 [03:04:06.741] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:06.741] m = 0x843ac6c50 [03:04:06.741] #7 0x00000008433e9f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #8 0x00000008433e82e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #9 0x0000000843308c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #10 0x00000008433b2d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #11 0x00000008433b5795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #12 0x00000008432b690f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #13 0x00000008432b6705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #14 0x00000008433e4284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #15 0x000000084339c996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #16 0x0000000843308e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #17 0x00000008432b5538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #18 0x00000008432b5467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #19 0x00000008433e3b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #20 0x00000008433e4ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:06.741] No symbol table info available. [03:04:06.741] #21 0x000000083557e476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:06.741] inited = false [03:04:06.741] #22 0x000000083557e3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:06.741] funcoid = 16585 [03:04:06.741] tuple = [03:04:06.741] is_trigger = [03:04:06.741] procStruct = [03:04:06.741] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x8212acd08, collation=0, arg1=16585) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:06.741] fcinfodata = {fcinfo = {flinfo = 0x8212acd08, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x8212acd58}, fcinfo_data = "\b\315*!\b", '\000' , "\001\000\311@", '\000' } [03:04:06.741] fcinfo = 0x8212acd38 [03:04:06.741] result = [03:04:06.741] __error = [03:04:06.741] #24 OidFunctionCall1Coll (functionId=functionId@entry=16580, collation=collation@entry=0, arg1=arg1@entry=16585) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:06.741] flinfo = {fn_addr = 0x83557e370 , fn_oid = 16580, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832c7a400, fn_expr = 0x0} [03:04:06.741] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x832dbde20 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16581, languageValidator=16580, prosrc=0x834f29d40 "\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=0x832cb7c18, allParameterTypes=0, parameterModes=0, parameterNames=35211934792, parameterDefaults=0x0, trftypes=35211934976, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [03:04:06.741] set_items = [03:04:06.741] save_nestlevel = 0 [03:04:06.741] myself = {classId = 1255, objectId = 16585, objectSubId = 0} [03:04:06.741] nulls = {false , true, true, false, true, false, false, true, true, true, true} [03:04:06.741] values = {16585, 34916191632, 2200, 10, 16581, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35211934744, 0, 0, 35211934792, 0, 35211934976, 35211934840, 0, 0, 0, 0} [03:04:06.741] replaces = {true } [03:04:06.741] procname = {data = "test1", '\000' } [03:04:06.741] referenced = {classId = 3576, objectId = 16584, objectSubId = 0} [03:04:06.741] paramModes = [03:04:06.741] variadicType = [03:04:06.741] proacl = 0x0 [03:04:06.741] parameterCount = [03:04:06.741] allParamCount = 1 [03:04:06.741] allParams = 0x832cb7c30 [03:04:06.741] detailmsg = [03:04:06.741] i = [03:04:06.741] rel = 0x832d985c8 [03:04:06.741] tupDesc = 0x832d987d8 [03:04:06.741] oldtup = 0x0 [03:04:06.741] tup = 0x832e02838 [03:04:06.741] is_update = [03:04:06.741] retval = 16585 [03:04:06.741] addrs = [03:04:06.741] trfid = [03:04:06.741] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x832c7a500, stmt=, stmt@entry=0x832dbddd0) at ../src/backend/commands/functioncmds.c:1257 [03:04:06.741] funcname = 0x832dbde20 "test1" [03:04:06.741] parameterTypes = 0x832cb7c18 [03:04:06.741] parameterTypes_list = 0x832e02ba8 [03:04:06.741] allParameterTypes = 0x0 [03:04:06.741] parameterModes = 0x0 [03:04:06.741] parameterNames = 0x832cb7c48 [03:04:06.741] inParameterNames_list = 0x832cb7bc8 [03:04:06.741] parameterDefaults = 0x0 [03:04:06.741] variadicArgType = 0 [03:04:06.741] requiredResultType = 0 [03:04:06.741] transformDefElem = [03:04:06.741] trftypes_list = [03:04:06.741] namespaceId = 2200 [03:04:06.741] aclresult = [03:04:06.741] as_clause = [03:04:06.741] language = [03:04:06.741] isWindowFunc = false [03:04:06.741] isStrict = false [03:04:06.741] security = false [03:04:06.741] isLeakProof = [03:04:06.741] volatility = 118 'v' [03:04:06.741] proconfig = 0x0 [03:04:06.741] procost = 100 [03:04:06.741] prorows = 0 [03:04:06.741] prosupport = 0 [03:04:06.741] parallel = 117 'u' [03:04:06.741] languageTuple = [03:04:06.741] languageStruct = [03:04:06.741] languageOid = 16581 [03:04:06.741] languageValidator = 16580 [03:04:06.741] prorettype = 23 [03:04:06.741] returnsSet = false [03:04:06.741] trftypes = 0x832cb7d00 [03:04:06.741] prosqlbody = 0x0 [03:04:06.741] probin_str = 0x0 [03:04:06.741] prosrc_str = 0x834f29d40 "\nplpy.info(repr(val))\nreturn len(val)\n" [03:04:06.741] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x832c7a500, pstmt=pstmt@entry=0x832dbc6a0, queryString=queryString@entry=0x832c6c100 "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=0x8212ad550) at ../src/backend/tcop/utility.c:1655 [03:04:06.741] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34916192632, 34916193008, 34916192640, 12140200, 0, 35211683072, 35212952447, 10, 0, 549755813888}}} [03:04:06.741] _save_exception_stack = 0x8212ad450 [03:04:06.741] _save_context_stack = 0x0 [03:04:06.741] _do_rethrow = false [03:04:06.741] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:06.741] parsetree = 0x832dbddd0 [03:04:06.741] commandCollected = false [03:04:06.741] needCleanup = false [03:04:06.741] address = [03:04:06.741] isTopLevel = [03:04:06.741] isCompleteQuery = [03:04:06.741] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x832dbc6a0, queryString=0x832c6c100 "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=0x834f29ea0, qc=0x8212ad550) at ../src/backend/tcop/utility.c:1030 [03:04:06.741] isAtomicContext = false [03:04:06.741] parsetree = 0x832dbddd0 [03:04:06.741] readonly_flags = [03:04:06.741] pstate = 0x832c7a500 [03:04:06.741] isTopLevel = [03:04:06.741] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18d4e, queryString=0x6 , readOnlyTree=, context=707519482, params=0x0, queryEnv=0x0, dest=0x834f29ea0, qc=0x8212ad550) at ../src/backend/tcop/utility.c:523 [03:04:06.741] No locals. [03:04:06.741] #30 0x0000000000904243 in PortalRunUtility (portal=0x832d41100, pstmt=0x832dbc6a0, isTopLevel=, setHoldSnapshot=, dest=0x834f29ea0, qc=0x8212ad550) at ../src/backend/tcop/pquery.c:1158 [03:04:06.741] No locals. [03:04:06.741] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x832d41100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834f29ea0, altdest=altdest@entry=0x834f29ea0, qc=0x8212ad550) at ../src/backend/tcop/pquery.c:1323 [03:04:06.741] pstmt = 0x832dbc6a0 [03:04:06.741] stmtlist_item__state = {l = 0x834f29e50, i = 0} [03:04:06.741] active_snapshot_set = false [03:04:06.741] stmtlist_item = 0x834f29e68 [03:04:06.741] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x832d41100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834f29ea0, altdest=altdest@entry=0x834f29ea0, qc=0x8212ad550) at ../src/backend/tcop/pquery.c:791 [03:04:06.741] _local_sigjmp_buf = {{_sjb = {9449757, 35212497152, 34916193352, 34916193584, 34916193360, 35212513280, 12106872, 12140200, 35212493695, 35213003280, 4294967984, 0}}} [03:04:06.741] _save_exception_stack = 0x8212ad620 [03:04:06.741] _save_context_stack = 0x0 [03:04:06.741] _do_rethrow = false [03:04:06.741] saveTopTransactionResourceOwner = 0x832d4da18 [03:04:06.741] saveTopTransactionContext = 0x832d45000 [03:04:06.741] saveActivePortal = 0x0 [03:04:06.741] saveResourceOwner = 0x832d4da18 [03:04:06.741] savePortalContext = 0x0 [03:04:06.741] saveMemoryContext = 0x832d45000 [03:04:06.741] result = [03:04:06.741] nprocessed = [03:04:06.741] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x832c6c100 "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:04:06.741] cmdtaglen = 15 [03:04:06.741] snapshot_set = [03:04:06.741] per_parsetree_context = 0x0 [03:04:06.741] plantree_list = [03:04:06.741] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:06.741] format = 0 [03:04:06.741] parsetree = 0x832c6dea8 [03:04:06.741] commandTag = [03:04:06.741] cmdtagname = [03:04:06.741] querytree_list = [03:04:06.741] portal = 0x832d41100 [03:04:06.741] receiver = 0x834f29ea0 [03:04:06.741] parsetree_item__state = {l = 0x832dbc650, i = 0} [03:04:06.741] msec_str = "\000\000\000\000\b", '\000' , "\332\036\331f\000\000\000\000\341\371\a\321\376", [03:04:06.741] dest = DestRemote [03:04:06.741] was_logged = [03:04:06.741] oldcontext = 0x832d45000 [03:04:06.741] parsetree_list = 0x832dbc650 [03:04:06.741] use_implicit_block = false [03:04:06.741] parsetree_item = 0x832dbc668 [03:04:06.741] save_log_statement_stats = [03:04:06.741] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:06.741] query_string = 0x832c6c100 "CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;" [03:04:06.741] input_message = {data = 0x832c6c100 "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:04:06.741] firstchar = [03:04:06.741] local_sigjmp_buf = {{_sjb = {9433670, 34916193824, 34916193784, 34916194368, 12148936, 1, 8192, 8388608, 34916139903, 0, 0, 1}}} [03:04:06.741] send_ready_for_query = false [03:04:06.741] idle_in_transaction_timeout_enabled = false [03:04:06.741] idle_session_timeout_enabled = false [03:04:06.741] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:06.741] bsdata = [03:04:06.741] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x8212ae364 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8212ae2a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:06.741] pid = [03:04:06.741] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8212ae2a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:06.741] startup_data = {canAcceptConnections = CAC_OK} [03:04:06.741] bn = 0x832c78088 [03:04:06.741] pid = [03:04:06.741] __error = [03:04:06.741] save_errno = [03:04:06.741] __error = [03:04:06.741] __error = [03:04:06.741] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:06.741] 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\337\3062\b", '\000' , "\343*!\b\000\000\000h5\357)\b\000\000\000\v\000\000\000\000\000\000\000^\277\357)\b", '\000' , "@\343*!\b\000\000\000\304D\205\000\000\000\000\000P\343*!\b", '\000' }, salen = 16}} [03:04:06.741] i = 0 [03:04:06.741] now = [03:04:06.741] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 707144834, events = 8, fd = 0, user_data = 0x8212ae250}, {pos = 852256216, events = 8, fd = 556458208, user_data = 0x0}, {pos = 0, events = 0, fd = 2103570993, user_data = 0x272163d6030a}, {pos = 706312096, events = 8, fd = 706383224, user_data = 0x8212add68}, {pos = 556457440, events = 8, fd = 556457320, user_data = 0x272163d6030a}, {pos = 706290568, events = 8, fd = 706383224, user_data = 0x8212add98}, {pos = 556457488, events = 8, fd = 556457368, user_data = 0x82a1a1194}, {pos = 565507080, events = 8, fd = 706351508, user_data = 0x8212ade00}, {pos = 1674949690, events = 10017, fd = 708173872, user_data = 0x1}, {pos = 556457520, events = 8, fd = 1674969866, user_data = 0x82a18a858}, {pos = 706383224, events = 8, fd = 556457480, user_data = 0x8212ade80}, {pos = 556457480, events = 8, fd = 706346252, user_data = 0x821b4f408}, {pos = 706346252, events = 8, fd = 556457584, user_data = 0x272163d5b43a}, {pos = 556457624, events = 8, fd = 556458072, user_data = 0x8212ade80}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1233052390, fd = 565530680, user_data = 0x800000001}, {pos = 565507080, events = 8, fd = 706290568, user_data = 0x821b54288}, {pos = 706259032, events = 8, fd = 565507080, user_data = 0x8212adf08}, {pos = 556458184, events = 8, fd = 556457712, user_data = 0x272163d5fca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565530680, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556458440, user_data = 0x21b4f408}, {pos = 556458256, events = 8, fd = 556457856, user_data = 0x1}, {pos = 556458184, events = 8, fd = 32, user_data = 0x8212adf70}, {pos = 1674967667, events = 10017, fd = 556458128, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821b55038}, {pos = 1, events = 8, fd = 565507080, user_data = 0x82a18a858}, {pos = 556458440, events = 8, fd = 556458256, user_data = 0x8212adf80}, {pos = 0, events = 0, fd = 565477384, user_data = 0x20}, {pos = 556458240, events = 8, fd = 1674943207, user_data = 0x821b48008}, {pos = 565478408, events = 8, fd = 565479432, user_data = 0x821b48c08}, {pos = 565493768, events = 8, fd = 565494792, user_data = 0x821b4c808}, {pos = 565496840, events = 8, fd = 565497864, user_data = 0x821b4d408}, {pos = 565499912, events = 8, fd = 565500936, user_data = 0x821b4e008}, {pos = 565502984, events = 8, fd = 565504008, user_data = 0x821b4ec08}, {pos = 565506056, events = 8, fd = 565507080, user_data = 0x821b4f808}, {pos = 565509128, events = 8, fd = 565510152, user_data = 0x821b50408}, {pos = 565512200, events = 8, fd = 565513224, user_data = 0x821b51008}, {pos = 565515272, events = 8, fd = 565516296, user_data = 0x821b51c08}, {pos = 565522440, events = 8, fd = 565523464, user_data = 0x821b53808}, {pos = 565525512, events = 8, fd = 565477384, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821b55038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556458440, events = 8, fd = 556457856, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565530680, user_data = 0x1}, {pos = 565477384, events = 8, fd = 313, user_data = 0x8212ae1b0}, {pos = 1674941935, events = 10017, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565530680, user_data = 0x1}, {pos = 565507080, events = 8, fd = 851820544, user_data = 0x1}, {pos = 851820948, events = 8, fd = 0, user_data = 0x8212ae180}, {pos = 703575404, events = 8, fd = 1, user_data = 0x832c5c000}, {pos = 556458416, events = 8, fd = 703571714, user_data = 0x82a2bc170 }, {pos = 12073968, events = 0, fd = 707510640, user_data = 0x821b4f408}, {pos = 556458640, events = 8, fd = 1674941406, user_data = 0x832c7a800}, {pos = 1, events = 0, fd = 1674941022, user_data = 0x821b48008}, {pos = 556458424, events = 8, fd = 556458640, user_data = 0x1c20}, {pos = 851894016, events = 8, fd = 1675020688, user_data = 0x0}, {pos = 556401535, events = 8, fd = 7886759, user_data = 0x8212ae240}, {pos = 703534096, events = 8, fd = 708173872, user_data = 0x82a360310}, {pos = 0, events = 0, fd = 8128, user_data = 0x8212ae270}, {pos = 703576989, events = 8, fd = 851820544, user_data = 0x4f31}, {pos = 556458704, events = 8, fd = 703543546, user_data = 0x0}, {pos = 0, events = 0, fd = 2103570993, user_data = 0x0}} [03:04:06.741] last_touch_time = 1725505242 [03:04:06.741] last_lockfile_recheck_time = 1725505242 [03:04:06.741] nevents = 1 [03:04:06.741] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x8212ae8b0) at ../src/backend/postmaster/postmaster.c:1346 [03:04:06.741] userDoption = [03:04:06.741] listen_addr_saved = [03:04:06.741] output_config_variable = [03:04:06.741] opt = [03:04:06.741] status = [03:04:06.741] #40 0x000000000079248c in main (argc=8, argv=0x8212ae8b0) at ../src/backend/main/main.c:197 [03:04:06.741] do_check_root = [03:04:06.754] [03:04:06.754] [03:04:06.754] [03:04:06.824] dumping /tmp/cores/postgres.20335.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:06.945] [New LWP 100166] [03:04:07.018] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:04:07.018] Program terminated with signal SIGABRT, Aborted. [03:04:07.018] Sent by thr_kill() from pid 20335 and user 1003. [03:04:07.018] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:07.657] To enable execution of this file add [03:04:07.657] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:07.657] line to your configuration file "/.config/gdb/gdbinit". [03:04:07.657] To completely disable this security protection add [03:04:07.657] set auto-load safe-path / [03:04:07.657] line to your configuration file "/.config/gdb/gdbinit". [03:04:07.657] For more information about this security protection see the [03:04:07.657] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:07.657] info "(gdb)Auto-loading safe path" [03:04:07.657] [03:04:07.657] Thread 1 (LWP 100166): [03:04:07.657] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:07.657] No symbol table info available. [03:04:07.657] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:07.657] No symbol table info available. [03:04:07.657] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:07.657] No symbol table info available. [03:04:07.657] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x84576ee44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:07.657] No locals. [03:04:07.657] #4 0x0000000845778063 in PLy_generate_spi_exceptions (mod=0x8487adad0, base=0x84284d010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:07.657] dict = [03:04:07.657] found = true [03:04:07.657] sqlstate = [03:04:07.657] exc = 0x84285dc10 [03:04:07.657] entry = 0x0 [03:04:07.657] i = 66 [03:04:07.657] #5 PLy_add_exceptions (plpy=0x846f2ac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:07.657] hash_ctl = {num_partitions = 35549334896, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x846ec4d40, match = 0x846ec4d40, keycopy = 0x848795040, alloc = 0x846f22130, hcxt = 0x8485ceac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:07.657] excmod = 0x8487adad0 [03:04:07.657] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:07.657] m = 0x846f2ac50 [03:04:07.657] #7 0x00000008483daf70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #8 0x00000008483d92e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #9 0x00000008482f9c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #10 0x00000008483a3d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #11 0x00000008483a6795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #12 0x00000008482a790f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #13 0x00000008482a7705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #14 0x00000008483d5284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #15 0x000000084838d996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #16 0x00000008482f9e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #17 0x00000008482a6538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #18 0x00000008482a6467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #19 0x00000008483d4b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #20 0x00000008483d5ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:07.657] No symbol table info available. [03:04:07.657] #21 0x0000000845777476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:07.657] inited = false [03:04:07.657] #22 0x00000008457773a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:07.657] funcoid = 65544 [03:04:07.657] tuple = [03:04:07.657] is_trigger = [03:04:07.657] procStruct = [03:04:07.657] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=65544) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:07.657] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\b\000\001", '\000' } [03:04:07.657] fcinfo = 0x82185f038 [03:04:07.657] result = [03:04:07.657] __error = [03:04:07.657] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=65544) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:07.657] flinfo = {fn_addr = 0x845777370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834b0b800, fn_expr = 0x0} [03:04:07.657] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834a72360 "test_table_record_as", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=65538, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834a72b18 "\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': second, 'additionalfield': 'must not cause trouble' }\nelif typ == 'tuple':\n\treturn ( first, second )\nelif typ == 'list':"..., probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8349bd438, allParameterTypes=0, parameterModes=0, parameterNames=35243735920, 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:04:07.657] set_items = [03:04:07.657] save_nestlevel = 0 [03:04:07.657] myself = {classId = 1255, objectId = 65544, objectSubId = 0} [03:04:07.657] nulls = {false , true, true, false, true, true, false, true, true, true, true} [03:04:07.657] values = {65544, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 4, 0, 65538, 35242366008, 0, 0, 35243735920, 0, 0, 35243740216, 0, 0, 0, 0} [03:04:07.657] replaces = {true } [03:04:07.657] procname = {data = "test_table_record_as", '\000' } [03:04:07.657] referenced = {classId = 1247, objectId = 16, objectSubId = 0} [03:04:07.657] paramModes = [03:04:07.657] variadicType = [03:04:07.657] proacl = 0x0 [03:04:07.657] parameterCount = [03:04:07.657] allParamCount = 4 [03:04:07.657] allParams = 0x8349bd450 [03:04:07.657] detailmsg = [03:04:07.657] i = [03:04:07.657] rel = 0x834aa2a58 [03:04:07.657] tupDesc = 0x834aa2d78 [03:04:07.657] oldtup = 0x0 [03:04:07.657] tup = 0x8349cc0c8 [03:04:07.657] is_update = [03:04:07.657] retval = 65544 [03:04:07.657] addrs = [03:04:07.657] trfid = [03:04:07.657] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834b0b900, stmt=, stmt@entry=0x834a72310) at ../src/backend/commands/functioncmds.c:1257 [03:04:07.657] funcname = 0x834a72360 "test_table_record_as" [03:04:07.657] parameterTypes = 0x8349bd438 [03:04:07.657] parameterTypes_list = 0x834b0ba10 [03:04:07.657] allParameterTypes = 0x0 [03:04:07.657] parameterModes = 0x0 [03:04:07.657] parameterNames = 0x834b0bb70 [03:04:07.657] inParameterNames_list = 0x834b0cfa8 [03:04:07.657] parameterDefaults = 0x0 [03:04:07.657] variadicArgType = 0 [03:04:07.657] requiredResultType = 0 [03:04:07.657] transformDefElem = [03:04:07.657] trftypes_list = [03:04:07.657] namespaceId = 2200 [03:04:07.657] aclresult = [03:04:07.657] as_clause = [03:04:07.657] language = [03:04:07.657] isWindowFunc = false [03:04:07.657] isStrict = false [03:04:07.657] security = false [03:04:07.657] isLeakProof = [03:04:07.657] volatility = 118 'v' [03:04:07.657] proconfig = 0x0 [03:04:07.657] procost = 100 [03:04:07.657] prorows = 0 [03:04:07.657] prosupport = 0 [03:04:07.657] parallel = 117 'u' [03:04:07.657] languageTuple = [03:04:07.657] languageStruct = [03:04:07.657] languageOid = 16456 [03:04:07.657] languageValidator = 16455 [03:04:07.657] prorettype = 65538 [03:04:07.657] returnsSet = false [03:04:07.657] trftypes = 0x0 [03:04:07.657] prosqlbody = 0x0 [03:04:07.657] probin_str = 0x0 [03:04:07.657] prosrc_str = 0x834a72b18 "\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': second, 'additionalfield': 'must not cause trouble' }\nelif typ == 'tuple':\n\treturn ( first, second )\nelif typ == 'list':"... [03:04:07.657] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834b0b900, pstmt=pstmt@entry=0x834a12c68, queryString=queryString@entry=0x834972100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:07.657] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35243735296, 35243099007, 10, 0, 549755813888}}} [03:04:07.657] _save_exception_stack = 0x82185f750 [03:04:07.657] _save_context_stack = 0x0 [03:04:07.657] _do_rethrow = false [03:04:07.657] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:07.657] parsetree = 0x834a72310 [03:04:07.657] commandCollected = false [03:04:07.657] needCleanup = false [03:04:07.657] address = [03:04:07.657] isTopLevel = [03:04:07.657] isCompleteQuery = [03:04:07.657] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834a12c68, queryString=0x834972100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x834a72f38, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:07.657] isAtomicContext = false [03:04:07.657] parsetree = 0x834a72310 [03:04:07.657] readonly_flags = [03:04:07.657] pstate = 0x834b0b900 [03:04:07.657] isTopLevel = [03:04:07.657] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18746, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834a72f38, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:07.657] No locals. [03:04:07.657] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a49100, pstmt=0x834a12c68, isTopLevel=, setHoldSnapshot=, dest=0x834a72f38, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:07.657] No locals. [03:04:07.657] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a49100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834a72f38, altdest=altdest@entry=0x834a72f38, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:07.657] pstmt = 0x834a12c68 [03:04:07.657] stmtlist_item__state = {l = 0x834a72ee8, i = 0} [03:04:07.657] active_snapshot_set = false [03:04:07.657] stmtlist_item = 0x834a72f00 [03:04:07.657] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a49100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834a72f38, altdest=altdest@entry=0x834a72f38, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:07.657] _local_sigjmp_buf = {{_sjb = {9449757, 35242938624, 34922166088, 34922166320, 34922166096, 35243413504, 12106872, 12140200, 35242902399, 35243098936, 4294967984, 0}}} [03:04:07.657] _save_exception_stack = 0x82185f920 [03:04:07.657] _save_context_stack = 0x0 [03:04:07.657] _do_rethrow = false [03:04:07.657] saveTopTransactionResourceOwner = 0x834a5b9d8 [03:04:07.657] saveTopTransactionContext = 0x834abd000 [03:04:07.657] saveActivePortal = 0x0 [03:04:07.657] saveResourceOwner = 0x834a5b9d8 [03:04:07.657] savePortalContext = 0x0 [03:04:07.657] saveMemoryContext = 0x834abd000 [03:04:07.657] result = [03:04:07.657] nprocessed = [03:04:07.657] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"...) at ../src/backend/tcop/postgres.c:1284 [03:04:07.657] cmdtaglen = 15 [03:04:07.657] snapshot_set = [03:04:07.657] per_parsetree_context = 0x0 [03:04:07.657] plantree_list = [03:04:07.657] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:07.657] format = 0 [03:04:07.657] parsetree = 0x834a12060 [03:04:07.657] commandTag = [03:04:07.657] cmdtagname = [03:04:07.657] querytree_list = [03:04:07.657] portal = 0x834a49100 [03:04:07.657] receiver = 0x834a72f38 [03:04:07.657] parsetree_item__state = {l = 0x834a12c18, i = 0} [03:04:07.657] msec_str = "\000\000\000\000\b", '\000' , "\333\036\331f\000\000\000\000Y%5/\254\265\247\221" [03:04:07.657] dest = DestRemote [03:04:07.657] was_logged = [03:04:07.657] oldcontext = 0x834abd000 [03:04:07.657] parsetree_list = 0x834a12c18 [03:04:07.657] use_implicit_block = false [03:04:07.657] parsetree_item = 0x834a12c30 [03:04:07.657] save_log_statement_stats = [03:04:07.657] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:07.657] query_string = 0x834972100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"... [03:04:07.657] input_message = {data = 0x834972100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"..., len = 489, maxlen = 1024, cursor = 489} [03:04:07.657] firstchar = [03:04:07.657] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:07.657] send_ready_for_query = false [03:04:07.657] idle_in_transaction_timeout_enabled = false [03:04:07.657] idle_session_timeout_enabled = false [03:04:07.657] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:07.657] bsdata = [03:04:07.657] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:07.657] pid = [03:04:07.657] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:07.657] startup_data = {canAcceptConnections = CAC_OK} [03:04:07.657] bn = 0x834973f00 [03:04:07.657] pid = [03:04:07.657] __error = [03:04:07.657] save_errno = [03:04:07.657] __error = [03:04:07.657] __error = [03:04:07.657] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:07.657] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:07.657] i = 0 [03:04:07.657] now = [03:04:07.657] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:07.657] last_touch_time = 1725505226 [03:04:07.657] last_lockfile_recheck_time = 1725505226 [03:04:07.657] nevents = 1 [03:04:07.657] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:07.657] userDoption = [03:04:07.657] listen_addr_saved = [03:04:07.657] output_config_variable = [03:04:07.657] opt = [03:04:07.657] status = [03:04:07.657] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:07.657] do_check_root = [03:04:07.671] [03:04:07.671] [03:04:07.671] [03:04:07.738] dumping /tmp/cores/postgres.20641.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:07.861] [New LWP 101607] [03:04:07.931] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:04:07.931] Program terminated with signal SIGABRT, Aborted. [03:04:07.931] Sent by thr_kill() from pid 20641 and user 1003. [03:04:07.931] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:08.555] To enable execution of this file add [03:04:08.555] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:08.555] line to your configuration file "/.config/gdb/gdbinit". [03:04:08.555] To completely disable this security protection add [03:04:08.555] set auto-load safe-path / [03:04:08.555] line to your configuration file "/.config/gdb/gdbinit". [03:04:08.555] For more information about this security protection see the [03:04:08.555] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:08.555] info "(gdb)Auto-loading safe path" [03:04:08.555] [03:04:08.555] Thread 1 (LWP 101607): [03:04:08.555] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:08.555] No symbol table info available. [03:04:08.555] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:08.555] No symbol table info available. [03:04:08.555] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:08.555] No symbol table info available. [03:04:08.555] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x844588e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:08.555] No locals. [03:04:08.555] #4 0x0000000844592063 in PLy_generate_spi_exceptions (mod=0x84b045ad0, base=0x843600010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:08.555] dict = [03:04:08.555] found = true [03:04:08.555] sqlstate = [03:04:08.555] exc = 0x8436b8c10 [03:04:08.555] entry = 0x0 [03:04:08.555] i = 66 [03:04:08.555] #5 PLy_add_exceptions (plpy=0x8497f6c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:08.555] hash_ctl = {num_partitions = 35592113520, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x849790d40, match = 0x849790d40, keycopy = 0x84b02d000, alloc = 0x8497ee0f0, hcxt = 0x84868dac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:08.555] excmod = 0x84b045ad0 [03:04:08.555] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:08.555] m = 0x8497f6c50 [03:04:08.555] #7 0x0000000848499f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #8 0x00000008484982e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #9 0x00000008483b8c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #10 0x0000000848462d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #11 0x0000000848465795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #12 0x000000084836690f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #13 0x0000000848366705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #14 0x0000000848494284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #15 0x000000084844c996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #16 0x00000008483b8e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #17 0x0000000848365538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #18 0x0000000848365467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #19 0x0000000848493b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #20 0x0000000848494ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:08.555] No symbol table info available. [03:04:08.555] #21 0x0000000844591476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:08.555] inited = false [03:04:08.555] #22 0x00000008445913a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:08.555] funcoid = 73728 [03:04:08.555] tuple = [03:04:08.555] is_trigger = [03:04:08.555] procStruct = [03:04:08.555] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=73728) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:08.555] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\000 \001", '\000' } [03:04:08.555] fcinfo = 0x82185f038 [03:04:08.555] result = [03:04:08.555] __error = [03:04:08.555] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=73728) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:08.555] flinfo = {fn_addr = 0x844591370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:04:08.555] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834a12078 "python_syntax_error", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834a12258 ".syntaxerror", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8349bd3b0, 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:04:08.555] set_items = [03:04:08.555] save_nestlevel = 0 [03:04:08.555] myself = {classId = 1255, objectId = 73728, objectSubId = 0} [03:04:08.555] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:04:08.555] values = {73728, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35242365872, 0, 0, 0, 0, 0, 35243737816, 0, 0, 0, 0} [03:04:08.555] replaces = {true } [03:04:08.555] procname = {data = "python_syntax_error", '\000' } [03:04:08.555] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [03:04:08.555] paramModes = [03:04:08.555] variadicType = [03:04:08.555] proacl = 0x0 [03:04:08.555] parameterCount = [03:04:08.555] allParamCount = 0 [03:04:08.555] allParams = 0x8349bd3c8 [03:04:08.555] detailmsg = [03:04:08.555] i = [03:04:08.555] rel = 0x834aa2418 [03:04:08.555] tupDesc = 0x834aa2738 [03:04:08.555] oldtup = 0x0 [03:04:08.555] tup = 0x8349bd258 [03:04:08.555] is_update = [03:04:08.555] retval = 73728 [03:04:08.555] addrs = [03:04:08.555] trfid = [03:04:08.555] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834980500, stmt=, stmt@entry=0x834a12028) at ../src/backend/commands/functioncmds.c:1257 [03:04:08.555] funcname = 0x834a12078 "python_syntax_error" [03:04:08.555] parameterTypes = 0x8349bd3b0 [03:04:08.555] parameterTypes_list = 0x0 [03:04:08.555] allParameterTypes = 0x0 [03:04:08.555] parameterModes = 0x0 [03:04:08.555] parameterNames = 0x0 [03:04:08.555] inParameterNames_list = 0x0 [03:04:08.555] parameterDefaults = 0x0 [03:04:08.555] variadicArgType = 0 [03:04:08.555] requiredResultType = 0 [03:04:08.555] transformDefElem = [03:04:08.555] trftypes_list = [03:04:08.555] namespaceId = 2200 [03:04:08.555] aclresult = [03:04:08.555] as_clause = [03:04:08.555] language = [03:04:08.555] isWindowFunc = false [03:04:08.555] isStrict = false [03:04:08.555] security = false [03:04:08.555] isLeakProof = [03:04:08.555] volatility = 118 'v' [03:04:08.555] proconfig = 0x0 [03:04:08.555] procost = 100 [03:04:08.555] prorows = 0 [03:04:08.555] prosupport = 0 [03:04:08.555] parallel = 117 'u' [03:04:08.555] languageTuple = [03:04:08.555] languageStruct = [03:04:08.555] languageOid = 16456 [03:04:08.555] languageValidator = 16455 [03:04:08.555] prorettype = 25 [03:04:08.555] returnsSet = false [03:04:08.555] trftypes = 0x0 [03:04:08.555] prosqlbody = 0x0 [03:04:08.555] probin_str = 0x0 [03:04:08.555] prosrc_str = 0x834a12258 ".syntaxerror" [03:04:08.555] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834980500, pstmt=pstmt@entry=0x834973c40, queryString=queryString@entry=0x834972100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:08.555] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35242116352, 35242705791, 10, 0, 549755813888}}} [03:04:08.555] _save_exception_stack = 0x82185f750 [03:04:08.555] _save_context_stack = 0x0 [03:04:08.555] _do_rethrow = false [03:04:08.555] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:08.555] parsetree = 0x834a12028 [03:04:08.555] commandCollected = false [03:04:08.555] needCleanup = false [03:04:08.555] address = [03:04:08.555] isTopLevel = [03:04:08.555] isCompleteQuery = [03:04:08.555] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834973c40, queryString=0x834972100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x834a12488, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:08.555] isAtomicContext = false [03:04:08.555] parsetree = 0x834a12028 [03:04:08.555] readonly_flags = [03:04:08.555] pstate = 0x834980500 [03:04:08.555] isTopLevel = [03:04:08.555] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18ce7, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834a12488, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:08.555] No locals. [03:04:08.555] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a49100, pstmt=0x834973c40, isTopLevel=, setHoldSnapshot=, dest=0x834a12488, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:08.555] No locals. [03:04:08.555] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a49100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834a12488, altdest=altdest@entry=0x834a12488, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:08.555] pstmt = 0x834973c40 [03:04:08.555] stmtlist_item__state = {l = 0x834a12438, i = 0} [03:04:08.555] active_snapshot_set = false [03:04:08.555] stmtlist_item = 0x834a12450 [03:04:08.555] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a49100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834a12488, altdest=altdest@entry=0x834a12488, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:08.555] _local_sigjmp_buf = {{_sjb = {9449757, 35242938624, 34922166088, 34922166320, 34922166096, 35243413504, 12106872, 12140200, 35242902399, 35242065840, 4294967984, 0}}} [03:04:08.555] _save_exception_stack = 0x82185f920 [03:04:08.555] _save_context_stack = 0x0 [03:04:08.555] _do_rethrow = false [03:04:08.555] saveTopTransactionResourceOwner = 0x834a5b8d8 [03:04:08.555] saveTopTransactionContext = 0x834abd000 [03:04:08.555] saveActivePortal = 0x0 [03:04:08.555] saveResourceOwner = 0x834a5b8d8 [03:04:08.555] savePortalContext = 0x0 [03:04:08.555] saveMemoryContext = 0x834abd000 [03:04:08.555] result = [03:04:08.555] nprocessed = [03:04:08.555] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [03:04:08.555] cmdtaglen = 15 [03:04:08.555] snapshot_set = [03:04:08.555] per_parsetree_context = 0x0 [03:04:08.555] plantree_list = [03:04:08.555] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:08.555] format = 0 [03:04:08.555] parsetree = 0x834973800 [03:04:08.555] commandTag = [03:04:08.555] cmdtagname = [03:04:08.555] querytree_list = [03:04:08.555] portal = 0x834a49100 [03:04:08.555] receiver = 0x834a12488 [03:04:08.555] parsetree_item__state = {l = 0x834973bf0, i = 0} [03:04:08.555] msec_str = "\000\000\000\000\b", '\000' , "\336\036\331f\000\000\000\000\335c<#\265\004\004\237" [03:04:08.555] dest = DestRemote [03:04:08.555] was_logged = [03:04:08.555] oldcontext = 0x834abd000 [03:04:08.555] parsetree_list = 0x834973bf0 [03:04:08.555] use_implicit_block = false [03:04:08.555] parsetree_item = 0x834973c08 [03:04:08.555] save_log_statement_stats = [03:04:08.555] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:08.555] query_string = 0x834972100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;" [03:04:08.555] input_message = {data = 0x834972100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;", len = 142, maxlen = 1024, cursor = 142} [03:04:08.555] firstchar = [03:04:08.555] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:08.555] send_ready_for_query = false [03:04:08.555] idle_in_transaction_timeout_enabled = false [03:04:08.555] idle_session_timeout_enabled = false [03:04:08.555] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:08.555] bsdata = [03:04:08.555] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:08.555] pid = [03:04:08.555] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:08.555] startup_data = {canAcceptConnections = CAC_OK} [03:04:08.555] bn = 0x834973f00 [03:04:08.555] pid = [03:04:08.555] __error = [03:04:08.555] save_errno = [03:04:08.555] __error = [03:04:08.555] __error = [03:04:08.555] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:08.555] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:08.555] i = 0 [03:04:08.555] now = [03:04:08.555] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:08.555] last_touch_time = 1725505226 [03:04:08.555] last_lockfile_recheck_time = 1725505226 [03:04:08.555] nevents = 1 [03:04:08.555] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:08.555] userDoption = [03:04:08.555] listen_addr_saved = [03:04:08.555] output_config_variable = [03:04:08.555] opt = [03:04:08.555] status = [03:04:08.555] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:08.555] do_check_root = [03:04:08.567] [03:04:08.567] [03:04:08.567] [03:04:08.634] dumping /tmp/cores/postgres.20906.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:08.753] [New LWP 101711] [03:04:08.821] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [03:04:08.821] Program terminated with signal SIGABRT, Aborted. [03:04:08.821] Sent by thr_kill() from pid 20906 and user 1003. [03:04:08.821] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:09.451] To enable execution of this file add [03:04:09.451] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:09.451] line to your configuration file "/.config/gdb/gdbinit". [03:04:09.451] To completely disable this security protection add [03:04:09.451] set auto-load safe-path / [03:04:09.451] line to your configuration file "/.config/gdb/gdbinit". [03:04:09.451] For more information about this security protection see the [03:04:09.451] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:09.451] info "(gdb)Auto-loading safe path" [03:04:09.451] [03:04:09.451] Thread 1 (LWP 101711): [03:04:09.451] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:09.451] No symbol table info available. [03:04:09.451] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:09.451] No symbol table info available. [03:04:09.451] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:09.451] No symbol table info available. [03:04:09.451] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x8456a3e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:09.451] No locals. [03:04:09.451] #4 0x00000008456ad063 in PLy_generate_spi_exceptions (mod=0x84a0c1ad0, base=0x842b30010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:09.451] dict = [03:04:09.451] found = true [03:04:09.451] sqlstate = [03:04:09.451] exc = 0x842bedc10 [03:04:09.451] entry = 0x0 [03:04:09.451] i = 66 [03:04:09.451] #5 PLy_add_exceptions (plpy=0x84850ac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:09.451] hash_ctl = {num_partitions = 35572272496, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x8484a4d40, match = 0x8484a4d40, keycopy = 0x84a0a8f40, alloc = 0x848502030, hcxt = 0x846c9fac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:09.451] excmod = 0x84a0c1ad0 [03:04:09.451] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:09.451] m = 0x84850ac50 [03:04:09.451] #7 0x0000000846aabf70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #8 0x0000000846aaa2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #9 0x00000008469cac29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #10 0x0000000846a74d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #11 0x0000000846a77795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #12 0x000000084697890f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #13 0x0000000846978705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #14 0x0000000846aa6284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #15 0x0000000846a5e996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #16 0x00000008469cae70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #17 0x0000000846977538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #18 0x0000000846977467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #19 0x0000000846aa5b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #20 0x0000000846aa6ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:09.451] No symbol table info available. [03:04:09.451] #21 0x00000008456ac476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:09.451] inited = false [03:04:09.451] #22 0x00000008456ac3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:09.451] funcoid = 81920 [03:04:09.451] tuple = [03:04:09.451] is_trigger = [03:04:09.451] procStruct = [03:04:09.451] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=81920) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:09.451] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\000@\001", '\000' } [03:04:09.451] fcinfo = 0x82185f038 [03:04:09.451] result = [03:04:09.451] __error = [03:04:09.451] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=81920) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:09.451] flinfo = {fn_addr = 0x8456ac370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834980400, fn_expr = 0x0} [03:04:09.451] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x842a63118 "quote", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x842a635b0 "\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how == \"ident\":\n return plpy.quote_ident(t)\n else:\n "..., probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8349bd3f8, allParameterTypes=0, parameterModes=0, parameterNames=35242365992, 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:04:09.451] set_items = [03:04:09.451] save_nestlevel = 0 [03:04:09.451] myself = {classId = 1255, objectId = 81920, objectSubId = 0} [03:04:09.451] nulls = {false , true, true, false, true, true, false, true, true, true, true} [03:04:09.451] values = {81920, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 2, 0, 25, 35242365944, 0, 0, 35242365992, 0, 0, 35243737144, 0, 0, 0, 0} [03:04:09.451] replaces = {true } [03:04:09.451] procname = {data = "quote", '\000' } [03:04:09.451] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [03:04:09.451] paramModes = [03:04:09.451] variadicType = [03:04:09.451] proacl = 0x0 [03:04:09.451] parameterCount = [03:04:09.451] allParamCount = 2 [03:04:09.451] allParams = 0x8349bd410 [03:04:09.451] detailmsg = [03:04:09.451] i = [03:04:09.451] rel = 0x834aa2958 [03:04:09.451] tupDesc = 0x834aa2c78 [03:04:09.451] oldtup = 0x0 [03:04:09.451] tup = 0x8349bd4c8 [03:04:09.451] is_update = [03:04:09.451] retval = 81920 [03:04:09.451] addrs = [03:04:09.451] trfid = [03:04:09.451] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834980500, stmt=, stmt@entry=0x842a630c8) at ../src/backend/commands/functioncmds.c:1257 [03:04:09.451] funcname = 0x842a63118 "quote" [03:04:09.451] parameterTypes = 0x8349bd3f8 [03:04:09.451] parameterTypes_list = 0x834980610 [03:04:09.451] allParameterTypes = 0x0 [03:04:09.451] parameterModes = 0x0 [03:04:09.451] parameterNames = 0x8349bd428 [03:04:09.451] inParameterNames_list = 0x834b0c3a8 [03:04:09.451] parameterDefaults = 0x0 [03:04:09.451] variadicArgType = 0 [03:04:09.451] requiredResultType = 0 [03:04:09.451] transformDefElem = [03:04:09.451] trftypes_list = [03:04:09.451] namespaceId = 2200 [03:04:09.451] aclresult = [03:04:09.451] as_clause = [03:04:09.451] language = [03:04:09.451] isWindowFunc = false [03:04:09.451] isStrict = false [03:04:09.451] security = false [03:04:09.451] isLeakProof = [03:04:09.451] volatility = 118 'v' [03:04:09.451] proconfig = 0x0 [03:04:09.451] procost = 100 [03:04:09.451] prorows = 0 [03:04:09.451] prosupport = 0 [03:04:09.451] parallel = 117 'u' [03:04:09.451] languageTuple = [03:04:09.451] languageStruct = [03:04:09.451] languageOid = 16456 [03:04:09.451] languageValidator = 16455 [03:04:09.451] prorettype = 25 [03:04:09.451] returnsSet = false [03:04:09.451] trftypes = 0x0 [03:04:09.451] prosqlbody = 0x0 [03:04:09.451] probin_str = 0x0 [03:04:09.451] prosrc_str = 0x842a635b0 "\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how == \"ident\":\n return plpy.quote_ident(t)\n else:\n "... [03:04:09.451] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834980500, pstmt=pstmt@entry=0x834973e40, queryString=queryString@entry=0x834972100 "CREATE FUNCTION quote(t text, how text) RETURNS text AS $$\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how "..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:09.451] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35242116352, 35242705791, 10, 0, 549755813888}}} [03:04:09.451] _save_exception_stack = 0x82185f750 [03:04:09.451] _save_context_stack = 0x0 [03:04:09.451] _do_rethrow = false [03:04:09.451] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:09.451] parsetree = 0x842a630c8 [03:04:09.451] commandCollected = false [03:04:09.451] needCleanup = false [03:04:09.451] address = [03:04:09.451] isTopLevel = [03:04:09.451] isCompleteQuery = [03:04:09.451] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834973e40, queryString=0x834972100 "CREATE FUNCTION quote(t text, how text) RETURNS text AS $$\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how "..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x834a12f78, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:09.451] isAtomicContext = false [03:04:09.451] parsetree = 0x842a630c8 [03:04:09.451] readonly_flags = [03:04:09.451] pstate = 0x834980500 [03:04:09.451] isTopLevel = [03:04:09.451] #29 0x0000000000904708 in ProcessUtility (pstmt=0x18d4f, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834a12f78, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:09.451] No locals. [03:04:09.451] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a49100, pstmt=0x834973e40, isTopLevel=, setHoldSnapshot=, dest=0x834a12f78, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:09.451] No locals. [03:04:09.451] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a49100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834a12f78, altdest=altdest@entry=0x834a12f78, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:09.451] pstmt = 0x834973e40 [03:04:09.451] stmtlist_item__state = {l = 0x842a63980, i = 0} [03:04:09.451] active_snapshot_set = false [03:04:09.451] stmtlist_item = 0x842a63998 [03:04:09.451] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a49100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834a12f78, altdest=altdest@entry=0x834a12f78, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:09.451] _local_sigjmp_buf = {{_sjb = {9449757, 35242938624, 34922166088, 34922166320, 34922166096, 35243413504, 12106872, 12140200, 35242902399, 35242714992, 4294967984, 0}}} [03:04:09.451] _save_exception_stack = 0x82185f920 [03:04:09.451] _save_context_stack = 0x0 [03:04:09.451] _do_rethrow = false [03:04:09.451] saveTopTransactionResourceOwner = 0x834a5c0e8 [03:04:09.451] saveTopTransactionContext = 0x834abd000 [03:04:09.451] saveActivePortal = 0x0 [03:04:09.451] saveResourceOwner = 0x834a5c0e8 [03:04:09.451] savePortalContext = 0x0 [03:04:09.451] saveMemoryContext = 0x834abd000 [03:04:09.451] result = [03:04:09.451] nprocessed = [03:04:09.451] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "CREATE FUNCTION quote(t text, how text) RETURNS text AS $$\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how "...) at ../src/backend/tcop/postgres.c:1284 [03:04:09.451] cmdtaglen = 15 [03:04:09.451] snapshot_set = [03:04:09.451] per_parsetree_context = 0x0 [03:04:09.451] plantree_list = [03:04:09.451] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:09.451] format = 0 [03:04:09.451] parsetree = 0x834973fe0 [03:04:09.451] commandTag = [03:04:09.451] cmdtagname = [03:04:09.451] querytree_list = [03:04:09.451] portal = 0x834a49100 [03:04:09.451] receiver = 0x834a12f78 [03:04:09.451] parsetree_item__state = {l = 0x834a124c0, i = 0} [03:04:09.451] msec_str = "\000\000\000\000\b", '\000' , "\341\036\331f\000\000\000\000=\356̀\214\242\372\254" [03:04:09.451] dest = DestRemote [03:04:09.451] was_logged = [03:04:09.451] oldcontext = 0x834abd000 [03:04:09.451] parsetree_list = 0x834a124c0 [03:04:09.451] use_implicit_block = false [03:04:09.451] parsetree_item = 0x834a124d8 [03:04:09.451] save_log_statement_stats = [03:04:09.451] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:09.451] query_string = 0x834972100 "CREATE FUNCTION quote(t text, how text) RETURNS text AS $$\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how "... [03:04:09.451] input_message = {data = 0x834972100 "CREATE FUNCTION quote(t text, how text) RETURNS text AS $$\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how "..., len = 342, maxlen = 1024, cursor = 342} [03:04:09.451] firstchar = [03:04:09.451] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:09.451] send_ready_for_query = false [03:04:09.451] idle_in_transaction_timeout_enabled = false [03:04:09.451] idle_session_timeout_enabled = false [03:04:09.451] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:09.451] bsdata = [03:04:09.451] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:09.451] pid = [03:04:09.451] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:09.451] startup_data = {canAcceptConnections = CAC_OK} [03:04:09.451] bn = 0x834973f00 [03:04:09.451] pid = [03:04:09.451] __error = [03:04:09.451] save_errno = [03:04:09.451] __error = [03:04:09.451] __error = [03:04:09.451] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:09.451] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:09.451] i = 0 [03:04:09.451] now = [03:04:09.451] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:09.451] last_touch_time = 1725505226 [03:04:09.451] last_lockfile_recheck_time = 1725505226 [03:04:09.451] nevents = 1 [03:04:09.451] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:09.451] userDoption = [03:04:09.451] listen_addr_saved = [03:04:09.451] output_config_variable = [03:04:09.451] opt = [03:04:09.451] status = [03:04:09.451] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:09.451] do_check_root = [03:04:09.464] [03:04:09.464] [03:04:09.464] [03:04:09.530] dumping /tmp/cores/postgres.21111.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [03:04:09.650] [New LWP 100110] [03:04:09.723] Core was generated by `postgres: postgres regression_plpython [local] CREATE PROCEDURE'. [03:04:09.723] Program terminated with signal SIGABRT, Aborted. [03:04:09.723] Sent by thr_kill() from pid 21111 and user 1003. [03:04:09.723] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:10.361] To enable execution of this file add [03:04:10.361] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [03:04:10.361] line to your configuration file "/.config/gdb/gdbinit". [03:04:10.361] To completely disable this security protection add [03:04:10.361] set auto-load safe-path / [03:04:10.361] line to your configuration file "/.config/gdb/gdbinit". [03:04:10.361] For more information about this security protection see the [03:04:10.361] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [03:04:10.361] info "(gdb)Auto-loading safe path" [03:04:10.361] [03:04:10.361] Thread 1 (LWP 100110): [03:04:10.361] #0 0x000000082b42c41a in thr_kill () from /lib/libc.so.7 [03:04:10.361] No symbol table info available. [03:04:10.361] #1 0x000000082b3a5e64 in raise () from /lib/libc.so.7 [03:04:10.361] No symbol table info available. [03:04:10.361] #2 0x000000082b4566f9 in abort () from /lib/libc.so.7 [03:04:10.361] No symbol table info available. [03:04:10.361] #3 0x0000000000a59585 in ExceptionalCondition (conditionName=0x843625e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [03:04:10.361] No locals. [03:04:10.361] #4 0x000000084362f063 in PLy_generate_spi_exceptions (mod=0x847fadad0, base=0x842624010) at ../src/pl/plpython/plpy_plpymodule.c:267 [03:04:10.361] dict = [03:04:10.361] found = true [03:04:10.361] sqlstate = [03:04:10.361] exc = 0x842634c10 [03:04:10.361] entry = 0x0 [03:04:10.361] i = 66 [03:04:10.361] #5 PLy_add_exceptions (plpy=0x8465e2c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [03:04:10.361] hash_ctl = {num_partitions = 35539602800, ssize = 7, dsize = 2, max_dsize = 34922162224, keysize = 4, entrysize = 16, hash = 0x84657cd40, match = 0x84657cd40, keycopy = 0x847f95040, alloc = 0x8465da130, hcxt = 0x847786ac0 <_PyRuntime+166184>, hctl = 0x82185e880} [03:04:10.361] excmod = 0x847fadad0 [03:04:10.361] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [03:04:10.361] m = 0x8465e2c50 [03:04:10.361] #7 0x0000000847592f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #8 0x00000008475912e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #9 0x00000008474b1c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #10 0x000000084755bd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #11 0x000000084755e795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #12 0x000000084745f90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #13 0x000000084745f705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #14 0x000000084758d284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #15 0x0000000847545996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #16 0x00000008474b1e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #17 0x000000084745e538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #18 0x000000084745e467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #19 0x000000084758cb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #20 0x000000084758def8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [03:04:10.361] No symbol table info available. [03:04:10.361] #21 0x000000084362e476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [03:04:10.361] inited = false [03:04:10.361] #22 0x000000084362e3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [03:04:10.361] funcoid = 90117 [03:04:10.361] tuple = [03:04:10.361] is_trigger = [03:04:10.361] procStruct = [03:04:10.361] #23 0x0000000000a634d3 in FunctionCall1Coll (flinfo=0x82185f008, collation=0, arg1=90117) at ../src/backend/utils/fmgr/fmgr.c:1139 [03:04:10.361] fcinfodata = {fcinfo = {flinfo = 0x82185f008, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82185f058}, fcinfo_data = "\b\360\205!\b", '\000' , "\001\000\005`\001", '\000' } [03:04:10.361] fcinfo = 0x82185f038 [03:04:10.361] result = [03:04:10.361] __error = [03:04:10.361] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=90117) at ../src/backend/utils/fmgr/fmgr.c:1417 [03:04:10.361] flinfo = {fn_addr = 0x84362e370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834b0b800, fn_expr = 0x0} [03:04:10.361] #25 0x000000000067e65d in ProcedureCreate (procedureName=procedureName@entry=0x834a11fb8 "transaction_test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2278, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x834a121c0 "\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=0x8349bd3b0, 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:04:10.361] set_items = [03:04:10.361] save_nestlevel = 0 [03:04:10.361] myself = {classId = 1255, objectId = 90117, objectSubId = 0} [03:04:10.361] nulls = {false , true, true, true, true, true, false, true, true, true, true} [03:04:10.361] values = {90117, 34922164368, 2200, 10, 16456, 1120403456, 0, 0, 0, 112, 0, 0, 0, 0, 118, 117, 0, 0, 2278, 35242365872, 0, 0, 0, 0, 0, 35242364984, 0, 0, 0, 0} [03:04:10.361] replaces = {true } [03:04:10.361] procname = {data = "transaction_test1", '\000' } [03:04:10.361] referenced = {classId = 1247, objectId = 2278, objectSubId = 0} [03:04:10.361] paramModes = [03:04:10.361] variadicType = [03:04:10.361] proacl = 0x0 [03:04:10.361] parameterCount = [03:04:10.361] allParamCount = 0 [03:04:10.361] allParams = 0x8349bd3c8 [03:04:10.361] detailmsg = [03:04:10.361] i = [03:04:10.361] rel = 0x834aa2ed8 [03:04:10.361] tupDesc = 0x834aa31f8 [03:04:10.361] oldtup = 0x0 [03:04:10.361] tup = 0x834b0cc38 [03:04:10.361] is_update = [03:04:10.361] retval = 90117 [03:04:10.361] addrs = [03:04:10.361] trfid = [03:04:10.361] #26 0x00000000006bc8d9 in CreateFunction (pstate=pstate@entry=0x834b0b900, stmt=, stmt@entry=0x834a11f68) at ../src/backend/commands/functioncmds.c:1257 [03:04:10.361] funcname = 0x834a11fb8 "transaction_test1" [03:04:10.361] parameterTypes = 0x8349bd3b0 [03:04:10.361] parameterTypes_list = 0x0 [03:04:10.361] allParameterTypes = 0x0 [03:04:10.361] parameterModes = 0x0 [03:04:10.361] parameterNames = 0x0 [03:04:10.361] inParameterNames_list = 0x0 [03:04:10.361] parameterDefaults = 0x0 [03:04:10.361] variadicArgType = 0 [03:04:10.361] requiredResultType = 0 [03:04:10.361] transformDefElem = [03:04:10.361] trftypes_list = [03:04:10.361] namespaceId = 2200 [03:04:10.361] aclresult = [03:04:10.361] as_clause = [03:04:10.361] language = [03:04:10.361] isWindowFunc = false [03:04:10.361] isStrict = false [03:04:10.361] security = false [03:04:10.361] isLeakProof = [03:04:10.361] volatility = 118 'v' [03:04:10.361] proconfig = 0x0 [03:04:10.361] procost = 100 [03:04:10.361] prorows = 0 [03:04:10.361] prosupport = 0 [03:04:10.361] parallel = 117 'u' [03:04:10.361] languageTuple = [03:04:10.361] languageStruct = [03:04:10.361] languageOid = 16456 [03:04:10.361] languageValidator = 16455 [03:04:10.361] prorettype = 2278 [03:04:10.361] returnsSet = false [03:04:10.361] trftypes = 0x0 [03:04:10.361] prosqlbody = 0x0 [03:04:10.361] probin_str = 0x0 [03:04:10.361] prosrc_str = 0x834a121c0 "\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:04:10.361] #27 0x0000000000906258 in ProcessUtilitySlow (pstate=pstate@entry=0x834b0b900, pstmt=pstmt@entry=0x834a12390, queryString=queryString@entry=0x834972100 "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=0x82185f850) at ../src/backend/tcop/utility.c:1655 [03:04:10.361] _local_sigjmp_buf = {{_sjb = {9460521, 0, 34922165368, 34922165744, 34922165376, 12140200, 0, 35243735296, 35242705791, 10, 0, 549755813888}}} [03:04:10.361] _save_exception_stack = 0x82185f750 [03:04:10.361] _save_context_stack = 0x0 [03:04:10.361] _do_rethrow = false [03:04:10.361] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [03:04:10.361] parsetree = 0x834a11f68 [03:04:10.361] commandCollected = false [03:04:10.361] needCleanup = false [03:04:10.361] address = [03:04:10.361] isTopLevel = [03:04:10.361] isCompleteQuery = [03:04:10.361] #28 0x0000000000904c78 in standard_ProcessUtility (pstmt=0x834a12390, queryString=0x834972100 "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=0x834a124f0, qc=0x82185f850) at ../src/backend/tcop/utility.c:1030 [03:04:10.361] isAtomicContext = false [03:04:10.361] parsetree = 0x834a11f68 [03:04:10.361] readonly_flags = [03:04:10.361] pstate = 0x834b0b900 [03:04:10.361] isTopLevel = [03:04:10.361] #29 0x0000000000904708 in ProcessUtility (pstmt=0x1870e, queryString=0x6 , readOnlyTree=, context=725795834, params=0x0, queryEnv=0x0, dest=0x834a124f0, qc=0x82185f850) at ../src/backend/tcop/utility.c:523 [03:04:10.361] No locals. [03:04:10.361] #30 0x0000000000904243 in PortalRunUtility (portal=0x834a49100, pstmt=0x834a12390, isTopLevel=, setHoldSnapshot=, dest=0x834a124f0, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1158 [03:04:10.361] No locals. [03:04:10.361] #31 0x00000000009038d4 in PortalRunMulti (portal=portal@entry=0x834a49100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x834a124f0, altdest=altdest@entry=0x834a124f0, qc=0x82185f850) at ../src/backend/tcop/pquery.c:1323 [03:04:10.361] pstmt = 0x834a12390 [03:04:10.361] stmtlist_item__state = {l = 0x834a124a0, i = 0} [03:04:10.361] active_snapshot_set = false [03:04:10.361] stmtlist_item = 0x834a124b8 [03:04:10.361] #32 0x00000000009031a3 in PortalRun (portal=portal@entry=0x834a49100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x834a124f0, altdest=altdest@entry=0x834a124f0, qc=0x82185f850) at ../src/backend/tcop/pquery.c:791 [03:04:10.361] _local_sigjmp_buf = {{_sjb = {9449757, 35242938624, 34922166088, 34922166320, 34922166096, 35243413504, 12106872, 12140200, 35242902399, 35242709048, 4294967984, 0}}} [03:04:10.361] _save_exception_stack = 0x82185f920 [03:04:10.361] _save_context_stack = 0x0 [03:04:10.361] _do_rethrow = false [03:04:10.361] saveTopTransactionResourceOwner = 0x834a5bfb8 [03:04:10.361] saveTopTransactionContext = 0x834abd000 [03:04:10.361] saveActivePortal = 0x0 [03:04:10.361] saveResourceOwner = 0x834a5bfb8 [03:04:10.361] savePortalContext = 0x0 [03:04:10.361] saveMemoryContext = 0x834abd000 [03:04:10.361] result = [03:04:10.361] nprocessed = [03:04:10.361] #33 0x0000000000902042 in exec_simple_query (query_string=query_string@entry=0x834972100 "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:04:10.361] cmdtaglen = 16 [03:04:10.361] snapshot_set = [03:04:10.361] per_parsetree_context = 0x0 [03:04:10.361] plantree_list = [03:04:10.361] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [03:04:10.361] format = 0 [03:04:10.361] parsetree = 0x834973830 [03:04:10.361] commandTag = [03:04:10.361] cmdtagname = [03:04:10.361] querytree_list = [03:04:10.361] portal = 0x834a49100 [03:04:10.361] receiver = 0x834a124f0 [03:04:10.361] parsetree_item__state = {l = 0x834973c38, i = 0} [03:04:10.361] msec_str = "\000\000\000\000\b", '\000' , "\343\036\331f\000\000\000\000]6ثf\342\267\375" [03:04:10.361] dest = DestRemote [03:04:10.361] was_logged = [03:04:10.361] oldcontext = 0x834abd000 [03:04:10.361] parsetree_list = 0x834973c38 [03:04:10.361] use_implicit_block = false [03:04:10.361] parsetree_item = 0x834973c50 [03:04:10.361] save_log_statement_stats = [03:04:10.361] #34 0x00000000008ffdb0 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [03:04:10.361] query_string = 0x834972100 "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:04:10.361] input_message = {data = 0x834972100 "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:04:10.361] firstchar = [03:04:10.361] local_sigjmp_buf = {{_sjb = {9433670, 34922166560, 34922166520, 34922167104, 12148936, 1, 8192, 8388608, 34922103679, 0, 0, 1}}} [03:04:10.361] send_ready_for_query = false [03:04:10.361] idle_in_transaction_timeout_enabled = false [03:04:10.361] idle_session_timeout_enabled = false [03:04:10.361] #35 0x00000000008fa589 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [03:04:10.361] bsdata = [03:04:10.361] #36 0x0000000000854717 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821860664 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8218605a0) at ../src/backend/postmaster/launch_backend.c:274 [03:04:10.361] pid = [03:04:10.361] #37 0x0000000000858ad8 in BackendStartup (client_sock=0x8218605a0) at ../src/backend/postmaster/postmaster.c:3415 [03:04:10.361] startup_data = {canAcceptConnections = CAC_OK} [03:04:10.361] bn = 0x834973f00 [03:04:10.361] pid = [03:04:10.361] __error = [03:04:10.361] save_errno = [03:04:10.361] __error = [03:04:10.361] __error = [03:04:10.361] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [03:04:10.361] 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?\2274\b", '\000' , "\006\206!\b\000\000\000h\025\333)\b\000\000\000\v\000\000\000\000\000\000\000^\237\333)\b", '\000' , "@\006\206!\b\000\000\000\304D\205\000\000\000\000\000P\006\206!\b", '\000' }, salen = 16}} [03:04:10.361] i = 0 [03:04:10.361] now = [03:04:10.361] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 725421186, events = 8, fd = 0, user_data = 0x821860550}, {pos = 882689496, events = 8, fd = 562430944, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x20e4b3d6b30a}, {pos = 724588448, events = 8, fd = 724659576, user_data = 0x821860068}, {pos = 562430176, events = 8, fd = 562430056, user_data = 0x20e4b3d6b30a}, {pos = 724566920, events = 8, fd = 724659576, user_data = 0x821860098}, {pos = 562430224, events = 8, fd = 562430104, user_data = 0x82b30f194}, {pos = 569828360, events = 8, fd = 724627860, user_data = 0x821860100}, {pos = -1277795270, events = 8420, fd = 726450224, user_data = 0x1}, {pos = 562430256, events = 8, fd = -1277775094, user_data = 0x82b2f8858}, {pos = 724659576, events = 8, fd = 562430216, user_data = 0x821860180}, {pos = 562430216, events = 8, fd = 724622604, user_data = 0x821f6e408}, {pos = 724622604, events = 8, fd = 562430320, user_data = 0x20e4b3d6643a}, {pos = 562430360, events = 8, fd = 562430808, user_data = 0x821860180}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3591993499, fd = 569851960, user_data = 0x800000001}, {pos = 569828360, events = 8, fd = 724566920, user_data = 0x821f73288}, {pos = 724535384, events = 8, fd = 569828360, user_data = 0x821860208}, {pos = 562430920, events = 8, fd = 562430448, user_data = 0x20e4b3d6aca2}, {pos = 2699699, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 569851960, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 562431176, user_data = 0x21f6e408}, {pos = 562430992, events = 8, fd = 562430592, user_data = 0x1}, {pos = 562430920, events = 8, fd = 32, user_data = 0x821860270}, {pos = -1277777293, events = 8420, fd = 562430864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821f74038}, {pos = 1, events = 8, fd = 569828360, user_data = 0x82b2f8858}, {pos = 562431176, events = 8, fd = 562430992, user_data = 0x821860280}, {pos = 0, events = 0, fd = 569798664, user_data = 0x20}, {pos = 562430976, events = 8, fd = -1277801753, user_data = 0x821f67008}, {pos = 569799688, events = 8, fd = 569800712, user_data = 0x821f67c08}, {pos = 569815048, events = 8, fd = 569816072, user_data = 0x821f6b808}, {pos = 569818120, events = 8, fd = 569819144, user_data = 0x821f6c408}, {pos = 569821192, events = 8, fd = 569822216, user_data = 0x821f6d008}, {pos = 569824264, events = 8, fd = 569825288, user_data = 0x821f6dc08}, {pos = 569827336, events = 8, fd = 569828360, user_data = 0x821f6e808}, {pos = 569830408, events = 8, fd = 569831432, user_data = 0x821f6f408}, {pos = 569833480, events = 8, fd = 569834504, user_data = 0x821f70008}, {pos = 569836552, events = 8, fd = 569837576, user_data = 0x821f70c08}, {pos = 569843720, events = 8, fd = 569844744, user_data = 0x821f72808}, {pos = 569846792, events = 8, fd = 569798664, user_data = 0x2931b3}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821f74038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 562431176, events = 8, fd = 562430592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569798664, events = 8, fd = 313, user_data = 0x8218604b0}, {pos = -1277803025, events = 8420, fd = 2699699, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 569851960, user_data = 0x1}, {pos = 569828360, events = 8, fd = 882253824, user_data = 0x1}, {pos = 882254228, events = 8, fd = 0, user_data = 0x821860480}, {pos = 702256492, events = 8, fd = 1, user_data = 0x834962000}, {pos = 562431152, events = 8, fd = 702252802, user_data = 0x82b42a170 }, {pos = 12073968, events = 0, fd = 725786992, user_data = 0x821f6e408}, {pos = 562431376, events = 8, fd = -1277803554, user_data = 0x834980800}, {pos = 1, events = 0, fd = -1277803938, user_data = 0x821f67008}, {pos = 562431160, events = 8, fd = 562431376, user_data = 0x1c20}, {pos = 882327296, events = 8, fd = -1277724272, user_data = 0x0}, {pos = 562430847, events = 8, fd = 7886759, user_data = 0x821860540}, {pos = 702215184, events = 8, fd = 726450224, user_data = 0x82b4ce310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821860570}, {pos = 702258077, events = 8, fd = 882253824, user_data = 0x487f}, {pos = 562431440, events = 8, fd = 702224634, user_data = 0x0}, {pos = 0, events = 0, fd = 1356002384, user_data = 0x0}} [03:04:10.362] last_touch_time = 1725505226 [03:04:10.362] last_lockfile_recheck_time = 1725505226 [03:04:10.362] nevents = 1 [03:04:10.362] #39 0x00000000008568f5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821860bb8) at ../src/backend/postmaster/postmaster.c:1346 [03:04:10.362] userDoption = [03:04:10.362] listen_addr_saved = [03:04:10.362] output_config_variable = [03:04:10.362] opt = [03:04:10.362] status = [03:04:10.362] #40 0x000000000079248c in main (argc=8, argv=0x821860bb8) at ../src/backend/main/main.c:197 [03:04:10.362] do_check_root =