[07:31:00.602] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [07:31:00.986] dumping /tmp/cores/postgres.18835.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:01.120] [New LWP 101707] [07:31:01.222] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [07:31:01.222] Program terminated with signal SIGABRT, Aborted. [07:31:01.222] Sent by thr_kill() from pid 18835 and user 1003. [07:31:01.222] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:01.816] To enable execution of this file add [07:31:01.816] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:01.816] line to your configuration file "/.config/gdb/gdbinit". [07:31:01.816] To completely disable this security protection add [07:31:01.816] set auto-load safe-path / [07:31:01.816] line to your configuration file "/.config/gdb/gdbinit". [07:31:01.816] For more information about this security protection see the [07:31:01.816] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:01.816] info "(gdb)Auto-loading safe path" [07:31:01.816] [07:31:01.816] Thread 1 (LWP 101707): [07:31:01.816] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:01.816] No symbol table info available. [07:31:01.816] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:01.816] No symbol table info available. [07:31:01.816] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:01.816] No symbol table info available. [07:31:01.816] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x8349d8e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:01.816] No locals. [07:31:01.816] #4 0x00000008349e2063 in PLy_generate_spi_exceptions (mod=0x8428ddad0, base=0x83406d010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:01.816] dict = [07:31:01.816] found = true [07:31:01.816] sqlstate = [07:31:01.816] exc = 0x8340c5c10 [07:31:01.816] entry = 0x0 [07:31:01.816] i = 66 [07:31:01.816] #5 PLy_add_exceptions (plpy=0x8413a6c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:01.816] hash_ctl = {num_partitions = 35453373808, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x841340d40, match = 0x841340d40, keycopy = 0x8428c4f40, alloc = 0x84139e030, hcxt = 0x83f3c3ac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:01.816] excmod = 0x8428ddad0 [07:31:01.816] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:01.816] m = 0x8413a6c50 [07:31:01.816] #7 0x000000083f1cff70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #8 0x000000083f1ce2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #9 0x000000083f0eec29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #10 0x000000083f198d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #11 0x000000083f19b795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #12 0x000000083f09c90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #13 0x000000083f09c705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #14 0x000000083f1ca284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #15 0x000000083f182996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #16 0x000000083f0eee70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #17 0x000000083f09b538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #18 0x000000083f09b467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #19 0x000000083f1c9b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #20 0x000000083f1caef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:01.816] No symbol table info available. [07:31:01.816] #21 0x00000008349e1476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:01.816] inited = false [07:31:01.816] #22 0x00000008349e13a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:01.816] funcoid = 16457 [07:31:01.816] tuple = [07:31:01.816] is_trigger = [07:31:01.816] procStruct = [07:31:01.816] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=16457) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:01.816] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000I@", '\000' } [07:31:01.816] fcinfo = 0x82123c678 [07:31:01.816] result = [07:31:01.816] __error = [07:31:01.816] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=16457) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:01.816] flinfo = {fn_addr = 0x8349e1370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832864400, fn_expr = 0x0} [07:31:01.816] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8329a7060 "stupid", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x832857fd8 "return \"zarkon\"", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8328a1bb0, 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 [07:31:01.816] set_items = [07:31:01.816] save_nestlevel = 0 [07:31:01.816] myself = {classId = 1255, objectId = 16457, objectSubId = 0} [07:31:01.816] nulls = {false , true, true, true, true, true, false, true, true, true, true} [07:31:01.816] values = {16457, 34915731152, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35207650224, 0, 0, 0, 0, 0, 35207650296, 0, 0, 0, 0} [07:31:01.816] replaces = {true } [07:31:01.816] procname = {data = "stupid", '\000' } [07:31:01.816] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [07:31:01.816] paramModes = [07:31:01.816] variadicType = [07:31:01.816] proacl = 0x0 [07:31:01.816] parameterCount = [07:31:01.816] allParamCount = 0 [07:31:01.816] allParams = 0x8328a1bc8 [07:31:01.816] detailmsg = [07:31:01.816] i = [07:31:01.816] rel = 0x832981948 [07:31:01.816] tupDesc = 0x832981b58 [07:31:01.816] oldtup = 0x0 [07:31:01.816] tup = 0x8328a1948 [07:31:01.816] is_update = [07:31:01.816] retval = 16457 [07:31:01.816] addrs = [07:31:01.816] trfid = [07:31:01.816] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x832864500, stmt=, stmt@entry=0x8329a7010) at ../src/backend/commands/functioncmds.c:1257 [07:31:01.816] funcname = 0x8329a7060 "stupid" [07:31:01.816] parameterTypes = 0x8328a1bb0 [07:31:01.816] parameterTypes_list = 0x0 [07:31:01.816] allParameterTypes = 0x0 [07:31:01.816] parameterModes = 0x0 [07:31:01.816] parameterNames = 0x0 [07:31:01.816] inParameterNames_list = 0x0 [07:31:01.816] parameterDefaults = 0x0 [07:31:01.816] variadicArgType = 0 [07:31:01.816] requiredResultType = 0 [07:31:01.816] transformDefElem = [07:31:01.816] trftypes_list = [07:31:01.816] namespaceId = 2200 [07:31:01.816] aclresult = [07:31:01.816] as_clause = [07:31:01.816] language = [07:31:01.816] isWindowFunc = false [07:31:01.816] isStrict = false [07:31:01.816] security = false [07:31:01.816] isLeakProof = [07:31:01.816] volatility = 118 'v' [07:31:01.816] proconfig = 0x0 [07:31:01.816] procost = 100 [07:31:01.816] prorows = 0 [07:31:01.816] prosupport = 0 [07:31:01.816] parallel = 117 'u' [07:31:01.816] languageTuple = [07:31:01.816] languageStruct = [07:31:01.816] languageOid = 16456 [07:31:01.816] languageValidator = 16455 [07:31:01.816] prorettype = 25 [07:31:01.816] returnsSet = false [07:31:01.816] trftypes = 0x0 [07:31:01.816] prosqlbody = 0x0 [07:31:01.816] probin_str = 0x0 [07:31:01.816] prosrc_str = 0x832857fd8 "return \"zarkon\"" [07:31:01.816] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x832864500, pstmt=pstmt@entry=0x832857b88, queryString=queryString@entry=0x832856100 "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=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:01.816] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35207398656, 35208692607, 10, 0, 549755813888}}} [07:31:01.816] _save_exception_stack = 0x82123cd90 [07:31:01.816] _save_context_stack = 0x0 [07:31:01.816] _do_rethrow = false [07:31:01.816] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:01.816] parsetree = 0x8329a7010 [07:31:01.816] commandCollected = false [07:31:01.816] needCleanup = false [07:31:01.816] address = [07:31:01.816] isTopLevel = [07:31:01.816] isCompleteQuery = [07:31:01.816] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x832857b88, queryString=0x832856100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x832857f48, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:01.816] isAtomicContext = false [07:31:01.816] parsetree = 0x8329a7010 [07:31:01.816] readonly_flags = [07:31:01.816] pstate = 0x832864500 [07:31:01.816] isTopLevel = [07:31:01.816] #29 0x0000000000904668 in ProcessUtility (pstmt=0x18d4b, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x832857f48, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:01.816] No locals. [07:31:01.816] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292b100, pstmt=0x832857b88, isTopLevel=, setHoldSnapshot=, dest=0x832857f48, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:01.816] No locals. [07:31:01.816] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292b100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x832857f48, altdest=altdest@entry=0x832857f48, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:01.816] pstmt = 0x832857b88 [07:31:01.816] stmtlist_item__state = {l = 0x8329a73e8, i = 0} [07:31:01.816] active_snapshot_set = false [07:31:01.816] stmtlist_item = 0x8329a7400 [07:31:01.816] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292b100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x832857f48, altdest=altdest@entry=0x832857f48, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:01.816] _local_sigjmp_buf = {{_sjb = {9449597, 35208212736, 34915732872, 34915733104, 34915732880, 35208228864, 12106744, 12140056, 35208168319, 35207347960, 4294967984, 0}}} [07:31:01.816] _save_exception_stack = 0x82123cf60 [07:31:01.816] _save_context_stack = 0x0 [07:31:01.816] _do_rethrow = false [07:31:01.816] saveTopTransactionResourceOwner = 0x832937918 [07:31:01.816] saveTopTransactionContext = 0x83292f000 [07:31:01.816] saveActivePortal = 0x0 [07:31:01.816] saveResourceOwner = 0x832937918 [07:31:01.816] savePortalContext = 0x0 [07:31:01.816] saveMemoryContext = 0x83292f000 [07:31:01.816] result = [07:31:01.816] nprocessed = [07:31:01.816] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [07:31:01.816] cmdtaglen = 15 [07:31:01.816] snapshot_set = [07:31:01.816] per_parsetree_context = 0x0 [07:31:01.816] plantree_list = [07:31:01.816] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:01.816] format = 0 [07:31:01.816] parsetree = 0x832857750 [07:31:01.816] commandTag = [07:31:01.816] cmdtagname = [07:31:01.816] querytree_list = [07:31:01.816] portal = 0x83292b100 [07:31:01.816] receiver = 0x832857f48 [07:31:01.816] parsetree_item__state = {l = 0x832857b38, i = 0} [07:31:01.816] msec_str = "\000\000\000\000\b", '\000' , "_t\321f\000\000\000\000\276f\033\260#\267~C" [07:31:01.816] dest = DestRemote [07:31:01.816] was_logged = [07:31:01.816] oldcontext = 0x83292f000 [07:31:01.816] parsetree_list = 0x832857b38 [07:31:01.816] use_implicit_block = false [07:31:01.816] parsetree_item = 0x832857b50 [07:31:01.816] save_log_statement_stats = [07:31:01.816] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:01.816] query_string = 0x832856100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;" [07:31:01.816] input_message = {data = 0x832856100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", len = 80, maxlen = 1024, cursor = 80} [07:31:01.816] firstchar = [07:31:01.816] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:01.816] send_ready_for_query = false [07:31:01.816] idle_in_transaction_timeout_enabled = false [07:31:01.816] idle_session_timeout_enabled = false [07:31:01.816] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:01.816] bsdata = [07:31:01.816] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:01.816] pid = [07:31:01.816] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:01.816] startup_data = {canAcceptConnections = CAC_OK} [07:31:01.816] bn = 0x832862088 [07:31:01.816] pid = [07:31:01.816] __error = [07:31:01.816] save_errno = [07:31:01.816] __error = [07:31:01.816] __error = [07:31:01.816] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:01.816] 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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:01.816] i = 0 [07:31:01.816] now = [07:31:01.816] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:01.816] last_touch_time = 1725002846 [07:31:01.816] last_lockfile_recheck_time = 1725002846 [07:31:01.816] nevents = 1 [07:31:01.816] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:01.816] userDoption = [07:31:01.816] listen_addr_saved = [07:31:01.816] output_config_variable = [07:31:01.816] opt = [07:31:01.816] status = [07:31:01.816] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:01.816] do_check_root = [07:31:01.829] [07:31:01.829] [07:31:01.829] [07:31:01.898] dumping /tmp/cores/postgres.19115.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:02.016] [New LWP 101640] [07:31:02.088] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [07:31:02.088] Program terminated with signal SIGABRT, Aborted. [07:31:02.088] Sent by thr_kill() from pid 19115 and user 1003. [07:31:02.088] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:02.646] To enable execution of this file add [07:31:02.646] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:02.646] line to your configuration file "/.config/gdb/gdbinit". [07:31:02.646] To completely disable this security protection add [07:31:02.646] set auto-load safe-path / [07:31:02.646] line to your configuration file "/.config/gdb/gdbinit". [07:31:02.646] For more information about this security protection see the [07:31:02.646] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:02.646] info "(gdb)Auto-loading safe path" [07:31:02.646] [07:31:02.646] Thread 1 (LWP 101640): [07:31:02.646] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:02.646] No symbol table info available. [07:31:02.646] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:02.646] No symbol table info available. [07:31:02.646] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:02.646] No symbol table info available. [07:31:02.646] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x83e74be44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:02.646] No locals. [07:31:02.646] #4 0x000000083e755063 in PLy_generate_spi_exceptions (mod=0x8418799e0, base=0x8342c4010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:02.646] dict = [07:31:02.646] found = true [07:31:02.646] sqlstate = [07:31:02.646] exc = 0x834378c10 [07:31:02.646] entry = 0x0 [07:31:02.646] i = 66 [07:31:02.646] #5 PLy_add_exceptions (plpy=0x841416c00) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:02.646] hash_ctl = {num_partitions = 35453832560, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x8413b0d40, match = 0x8413b0d40, keycopy = 0x841861000, alloc = 0x84140e0f0, hcxt = 0x840928ac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:02.646] excmod = 0x8418799e0 [07:31:02.646] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:02.646] m = 0x841416c00 [07:31:02.646] #7 0x0000000840734f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #8 0x00000008407332e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #9 0x0000000840653c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #10 0x00000008406fdd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #11 0x0000000840700795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #12 0x000000084060190f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #13 0x0000000840601705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #14 0x000000084072f284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #15 0x00000008406e7996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #16 0x0000000840653e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #17 0x0000000840600538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #18 0x0000000840600467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #19 0x000000084072eb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #20 0x000000084072fef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:02.646] No symbol table info available. [07:31:02.646] #21 0x000000083e754476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:02.646] inited = false [07:31:02.646] #22 0x000000083e7543a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:02.646] funcoid = 24576 [07:31:02.646] tuple = [07:31:02.646] is_trigger = [07:31:02.646] procStruct = [07:31:02.646] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=24576) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:02.646] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000\000`", '\000' } [07:31:02.646] fcinfo = 0x82123c678 [07:31:02.646] result = [07:31:02.646] __error = [07:31:02.646] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=24576) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:02.646] flinfo = {fn_addr = 0x83e754370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832864400, fn_expr = 0x0} [07:31:02.646] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8328f6828 "nested_call_one", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8328f6b88 "q = \"SELECT nested_call_two('%s')\" % a\nr = plpy.execute(q)\nreturn r[0]", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8328a13c8, allParameterTypes=0, parameterModes=0, parameterNames=35207648248, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [07:31:02.646] set_items = [07:31:02.646] save_nestlevel = 0 [07:31:02.646] myself = {classId = 1255, objectId = 24576, objectSubId = 0} [07:31:02.646] nulls = {false , true, true, false, true, true, false, true, true, true, true} [07:31:02.646] values = {24576, 34915731152, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 25, 35207648200, 0, 0, 35207648248, 0, 0, 35207399280, 0, 0, 0, 0} [07:31:02.646] replaces = {true } [07:31:02.646] procname = {data = "nested_call_one", '\000' } [07:31:02.646] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [07:31:02.646] paramModes = [07:31:02.646] variadicType = [07:31:02.646] proacl = 0x0 [07:31:02.646] parameterCount = [07:31:02.646] allParamCount = 1 [07:31:02.646] allParams = 0x8328a13e0 [07:31:02.646] detailmsg = [07:31:02.646] i = [07:31:02.646] rel = 0x8329828d8 [07:31:02.646] tupDesc = 0x832982bf8 [07:31:02.646] oldtup = 0x0 [07:31:02.646] tup = 0x8329ec038 [07:31:02.646] is_update = [07:31:02.646] retval = 24576 [07:31:02.646] addrs = [07:31:02.646] trfid = [07:31:02.646] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x832864500, stmt=, stmt@entry=0x8328f67d8) at ../src/backend/commands/functioncmds.c:1257 [07:31:02.646] funcname = 0x8328f6828 "nested_call_one" [07:31:02.646] parameterTypes = 0x8328a13c8 [07:31:02.646] parameterTypes_list = 0x832864610 [07:31:02.646] allParameterTypes = 0x0 [07:31:02.646] parameterModes = 0x0 [07:31:02.646] parameterNames = 0x8328a13f8 [07:31:02.646] inParameterNames_list = 0x8329ec3a8 [07:31:02.646] parameterDefaults = 0x0 [07:31:02.646] variadicArgType = 0 [07:31:02.646] requiredResultType = 0 [07:31:02.646] transformDefElem = [07:31:02.646] trftypes_list = [07:31:02.646] namespaceId = 2200 [07:31:02.646] aclresult = [07:31:02.646] as_clause = [07:31:02.646] language = [07:31:02.646] isWindowFunc = false [07:31:02.646] isStrict = false [07:31:02.646] security = false [07:31:02.646] isLeakProof = [07:31:02.646] volatility = 118 'v' [07:31:02.646] proconfig = 0x0 [07:31:02.646] procost = 100 [07:31:02.646] prorows = 0 [07:31:02.646] prosupport = 0 [07:31:02.646] parallel = 117 'u' [07:31:02.646] languageTuple = [07:31:02.646] languageStruct = [07:31:02.646] languageOid = 16456 [07:31:02.646] languageValidator = 16455 [07:31:02.646] prorettype = 25 [07:31:02.646] returnsSet = false [07:31:02.646] trftypes = 0x0 [07:31:02.646] prosqlbody = 0x0 [07:31:02.646] probin_str = 0x0 [07:31:02.646] prosrc_str = 0x8328f6b88 "q = \"SELECT nested_call_two('%s')\" % a\nr = plpy.execute(q)\nreturn r[0]" [07:31:02.646] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x832864500, pstmt=pstmt@entry=0x8328f5238, queryString=queryString@entry=0x832856100 "CREATE FUNCTION nested_call_one(a text) RETURNS text\n\tAS\n'q = \"SELECT nested_call_two(''%s'')\" % a\nr = plpy.execute(q)\nreturn r[0]'\n\tLANGUAGE plpython3u ;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:02.646] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35207398656, 35207971711, 10, 0, 549755813888}}} [07:31:02.646] _save_exception_stack = 0x82123cd90 [07:31:02.646] _save_context_stack = 0x0 [07:31:02.646] _do_rethrow = false [07:31:02.646] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:02.646] parsetree = 0x8328f67d8 [07:31:02.646] commandCollected = false [07:31:02.646] needCleanup = false [07:31:02.646] address = [07:31:02.646] isTopLevel = [07:31:02.646] isCompleteQuery = [07:31:02.646] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x8328f5238, queryString=0x832856100 "CREATE FUNCTION nested_call_one(a text) RETURNS text\n\tAS\n'q = \"SELECT nested_call_two(''%s'')\" % a\nr = plpy.execute(q)\nreturn r[0]'\n\tLANGUAGE plpython3u ;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8328f6e28, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:02.646] isAtomicContext = false [07:31:02.646] parsetree = 0x8328f67d8 [07:31:02.646] readonly_flags = [07:31:02.646] pstate = 0x832864500 [07:31:02.646] isTopLevel = [07:31:02.646] #29 0x0000000000904668 in ProcessUtility (pstmt=0x18d08, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x8328f6e28, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:02.646] No locals. [07:31:02.646] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292b100, pstmt=0x8328f5238, isTopLevel=, setHoldSnapshot=, dest=0x8328f6e28, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:02.646] No locals. [07:31:02.646] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292b100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8328f6e28, altdest=altdest@entry=0x8328f6e28, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:02.646] pstmt = 0x8328f5238 [07:31:02.646] stmtlist_item__state = {l = 0x8328f6dd8, i = 0} [07:31:02.646] active_snapshot_set = false [07:31:02.646] stmtlist_item = 0x8328f6df0 [07:31:02.646] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292b100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8328f6e28, altdest=altdest@entry=0x8328f6e28, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:02.646] _local_sigjmp_buf = {{_sjb = {9449597, 35208212736, 34915732872, 34915733104, 34915732880, 35208278016, 12106744, 12140056, 35208168319, 35207992744, 4294967984, 0}}} [07:31:02.646] _save_exception_stack = 0x82123cf60 [07:31:02.646] _save_context_stack = 0x0 [07:31:02.646] _do_rethrow = false [07:31:02.646] saveTopTransactionResourceOwner = 0x832935360 [07:31:02.646] saveTopTransactionContext = 0x83293b000 [07:31:02.646] saveActivePortal = 0x0 [07:31:02.646] saveResourceOwner = 0x832935360 [07:31:02.646] savePortalContext = 0x0 [07:31:02.646] saveMemoryContext = 0x83293b000 [07:31:02.646] result = [07:31:02.646] nprocessed = [07:31:02.646] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "CREATE FUNCTION nested_call_one(a text) RETURNS text\n\tAS\n'q = \"SELECT nested_call_two(''%s'')\" % a\nr = plpy.execute(q)\nreturn r[0]'\n\tLANGUAGE plpython3u ;") at ../src/backend/tcop/postgres.c:1284 [07:31:02.646] cmdtaglen = 15 [07:31:02.646] snapshot_set = [07:31:02.646] per_parsetree_context = 0x0 [07:31:02.646] plantree_list = [07:31:02.646] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:02.646] format = 0 [07:31:02.646] parsetree = 0x832857be0 [07:31:02.646] commandTag = [07:31:02.646] cmdtagname = [07:31:02.646] querytree_list = [07:31:02.646] portal = 0x83292b100 [07:31:02.646] receiver = 0x8328f6e28 [07:31:02.646] parsetree_item__state = {l = 0x8328f51e8, i = 0} [07:31:02.646] msec_str = "\000\000\000\000\b", '\000' , "at\321f\000\000\000\000\262\232\376\313u6\247^" [07:31:02.646] dest = DestRemote [07:31:02.646] was_logged = [07:31:02.646] oldcontext = 0x83293b000 [07:31:02.646] parsetree_list = 0x8328f51e8 [07:31:02.646] use_implicit_block = false [07:31:02.646] parsetree_item = 0x8328f5200 [07:31:02.646] save_log_statement_stats = [07:31:02.646] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:02.646] query_string = 0x832856100 "CREATE FUNCTION nested_call_one(a text) RETURNS text\n\tAS\n'q = \"SELECT nested_call_two(''%s'')\" % a\nr = plpy.execute(q)\nreturn r[0]'\n\tLANGUAGE plpython3u ;" [07:31:02.646] input_message = {data = 0x832856100 "CREATE FUNCTION nested_call_one(a text) RETURNS text\n\tAS\n'q = \"SELECT nested_call_two(''%s'')\" % a\nr = plpy.execute(q)\nreturn r[0]'\n\tLANGUAGE plpython3u ;", len = 155, maxlen = 1024, cursor = 155} [07:31:02.646] firstchar = [07:31:02.646] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:02.646] send_ready_for_query = false [07:31:02.646] idle_in_transaction_timeout_enabled = false [07:31:02.646] idle_session_timeout_enabled = false [07:31:02.646] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:02.646] bsdata = [07:31:02.646] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:02.646] pid = [07:31:02.646] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:02.646] startup_data = {canAcceptConnections = CAC_OK} [07:31:02.646] bn = 0x832857f00 [07:31:02.646] pid = [07:31:02.646] __error = [07:31:02.646] save_errno = [07:31:02.646] __error = [07:31:02.646] __error = [07:31:02.646] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:02.646] 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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:02.646] i = 0 [07:31:02.646] now = [07:31:02.646] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:02.646] last_touch_time = 1725002846 [07:31:02.646] last_lockfile_recheck_time = 1725002846 [07:31:02.646] nevents = 1 [07:31:02.646] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:02.646] userDoption = [07:31:02.646] listen_addr_saved = [07:31:02.646] output_config_variable = [07:31:02.646] opt = [07:31:02.646] status = [07:31:02.646] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:02.646] do_check_root = [07:31:02.661] [07:31:02.661] [07:31:02.661] [07:31:02.733] dumping /tmp/cores/postgres.19610.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:02.855] [New LWP 101640] [07:31:02.936] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [07:31:02.936] Program terminated with signal SIGABRT, Aborted. [07:31:02.936] Sent by thr_kill() from pid 19610 and user 1003. [07:31:02.936] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:03.498] To enable execution of this file add [07:31:03.498] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:03.498] line to your configuration file "/.config/gdb/gdbinit". [07:31:03.498] To completely disable this security protection add [07:31:03.498] set auto-load safe-path / [07:31:03.498] line to your configuration file "/.config/gdb/gdbinit". [07:31:03.498] For more information about this security protection see the [07:31:03.498] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:03.498] info "(gdb)Auto-loading safe path" [07:31:03.498] [07:31:03.498] Thread 1 (LWP 101640): [07:31:03.498] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:03.498] No symbol table info available. [07:31:03.498] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:03.498] No symbol table info available. [07:31:03.498] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:03.498] No symbol table info available. [07:31:03.498] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x834bf4e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:03.498] No locals. [07:31:03.498] #4 0x0000000834bfe063 in PLy_generate_spi_exceptions (mod=0x84324dad0, base=0x83404b010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:03.498] dict = [07:31:03.498] found = true [07:31:03.498] sqlstate = [07:31:03.498] exc = 0x8340ffc10 [07:31:03.498] entry = 0x0 [07:31:03.498] i = 66 [07:31:03.498] #5 PLy_add_exceptions (plpy=0x84040ec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:03.498] hash_ctl = {num_partitions = 35437022576, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x8403a8d40, match = 0x8403a8d40, keycopy = 0x843235040, alloc = 0x840406130, hcxt = 0x841a19ac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:03.498] excmod = 0x84324dad0 [07:31:03.498] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:03.498] m = 0x84040ec50 [07:31:03.498] #7 0x0000000841825f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #8 0x00000008418242e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #9 0x0000000841744c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #10 0x00000008417eed9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #11 0x00000008417f1795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #12 0x00000008416f290f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #13 0x00000008416f2705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #14 0x0000000841820284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #15 0x00000008417d8996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #16 0x0000000841744e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #17 0x00000008416f1538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #18 0x00000008416f1467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #19 0x000000084181fb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #20 0x0000000841820ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:03.498] No symbol table info available. [07:31:03.498] #21 0x0000000834bfd476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:03.498] inited = false [07:31:03.498] #22 0x0000000834bfd3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:03.498] funcoid = 32768 [07:31:03.498] tuple = [07:31:03.498] is_trigger = [07:31:03.498] procStruct = [07:31:03.498] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=32768) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:03.498] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000\000\200", '\000' } [07:31:03.498] fcinfo = 0x82123c678 [07:31:03.498] result = [07:31:03.498] __error = [07:31:03.498] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=32768) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:03.498] flinfo = {fn_addr = 0x834bfd370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832864400, fn_expr = 0x0} [07:31:03.498] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8328f60d8 "newline_lf", procNamespace=procNamespace@entry=2200, replace=true, returnsSet=, returnType=23, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8328f62e8 "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=0x8328a13b0, 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 [07:31:03.498] set_items = [07:31:03.498] save_nestlevel = 0 [07:31:03.498] myself = {classId = 1255, objectId = 32768, objectSubId = 0} [07:31:03.498] nulls = {false , true, true, true, true, true, false, true, true, true, true} [07:31:03.498] values = {32768, 34915731152, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 23, 35207648176, 0, 0, 0, 0, 0, 35207648248, 0, 0, 0, 0} [07:31:03.498] replaces = {true } [07:31:03.498] procname = {data = "newline_lf", '\000' } [07:31:03.498] referenced = {classId = 1247, objectId = 23, objectSubId = 0} [07:31:03.498] paramModes = [07:31:03.498] variadicType = [07:31:03.498] proacl = 0x0 [07:31:03.498] parameterCount = [07:31:03.498] allParamCount = 0 [07:31:03.498] allParams = 0x8328a13c8 [07:31:03.498] detailmsg = [07:31:03.498] i = [07:31:03.498] rel = 0x8329825d8 [07:31:03.498] tupDesc = 0x8329828f8 [07:31:03.498] oldtup = 0x0 [07:31:03.498] tup = 0x8328a1258 [07:31:03.498] is_update = [07:31:03.498] retval = 32768 [07:31:03.498] addrs = [07:31:03.498] trfid = [07:31:03.498] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x832864500, stmt=, stmt@entry=0x8328f6088) at ../src/backend/commands/functioncmds.c:1257 [07:31:03.498] funcname = 0x8328f60d8 "newline_lf" [07:31:03.498] parameterTypes = 0x8328a13b0 [07:31:03.498] parameterTypes_list = 0x0 [07:31:03.498] allParameterTypes = 0x0 [07:31:03.498] parameterModes = 0x0 [07:31:03.498] parameterNames = 0x0 [07:31:03.498] inParameterNames_list = 0x0 [07:31:03.498] parameterDefaults = 0x0 [07:31:03.498] variadicArgType = 0 [07:31:03.498] requiredResultType = 0 [07:31:03.498] transformDefElem = [07:31:03.498] trftypes_list = [07:31:03.498] namespaceId = 2200 [07:31:03.498] aclresult = [07:31:03.498] as_clause = [07:31:03.498] language = [07:31:03.498] isWindowFunc = false [07:31:03.498] isStrict = false [07:31:03.498] security = false [07:31:03.498] isLeakProof = [07:31:03.498] volatility = 118 'v' [07:31:03.498] proconfig = 0x0 [07:31:03.498] procost = 100 [07:31:03.498] prorows = 0 [07:31:03.498] prosupport = 0 [07:31:03.498] parallel = 117 'u' [07:31:03.498] languageTuple = [07:31:03.498] languageStruct = [07:31:03.498] languageOid = 16456 [07:31:03.498] languageValidator = 16455 [07:31:03.498] prorettype = 23 [07:31:03.498] returnsSet = false [07:31:03.498] trftypes = 0x0 [07:31:03.498] prosqlbody = 0x0 [07:31:03.498] probin_str = 0x0 [07:31:03.498] prosrc_str = 0x8328f62e8 "x = 100\ny = 23\nreturn x + y\n" [07:31:03.498] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x832864500, pstmt=pstmt@entry=0x832857c68, queryString=queryString@entry=0x832856100 "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=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:03.498] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35207398656, 35207971711, 10, 0, 549755813888}}} [07:31:03.498] _save_exception_stack = 0x82123cd90 [07:31:03.498] _save_context_stack = 0x0 [07:31:03.498] _do_rethrow = false [07:31:03.498] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:03.498] parsetree = 0x8328f6088 [07:31:03.498] commandCollected = false [07:31:03.498] needCleanup = false [07:31:03.498] address = [07:31:03.498] isTopLevel = [07:31:03.498] isCompleteQuery = [07:31:03.498] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x832857c68, queryString=0x832856100 "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=0x8328f6548, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:03.498] isAtomicContext = false [07:31:03.498] parsetree = 0x8328f6088 [07:31:03.498] readonly_flags = [07:31:03.498] pstate = 0x832864500 [07:31:03.498] isTopLevel = [07:31:03.498] #29 0x0000000000904668 in ProcessUtility (pstmt=0x18d08, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x8328f6548, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:03.498] No locals. [07:31:03.498] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292b100, pstmt=0x832857c68, isTopLevel=, setHoldSnapshot=, dest=0x8328f6548, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:03.498] No locals. [07:31:03.498] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292b100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8328f6548, altdest=altdest@entry=0x8328f6548, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:03.498] pstmt = 0x832857c68 [07:31:03.498] stmtlist_item__state = {l = 0x8328f64f8, i = 0} [07:31:03.498] active_snapshot_set = false [07:31:03.498] stmtlist_item = 0x8328f6510 [07:31:03.498] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292b100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8328f6548, altdest=altdest@entry=0x8328f6548, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:03.498] _local_sigjmp_buf = {{_sjb = {9449597, 35208212736, 34915732872, 34915733104, 34915732880, 35208278016, 12106744, 12140056, 35208168319, 35207991352, 4294967984, 0}}} [07:31:03.498] _save_exception_stack = 0x82123cf60 [07:31:03.498] _save_context_stack = 0x0 [07:31:03.498] _do_rethrow = false [07:31:03.498] saveTopTransactionResourceOwner = 0x832938368 [07:31:03.498] saveTopTransactionContext = 0x83293b000 [07:31:03.498] saveActivePortal = 0x0 [07:31:03.498] saveResourceOwner = 0x832938368 [07:31:03.498] savePortalContext = 0x0 [07:31:03.498] saveMemoryContext = 0x83293b000 [07:31:03.498] result = [07:31:03.498] nprocessed = [07:31:03.498] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "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 [07:31:03.498] cmdtaglen = 15 [07:31:03.498] snapshot_set = [07:31:03.498] per_parsetree_context = 0x0 [07:31:03.498] plantree_list = [07:31:03.498] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:03.498] format = 0 [07:31:03.498] parsetree = 0x8328577c8 [07:31:03.498] commandTag = [07:31:03.498] cmdtagname = [07:31:03.498] querytree_list = [07:31:03.498] portal = 0x83292b100 [07:31:03.498] receiver = 0x8328f6548 [07:31:03.498] parsetree_item__state = {l = 0x832857c18, i = 0} [07:31:03.498] msec_str = "\000\000\000\000\b", '\000' , "ct\321f\000\000\000\000\\oOtn\254\301\264" [07:31:03.498] dest = DestRemote [07:31:03.498] was_logged = [07:31:03.498] oldcontext = 0x83293b000 [07:31:03.498] parsetree_list = 0x832857c18 [07:31:03.498] use_implicit_block = false [07:31:03.498] parsetree_item = 0x832857c30 [07:31:03.498] save_log_statement_stats = [07:31:03.498] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:03.498] query_string = 0x832856100 "CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;" [07:31:03.498] input_message = {data = 0x832856100 "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} [07:31:03.498] firstchar = [07:31:03.498] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:03.498] send_ready_for_query = false [07:31:03.498] idle_in_transaction_timeout_enabled = false [07:31:03.498] idle_session_timeout_enabled = false [07:31:03.498] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:03.498] bsdata = [07:31:03.498] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:03.498] pid = [07:31:03.498] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:03.498] startup_data = {canAcceptConnections = CAC_OK} [07:31:03.498] bn = 0x832857f00 [07:31:03.498] pid = [07:31:03.498] __error = [07:31:03.498] save_errno = [07:31:03.498] __error = [07:31:03.498] __error = [07:31:03.498] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:03.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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:03.498] i = 0 [07:31:03.498] now = [07:31:03.498] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:03.498] last_touch_time = 1725002846 [07:31:03.498] last_lockfile_recheck_time = 1725002846 [07:31:03.498] nevents = 1 [07:31:03.498] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:03.498] userDoption = [07:31:03.498] listen_addr_saved = [07:31:03.498] output_config_variable = [07:31:03.498] opt = [07:31:03.498] status = [07:31:03.498] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:03.498] do_check_root = [07:31:03.512] [07:31:03.512] [07:31:03.512] [07:31:03.586] dumping /tmp/cores/postgres.19794.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:03.712] [New LWP 100107] [07:31:03.790] Core was generated by `postgres: postgres regression_plpython [local] CREATE PROCEDURE'. [07:31:03.790] Program terminated with signal SIGABRT, Aborted. [07:31:03.790] Sent by thr_kill() from pid 19794 and user 1003. [07:31:03.790] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:04.333] To enable execution of this file add [07:31:04.333] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:04.333] line to your configuration file "/.config/gdb/gdbinit". [07:31:04.333] To completely disable this security protection add [07:31:04.333] set auto-load safe-path / [07:31:04.333] line to your configuration file "/.config/gdb/gdbinit". [07:31:04.333] For more information about this security protection see the [07:31:04.333] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:04.333] info "(gdb)Auto-loading safe path" [07:31:04.333] [07:31:04.333] Thread 1 (LWP 100107): [07:31:04.333] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:04.333] No symbol table info available. [07:31:04.333] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:04.333] No symbol table info available. [07:31:04.333] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:04.333] No symbol table info available. [07:31:04.333] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x83f1a8e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:04.333] No locals. [07:31:04.333] #4 0x000000083f1b2063 in PLy_generate_spi_exceptions (mod=0x8416fdad0, base=0x834769010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:04.333] dict = [07:31:04.333] found = true [07:31:04.333] sqlstate = [07:31:04.333] exc = 0x83481dc10 [07:31:04.333] entry = 0x0 [07:31:04.333] i = 66 [07:31:04.333] #5 PLy_add_exceptions (plpy=0x8410cec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:04.333] hash_ctl = {num_partitions = 35450391920, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x841068d40, match = 0x841068d40, keycopy = 0x8416e5000, alloc = 0x8410c60f0, hcxt = 0x842aedac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:04.333] excmod = 0x8416fdad0 [07:31:04.333] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:04.333] m = 0x8410cec50 [07:31:04.333] #7 0x00000008428f9f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #8 0x00000008428f82e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #9 0x0000000842818c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #10 0x00000008428c2d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #11 0x00000008428c5795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #12 0x00000008427c690f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #13 0x00000008427c6705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #14 0x00000008428f4284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #15 0x00000008428ac996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #16 0x0000000842818e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #17 0x00000008427c5538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #18 0x00000008427c5467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #19 0x00000008428f3b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #20 0x00000008428f4ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:04.333] No symbol table info available. [07:31:04.333] #21 0x000000083f1b1476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:04.333] inited = false [07:31:04.333] #22 0x000000083f1b13a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:04.333] funcoid = 40960 [07:31:04.333] tuple = [07:31:04.333] is_trigger = [07:31:04.333] procStruct = [07:31:04.333] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=40960) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:04.333] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000\000\240", '\000' } [07:31:04.333] fcinfo = 0x82123c678 [07:31:04.333] result = [07:31:04.333] __error = [07:31:04.333] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=40960) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:04.333] flinfo = {fn_addr = 0x83f1b1370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832864400, fn_expr = 0x0} [07:31:04.333] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8328f5c30 "test_proc1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2278, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8328f5e28 "\npass\n", probin=0x0, prosqlbody=0x0, prokind=112 'p', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8328a13b0, 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 [07:31:04.333] set_items = [07:31:04.333] save_nestlevel = 0 [07:31:04.333] myself = {classId = 1255, objectId = 40960, objectSubId = 0} [07:31:04.333] nulls = {false , true, true, true, true, true, false, true, true, true, true} [07:31:04.333] values = {40960, 34915731152, 2200, 10, 16456, 1120403456, 0, 0, 0, 112, 0, 0, 0, 0, 118, 117, 0, 0, 2278, 35207648176, 0, 0, 0, 0, 0, 35209003736, 0, 0, 0, 0} [07:31:04.333] replaces = {true } [07:31:04.333] procname = {data = "test_proc1", '\000' } [07:31:04.333] referenced = {classId = 1247, objectId = 2278, objectSubId = 0} [07:31:04.333] paramModes = [07:31:04.333] variadicType = [07:31:04.333] proacl = 0x0 [07:31:04.333] parameterCount = [07:31:04.333] allParamCount = 0 [07:31:04.333] allParams = 0x8328a13c8 [07:31:04.333] detailmsg = [07:31:04.333] i = [07:31:04.333] rel = 0x832982598 [07:31:04.333] tupDesc = 0x8329828b8 [07:31:04.333] oldtup = 0x0 [07:31:04.333] tup = 0x8328a1258 [07:31:04.333] is_update = [07:31:04.333] retval = 40960 [07:31:04.333] addrs = [07:31:04.333] trfid = [07:31:04.333] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x832864500, stmt=, stmt@entry=0x8328f5be0) at ../src/backend/commands/functioncmds.c:1257 [07:31:04.333] funcname = 0x8328f5c30 "test_proc1" [07:31:04.333] parameterTypes = 0x8328a13b0 [07:31:04.333] parameterTypes_list = 0x0 [07:31:04.333] allParameterTypes = 0x0 [07:31:04.333] parameterModes = 0x0 [07:31:04.333] parameterNames = 0x0 [07:31:04.333] inParameterNames_list = 0x0 [07:31:04.333] parameterDefaults = 0x0 [07:31:04.333] variadicArgType = 0 [07:31:04.333] requiredResultType = 0 [07:31:04.333] transformDefElem = [07:31:04.333] trftypes_list = [07:31:04.333] namespaceId = 2200 [07:31:04.333] aclresult = [07:31:04.333] as_clause = [07:31:04.333] language = [07:31:04.333] isWindowFunc = false [07:31:04.333] isStrict = false [07:31:04.333] security = false [07:31:04.333] isLeakProof = [07:31:04.333] volatility = 118 'v' [07:31:04.333] proconfig = 0x0 [07:31:04.333] procost = 100 [07:31:04.333] prorows = 0 [07:31:04.333] prosupport = 0 [07:31:04.333] parallel = 117 'u' [07:31:04.333] languageTuple = [07:31:04.333] languageStruct = [07:31:04.333] languageOid = 16456 [07:31:04.333] languageValidator = 16455 [07:31:04.333] prorettype = 2278 [07:31:04.333] returnsSet = false [07:31:04.333] trftypes = 0x0 [07:31:04.333] prosqlbody = 0x0 [07:31:04.333] probin_str = 0x0 [07:31:04.333] prosrc_str = 0x8328f5e28 "\npass\n" [07:31:04.333] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x832864500, pstmt=pstmt@entry=0x8328578f8, queryString=queryString@entry=0x832856100 "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=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:04.333] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35207398656, 35207971711, 10, 0, 549755813888}}} [07:31:04.333] _save_exception_stack = 0x82123cd90 [07:31:04.333] _save_context_stack = 0x0 [07:31:04.333] _do_rethrow = false [07:31:04.333] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:04.333] parsetree = 0x8328f5be0 [07:31:04.333] commandCollected = false [07:31:04.333] needCleanup = false [07:31:04.333] address = [07:31:04.333] isTopLevel = [07:31:04.333] isCompleteQuery = [07:31:04.333] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x8328578f8, queryString=0x832856100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8328f5f58, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:04.333] isAtomicContext = false [07:31:04.333] parsetree = 0x8328f5be0 [07:31:04.333] readonly_flags = [07:31:04.333] pstate = 0x832864500 [07:31:04.333] isTopLevel = [07:31:04.333] #29 0x0000000000904668 in ProcessUtility (pstmt=0x1870b, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x8328f5f58, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:04.333] No locals. [07:31:04.333] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292b100, pstmt=0x8328578f8, isTopLevel=, setHoldSnapshot=, dest=0x8328f5f58, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:04.333] No locals. [07:31:04.333] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292b100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8328f5f58, altdest=altdest@entry=0x8328f5f58, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:04.333] pstmt = 0x8328578f8 [07:31:04.333] stmtlist_item__state = {l = 0x8328f5f08, i = 0} [07:31:04.333] active_snapshot_set = false [07:31:04.333] stmtlist_item = 0x8328f5f20 [07:31:04.333] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292b100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8328f5f58, altdest=altdest@entry=0x8328f5f58, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:04.333] _local_sigjmp_buf = {{_sjb = {9449597, 35208212736, 34915732872, 34915733104, 34915732880, 35208278016, 12106744, 12140056, 35208168319, 35207347304, 4294967984, 0}}} [07:31:04.333] _save_exception_stack = 0x82123cf60 [07:31:04.333] _save_context_stack = 0x0 [07:31:04.333] _do_rethrow = false [07:31:04.333] saveTopTransactionResourceOwner = 0x832937858 [07:31:04.333] saveTopTransactionContext = 0x83293b000 [07:31:04.333] saveActivePortal = 0x0 [07:31:04.333] saveResourceOwner = 0x832937858 [07:31:04.333] savePortalContext = 0x0 [07:31:04.333] saveMemoryContext = 0x83293b000 [07:31:04.333] result = [07:31:04.333] nprocessed = [07:31:04.333] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;") at ../src/backend/tcop/postgres.c:1284 [07:31:04.333] cmdtaglen = 16 [07:31:04.333] snapshot_set = [07:31:04.333] per_parsetree_context = 0x0 [07:31:04.333] plantree_list = [07:31:04.333] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:04.333] format = 0 [07:31:04.333] parsetree = 0x8328575a0 [07:31:04.333] commandTag = [07:31:04.333] cmdtagname = [07:31:04.333] querytree_list = [07:31:04.333] portal = 0x83292b100 [07:31:04.333] receiver = 0x8328f5f58 [07:31:04.333] parsetree_item__state = {l = 0x8328578a8, i = 0} [07:31:04.333] msec_str = "\000\000\000\000\b", '\000' , "et\321f\000\000\000\000L\0226\202\365 ۍ" [07:31:04.333] dest = DestRemote [07:31:04.333] was_logged = [07:31:04.333] oldcontext = 0x83293b000 [07:31:04.333] parsetree_list = 0x8328578a8 [07:31:04.333] use_implicit_block = false [07:31:04.333] parsetree_item = 0x8328578c0 [07:31:04.333] save_log_statement_stats = [07:31:04.333] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:04.333] query_string = 0x832856100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;" [07:31:04.333] input_message = {data = 0x832856100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", len = 65, maxlen = 1024, cursor = 65} [07:31:04.333] firstchar = [07:31:04.333] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:04.333] send_ready_for_query = false [07:31:04.333] idle_in_transaction_timeout_enabled = false [07:31:04.333] idle_session_timeout_enabled = false [07:31:04.333] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:04.333] bsdata = [07:31:04.333] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:04.333] pid = [07:31:04.333] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:04.333] startup_data = {canAcceptConnections = CAC_OK} [07:31:04.333] bn = 0x832857f00 [07:31:04.333] pid = [07:31:04.333] __error = [07:31:04.333] save_errno = [07:31:04.333] __error = [07:31:04.333] __error = [07:31:04.333] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:04.333] 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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:04.333] i = 0 [07:31:04.333] now = [07:31:04.333] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:04.333] last_touch_time = 1725002846 [07:31:04.333] last_lockfile_recheck_time = 1725002846 [07:31:04.333] nevents = 1 [07:31:04.333] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:04.333] userDoption = [07:31:04.333] listen_addr_saved = [07:31:04.333] output_config_variable = [07:31:04.333] opt = [07:31:04.333] status = [07:31:04.333] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:04.333] do_check_root = [07:31:04.346] [07:31:04.346] [07:31:04.346] [07:31:04.419] dumping /tmp/cores/postgres.19948.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:04.543] [New LWP 101626] [07:31:04.622] Core was generated by `postgres: postgres regression_hstore_plpython [local] CREATE FUNCTION'. [07:31:04.622] Program terminated with signal SIGABRT, Aborted. [07:31:04.622] Sent by thr_kill() from pid 19948 and user 1003. [07:31:04.622] #0 0x000000082a7af41a in thr_kill () from /lib/libc.so.7 [07:31:05.169] To enable execution of this file add [07:31:05.169] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:05.169] line to your configuration file "/.config/gdb/gdbinit". [07:31:05.169] To completely disable this security protection add [07:31:05.169] set auto-load safe-path / [07:31:05.169] line to your configuration file "/.config/gdb/gdbinit". [07:31:05.169] For more information about this security protection see the [07:31:05.169] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:05.169] info "(gdb)Auto-loading safe path" [07:31:05.169] [07:31:05.169] Thread 1 (LWP 101626): [07:31:05.169] #0 0x000000082a7af41a in thr_kill () from /lib/libc.so.7 [07:31:05.169] No symbol table info available. [07:31:05.169] #1 0x000000082a728e64 in raise () from /lib/libc.so.7 [07:31:05.169] No symbol table info available. [07:31:05.169] #2 0x000000082a7d96f9 in abort () from /lib/libc.so.7 [07:31:05.169] No symbol table info available. [07:31:05.169] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x8429e1e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:05.169] No locals. [07:31:05.169] #4 0x00000008429eb063 in PLy_generate_spi_exceptions (mod=0x849c75ad0, base=0x843fed010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:05.169] dict = [07:31:05.169] found = true [07:31:05.169] sqlstate = [07:31:05.169] exc = 0x84403fc10 [07:31:05.169] entry = 0x0 [07:31:05.169] i = 66 [07:31:05.169] #5 PLy_add_exceptions (plpy=0x8488a2c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:05.169] hash_ctl = {num_partitions = 35576040816, ssize = 7, dsize = 2, max_dsize = 34912611376, keysize = 4, entrysize = 16, hash = 0x84883cd40, match = 0x84883cd40, keycopy = 0x849c5d000, alloc = 0x84889a0f0, hcxt = 0x8484f3ac0 <_PyRuntime+166184>, hctl = 0x820f42c80} [07:31:05.169] excmod = 0x849c75ad0 [07:31:05.169] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:05.169] m = 0x8488a2c50 [07:31:05.169] #7 0x00000008482fff70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #8 0x00000008482fe2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #9 0x000000084821ec29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #10 0x00000008482c8d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #11 0x00000008482cb795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #12 0x00000008481cc90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #13 0x00000008481cc705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #14 0x00000008482fa284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #15 0x00000008482b2996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #16 0x000000084821ee70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #17 0x00000008481cb538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #18 0x00000008481cb467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #19 0x00000008482f9b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #20 0x00000008482faef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.169] No symbol table info available. [07:31:05.169] #21 0x00000008429ea476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:05.169] inited = false [07:31:05.169] #22 0x00000008429ea3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:05.169] funcoid = 16522 [07:31:05.169] tuple = [07:31:05.169] is_trigger = [07:31:05.169] procStruct = [07:31:05.169] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x820f43408, collation=0, arg1=16522) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:05.169] fcinfodata = {fcinfo = {flinfo = 0x820f43408, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x820f43458}, fcinfo_data = "\b4\364 \b", '\000' , "\001\000\212@", '\000' } [07:31:05.169] fcinfo = 0x820f43438 [07:31:05.169] result = [07:31:05.169] __error = [07:31:05.169] #24 OidFunctionCall1Coll (functionId=functionId@entry=16516, collation=collation@entry=0, arg1=arg1@entry=16522) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:05.169] flinfo = {fn_addr = 0x8429ea370 , fn_oid = 16516, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834d95400, fn_expr = 0x0} [07:31:05.169] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x834ed8f40 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16517, languageValidator=16516, prosrc=0x843f09a08 "\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=0x834dd2c18, allParameterTypes=0, parameterModes=0, parameterNames=35246648392, parameterDefaults=0x0, trftypes=35246648576, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [07:31:05.169] set_items = [07:31:05.169] save_nestlevel = 0 [07:31:05.169] myself = {classId = 1255, objectId = 16522, objectSubId = 0} [07:31:05.169] nulls = {false , true, true, false, true, false, false, true, true, true, true} [07:31:05.169] values = {16522, 34912613520, 2200, 10, 16517, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35246648344, 0, 0, 35246648392, 0, 35246648576, 35246397296, 0, 0, 0, 0} [07:31:05.169] replaces = {true } [07:31:05.169] procname = {data = "test1", '\000' } [07:31:05.169] referenced = {classId = 3576, objectId = 16521, objectSubId = 0} [07:31:05.169] paramModes = [07:31:05.169] variadicType = [07:31:05.169] proacl = 0x0 [07:31:05.169] parameterCount = [07:31:05.169] allParamCount = 1 [07:31:05.169] allParams = 0x834dd2c30 [07:31:05.169] detailmsg = [07:31:05.169] i = [07:31:05.169] rel = 0x834eb32c8 [07:31:05.169] tupDesc = 0x834eb34d8 [07:31:05.169] oldtup = 0x0 [07:31:05.169] tup = 0x834f1d838 [07:31:05.169] is_update = [07:31:05.169] retval = 16522 [07:31:05.169] addrs = [07:31:05.169] trfid = [07:31:05.169] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x834d95500, stmt=, stmt@entry=0x834ed8ef0) at ../src/backend/commands/functioncmds.c:1257 [07:31:05.169] funcname = 0x834ed8f40 "test1" [07:31:05.169] parameterTypes = 0x834dd2c18 [07:31:05.169] parameterTypes_list = 0x834f1dba8 [07:31:05.169] allParameterTypes = 0x0 [07:31:05.169] parameterModes = 0x0 [07:31:05.169] parameterNames = 0x834dd2c48 [07:31:05.169] inParameterNames_list = 0x834dd2bc8 [07:31:05.169] parameterDefaults = 0x0 [07:31:05.169] variadicArgType = 0 [07:31:05.169] requiredResultType = 0 [07:31:05.169] transformDefElem = [07:31:05.169] trftypes_list = [07:31:05.169] namespaceId = 2200 [07:31:05.169] aclresult = [07:31:05.169] as_clause = [07:31:05.169] language = [07:31:05.169] isWindowFunc = false [07:31:05.169] isStrict = false [07:31:05.169] security = false [07:31:05.169] isLeakProof = [07:31:05.169] volatility = 118 'v' [07:31:05.169] proconfig = 0x0 [07:31:05.169] procost = 100 [07:31:05.169] prorows = 0 [07:31:05.169] prosupport = 0 [07:31:05.169] parallel = 117 'u' [07:31:05.169] languageTuple = [07:31:05.169] languageStruct = [07:31:05.169] languageOid = 16517 [07:31:05.169] languageValidator = 16516 [07:31:05.169] prorettype = 23 [07:31:05.169] returnsSet = false [07:31:05.169] trftypes = 0x834dd2d00 [07:31:05.169] prosqlbody = 0x0 [07:31:05.169] probin_str = 0x0 [07:31:05.169] prosrc_str = 0x843f09a08 "\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n" [07:31:05.169] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x834d95500, pstmt=pstmt@entry=0x834ed7780, queryString=queryString@entry=0x834d87100 "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=0x820f43c50) at ../src/backend/tcop/utility.c:1655 [07:31:05.169] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34912614520, 34912614896, 34912614528, 12140056, 0, 35246396672, 35247686527, 10, 0, 549755813888}}} [07:31:05.169] _save_exception_stack = 0x820f43b50 [07:31:05.169] _save_context_stack = 0x0 [07:31:05.169] _do_rethrow = false [07:31:05.169] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:05.169] parsetree = 0x834ed8ef0 [07:31:05.169] commandCollected = false [07:31:05.169] needCleanup = false [07:31:05.169] address = [07:31:05.169] isTopLevel = [07:31:05.169] isCompleteQuery = [07:31:05.169] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x834ed7780, queryString=0x834d87100 "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=0x843f09ba8, qc=0x820f43c50) at ../src/backend/tcop/utility.c:1030 [07:31:05.169] isAtomicContext = false [07:31:05.169] parsetree = 0x834ed8ef0 [07:31:05.169] readonly_flags = [07:31:05.169] pstate = 0x834d95500 [07:31:05.169] isTopLevel = [07:31:05.169] #29 0x0000000000904668 in ProcessUtility (pstmt=0x18cfa, queryString=0x6 , readOnlyTree=, context=712700922, params=0x0, queryEnv=0x0, dest=0x843f09ba8, qc=0x820f43c50) at ../src/backend/tcop/utility.c:523 [07:31:05.169] No locals. [07:31:05.169] #30 0x00000000009041a3 in PortalRunUtility (portal=0x834e5c100, pstmt=0x834ed7780, isTopLevel=, setHoldSnapshot=, dest=0x843f09ba8, qc=0x820f43c50) at ../src/backend/tcop/pquery.c:1158 [07:31:05.169] No locals. [07:31:05.169] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x834e5c100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x843f09ba8, altdest=altdest@entry=0x843f09ba8, qc=0x820f43c50) at ../src/backend/tcop/pquery.c:1323 [07:31:05.169] pstmt = 0x834ed7780 [07:31:05.169] stmtlist_item__state = {l = 0x843f09b58, i = 0} [07:31:05.169] active_snapshot_set = false [07:31:05.169] stmtlist_item = 0x843f09b70 [07:31:05.169] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x834e5c100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x843f09ba8, altdest=altdest@entry=0x843f09ba8, qc=0x820f43c50) at ../src/backend/tcop/pquery.c:791 [07:31:05.169] _local_sigjmp_buf = {{_sjb = {9449597, 35247210752, 34912615240, 34912615472, 34912615248, 35247226880, 12106744, 12140056, 35247162239, 35247717104, 4294967984, 0}}} [07:31:05.169] _save_exception_stack = 0x820f43d20 [07:31:05.169] _save_context_stack = 0x0 [07:31:05.169] _do_rethrow = false [07:31:05.169] saveTopTransactionResourceOwner = 0x834e69058 [07:31:05.169] saveTopTransactionContext = 0x834e60000 [07:31:05.169] saveActivePortal = 0x0 [07:31:05.169] saveResourceOwner = 0x834e69058 [07:31:05.169] savePortalContext = 0x0 [07:31:05.169] saveMemoryContext = 0x834e60000 [07:31:05.169] result = [07:31:05.169] nprocessed = [07:31:05.169] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x834d87100 "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 [07:31:05.169] cmdtaglen = 15 [07:31:05.169] snapshot_set = [07:31:05.169] per_parsetree_context = 0x0 [07:31:05.169] plantree_list = [07:31:05.169] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:05.169] format = 0 [07:31:05.169] parsetree = 0x834d88f28 [07:31:05.169] commandTag = [07:31:05.169] cmdtagname = [07:31:05.169] querytree_list = [07:31:05.169] portal = 0x834e5c100 [07:31:05.169] receiver = 0x843f09ba8 [07:31:05.169] parsetree_item__state = {l = 0x834ed7730, i = 0} [07:31:05.169] msec_str = "\000\000\000\000\b", '\000' , "ht\321f\000\000\000\000\026\236\260\230+\022\001D" [07:31:05.169] dest = DestRemote [07:31:05.169] was_logged = [07:31:05.169] oldcontext = 0x834e60000 [07:31:05.169] parsetree_list = 0x834ed7730 [07:31:05.169] use_implicit_block = false [07:31:05.169] parsetree_item = 0x834ed7748 [07:31:05.169] save_log_statement_stats = [07:31:05.169] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:05.169] query_string = 0x834d87100 "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$$;" [07:31:05.169] input_message = {data = 0x834d87100 "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} [07:31:05.169] firstchar = [07:31:05.169] local_sigjmp_buf = {{_sjb = {9433510, 34912615712, 34912615672, 34912616256, 12148792, 1, 8192, 8388608, 34912600959, 0, 0, 1}}} [07:31:05.169] send_ready_for_query = false [07:31:05.169] idle_in_transaction_timeout_enabled = false [07:31:05.169] idle_session_timeout_enabled = false [07:31:05.169] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:05.169] bsdata = [07:31:05.169] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x820f44a64 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x820f449a0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:05.169] pid = [07:31:05.169] #37 0x0000000000858968 in BackendStartup (client_sock=0x820f449a0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:05.169] startup_data = {canAcceptConnections = CAC_OK} [07:31:05.169] bn = 0x834d93088 [07:31:05.169] pid = [07:31:05.169] __error = [07:31:05.169] save_errno = [07:31:05.169] __error = [07:31:05.169] __error = [07:31:05.169] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:05.169] s = {sock = 8, raddr = {addr = {ss_len = 16 '\020', ss_family = 1 '\001', __ss_pad1 = "\000\000\000\000\000", __ss_align = 0, __ss_pad2 = "\000\217\3304\b", '\000' , "J\364 \b\000\000\000h\225\330*\b\000\000\000\v\000\000\000\000\000\000\000^\037\331*\b", '\000' , "@J\364 \b\000\000\000TC\205\000\000\000\000\000PJ\364 \b", '\000' }, salen = 16}} [07:31:05.169] i = 0 [07:31:05.169] now = [07:31:05.169] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 712326274, events = 8, fd = 0, user_data = 0x820f44950}, {pos = 886969816, events = 8, fd = 552880096, user_data = 0x0}, {pos = 0, events = 0, fd = 1180828069, user_data = 0x23b8bae8430a}, {pos = 711493536, events = 8, fd = 711564664, user_data = 0x820f44468}, {pos = 552879328, events = 8, fd = 552879208, user_data = 0x23b8bae8430a}, {pos = 711472008, events = 8, fd = 711564664, user_data = 0x820f44498}, {pos = 552879376, events = 8, fd = 552879256, user_data = 0x82a692194}, {pos = 558310408, events = 8, fd = 711532948, user_data = 0x820f44500}, {pos = -1159203782, events = 9144, fd = 713355312, user_data = 0x1}, {pos = 552879408, events = 8, fd = -1159183606, user_data = 0x82a67b858}, {pos = 711564664, events = 8, fd = 552879368, user_data = 0x820f44580}, {pos = 552879368, events = 8, fd = 711527692, user_data = 0x821472408}, {pos = 711527692, events = 8, fd = 552879472, user_data = 0x23b8bae7f43a}, {pos = 552879512, events = 8, fd = 552879960, user_data = 0x820f44580}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 4057836758, fd = 558334008, user_data = 0x800000001}, {pos = 558310408, events = 8, fd = 711472008, user_data = 0x821477288}, {pos = 711440472, events = 8, fd = 558310408, user_data = 0x820f44608}, {pos = 552880072, events = 8, fd = 552879600, user_data = 0x23b8bae83ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 558334008, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 552880328, user_data = 0x21472408}, {pos = 552880144, events = 8, fd = 552879744, user_data = 0x1}, {pos = 552880072, events = 8, fd = 32, user_data = 0x820f44670}, {pos = -1159185805, events = 9144, fd = 552880016, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821478038}, {pos = 1, events = 8, fd = 558310408, user_data = 0x82a67b858}, {pos = 552880328, events = 8, fd = 552880144, user_data = 0x820f44680}, {pos = 0, events = 0, fd = 558280712, user_data = 0x20}, {pos = 552880128, events = 8, fd = -1159210265, user_data = 0x82146b008}, {pos = 558281736, events = 8, fd = 558282760, user_data = 0x82146bc08}, {pos = 558297096, events = 8, fd = 558298120, user_data = 0x82146f808}, {pos = 558300168, events = 8, fd = 558301192, user_data = 0x821470408}, {pos = 558303240, events = 8, fd = 558304264, user_data = 0x821471008}, {pos = 558306312, events = 8, fd = 558307336, user_data = 0x821471c08}, {pos = 558309384, events = 8, fd = 558310408, user_data = 0x821472808}, {pos = 558312456, events = 8, fd = 558313480, user_data = 0x821473408}, {pos = 558315528, events = 8, fd = 558316552, user_data = 0x821474008}, {pos = 558318600, events = 8, fd = 558319624, user_data = 0x821474c08}, {pos = 558325768, events = 8, fd = 558326792, user_data = 0x821476808}, {pos = 558328840, events = 8, fd = 558280712, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821478038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 552880328, events = 8, fd = 552879744, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 558334008, user_data = 0x1}, {pos = 558280712, events = 8, fd = 314, user_data = 0x820f448b0}, {pos = -1159211537, events = 9144, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 558334008, user_data = 0x1}, {pos = 558310408, events = 8, fd = 886534144, user_data = 0x1}, {pos = 886534548, events = 8, fd = 0, user_data = 0x820f44880}, {pos = 718869868, events = 8, fd = 1, user_data = 0x834d77000}, {pos = 552880304, events = 8, fd = 718866178, user_data = 0x82a7ad170 }, {pos = 12073832, events = 0, fd = 712692080, user_data = 0x821472408}, {pos = 552880528, events = 8, fd = -1159212066, user_data = 0x834d95800}, {pos = 1, events = 0, fd = -1159212450, user_data = 0x82146b008}, {pos = 552880312, events = 8, fd = 552880528, user_data = 0x1c38}, {pos = 886607616, events = 8, fd = -1159132784, user_data = 0x0}, {pos = 552862591, events = 8, fd = 7886599, user_data = 0x820f44940}, {pos = 718828560, events = 8, fd = 713355312, user_data = 0x82a851310}, {pos = 0, events = 0, fd = 8128, user_data = 0x820f44970}, {pos = 718871453, events = 8, fd = 886534144, user_data = 0x4dd7}, {pos = 552880592, events = 8, fd = 718838010, user_data = 0x0}, {pos = 0, events = 0, fd = 1180828069, user_data = 0x0}} [07:31:05.169] last_touch_time = 1725002856 [07:31:05.169] last_lockfile_recheck_time = 1725002856 [07:31:05.169] nevents = 1 [07:31:05.169] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x820f44fb0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:05.169] userDoption = [07:31:05.169] listen_addr_saved = [07:31:05.169] output_config_variable = [07:31:05.169] opt = [07:31:05.169] status = [07:31:05.169] #40 0x000000000079240c in main (argc=8, argv=0x820f44fb0) at ../src/backend/main/main.c:197 [07:31:05.169] do_check_root = [07:31:05.183] [07:31:05.183] [07:31:05.183] [07:31:05.254] dumping /tmp/cores/postgres.19982.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:05.375] [New LWP 101679] [07:31:05.454] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [07:31:05.454] Program terminated with signal SIGABRT, Aborted. [07:31:05.454] Sent by thr_kill() from pid 19982 and user 1003. [07:31:05.454] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:05.995] To enable execution of this file add [07:31:05.995] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:05.995] line to your configuration file "/.config/gdb/gdbinit". [07:31:05.995] To completely disable this security protection add [07:31:05.995] set auto-load safe-path / [07:31:05.995] line to your configuration file "/.config/gdb/gdbinit". [07:31:05.995] For more information about this security protection see the [07:31:05.995] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:05.995] info "(gdb)Auto-loading safe path" [07:31:05.995] [07:31:05.995] Thread 1 (LWP 101679): [07:31:05.995] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:05.995] No symbol table info available. [07:31:05.995] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:05.995] No symbol table info available. [07:31:05.995] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:05.995] No symbol table info available. [07:31:05.995] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x833f33e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:05.995] No locals. [07:31:05.995] #4 0x0000000833f3d063 in PLy_generate_spi_exceptions (mod=0x843ce1ad0, base=0x83383a010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:05.995] dict = [07:31:05.995] found = true [07:31:05.995] sqlstate = [07:31:05.995] exc = 0x8338f2c10 [07:31:05.995] entry = 0x0 [07:31:05.995] i = 66 [07:31:05.995] #5 PLy_add_exceptions (plpy=0x84224ac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:05.995] hash_ctl = {num_partitions = 35468725616, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x8421e4d40, match = 0x8421e4d40, keycopy = 0x843cc9040, alloc = 0x842242130, hcxt = 0x8430d6ac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:05.995] excmod = 0x843ce1ad0 [07:31:05.995] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:05.995] m = 0x84224ac50 [07:31:05.995] #7 0x0000000842ee2f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #8 0x0000000842ee12e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #9 0x0000000842e01c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #10 0x0000000842eabd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #11 0x0000000842eae795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #12 0x0000000842daf90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #13 0x0000000842daf705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #14 0x0000000842edd284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #15 0x0000000842e95996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #16 0x0000000842e01e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #17 0x0000000842dae538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #18 0x0000000842dae467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #19 0x0000000842edcb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #20 0x0000000842eddef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:05.995] No symbol table info available. [07:31:05.995] #21 0x0000000833f3c476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:05.995] inited = false [07:31:05.995] #22 0x0000000833f3c3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:05.995] funcoid = 49152 [07:31:05.995] tuple = [07:31:05.995] is_trigger = [07:31:05.995] procStruct = [07:31:05.995] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=49152) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:05.995] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000\000\300", '\000' } [07:31:05.995] fcinfo = 0x82123c678 [07:31:05.995] result = [07:31:05.995] __error = [07:31:05.995] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=49152) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:05.995] flinfo = {fn_addr = 0x833f3c370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832864400, fn_expr = 0x0} [07:31:05.995] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8328f6078 "test_setof_error", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8328f6258 "\nreturn 37\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8328a13b0, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=1000) at ../src/backend/catalog/pg_proc.c:703 [07:31:05.995] set_items = [07:31:05.995] save_nestlevel = 0 [07:31:05.995] myself = {classId = 1255, objectId = 49152, objectSubId = 0} [07:31:05.995] nulls = {false , true, true, true, true, true, false, true, true, true, true} [07:31:05.995] values = {49152, 34915731152, 2200, 10, 16456, 1120403456, 1148846080, 0, 0, 102, 0, 0, 0, 1, 118, 117, 0, 0, 25, 35207648176, 0, 0, 0, 0, 0, 35209020120, 0, 0, 0, 0} [07:31:05.995] replaces = {true } [07:31:05.995] procname = {data = "test_setof_error", '\000' } [07:31:05.995] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [07:31:05.995] paramModes = [07:31:05.995] variadicType = [07:31:05.995] proacl = 0x0 [07:31:05.995] parameterCount = [07:31:05.995] allParamCount = 0 [07:31:05.995] allParams = 0x8328a13c8 [07:31:05.995] detailmsg = [07:31:05.995] i = [07:31:05.995] rel = 0x83297d598 [07:31:05.995] tupDesc = 0x83297d8b8 [07:31:05.995] oldtup = 0x0 [07:31:05.995] tup = 0x8328a1258 [07:31:05.995] is_update = [07:31:05.995] retval = 49152 [07:31:05.995] addrs = [07:31:05.995] trfid = [07:31:05.995] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x832864500, stmt=, stmt@entry=0x8328f6028) at ../src/backend/commands/functioncmds.c:1257 [07:31:05.995] funcname = 0x8328f6078 "test_setof_error" [07:31:05.995] parameterTypes = 0x8328a13b0 [07:31:05.995] parameterTypes_list = 0x0 [07:31:05.995] allParameterTypes = 0x0 [07:31:05.995] parameterModes = 0x0 [07:31:05.995] parameterNames = 0x0 [07:31:05.995] inParameterNames_list = 0x0 [07:31:05.995] parameterDefaults = 0x0 [07:31:05.995] variadicArgType = 0 [07:31:05.995] requiredResultType = 0 [07:31:05.995] transformDefElem = [07:31:05.995] trftypes_list = [07:31:05.995] namespaceId = 2200 [07:31:05.995] aclresult = [07:31:05.995] as_clause = [07:31:05.995] language = [07:31:05.995] isWindowFunc = false [07:31:05.995] isStrict = false [07:31:05.995] security = false [07:31:05.995] isLeakProof = [07:31:05.995] volatility = 118 'v' [07:31:05.995] proconfig = 0x0 [07:31:05.995] procost = 100 [07:31:05.995] prorows = 1000 [07:31:05.995] prosupport = 0 [07:31:05.995] parallel = 117 'u' [07:31:05.995] languageTuple = [07:31:05.995] languageStruct = [07:31:05.995] languageOid = 16456 [07:31:05.995] languageValidator = 16455 [07:31:05.995] prorettype = 25 [07:31:05.995] returnsSet = true [07:31:05.995] trftypes = 0x0 [07:31:05.995] prosqlbody = 0x0 [07:31:05.995] probin_str = 0x0 [07:31:05.995] prosrc_str = 0x8328f6258 "\nreturn 37\n" [07:31:05.995] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x832864500, pstmt=pstmt@entry=0x832857bc0, queryString=queryString@entry=0x832856100 "CREATE FUNCTION test_setof_error() RETURNS SETOF text AS $$\nreturn 37\n$$ LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:05.995] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35207398656, 35207971711, 10, 0, 549755813888}}} [07:31:05.995] _save_exception_stack = 0x82123cd90 [07:31:05.995] _save_context_stack = 0x0 [07:31:05.995] _do_rethrow = false [07:31:05.995] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:05.995] parsetree = 0x8328f6028 [07:31:05.995] commandCollected = false [07:31:05.995] needCleanup = false [07:31:05.995] address = [07:31:05.995] isTopLevel = [07:31:05.995] isCompleteQuery = [07:31:05.995] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x832857bc0, queryString=0x832856100 "CREATE FUNCTION test_setof_error() RETURNS SETOF text AS $$\nreturn 37\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x832857f80, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:05.995] isAtomicContext = false [07:31:05.995] parsetree = 0x8328f6028 [07:31:05.995] readonly_flags = [07:31:05.995] pstate = 0x832864500 [07:31:05.995] isTopLevel = [07:31:05.995] #29 0x0000000000904668 in ProcessUtility (pstmt=0x18d2f, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x832857f80, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:05.995] No locals. [07:31:05.995] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292d100, pstmt=0x832857bc0, isTopLevel=, setHoldSnapshot=, dest=0x832857f80, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:05.995] No locals. [07:31:05.995] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292d100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x832857f80, altdest=altdest@entry=0x832857f80, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:05.995] pstmt = 0x832857bc0 [07:31:05.995] stmtlist_item__state = {l = 0x8328f6438, i = 0} [07:31:05.995] active_snapshot_set = false [07:31:05.995] stmtlist_item = 0x8328f6450 [07:31:05.995] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292d100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x832857f80, altdest=altdest@entry=0x832857f80, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:05.995] _local_sigjmp_buf = {{_sjb = {9449597, 35208220928, 34915732872, 34915733104, 34915732880, 35208658944, 12106744, 12140056, 35208168319, 35207348016, 4294967984, 0}}} [07:31:05.995] _save_exception_stack = 0x82123cf60 [07:31:05.995] _save_context_stack = 0x0 [07:31:05.995] _do_rethrow = false [07:31:05.995] saveTopTransactionResourceOwner = 0x8329b3d78 [07:31:05.995] saveTopTransactionContext = 0x832998000 [07:31:05.995] saveActivePortal = 0x0 [07:31:05.995] saveResourceOwner = 0x8329b3d78 [07:31:05.995] savePortalContext = 0x0 [07:31:05.995] saveMemoryContext = 0x832998000 [07:31:05.995] result = [07:31:05.995] nprocessed = [07:31:05.995] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "CREATE FUNCTION test_setof_error() RETURNS SETOF text AS $$\nreturn 37\n$$ LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [07:31:05.995] cmdtaglen = 15 [07:31:05.995] snapshot_set = [07:31:05.995] per_parsetree_context = 0x0 [07:31:05.995] plantree_list = [07:31:05.995] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:05.995] format = 0 [07:31:05.995] parsetree = 0x832857780 [07:31:05.995] commandTag = [07:31:05.995] cmdtagname = [07:31:05.995] querytree_list = [07:31:05.995] portal = 0x83292d100 [07:31:05.995] receiver = 0x832857f80 [07:31:05.995] parsetree_item__state = {l = 0x832857b70, i = 0} [07:31:05.995] msec_str = "\000\000\000\000\b", '\000' , "ht\321f\000\000\000\000\340ȉ\r\207X\251w" [07:31:05.995] dest = DestRemote [07:31:05.995] was_logged = [07:31:05.995] oldcontext = 0x832998000 [07:31:05.995] parsetree_list = 0x832857b70 [07:31:05.995] use_implicit_block = false [07:31:05.995] parsetree_item = 0x832857b88 [07:31:05.995] save_log_statement_stats = [07:31:05.995] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:05.995] query_string = 0x832856100 "CREATE FUNCTION test_setof_error() RETURNS SETOF text AS $$\nreturn 37\n$$ LANGUAGE plpython3u;" [07:31:05.995] input_message = {data = 0x832856100 "CREATE FUNCTION test_setof_error() RETURNS SETOF text AS $$\nreturn 37\n$$ LANGUAGE plpython3u;", len = 94, maxlen = 1024, cursor = 94} [07:31:05.995] firstchar = [07:31:05.995] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:05.995] send_ready_for_query = false [07:31:05.995] idle_in_transaction_timeout_enabled = false [07:31:05.995] idle_session_timeout_enabled = false [07:31:05.995] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:05.995] bsdata = [07:31:05.995] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:05.995] pid = [07:31:05.995] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:05.995] startup_data = {canAcceptConnections = CAC_OK} [07:31:05.995] bn = 0x832857f00 [07:31:05.995] pid = [07:31:05.995] __error = [07:31:05.995] save_errno = [07:31:05.995] __error = [07:31:05.995] __error = [07:31:05.995] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:05.995] 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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:05.995] i = 0 [07:31:05.995] now = [07:31:05.995] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:05.995] last_touch_time = 1725002846 [07:31:05.995] last_lockfile_recheck_time = 1725002846 [07:31:05.995] nevents = 1 [07:31:05.995] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:05.995] userDoption = [07:31:05.995] listen_addr_saved = [07:31:05.995] output_config_variable = [07:31:05.995] opt = [07:31:05.995] status = [07:31:05.995] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:05.995] do_check_root = [07:31:06.007] [07:31:06.007] [07:31:06.007] [07:31:06.077] dumping /tmp/cores/postgres.20064.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:06.200] [New LWP 101641] [07:31:06.280] Core was generated by `postgres: postgres regression_jsonb_plpython [local] CREATE FUNCTION'. [07:31:06.280] Program terminated with signal SIGABRT, Aborted. [07:31:06.280] Sent by thr_kill() from pid 20064 and user 1003. [07:31:06.280] #0 0x000000082c2b541a in thr_kill () from /lib/libc.so.7 [07:31:06.815] To enable execution of this file add [07:31:06.815] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:06.815] line to your configuration file "/.config/gdb/gdbinit". [07:31:06.815] To completely disable this security protection add [07:31:06.815] set auto-load safe-path / [07:31:06.815] line to your configuration file "/.config/gdb/gdbinit". [07:31:06.815] For more information about this security protection see the [07:31:06.815] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:06.815] info "(gdb)Auto-loading safe path" [07:31:06.815] [07:31:06.815] Thread 1 (LWP 101641): [07:31:06.815] #0 0x000000082c2b541a in thr_kill () from /lib/libc.so.7 [07:31:06.815] No symbol table info available. [07:31:06.815] #1 0x000000082c22ee64 in raise () from /lib/libc.so.7 [07:31:06.815] No symbol table info available. [07:31:06.815] #2 0x000000082c2df6f9 in abort () from /lib/libc.so.7 [07:31:06.815] No symbol table info available. [07:31:06.815] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x839c13e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:06.815] No locals. [07:31:06.815] #4 0x0000000839c1d063 in PLy_generate_spi_exceptions (mod=0x849975ad0, base=0x838d0d010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:06.815] dict = [07:31:06.815] found = true [07:31:06.815] sqlstate = [07:31:06.815] exc = 0x838d5fc10 [07:31:06.815] entry = 0x0 [07:31:06.815] i = 66 [07:31:06.815] #5 PLy_add_exceptions (plpy=0x847a16c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:06.815] hash_ctl = {num_partitions = 35560787312, ssize = 7, dsize = 2, max_dsize = 34916721776, keysize = 4, entrysize = 16, hash = 0x8479b0d40, match = 0x8479b0d40, keycopy = 0x847a19000, alloc = 0x847a0e0f0, hcxt = 0x846e87ac0 <_PyRuntime+166184>, hctl = 0x82132e4c0} [07:31:06.815] excmod = 0x849975ad0 [07:31:06.815] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:06.815] m = 0x847a16c50 [07:31:06.815] #7 0x0000000846c93f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #8 0x0000000846c922e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #9 0x0000000846bb2c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #10 0x0000000846c5cd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #11 0x0000000846c5f795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #12 0x0000000846b6090f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #13 0x0000000846b60705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #14 0x0000000846c8e284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #15 0x0000000846c46996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #16 0x0000000846bb2e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #17 0x0000000846b5f538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #18 0x0000000846b5f467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #19 0x0000000846c8db30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #20 0x0000000846c8eef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:06.815] No symbol table info available. [07:31:06.815] #21 0x0000000839c1c476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:06.815] inited = false [07:31:06.815] #22 0x0000000839c1c3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:06.815] funcoid = 16394 [07:31:06.815] tuple = [07:31:06.815] is_trigger = [07:31:06.815] procStruct = [07:31:06.815] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82132ec48, collation=0, arg1=16394) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:06.815] fcinfodata = {fcinfo = {flinfo = 0x82132ec48, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82132ec98}, fcinfo_data = "H\3542!\b", '\000' , "\001\000\n@", '\000' } [07:31:06.815] fcinfo = 0x82132ec78 [07:31:06.815] result = [07:31:06.815] __error = [07:31:06.815] #24 OidFunctionCall1Coll (functionId=functionId@entry=16388, collation=collation@entry=0, arg1=arg1@entry=16394) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:06.815] flinfo = {fn_addr = 0x839c1c370 , fn_oid = 16388, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8364ba400, fn_expr = 0x0} [07:31:06.815] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8365fdf40 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16389, languageValidator=16388, prosrc=0x838c2b2c8 "\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=0x8364f7c18, allParameterTypes=0, parameterModes=0, parameterNames=35270917192, parameterDefaults=0x0, trftypes=35270917376, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [07:31:06.815] set_items = [07:31:06.815] save_nestlevel = 0 [07:31:06.815] myself = {classId = 1255, objectId = 16394, objectSubId = 0} [07:31:06.815] nulls = {false , true, true, false, true, false, false, true, true, true, true} [07:31:06.815] values = {16394, 34916723920, 2200, 10, 16389, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35270917144, 0, 0, 35270917192, 0, 35270917376, 35270666096, 0, 0, 0, 0} [07:31:06.815] replaces = {true } [07:31:06.815] procname = {data = "test1", '\000' } [07:31:06.815] referenced = {classId = 3576, objectId = 16393, objectSubId = 0} [07:31:06.815] paramModes = [07:31:06.815] variadicType = [07:31:06.815] proacl = 0x0 [07:31:06.815] parameterCount = [07:31:06.815] allParamCount = 1 [07:31:06.815] allParams = 0x8364f7c30 [07:31:06.815] detailmsg = [07:31:06.815] i = [07:31:06.815] rel = 0x8365d7a18 [07:31:06.815] tupDesc = 0x8365d7d38 [07:31:06.815] oldtup = 0x0 [07:31:06.815] tup = 0x836642c38 [07:31:06.815] is_update = [07:31:06.815] retval = 16394 [07:31:06.815] addrs = [07:31:06.815] trfid = [07:31:06.815] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8364ba500, stmt=, stmt@entry=0x8365fdef0) at ../src/backend/commands/functioncmds.c:1257 [07:31:06.815] funcname = 0x8365fdf40 "test1" [07:31:06.815] parameterTypes = 0x8364f7c18 [07:31:06.815] parameterTypes_list = 0x836642fa8 [07:31:06.815] allParameterTypes = 0x0 [07:31:06.815] parameterModes = 0x0 [07:31:06.815] parameterNames = 0x8364f7c48 [07:31:06.815] inParameterNames_list = 0x8364f7bc8 [07:31:06.815] parameterDefaults = 0x0 [07:31:06.815] variadicArgType = 0 [07:31:06.815] requiredResultType = 0 [07:31:06.815] transformDefElem = [07:31:06.815] trftypes_list = [07:31:06.815] namespaceId = 2200 [07:31:06.815] aclresult = [07:31:06.815] as_clause = [07:31:06.815] language = [07:31:06.815] isWindowFunc = false [07:31:06.815] isStrict = false [07:31:06.815] security = false [07:31:06.815] isLeakProof = [07:31:06.815] volatility = 118 'v' [07:31:06.815] proconfig = 0x0 [07:31:06.815] procost = 100 [07:31:06.815] prorows = 0 [07:31:06.815] prosupport = 0 [07:31:06.815] parallel = 117 'u' [07:31:06.815] languageTuple = [07:31:06.815] languageStruct = [07:31:06.815] languageOid = 16389 [07:31:06.815] languageValidator = 16388 [07:31:06.815] prorettype = 23 [07:31:06.815] returnsSet = false [07:31:06.815] trftypes = 0x8364f7d00 [07:31:06.815] prosqlbody = 0x0 [07:31:06.815] probin_str = 0x0 [07:31:06.815] prosrc_str = 0x838c2b2c8 "\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n" [07:31:06.815] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x8364ba500, pstmt=pstmt@entry=0x8365fc780, queryString=queryString@entry=0x8364ac100 "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=0x82132f490) at ../src/backend/tcop/utility.c:1655 [07:31:06.815] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34916724920, 34916725296, 34916724928, 12140056, 0, 35270665472, 35271934847, 10, 0, 549755813888}}} [07:31:06.815] _save_exception_stack = 0x82132f390 [07:31:06.815] _save_context_stack = 0x0 [07:31:06.815] _do_rethrow = false [07:31:06.815] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:06.815] parsetree = 0x8365fdef0 [07:31:06.815] commandCollected = false [07:31:06.815] needCleanup = false [07:31:06.815] address = [07:31:06.815] isTopLevel = [07:31:06.815] isCompleteQuery = [07:31:06.815] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x8365fc780, queryString=0x8364ac100 "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=0x838c2b468, qc=0x82132f490) at ../src/backend/tcop/utility.c:1030 [07:31:06.815] isAtomicContext = false [07:31:06.815] parsetree = 0x8365fdef0 [07:31:06.815] readonly_flags = [07:31:06.815] pstate = 0x8364ba500 [07:31:06.815] isTopLevel = [07:31:06.815] #29 0x0000000000904668 in ProcessUtility (pstmt=0x18d09, queryString=0x6 , readOnlyTree=, context=741037050, params=0x0, queryEnv=0x0, dest=0x838c2b468, qc=0x82132f490) at ../src/backend/tcop/utility.c:523 [07:31:06.815] No locals. [07:31:06.815] #30 0x00000000009041a3 in PortalRunUtility (portal=0x836581100, pstmt=0x8365fc780, isTopLevel=, setHoldSnapshot=, dest=0x838c2b468, qc=0x82132f490) at ../src/backend/tcop/pquery.c:1158 [07:31:06.815] No locals. [07:31:06.815] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x836581100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x838c2b468, altdest=altdest@entry=0x838c2b468, qc=0x82132f490) at ../src/backend/tcop/pquery.c:1323 [07:31:06.815] pstmt = 0x8365fc780 [07:31:06.815] stmtlist_item__state = {l = 0x838c2b418, i = 0} [07:31:06.815] active_snapshot_set = false [07:31:06.815] stmtlist_item = 0x838c2b430 [07:31:06.815] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x836581100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x838c2b468, altdest=altdest@entry=0x838c2b468, qc=0x82132f490) at ../src/backend/tcop/pquery.c:791 [07:31:06.815] _local_sigjmp_buf = {{_sjb = {9449597, 35271479552, 34916725640, 34916725872, 34916725648, 35271495680, 12106744, 12140056, 35271476095, 35271985904, 4294967984, 0}}} [07:31:06.815] _save_exception_stack = 0x82132f560 [07:31:06.815] _save_context_stack = 0x0 [07:31:06.815] _do_rethrow = false [07:31:06.815] saveTopTransactionResourceOwner = 0x83658da18 [07:31:06.815] saveTopTransactionContext = 0x836585000 [07:31:06.815] saveActivePortal = 0x0 [07:31:06.815] saveResourceOwner = 0x83658da18 [07:31:06.815] savePortalContext = 0x0 [07:31:06.815] saveMemoryContext = 0x836585000 [07:31:06.815] result = [07:31:06.815] nprocessed = [07:31:06.815] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x8364ac100 "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 [07:31:06.815] cmdtaglen = 15 [07:31:06.815] snapshot_set = [07:31:06.815] per_parsetree_context = 0x0 [07:31:06.815] plantree_list = [07:31:06.815] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:06.815] format = 0 [07:31:06.815] parsetree = 0x8364adf28 [07:31:06.815] commandTag = [07:31:06.815] cmdtagname = [07:31:06.815] querytree_list = [07:31:06.815] portal = 0x836581100 [07:31:06.815] receiver = 0x838c2b468 [07:31:06.815] parsetree_item__state = {l = 0x8365fc730, i = 0} [07:31:06.815] msec_str = "\000\000\000\000\b", '\000' , "jt\321f\000\000\000\000\240,3̺q\032\035" [07:31:06.815] dest = DestRemote [07:31:06.815] was_logged = [07:31:06.815] oldcontext = 0x836585000 [07:31:06.815] parsetree_list = 0x8365fc730 [07:31:06.815] use_implicit_block = false [07:31:06.815] parsetree_item = 0x8365fc748 [07:31:06.815] save_log_statement_stats = [07:31:06.815] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:06.815] query_string = 0x8364ac100 "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$$;" [07:31:06.815] input_message = {data = 0x8364ac100 "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} [07:31:06.815] firstchar = [07:31:06.815] local_sigjmp_buf = {{_sjb = {9433510, 34916726112, 34916726072, 34916726656, 12148792, 1, 8192, 8388608, 34916664191, 0, 0, 1}}} [07:31:06.815] send_ready_for_query = false [07:31:06.815] idle_in_transaction_timeout_enabled = false [07:31:06.815] idle_session_timeout_enabled = false [07:31:06.815] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:06.815] bsdata = [07:31:06.815] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x8213302a4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8213301e0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:06.815] pid = [07:31:06.815] #37 0x0000000000858968 in BackendStartup (client_sock=0x8213301e0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:06.815] startup_data = {canAcceptConnections = CAC_OK} [07:31:06.815] bn = 0x8364b8088 [07:31:06.815] pid = [07:31:06.815] __error = [07:31:06.815] save_errno = [07:31:06.815] __error = [07:31:06.815] __error = [07:31:06.815] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:06.815] 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\337J6\b", '\000' , "@\0023!\b\000\000\000hu\211*\b\000\000\000\v\000\000\000\000\000\000\000^\377\211*\b", '\000' , "\200\0023!\b\000\000\000TC\205\000\000\000\000\000\220\0023!\b", '\000' }, salen = 16}} [07:31:06.815] i = 0 [07:31:06.815] now = [07:31:06.815] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 740662402, events = 8, fd = 0, user_data = 0x821330190}, {pos = 911238616, events = 8, fd = 556990496, user_data = 0x0}, {pos = 0, events = 0, fd = 2039589196, user_data = 0xcc7a7e4d30a}, {pos = 739829664, events = 8, fd = 739900792, user_data = 0x82132fca8}, {pos = 556989728, events = 8, fd = 556989608, user_data = 0xcc7a7e4d30a}, {pos = 739808136, events = 8, fd = 739900792, user_data = 0x82132fcd8}, {pos = 556989776, events = 8, fd = 556989656, user_data = 0x82c198194}, {pos = 563500040, events = 8, fd = 739869076, user_data = 0x82132fd40}, {pos = -1478196166, events = 3271, fd = 741691440, user_data = 0x1}, {pos = 556989808, events = 8, fd = -1478175990, user_data = 0x82c181858}, {pos = 739900792, events = 8, fd = 556989768, user_data = 0x82132fdc0}, {pos = 556989768, events = 8, fd = 739863820, user_data = 0x821965408}, {pos = 739863820, events = 8, fd = 556989872, user_data = 0xcc7a7e4843a}, {pos = 556989912, events = 8, fd = 556990360, user_data = 0x82132fdc0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3172952964, fd = 563523640, user_data = 0x800000001}, {pos = 563500040, events = 8, fd = 739808136, user_data = 0x82196a288}, {pos = 739776600, events = 8, fd = 563500040, user_data = 0x82132fe48}, {pos = 556990472, events = 8, fd = 556990000, user_data = 0xcc7a7e4cca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 563523640, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556990728, user_data = 0x21965408}, {pos = 556990544, events = 8, fd = 556990144, user_data = 0x1}, {pos = 556990472, events = 8, fd = 32, user_data = 0x82132feb0}, {pos = -1478178189, events = 3271, fd = 556990416, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x82196b038}, {pos = 1, events = 8, fd = 563500040, user_data = 0x82c181858}, {pos = 556990728, events = 8, fd = 556990544, user_data = 0x82132fec0}, {pos = 0, events = 0, fd = 563470344, user_data = 0x20}, {pos = 556990528, events = 8, fd = -1478202649, user_data = 0x82195e008}, {pos = 563471368, events = 8, fd = 563472392, user_data = 0x82195ec08}, {pos = 563486728, events = 8, fd = 563487752, user_data = 0x821962808}, {pos = 563489800, events = 8, fd = 563490824, user_data = 0x821963408}, {pos = 563492872, events = 8, fd = 563493896, user_data = 0x821964008}, {pos = 563495944, events = 8, fd = 563496968, user_data = 0x821964c08}, {pos = 563499016, events = 8, fd = 563500040, user_data = 0x821965808}, {pos = 563502088, events = 8, fd = 563503112, user_data = 0x821966408}, {pos = 563505160, events = 8, fd = 563506184, user_data = 0x821967008}, {pos = 563508232, events = 8, fd = 563509256, user_data = 0x821967c08}, {pos = 563515400, events = 8, fd = 563516424, user_data = 0x821969808}, {pos = 563518472, events = 8, fd = 563470344, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x82196b038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556990728, events = 8, fd = 556990144, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 563523640, user_data = 0x1}, {pos = 563470344, events = 8, fd = 314, user_data = 0x8213300f0}, {pos = -1478203921, events = 3271, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 563523640, user_data = 0x1}, {pos = 563500040, events = 8, fd = 910802944, user_data = 0x1}, {pos = 910803348, events = 8, fd = 0, user_data = 0x8213300c0}, {pos = 713684332, events = 8, fd = 1, user_data = 0x83649c000}, {pos = 556990704, events = 8, fd = 713680642, user_data = 0x82c2b3170 }, {pos = 12073832, events = 0, fd = 741028208, user_data = 0x821965408}, {pos = 556990928, events = 8, fd = -1478204450, user_data = 0x8364ba800}, {pos = 1, events = 0, fd = -1478204834, user_data = 0x82195e008}, {pos = 556990712, events = 8, fd = 556990928, user_data = 0x1c38}, {pos = 910876416, events = 8, fd = -1478125168, user_data = 0x0}, {pos = 556991359, events = 8, fd = 7886599, user_data = 0x821330180}, {pos = 713643024, events = 8, fd = 741691440, user_data = 0x82c357310}, {pos = 0, events = 0, fd = 8128, user_data = 0x8213301b0}, {pos = 713685917, events = 8, fd = 910802944, user_data = 0x4e56}, {pos = 556990992, events = 8, fd = 713652474, user_data = 0x0}, {pos = 0, events = 0, fd = 2039589196, user_data = 0x0}} [07:31:06.815] last_touch_time = 1725002857 [07:31:06.815] last_lockfile_recheck_time = 1725002857 [07:31:06.815] nevents = 1 [07:31:06.815] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x8213307f8) at ../src/backend/postmaster/postmaster.c:1346 [07:31:06.815] userDoption = [07:31:06.815] listen_addr_saved = [07:31:06.815] output_config_variable = [07:31:06.815] opt = [07:31:06.815] status = [07:31:06.815] #40 0x000000000079240c in main (argc=8, argv=0x8213307f8) at ../src/backend/main/main.c:197 [07:31:06.815] do_check_root = [07:31:06.827] [07:31:06.827] [07:31:06.827] [07:31:06.894] dumping /tmp/cores/postgres.20138.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:07.014] [New LWP 100110] [07:31:07.091] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [07:31:07.091] Program terminated with signal SIGABRT, Aborted. [07:31:07.091] Sent by thr_kill() from pid 20138 and user 1003. [07:31:07.091] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:07.638] To enable execution of this file add [07:31:07.638] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:07.638] line to your configuration file "/.config/gdb/gdbinit". [07:31:07.638] To completely disable this security protection add [07:31:07.638] set auto-load safe-path / [07:31:07.638] line to your configuration file "/.config/gdb/gdbinit". [07:31:07.638] For more information about this security protection see the [07:31:07.638] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:07.638] info "(gdb)Auto-loading safe path" [07:31:07.638] [07:31:07.638] Thread 1 (LWP 100110): [07:31:07.638] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:07.638] No symbol table info available. [07:31:07.638] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:07.638] No symbol table info available. [07:31:07.638] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:07.638] No symbol table info available. [07:31:07.638] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x8341e3e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:07.638] No locals. [07:31:07.638] #4 0x00000008341ed063 in PLy_generate_spi_exceptions (mod=0x843509ad0, base=0x8338ea010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:07.638] dict = [07:31:07.638] found = true [07:31:07.638] sqlstate = [07:31:07.638] exc = 0x8339a2c10 [07:31:07.638] entry = 0x0 [07:31:07.638] i = 66 [07:31:07.638] #5 PLy_add_exceptions (plpy=0x83eb46c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:07.638] hash_ctl = {num_partitions = 35411037552, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x83eae0d40, match = 0x83eae0d40, keycopy = 0x8434f1000, alloc = 0x83eb3e0f0, hcxt = 0x8415bdac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:07.638] excmod = 0x843509ad0 [07:31:07.638] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:07.638] m = 0x83eb46c50 [07:31:07.638] #7 0x00000008413c9f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #8 0x00000008413c82e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #9 0x00000008412e8c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #10 0x0000000841392d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #11 0x0000000841395795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #12 0x000000084129690f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #13 0x0000000841296705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #14 0x00000008413c4284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #15 0x000000084137c996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #16 0x00000008412e8e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #17 0x0000000841295538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #18 0x0000000841295467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #19 0x00000008413c3b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #20 0x00000008413c4ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:07.638] No symbol table info available. [07:31:07.638] #21 0x00000008341ec476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:07.638] inited = false [07:31:07.638] #22 0x00000008341ec3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:07.638] funcoid = 57344 [07:31:07.638] tuple = [07:31:07.638] is_trigger = [07:31:07.638] procStruct = [07:31:07.638] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=57344) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:07.638] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000\000\340", '\000' } [07:31:07.638] fcinfo = 0x82123c678 [07:31:07.638] result = [07:31:07.638] __error = [07:31:07.638] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=57344) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:07.638] flinfo = {fn_addr = 0x8341ec370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832864400, fn_expr = 0x0} [07:31:07.638] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8328f6978 "users_insert", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2279, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8328f6b48 "if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fname\"][:1] + \"_\" + TD[\"new\"][\"lname\"]\n\trv = \"MODIFY\"\n"..., probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8328a13b0, 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 [07:31:07.638] set_items = [07:31:07.638] save_nestlevel = 0 [07:31:07.638] myself = {classId = 1255, objectId = 57344, objectSubId = 0} [07:31:07.638] nulls = {false , true, true, true, true, true, false, true, true, true, true} [07:31:07.638] values = {57344, 34915731152, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 2279, 35207648176, 0, 0, 0, 0, 0, 35209019448, 0, 0, 0, 0} [07:31:07.638] replaces = {true } [07:31:07.638] procname = {data = "users_insert", '\000' } [07:31:07.638] referenced = {classId = 1247, objectId = 2279, objectSubId = 0} [07:31:07.638] paramModes = [07:31:07.638] variadicType = [07:31:07.638] proacl = 0x0 [07:31:07.638] parameterCount = [07:31:07.638] allParamCount = 0 [07:31:07.638] allParams = 0x8328a13c8 [07:31:07.638] detailmsg = [07:31:07.638] i = [07:31:07.638] rel = 0x832986f98 [07:31:07.638] tupDesc = 0x8329872b8 [07:31:07.638] oldtup = 0x0 [07:31:07.638] tup = 0x8328a13f8 [07:31:07.638] is_update = [07:31:07.638] retval = 57344 [07:31:07.638] addrs = [07:31:07.638] trfid = [07:31:07.638] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x832864500, stmt=, stmt@entry=0x8328f6928) at ../src/backend/commands/functioncmds.c:1257 [07:31:07.638] funcname = 0x8328f6978 "users_insert" [07:31:07.638] parameterTypes = 0x8328a13b0 [07:31:07.638] parameterTypes_list = 0x0 [07:31:07.638] allParameterTypes = 0x0 [07:31:07.638] parameterModes = 0x0 [07:31:07.638] parameterNames = 0x0 [07:31:07.638] inParameterNames_list = 0x0 [07:31:07.638] parameterDefaults = 0x0 [07:31:07.638] variadicArgType = 0 [07:31:07.638] requiredResultType = 0 [07:31:07.638] transformDefElem = [07:31:07.638] trftypes_list = [07:31:07.638] namespaceId = 2200 [07:31:07.638] aclresult = [07:31:07.638] as_clause = [07:31:07.638] language = [07:31:07.638] isWindowFunc = false [07:31:07.638] isStrict = false [07:31:07.638] security = false [07:31:07.638] isLeakProof = [07:31:07.638] volatility = 118 'v' [07:31:07.638] proconfig = 0x0 [07:31:07.638] procost = 100 [07:31:07.638] prorows = 0 [07:31:07.638] prosupport = 0 [07:31:07.638] parallel = 117 'u' [07:31:07.638] languageTuple = [07:31:07.638] languageStruct = [07:31:07.638] languageOid = 16456 [07:31:07.638] languageValidator = 16455 [07:31:07.638] prorettype = 2279 [07:31:07.638] returnsSet = false [07:31:07.638] trftypes = 0x0 [07:31:07.638] prosqlbody = 0x0 [07:31:07.638] probin_str = 0x0 [07:31:07.638] prosrc_str = 0x8328f6b48 "if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fname\"][:1] + \"_\" + TD[\"new\"][\"lname\"]\n\trv = \"MODIFY\"\n"... [07:31:07.638] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x832864500, pstmt=pstmt@entry=0x8328f5398, queryString=queryString@entry=0x832856100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:07.638] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35207398656, 35207971711, 10, 0, 549755813888}}} [07:31:07.638] _save_exception_stack = 0x82123cd90 [07:31:07.638] _save_context_stack = 0x0 [07:31:07.638] _do_rethrow = false [07:31:07.638] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:07.638] parsetree = 0x8328f6928 [07:31:07.638] commandCollected = false [07:31:07.638] needCleanup = false [07:31:07.638] address = [07:31:07.638] isTopLevel = [07:31:07.638] isCompleteQuery = [07:31:07.638] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x8328f5398, queryString=0x832856100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x832857f10, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:07.638] isAtomicContext = false [07:31:07.638] parsetree = 0x8328f6928 [07:31:07.638] readonly_flags = [07:31:07.638] pstate = 0x832864500 [07:31:07.638] isTopLevel = [07:31:07.638] #29 0x0000000000904668 in ProcessUtility (pstmt=0x1870e, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x832857f10, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:07.638] No locals. [07:31:07.638] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292d100, pstmt=0x8328f5398, isTopLevel=, setHoldSnapshot=, dest=0x832857f10, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:07.638] No locals. [07:31:07.638] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292d100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x832857f10, altdest=altdest@entry=0x832857f10, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:07.638] pstmt = 0x8328f5398 [07:31:07.638] stmtlist_item__state = {l = 0x8328f6f18, i = 0} [07:31:07.638] active_snapshot_set = false [07:31:07.638] stmtlist_item = 0x8328f6f30 [07:31:07.638] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292d100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x832857f10, altdest=altdest@entry=0x832857f10, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:07.638] _local_sigjmp_buf = {{_sjb = {9449597, 35208220928, 34915732872, 34915733104, 34915732880, 35208695808, 12106744, 12140056, 35208168319, 35207993096, 4294967984, 0}}} [07:31:07.638] _save_exception_stack = 0x82123cf60 [07:31:07.638] _save_context_stack = 0x0 [07:31:07.638] _do_rethrow = false [07:31:07.638] saveTopTransactionResourceOwner = 0x832934fa0 [07:31:07.638] saveTopTransactionContext = 0x8329a1000 [07:31:07.638] saveActivePortal = 0x0 [07:31:07.638] saveResourceOwner = 0x832934fa0 [07:31:07.638] savePortalContext = 0x0 [07:31:07.638] saveMemoryContext = 0x8329a1000 [07:31:07.638] result = [07:31:07.638] nprocessed = [07:31:07.638] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"...) at ../src/backend/tcop/postgres.c:1284 [07:31:07.638] cmdtaglen = 15 [07:31:07.638] snapshot_set = [07:31:07.638] per_parsetree_context = 0x0 [07:31:07.638] plantree_list = [07:31:07.638] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:07.638] format = 0 [07:31:07.638] parsetree = 0x832857cc0 [07:31:07.638] commandTag = [07:31:07.638] cmdtagname = [07:31:07.638] querytree_list = [07:31:07.638] portal = 0x83292d100 [07:31:07.638] receiver = 0x832857f10 [07:31:07.638] parsetree_item__state = {l = 0x8328f5348, i = 0} [07:31:07.638] msec_str = "\000\000\000\000\b", '\000' , "jt\321f\000\000\000\000$\360\312\004\231:\306\301" [07:31:07.638] dest = DestRemote [07:31:07.638] was_logged = [07:31:07.638] oldcontext = 0x8329a1000 [07:31:07.638] parsetree_list = 0x8328f5348 [07:31:07.638] use_implicit_block = false [07:31:07.638] parsetree_item = 0x8328f5360 [07:31:07.638] save_log_statement_stats = [07:31:07.638] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:07.638] query_string = 0x832856100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"... [07:31:07.638] input_message = {data = 0x832856100 "CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fn"..., len = 389, maxlen = 1024, cursor = 389} [07:31:07.638] firstchar = [07:31:07.638] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:07.638] send_ready_for_query = false [07:31:07.638] idle_in_transaction_timeout_enabled = false [07:31:07.638] idle_session_timeout_enabled = false [07:31:07.638] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:07.638] bsdata = [07:31:07.638] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:07.638] pid = [07:31:07.638] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:07.638] startup_data = {canAcceptConnections = CAC_OK} [07:31:07.638] bn = 0x832857f00 [07:31:07.638] pid = [07:31:07.638] __error = [07:31:07.638] save_errno = [07:31:07.638] __error = [07:31:07.638] __error = [07:31:07.638] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:07.638] 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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:07.638] i = 0 [07:31:07.638] now = [07:31:07.638] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:07.639] last_touch_time = 1725002846 [07:31:07.639] last_lockfile_recheck_time = 1725002846 [07:31:07.639] nevents = 1 [07:31:07.639] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:07.639] userDoption = [07:31:07.639] listen_addr_saved = [07:31:07.639] output_config_variable = [07:31:07.639] opt = [07:31:07.639] status = [07:31:07.639] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:07.639] do_check_root = [07:31:07.651] [07:31:07.651] [07:31:07.651] [07:31:07.722] dumping /tmp/cores/postgres.20232.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:07.850] [New LWP 101617] [07:31:07.928] Core was generated by `postgres: postgres regression_ltree_plpython [local] CREATE FUNCTION'. [07:31:07.928] Program terminated with signal SIGABRT, Aborted. [07:31:07.928] Sent by thr_kill() from pid 20232 and user 1003. [07:31:07.928] #0 0x000000082a44441a in thr_kill () from /lib/libc.so.7 [07:31:08.466] To enable execution of this file add [07:31:08.466] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:08.466] line to your configuration file "/.config/gdb/gdbinit". [07:31:08.466] To completely disable this security protection add [07:31:08.466] set auto-load safe-path / [07:31:08.466] line to your configuration file "/.config/gdb/gdbinit". [07:31:08.466] For more information about this security protection see the [07:31:08.466] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:08.466] info "(gdb)Auto-loading safe path" [07:31:08.466] [07:31:08.466] Thread 1 (LWP 101617): [07:31:08.466] #0 0x000000082a44441a in thr_kill () from /lib/libc.so.7 [07:31:08.466] No symbol table info available. [07:31:08.466] #1 0x000000082a3bde64 in raise () from /lib/libc.so.7 [07:31:08.466] No symbol table info available. [07:31:08.466] #2 0x000000082a46e6f9 in abort () from /lib/libc.so.7 [07:31:08.466] No symbol table info available. [07:31:08.466] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x840d53e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:08.466] No locals. [07:31:08.466] #4 0x0000000840d5d063 in PLy_generate_spi_exceptions (mod=0x8463dda80, base=0x83fd1f010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:08.466] dict = [07:31:08.466] found = true [07:31:08.466] sqlstate = [07:31:08.466] exc = 0x83fd77c10 [07:31:08.466] entry = 0x0 [07:31:08.466] i = 66 [07:31:08.466] #5 PLy_add_exceptions (plpy=0x84533ad40) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:08.466] hash_ctl = {num_partitions = 35520040304, ssize = 7, dsize = 2, max_dsize = 34908594224, keysize = 4, entrysize = 16, hash = 0x8452d4d40, match = 0x8452d4d40, keycopy = 0x8463c4fc0, alloc = 0x8453320b0, hcxt = 0x844d4aac0 <_PyRuntime+166184>, hctl = 0x820b6e080} [07:31:08.466] excmod = 0x8463dda80 [07:31:08.466] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:08.466] m = 0x84533ad40 [07:31:08.466] #7 0x0000000844b56f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #8 0x0000000844b552e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #9 0x0000000844a75c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #10 0x0000000844b1fd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #11 0x0000000844b22795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #12 0x0000000844a2390f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #13 0x0000000844a23705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #14 0x0000000844b51284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #15 0x0000000844b09996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #16 0x0000000844a75e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #17 0x0000000844a22538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #18 0x0000000844a22467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #19 0x0000000844b50b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #20 0x0000000844b51ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:08.466] No symbol table info available. [07:31:08.466] #21 0x0000000840d5c476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:08.466] inited = false [07:31:08.466] #22 0x0000000840d5c3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:08.466] funcoid = 16585 [07:31:08.466] tuple = [07:31:08.466] is_trigger = [07:31:08.466] procStruct = [07:31:08.466] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x820b6e808, collation=0, arg1=16585) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:08.466] fcinfodata = {fcinfo = {flinfo = 0x820b6e808, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x820b6e858}, fcinfo_data = "\b\350\266 \b", '\000' , "\001\000\311@", '\000' } [07:31:08.466] fcinfo = 0x820b6e838 [07:31:08.466] result = [07:31:08.466] __error = [07:31:08.466] #24 OidFunctionCall1Coll (functionId=functionId@entry=16580, collation=collation@entry=0, arg1=arg1@entry=16585) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:08.466] flinfo = {fn_addr = 0x840d5c370 , fn_oid = 16580, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834cfd400, fn_expr = 0x0} [07:31:08.466] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x834e40e20 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16581, languageValidator=16580, prosrc=0x83fc39080 "\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=0x834d3ac18, allParameterTypes=0, parameterModes=0, parameterNames=35246025800, parameterDefaults=0x0, trftypes=35246025984, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [07:31:08.466] set_items = [07:31:08.466] save_nestlevel = 0 [07:31:08.466] myself = {classId = 1255, objectId = 16585, objectSubId = 0} [07:31:08.466] nulls = {false , true, true, false, true, false, false, true, true, true, true} [07:31:08.466] values = {16585, 34908596368, 2200, 10, 16581, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35246025752, 0, 0, 35246025800, 0, 35246025984, 35246025848, 0, 0, 0, 0} [07:31:08.466] replaces = {true } [07:31:08.466] procname = {data = "test1", '\000' } [07:31:08.466] referenced = {classId = 3576, objectId = 16584, objectSubId = 0} [07:31:08.466] paramModes = [07:31:08.466] variadicType = [07:31:08.466] proacl = 0x0 [07:31:08.466] parameterCount = [07:31:08.466] allParamCount = 1 [07:31:08.466] allParams = 0x834d3ac30 [07:31:08.466] detailmsg = [07:31:08.466] i = [07:31:08.466] rel = 0x834e1ab88 [07:31:08.466] tupDesc = 0x834e1ad98 [07:31:08.466] oldtup = 0x0 [07:31:08.466] tup = 0x834e85838 [07:31:08.466] is_update = [07:31:08.466] retval = 16585 [07:31:08.466] addrs = [07:31:08.466] trfid = [07:31:08.466] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x834cfd500, stmt=, stmt@entry=0x834e40dd0) at ../src/backend/commands/functioncmds.c:1257 [07:31:08.466] funcname = 0x834e40e20 "test1" [07:31:08.466] parameterTypes = 0x834d3ac18 [07:31:08.466] parameterTypes_list = 0x834e85ba8 [07:31:08.466] allParameterTypes = 0x0 [07:31:08.466] parameterModes = 0x0 [07:31:08.466] parameterNames = 0x834d3ac48 [07:31:08.466] inParameterNames_list = 0x834d3abc8 [07:31:08.466] parameterDefaults = 0x0 [07:31:08.466] variadicArgType = 0 [07:31:08.466] requiredResultType = 0 [07:31:08.466] transformDefElem = [07:31:08.466] trftypes_list = [07:31:08.466] namespaceId = 2200 [07:31:08.466] aclresult = [07:31:08.466] as_clause = [07:31:08.466] language = [07:31:08.466] isWindowFunc = false [07:31:08.466] isStrict = false [07:31:08.466] security = false [07:31:08.466] isLeakProof = [07:31:08.466] volatility = 118 'v' [07:31:08.466] proconfig = 0x0 [07:31:08.466] procost = 100 [07:31:08.466] prorows = 0 [07:31:08.466] prosupport = 0 [07:31:08.466] parallel = 117 'u' [07:31:08.466] languageTuple = [07:31:08.466] languageStruct = [07:31:08.466] languageOid = 16581 [07:31:08.466] languageValidator = 16580 [07:31:08.466] prorettype = 23 [07:31:08.466] returnsSet = false [07:31:08.466] trftypes = 0x834d3ad00 [07:31:08.466] prosqlbody = 0x0 [07:31:08.466] probin_str = 0x0 [07:31:08.466] prosrc_str = 0x83fc39080 "\nplpy.info(repr(val))\nreturn len(val)\n" [07:31:08.466] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x834cfd500, pstmt=pstmt@entry=0x834e3f6a0, queryString=queryString@entry=0x834cef100 "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=0x820b6f050) at ../src/backend/tcop/utility.c:1655 [07:31:08.466] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34908597368, 34908597744, 34908597376, 12140056, 0, 35245774080, 35247096703, 10, 0, 549755813888}}} [07:31:08.466] _save_exception_stack = 0x820b6ef50 [07:31:08.466] _save_context_stack = 0x0 [07:31:08.466] _do_rethrow = false [07:31:08.466] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:08.466] parsetree = 0x834e40dd0 [07:31:08.466] commandCollected = false [07:31:08.466] needCleanup = false [07:31:08.466] address = [07:31:08.466] isTopLevel = [07:31:08.466] isCompleteQuery = [07:31:08.466] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x834e3f6a0, queryString=0x834cef100 "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=0x83fc391e0, qc=0x820b6f050) at ../src/backend/tcop/utility.c:1030 [07:31:08.466] isAtomicContext = false [07:31:08.466] parsetree = 0x834e40dd0 [07:31:08.466] readonly_flags = [07:31:08.466] pstate = 0x834cfd500 [07:31:08.466] isTopLevel = [07:31:08.466] #29 0x0000000000904668 in ProcessUtility (pstmt=0x18cf1, queryString=0x6 , readOnlyTree=, context=709116922, params=0x0, queryEnv=0x0, dest=0x83fc391e0, qc=0x820b6f050) at ../src/backend/tcop/utility.c:523 [07:31:08.466] No locals. [07:31:08.466] #30 0x00000000009041a3 in PortalRunUtility (portal=0x834dc4100, pstmt=0x834e3f6a0, isTopLevel=, setHoldSnapshot=, dest=0x83fc391e0, qc=0x820b6f050) at ../src/backend/tcop/pquery.c:1158 [07:31:08.466] No locals. [07:31:08.466] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x834dc4100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x83fc391e0, altdest=altdest@entry=0x83fc391e0, qc=0x820b6f050) at ../src/backend/tcop/pquery.c:1323 [07:31:08.466] pstmt = 0x834e3f6a0 [07:31:08.466] stmtlist_item__state = {l = 0x83fc39190, i = 0} [07:31:08.466] active_snapshot_set = false [07:31:08.466] stmtlist_item = 0x83fc391a8 [07:31:08.466] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x834dc4100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x83fc391e0, altdest=altdest@entry=0x83fc391e0, qc=0x820b6f050) at ../src/backend/tcop/pquery.c:791 [07:31:08.466] _local_sigjmp_buf = {{_sjb = {9449597, 35246588160, 34908598088, 34908598320, 34908598096, 35246604288, 12106744, 12140056, 35246572415, 35247094288, 4294967984, 0}}} [07:31:08.466] _save_exception_stack = 0x820b6f120 [07:31:08.466] _save_context_stack = 0x0 [07:31:08.466] _do_rethrow = false [07:31:08.466] saveTopTransactionResourceOwner = 0x834dd0698 [07:31:08.466] saveTopTransactionContext = 0x834dc8000 [07:31:08.466] saveActivePortal = 0x0 [07:31:08.466] saveResourceOwner = 0x834dd0698 [07:31:08.466] savePortalContext = 0x0 [07:31:08.466] saveMemoryContext = 0x834dc8000 [07:31:08.466] result = [07:31:08.466] nprocessed = [07:31:08.466] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x834cef100 "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 [07:31:08.466] cmdtaglen = 15 [07:31:08.466] snapshot_set = [07:31:08.466] per_parsetree_context = 0x0 [07:31:08.466] plantree_list = [07:31:08.466] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:08.466] format = 0 [07:31:08.466] parsetree = 0x834cf0ea8 [07:31:08.466] commandTag = [07:31:08.466] cmdtagname = [07:31:08.466] querytree_list = [07:31:08.466] portal = 0x834dc4100 [07:31:08.466] receiver = 0x83fc391e0 [07:31:08.466] parsetree_item__state = {l = 0x834e3f650, i = 0} [07:31:08.466] msec_str = "\000\000\000\000\b", '\000' , "lt\321f\000\000\000\000\bk6\032\240\277?\027" [07:31:08.466] dest = DestRemote [07:31:08.466] was_logged = [07:31:08.466] oldcontext = 0x834dc8000 [07:31:08.466] parsetree_list = 0x834e3f650 [07:31:08.466] use_implicit_block = false [07:31:08.466] parsetree_item = 0x834e3f668 [07:31:08.466] save_log_statement_stats = [07:31:08.466] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:08.466] query_string = 0x834cef100 "CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;" [07:31:08.466] input_message = {data = 0x834cef100 "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} [07:31:08.466] firstchar = [07:31:08.466] local_sigjmp_buf = {{_sjb = {9433510, 34908598560, 34908598520, 34908599104, 12148792, 1, 8192, 8388608, 34908537727, 0, 0, 1}}} [07:31:08.466] send_ready_for_query = false [07:31:08.466] idle_in_transaction_timeout_enabled = false [07:31:08.466] idle_session_timeout_enabled = false [07:31:08.466] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:08.466] bsdata = [07:31:08.466] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x820b6fe64 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x820b6fda0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:08.466] pid = [07:31:08.466] #37 0x0000000000858968 in BackendStartup (client_sock=0x820b6fda0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:08.466] startup_data = {canAcceptConnections = CAC_OK} [07:31:08.466] bn = 0x834cfb088 [07:31:08.466] pid = [07:31:08.466] __error = [07:31:08.466] save_errno = [07:31:08.466] __error = [07:31:08.466] __error = [07:31:08.466] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:08.466] 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\017\3174\b", '\000' , "\376\266 \b\000\000\000h5\032)\b\000\000\000\v\000\000\000\000\000\000\000^\277\032)\b", '\000' , "@\376\266 \b\000\000\000TC\205\000\000\000\000\000P\376\266 \b", '\000' }, salen = 16}} [07:31:08.466] i = 0 [07:31:08.466] now = [07:31:08.466] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 708742274, events = 8, fd = 0, user_data = 0x820b6fd50}, {pos = 886347224, events = 8, fd = 548862944, user_data = 0x0}, {pos = 0, events = 0, fd = 1263687393, user_data = 0x41ff027730a}, {pos = 707909536, events = 8, fd = 707980664, user_data = 0x820b6f868}, {pos = 548862176, events = 8, fd = 548862056, user_data = 0x41ff027730a}, {pos = 707888008, events = 8, fd = 707980664, user_data = 0x820b6f898}, {pos = 548862224, events = 8, fd = 548862104, user_data = 0x82a327194}, {pos = 559526920, events = 8, fd = 707948948, user_data = 0x820b6f900}, {pos = -265870278, events = 1055, fd = 709771312, user_data = 0x1}, {pos = 548862256, events = 8, fd = -265850102, user_data = 0x82a310858}, {pos = 707980664, events = 8, fd = 548862216, user_data = 0x820b6f980}, {pos = 548862216, events = 8, fd = 707943692, user_data = 0x82159b408}, {pos = 707943692, events = 8, fd = 548862320, user_data = 0x41ff027243a}, {pos = 548862360, events = 8, fd = 548862808, user_data = 0x820b6f980}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 2711904269, fd = 559550520, user_data = 0x800000001}, {pos = 559526920, events = 8, fd = 707888008, user_data = 0x8215a0288}, {pos = 707856472, events = 8, fd = 559526920, user_data = 0x820b6fa08}, {pos = 548862920, events = 8, fd = 548862448, user_data = 0x41ff0276ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 559550520, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 548863176, user_data = 0x2159b408}, {pos = 548862992, events = 8, fd = 548862592, user_data = 0x1}, {pos = 548862920, events = 8, fd = 32, user_data = 0x820b6fa70}, {pos = -265852301, events = 1055, fd = 548862864, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x8215a1038}, {pos = 1, events = 8, fd = 559526920, user_data = 0x82a310858}, {pos = 548863176, events = 8, fd = 548862992, user_data = 0x820b6fa80}, {pos = 0, events = 0, fd = 559497224, user_data = 0x20}, {pos = 548862976, events = 8, fd = -265876761, user_data = 0x821594008}, {pos = 559498248, events = 8, fd = 559499272, user_data = 0x821594c08}, {pos = 559513608, events = 8, fd = 559514632, user_data = 0x821598808}, {pos = 559516680, events = 8, fd = 559517704, user_data = 0x821599408}, {pos = 559519752, events = 8, fd = 559520776, user_data = 0x82159a008}, {pos = 559522824, events = 8, fd = 559523848, user_data = 0x82159ac08}, {pos = 559525896, events = 8, fd = 559526920, user_data = 0x82159b808}, {pos = 559528968, events = 8, fd = 559529992, user_data = 0x82159c408}, {pos = 559532040, events = 8, fd = 559533064, user_data = 0x82159d008}, {pos = 559535112, events = 8, fd = 559536136, user_data = 0x82159dc08}, {pos = 559542280, events = 8, fd = 559543304, user_data = 0x82159f808}, {pos = 559545352, events = 8, fd = 559497224, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x8215a1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 548863176, events = 8, fd = 548862592, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 559550520, user_data = 0x1}, {pos = 559497224, events = 8, fd = 314, user_data = 0x820b6fcb0}, {pos = -265878033, events = 1055, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 559550520, user_data = 0x1}, {pos = 559526920, events = 8, fd = 885911552, user_data = 0x1}, {pos = 885911956, events = 8, fd = 0, user_data = 0x820b6fc80}, {pos = 689616236, events = 8, fd = 1, user_data = 0x834cdf000}, {pos = 548863152, events = 8, fd = 689612546, user_data = 0x82a442170 }, {pos = 12073832, events = 0, fd = 709108080, user_data = 0x82159b408}, {pos = 548863376, events = 8, fd = -265878562, user_data = 0x834cfd800}, {pos = 1, events = 0, fd = -265878946, user_data = 0x821594008}, {pos = 548863160, events = 8, fd = 548863376, user_data = 0x1c38}, {pos = 885985024, events = 8, fd = -265799280, user_data = 0x0}, {pos = 548799359, events = 8, fd = 7886599, user_data = 0x820b6fd40}, {pos = 689574928, events = 8, fd = 709771312, user_data = 0x82a4e6310}, {pos = 0, events = 0, fd = 8128, user_data = 0x820b6fd70}, {pos = 689617821, events = 8, fd = 885911552, user_data = 0x4ef0}, {pos = 548863440, events = 8, fd = 689584378, user_data = 0x0}, {pos = 0, events = 0, fd = 1263687393, user_data = 0x0}} [07:31:08.466] last_touch_time = 1725002859 [07:31:08.466] last_lockfile_recheck_time = 1725002859 [07:31:08.466] nevents = 1 [07:31:08.466] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x820b703b8) at ../src/backend/postmaster/postmaster.c:1346 [07:31:08.466] userDoption = [07:31:08.466] listen_addr_saved = [07:31:08.466] output_config_variable = [07:31:08.466] opt = [07:31:08.466] status = [07:31:08.466] #40 0x000000000079240c in main (argc=8, argv=0x820b703b8) at ../src/backend/main/main.c:197 [07:31:08.466] do_check_root = [07:31:08.478] [07:31:08.478] [07:31:08.478] [07:31:08.554] dumping /tmp/cores/postgres.20388.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:08.684] [New LWP 100173] [07:31:08.764] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [07:31:08.764] Program terminated with signal SIGABRT, Aborted. [07:31:08.764] Sent by thr_kill() from pid 20388 and user 1003. [07:31:08.764] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:09.337] To enable execution of this file add [07:31:09.337] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:09.337] line to your configuration file "/.config/gdb/gdbinit". [07:31:09.337] To completely disable this security protection add [07:31:09.337] set auto-load safe-path / [07:31:09.337] line to your configuration file "/.config/gdb/gdbinit". [07:31:09.337] For more information about this security protection see the [07:31:09.337] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:09.337] info "(gdb)Auto-loading safe path" [07:31:09.337] [07:31:09.337] Thread 1 (LWP 100173): [07:31:09.337] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:09.337] No symbol table info available. [07:31:09.337] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:09.337] No symbol table info available. [07:31:09.337] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:09.337] No symbol table info available. [07:31:09.337] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x834833e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:09.337] No locals. [07:31:09.337] #4 0x000000083483d063 in PLy_generate_spi_exceptions (mod=0x842f65ad0, base=0x833a34010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:09.337] dict = [07:31:09.337] found = true [07:31:09.337] sqlstate = [07:31:09.337] exc = 0x833aecc10 [07:31:09.337] entry = 0x0 [07:31:09.337] i = 66 [07:31:09.337] #5 PLy_add_exceptions (plpy=0x84077ac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:09.337] hash_ctl = {num_partitions = 35440610672, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x840714d40, match = 0x840714d40, keycopy = 0x842f4cf80, alloc = 0x840772070, hcxt = 0x845f80ac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:09.337] excmod = 0x842f65ad0 [07:31:09.337] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:09.337] m = 0x84077ac50 [07:31:09.337] #7 0x0000000845d8cf70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #8 0x0000000845d8b2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #9 0x0000000845cabc29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #10 0x0000000845d55d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #11 0x0000000845d58795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #12 0x0000000845c5990f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #13 0x0000000845c59705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #14 0x0000000845d87284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #15 0x0000000845d3f996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #16 0x0000000845cabe70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #17 0x0000000845c58538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #18 0x0000000845c58467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #19 0x0000000845d86b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #20 0x0000000845d87ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:09.337] No symbol table info available. [07:31:09.337] #21 0x000000083483c476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:09.337] inited = false [07:31:09.337] #22 0x000000083483c3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:09.337] funcoid = 65536 [07:31:09.337] tuple = [07:31:09.337] is_trigger = [07:31:09.337] procStruct = [07:31:09.337] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=65536) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:09.337] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000\000\000\001", '\000' } [07:31:09.337] fcinfo = 0x82123c678 [07:31:09.337] result = [07:31:09.337] __error = [07:31:09.337] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=65536) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:09.337] flinfo = {fn_addr = 0x83483c370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832864400, fn_expr = 0x0} [07:31:09.337] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8328f66f8 "test_type_conversion_bool", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=16, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8328f6a68 "\nplpy.info(x, type(x))\nreturn x\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8328a13c8, allParameterTypes=0, parameterModes=0, parameterNames=35207648248, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [07:31:09.337] set_items = [07:31:09.337] save_nestlevel = 0 [07:31:09.337] myself = {classId = 1255, objectId = 65536, objectSubId = 0} [07:31:09.337] nulls = {false , true, true, false, true, true, false, true, true, true, true} [07:31:09.337] values = {65536, 34915731152, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 16, 35207648200, 0, 0, 35207648248, 0, 0, 35207648296, 0, 0, 0, 0} [07:31:09.337] replaces = {true } [07:31:09.337] procname = {data = "test_type_conversion_bool", '\000' } [07:31:09.337] referenced = {classId = 1247, objectId = 16, objectSubId = 0} [07:31:09.337] paramModes = [07:31:09.337] variadicType = [07:31:09.337] proacl = 0x0 [07:31:09.337] parameterCount = [07:31:09.337] allParamCount = 1 [07:31:09.337] allParams = 0x8328a13e0 [07:31:09.337] detailmsg = [07:31:09.337] i = [07:31:09.337] rel = 0x832986ad8 [07:31:09.337] tupDesc = 0x832986df8 [07:31:09.337] oldtup = 0x0 [07:31:09.337] tup = 0x8329f0038 [07:31:09.337] is_update = [07:31:09.337] retval = 65536 [07:31:09.337] addrs = [07:31:09.337] trfid = [07:31:09.337] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x832864500, stmt=, stmt@entry=0x8328f66a8) at ../src/backend/commands/functioncmds.c:1257 [07:31:09.337] funcname = 0x8328f66f8 "test_type_conversion_bool" [07:31:09.337] parameterTypes = 0x8328a13c8 [07:31:09.337] parameterTypes_list = 0x832864610 [07:31:09.337] allParameterTypes = 0x0 [07:31:09.337] parameterModes = 0x0 [07:31:09.337] parameterNames = 0x8328a13f8 [07:31:09.337] inParameterNames_list = 0x8329f03a8 [07:31:09.337] parameterDefaults = 0x0 [07:31:09.337] variadicArgType = 0 [07:31:09.337] requiredResultType = 0 [07:31:09.337] transformDefElem = [07:31:09.337] trftypes_list = [07:31:09.337] namespaceId = 2200 [07:31:09.337] aclresult = [07:31:09.337] as_clause = [07:31:09.337] language = [07:31:09.337] isWindowFunc = false [07:31:09.337] isStrict = false [07:31:09.337] security = false [07:31:09.337] isLeakProof = [07:31:09.337] volatility = 118 'v' [07:31:09.337] proconfig = 0x0 [07:31:09.337] procost = 100 [07:31:09.337] prorows = 0 [07:31:09.337] prosupport = 0 [07:31:09.337] parallel = 117 'u' [07:31:09.337] languageTuple = [07:31:09.337] languageStruct = [07:31:09.337] languageOid = 16456 [07:31:09.337] languageValidator = 16455 [07:31:09.337] prorettype = 16 [07:31:09.337] returnsSet = false [07:31:09.337] trftypes = 0x0 [07:31:09.337] prosqlbody = 0x0 [07:31:09.337] probin_str = 0x0 [07:31:09.337] prosrc_str = 0x8328f6a68 "\nplpy.info(x, type(x))\nreturn x\n" [07:31:09.337] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x832864500, pstmt=pstmt@entry=0x8328f5138, queryString=queryString@entry=0x832856100 "CREATE FUNCTION test_type_conversion_bool(x bool) RETURNS bool AS $$\nplpy.info(x, type(x))\nreturn x\n$$ LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:09.337] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35207398656, 35207971711, 10, 0, 549755813888}}} [07:31:09.337] _save_exception_stack = 0x82123cd90 [07:31:09.337] _save_context_stack = 0x0 [07:31:09.337] _do_rethrow = false [07:31:09.337] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:09.337] parsetree = 0x8328f66a8 [07:31:09.337] commandCollected = false [07:31:09.337] needCleanup = false [07:31:09.337] address = [07:31:09.337] isTopLevel = [07:31:09.337] isCompleteQuery = [07:31:09.337] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x8328f5138, queryString=0x832856100 "CREATE FUNCTION test_type_conversion_bool(x bool) RETURNS bool AS $$\nplpy.info(x, type(x))\nreturn x\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8328f6cc8, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:09.337] isAtomicContext = false [07:31:09.337] parsetree = 0x8328f66a8 [07:31:09.337] readonly_flags = [07:31:09.337] pstate = 0x832864500 [07:31:09.337] isTopLevel = [07:31:09.337] #29 0x0000000000904668 in ProcessUtility (pstmt=0x1874d, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x8328f6cc8, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:09.337] No locals. [07:31:09.337] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292d100, pstmt=0x8328f5138, isTopLevel=, setHoldSnapshot=, dest=0x8328f6cc8, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:09.337] No locals. [07:31:09.337] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292d100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8328f6cc8, altdest=altdest@entry=0x8328f6cc8, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:09.337] pstmt = 0x8328f5138 [07:31:09.337] stmtlist_item__state = {l = 0x8328f6c78, i = 0} [07:31:09.337] active_snapshot_set = false [07:31:09.337] stmtlist_item = 0x8328f6c90 [07:31:09.337] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292d100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8328f6cc8, altdest=altdest@entry=0x8328f6cc8, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:09.337] _local_sigjmp_buf = {{_sjb = {9449597, 35208220928, 34915732872, 34915733104, 34915732880, 35208695808, 12106744, 12140056, 35208168319, 35207992488, 4294967984, 0}}} [07:31:09.337] _save_exception_stack = 0x82123cf60 [07:31:09.337] _save_context_stack = 0x0 [07:31:09.337] _do_rethrow = false [07:31:09.337] saveTopTransactionResourceOwner = 0x83293fb48 [07:31:09.337] saveTopTransactionContext = 0x8329a1000 [07:31:09.337] saveActivePortal = 0x0 [07:31:09.337] saveResourceOwner = 0x83293fb48 [07:31:09.337] savePortalContext = 0x0 [07:31:09.337] saveMemoryContext = 0x8329a1000 [07:31:09.337] result = [07:31:09.337] nprocessed = [07:31:09.337] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "CREATE FUNCTION test_type_conversion_bool(x bool) RETURNS bool AS $$\nplpy.info(x, type(x))\nreturn x\n$$ LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [07:31:09.337] cmdtaglen = 15 [07:31:09.337] snapshot_set = [07:31:09.337] per_parsetree_context = 0x0 [07:31:09.337] plantree_list = [07:31:09.337] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:09.337] format = 0 [07:31:09.337] parsetree = 0x832857b00 [07:31:09.337] commandTag = [07:31:09.337] cmdtagname = [07:31:09.337] querytree_list = [07:31:09.337] portal = 0x83292d100 [07:31:09.337] receiver = 0x8328f6cc8 [07:31:09.337] parsetree_item__state = {l = 0x8328f50e8, i = 0} [07:31:09.337] msec_str = "\000\000\000\000\b", '\000' , "nt\321f\000\000\000\000\370\243W<\\\036\016 " [07:31:09.337] dest = DestRemote [07:31:09.337] was_logged = [07:31:09.337] oldcontext = 0x8329a1000 [07:31:09.337] parsetree_list = 0x8328f50e8 [07:31:09.337] use_implicit_block = false [07:31:09.337] parsetree_item = 0x8328f5100 [07:31:09.337] save_log_statement_stats = [07:31:09.337] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:09.337] query_string = 0x832856100 "CREATE FUNCTION test_type_conversion_bool(x bool) RETURNS bool AS $$\nplpy.info(x, type(x))\nreturn x\n$$ LANGUAGE plpython3u;" [07:31:09.337] input_message = {data = 0x832856100 "CREATE FUNCTION test_type_conversion_bool(x bool) RETURNS bool AS $$\nplpy.info(x, type(x))\nreturn x\n$$ LANGUAGE plpython3u;", len = 124, maxlen = 1024, cursor = 124} [07:31:09.337] firstchar = [07:31:09.337] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:09.337] send_ready_for_query = false [07:31:09.337] idle_in_transaction_timeout_enabled = false [07:31:09.337] idle_session_timeout_enabled = false [07:31:09.337] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:09.337] bsdata = [07:31:09.337] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:09.337] pid = [07:31:09.337] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:09.337] startup_data = {canAcceptConnections = CAC_OK} [07:31:09.337] bn = 0x832857f00 [07:31:09.337] pid = [07:31:09.337] __error = [07:31:09.337] save_errno = [07:31:09.337] __error = [07:31:09.337] __error = [07:31:09.337] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:09.337] 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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:09.337] i = 0 [07:31:09.337] now = [07:31:09.337] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:09.338] last_touch_time = 1725002846 [07:31:09.338] last_lockfile_recheck_time = 1725002846 [07:31:09.338] nevents = 1 [07:31:09.338] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:09.338] userDoption = [07:31:09.338] listen_addr_saved = [07:31:09.338] output_config_variable = [07:31:09.338] opt = [07:31:09.338] status = [07:31:09.338] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:09.338] do_check_root = [07:31:09.351] [07:31:09.351] [07:31:09.351] [07:31:09.421] dumping /tmp/cores/postgres.20698.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:09.546] [New LWP 100107] [07:31:09.626] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [07:31:09.626] Program terminated with signal SIGABRT, Aborted. [07:31:09.626] Sent by thr_kill() from pid 20698 and user 1003. [07:31:09.626] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:10.178] To enable execution of this file add [07:31:10.178] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:10.178] line to your configuration file "/.config/gdb/gdbinit". [07:31:10.178] To completely disable this security protection add [07:31:10.178] set auto-load safe-path / [07:31:10.178] line to your configuration file "/.config/gdb/gdbinit". [07:31:10.178] For more information about this security protection see the [07:31:10.178] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:10.178] info "(gdb)Auto-loading safe path" [07:31:10.178] [07:31:10.178] Thread 1 (LWP 100107): [07:31:10.178] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:10.178] No symbol table info available. [07:31:10.178] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:10.178] No symbol table info available. [07:31:10.178] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:10.178] No symbol table info available. [07:31:10.178] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x833f1be44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:10.178] No locals. [07:31:10.178] #4 0x0000000833f25063 in PLy_generate_spi_exceptions (mod=0x8421f9ad0, base=0x8339da010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:10.178] dict = [07:31:10.178] found = true [07:31:10.178] sqlstate = [07:31:10.178] exc = 0x8339eac10 [07:31:10.178] entry = 0x0 [07:31:10.178] i = 66 [07:31:10.178] #5 PLy_add_exceptions (plpy=0x84161ec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:10.178] hash_ctl = {num_partitions = 35455962480, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x8415b8d40, match = 0x8415b8d40, keycopy = 0x8421e1000, alloc = 0x8416160f0, hcxt = 0x840065ac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:10.178] excmod = 0x8421f9ad0 [07:31:10.178] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:10.178] m = 0x84161ec50 [07:31:10.178] #7 0x000000083fe71f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #8 0x000000083fe702e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #9 0x000000083fd90c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #10 0x000000083fe3ad9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #11 0x000000083fe3d795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #12 0x000000083fd3e90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #13 0x000000083fd3e705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #14 0x000000083fe6c284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #15 0x000000083fe24996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #16 0x000000083fd90e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #17 0x000000083fd3d538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #18 0x000000083fd3d467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #19 0x000000083fe6bb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #20 0x000000083fe6cef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.178] No symbol table info available. [07:31:10.178] #21 0x0000000833f24476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:10.178] inited = false [07:31:10.178] #22 0x0000000833f243a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:10.178] funcoid = 73733 [07:31:10.178] tuple = [07:31:10.178] is_trigger = [07:31:10.178] procStruct = [07:31:10.178] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=73733) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:10.178] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000\005 \001", '\000' } [07:31:10.178] fcinfo = 0x82123c678 [07:31:10.178] result = [07:31:10.178] __error = [07:31:10.178] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=73733) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:10.178] flinfo = {fn_addr = 0x833f24370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8329ef800, fn_expr = 0x0} [07:31:10.178] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8328f6048 "unicode_return", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8328f6218 "\nreturn \"\\xA0\"\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8328a13b0, 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 [07:31:10.178] set_items = [07:31:10.178] save_nestlevel = 0 [07:31:10.178] myself = {classId = 1255, objectId = 73733, objectSubId = 0} [07:31:10.178] nulls = {false , true, true, true, true, true, false, true, true, true, true} [07:31:10.178] values = {73733, 34915731152, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35207648176, 0, 0, 0, 0, 0, 35207648224, 0, 0, 0, 0} [07:31:10.178] replaces = {true } [07:31:10.178] procname = {data = "unicode_return", '\000' } [07:31:10.178] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [07:31:10.178] paramModes = [07:31:10.178] variadicType = [07:31:10.178] proacl = 0x0 [07:31:10.178] parameterCount = [07:31:10.178] allParamCount = 0 [07:31:10.178] allParams = 0x8328a13c8 [07:31:10.178] detailmsg = [07:31:10.178] i = [07:31:10.178] rel = 0x8329866d8 [07:31:10.178] tupDesc = 0x8329869f8 [07:31:10.178] oldtup = 0x0 [07:31:10.178] tup = 0x8328a1258 [07:31:10.178] is_update = [07:31:10.178] retval = 73733 [07:31:10.178] addrs = [07:31:10.178] trfid = [07:31:10.178] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8329ef900, stmt=, stmt@entry=0x8328f5ff8) at ../src/backend/commands/functioncmds.c:1257 [07:31:10.178] funcname = 0x8328f6048 "unicode_return" [07:31:10.178] parameterTypes = 0x8328a13b0 [07:31:10.178] parameterTypes_list = 0x0 [07:31:10.178] allParameterTypes = 0x0 [07:31:10.178] parameterModes = 0x0 [07:31:10.178] parameterNames = 0x0 [07:31:10.178] inParameterNames_list = 0x0 [07:31:10.178] parameterDefaults = 0x0 [07:31:10.178] variadicArgType = 0 [07:31:10.178] requiredResultType = 0 [07:31:10.178] transformDefElem = [07:31:10.178] trftypes_list = [07:31:10.178] namespaceId = 2200 [07:31:10.178] aclresult = [07:31:10.178] as_clause = [07:31:10.178] language = [07:31:10.178] isWindowFunc = false [07:31:10.178] isStrict = false [07:31:10.178] security = false [07:31:10.178] isLeakProof = [07:31:10.178] volatility = 118 'v' [07:31:10.178] proconfig = 0x0 [07:31:10.178] procost = 100 [07:31:10.178] prorows = 0 [07:31:10.178] prosupport = 0 [07:31:10.178] parallel = 117 'u' [07:31:10.178] languageTuple = [07:31:10.178] languageStruct = [07:31:10.178] languageOid = 16456 [07:31:10.178] languageValidator = 16455 [07:31:10.178] prorettype = 25 [07:31:10.178] returnsSet = false [07:31:10.178] trftypes = 0x0 [07:31:10.178] prosqlbody = 0x0 [07:31:10.178] probin_str = 0x0 [07:31:10.178] prosrc_str = 0x8328f6218 "\nreturn \"\\xA0\"\n" [07:31:10.178] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x8329ef900, pstmt=pstmt@entry=0x832857ba0, queryString=queryString@entry=0x832856100 "CREATE FUNCTION unicode_return() RETURNS text AS E'\nreturn \"\\\\xA0\"\n' LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:10.178] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35209017600, 35207971711, 10, 0, 549755813888}}} [07:31:10.178] _save_exception_stack = 0x82123cd90 [07:31:10.178] _save_context_stack = 0x0 [07:31:10.178] _do_rethrow = false [07:31:10.178] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:10.178] parsetree = 0x8328f5ff8 [07:31:10.178] commandCollected = false [07:31:10.178] needCleanup = false [07:31:10.178] address = [07:31:10.178] isTopLevel = [07:31:10.178] isCompleteQuery = [07:31:10.178] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x832857ba0, queryString=0x832856100 "CREATE FUNCTION unicode_return() RETURNS text AS E'\nreturn \"\\\\xA0\"\n' LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x832857f60, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:10.178] isAtomicContext = false [07:31:10.178] parsetree = 0x8328f5ff8 [07:31:10.178] readonly_flags = [07:31:10.178] pstate = 0x8329ef900 [07:31:10.178] isTopLevel = [07:31:10.178] #29 0x0000000000904668 in ProcessUtility (pstmt=0x1870b, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x832857f60, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:10.178] No locals. [07:31:10.178] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292d100, pstmt=0x832857ba0, isTopLevel=, setHoldSnapshot=, dest=0x832857f60, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:10.178] No locals. [07:31:10.178] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292d100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x832857f60, altdest=altdest@entry=0x832857f60, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:10.178] pstmt = 0x832857ba0 [07:31:10.178] stmtlist_item__state = {l = 0x8328f6408, i = 0} [07:31:10.178] active_snapshot_set = false [07:31:10.178] stmtlist_item = 0x8328f6420 [07:31:10.178] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292d100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x832857f60, altdest=altdest@entry=0x832857f60, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:10.178] _local_sigjmp_buf = {{_sjb = {9449597, 35208220928, 34915732872, 34915733104, 34915732880, 35208695808, 12106744, 12140056, 35208168319, 35207347984, 4294967984, 0}}} [07:31:10.178] _save_exception_stack = 0x82123cf60 [07:31:10.178] _save_context_stack = 0x0 [07:31:10.178] _do_rethrow = false [07:31:10.178] saveTopTransactionResourceOwner = 0x83293f118 [07:31:10.178] saveTopTransactionContext = 0x8329a1000 [07:31:10.178] saveActivePortal = 0x0 [07:31:10.178] saveResourceOwner = 0x83293f118 [07:31:10.178] savePortalContext = 0x0 [07:31:10.178] saveMemoryContext = 0x8329a1000 [07:31:10.178] result = [07:31:10.178] nprocessed = [07:31:10.178] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "CREATE FUNCTION unicode_return() RETURNS text AS E'\nreturn \"\\\\xA0\"\n' LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [07:31:10.178] cmdtaglen = 15 [07:31:10.178] snapshot_set = [07:31:10.178] per_parsetree_context = 0x0 [07:31:10.178] plantree_list = [07:31:10.178] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:10.178] format = 0 [07:31:10.178] parsetree = 0x832857760 [07:31:10.178] commandTag = [07:31:10.178] cmdtagname = [07:31:10.178] querytree_list = [07:31:10.178] portal = 0x83292d100 [07:31:10.178] receiver = 0x832857f60 [07:31:10.178] parsetree_item__state = {l = 0x832857b50, i = 0} [07:31:10.178] msec_str = "\000\000\000\000\b", '\000' , "qt\321f\000\000\000\000\276*\261\202\344w\232\215" [07:31:10.178] dest = DestRemote [07:31:10.178] was_logged = [07:31:10.178] oldcontext = 0x8329a1000 [07:31:10.178] parsetree_list = 0x832857b50 [07:31:10.178] use_implicit_block = false [07:31:10.178] parsetree_item = 0x832857b68 [07:31:10.178] save_log_statement_stats = [07:31:10.178] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:10.178] query_string = 0x832856100 "CREATE FUNCTION unicode_return() RETURNS text AS E'\nreturn \"\\\\xA0\"\n' LANGUAGE plpython3u;" [07:31:10.178] input_message = {data = 0x832856100 "CREATE FUNCTION unicode_return() RETURNS text AS E'\nreturn \"\\\\xA0\"\n' LANGUAGE plpython3u;", len = 90, maxlen = 1024, cursor = 90} [07:31:10.178] firstchar = [07:31:10.178] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:10.178] send_ready_for_query = false [07:31:10.178] idle_in_transaction_timeout_enabled = false [07:31:10.178] idle_session_timeout_enabled = false [07:31:10.178] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:10.178] bsdata = [07:31:10.178] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:10.178] pid = [07:31:10.178] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:10.178] startup_data = {canAcceptConnections = CAC_OK} [07:31:10.178] bn = 0x832857f00 [07:31:10.178] pid = [07:31:10.178] __error = [07:31:10.178] save_errno = [07:31:10.178] __error = [07:31:10.178] __error = [07:31:10.178] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:10.178] 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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:10.178] i = 0 [07:31:10.178] now = [07:31:10.178] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:10.178] last_touch_time = 1725002846 [07:31:10.178] last_lockfile_recheck_time = 1725002846 [07:31:10.178] nevents = 1 [07:31:10.178] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:10.178] userDoption = [07:31:10.178] listen_addr_saved = [07:31:10.178] output_config_variable = [07:31:10.178] opt = [07:31:10.178] status = [07:31:10.178] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:10.178] do_check_root = [07:31:10.191] [07:31:10.191] [07:31:10.191] [07:31:10.266] dumping /tmp/cores/postgres.20927.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [07:31:10.388] [New LWP 101622] [07:31:10.465] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [07:31:10.465] Program terminated with signal SIGABRT, Aborted. [07:31:10.465] Sent by thr_kill() from pid 20927 and user 1003. [07:31:10.465] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:10.995] To enable execution of this file add [07:31:10.995] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [07:31:10.995] line to your configuration file "/.config/gdb/gdbinit". [07:31:10.995] To completely disable this security protection add [07:31:10.995] set auto-load safe-path / [07:31:10.995] line to your configuration file "/.config/gdb/gdbinit". [07:31:10.995] For more information about this security protection see the [07:31:10.995] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [07:31:10.995] info "(gdb)Auto-loading safe path" [07:31:10.995] [07:31:10.995] Thread 1 (LWP 101622): [07:31:10.995] #0 0x000000082911d41a in thr_kill () from /lib/libc.so.7 [07:31:10.995] No symbol table info available. [07:31:10.995] #1 0x0000000829096e64 in raise () from /lib/libc.so.7 [07:31:10.995] No symbol table info available. [07:31:10.995] #2 0x00000008291476f9 in abort () from /lib/libc.so.7 [07:31:10.995] No symbol table info available. [07:31:10.995] #3 0x0000000000a59385 in ExceptionalCondition (conditionName=0x842333e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [07:31:10.995] No locals. [07:31:10.995] #4 0x000000084233d063 in PLy_generate_spi_exceptions (mod=0x843a91ad0, base=0x8346f7010) at ../src/pl/plpython/plpy_plpymodule.c:267 [07:31:10.995] dict = [07:31:10.995] found = true [07:31:10.995] sqlstate = [07:31:10.995] exc = 0x8347b4c10 [07:31:10.995] entry = 0x0 [07:31:10.995] i = 66 [07:31:10.995] #5 PLy_add_exceptions (plpy=0x84392ac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [07:31:10.995] hash_ctl = {num_partitions = 35492711792, ssize = 7, dsize = 2, max_dsize = 34915729008, keysize = 4, entrysize = 16, hash = 0x8438c4d40, match = 0x8438c4d40, keycopy = 0x843a79040, alloc = 0x843922130, hcxt = 0x8416fdac0 <_PyRuntime+166184>, hctl = 0x82123bec0} [07:31:10.995] excmod = 0x843a91ad0 [07:31:10.995] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [07:31:10.995] m = 0x84392ac50 [07:31:10.995] #7 0x0000000841509f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #8 0x00000008415082e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #9 0x0000000841428c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #10 0x00000008414d2d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #11 0x00000008414d5795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #12 0x00000008413d690f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #13 0x00000008413d6705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #14 0x0000000841504284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #15 0x00000008414bc996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #16 0x0000000841428e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #17 0x00000008413d5538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #18 0x00000008413d5467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #19 0x0000000841503b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #20 0x0000000841504ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [07:31:10.995] No symbol table info available. [07:31:10.995] #21 0x000000084233c476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [07:31:10.995] inited = false [07:31:10.995] #22 0x000000084233c3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [07:31:10.995] funcoid = 81920 [07:31:10.995] tuple = [07:31:10.995] is_trigger = [07:31:10.995] procStruct = [07:31:10.995] #23 0x0000000000a632b3 in FunctionCall1Coll (flinfo=0x82123c648, collation=0, arg1=81920) at ../src/backend/utils/fmgr/fmgr.c:1139 [07:31:10.995] fcinfodata = {fcinfo = {flinfo = 0x82123c648, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123c698}, fcinfo_data = "H\306#!\b", '\000' , "\001\000\000@\001", '\000' } [07:31:10.995] fcinfo = 0x82123c678 [07:31:10.995] result = [07:31:10.995] __error = [07:31:10.995] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=81920) at ../src/backend/utils/fmgr/fmgr.c:1417 [07:31:10.995] flinfo = {fn_addr = 0x84233c370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x832864400, fn_expr = 0x0} [07:31:10.995] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x834629b98 "quote", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x83462a030 "\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=0x8328a13f8, allParameterTypes=0, parameterModes=0, parameterNames=35207648296, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [07:31:10.995] set_items = [07:31:10.995] save_nestlevel = 0 [07:31:10.995] myself = {classId = 1255, objectId = 81920, objectSubId = 0} [07:31:10.995] nulls = {false , true, true, false, true, true, false, true, true, true, true} [07:31:10.995] values = {81920, 34915731152, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 2, 0, 25, 35207648248, 0, 0, 35207648296, 0, 0, 35209019448, 0, 0, 0, 0} [07:31:10.995] replaces = {true } [07:31:10.995] procname = {data = "quote", '\000' } [07:31:10.995] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [07:31:10.995] paramModes = [07:31:10.995] variadicType = [07:31:10.995] proacl = 0x0 [07:31:10.995] parameterCount = [07:31:10.995] allParamCount = 2 [07:31:10.995] allParams = 0x8328a1410 [07:31:10.995] detailmsg = [07:31:10.995] i = [07:31:10.995] rel = 0x832986e18 [07:31:10.995] tupDesc = 0x832987138 [07:31:10.995] oldtup = 0x0 [07:31:10.995] tup = 0x8328a14c8 [07:31:10.995] is_update = [07:31:10.995] retval = 81920 [07:31:10.995] addrs = [07:31:10.995] trfid = [07:31:10.995] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x832864500, stmt=, stmt@entry=0x834629b48) at ../src/backend/commands/functioncmds.c:1257 [07:31:10.995] funcname = 0x834629b98 "quote" [07:31:10.995] parameterTypes = 0x8328a13f8 [07:31:10.995] parameterTypes_list = 0x832864610 [07:31:10.995] allParameterTypes = 0x0 [07:31:10.995] parameterModes = 0x0 [07:31:10.995] parameterNames = 0x8328a1428 [07:31:10.995] inParameterNames_list = 0x8329f03a8 [07:31:10.995] parameterDefaults = 0x0 [07:31:10.995] variadicArgType = 0 [07:31:10.995] requiredResultType = 0 [07:31:10.995] transformDefElem = [07:31:10.995] trftypes_list = [07:31:10.995] namespaceId = 2200 [07:31:10.995] aclresult = [07:31:10.995] as_clause = [07:31:10.995] language = [07:31:10.995] isWindowFunc = false [07:31:10.995] isStrict = false [07:31:10.995] security = false [07:31:10.995] isLeakProof = [07:31:10.995] volatility = 118 'v' [07:31:10.995] proconfig = 0x0 [07:31:10.995] procost = 100 [07:31:10.995] prorows = 0 [07:31:10.995] prosupport = 0 [07:31:10.995] parallel = 117 'u' [07:31:10.995] languageTuple = [07:31:10.995] languageStruct = [07:31:10.995] languageOid = 16456 [07:31:10.995] languageValidator = 16455 [07:31:10.995] prorettype = 25 [07:31:10.995] returnsSet = false [07:31:10.995] trftypes = 0x0 [07:31:10.995] prosqlbody = 0x0 [07:31:10.995] probin_str = 0x0 [07:31:10.995] prosrc_str = 0x83462a030 "\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 "... [07:31:10.995] #27 0x00000000009061b8 in ProcessUtilitySlow (pstate=pstate@entry=0x832864500, pstmt=pstmt@entry=0x832857e40, queryString=queryString@entry=0x832856100 "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=0x82123ce90) at ../src/backend/tcop/utility.c:1655 [07:31:10.995] _local_sigjmp_buf = {{_sjb = {9460361, 0, 34915732152, 34915732528, 34915732160, 12140056, 0, 35207398656, 35207971711, 10, 0, 549755813888}}} [07:31:10.995] _save_exception_stack = 0x82123cd90 [07:31:10.995] _save_context_stack = 0x0 [07:31:10.995] _do_rethrow = false [07:31:10.995] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [07:31:10.995] parsetree = 0x834629b48 [07:31:10.995] commandCollected = false [07:31:10.995] needCleanup = false [07:31:10.995] address = [07:31:10.995] isTopLevel = [07:31:10.995] isCompleteQuery = [07:31:10.995] #28 0x0000000000904bd8 in standard_ProcessUtility (pstmt=0x832857e40, queryString=0x832856100 "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=0x8328f6f78, qc=0x82123ce90) at ../src/backend/tcop/utility.c:1030 [07:31:10.995] isAtomicContext = false [07:31:10.995] parsetree = 0x834629b48 [07:31:10.995] readonly_flags = [07:31:10.995] pstate = 0x832864500 [07:31:10.995] isTopLevel = [07:31:10.995] #29 0x0000000000904668 in ProcessUtility (pstmt=0x18cf6, queryString=0x6 , readOnlyTree=, context=689034234, params=0x0, queryEnv=0x0, dest=0x8328f6f78, qc=0x82123ce90) at ../src/backend/tcop/utility.c:523 [07:31:10.995] No locals. [07:31:10.995] #30 0x00000000009041a3 in PortalRunUtility (portal=0x83292d100, pstmt=0x832857e40, isTopLevel=, setHoldSnapshot=, dest=0x8328f6f78, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1158 [07:31:10.995] No locals. [07:31:10.995] #31 0x0000000000903834 in PortalRunMulti (portal=portal@entry=0x83292d100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8328f6f78, altdest=altdest@entry=0x8328f6f78, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:1323 [07:31:10.995] pstmt = 0x832857e40 [07:31:10.995] stmtlist_item__state = {l = 0x83462a400, i = 0} [07:31:10.995] active_snapshot_set = false [07:31:10.995] stmtlist_item = 0x83462a418 [07:31:10.995] #32 0x0000000000903103 in PortalRun (portal=portal@entry=0x83292d100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8328f6f78, altdest=altdest@entry=0x8328f6f78, qc=0x82123ce90) at ../src/backend/tcop/pquery.c:791 [07:31:10.995] _local_sigjmp_buf = {{_sjb = {9449597, 35208220928, 34915732872, 34915733104, 34915732880, 35208695808, 12106744, 12140056, 35208168319, 35207997296, 4294967984, 0}}} [07:31:10.995] _save_exception_stack = 0x82123cf60 [07:31:10.995] _save_context_stack = 0x0 [07:31:10.995] _do_rethrow = false [07:31:10.995] saveTopTransactionResourceOwner = 0x83293fad8 [07:31:10.995] saveTopTransactionContext = 0x8329a1000 [07:31:10.995] saveActivePortal = 0x0 [07:31:10.995] saveResourceOwner = 0x83293fad8 [07:31:10.995] savePortalContext = 0x0 [07:31:10.995] saveMemoryContext = 0x8329a1000 [07:31:10.995] result = [07:31:10.995] nprocessed = [07:31:10.995] #33 0x0000000000901fa2 in exec_simple_query (query_string=query_string@entry=0x832856100 "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 [07:31:10.995] cmdtaglen = 15 [07:31:10.995] snapshot_set = [07:31:10.995] per_parsetree_context = 0x0 [07:31:10.995] plantree_list = [07:31:10.995] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [07:31:10.995] format = 0 [07:31:10.995] parsetree = 0x832857fe0 [07:31:10.995] commandTag = [07:31:10.995] cmdtagname = [07:31:10.995] querytree_list = [07:31:10.995] portal = 0x83292d100 [07:31:10.995] receiver = 0x8328f6f78 [07:31:10.995] parsetree_item__state = {l = 0x8328f64c0, i = 0} [07:31:10.995] msec_str = "\000\000\000\000\b", '\000' , "tt\321f\000\000\000\000n\322\023=\330\177\026j" [07:31:10.995] dest = DestRemote [07:31:10.995] was_logged = [07:31:10.995] oldcontext = 0x8329a1000 [07:31:10.995] parsetree_list = 0x8328f64c0 [07:31:10.995] use_implicit_block = false [07:31:10.995] parsetree_item = 0x8328f64d8 [07:31:10.995] save_log_statement_stats = [07:31:10.995] #34 0x00000000008ffd10 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [07:31:10.995] query_string = 0x832856100 "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 "... [07:31:10.995] input_message = {data = 0x832856100 "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} [07:31:10.995] firstchar = [07:31:10.995] local_sigjmp_buf = {{_sjb = {9433510, 34915733344, 34915733304, 34915733888, 12148792, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [07:31:10.995] send_ready_for_query = false [07:31:10.995] idle_in_transaction_timeout_enabled = false [07:31:10.995] idle_session_timeout_enabled = false [07:31:10.995] #35 0x00000000008fa4e9 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [07:31:10.995] bsdata = [07:31:10.995] #36 0x00000000008545a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123dca4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123dbe0) at ../src/backend/postmaster/launch_backend.c:274 [07:31:10.995] pid = [07:31:10.995] #37 0x0000000000858968 in BackendStartup (client_sock=0x82123dbe0) at ../src/backend/postmaster/postmaster.c:3414 [07:31:10.995] startup_data = {canAcceptConnections = CAC_OK} [07:31:10.995] bn = 0x832857f00 [07:31:10.995] pid = [07:31:10.995] __error = [07:31:10.995] save_errno = [07:31:10.995] __error = [07:31:10.995] __error = [07:31:10.995] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [07:31:10.995] 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\177\2052\b", '\000' , "@\334#!\b\000\000\000hE\366)\b\000\000\000\v\000\000\000\000\000\000\000^\317\366)\b", '\000' , "\200\334#!\b\000\000\000TC\205\000\000\000\000\000\220\334#!\b", '\000' }, salen = 16}} [07:31:10.995] i = 0 [07:31:10.995] now = [07:31:10.995] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 688659586, events = 8, fd = 0, user_data = 0x82123db90}, {pos = 847971800, events = 8, fd = 555997728, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x14aa823eb30a}, {pos = 687826848, events = 8, fd = 687897976, user_data = 0x82123d6a8}, {pos = 555996960, events = 8, fd = 555996840, user_data = 0x14aa823eb30a}, {pos = 687805320, events = 8, fd = 687897976, user_data = 0x82123d6d8}, {pos = 555997008, events = 8, fd = 555996888, user_data = 0x829000194}, {pos = 565093384, events = 8, fd = 687866260, user_data = 0x82123d740}, {pos = -2109840326, events = 5290, fd = 689688624, user_data = 0x1}, {pos = 555997040, events = 8, fd = -2109820150, user_data = 0x828fe9858}, {pos = 687897976, events = 8, fd = 555997000, user_data = 0x82123d7c0}, {pos = 555997000, events = 8, fd = 687861004, user_data = 0x821aea408}, {pos = 687861004, events = 8, fd = 555997104, user_data = 0x14aa823e643a}, {pos = 555997144, events = 8, fd = 555997592, user_data = 0x82123d7c0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 3181762762, fd = 565116984, user_data = 0x800000001}, {pos = 565093384, events = 8, fd = 687805320, user_data = 0x821aef288}, {pos = 687773784, events = 8, fd = 565093384, user_data = 0x82123d848}, {pos = 555997704, events = 8, fd = 555997232, user_data = 0x14aa823eaca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 565116984, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 555997960, user_data = 0x21aea408}, {pos = 555997776, events = 8, fd = 555997376, user_data = 0x1}, {pos = 555997704, events = 8, fd = 32, user_data = 0x82123d8b0}, {pos = -2109822349, events = 5290, fd = 555997648, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821af0038}, {pos = 1, events = 8, fd = 565093384, user_data = 0x828fe9858}, {pos = 555997960, events = 8, fd = 555997776, user_data = 0x82123d8c0}, {pos = 0, events = 0, fd = 565063688, user_data = 0x20}, {pos = 555997760, events = 8, fd = -2109846809, user_data = 0x821ae3008}, {pos = 565064712, events = 8, fd = 565065736, user_data = 0x821ae3c08}, {pos = 565080072, events = 8, fd = 565081096, user_data = 0x821ae7808}, {pos = 565083144, events = 8, fd = 565084168, user_data = 0x821ae8408}, {pos = 565086216, events = 8, fd = 565087240, user_data = 0x821ae9008}, {pos = 565089288, events = 8, fd = 565090312, user_data = 0x821ae9c08}, {pos = 565092360, events = 8, fd = 565093384, user_data = 0x821aea808}, {pos = 565095432, events = 8, fd = 565096456, user_data = 0x821aeb408}, {pos = 565098504, events = 8, fd = 565099528, user_data = 0x821aec008}, {pos = 565101576, events = 8, fd = 565102600, user_data = 0x821aecc08}, {pos = 565108744, events = 8, fd = 565109768, user_data = 0x821aee808}, {pos = 565111816, events = 8, fd = 565063688, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821af0038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 555997960, events = 8, fd = 555997376, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565063688, events = 8, fd = 314, user_data = 0x82123daf0}, {pos = -2109848081, events = 5290, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 565116984, user_data = 0x1}, {pos = 565093384, events = 8, fd = 847536128, user_data = 0x1}, {pos = 847536532, events = 8, fd = 0, user_data = 0x82123dac0}, {pos = 704038252, events = 8, fd = 1, user_data = 0x832846000}, {pos = 555997936, events = 8, fd = 704034562, user_data = 0x82911b170 }, {pos = 12073832, events = 0, fd = 689025392, user_data = 0x821aea408}, {pos = 555998160, events = 8, fd = -2109848610, user_data = 0x832864800}, {pos = 1, events = 0, fd = -2109848994, user_data = 0x821ae3008}, {pos = 555997944, events = 8, fd = 555998160, user_data = 0x1c38}, {pos = 847609600, events = 8, fd = -2109769328, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123db80}, {pos = 703996944, events = 8, fd = 689688624, user_data = 0x8291bf310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123dbb0}, {pos = 704039837, events = 8, fd = 847536128, user_data = 0x4974}, {pos = 555998224, events = 8, fd = 704006394, user_data = 0x0}, {pos = 0, events = 0, fd = 959069167, user_data = 0x0}} [07:31:10.995] last_touch_time = 1725002846 [07:31:10.995] last_lockfile_recheck_time = 1725002846 [07:31:10.995] nevents = 1 [07:31:10.995] #39 0x0000000000856785 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x82123e1f0) at ../src/backend/postmaster/postmaster.c:1346 [07:31:10.995] userDoption = [07:31:10.995] listen_addr_saved = [07:31:10.995] output_config_variable = [07:31:10.995] opt = [07:31:10.995] status = [07:31:10.995] #40 0x000000000079240c in main (argc=8, argv=0x82123e1f0) at ../src/backend/main/main.c:197 [07:31:10.995] do_check_root =