[04:43:36.722] src/tools/ci/cores_backtrace.sh freebsd /tmp/cores [04:43:37.098] dumping /tmp/cores/postgres.18702.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:37.226] [New LWP 101648] [04:43:37.322] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [04:43:37.322] Program terminated with signal SIGABRT, Aborted. [04:43:37.322] Sent by thr_kill() from pid 18702 and user 1003. [04:43:37.322] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:37.897] To enable execution of this file add [04:43:37.897] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:37.897] line to your configuration file "/.config/gdb/gdbinit". [04:43:37.897] To completely disable this security protection add [04:43:37.897] set auto-load safe-path / [04:43:37.897] line to your configuration file "/.config/gdb/gdbinit". [04:43:37.897] For more information about this security protection see the [04:43:37.897] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:37.897] info "(gdb)Auto-loading safe path" [04:43:37.897] [04:43:37.897] Thread 1 (LWP 101648): [04:43:37.897] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:37.897] No symbol table info available. [04:43:37.897] #1 0x000000082c742e64 in raise () from /lib/libc.so.7 [04:43:37.897] No symbol table info available. [04:43:37.897] #2 0x000000082c7f36f9 in abort () from /lib/libc.so.7 [04:43:37.897] No symbol table info available. [04:43:37.897] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x8464afe44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:37.897] No locals. [04:43:37.897] #4 0x00000008464b9063 in PLy_generate_spi_exceptions (mod=0x848689b20, base=0x843358010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:37.897] dict = [04:43:37.897] found = true [04:43:37.897] sqlstate = [04:43:37.897] exc = 0x8433b0c10 [04:43:37.897] entry = 0x0 [04:43:37.897] i = 66 [04:43:37.897] #5 PLy_add_exceptions (plpy=0x846efaca0) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:37.897] hash_ctl = {num_partitions = 35549138288, ssize = 7, dsize = 2, max_dsize = 34915736816, keysize = 4, entrysize = 16, hash = 0x846e94d40, match = 0x846e94d40, keycopy = 0x848671000, alloc = 0x846ef2130, hcxt = 0x845a73ac0 <_PyRuntime+166184>, hctl = 0x82123dd40} [04:43:37.897] excmod = 0x848689b20 [04:43:37.897] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:37.897] m = 0x846efaca0 [04:43:37.897] #7 0x000000084587ff70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #8 0x000000084587e2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #9 0x000000084579ec29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #10 0x0000000845848d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #11 0x000000084584b795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #12 0x000000084574c90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #13 0x000000084574c705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #14 0x000000084587a284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #15 0x0000000845832996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #16 0x000000084579ee70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #17 0x000000084574b538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #18 0x000000084574b467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #19 0x0000000845879b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #20 0x000000084587aef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:37.897] No symbol table info available. [04:43:37.897] #21 0x00000008464b8476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:37.897] inited = false [04:43:37.897] #22 0x00000008464b83a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:37.897] funcoid = 16457 [04:43:37.897] tuple = [04:43:37.897] is_trigger = [04:43:37.897] procStruct = [04:43:37.897] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82123e4c8, collation=0, arg1=16457) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:37.897] fcinfodata = {fcinfo = {flinfo = 0x82123e4c8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123e518}, fcinfo_data = "\310\344#!\b", '\000' , "\001\000I@", '\000' } [04:43:37.897] fcinfo = 0x82123e4f8 [04:43:37.897] result = [04:43:37.897] __error = [04:43:37.897] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=16457) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:37.897] flinfo = {fn_addr = 0x8464b8370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8364ca400, fn_expr = 0x0} [04:43:37.897] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x83660d060 "stupid", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8364bdfd8 "return \"zarkon\"", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x836507bb0, 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 [04:43:37.897] set_items = [04:43:37.897] save_nestlevel = 0 [04:43:37.897] myself = {classId = 1255, objectId = 16457, objectSubId = 0} [04:43:37.897] nulls = {false , true, true, true, true, true, false, true, true, true, true} [04:43:37.897] values = {16457, 34915738960, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35270982576, 0, 0, 0, 0, 0, 35270982648, 0, 0, 0, 0} [04:43:37.897] replaces = {true } [04:43:37.897] procname = {data = "stupid", '\000' } [04:43:37.897] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [04:43:37.897] paramModes = [04:43:37.897] variadicType = [04:43:37.897] proacl = 0x0 [04:43:37.897] parameterCount = [04:43:37.897] allParamCount = 0 [04:43:37.897] allParams = 0x836507bc8 [04:43:37.897] detailmsg = [04:43:37.897] i = [04:43:37.897] rel = 0x8365e7f48 [04:43:37.897] tupDesc = 0x8365e8158 [04:43:37.897] oldtup = 0x0 [04:43:37.897] tup = 0x836507948 [04:43:37.897] is_update = [04:43:37.897] retval = 16457 [04:43:37.897] addrs = [04:43:37.897] trfid = [04:43:37.897] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8364ca500, stmt=, stmt@entry=0x83660d010) at ../src/backend/commands/functioncmds.c:1257 [04:43:37.897] funcname = 0x83660d060 "stupid" [04:43:37.897] parameterTypes = 0x836507bb0 [04:43:37.897] parameterTypes_list = 0x0 [04:43:37.897] allParameterTypes = 0x0 [04:43:37.897] parameterModes = 0x0 [04:43:37.897] parameterNames = 0x0 [04:43:37.897] inParameterNames_list = 0x0 [04:43:37.897] parameterDefaults = 0x0 [04:43:37.897] variadicArgType = 0 [04:43:37.897] requiredResultType = 0 [04:43:37.897] transformDefElem = [04:43:37.897] trftypes_list = [04:43:37.897] namespaceId = 2200 [04:43:37.897] aclresult = [04:43:37.897] as_clause = [04:43:37.897] language = [04:43:37.897] isWindowFunc = false [04:43:37.897] isStrict = false [04:43:37.897] security = false [04:43:37.897] isLeakProof = [04:43:37.897] volatility = 118 'v' [04:43:37.897] proconfig = 0x0 [04:43:37.897] procost = 100 [04:43:37.897] prorows = 0 [04:43:37.897] prosupport = 0 [04:43:37.897] parallel = 117 'u' [04:43:37.897] languageTuple = [04:43:37.897] languageStruct = [04:43:37.897] languageOid = 16456 [04:43:37.897] languageValidator = 16455 [04:43:37.897] prorettype = 25 [04:43:37.897] returnsSet = false [04:43:37.897] trftypes = 0x0 [04:43:37.897] prosqlbody = 0x0 [04:43:37.897] probin_str = 0x0 [04:43:37.897] prosrc_str = 0x8364bdfd8 "return \"zarkon\"" [04:43:37.897] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8364ca500, pstmt=pstmt@entry=0x8364bdb88, queryString=queryString@entry=0x8364bc100 "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=0x82123ed10) at ../src/backend/tcop/utility.c:1655 [04:43:37.897] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34915739960, 34915740336, 34915739968, 12139864, 0, 35270731008, 35272000383, 10, 0, 549755813888}}} [04:43:37.897] _save_exception_stack = 0x82123ec10 [04:43:37.897] _save_context_stack = 0x0 [04:43:37.897] _do_rethrow = false [04:43:37.897] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:37.897] parsetree = 0x83660d010 [04:43:37.897] commandCollected = false [04:43:37.897] needCleanup = false [04:43:37.897] address = [04:43:37.897] isTopLevel = [04:43:37.897] isCompleteQuery = [04:43:37.897] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x8364bdb88, queryString=0x8364bc100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8364bdf48, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1030 [04:43:37.897] isAtomicContext = false [04:43:37.897] parsetree = 0x83660d010 [04:43:37.897] readonly_flags = [04:43:37.897] pstate = 0x8364ca500 [04:43:37.897] isTopLevel = [04:43:37.897] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18d10, queryString=0x6 , readOnlyTree=, context=746361850, params=0x0, queryEnv=0x0, dest=0x8364bdf48, qc=0x82123ed10) at ../src/backend/tcop/utility.c:523 [04:43:37.897] No locals. [04:43:37.897] #30 0x00000000009040e3 in PortalRunUtility (portal=0x836591100, pstmt=0x8364bdb88, isTopLevel=, setHoldSnapshot=, dest=0x8364bdf48, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1158 [04:43:37.897] No locals. [04:43:37.897] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x836591100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8364bdf48, altdest=altdest@entry=0x8364bdf48, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1323 [04:43:37.897] pstmt = 0x8364bdb88 [04:43:37.897] stmtlist_item__state = {l = 0x83660d3e8, i = 0} [04:43:37.897] active_snapshot_set = false [04:43:37.897] stmtlist_item = 0x83660d400 [04:43:37.897] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x836591100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8364bdf48, altdest=altdest@entry=0x8364bdf48, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:791 [04:43:37.897] _local_sigjmp_buf = {{_sjb = {9449405, 35271545088, 34915740680, 34915740912, 34915740688, 35271561216, 12106552, 12139864, 35271541631, 35270680312, 4294967984, 0}}} [04:43:37.897] _save_exception_stack = 0x82123ede0 [04:43:37.897] _save_context_stack = 0x0 [04:43:37.897] _do_rethrow = false [04:43:37.897] saveTopTransactionResourceOwner = 0x83659df58 [04:43:37.897] saveTopTransactionContext = 0x836595000 [04:43:37.897] saveActivePortal = 0x0 [04:43:37.897] saveResourceOwner = 0x83659df58 [04:43:37.897] savePortalContext = 0x0 [04:43:37.897] saveMemoryContext = 0x836595000 [04:43:37.897] result = [04:43:37.897] nprocessed = [04:43:37.897] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8364bc100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [04:43:37.897] cmdtaglen = 15 [04:43:37.897] snapshot_set = [04:43:37.897] per_parsetree_context = 0x0 [04:43:37.897] plantree_list = [04:43:37.897] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:37.897] format = 0 [04:43:37.897] parsetree = 0x8364bd750 [04:43:37.897] commandTag = [04:43:37.897] cmdtagname = [04:43:37.897] querytree_list = [04:43:37.897] portal = 0x836591100 [04:43:37.897] receiver = 0x8364bdf48 [04:43:37.897] parsetree_item__state = {l = 0x8364bdb38, i = 0} [04:43:37.897] msec_str = "\000\000\000\000\b", '\000' , "\025\360\323f\000\000\000\000\327s\000~\034*", [04:43:37.897] dest = DestRemote [04:43:37.897] was_logged = [04:43:37.897] oldcontext = 0x836595000 [04:43:37.897] parsetree_list = 0x8364bdb38 [04:43:37.897] use_implicit_block = false [04:43:37.897] parsetree_item = 0x8364bdb50 [04:43:37.897] save_log_statement_stats = [04:43:37.897] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:37.897] query_string = 0x8364bc100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;" [04:43:37.897] input_message = {data = 0x8364bc100 "CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", len = 80, maxlen = 1024, cursor = 80} [04:43:37.897] firstchar = [04:43:37.897] local_sigjmp_buf = {{_sjb = {9433318, 34915741152, 34915741112, 34915741696, 12148600, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [04:43:37.897] send_ready_for_query = false [04:43:37.897] idle_in_transaction_timeout_enabled = false [04:43:37.897] idle_session_timeout_enabled = false [04:43:37.897] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:37.897] bsdata = [04:43:37.897] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123fb24 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123fa60) at ../src/backend/postmaster/launch_backend.c:274 [04:43:37.897] pid = [04:43:37.897] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82123fa60) at ../src/backend/postmaster/postmaster.c:3414 [04:43:37.897] startup_data = {canAcceptConnections = CAC_OK} [04:43:37.897] bn = 0x8364c8088 [04:43:37.897] pid = [04:43:37.897] __error = [04:43:37.897] save_errno = [04:43:37.897] __error = [04:43:37.897] __error = [04:43:37.897] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:37.897] 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\337K6\b", '\000' , "\300\372#!\b\000\000\000h\205E,\b\000\000\000\v\000\000\000\000\000\000\000^\017F,\b", '\000' , "\373#!\b\000\000\000\264C\205\000\000\000\000\000\020\373#!\b", '\000' }, salen = 16}} [04:43:37.897] i = 0 [04:43:37.897] now = [04:43:37.897] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745987202, events = 8, fd = 0, user_data = 0x82123fa10}, {pos = 911304152, events = 8, fd = 556005536, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0xacbe4de430a}, {pos = 745154464, events = 8, fd = 745225592, user_data = 0x82123f528}, {pos = 556004768, events = 8, fd = 556004648, user_data = 0xacbe4de430a}, {pos = 745132936, events = 8, fd = 745225592, user_data = 0x82123f558}, {pos = 556004816, events = 8, fd = 556004696, user_data = 0x82c6ac194}, {pos = 567915528, events = 8, fd = 745193876, user_data = 0x82123f5c0}, {pos = -455216070, events = 2763, fd = 747016240, user_data = 0x1}, {pos = 556004848, events = 8, fd = -455195894, user_data = 0x82c695858}, {pos = 745225592, events = 8, fd = 556004808, user_data = 0x82123f640}, {pos = 556004808, events = 8, fd = 745188620, user_data = 0x821d9b408}, {pos = 745188620, events = 8, fd = 556004912, user_data = 0xacbe4ddf43a}, {pos = 556004952, events = 8, fd = 556005400, user_data = 0x82123f640}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1357106633, fd = 567939128, user_data = 0x800000001}, {pos = 567915528, events = 8, fd = 745132936, user_data = 0x821da0288}, {pos = 745101400, events = 8, fd = 567915528, user_data = 0x82123f6c8}, {pos = 556005512, events = 8, fd = 556005040, user_data = 0xacbe4de3ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 567939128, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556005768, user_data = 0x21d9b408}, {pos = 556005584, events = 8, fd = 556005184, user_data = 0x1}, {pos = 556005512, events = 8, fd = 32, user_data = 0x82123f730}, {pos = -455198093, events = 2763, fd = 556005456, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821da1038}, {pos = 1, events = 8, fd = 567915528, user_data = 0x82c695858}, {pos = 556005768, events = 8, fd = 556005584, user_data = 0x82123f740}, {pos = 0, events = 0, fd = 567885832, user_data = 0x20}, {pos = 556005568, events = 8, fd = -455222553, user_data = 0x821d94008}, {pos = 567886856, events = 8, fd = 567887880, user_data = 0x821d94c08}, {pos = 567902216, events = 8, fd = 567903240, user_data = 0x821d98808}, {pos = 567905288, events = 8, fd = 567906312, user_data = 0x821d99408}, {pos = 567908360, events = 8, fd = 567909384, user_data = 0x821d9a008}, {pos = 567911432, events = 8, fd = 567912456, user_data = 0x821d9ac08}, {pos = 567914504, events = 8, fd = 567915528, user_data = 0x821d9b808}, {pos = 567917576, events = 8, fd = 567918600, user_data = 0x821d9c408}, {pos = 567920648, events = 8, fd = 567921672, user_data = 0x821d9d008}, {pos = 567923720, events = 8, fd = 567924744, user_data = 0x821d9dc08}, {pos = 567930888, events = 8, fd = 567931912, user_data = 0x821d9f808}, {pos = 567933960, events = 8, fd = 567885832, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821da1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556005768, events = 8, fd = 556005184, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567885832, events = 8, fd = 314, user_data = 0x82123f970}, {pos = -455223825, events = 2763, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567915528, events = 8, fd = 910868480, user_data = 0x1}, {pos = 910868884, events = 8, fd = 0, user_data = 0x82123f940}, {pos = 742786412, events = 8, fd = 1, user_data = 0x8364ac000}, {pos = 556005744, events = 8, fd = 742782722, user_data = 0x82c7c7170 }, {pos = 12073640, events = 0, fd = 746353008, user_data = 0x821d9b408}, {pos = 556005968, events = 8, fd = -455224354, user_data = 0x8364ca800}, {pos = 1, events = 0, fd = -455224738, user_data = 0x821d94008}, {pos = 556005752, events = 8, fd = 556005968, user_data = 0x1c38}, {pos = 910941952, events = 8, fd = -455145072, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123fa00}, {pos = 742745104, events = 8, fd = 747016240, user_data = 0x82c86b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123fa30}, {pos = 742787997, events = 8, fd = 910868480, user_data = 0x48c4}, {pos = 556006032, events = 8, fd = 742754554, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0x0}} [04:43:37.897] last_touch_time = 1725165589 [04:43:37.897] last_lockfile_recheck_time = 1725165589 [04:43:37.897] nevents = 1 [04:43:37.897] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821240078) at ../src/backend/postmaster/postmaster.c:1346 [04:43:37.897] userDoption = [04:43:37.897] listen_addr_saved = [04:43:37.897] output_config_variable = [04:43:37.897] opt = [04:43:37.897] status = [04:43:37.897] #40 0x000000000079240c in main (argc=8, argv=0x821240078) at ../src/backend/main/main.c:197 [04:43:37.897] do_check_root = [04:43:37.910] [04:43:37.910] [04:43:37.910] [04:43:37.978] dumping /tmp/cores/postgres.19103.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:38.100] [New LWP 101775] [04:43:38.175] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [04:43:38.175] Program terminated with signal SIGABRT, Aborted. [04:43:38.175] Sent by thr_kill() from pid 19103 and user 1003. [04:43:38.175] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:38.687] To enable execution of this file add [04:43:38.687] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:38.687] line to your configuration file "/.config/gdb/gdbinit". [04:43:38.687] To completely disable this security protection add [04:43:38.687] set auto-load safe-path / [04:43:38.687] line to your configuration file "/.config/gdb/gdbinit". [04:43:38.687] For more information about this security protection see the [04:43:38.687] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:38.687] info "(gdb)Auto-loading safe path" [04:43:38.687] [04:43:38.687] Thread 1 (LWP 101775): [04:43:38.687] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:38.687] No symbol table info available. [04:43:38.687] #1 0x000000082c742e64 in raise () from /lib/libc.so.7 [04:43:38.687] No symbol table info available. [04:43:38.687] #2 0x000000082c7f36f9 in abort () from /lib/libc.so.7 [04:43:38.687] No symbol table info available. [04:43:38.687] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x84442fe44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:38.687] No locals. [04:43:38.687] #4 0x0000000844439063 in PLy_generate_spi_exceptions (mod=0x8495419e0, base=0x842950010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:38.687] dict = [04:43:38.687] found = true [04:43:38.687] sqlstate = [04:43:38.687] exc = 0x842a04c10 [04:43:38.687] entry = 0x0 [04:43:38.687] i = 66 [04:43:38.687] #5 PLy_add_exceptions (plpy=0x84872ac00) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:38.687] hash_ctl = {num_partitions = 35574500720, ssize = 7, dsize = 2, max_dsize = 34915736816, keysize = 4, entrysize = 16, hash = 0x8486c4d40, match = 0x8486c4d40, keycopy = 0x849529000, alloc = 0x8487220f0, hcxt = 0x845b7cac0 <_PyRuntime+166184>, hctl = 0x82123dd40} [04:43:38.687] excmod = 0x8495419e0 [04:43:38.687] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:38.687] m = 0x84872ac00 [04:43:38.687] #7 0x0000000845988f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #8 0x00000008459872e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #9 0x00000008458a7c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #10 0x0000000845951d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #11 0x0000000845954795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #12 0x000000084585590f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #13 0x0000000845855705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #14 0x0000000845983284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #15 0x000000084593b996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #16 0x00000008458a7e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #17 0x0000000845854538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #18 0x0000000845854467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #19 0x0000000845982b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #20 0x0000000845983ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:38.687] No symbol table info available. [04:43:38.687] #21 0x0000000844438476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:38.687] inited = false [04:43:38.687] #22 0x00000008444383a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:38.687] funcoid = 24576 [04:43:38.687] tuple = [04:43:38.687] is_trigger = [04:43:38.687] procStruct = [04:43:38.687] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82123e4c8, collation=0, arg1=24576) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:38.687] fcinfodata = {fcinfo = {flinfo = 0x82123e4c8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123e518}, fcinfo_data = "\310\344#!\b", '\000' , "\001\000\000`", '\000' } [04:43:38.687] fcinfo = 0x82123e4f8 [04:43:38.687] result = [04:43:38.687] __error = [04:43:38.687] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=24576) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:38.687] flinfo = {fn_addr = 0x844438370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8364ca400, fn_expr = 0x0} [04:43:38.687] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x83655c388 "import_fail", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8364bdde0 "try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn't supposed to happen\"", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8365073b0, 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 [04:43:38.687] set_items = [04:43:38.687] save_nestlevel = 0 [04:43:38.687] myself = {classId = 1255, objectId = 24576, objectSubId = 0} [04:43:38.687] nulls = {false , true, true, true, true, true, false, true, true, true, true} [04:43:38.687] values = {24576, 34915738960, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35270980528, 0, 0, 0, 0, 0, 35270731632, 0, 0, 0, 0} [04:43:38.687] replaces = {true } [04:43:38.687] procname = {data = "import_fail", '\000' } [04:43:38.687] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [04:43:38.687] paramModes = [04:43:38.687] variadicType = [04:43:38.687] proacl = 0x0 [04:43:38.687] parameterCount = [04:43:38.687] allParamCount = 0 [04:43:38.687] allParams = 0x8365073c8 [04:43:38.687] detailmsg = [04:43:38.687] i = [04:43:38.687] rel = 0x8365e9098 [04:43:38.687] tupDesc = 0x8365e93b8 [04:43:38.687] oldtup = 0x0 [04:43:38.687] tup = 0x836652038 [04:43:38.687] is_update = [04:43:38.687] retval = 24576 [04:43:38.687] addrs = [04:43:38.687] trfid = [04:43:38.687] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8364ca500, stmt=, stmt@entry=0x83655c338) at ../src/backend/commands/functioncmds.c:1257 [04:43:38.687] funcname = 0x83655c388 "import_fail" [04:43:38.687] parameterTypes = 0x8365073b0 [04:43:38.687] parameterTypes_list = 0x0 [04:43:38.687] allParameterTypes = 0x0 [04:43:38.687] parameterModes = 0x0 [04:43:38.687] parameterNames = 0x0 [04:43:38.687] inParameterNames_list = 0x0 [04:43:38.687] parameterDefaults = 0x0 [04:43:38.687] variadicArgType = 0 [04:43:38.687] requiredResultType = 0 [04:43:38.687] transformDefElem = [04:43:38.687] trftypes_list = [04:43:38.687] namespaceId = 2200 [04:43:38.687] aclresult = [04:43:38.687] as_clause = [04:43:38.687] language = [04:43:38.687] isWindowFunc = false [04:43:38.687] isStrict = false [04:43:38.687] security = false [04:43:38.687] isLeakProof = [04:43:38.687] volatility = 118 'v' [04:43:38.687] proconfig = 0x0 [04:43:38.687] procost = 100 [04:43:38.687] prorows = 0 [04:43:38.687] prosupport = 0 [04:43:38.687] parallel = 117 'u' [04:43:38.687] languageTuple = [04:43:38.687] languageStruct = [04:43:38.687] languageOid = 16456 [04:43:38.687] languageValidator = 16455 [04:43:38.687] prorettype = 25 [04:43:38.687] returnsSet = false [04:43:38.687] trftypes = 0x0 [04:43:38.687] prosqlbody = 0x0 [04:43:38.687] probin_str = 0x0 [04:43:38.687] prosrc_str = 0x8364bdde0 "try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn't supposed to happen\"" [04:43:38.687] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8364ca500, pstmt=pstmt@entry=0x8364bdef0, queryString=queryString@entry=0x8364bc100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1655 [04:43:38.687] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34915739960, 34915740336, 34915739968, 12139864, 0, 35270731008, 35271279487, 10, 0, 549755813888}}} [04:43:38.687] _save_exception_stack = 0x82123ec10 [04:43:38.687] _save_context_stack = 0x0 [04:43:38.687] _do_rethrow = false [04:43:38.687] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:38.687] parsetree = 0x83655c338 [04:43:38.687] commandCollected = false [04:43:38.687] needCleanup = false [04:43:38.687] address = [04:43:38.687] isTopLevel = [04:43:38.687] isCompleteQuery = [04:43:38.687] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x8364bdef0, queryString=0x8364bc100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x83655c768, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1030 [04:43:38.687] isAtomicContext = false [04:43:38.687] parsetree = 0x83655c338 [04:43:38.687] readonly_flags = [04:43:38.687] pstate = 0x8364ca500 [04:43:38.687] isTopLevel = [04:43:38.687] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18d8f, queryString=0x6 , readOnlyTree=, context=746361850, params=0x0, queryEnv=0x0, dest=0x83655c768, qc=0x82123ed10) at ../src/backend/tcop/utility.c:523 [04:43:38.687] No locals. [04:43:38.687] #30 0x00000000009040e3 in PortalRunUtility (portal=0x836591100, pstmt=0x8364bdef0, isTopLevel=, setHoldSnapshot=, dest=0x83655c768, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1158 [04:43:38.687] No locals. [04:43:38.687] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x836591100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x83655c768, altdest=altdest@entry=0x83655c768, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1323 [04:43:38.687] pstmt = 0x8364bdef0 [04:43:38.687] stmtlist_item__state = {l = 0x83655c718, i = 0} [04:43:38.687] active_snapshot_set = false [04:43:38.687] stmtlist_item = 0x83655c730 [04:43:38.687] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x836591100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x83655c768, altdest=altdest@entry=0x83655c768, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:791 [04:43:38.687] _local_sigjmp_buf = {{_sjb = {9449405, 35271545088, 34915740680, 34915740912, 34915740688, 35271610368, 12106552, 12139864, 35271541631, 35271324312, 4294967984, 0}}} [04:43:38.687] _save_exception_stack = 0x82123ede0 [04:43:38.687] _save_context_stack = 0x0 [04:43:38.687] _do_rethrow = false [04:43:38.687] saveTopTransactionResourceOwner = 0x83659b9a0 [04:43:38.687] saveTopTransactionContext = 0x8365a1000 [04:43:38.687] saveActivePortal = 0x0 [04:43:38.687] saveResourceOwner = 0x83659b9a0 [04:43:38.687] savePortalContext = 0x0 [04:43:38.687] saveMemoryContext = 0x8365a1000 [04:43:38.687] result = [04:43:38.687] nprocessed = [04:43:38.687] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8364bc100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [04:43:38.687] cmdtaglen = 15 [04:43:38.687] snapshot_set = [04:43:38.687] per_parsetree_context = 0x0 [04:43:38.687] plantree_list = [04:43:38.687] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:38.687] format = 0 [04:43:38.687] parsetree = 0x8364bd8c0 [04:43:38.687] commandTag = [04:43:38.687] cmdtagname = [04:43:38.687] querytree_list = [04:43:38.687] portal = 0x836591100 [04:43:38.687] receiver = 0x83655c768 [04:43:38.687] parsetree_item__state = {l = 0x8364bdd90, i = 0} [04:43:38.687] msec_str = "\000\000\000\000\b", '\000' , "\030\360\323f\000\000\000\000\253wʗ\030JrH" [04:43:38.687] dest = DestRemote [04:43:38.687] was_logged = [04:43:38.687] oldcontext = 0x8365a1000 [04:43:38.687] parsetree_list = 0x8364bdd90 [04:43:38.687] use_implicit_block = false [04:43:38.687] parsetree_item = 0x8364bdda8 [04:43:38.687] save_log_statement_stats = [04:43:38.687] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:38.687] query_string = 0x8364bc100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;" [04:43:38.687] input_message = {data = 0x8364bc100 "CREATE FUNCTION import_fail() returns text\n AS\n'try:\n\timport foosocket\nexcept ImportError:\n\treturn \"failed as expected\"\nreturn \"succeeded, that wasn''t supposed to happen\"'\n LANGUAGE plpython3u;", len = 201, maxlen = 1024, cursor = 201} [04:43:38.687] firstchar = [04:43:38.687] local_sigjmp_buf = {{_sjb = {9433318, 34915741152, 34915741112, 34915741696, 12148600, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [04:43:38.687] send_ready_for_query = false [04:43:38.687] idle_in_transaction_timeout_enabled = false [04:43:38.687] idle_session_timeout_enabled = false [04:43:38.687] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:38.687] bsdata = [04:43:38.687] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123fb24 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123fa60) at ../src/backend/postmaster/launch_backend.c:274 [04:43:38.687] pid = [04:43:38.687] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82123fa60) at ../src/backend/postmaster/postmaster.c:3414 [04:43:38.687] startup_data = {canAcceptConnections = CAC_OK} [04:43:38.687] bn = 0x8364bdf00 [04:43:38.687] pid = [04:43:38.687] __error = [04:43:38.687] save_errno = [04:43:38.687] __error = [04:43:38.687] __error = [04:43:38.687] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:38.687] 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\337K6\b", '\000' , "\300\372#!\b\000\000\000h\205E,\b\000\000\000\v\000\000\000\000\000\000\000^\017F,\b", '\000' , "\373#!\b\000\000\000\264C\205\000\000\000\000\000\020\373#!\b", '\000' }, salen = 16}} [04:43:38.687] i = 0 [04:43:38.687] now = [04:43:38.687] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745987202, events = 8, fd = 0, user_data = 0x82123fa10}, {pos = 911304152, events = 8, fd = 556005536, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0xacbe4de430a}, {pos = 745154464, events = 8, fd = 745225592, user_data = 0x82123f528}, {pos = 556004768, events = 8, fd = 556004648, user_data = 0xacbe4de430a}, {pos = 745132936, events = 8, fd = 745225592, user_data = 0x82123f558}, {pos = 556004816, events = 8, fd = 556004696, user_data = 0x82c6ac194}, {pos = 567915528, events = 8, fd = 745193876, user_data = 0x82123f5c0}, {pos = -455216070, events = 2763, fd = 747016240, user_data = 0x1}, {pos = 556004848, events = 8, fd = -455195894, user_data = 0x82c695858}, {pos = 745225592, events = 8, fd = 556004808, user_data = 0x82123f640}, {pos = 556004808, events = 8, fd = 745188620, user_data = 0x821d9b408}, {pos = 745188620, events = 8, fd = 556004912, user_data = 0xacbe4ddf43a}, {pos = 556004952, events = 8, fd = 556005400, user_data = 0x82123f640}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1357106633, fd = 567939128, user_data = 0x800000001}, {pos = 567915528, events = 8, fd = 745132936, user_data = 0x821da0288}, {pos = 745101400, events = 8, fd = 567915528, user_data = 0x82123f6c8}, {pos = 556005512, events = 8, fd = 556005040, user_data = 0xacbe4de3ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 567939128, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556005768, user_data = 0x21d9b408}, {pos = 556005584, events = 8, fd = 556005184, user_data = 0x1}, {pos = 556005512, events = 8, fd = 32, user_data = 0x82123f730}, {pos = -455198093, events = 2763, fd = 556005456, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821da1038}, {pos = 1, events = 8, fd = 567915528, user_data = 0x82c695858}, {pos = 556005768, events = 8, fd = 556005584, user_data = 0x82123f740}, {pos = 0, events = 0, fd = 567885832, user_data = 0x20}, {pos = 556005568, events = 8, fd = -455222553, user_data = 0x821d94008}, {pos = 567886856, events = 8, fd = 567887880, user_data = 0x821d94c08}, {pos = 567902216, events = 8, fd = 567903240, user_data = 0x821d98808}, {pos = 567905288, events = 8, fd = 567906312, user_data = 0x821d99408}, {pos = 567908360, events = 8, fd = 567909384, user_data = 0x821d9a008}, {pos = 567911432, events = 8, fd = 567912456, user_data = 0x821d9ac08}, {pos = 567914504, events = 8, fd = 567915528, user_data = 0x821d9b808}, {pos = 567917576, events = 8, fd = 567918600, user_data = 0x821d9c408}, {pos = 567920648, events = 8, fd = 567921672, user_data = 0x821d9d008}, {pos = 567923720, events = 8, fd = 567924744, user_data = 0x821d9dc08}, {pos = 567930888, events = 8, fd = 567931912, user_data = 0x821d9f808}, {pos = 567933960, events = 8, fd = 567885832, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821da1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556005768, events = 8, fd = 556005184, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567885832, events = 8, fd = 314, user_data = 0x82123f970}, {pos = -455223825, events = 2763, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567915528, events = 8, fd = 910868480, user_data = 0x1}, {pos = 910868884, events = 8, fd = 0, user_data = 0x82123f940}, {pos = 742786412, events = 8, fd = 1, user_data = 0x8364ac000}, {pos = 556005744, events = 8, fd = 742782722, user_data = 0x82c7c7170 }, {pos = 12073640, events = 0, fd = 746353008, user_data = 0x821d9b408}, {pos = 556005968, events = 8, fd = -455224354, user_data = 0x8364ca800}, {pos = 1, events = 0, fd = -455224738, user_data = 0x821d94008}, {pos = 556005752, events = 8, fd = 556005968, user_data = 0x1c38}, {pos = 910941952, events = 8, fd = -455145072, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123fa00}, {pos = 742745104, events = 8, fd = 747016240, user_data = 0x82c86b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123fa30}, {pos = 742787997, events = 8, fd = 910868480, user_data = 0x48c4}, {pos = 556006032, events = 8, fd = 742754554, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0x0}} [04:43:38.687] last_touch_time = 1725165589 [04:43:38.687] last_lockfile_recheck_time = 1725165589 [04:43:38.687] nevents = 1 [04:43:38.687] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821240078) at ../src/backend/postmaster/postmaster.c:1346 [04:43:38.687] userDoption = [04:43:38.687] listen_addr_saved = [04:43:38.687] output_config_variable = [04:43:38.687] opt = [04:43:38.687] status = [04:43:38.687] #40 0x000000000079240c in main (argc=8, argv=0x821240078) at ../src/backend/main/main.c:197 [04:43:38.687] do_check_root = [04:43:38.700] [04:43:38.700] [04:43:38.700] [04:43:38.768] dumping /tmp/cores/postgres.19567.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:38.888] [New LWP 101713] [04:43:38.962] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [04:43:38.962] Program terminated with signal SIGABRT, Aborted. [04:43:38.962] Sent by thr_kill() from pid 19567 and user 1003. [04:43:38.962] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:39.497] To enable execution of this file add [04:43:39.497] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:39.497] line to your configuration file "/.config/gdb/gdbinit". [04:43:39.497] To completely disable this security protection add [04:43:39.497] set auto-load safe-path / [04:43:39.497] line to your configuration file "/.config/gdb/gdbinit". [04:43:39.497] For more information about this security protection see the [04:43:39.497] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:39.497] info "(gdb)Auto-loading safe path" [04:43:39.497] [04:43:39.497] Thread 1 (LWP 101713): [04:43:39.497] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:39.497] No symbol table info available. [04:43:39.497] #1 0x000000082c742e64 in raise () from /lib/libc.so.7 [04:43:39.497] No symbol table info available. [04:43:39.497] #2 0x000000082c7f36f9 in abort () from /lib/libc.so.7 [04:43:39.497] No symbol table info available. [04:43:39.497] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x84398ae44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:39.497] No locals. [04:43:39.497] #4 0x0000000843994063 in PLy_generate_spi_exceptions (mod=0x8487a5ad0, base=0x842852010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:39.497] dict = [04:43:39.497] found = true [04:43:39.497] sqlstate = [04:43:39.497] exc = 0x842906c10 [04:43:39.497] entry = 0x0 [04:43:39.497] i = 66 [04:43:39.497] #5 PLy_add_exceptions (plpy=0x8473eec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:39.497] hash_ctl = {num_partitions = 35554332016, ssize = 7, dsize = 2, max_dsize = 34915736816, keysize = 4, entrysize = 16, hash = 0x847388d40, match = 0x847388d40, keycopy = 0x84878d040, alloc = 0x8473e6130, hcxt = 0x844891ac0 <_PyRuntime+166184>, hctl = 0x82123dd40} [04:43:39.497] excmod = 0x8487a5ad0 [04:43:39.497] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:39.497] m = 0x8473eec50 [04:43:39.497] #7 0x000000084469df70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #8 0x000000084469c2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #9 0x00000008445bcc29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #10 0x0000000844666d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #11 0x0000000844669795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #12 0x000000084456a90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #13 0x000000084456a705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #14 0x0000000844698284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #15 0x0000000844650996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #16 0x00000008445bce70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #17 0x0000000844569538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #18 0x0000000844569467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #19 0x0000000844697b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #20 0x0000000844698ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:39.497] No symbol table info available. [04:43:39.497] #21 0x0000000843993476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:39.497] inited = false [04:43:39.497] #22 0x00000008439933a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:39.497] funcoid = 32768 [04:43:39.497] tuple = [04:43:39.497] is_trigger = [04:43:39.497] procStruct = [04:43:39.497] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82123e4c8, collation=0, arg1=32768) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:39.497] fcinfodata = {fcinfo = {flinfo = 0x82123e4c8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123e518}, fcinfo_data = "\310\344#!\b", '\000' , "\001\000\000\200", '\000' } [04:43:39.497] fcinfo = 0x82123e4f8 [04:43:39.497] result = [04:43:39.497] __error = [04:43:39.497] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=32768) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:39.497] flinfo = {fn_addr = 0x843993370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8364ca400, fn_expr = 0x0} [04:43:39.497] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x83655c828 "nested_call_one", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x83655cb88 "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=0x8365073c8, allParameterTypes=0, parameterModes=0, parameterNames=35270980600, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [04:43:39.497] set_items = [04:43:39.497] save_nestlevel = 0 [04:43:39.497] myself = {classId = 1255, objectId = 32768, objectSubId = 0} [04:43:39.497] nulls = {false , true, true, false, true, true, false, true, true, true, true} [04:43:39.497] values = {32768, 34915738960, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 25, 35270980552, 0, 0, 35270980600, 0, 0, 35270731632, 0, 0, 0, 0} [04:43:39.497] replaces = {true } [04:43:39.497] procname = {data = "nested_call_one", '\000' } [04:43:39.497] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [04:43:39.497] paramModes = [04:43:39.497] variadicType = [04:43:39.497] proacl = 0x0 [04:43:39.497] parameterCount = [04:43:39.497] allParamCount = 1 [04:43:39.497] allParams = 0x8365073e0 [04:43:39.497] detailmsg = [04:43:39.497] i = [04:43:39.497] rel = 0x8365e8ed8 [04:43:39.497] tupDesc = 0x8365e91f8 [04:43:39.497] oldtup = 0x0 [04:43:39.497] tup = 0x836652038 [04:43:39.497] is_update = [04:43:39.497] retval = 32768 [04:43:39.497] addrs = [04:43:39.497] trfid = [04:43:39.497] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8364ca500, stmt=, stmt@entry=0x83655c7d8) at ../src/backend/commands/functioncmds.c:1257 [04:43:39.497] funcname = 0x83655c828 "nested_call_one" [04:43:39.497] parameterTypes = 0x8365073c8 [04:43:39.497] parameterTypes_list = 0x8364ca610 [04:43:39.497] allParameterTypes = 0x0 [04:43:39.497] parameterModes = 0x0 [04:43:39.497] parameterNames = 0x8365073f8 [04:43:39.497] inParameterNames_list = 0x8366523a8 [04:43:39.497] parameterDefaults = 0x0 [04:43:39.497] variadicArgType = 0 [04:43:39.497] requiredResultType = 0 [04:43:39.497] transformDefElem = [04:43:39.497] trftypes_list = [04:43:39.497] namespaceId = 2200 [04:43:39.497] aclresult = [04:43:39.497] as_clause = [04:43:39.497] language = [04:43:39.497] isWindowFunc = false [04:43:39.497] isStrict = false [04:43:39.497] security = false [04:43:39.497] isLeakProof = [04:43:39.497] volatility = 118 'v' [04:43:39.497] proconfig = 0x0 [04:43:39.497] procost = 100 [04:43:39.497] prorows = 0 [04:43:39.497] prosupport = 0 [04:43:39.497] parallel = 117 'u' [04:43:39.497] languageTuple = [04:43:39.497] languageStruct = [04:43:39.497] languageOid = 16456 [04:43:39.497] languageValidator = 16455 [04:43:39.497] prorettype = 25 [04:43:39.497] returnsSet = false [04:43:39.497] trftypes = 0x0 [04:43:39.497] prosqlbody = 0x0 [04:43:39.497] probin_str = 0x0 [04:43:39.497] prosrc_str = 0x83655cb88 "q = \"SELECT nested_call_two('%s')\" % a\nr = plpy.execute(q)\nreturn r[0]" [04:43:39.497] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8364ca500, pstmt=pstmt@entry=0x83655b238, queryString=queryString@entry=0x8364bc100 "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=0x82123ed10) at ../src/backend/tcop/utility.c:1655 [04:43:39.497] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34915739960, 34915740336, 34915739968, 12139864, 0, 35270731008, 35271279487, 10, 0, 549755813888}}} [04:43:39.497] _save_exception_stack = 0x82123ec10 [04:43:39.497] _save_context_stack = 0x0 [04:43:39.497] _do_rethrow = false [04:43:39.497] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:39.497] parsetree = 0x83655c7d8 [04:43:39.497] commandCollected = false [04:43:39.497] needCleanup = false [04:43:39.497] address = [04:43:39.497] isTopLevel = [04:43:39.497] isCompleteQuery = [04:43:39.497] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x83655b238, queryString=0x8364bc100 "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=0x83655ce28, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1030 [04:43:39.497] isAtomicContext = false [04:43:39.497] parsetree = 0x83655c7d8 [04:43:39.497] readonly_flags = [04:43:39.497] pstate = 0x8364ca500 [04:43:39.497] isTopLevel = [04:43:39.497] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18d51, queryString=0x6 , readOnlyTree=, context=746361850, params=0x0, queryEnv=0x0, dest=0x83655ce28, qc=0x82123ed10) at ../src/backend/tcop/utility.c:523 [04:43:39.497] No locals. [04:43:39.497] #30 0x00000000009040e3 in PortalRunUtility (portal=0x836591100, pstmt=0x83655b238, isTopLevel=, setHoldSnapshot=, dest=0x83655ce28, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1158 [04:43:39.497] No locals. [04:43:39.497] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x836591100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x83655ce28, altdest=altdest@entry=0x83655ce28, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1323 [04:43:39.497] pstmt = 0x83655b238 [04:43:39.497] stmtlist_item__state = {l = 0x83655cdd8, i = 0} [04:43:39.497] active_snapshot_set = false [04:43:39.497] stmtlist_item = 0x83655cdf0 [04:43:39.497] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x836591100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x83655ce28, altdest=altdest@entry=0x83655ce28, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:791 [04:43:39.497] _local_sigjmp_buf = {{_sjb = {9449405, 35271545088, 34915740680, 34915740912, 34915740688, 35271610368, 12106552, 12139864, 35271541631, 35271325096, 4294967984, 0}}} [04:43:39.497] _save_exception_stack = 0x82123ede0 [04:43:39.497] _save_context_stack = 0x0 [04:43:39.497] _do_rethrow = false [04:43:39.497] saveTopTransactionResourceOwner = 0x83659d928 [04:43:39.497] saveTopTransactionContext = 0x8365a1000 [04:43:39.497] saveActivePortal = 0x0 [04:43:39.497] saveResourceOwner = 0x83659d928 [04:43:39.497] savePortalContext = 0x0 [04:43:39.497] saveMemoryContext = 0x8365a1000 [04:43:39.497] result = [04:43:39.497] nprocessed = [04:43:39.497] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8364bc100 "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 [04:43:39.497] cmdtaglen = 15 [04:43:39.497] snapshot_set = [04:43:39.497] per_parsetree_context = 0x0 [04:43:39.497] plantree_list = [04:43:39.497] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:39.497] format = 0 [04:43:39.497] parsetree = 0x8364bdbe0 [04:43:39.497] commandTag = [04:43:39.497] cmdtagname = [04:43:39.497] querytree_list = [04:43:39.497] portal = 0x836591100 [04:43:39.497] receiver = 0x83655ce28 [04:43:39.497] parsetree_item__state = {l = 0x83655b1e8, i = 0} [04:43:39.497] msec_str = "\000\000\000\000\b", '\000' , "\033\360\323f\000\000\000\000+\005\253\300\265\264\006\002" [04:43:39.497] dest = DestRemote [04:43:39.497] was_logged = [04:43:39.497] oldcontext = 0x8365a1000 [04:43:39.497] parsetree_list = 0x83655b1e8 [04:43:39.497] use_implicit_block = false [04:43:39.497] parsetree_item = 0x83655b200 [04:43:39.497] save_log_statement_stats = [04:43:39.497] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:39.497] query_string = 0x8364bc100 "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 ;" [04:43:39.497] input_message = {data = 0x8364bc100 "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} [04:43:39.497] firstchar = [04:43:39.497] local_sigjmp_buf = {{_sjb = {9433318, 34915741152, 34915741112, 34915741696, 12148600, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [04:43:39.497] send_ready_for_query = false [04:43:39.497] idle_in_transaction_timeout_enabled = false [04:43:39.497] idle_session_timeout_enabled = false [04:43:39.497] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:39.497] bsdata = [04:43:39.497] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123fb24 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123fa60) at ../src/backend/postmaster/launch_backend.c:274 [04:43:39.497] pid = [04:43:39.497] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82123fa60) at ../src/backend/postmaster/postmaster.c:3414 [04:43:39.497] startup_data = {canAcceptConnections = CAC_OK} [04:43:39.497] bn = 0x8364bdf00 [04:43:39.497] pid = [04:43:39.497] __error = [04:43:39.497] save_errno = [04:43:39.497] __error = [04:43:39.497] __error = [04:43:39.497] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:39.497] 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\337K6\b", '\000' , "\300\372#!\b\000\000\000h\205E,\b\000\000\000\v\000\000\000\000\000\000\000^\017F,\b", '\000' , "\373#!\b\000\000\000\264C\205\000\000\000\000\000\020\373#!\b", '\000' }, salen = 16}} [04:43:39.497] i = 0 [04:43:39.497] now = [04:43:39.497] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745987202, events = 8, fd = 0, user_data = 0x82123fa10}, {pos = 911304152, events = 8, fd = 556005536, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0xacbe4de430a}, {pos = 745154464, events = 8, fd = 745225592, user_data = 0x82123f528}, {pos = 556004768, events = 8, fd = 556004648, user_data = 0xacbe4de430a}, {pos = 745132936, events = 8, fd = 745225592, user_data = 0x82123f558}, {pos = 556004816, events = 8, fd = 556004696, user_data = 0x82c6ac194}, {pos = 567915528, events = 8, fd = 745193876, user_data = 0x82123f5c0}, {pos = -455216070, events = 2763, fd = 747016240, user_data = 0x1}, {pos = 556004848, events = 8, fd = -455195894, user_data = 0x82c695858}, {pos = 745225592, events = 8, fd = 556004808, user_data = 0x82123f640}, {pos = 556004808, events = 8, fd = 745188620, user_data = 0x821d9b408}, {pos = 745188620, events = 8, fd = 556004912, user_data = 0xacbe4ddf43a}, {pos = 556004952, events = 8, fd = 556005400, user_data = 0x82123f640}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1357106633, fd = 567939128, user_data = 0x800000001}, {pos = 567915528, events = 8, fd = 745132936, user_data = 0x821da0288}, {pos = 745101400, events = 8, fd = 567915528, user_data = 0x82123f6c8}, {pos = 556005512, events = 8, fd = 556005040, user_data = 0xacbe4de3ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 567939128, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556005768, user_data = 0x21d9b408}, {pos = 556005584, events = 8, fd = 556005184, user_data = 0x1}, {pos = 556005512, events = 8, fd = 32, user_data = 0x82123f730}, {pos = -455198093, events = 2763, fd = 556005456, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821da1038}, {pos = 1, events = 8, fd = 567915528, user_data = 0x82c695858}, {pos = 556005768, events = 8, fd = 556005584, user_data = 0x82123f740}, {pos = 0, events = 0, fd = 567885832, user_data = 0x20}, {pos = 556005568, events = 8, fd = -455222553, user_data = 0x821d94008}, {pos = 567886856, events = 8, fd = 567887880, user_data = 0x821d94c08}, {pos = 567902216, events = 8, fd = 567903240, user_data = 0x821d98808}, {pos = 567905288, events = 8, fd = 567906312, user_data = 0x821d99408}, {pos = 567908360, events = 8, fd = 567909384, user_data = 0x821d9a008}, {pos = 567911432, events = 8, fd = 567912456, user_data = 0x821d9ac08}, {pos = 567914504, events = 8, fd = 567915528, user_data = 0x821d9b808}, {pos = 567917576, events = 8, fd = 567918600, user_data = 0x821d9c408}, {pos = 567920648, events = 8, fd = 567921672, user_data = 0x821d9d008}, {pos = 567923720, events = 8, fd = 567924744, user_data = 0x821d9dc08}, {pos = 567930888, events = 8, fd = 567931912, user_data = 0x821d9f808}, {pos = 567933960, events = 8, fd = 567885832, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821da1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556005768, events = 8, fd = 556005184, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567885832, events = 8, fd = 314, user_data = 0x82123f970}, {pos = -455223825, events = 2763, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567915528, events = 8, fd = 910868480, user_data = 0x1}, {pos = 910868884, events = 8, fd = 0, user_data = 0x82123f940}, {pos = 742786412, events = 8, fd = 1, user_data = 0x8364ac000}, {pos = 556005744, events = 8, fd = 742782722, user_data = 0x82c7c7170 }, {pos = 12073640, events = 0, fd = 746353008, user_data = 0x821d9b408}, {pos = 556005968, events = 8, fd = -455224354, user_data = 0x8364ca800}, {pos = 1, events = 0, fd = -455224738, user_data = 0x821d94008}, {pos = 556005752, events = 8, fd = 556005968, user_data = 0x1c38}, {pos = 910941952, events = 8, fd = -455145072, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123fa00}, {pos = 742745104, events = 8, fd = 747016240, user_data = 0x82c86b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123fa30}, {pos = 742787997, events = 8, fd = 910868480, user_data = 0x48c4}, {pos = 556006032, events = 8, fd = 742754554, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0x0}} [04:43:39.497] last_touch_time = 1725165589 [04:43:39.497] last_lockfile_recheck_time = 1725165589 [04:43:39.497] nevents = 1 [04:43:39.497] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821240078) at ../src/backend/postmaster/postmaster.c:1346 [04:43:39.497] userDoption = [04:43:39.497] listen_addr_saved = [04:43:39.497] output_config_variable = [04:43:39.497] opt = [04:43:39.497] status = [04:43:39.497] #40 0x000000000079240c in main (argc=8, argv=0x821240078) at ../src/backend/main/main.c:197 [04:43:39.497] do_check_root = [04:43:39.509] [04:43:39.509] [04:43:39.509] [04:43:39.574] dumping /tmp/cores/postgres.19798.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:39.696] [New LWP 101701] [04:43:39.765] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [04:43:39.765] Program terminated with signal SIGABRT, Aborted. [04:43:39.765] Sent by thr_kill() from pid 19798 and user 1003. [04:43:39.765] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:40.292] To enable execution of this file add [04:43:40.292] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:40.292] line to your configuration file "/.config/gdb/gdbinit". [04:43:40.292] To completely disable this security protection add [04:43:40.292] set auto-load safe-path / [04:43:40.292] line to your configuration file "/.config/gdb/gdbinit". [04:43:40.292] For more information about this security protection see the [04:43:40.292] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:40.292] info "(gdb)Auto-loading safe path" [04:43:40.292] [04:43:40.292] Thread 1 (LWP 101701): [04:43:40.292] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:40.292] No symbol table info available. [04:43:40.292] #1 0x000000082c742e64 in raise () from /lib/libc.so.7 [04:43:40.292] No symbol table info available. [04:43:40.292] #2 0x000000082c7f36f9 in abort () from /lib/libc.so.7 [04:43:40.292] No symbol table info available. [04:43:40.292] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x846455e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:40.292] No locals. [04:43:40.292] #4 0x000000084645f063 in PLy_generate_spi_exceptions (mod=0x84a449ad0, base=0x8435ad010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:40.292] dict = [04:43:40.292] found = true [04:43:40.292] sqlstate = [04:43:40.292] exc = 0x843661c10 [04:43:40.292] entry = 0x0 [04:43:40.292] i = 66 [04:43:40.292] #5 PLy_add_exceptions (plpy=0x848e06c50) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:40.292] hash_ctl = {num_partitions = 35581693296, ssize = 7, dsize = 2, max_dsize = 34915736816, keysize = 4, entrysize = 16, hash = 0x848da0d40, match = 0x848da0d40, keycopy = 0x84a431000, alloc = 0x848dfe0f0, hcxt = 0x848435ac0 <_PyRuntime+166184>, hctl = 0x82123dd40} [04:43:40.292] excmod = 0x84a449ad0 [04:43:40.292] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:40.292] m = 0x848e06c50 [04:43:40.292] #7 0x0000000848241f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #8 0x00000008482402e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #9 0x0000000848160c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #10 0x000000084820ad9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #11 0x000000084820d795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #12 0x000000084810e90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #13 0x000000084810e705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #14 0x000000084823c284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #15 0x00000008481f4996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #16 0x0000000848160e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #17 0x000000084810d538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #18 0x000000084810d467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #19 0x000000084823bb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #20 0x000000084823cef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:40.292] No symbol table info available. [04:43:40.292] #21 0x000000084645e476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:40.292] inited = false [04:43:40.292] #22 0x000000084645e3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:40.292] funcoid = 40960 [04:43:40.292] tuple = [04:43:40.292] is_trigger = [04:43:40.292] procStruct = [04:43:40.292] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82123e4c8, collation=0, arg1=40960) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:40.292] fcinfodata = {fcinfo = {flinfo = 0x82123e4c8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123e518}, fcinfo_data = "\310\344#!\b", '\000' , "\001\000\000\240", '\000' } [04:43:40.292] fcinfo = 0x82123e4f8 [04:43:40.292] result = [04:43:40.292] __error = [04:43:40.292] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=40960) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:40.292] flinfo = {fn_addr = 0x84645e370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8364ca400, fn_expr = 0x0} [04:43:40.292] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x83655c068 "test_void_func1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2278, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x83655c238 "\nx = 10\n", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8365073b0, 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 [04:43:40.292] set_items = [04:43:40.292] save_nestlevel = 0 [04:43:40.292] myself = {classId = 1255, objectId = 40960, objectSubId = 0} [04:43:40.292] nulls = {false , true, true, true, true, true, false, true, true, true, true} [04:43:40.292] values = {40960, 34915738960, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 2278, 35270980528, 0, 0, 0, 0, 0, 35272336088, 0, 0, 0, 0} [04:43:40.292] replaces = {true } [04:43:40.292] procname = {data = "test_void_func1", '\000' } [04:43:40.292] referenced = {classId = 1247, objectId = 2278, objectSubId = 0} [04:43:40.292] paramModes = [04:43:40.292] variadicType = [04:43:40.292] proacl = 0x0 [04:43:40.292] parameterCount = [04:43:40.292] allParamCount = 0 [04:43:40.292] allParams = 0x8365073c8 [04:43:40.292] detailmsg = [04:43:40.292] i = [04:43:40.292] rel = 0x8365e8818 [04:43:40.292] tupDesc = 0x8365e8b38 [04:43:40.292] oldtup = 0x0 [04:43:40.292] tup = 0x836507258 [04:43:40.292] is_update = [04:43:40.292] retval = 40960 [04:43:40.292] addrs = [04:43:40.292] trfid = [04:43:40.292] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8364ca500, stmt=, stmt@entry=0x83655c018) at ../src/backend/commands/functioncmds.c:1257 [04:43:40.292] funcname = 0x83655c068 "test_void_func1" [04:43:40.292] parameterTypes = 0x8365073b0 [04:43:40.292] parameterTypes_list = 0x0 [04:43:40.292] allParameterTypes = 0x0 [04:43:40.292] parameterModes = 0x0 [04:43:40.292] parameterNames = 0x0 [04:43:40.292] inParameterNames_list = 0x0 [04:43:40.292] parameterDefaults = 0x0 [04:43:40.292] variadicArgType = 0 [04:43:40.292] requiredResultType = 0 [04:43:40.292] transformDefElem = [04:43:40.292] trftypes_list = [04:43:40.292] namespaceId = 2200 [04:43:40.292] aclresult = [04:43:40.292] as_clause = [04:43:40.292] language = [04:43:40.292] isWindowFunc = false [04:43:40.292] isStrict = false [04:43:40.292] security = false [04:43:40.292] isLeakProof = [04:43:40.292] volatility = 118 'v' [04:43:40.292] proconfig = 0x0 [04:43:40.292] procost = 100 [04:43:40.292] prorows = 0 [04:43:40.292] prosupport = 0 [04:43:40.292] parallel = 117 'u' [04:43:40.292] languageTuple = [04:43:40.292] languageStruct = [04:43:40.292] languageOid = 16456 [04:43:40.292] languageValidator = 16455 [04:43:40.292] prorettype = 2278 [04:43:40.292] returnsSet = false [04:43:40.292] trftypes = 0x0 [04:43:40.292] prosqlbody = 0x0 [04:43:40.292] probin_str = 0x0 [04:43:40.292] prosrc_str = 0x83655c238 "\nx = 10\n" [04:43:40.292] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8364ca500, pstmt=pstmt@entry=0x8364bdb90, queryString=queryString@entry=0x8364bc100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1655 [04:43:40.292] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34915739960, 34915740336, 34915739968, 12139864, 0, 35270731008, 35271279487, 10, 0, 549755813888}}} [04:43:40.292] _save_exception_stack = 0x82123ec10 [04:43:40.292] _save_context_stack = 0x0 [04:43:40.292] _do_rethrow = false [04:43:40.292] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:40.292] parsetree = 0x83655c018 [04:43:40.292] commandCollected = false [04:43:40.292] needCleanup = false [04:43:40.292] address = [04:43:40.292] isTopLevel = [04:43:40.292] isCompleteQuery = [04:43:40.292] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x8364bdb90, queryString=0x8364bc100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8364bdf50, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1030 [04:43:40.292] isAtomicContext = false [04:43:40.292] parsetree = 0x83655c018 [04:43:40.292] readonly_flags = [04:43:40.292] pstate = 0x8364ca500 [04:43:40.292] isTopLevel = [04:43:40.292] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18d45, queryString=0x6 , readOnlyTree=, context=746361850, params=0x0, queryEnv=0x0, dest=0x8364bdf50, qc=0x82123ed10) at ../src/backend/tcop/utility.c:523 [04:43:40.292] No locals. [04:43:40.292] #30 0x00000000009040e3 in PortalRunUtility (portal=0x836591100, pstmt=0x8364bdb90, isTopLevel=, setHoldSnapshot=, dest=0x8364bdf50, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1158 [04:43:40.292] No locals. [04:43:40.292] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x836591100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8364bdf50, altdest=altdest@entry=0x8364bdf50, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1323 [04:43:40.292] pstmt = 0x8364bdb90 [04:43:40.292] stmtlist_item__state = {l = 0x83655c418, i = 0} [04:43:40.292] active_snapshot_set = false [04:43:40.292] stmtlist_item = 0x83655c430 [04:43:40.292] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x836591100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8364bdf50, altdest=altdest@entry=0x8364bdf50, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:791 [04:43:40.292] _local_sigjmp_buf = {{_sjb = {9449405, 35271545088, 34915740680, 34915740912, 34915740688, 35271610368, 12106552, 12139864, 35271541631, 35270680320, 4294967984, 0}}} [04:43:40.292] _save_exception_stack = 0x82123ede0 [04:43:40.292] _save_context_stack = 0x0 [04:43:40.292] _do_rethrow = false [04:43:40.292] saveTopTransactionResourceOwner = 0x83659e518 [04:43:40.292] saveTopTransactionContext = 0x8365a1000 [04:43:40.292] saveActivePortal = 0x0 [04:43:40.292] saveResourceOwner = 0x83659e518 [04:43:40.292] savePortalContext = 0x0 [04:43:40.292] saveMemoryContext = 0x8365a1000 [04:43:40.292] result = [04:43:40.292] nprocessed = [04:43:40.292] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8364bc100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [04:43:40.292] cmdtaglen = 15 [04:43:40.292] snapshot_set = [04:43:40.292] per_parsetree_context = 0x0 [04:43:40.292] plantree_list = [04:43:40.292] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:40.292] format = 0 [04:43:40.292] parsetree = 0x8364bd760 [04:43:40.292] commandTag = [04:43:40.292] cmdtagname = [04:43:40.292] querytree_list = [04:43:40.292] portal = 0x836591100 [04:43:40.292] receiver = 0x8364bdf50 [04:43:40.292] parsetree_item__state = {l = 0x8364bdb40, i = 0} [04:43:40.292] msec_str = "\000\000\000\000\b", '\000' , "\035\360\323f\000\000\000\000G\035\225\306U̽\261" [04:43:40.292] dest = DestRemote [04:43:40.292] was_logged = [04:43:40.292] oldcontext = 0x8365a1000 [04:43:40.292] parsetree_list = 0x8364bdb40 [04:43:40.292] use_implicit_block = false [04:43:40.292] parsetree_item = 0x8364bdb58 [04:43:40.292] save_log_statement_stats = [04:43:40.292] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:40.292] query_string = 0x8364bc100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;" [04:43:40.292] input_message = {data = 0x8364bc100 "CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;", len = 84, maxlen = 1024, cursor = 84} [04:43:40.292] firstchar = [04:43:40.292] local_sigjmp_buf = {{_sjb = {9433318, 34915741152, 34915741112, 34915741696, 12148600, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [04:43:40.292] send_ready_for_query = false [04:43:40.292] idle_in_transaction_timeout_enabled = false [04:43:40.292] idle_session_timeout_enabled = false [04:43:40.292] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:40.292] bsdata = [04:43:40.292] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123fb24 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123fa60) at ../src/backend/postmaster/launch_backend.c:274 [04:43:40.292] pid = [04:43:40.292] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82123fa60) at ../src/backend/postmaster/postmaster.c:3414 [04:43:40.292] startup_data = {canAcceptConnections = CAC_OK} [04:43:40.292] bn = 0x8364bdf00 [04:43:40.292] pid = [04:43:40.292] __error = [04:43:40.292] save_errno = [04:43:40.292] __error = [04:43:40.292] __error = [04:43:40.292] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:40.292] 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\337K6\b", '\000' , "\300\372#!\b\000\000\000h\205E,\b\000\000\000\v\000\000\000\000\000\000\000^\017F,\b", '\000' , "\373#!\b\000\000\000\264C\205\000\000\000\000\000\020\373#!\b", '\000' }, salen = 16}} [04:43:40.292] i = 0 [04:43:40.292] now = [04:43:40.292] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745987202, events = 8, fd = 0, user_data = 0x82123fa10}, {pos = 911304152, events = 8, fd = 556005536, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0xacbe4de430a}, {pos = 745154464, events = 8, fd = 745225592, user_data = 0x82123f528}, {pos = 556004768, events = 8, fd = 556004648, user_data = 0xacbe4de430a}, {pos = 745132936, events = 8, fd = 745225592, user_data = 0x82123f558}, {pos = 556004816, events = 8, fd = 556004696, user_data = 0x82c6ac194}, {pos = 567915528, events = 8, fd = 745193876, user_data = 0x82123f5c0}, {pos = -455216070, events = 2763, fd = 747016240, user_data = 0x1}, {pos = 556004848, events = 8, fd = -455195894, user_data = 0x82c695858}, {pos = 745225592, events = 8, fd = 556004808, user_data = 0x82123f640}, {pos = 556004808, events = 8, fd = 745188620, user_data = 0x821d9b408}, {pos = 745188620, events = 8, fd = 556004912, user_data = 0xacbe4ddf43a}, {pos = 556004952, events = 8, fd = 556005400, user_data = 0x82123f640}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1357106633, fd = 567939128, user_data = 0x800000001}, {pos = 567915528, events = 8, fd = 745132936, user_data = 0x821da0288}, {pos = 745101400, events = 8, fd = 567915528, user_data = 0x82123f6c8}, {pos = 556005512, events = 8, fd = 556005040, user_data = 0xacbe4de3ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 567939128, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556005768, user_data = 0x21d9b408}, {pos = 556005584, events = 8, fd = 556005184, user_data = 0x1}, {pos = 556005512, events = 8, fd = 32, user_data = 0x82123f730}, {pos = -455198093, events = 2763, fd = 556005456, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821da1038}, {pos = 1, events = 8, fd = 567915528, user_data = 0x82c695858}, {pos = 556005768, events = 8, fd = 556005584, user_data = 0x82123f740}, {pos = 0, events = 0, fd = 567885832, user_data = 0x20}, {pos = 556005568, events = 8, fd = -455222553, user_data = 0x821d94008}, {pos = 567886856, events = 8, fd = 567887880, user_data = 0x821d94c08}, {pos = 567902216, events = 8, fd = 567903240, user_data = 0x821d98808}, {pos = 567905288, events = 8, fd = 567906312, user_data = 0x821d99408}, {pos = 567908360, events = 8, fd = 567909384, user_data = 0x821d9a008}, {pos = 567911432, events = 8, fd = 567912456, user_data = 0x821d9ac08}, {pos = 567914504, events = 8, fd = 567915528, user_data = 0x821d9b808}, {pos = 567917576, events = 8, fd = 567918600, user_data = 0x821d9c408}, {pos = 567920648, events = 8, fd = 567921672, user_data = 0x821d9d008}, {pos = 567923720, events = 8, fd = 567924744, user_data = 0x821d9dc08}, {pos = 567930888, events = 8, fd = 567931912, user_data = 0x821d9f808}, {pos = 567933960, events = 8, fd = 567885832, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821da1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556005768, events = 8, fd = 556005184, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567885832, events = 8, fd = 314, user_data = 0x82123f970}, {pos = -455223825, events = 2763, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567915528, events = 8, fd = 910868480, user_data = 0x1}, {pos = 910868884, events = 8, fd = 0, user_data = 0x82123f940}, {pos = 742786412, events = 8, fd = 1, user_data = 0x8364ac000}, {pos = 556005744, events = 8, fd = 742782722, user_data = 0x82c7c7170 }, {pos = 12073640, events = 0, fd = 746353008, user_data = 0x821d9b408}, {pos = 556005968, events = 8, fd = -455224354, user_data = 0x8364ca800}, {pos = 1, events = 0, fd = -455224738, user_data = 0x821d94008}, {pos = 556005752, events = 8, fd = 556005968, user_data = 0x1c38}, {pos = 910941952, events = 8, fd = -455145072, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123fa00}, {pos = 742745104, events = 8, fd = 747016240, user_data = 0x82c86b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123fa30}, {pos = 742787997, events = 8, fd = 910868480, user_data = 0x48c4}, {pos = 556006032, events = 8, fd = 742754554, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0x0}} [04:43:40.292] last_touch_time = 1725165589 [04:43:40.292] last_lockfile_recheck_time = 1725165589 [04:43:40.292] nevents = 1 [04:43:40.292] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821240078) at ../src/backend/postmaster/postmaster.c:1346 [04:43:40.292] userDoption = [04:43:40.292] listen_addr_saved = [04:43:40.292] output_config_variable = [04:43:40.292] opt = [04:43:40.292] status = [04:43:40.292] #40 0x000000000079240c in main (argc=8, argv=0x821240078) at ../src/backend/main/main.c:197 [04:43:40.292] do_check_root = [04:43:40.304] [04:43:40.304] [04:43:40.304] [04:43:40.373] dumping /tmp/cores/postgres.19934.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:40.497] [New LWP 101615] [04:43:40.573] Core was generated by `postgres: postgres regression_plpython [local] CREATE PROCEDURE'. [04:43:40.573] Program terminated with signal SIGABRT, Aborted. [04:43:40.573] Sent by thr_kill() from pid 19934 and user 1003. [04:43:40.573] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:41.109] To enable execution of this file add [04:43:41.109] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:41.109] line to your configuration file "/.config/gdb/gdbinit". [04:43:41.109] To completely disable this security protection add [04:43:41.109] set auto-load safe-path / [04:43:41.109] line to your configuration file "/.config/gdb/gdbinit". [04:43:41.109] For more information about this security protection see the [04:43:41.109] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:41.109] info "(gdb)Auto-loading safe path" [04:43:41.109] [04:43:41.109] Thread 1 (LWP 101615): [04:43:41.109] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:41.109] No symbol table info available. [04:43:41.109] #1 0x000000082c742e64 in raise () from /lib/libc.so.7 [04:43:41.109] No symbol table info available. [04:43:41.109] #2 0x000000082c7f36f9 in abort () from /lib/libc.so.7 [04:43:41.109] No symbol table info available. [04:43:41.109] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x84474ae44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:41.109] No locals. [04:43:41.109] #4 0x0000000844754063 in PLy_generate_spi_exceptions (mod=0x8471b9b20, base=0x842bb2010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:41.109] dict = [04:43:41.109] found = true [04:43:41.109] sqlstate = [04:43:41.109] exc = 0x842c6ac10 [04:43:41.109] entry = 0x0 [04:43:41.109] i = 66 [04:43:41.109] #5 PLy_add_exceptions (plpy=0x8470ceca0) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:41.109] hash_ctl = {num_partitions = 35551055216, ssize = 7, dsize = 2, max_dsize = 34915736816, keysize = 4, entrysize = 16, hash = 0x847068d40, match = 0x847068d40, keycopy = 0x8470d1000, alloc = 0x8470c6130, hcxt = 0x846af7ac0 <_PyRuntime+166184>, hctl = 0x82123dd40} [04:43:41.109] excmod = 0x8471b9b20 [04:43:41.109] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:41.109] m = 0x8470ceca0 [04:43:41.109] #7 0x0000000846903f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #8 0x00000008469022e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #9 0x0000000846822c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #10 0x00000008468ccd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #11 0x00000008468cf795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #12 0x00000008467d090f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #13 0x00000008467d0705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #14 0x00000008468fe284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #15 0x00000008468b6996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #16 0x0000000846822e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #17 0x00000008467cf538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #18 0x00000008467cf467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #19 0x00000008468fdb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #20 0x00000008468feef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.109] No symbol table info available. [04:43:41.109] #21 0x0000000844753476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:41.109] inited = false [04:43:41.109] #22 0x00000008447533a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:41.109] funcoid = 49152 [04:43:41.109] tuple = [04:43:41.109] is_trigger = [04:43:41.109] procStruct = [04:43:41.109] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82123e4c8, collation=0, arg1=49152) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:41.109] fcinfodata = {fcinfo = {flinfo = 0x82123e4c8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123e518}, fcinfo_data = "\310\344#!\b", '\000' , "\001\000\000\300", '\000' } [04:43:41.109] fcinfo = 0x82123e4f8 [04:43:41.109] result = [04:43:41.109] __error = [04:43:41.109] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=49152) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:41.109] flinfo = {fn_addr = 0x844753370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8364ca400, fn_expr = 0x0} [04:43:41.109] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x83655bc30 "test_proc1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2278, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x83655be28 "\npass\n", probin=0x0, prosqlbody=0x0, prokind=112 'p', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8365073b0, 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 [04:43:41.109] set_items = [04:43:41.109] save_nestlevel = 0 [04:43:41.109] myself = {classId = 1255, objectId = 49152, objectSubId = 0} [04:43:41.109] nulls = {false , true, true, true, true, true, false, true, true, true, true} [04:43:41.109] values = {49152, 34915738960, 2200, 10, 16456, 1120403456, 0, 0, 0, 112, 0, 0, 0, 0, 118, 117, 0, 0, 2278, 35270980528, 0, 0, 0, 0, 0, 35272352472, 0, 0, 0, 0} [04:43:41.109] replaces = {true } [04:43:41.109] procname = {data = "test_proc1", '\000' } [04:43:41.109] referenced = {classId = 1247, objectId = 2278, objectSubId = 0} [04:43:41.109] paramModes = [04:43:41.109] variadicType = [04:43:41.109] proacl = 0x0 [04:43:41.109] parameterCount = [04:43:41.109] allParamCount = 0 [04:43:41.109] allParams = 0x8365073c8 [04:43:41.109] detailmsg = [04:43:41.109] i = [04:43:41.109] rel = 0x8365e3818 [04:43:41.109] tupDesc = 0x8365e3b38 [04:43:41.109] oldtup = 0x0 [04:43:41.109] tup = 0x836507258 [04:43:41.109] is_update = [04:43:41.109] retval = 49152 [04:43:41.109] addrs = [04:43:41.109] trfid = [04:43:41.109] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8364ca500, stmt=, stmt@entry=0x83655bbe0) at ../src/backend/commands/functioncmds.c:1257 [04:43:41.109] funcname = 0x83655bc30 "test_proc1" [04:43:41.109] parameterTypes = 0x8365073b0 [04:43:41.109] parameterTypes_list = 0x0 [04:43:41.109] allParameterTypes = 0x0 [04:43:41.109] parameterModes = 0x0 [04:43:41.109] parameterNames = 0x0 [04:43:41.109] inParameterNames_list = 0x0 [04:43:41.109] parameterDefaults = 0x0 [04:43:41.109] variadicArgType = 0 [04:43:41.109] requiredResultType = 0 [04:43:41.109] transformDefElem = [04:43:41.109] trftypes_list = [04:43:41.109] namespaceId = 2200 [04:43:41.109] aclresult = [04:43:41.109] as_clause = [04:43:41.109] language = [04:43:41.109] isWindowFunc = false [04:43:41.109] isStrict = false [04:43:41.109] security = false [04:43:41.109] isLeakProof = [04:43:41.109] volatility = 118 'v' [04:43:41.109] proconfig = 0x0 [04:43:41.109] procost = 100 [04:43:41.109] prorows = 0 [04:43:41.109] prosupport = 0 [04:43:41.109] parallel = 117 'u' [04:43:41.109] languageTuple = [04:43:41.109] languageStruct = [04:43:41.109] languageOid = 16456 [04:43:41.109] languageValidator = 16455 [04:43:41.109] prorettype = 2278 [04:43:41.109] returnsSet = false [04:43:41.109] trftypes = 0x0 [04:43:41.109] prosqlbody = 0x0 [04:43:41.109] probin_str = 0x0 [04:43:41.109] prosrc_str = 0x83655be28 "\npass\n" [04:43:41.109] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8364ca500, pstmt=pstmt@entry=0x8364bd8f8, queryString=queryString@entry=0x8364bc100 "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=0x82123ed10) at ../src/backend/tcop/utility.c:1655 [04:43:41.109] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34915739960, 34915740336, 34915739968, 12139864, 0, 35270731008, 35271279487, 10, 0, 549755813888}}} [04:43:41.109] _save_exception_stack = 0x82123ec10 [04:43:41.109] _save_context_stack = 0x0 [04:43:41.109] _do_rethrow = false [04:43:41.109] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:41.109] parsetree = 0x83655bbe0 [04:43:41.109] commandCollected = false [04:43:41.109] needCleanup = false [04:43:41.109] address = [04:43:41.109] isTopLevel = [04:43:41.109] isCompleteQuery = [04:43:41.109] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x8364bd8f8, queryString=0x8364bc100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x83655bf58, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1030 [04:43:41.109] isAtomicContext = false [04:43:41.109] parsetree = 0x83655bbe0 [04:43:41.109] readonly_flags = [04:43:41.109] pstate = 0x8364ca500 [04:43:41.109] isTopLevel = [04:43:41.109] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18cef, queryString=0x6 , readOnlyTree=, context=746361850, params=0x0, queryEnv=0x0, dest=0x83655bf58, qc=0x82123ed10) at ../src/backend/tcop/utility.c:523 [04:43:41.109] No locals. [04:43:41.109] #30 0x00000000009040e3 in PortalRunUtility (portal=0x836593100, pstmt=0x8364bd8f8, isTopLevel=, setHoldSnapshot=, dest=0x83655bf58, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1158 [04:43:41.109] No locals. [04:43:41.109] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x836593100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x83655bf58, altdest=altdest@entry=0x83655bf58, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1323 [04:43:41.109] pstmt = 0x8364bd8f8 [04:43:41.109] stmtlist_item__state = {l = 0x83655bf08, i = 0} [04:43:41.109] active_snapshot_set = false [04:43:41.109] stmtlist_item = 0x83655bf20 [04:43:41.109] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x836593100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x83655bf58, altdest=altdest@entry=0x83655bf58, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:791 [04:43:41.109] _local_sigjmp_buf = {{_sjb = {9449405, 35271553280, 34915740680, 34915740912, 34915740688, 35271991296, 12106552, 12139864, 35271541631, 35270679656, 4294967984, 0}}} [04:43:41.109] _save_exception_stack = 0x82123ede0 [04:43:41.109] _save_context_stack = 0x0 [04:43:41.109] _do_rethrow = false [04:43:41.109] saveTopTransactionResourceOwner = 0x836619738 [04:43:41.109] saveTopTransactionContext = 0x8365fe000 [04:43:41.109] saveActivePortal = 0x0 [04:43:41.109] saveResourceOwner = 0x836619738 [04:43:41.109] savePortalContext = 0x0 [04:43:41.109] saveMemoryContext = 0x8365fe000 [04:43:41.109] result = [04:43:41.109] nprocessed = [04:43:41.109] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8364bc100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;") at ../src/backend/tcop/postgres.c:1284 [04:43:41.109] cmdtaglen = 16 [04:43:41.109] snapshot_set = [04:43:41.109] per_parsetree_context = 0x0 [04:43:41.109] plantree_list = [04:43:41.109] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:41.109] format = 0 [04:43:41.109] parsetree = 0x8364bd5a0 [04:43:41.109] commandTag = [04:43:41.109] cmdtagname = [04:43:41.109] querytree_list = [04:43:41.109] portal = 0x836593100 [04:43:41.109] receiver = 0x83655bf58 [04:43:41.109] parsetree_item__state = {l = 0x8364bd8a8, i = 0} [04:43:41.109] msec_str = "\000\000\000\000\b", '\000' , "\037\360\323f\000\000\000\000\a\375\256K\245\333", [04:43:41.109] dest = DestRemote [04:43:41.109] was_logged = [04:43:41.109] oldcontext = 0x8365fe000 [04:43:41.109] parsetree_list = 0x8364bd8a8 [04:43:41.109] use_implicit_block = false [04:43:41.109] parsetree_item = 0x8364bd8c0 [04:43:41.109] save_log_statement_stats = [04:43:41.109] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:41.109] query_string = 0x8364bc100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;" [04:43:41.109] input_message = {data = 0x8364bc100 "CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", len = 65, maxlen = 1024, cursor = 65} [04:43:41.109] firstchar = [04:43:41.109] local_sigjmp_buf = {{_sjb = {9433318, 34915741152, 34915741112, 34915741696, 12148600, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [04:43:41.109] send_ready_for_query = false [04:43:41.109] idle_in_transaction_timeout_enabled = false [04:43:41.109] idle_session_timeout_enabled = false [04:43:41.109] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:41.109] bsdata = [04:43:41.109] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123fb24 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123fa60) at ../src/backend/postmaster/launch_backend.c:274 [04:43:41.109] pid = [04:43:41.109] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82123fa60) at ../src/backend/postmaster/postmaster.c:3414 [04:43:41.109] startup_data = {canAcceptConnections = CAC_OK} [04:43:41.109] bn = 0x8364bdf00 [04:43:41.109] pid = [04:43:41.109] __error = [04:43:41.109] save_errno = [04:43:41.109] __error = [04:43:41.109] __error = [04:43:41.109] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:41.109] 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\337K6\b", '\000' , "\300\372#!\b\000\000\000h\205E,\b\000\000\000\v\000\000\000\000\000\000\000^\017F,\b", '\000' , "\373#!\b\000\000\000\264C\205\000\000\000\000\000\020\373#!\b", '\000' }, salen = 16}} [04:43:41.109] i = 0 [04:43:41.109] now = [04:43:41.109] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745987202, events = 8, fd = 0, user_data = 0x82123fa10}, {pos = 911304152, events = 8, fd = 556005536, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0xacbe4de430a}, {pos = 745154464, events = 8, fd = 745225592, user_data = 0x82123f528}, {pos = 556004768, events = 8, fd = 556004648, user_data = 0xacbe4de430a}, {pos = 745132936, events = 8, fd = 745225592, user_data = 0x82123f558}, {pos = 556004816, events = 8, fd = 556004696, user_data = 0x82c6ac194}, {pos = 567915528, events = 8, fd = 745193876, user_data = 0x82123f5c0}, {pos = -455216070, events = 2763, fd = 747016240, user_data = 0x1}, {pos = 556004848, events = 8, fd = -455195894, user_data = 0x82c695858}, {pos = 745225592, events = 8, fd = 556004808, user_data = 0x82123f640}, {pos = 556004808, events = 8, fd = 745188620, user_data = 0x821d9b408}, {pos = 745188620, events = 8, fd = 556004912, user_data = 0xacbe4ddf43a}, {pos = 556004952, events = 8, fd = 556005400, user_data = 0x82123f640}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1357106633, fd = 567939128, user_data = 0x800000001}, {pos = 567915528, events = 8, fd = 745132936, user_data = 0x821da0288}, {pos = 745101400, events = 8, fd = 567915528, user_data = 0x82123f6c8}, {pos = 556005512, events = 8, fd = 556005040, user_data = 0xacbe4de3ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 567939128, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556005768, user_data = 0x21d9b408}, {pos = 556005584, events = 8, fd = 556005184, user_data = 0x1}, {pos = 556005512, events = 8, fd = 32, user_data = 0x82123f730}, {pos = -455198093, events = 2763, fd = 556005456, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821da1038}, {pos = 1, events = 8, fd = 567915528, user_data = 0x82c695858}, {pos = 556005768, events = 8, fd = 556005584, user_data = 0x82123f740}, {pos = 0, events = 0, fd = 567885832, user_data = 0x20}, {pos = 556005568, events = 8, fd = -455222553, user_data = 0x821d94008}, {pos = 567886856, events = 8, fd = 567887880, user_data = 0x821d94c08}, {pos = 567902216, events = 8, fd = 567903240, user_data = 0x821d98808}, {pos = 567905288, events = 8, fd = 567906312, user_data = 0x821d99408}, {pos = 567908360, events = 8, fd = 567909384, user_data = 0x821d9a008}, {pos = 567911432, events = 8, fd = 567912456, user_data = 0x821d9ac08}, {pos = 567914504, events = 8, fd = 567915528, user_data = 0x821d9b808}, {pos = 567917576, events = 8, fd = 567918600, user_data = 0x821d9c408}, {pos = 567920648, events = 8, fd = 567921672, user_data = 0x821d9d008}, {pos = 567923720, events = 8, fd = 567924744, user_data = 0x821d9dc08}, {pos = 567930888, events = 8, fd = 567931912, user_data = 0x821d9f808}, {pos = 567933960, events = 8, fd = 567885832, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821da1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556005768, events = 8, fd = 556005184, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567885832, events = 8, fd = 314, user_data = 0x82123f970}, {pos = -455223825, events = 2763, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567915528, events = 8, fd = 910868480, user_data = 0x1}, {pos = 910868884, events = 8, fd = 0, user_data = 0x82123f940}, {pos = 742786412, events = 8, fd = 1, user_data = 0x8364ac000}, {pos = 556005744, events = 8, fd = 742782722, user_data = 0x82c7c7170 }, {pos = 12073640, events = 0, fd = 746353008, user_data = 0x821d9b408}, {pos = 556005968, events = 8, fd = -455224354, user_data = 0x8364ca800}, {pos = 1, events = 0, fd = -455224738, user_data = 0x821d94008}, {pos = 556005752, events = 8, fd = 556005968, user_data = 0x1c38}, {pos = 910941952, events = 8, fd = -455145072, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123fa00}, {pos = 742745104, events = 8, fd = 747016240, user_data = 0x82c86b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123fa30}, {pos = 742787997, events = 8, fd = 910868480, user_data = 0x48c4}, {pos = 556006032, events = 8, fd = 742754554, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0x0}} [04:43:41.110] last_touch_time = 1725165589 [04:43:41.110] last_lockfile_recheck_time = 1725165589 [04:43:41.110] nevents = 1 [04:43:41.110] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821240078) at ../src/backend/postmaster/postmaster.c:1346 [04:43:41.110] userDoption = [04:43:41.110] listen_addr_saved = [04:43:41.110] output_config_variable = [04:43:41.110] opt = [04:43:41.110] status = [04:43:41.110] #40 0x000000000079240c in main (argc=8, argv=0x821240078) at ../src/backend/main/main.c:197 [04:43:41.110] do_check_root = [04:43:41.122] [04:43:41.122] [04:43:41.122] [04:43:41.190] dumping /tmp/cores/postgres.19973.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:41.312] [New LWP 100163] [04:43:41.387] Core was generated by `postgres: postgres regression_hstore_plpython [local] CREATE FUNCTION'. [04:43:41.387] Program terminated with signal SIGABRT, Aborted. [04:43:41.387] Sent by thr_kill() from pid 19973 and user 1003. [04:43:41.387] #0 0x000000082c11341a in thr_kill () from /lib/libc.so.7 [04:43:41.904] To enable execution of this file add [04:43:41.904] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:41.904] line to your configuration file "/.config/gdb/gdbinit". [04:43:41.904] To completely disable this security protection add [04:43:41.904] set auto-load safe-path / [04:43:41.904] line to your configuration file "/.config/gdb/gdbinit". [04:43:41.904] For more information about this security protection see the [04:43:41.904] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:41.904] info "(gdb)Auto-loading safe path" [04:43:41.904] [04:43:41.904] Thread 1 (LWP 100163): [04:43:41.904] #0 0x000000082c11341a in thr_kill () from /lib/libc.so.7 [04:43:41.904] No symbol table info available. [04:43:41.904] #1 0x000000082c08ce64 in raise () from /lib/libc.so.7 [04:43:41.904] No symbol table info available. [04:43:41.904] #2 0x000000082c13d6f9 in abort () from /lib/libc.so.7 [04:43:41.904] No symbol table info available. [04:43:41.904] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x843472e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:41.904] No locals. [04:43:41.904] #4 0x000000084347c063 in PLy_generate_spi_exceptions (mod=0x84ad35ad0, base=0x844a60010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:41.904] dict = [04:43:41.904] found = true [04:43:41.904] sqlstate = [04:43:41.904] exc = 0x844ab2c10 [04:43:41.904] entry = 0x0 [04:43:41.904] i = 66 [04:43:41.904] #5 PLy_add_exceptions (plpy=0x848eeac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:41.904] hash_ctl = {num_partitions = 35582627184, ssize = 7, dsize = 2, max_dsize = 34914037392, keysize = 4, entrysize = 16, hash = 0x848e84d40, match = 0x848e84d40, keycopy = 0x84ad1d000, alloc = 0x848ee20f0, hcxt = 0x849f73ac0 <_PyRuntime+166184>, hctl = 0x82109eee0} [04:43:41.904] excmod = 0x84ad35ad0 [04:43:41.904] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:41.904] m = 0x848eeac50 [04:43:41.904] #7 0x0000000849d7ff70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #8 0x0000000849d7e2e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #9 0x0000000849c9ec29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #10 0x0000000849d48d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #11 0x0000000849d4b795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #12 0x0000000849c4c90f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #13 0x0000000849c4c705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #14 0x0000000849d7a284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #15 0x0000000849d32996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #16 0x0000000849c9ee70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #17 0x0000000849c4b538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #18 0x0000000849c4b467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #19 0x0000000849d79b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #20 0x0000000849d7aef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:41.904] No symbol table info available. [04:43:41.904] #21 0x000000084347b476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:41.904] inited = false [04:43:41.904] #22 0x000000084347b3a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:41.904] funcoid = 16522 [04:43:41.904] tuple = [04:43:41.904] is_trigger = [04:43:41.904] procStruct = [04:43:41.904] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82109f668, collation=0, arg1=16522) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:41.904] fcinfodata = {fcinfo = {flinfo = 0x82109f668, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82109f6b8}, fcinfo_data = "h\366\t!\b", '\000' , "\001\000\212@", '\000' } [04:43:41.904] fcinfo = 0x82109f698 [04:43:41.904] result = [04:43:41.904] __error = [04:43:41.904] #24 OidFunctionCall1Coll (functionId=functionId@entry=16516, collation=collation@entry=0, arg1=arg1@entry=16522) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:41.904] flinfo = {fn_addr = 0x84347b370 , fn_oid = 16516, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8357e5400, fn_expr = 0x0} [04:43:41.904] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x835928f40 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16517, languageValidator=16516, prosrc=0x84497c8c8 "\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=0x835822c18, allParameterTypes=0, parameterModes=0, parameterNames=35257461832, parameterDefaults=0x0, trftypes=35257462016, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [04:43:41.904] set_items = [04:43:41.904] save_nestlevel = 0 [04:43:41.904] myself = {classId = 1255, objectId = 16522, objectSubId = 0} [04:43:41.904] nulls = {false , true, true, false, true, false, false, true, true, true, true} [04:43:41.904] values = {16522, 34914039536, 2200, 10, 16517, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35257461784, 0, 0, 35257461832, 0, 35257462016, 35257210736, 0, 0, 0, 0} [04:43:41.904] replaces = {true } [04:43:41.904] procname = {data = "test1", '\000' } [04:43:41.904] referenced = {classId = 3576, objectId = 16521, objectSubId = 0} [04:43:41.904] paramModes = [04:43:41.904] variadicType = [04:43:41.904] proacl = 0x0 [04:43:41.904] parameterCount = [04:43:41.904] allParamCount = 1 [04:43:41.904] allParams = 0x835822c30 [04:43:41.904] detailmsg = [04:43:41.904] i = [04:43:41.904] rel = 0x835903408 [04:43:41.904] tupDesc = 0x835903618 [04:43:41.904] oldtup = 0x0 [04:43:41.904] tup = 0x83596d838 [04:43:41.904] is_update = [04:43:41.904] retval = 16522 [04:43:41.904] addrs = [04:43:41.904] trfid = [04:43:41.904] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8357e5500, stmt=, stmt@entry=0x835928ef0) at ../src/backend/commands/functioncmds.c:1257 [04:43:41.904] funcname = 0x835928f40 "test1" [04:43:41.904] parameterTypes = 0x835822c18 [04:43:41.904] parameterTypes_list = 0x83596dba8 [04:43:41.904] allParameterTypes = 0x0 [04:43:41.904] parameterModes = 0x0 [04:43:41.904] parameterNames = 0x835822c48 [04:43:41.904] inParameterNames_list = 0x835822bc8 [04:43:41.904] parameterDefaults = 0x0 [04:43:41.904] variadicArgType = 0 [04:43:41.904] requiredResultType = 0 [04:43:41.904] transformDefElem = [04:43:41.904] trftypes_list = [04:43:41.904] namespaceId = 2200 [04:43:41.904] aclresult = [04:43:41.904] as_clause = [04:43:41.904] language = [04:43:41.904] isWindowFunc = false [04:43:41.904] isStrict = false [04:43:41.904] security = false [04:43:41.904] isLeakProof = [04:43:41.904] volatility = 118 'v' [04:43:41.904] proconfig = 0x0 [04:43:41.904] procost = 100 [04:43:41.904] prorows = 0 [04:43:41.904] prosupport = 0 [04:43:41.904] parallel = 117 'u' [04:43:41.904] languageTuple = [04:43:41.904] languageStruct = [04:43:41.904] languageOid = 16517 [04:43:41.904] languageValidator = 16516 [04:43:41.904] prorettype = 23 [04:43:41.904] returnsSet = false [04:43:41.904] trftypes = 0x835822d00 [04:43:41.904] prosqlbody = 0x0 [04:43:41.904] probin_str = 0x0 [04:43:41.904] prosrc_str = 0x84497c8c8 "\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n" [04:43:41.904] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8357e5500, pstmt=pstmt@entry=0x835927780, queryString=queryString@entry=0x8357d7100 "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=0x82109feb0) at ../src/backend/tcop/utility.c:1655 [04:43:41.904] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34914040536, 34914040912, 34914040544, 12139864, 0, 35257210112, 35258499967, 10, 0, 549755813888}}} [04:43:41.904] _save_exception_stack = 0x82109fdb0 [04:43:41.904] _save_context_stack = 0x0 [04:43:41.904] _do_rethrow = false [04:43:41.904] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:41.904] parsetree = 0x835928ef0 [04:43:41.904] commandCollected = false [04:43:41.904] needCleanup = false [04:43:41.904] address = [04:43:41.904] isTopLevel = [04:43:41.904] isCompleteQuery = [04:43:41.904] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x835927780, queryString=0x8357d7100 "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=0x84497ca68, qc=0x82109feb0) at ../src/backend/tcop/utility.c:1030 [04:43:41.904] isAtomicContext = false [04:43:41.904] parsetree = 0x835928ef0 [04:43:41.904] readonly_flags = [04:43:41.904] pstate = 0x8357e5500 [04:43:41.904] isTopLevel = [04:43:41.904] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18743, queryString=0x6 , readOnlyTree=, context=739324922, params=0x0, queryEnv=0x0, dest=0x84497ca68, qc=0x82109feb0) at ../src/backend/tcop/utility.c:523 [04:43:41.904] No locals. [04:43:41.904] #30 0x00000000009040e3 in PortalRunUtility (portal=0x8358ac100, pstmt=0x835927780, isTopLevel=, setHoldSnapshot=, dest=0x84497ca68, qc=0x82109feb0) at ../src/backend/tcop/pquery.c:1158 [04:43:41.904] No locals. [04:43:41.904] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x8358ac100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x84497ca68, altdest=altdest@entry=0x84497ca68, qc=0x82109feb0) at ../src/backend/tcop/pquery.c:1323 [04:43:41.904] pstmt = 0x835927780 [04:43:41.904] stmtlist_item__state = {l = 0x84497ca18, i = 0} [04:43:41.904] active_snapshot_set = false [04:43:41.904] stmtlist_item = 0x84497ca30 [04:43:41.904] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x8358ac100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x84497ca68, altdest=altdest@entry=0x84497ca68, qc=0x82109feb0) at ../src/backend/tcop/pquery.c:791 [04:43:41.904] _local_sigjmp_buf = {{_sjb = {9449405, 35258024192, 34914041256, 34914041488, 34914041264, 35258040320, 12106552, 12139864, 35257975679, 35258530544, 4294967984, 0}}} [04:43:41.904] _save_exception_stack = 0x82109ff80 [04:43:41.904] _save_context_stack = 0x0 [04:43:41.904] _do_rethrow = false [04:43:41.904] saveTopTransactionResourceOwner = 0x8358b8d58 [04:43:41.904] saveTopTransactionContext = 0x8358b0000 [04:43:41.904] saveActivePortal = 0x0 [04:43:41.904] saveResourceOwner = 0x8358b8d58 [04:43:41.904] savePortalContext = 0x0 [04:43:41.904] saveMemoryContext = 0x8358b0000 [04:43:41.904] result = [04:43:41.904] nprocessed = [04:43:41.904] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8357d7100 "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 [04:43:41.904] cmdtaglen = 15 [04:43:41.904] snapshot_set = [04:43:41.904] per_parsetree_context = 0x0 [04:43:41.904] plantree_list = [04:43:41.904] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:41.904] format = 0 [04:43:41.904] parsetree = 0x8357d8f28 [04:43:41.904] commandTag = [04:43:41.904] cmdtagname = [04:43:41.904] querytree_list = [04:43:41.904] portal = 0x8358ac100 [04:43:41.904] receiver = 0x84497ca68 [04:43:41.904] parsetree_item__state = {l = 0x835927730, i = 0} [04:43:41.904] msec_str = "\000\000\000\000\b", '\000' , " \360\323f\000\000\000\000\347\357\235)\373\301P\256" [04:43:41.904] dest = DestRemote [04:43:41.904] was_logged = [04:43:41.904] oldcontext = 0x8358b0000 [04:43:41.904] parsetree_list = 0x835927730 [04:43:41.904] use_implicit_block = false [04:43:41.904] parsetree_item = 0x835927748 [04:43:41.904] save_log_statement_stats = [04:43:41.904] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:41.904] query_string = 0x8357d7100 "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$$;" [04:43:41.904] input_message = {data = 0x8357d7100 "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} [04:43:41.904] firstchar = [04:43:41.904] local_sigjmp_buf = {{_sjb = {9433318, 34914041728, 34914041688, 34914042272, 12148600, 1, 8192, 8388608, 34914042751, 0, 0, 1}}} [04:43:41.904] send_ready_for_query = false [04:43:41.904] idle_in_transaction_timeout_enabled = false [04:43:41.904] idle_session_timeout_enabled = false [04:43:41.904] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:41.904] bsdata = [04:43:41.904] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x8210a0cc4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x8210a0c00) at ../src/backend/postmaster/launch_backend.c:274 [04:43:41.904] pid = [04:43:41.904] #37 0x00000000008589c8 in BackendStartup (client_sock=0x8210a0c00) at ../src/backend/postmaster/postmaster.c:3414 [04:43:41.904] startup_data = {canAcceptConnections = CAC_OK} [04:43:41.904] bn = 0x8357e3088 [04:43:41.904] pid = [04:43:41.904] __error = [04:43:41.904] save_errno = [04:43:41.904] __error = [04:43:41.904] __error = [04:43:41.904] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:41.904] 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}5\b", '\000' , "`\f\n!\b\000\000\000hU\323*\b\000\000\000\v\000\000\000\000\000\000\000^\337\323*\b", '\000' , "\240\f\n!\b\000\000\000\264C\205\000\000\000\000\000\260\f\n!\b", '\000' }, salen = 16}} [04:43:41.904] i = 0 [04:43:41.904] now = [04:43:41.904] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 738950274, events = 8, fd = 0, user_data = 0x8210a0bb0}, {pos = 897783256, events = 8, fd = 554306112, user_data = 0x0}, {pos = 0, events = 0, fd = -965448924, user_data = 0x359e0e70a30a}, {pos = 738117536, events = 8, fd = 738188664, user_data = 0x8210a06c8}, {pos = 554305344, events = 8, fd = 554305224, user_data = 0x359e0e70a30a}, {pos = 738096008, events = 8, fd = 738188664, user_data = 0x8210a06f8}, {pos = 554305392, events = 8, fd = 554305272, user_data = 0x82bff6194}, {pos = 554877960, events = 8, fd = 738156948, user_data = 0x8210a0760}, {pos = 242242618, events = 13726, fd = 739979312, user_data = 0x1}, {pos = 554305424, events = 8, fd = 242262794, user_data = 0x82bfdf858}, {pos = 738188664, events = 8, fd = 554305384, user_data = 0x8210a07e0}, {pos = 554305384, events = 8, fd = 738151692, user_data = 0x82112c408}, {pos = 738151692, events = 8, fd = 554305488, user_data = 0x359e0e70543a}, {pos = 554305528, events = 8, fd = 554305976, user_data = 0x8210a07e0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1319822445, fd = 554901560, user_data = 0x800000001}, {pos = 554877960, events = 8, fd = 738096008, user_data = 0x821131288}, {pos = 738064472, events = 8, fd = 554877960, user_data = 0x8210a0868}, {pos = 554306088, events = 8, fd = 554305616, user_data = 0x359e0e709ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 554901560, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 554306344, user_data = 0x2112c408}, {pos = 554306160, events = 8, fd = 554305760, user_data = 0x1}, {pos = 554306088, events = 8, fd = 32, user_data = 0x8210a08d0}, {pos = 242260595, events = 13726, fd = 554306032, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821132038}, {pos = 1, events = 8, fd = 554877960, user_data = 0x82bfdf858}, {pos = 554306344, events = 8, fd = 554306160, user_data = 0x8210a08e0}, {pos = 0, events = 0, fd = 554848264, user_data = 0x20}, {pos = 554306144, events = 8, fd = 242236135, user_data = 0x821125008}, {pos = 554849288, events = 8, fd = 554850312, user_data = 0x821125c08}, {pos = 554864648, events = 8, fd = 554865672, user_data = 0x821129808}, {pos = 554867720, events = 8, fd = 554868744, user_data = 0x82112a408}, {pos = 554870792, events = 8, fd = 554871816, user_data = 0x82112b008}, {pos = 554873864, events = 8, fd = 554874888, user_data = 0x82112bc08}, {pos = 554876936, events = 8, fd = 554877960, user_data = 0x82112c808}, {pos = 554880008, events = 8, fd = 554881032, user_data = 0x82112d408}, {pos = 554883080, events = 8, fd = 554884104, user_data = 0x82112e008}, {pos = 554886152, events = 8, fd = 554887176, user_data = 0x82112ec08}, {pos = 554893320, events = 8, fd = 554894344, user_data = 0x821130808}, {pos = 554896392, events = 8, fd = 554848264, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821132038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 554306344, events = 8, fd = 554305760, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 554901560, user_data = 0x1}, {pos = 554848264, events = 8, fd = 314, user_data = 0x8210a0b10}, {pos = 242234863, events = 13726, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 554901560, user_data = 0x1}, {pos = 554877960, events = 8, fd = 897347584, user_data = 0x1}, {pos = 897347988, events = 8, fd = 0, user_data = 0x8210a0ae0}, {pos = 718525804, events = 8, fd = 1, user_data = 0x8357c7000}, {pos = 554306320, events = 8, fd = 718522114, user_data = 0x82c111170 }, {pos = 12073640, events = 0, fd = 739316080, user_data = 0x82112c408}, {pos = 554306544, events = 8, fd = 242234334, user_data = 0x8357e5800}, {pos = 1, events = 0, fd = 242233950, user_data = 0x821125008}, {pos = 554306328, events = 8, fd = 554306544, user_data = 0x1c38}, {pos = 897421056, events = 8, fd = 242313616, user_data = 0x0}, {pos = 554304383, events = 8, fd = 7886599, user_data = 0x8210a0ba0}, {pos = 718484496, events = 8, fd = 739979312, user_data = 0x82c1b5310}, {pos = 0, events = 0, fd = 8128, user_data = 0x8210a0bd0}, {pos = 718527389, events = 8, fd = 897347584, user_data = 0x4df3}, {pos = 554306608, events = 8, fd = 718493946, user_data = 0x0}, {pos = 0, events = 0, fd = -965448924, user_data = 0x0}} [04:43:41.905] last_touch_time = 1725165600 [04:43:41.905] last_lockfile_recheck_time = 1725165600 [04:43:41.905] nevents = 1 [04:43:41.905] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x8210a1210) at ../src/backend/postmaster/postmaster.c:1346 [04:43:41.905] userDoption = [04:43:41.905] listen_addr_saved = [04:43:41.905] output_config_variable = [04:43:41.905] opt = [04:43:41.905] status = [04:43:41.905] #40 0x000000000079240c in main (argc=8, argv=0x8210a1210) at ../src/backend/main/main.c:197 [04:43:41.905] do_check_root = [04:43:41.918] [04:43:41.918] [04:43:41.918] [04:43:41.986] dumping /tmp/cores/postgres.20058.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:42.106] [New LWP 101666] [04:43:42.180] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [04:43:42.180] Program terminated with signal SIGABRT, Aborted. [04:43:42.180] Sent by thr_kill() from pid 20058 and user 1003. [04:43:42.180] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:42.726] To enable execution of this file add [04:43:42.726] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:42.726] line to your configuration file "/.config/gdb/gdbinit". [04:43:42.726] To completely disable this security protection add [04:43:42.726] set auto-load safe-path / [04:43:42.726] line to your configuration file "/.config/gdb/gdbinit". [04:43:42.726] For more information about this security protection see the [04:43:42.726] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:42.726] info "(gdb)Auto-loading safe path" [04:43:42.726] [04:43:42.726] Thread 1 (LWP 101666): [04:43:42.726] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:42.726] No symbol table info available. [04:43:42.726] #1 0x000000082c742e64 in raise () from /lib/libc.so.7 [04:43:42.726] No symbol table info available. [04:43:42.726] #2 0x000000082c7f36f9 in abort () from /lib/libc.so.7 [04:43:42.726] No symbol table info available. [04:43:42.726] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x843037e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:42.726] No locals. [04:43:42.726] #4 0x0000000843041063 in PLy_generate_spi_exceptions (mod=0x847fb1ad0, base=0x845fe1010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:42.726] dict = [04:43:42.726] found = true [04:43:42.726] sqlstate = [04:43:42.726] exc = 0x845ff1c10 [04:43:42.726] entry = 0x0 [04:43:42.726] i = 66 [04:43:42.726] #5 PLy_add_exceptions (plpy=0x84381ec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:42.726] hash_ctl = {num_partitions = 35491614064, ssize = 7, dsize = 2, max_dsize = 34915736816, keysize = 4, entrysize = 16, hash = 0x8437b8d40, match = 0x8437b8d40, keycopy = 0x847f99040, alloc = 0x843816130, hcxt = 0x84a199ac0 <_PyRuntime+166184>, hctl = 0x82123dd40} [04:43:42.726] excmod = 0x847fb1ad0 [04:43:42.726] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:42.726] m = 0x84381ec50 [04:43:42.726] #7 0x0000000849fa5f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #8 0x0000000849fa42e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #9 0x0000000849ec4c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #10 0x0000000849f6ed9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #11 0x0000000849f71795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #12 0x0000000849e7290f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #13 0x0000000849e72705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #14 0x0000000849fa0284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #15 0x0000000849f58996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #16 0x0000000849ec4e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #17 0x0000000849e71538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #18 0x0000000849e71467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #19 0x0000000849f9fb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #20 0x0000000849fa0ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:42.726] No symbol table info available. [04:43:42.726] #21 0x0000000843040476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:42.726] inited = false [04:43:42.726] #22 0x00000008430403a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:42.726] funcoid = 57352 [04:43:42.726] tuple = [04:43:42.726] is_trigger = [04:43:42.726] procStruct = [04:43:42.726] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82123e4c8, collation=0, arg1=57352) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:42.726] fcinfodata = {fcinfo = {flinfo = 0x82123e4c8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123e518}, fcinfo_data = "\310\344#!\b", '\000' , "\001\000\b\340", '\000' } [04:43:42.726] fcinfo = 0x82123e4f8 [04:43:42.726] result = [04:43:42.726] __error = [04:43:42.726] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=57352) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:42.726] flinfo = {fn_addr = 0x843040370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x836655800, fn_expr = 0x0} [04:43:42.726] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8365bc4a0 "test_table_record_as", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=57346, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x8365bcc58 "\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': second, 'additionalfield': 'must not cause trouble' }\nelif typ == 'tuple':\n\treturn ( first, second )\nelif typ == 'list':"..., probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x836507438, allParameterTypes=0, parameterModes=0, parameterNames=35272350576, parameterDefaults=0x0, trftypes=0, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [04:43:42.726] set_items = [04:43:42.726] save_nestlevel = 0 [04:43:42.726] myself = {classId = 1255, objectId = 57352, objectSubId = 0} [04:43:42.726] nulls = {false , true, true, false, true, true, false, true, true, true, true} [04:43:42.726] values = {57352, 34915738960, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 4, 0, 57346, 35270980664, 0, 0, 35272350576, 0, 0, 35272354872, 0, 0, 0, 0} [04:43:42.726] replaces = {true } [04:43:42.726] procname = {data = "test_table_record_as", '\000' } [04:43:42.726] referenced = {classId = 1247, objectId = 16, objectSubId = 0} [04:43:42.726] paramModes = [04:43:42.726] variadicType = [04:43:42.726] proacl = 0x0 [04:43:42.726] parameterCount = [04:43:42.726] allParamCount = 4 [04:43:42.726] allParams = 0x836507450 [04:43:42.726] detailmsg = [04:43:42.726] i = [04:43:42.726] rel = 0x8365ec958 [04:43:42.726] tupDesc = 0x8365ecc78 [04:43:42.726] oldtup = 0x0 [04:43:42.726] tup = 0x8365160c8 [04:43:42.726] is_update = [04:43:42.726] retval = 57352 [04:43:42.726] addrs = [04:43:42.726] trfid = [04:43:42.726] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x836655900, stmt=, stmt@entry=0x8365bc450) at ../src/backend/commands/functioncmds.c:1257 [04:43:42.726] funcname = 0x8365bc4a0 "test_table_record_as" [04:43:42.726] parameterTypes = 0x836507438 [04:43:42.726] parameterTypes_list = 0x836655a10 [04:43:42.726] allParameterTypes = 0x0 [04:43:42.726] parameterModes = 0x0 [04:43:42.726] parameterNames = 0x836655b70 [04:43:42.726] inParameterNames_list = 0x836656fa8 [04:43:42.726] parameterDefaults = 0x0 [04:43:42.726] variadicArgType = 0 [04:43:42.726] requiredResultType = 0 [04:43:42.726] transformDefElem = [04:43:42.726] trftypes_list = [04:43:42.726] namespaceId = 2200 [04:43:42.726] aclresult = [04:43:42.726] as_clause = [04:43:42.726] language = [04:43:42.726] isWindowFunc = false [04:43:42.726] isStrict = false [04:43:42.726] security = false [04:43:42.726] isLeakProof = [04:43:42.726] volatility = 118 'v' [04:43:42.726] proconfig = 0x0 [04:43:42.726] procost = 100 [04:43:42.726] prorows = 0 [04:43:42.726] prosupport = 0 [04:43:42.726] parallel = 117 'u' [04:43:42.726] languageTuple = [04:43:42.726] languageStruct = [04:43:42.726] languageOid = 16456 [04:43:42.726] languageValidator = 16455 [04:43:42.726] prorettype = 57346 [04:43:42.726] returnsSet = false [04:43:42.726] trftypes = 0x0 [04:43:42.726] prosqlbody = 0x0 [04:43:42.726] probin_str = 0x0 [04:43:42.726] prosrc_str = 0x8365bcc58 "\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': second, 'additionalfield': 'must not cause trouble' }\nelif typ == 'tuple':\n\treturn ( first, second )\nelif typ == 'list':"... [04:43:42.726] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x836655900, pstmt=pstmt@entry=0x83655cc68, queryString=queryString@entry=0x8364bc100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1655 [04:43:42.726] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34915739960, 34915740336, 34915739968, 12139864, 0, 35272349952, 35271672703, 10, 0, 549755813888}}} [04:43:42.726] _save_exception_stack = 0x82123ec10 [04:43:42.726] _save_context_stack = 0x0 [04:43:42.726] _do_rethrow = false [04:43:42.726] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:42.726] parsetree = 0x8365bc450 [04:43:42.726] commandCollected = false [04:43:42.726] needCleanup = false [04:43:42.726] address = [04:43:42.726] isTopLevel = [04:43:42.726] isCompleteQuery = [04:43:42.726] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x83655cc68, queryString=0x8364bc100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x8365bd078, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1030 [04:43:42.726] isAtomicContext = false [04:43:42.726] parsetree = 0x8365bc450 [04:43:42.726] readonly_flags = [04:43:42.726] pstate = 0x836655900 [04:43:42.726] isTopLevel = [04:43:42.726] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18d22, queryString=0x6 , readOnlyTree=, context=746361850, params=0x0, queryEnv=0x0, dest=0x8365bd078, qc=0x82123ed10) at ../src/backend/tcop/utility.c:523 [04:43:42.726] No locals. [04:43:42.726] #30 0x00000000009040e3 in PortalRunUtility (portal=0x836593100, pstmt=0x83655cc68, isTopLevel=, setHoldSnapshot=, dest=0x8365bd078, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1158 [04:43:42.726] No locals. [04:43:42.726] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x836593100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x8365bd078, altdest=altdest@entry=0x8365bd078, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1323 [04:43:42.726] pstmt = 0x83655cc68 [04:43:42.726] stmtlist_item__state = {l = 0x8365bd028, i = 0} [04:43:42.726] active_snapshot_set = false [04:43:42.726] stmtlist_item = 0x8365bd040 [04:43:42.726] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x836593100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x8365bd078, altdest=altdest@entry=0x8365bd078, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:791 [04:43:42.726] _local_sigjmp_buf = {{_sjb = {9449405, 35271553280, 34915740680, 34915740912, 34915740688, 35272028160, 12106552, 12139864, 35271541631, 35271713912, 4294967984, 0}}} [04:43:42.726] _save_exception_stack = 0x82123ede0 [04:43:42.726] _save_context_stack = 0x0 [04:43:42.726] _do_rethrow = false [04:43:42.726] saveTopTransactionResourceOwner = 0x83659b060 [04:43:42.726] saveTopTransactionContext = 0x836607000 [04:43:42.726] saveActivePortal = 0x0 [04:43:42.726] saveResourceOwner = 0x83659b060 [04:43:42.726] savePortalContext = 0x0 [04:43:42.726] saveMemoryContext = 0x836607000 [04:43:42.726] result = [04:43:42.726] nprocessed = [04:43:42.726] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8364bc100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"...) at ../src/backend/tcop/postgres.c:1284 [04:43:42.726] cmdtaglen = 15 [04:43:42.726] snapshot_set = [04:43:42.726] per_parsetree_context = 0x0 [04:43:42.726] plantree_list = [04:43:42.726] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:42.726] format = 0 [04:43:42.726] parsetree = 0x83655c060 [04:43:42.726] commandTag = [04:43:42.726] cmdtagname = [04:43:42.726] querytree_list = [04:43:42.726] portal = 0x836593100 [04:43:42.726] receiver = 0x8365bd078 [04:43:42.726] parsetree_item__state = {l = 0x83655cc18, i = 0} [04:43:42.726] msec_str = "\000\000\000\000\b", '\000' , "\"\360\323f\000\000\000\000\an\362\221\367\214LL" [04:43:42.726] dest = DestRemote [04:43:42.726] was_logged = [04:43:42.726] oldcontext = 0x836607000 [04:43:42.726] parsetree_list = 0x83655cc18 [04:43:42.726] use_implicit_block = false [04:43:42.726] parsetree_item = 0x83655cc30 [04:43:42.726] save_log_statement_stats = [04:43:42.726] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:42.726] query_string = 0x8364bc100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"... [04:43:42.726] input_message = {data = 0x8364bc100 "CREATE FUNCTION test_table_record_as(typ text, first text, second integer, retnull boolean) RETURNS table_record AS $$\nif retnull:\n\treturn None\nif typ == 'dict':\n\treturn { 'first': first, 'second': se"..., len = 489, maxlen = 1024, cursor = 489} [04:43:42.726] firstchar = [04:43:42.726] local_sigjmp_buf = {{_sjb = {9433318, 34915741152, 34915741112, 34915741696, 12148600, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [04:43:42.726] send_ready_for_query = false [04:43:42.726] idle_in_transaction_timeout_enabled = false [04:43:42.726] idle_session_timeout_enabled = false [04:43:42.726] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:42.726] bsdata = [04:43:42.726] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123fb24 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123fa60) at ../src/backend/postmaster/launch_backend.c:274 [04:43:42.726] pid = [04:43:42.726] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82123fa60) at ../src/backend/postmaster/postmaster.c:3414 [04:43:42.726] startup_data = {canAcceptConnections = CAC_OK} [04:43:42.726] bn = 0x8364bdf00 [04:43:42.726] pid = [04:43:42.726] __error = [04:43:42.726] save_errno = [04:43:42.726] __error = [04:43:42.726] __error = [04:43:42.726] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:42.726] 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\337K6\b", '\000' , "\300\372#!\b\000\000\000h\205E,\b\000\000\000\v\000\000\000\000\000\000\000^\017F,\b", '\000' , "\373#!\b\000\000\000\264C\205\000\000\000\000\000\020\373#!\b", '\000' }, salen = 16}} [04:43:42.726] i = 0 [04:43:42.726] now = [04:43:42.726] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745987202, events = 8, fd = 0, user_data = 0x82123fa10}, {pos = 911304152, events = 8, fd = 556005536, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0xacbe4de430a}, {pos = 745154464, events = 8, fd = 745225592, user_data = 0x82123f528}, {pos = 556004768, events = 8, fd = 556004648, user_data = 0xacbe4de430a}, {pos = 745132936, events = 8, fd = 745225592, user_data = 0x82123f558}, {pos = 556004816, events = 8, fd = 556004696, user_data = 0x82c6ac194}, {pos = 567915528, events = 8, fd = 745193876, user_data = 0x82123f5c0}, {pos = -455216070, events = 2763, fd = 747016240, user_data = 0x1}, {pos = 556004848, events = 8, fd = -455195894, user_data = 0x82c695858}, {pos = 745225592, events = 8, fd = 556004808, user_data = 0x82123f640}, {pos = 556004808, events = 8, fd = 745188620, user_data = 0x821d9b408}, {pos = 745188620, events = 8, fd = 556004912, user_data = 0xacbe4ddf43a}, {pos = 556004952, events = 8, fd = 556005400, user_data = 0x82123f640}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1357106633, fd = 567939128, user_data = 0x800000001}, {pos = 567915528, events = 8, fd = 745132936, user_data = 0x821da0288}, {pos = 745101400, events = 8, fd = 567915528, user_data = 0x82123f6c8}, {pos = 556005512, events = 8, fd = 556005040, user_data = 0xacbe4de3ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 567939128, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556005768, user_data = 0x21d9b408}, {pos = 556005584, events = 8, fd = 556005184, user_data = 0x1}, {pos = 556005512, events = 8, fd = 32, user_data = 0x82123f730}, {pos = -455198093, events = 2763, fd = 556005456, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821da1038}, {pos = 1, events = 8, fd = 567915528, user_data = 0x82c695858}, {pos = 556005768, events = 8, fd = 556005584, user_data = 0x82123f740}, {pos = 0, events = 0, fd = 567885832, user_data = 0x20}, {pos = 556005568, events = 8, fd = -455222553, user_data = 0x821d94008}, {pos = 567886856, events = 8, fd = 567887880, user_data = 0x821d94c08}, {pos = 567902216, events = 8, fd = 567903240, user_data = 0x821d98808}, {pos = 567905288, events = 8, fd = 567906312, user_data = 0x821d99408}, {pos = 567908360, events = 8, fd = 567909384, user_data = 0x821d9a008}, {pos = 567911432, events = 8, fd = 567912456, user_data = 0x821d9ac08}, {pos = 567914504, events = 8, fd = 567915528, user_data = 0x821d9b808}, {pos = 567917576, events = 8, fd = 567918600, user_data = 0x821d9c408}, {pos = 567920648, events = 8, fd = 567921672, user_data = 0x821d9d008}, {pos = 567923720, events = 8, fd = 567924744, user_data = 0x821d9dc08}, {pos = 567930888, events = 8, fd = 567931912, user_data = 0x821d9f808}, {pos = 567933960, events = 8, fd = 567885832, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821da1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556005768, events = 8, fd = 556005184, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567885832, events = 8, fd = 314, user_data = 0x82123f970}, {pos = -455223825, events = 2763, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567915528, events = 8, fd = 910868480, user_data = 0x1}, {pos = 910868884, events = 8, fd = 0, user_data = 0x82123f940}, {pos = 742786412, events = 8, fd = 1, user_data = 0x8364ac000}, {pos = 556005744, events = 8, fd = 742782722, user_data = 0x82c7c7170 }, {pos = 12073640, events = 0, fd = 746353008, user_data = 0x821d9b408}, {pos = 556005968, events = 8, fd = -455224354, user_data = 0x8364ca800}, {pos = 1, events = 0, fd = -455224738, user_data = 0x821d94008}, {pos = 556005752, events = 8, fd = 556005968, user_data = 0x1c38}, {pos = 910941952, events = 8, fd = -455145072, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123fa00}, {pos = 742745104, events = 8, fd = 747016240, user_data = 0x82c86b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123fa30}, {pos = 742787997, events = 8, fd = 910868480, user_data = 0x48c4}, {pos = 556006032, events = 8, fd = 742754554, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0x0}} [04:43:42.726] last_touch_time = 1725165589 [04:43:42.726] last_lockfile_recheck_time = 1725165589 [04:43:42.726] nevents = 1 [04:43:42.726] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821240078) at ../src/backend/postmaster/postmaster.c:1346 [04:43:42.726] userDoption = [04:43:42.726] listen_addr_saved = [04:43:42.726] output_config_variable = [04:43:42.726] opt = [04:43:42.726] status = [04:43:42.726] #40 0x000000000079240c in main (argc=8, argv=0x821240078) at ../src/backend/main/main.c:197 [04:43:42.726] do_check_root = [04:43:42.737] [04:43:42.737] [04:43:42.737] [04:43:42.804] dumping /tmp/cores/postgres.20071.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:42.926] [New LWP 101622] [04:43:43.000] Core was generated by `postgres: postgres regression_jsonb_plpython [local] CREATE FUNCTION'. [04:43:43.000] Program terminated with signal SIGABRT, Aborted. [04:43:43.000] Sent by thr_kill() from pid 20071 and user 1003. [04:43:43.000] #0 0x000000082c70b41a in thr_kill () from /lib/libc.so.7 [04:43:43.508] To enable execution of this file add [04:43:43.508] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:43.508] line to your configuration file "/.config/gdb/gdbinit". [04:43:43.508] To completely disable this security protection add [04:43:43.508] set auto-load safe-path / [04:43:43.508] line to your configuration file "/.config/gdb/gdbinit". [04:43:43.508] For more information about this security protection see the [04:43:43.508] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:43.508] info "(gdb)Auto-loading safe path" [04:43:43.508] [04:43:43.508] Thread 1 (LWP 101622): [04:43:43.508] #0 0x000000082c70b41a in thr_kill () from /lib/libc.so.7 [04:43:43.508] No symbol table info available. [04:43:43.508] #1 0x000000082c684e64 in raise () from /lib/libc.so.7 [04:43:43.508] No symbol table info available. [04:43:43.508] #2 0x000000082c7356f9 in abort () from /lib/libc.so.7 [04:43:43.508] No symbol table info available. [04:43:43.508] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x842a0ae44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:43.508] No locals. [04:43:43.508] #4 0x0000000842a14063 in PLy_generate_spi_exceptions (mod=0x849e1dad0, base=0x8424f6010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:43.508] dict = [04:43:43.508] found = true [04:43:43.508] sqlstate = [04:43:43.508] exc = 0x842548c10 [04:43:43.508] entry = 0x0 [04:43:43.508] i = 66 [04:43:43.508] #5 PLy_add_exceptions (plpy=0x8478fac50) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:43.508] hash_ctl = {num_partitions = 35559624048, ssize = 7, dsize = 2, max_dsize = 34908743360, keysize = 4, entrysize = 16, hash = 0x847894d40, match = 0x847894d40, keycopy = 0x849e04f80, alloc = 0x8478f20b0, hcxt = 0x84907cac0 <_PyRuntime+166184>, hctl = 0x820b92710} [04:43:43.508] excmod = 0x849e1dad0 [04:43:43.508] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:43.508] m = 0x8478fac50 [04:43:43.508] #7 0x0000000848e88f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #8 0x0000000848e872e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #9 0x0000000848da7c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #10 0x0000000848e51d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #11 0x0000000848e54795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #12 0x0000000848d5590f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #13 0x0000000848d55705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #14 0x0000000848e83284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #15 0x0000000848e3b996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #16 0x0000000848da7e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #17 0x0000000848d54538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #18 0x0000000848d54467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #19 0x0000000848e82b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #20 0x0000000848e83ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:43.508] No symbol table info available. [04:43:43.508] #21 0x0000000842a13476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:43.508] inited = false [04:43:43.508] #22 0x0000000842a133a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:43.508] funcoid = 16394 [04:43:43.508] tuple = [04:43:43.508] is_trigger = [04:43:43.508] procStruct = [04:43:43.508] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x820b92e98, collation=0, arg1=16394) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:43.508] fcinfodata = {fcinfo = {flinfo = 0x820b92e98, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x820b92ee8}, fcinfo_data = "\230.\271 \b", '\000' , "\001\000\n@", '\000' } [04:43:43.508] fcinfo = 0x820b92ec8 [04:43:43.508] result = [04:43:43.508] __error = [04:43:43.508] #24 OidFunctionCall1Coll (functionId=functionId@entry=16388, collation=collation@entry=0, arg1=arg1@entry=16394) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:43.508] flinfo = {fn_addr = 0x842a13370 , fn_oid = 16388, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8357a1400, fn_expr = 0x0} [04:43:43.508] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x8358e4f40 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16389, languageValidator=16388, prosrc=0x842413e48 "\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=0x8357dec18, allParameterTypes=0, parameterModes=0, parameterNames=35257183304, parameterDefaults=0x0, trftypes=35257183488, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [04:43:43.508] set_items = [04:43:43.508] save_nestlevel = 0 [04:43:43.508] myself = {classId = 1255, objectId = 16394, objectSubId = 0} [04:43:43.508] nulls = {false , true, true, false, true, false, false, true, true, true, true} [04:43:43.508] values = {16394, 34908745504, 2200, 10, 16389, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35257183256, 0, 0, 35257183304, 0, 35257183488, 35256932208, 0, 0, 0, 0} [04:43:43.508] replaces = {true } [04:43:43.508] procname = {data = "test1", '\000' } [04:43:43.508] referenced = {classId = 3576, objectId = 16393, objectSubId = 0} [04:43:43.508] paramModes = [04:43:43.508] variadicType = [04:43:43.508] proacl = 0x0 [04:43:43.508] parameterCount = [04:43:43.508] allParamCount = 1 [04:43:43.508] allParams = 0x8357dec30 [04:43:43.508] detailmsg = [04:43:43.508] i = [04:43:43.508] rel = 0x8358bf118 [04:43:43.508] tupDesc = 0x8358bf438 [04:43:43.508] oldtup = 0x0 [04:43:43.508] tup = 0x835929c38 [04:43:43.508] is_update = [04:43:43.508] retval = 16394 [04:43:43.508] addrs = [04:43:43.508] trfid = [04:43:43.508] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8357a1500, stmt=, stmt@entry=0x8358e4ef0) at ../src/backend/commands/functioncmds.c:1257 [04:43:43.508] funcname = 0x8358e4f40 "test1" [04:43:43.508] parameterTypes = 0x8357dec18 [04:43:43.508] parameterTypes_list = 0x835929fa8 [04:43:43.508] allParameterTypes = 0x0 [04:43:43.508] parameterModes = 0x0 [04:43:43.508] parameterNames = 0x8357dec48 [04:43:43.508] inParameterNames_list = 0x8357debc8 [04:43:43.508] parameterDefaults = 0x0 [04:43:43.508] variadicArgType = 0 [04:43:43.508] requiredResultType = 0 [04:43:43.508] transformDefElem = [04:43:43.508] trftypes_list = [04:43:43.508] namespaceId = 2200 [04:43:43.508] aclresult = [04:43:43.508] as_clause = [04:43:43.508] language = [04:43:43.508] isWindowFunc = false [04:43:43.508] isStrict = false [04:43:43.508] security = false [04:43:43.508] isLeakProof = [04:43:43.508] volatility = 118 'v' [04:43:43.508] proconfig = 0x0 [04:43:43.508] procost = 100 [04:43:43.508] prorows = 0 [04:43:43.508] prosupport = 0 [04:43:43.508] parallel = 117 'u' [04:43:43.508] languageTuple = [04:43:43.508] languageStruct = [04:43:43.508] languageOid = 16389 [04:43:43.508] languageValidator = 16388 [04:43:43.508] prorettype = 23 [04:43:43.508] returnsSet = false [04:43:43.508] trftypes = 0x8357ded00 [04:43:43.508] prosqlbody = 0x0 [04:43:43.508] probin_str = 0x0 [04:43:43.508] prosrc_str = 0x842413e48 "\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n" [04:43:43.508] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8357a1500, pstmt=pstmt@entry=0x8358e3780, queryString=queryString@entry=0x835793100 "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=0x820b936e0) at ../src/backend/tcop/utility.c:1655 [04:43:43.508] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34908746504, 34908746880, 34908746512, 12139864, 0, 35256931584, 35258237823, 10, 0, 549755813888}}} [04:43:43.508] _save_exception_stack = 0x820b935e0 [04:43:43.508] _save_context_stack = 0x0 [04:43:43.508] _do_rethrow = false [04:43:43.508] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:43.508] parsetree = 0x8358e4ef0 [04:43:43.508] commandCollected = false [04:43:43.508] needCleanup = false [04:43:43.508] address = [04:43:43.508] isTopLevel = [04:43:43.508] isCompleteQuery = [04:43:43.508] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x8358e3780, queryString=0x835793100 "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=0x842413fe8, qc=0x820b936e0) at ../src/backend/tcop/utility.c:1030 [04:43:43.508] isAtomicContext = false [04:43:43.508] parsetree = 0x8358e4ef0 [04:43:43.508] readonly_flags = [04:43:43.508] pstate = 0x8357a1500 [04:43:43.508] isTopLevel = [04:43:43.508] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18cf6, queryString=0x6 , readOnlyTree=, context=745583610, params=0x0, queryEnv=0x0, dest=0x842413fe8, qc=0x820b936e0) at ../src/backend/tcop/utility.c:523 [04:43:43.508] No locals. [04:43:43.508] #30 0x00000000009040e3 in PortalRunUtility (portal=0x835868100, pstmt=0x8358e3780, isTopLevel=, setHoldSnapshot=, dest=0x842413fe8, qc=0x820b936e0) at ../src/backend/tcop/pquery.c:1158 [04:43:43.508] No locals. [04:43:43.508] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x835868100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x842413fe8, altdest=altdest@entry=0x842413fe8, qc=0x820b936e0) at ../src/backend/tcop/pquery.c:1323 [04:43:43.508] pstmt = 0x8358e3780 [04:43:43.508] stmtlist_item__state = {l = 0x842413f98, i = 0} [04:43:43.508] active_snapshot_set = false [04:43:43.508] stmtlist_item = 0x842413fb0 [04:43:43.508] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x835868100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x842413fe8, altdest=altdest@entry=0x842413fe8, qc=0x820b936e0) at ../src/backend/tcop/pquery.c:791 [04:43:43.508] _local_sigjmp_buf = {{_sjb = {9449405, 35257745664, 34908747224, 34908747456, 34908747232, 35257761792, 12106552, 12139864, 35257713535, 35258252016, 4294967984, 0}}} [04:43:43.508] _save_exception_stack = 0x820b937b0 [04:43:43.508] _save_context_stack = 0x0 [04:43:43.508] _do_rethrow = false [04:43:43.508] saveTopTransactionResourceOwner = 0x835874958 [04:43:43.508] saveTopTransactionContext = 0x83586c000 [04:43:43.508] saveActivePortal = 0x0 [04:43:43.508] saveResourceOwner = 0x835874958 [04:43:43.508] savePortalContext = 0x0 [04:43:43.508] saveMemoryContext = 0x83586c000 [04:43:43.508] result = [04:43:43.508] nprocessed = [04:43:43.508] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x835793100 "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 [04:43:43.508] cmdtaglen = 15 [04:43:43.508] snapshot_set = [04:43:43.508] per_parsetree_context = 0x0 [04:43:43.508] plantree_list = [04:43:43.508] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:43.508] format = 0 [04:43:43.508] parsetree = 0x835794f28 [04:43:43.508] commandTag = [04:43:43.508] cmdtagname = [04:43:43.508] querytree_list = [04:43:43.508] portal = 0x835868100 [04:43:43.508] receiver = 0x842413fe8 [04:43:43.508] parsetree_item__state = {l = 0x8358e3730, i = 0} [04:43:43.508] msec_str = "\000\000\000\000\b", '\000' , "\"\360\323f\000\000\000\000\027\233\223\373JR\275e" [04:43:43.508] dest = DestRemote [04:43:43.508] was_logged = [04:43:43.508] oldcontext = 0x83586c000 [04:43:43.508] parsetree_list = 0x8358e3730 [04:43:43.508] use_implicit_block = false [04:43:43.508] parsetree_item = 0x8358e3748 [04:43:43.508] save_log_statement_stats = [04:43:43.508] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:43.508] query_string = 0x835793100 "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$$;" [04:43:43.508] input_message = {data = 0x835793100 "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} [04:43:43.508] firstchar = [04:43:43.508] local_sigjmp_buf = {{_sjb = {9433318, 34908747696, 34908747656, 34908748240, 12148600, 1, 8192, 8388608, 34908734335, 0, 0, 1}}} [04:43:43.508] send_ready_for_query = false [04:43:43.508] idle_in_transaction_timeout_enabled = false [04:43:43.508] idle_session_timeout_enabled = false [04:43:43.508] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:43.508] bsdata = [04:43:43.508] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x820b944f4 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x820b94430) at ../src/backend/postmaster/launch_backend.c:274 [04:43:43.508] pid = [04:43:43.508] #37 0x00000000008589c8 in BackendStartup (client_sock=0x820b94430) at ../src/backend/postmaster/postmaster.c:3414 [04:43:43.508] startup_data = {canAcceptConnections = CAC_OK} [04:43:43.508] bn = 0x83579f088 [04:43:43.508] pid = [04:43:43.508] __error = [04:43:43.508] save_errno = [04:43:43.508] __error = [04:43:43.508] __error = [04:43:43.508] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:43.508] 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 = "\000Oy5\b", '\000' , "\220D\271 \b\000\000\000huV+\b\000\000\000\v\000\000\000\000\000\000\000^\377V+\b", '\000' , "\320D\271 \b\000\000\000\264C\205\000\000\000\000\000\340D\271 \b", '\000' }, salen = 16}} [04:43:43.508] i = 0 [04:43:43.508] now = [04:43:43.508] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745208962, events = 8, fd = 0, user_data = 0x820b943e0}, {pos = 897504728, events = 8, fd = 549012080, user_data = 0x0}, {pos = 0, events = 0, fd = 13536424, user_data = 0x1f9b82e9330a}, {pos = 744376224, events = 8, fd = 744447352, user_data = 0x820b93ef8}, {pos = 549011312, events = 8, fd = 549011192, user_data = 0x1f9b82e9330a}, {pos = 744354696, events = 8, fd = 744447352, user_data = 0x820b93f28}, {pos = 549011360, events = 8, fd = 549011240, user_data = 0x82c5ee194}, {pos = 556991496, events = 8, fd = 744415636, user_data = 0x820b93f90}, {pos = -2098666438, events = 8091, fd = 746238000, user_data = 0x1}, {pos = 549011392, events = 8, fd = -2098646262, user_data = 0x82c5d7858}, {pos = 744447352, events = 8, fd = 549011352, user_data = 0x820b94010}, {pos = 549011352, events = 8, fd = 744410380, user_data = 0x821330408}, {pos = 744410380, events = 8, fd = 549011456, user_data = 0x1f9b82e8e43a}, {pos = 549011496, events = 8, fd = 549011944, user_data = 0x820b94010}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 4218335504, fd = 557015096, user_data = 0x800000001}, {pos = 556991496, events = 8, fd = 744354696, user_data = 0x821335288}, {pos = 744323160, events = 8, fd = 556991496, user_data = 0x820b94098}, {pos = 549012056, events = 8, fd = 549011584, user_data = 0x1f9b82e92ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 557015096, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 549012312, user_data = 0x21330408}, {pos = 549012128, events = 8, fd = 549011728, user_data = 0x1}, {pos = 549012056, events = 8, fd = 32, user_data = 0x820b94100}, {pos = -2098648461, events = 8091, fd = 549012000, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821336038}, {pos = 1, events = 8, fd = 556991496, user_data = 0x82c5d7858}, {pos = 549012312, events = 8, fd = 549012128, user_data = 0x820b94110}, {pos = 0, events = 0, fd = 556961800, user_data = 0x20}, {pos = 549012112, events = 8, fd = -2098672921, user_data = 0x821329008}, {pos = 556962824, events = 8, fd = 556963848, user_data = 0x821329c08}, {pos = 556978184, events = 8, fd = 556979208, user_data = 0x82132d808}, {pos = 556981256, events = 8, fd = 556982280, user_data = 0x82132e408}, {pos = 556984328, events = 8, fd = 556985352, user_data = 0x82132f008}, {pos = 556987400, events = 8, fd = 556988424, user_data = 0x82132fc08}, {pos = 556990472, events = 8, fd = 556991496, user_data = 0x821330808}, {pos = 556993544, events = 8, fd = 556994568, user_data = 0x821331408}, {pos = 556996616, events = 8, fd = 556997640, user_data = 0x821332008}, {pos = 556999688, events = 8, fd = 557000712, user_data = 0x821332c08}, {pos = 557006856, events = 8, fd = 557007880, user_data = 0x821334808}, {pos = 557009928, events = 8, fd = 556961800, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821336038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 549012312, events = 8, fd = 549011728, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 557015096, user_data = 0x1}, {pos = 556961800, events = 8, fd = 314, user_data = 0x820b94340}, {pos = -2098674193, events = 8091, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 557015096, user_data = 0x1}, {pos = 556991496, events = 8, fd = 897069056, user_data = 0x1}, {pos = 897069460, events = 8, fd = 0, user_data = 0x820b94310}, {pos = 727119212, events = 8, fd = 1, user_data = 0x835783000}, {pos = 549012288, events = 8, fd = 727115522, user_data = 0x82c709170 }, {pos = 12073640, events = 0, fd = 745574768, user_data = 0x821330408}, {pos = 549012512, events = 8, fd = -2098674722, user_data = 0x8357a1800}, {pos = 1, events = 0, fd = -2098675106, user_data = 0x821329008}, {pos = 549012296, events = 8, fd = 549012512, user_data = 0x1c38}, {pos = 897142528, events = 8, fd = -2098595440, user_data = 0x0}, {pos = 548995967, events = 8, fd = 7886599, user_data = 0x820b943d0}, {pos = 727077904, events = 8, fd = 746238000, user_data = 0x82c7ad310}, {pos = 0, events = 0, fd = 8128, user_data = 0x820b94400}, {pos = 727120797, events = 8, fd = 897069056, user_data = 0x4e55}, {pos = 549012576, events = 8, fd = 727087354, user_data = 0x0}, {pos = 0, events = 0, fd = 13536424, user_data = 0x0}} [04:43:43.509] last_touch_time = 1725165602 [04:43:43.509] last_lockfile_recheck_time = 1725165602 [04:43:43.509] nevents = 1 [04:43:43.509] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x820b94a48) at ../src/backend/postmaster/postmaster.c:1346 [04:43:43.509] userDoption = [04:43:43.509] listen_addr_saved = [04:43:43.509] output_config_variable = [04:43:43.509] opt = [04:43:43.509] status = [04:43:43.509] #40 0x000000000079240c in main (argc=8, argv=0x820b94a48) at ../src/backend/main/main.c:197 [04:43:43.509] do_check_root = [04:43:43.520] [04:43:43.520] [04:43:43.520] [04:43:43.585] dumping /tmp/cores/postgres.20269.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:43.707] [New LWP 101643] [04:43:43.778] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [04:43:43.778] Program terminated with signal SIGABRT, Aborted. [04:43:43.778] Sent by thr_kill() from pid 20269 and user 1003. [04:43:43.778] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:44.295] To enable execution of this file add [04:43:44.295] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:44.295] line to your configuration file "/.config/gdb/gdbinit". [04:43:44.295] To completely disable this security protection add [04:43:44.295] set auto-load safe-path / [04:43:44.295] line to your configuration file "/.config/gdb/gdbinit". [04:43:44.295] For more information about this security protection see the [04:43:44.295] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:44.295] info "(gdb)Auto-loading safe path" [04:43:44.295] [04:43:44.295] Thread 1 (LWP 101643): [04:43:44.295] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:44.295] No symbol table info available. [04:43:44.295] #1 0x000000082c742e64 in raise () from /lib/libc.so.7 [04:43:44.295] No symbol table info available. [04:43:44.295] #2 0x000000082c7f36f9 in abort () from /lib/libc.so.7 [04:43:44.295] No symbol table info available. [04:43:44.295] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x84608ee44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:44.295] No locals. [04:43:44.295] #4 0x0000000846098063 in PLy_generate_spi_exceptions (mod=0x84a22db20, base=0x842b04010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:44.295] dict = [04:43:44.295] found = true [04:43:44.295] sqlstate = [04:43:44.295] exc = 0x842bbcc10 [04:43:44.295] entry = 0x0 [04:43:44.295] i = 66 [04:43:44.295] #5 PLy_add_exceptions (plpy=0x8494d6ca0) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:44.295] hash_ctl = {num_partitions = 35588836720, ssize = 7, dsize = 2, max_dsize = 34915736816, keysize = 4, entrysize = 16, hash = 0x849470d40, match = 0x849470d40, keycopy = 0x84a215000, alloc = 0x8494ce130, hcxt = 0x847ed7ac0 <_PyRuntime+166184>, hctl = 0x82123dd40} [04:43:44.295] excmod = 0x84a22db20 [04:43:44.295] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:44.295] m = 0x8494d6ca0 [04:43:44.295] #7 0x0000000847ce3f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #8 0x0000000847ce22e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #9 0x0000000847c02c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #10 0x0000000847cacd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #11 0x0000000847caf795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #12 0x0000000847bb090f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #13 0x0000000847bb0705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #14 0x0000000847cde284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #15 0x0000000847c96996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #16 0x0000000847c02e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #17 0x0000000847baf538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #18 0x0000000847baf467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #19 0x0000000847cddb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #20 0x0000000847cdeef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:44.295] No symbol table info available. [04:43:44.295] #21 0x0000000846097476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:44.295] inited = false [04:43:44.295] #22 0x00000008460973a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:44.295] funcoid = 65536 [04:43:44.295] tuple = [04:43:44.295] is_trigger = [04:43:44.295] procStruct = [04:43:44.295] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82123e4c8, collation=0, arg1=65536) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:44.295] fcinfodata = {fcinfo = {flinfo = 0x82123e4c8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123e518}, fcinfo_data = "\310\344#!\b", '\000' , "\001\000\000\000\001", '\000' } [04:43:44.295] fcinfo = 0x82123e4f8 [04:43:44.295] result = [04:43:44.295] __error = [04:43:44.295] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=65536) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:44.295] flinfo = {fn_addr = 0x846097370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8364ca400, fn_expr = 0x0} [04:43:44.295] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x83655c078 "python_syntax_error", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=25, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x83655c258 ".syntaxerror", probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8365073b0, 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 [04:43:44.295] set_items = [04:43:44.295] save_nestlevel = 0 [04:43:44.295] myself = {classId = 1255, objectId = 65536, objectSubId = 0} [04:43:44.295] nulls = {false , true, true, true, true, true, false, true, true, true, true} [04:43:44.295] values = {65536, 34915738960, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 25, 35270980528, 0, 0, 0, 0, 0, 35272352472, 0, 0, 0, 0} [04:43:44.295] replaces = {true } [04:43:44.295] procname = {data = "python_syntax_error", '\000' } [04:43:44.295] referenced = {classId = 1247, objectId = 25, objectSubId = 0} [04:43:44.295] paramModes = [04:43:44.295] variadicType = [04:43:44.295] proacl = 0x0 [04:43:44.295] parameterCount = [04:43:44.295] allParamCount = 0 [04:43:44.295] allParams = 0x8365073c8 [04:43:44.295] detailmsg = [04:43:44.295] i = [04:43:44.295] rel = 0x8365ecb18 [04:43:44.295] tupDesc = 0x8365ece38 [04:43:44.295] oldtup = 0x0 [04:43:44.295] tup = 0x836507258 [04:43:44.295] is_update = [04:43:44.295] retval = 65536 [04:43:44.295] addrs = [04:43:44.295] trfid = [04:43:44.295] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8364ca500, stmt=, stmt@entry=0x83655c028) at ../src/backend/commands/functioncmds.c:1257 [04:43:44.295] funcname = 0x83655c078 "python_syntax_error" [04:43:44.295] parameterTypes = 0x8365073b0 [04:43:44.295] parameterTypes_list = 0x0 [04:43:44.295] allParameterTypes = 0x0 [04:43:44.295] parameterModes = 0x0 [04:43:44.295] parameterNames = 0x0 [04:43:44.295] inParameterNames_list = 0x0 [04:43:44.295] parameterDefaults = 0x0 [04:43:44.295] variadicArgType = 0 [04:43:44.295] requiredResultType = 0 [04:43:44.295] transformDefElem = [04:43:44.295] trftypes_list = [04:43:44.295] namespaceId = 2200 [04:43:44.295] aclresult = [04:43:44.295] as_clause = [04:43:44.295] language = [04:43:44.295] isWindowFunc = false [04:43:44.295] isStrict = false [04:43:44.295] security = false [04:43:44.295] isLeakProof = [04:43:44.295] volatility = 118 'v' [04:43:44.295] proconfig = 0x0 [04:43:44.295] procost = 100 [04:43:44.295] prorows = 0 [04:43:44.295] prosupport = 0 [04:43:44.295] parallel = 117 'u' [04:43:44.295] languageTuple = [04:43:44.295] languageStruct = [04:43:44.295] languageOid = 16456 [04:43:44.295] languageValidator = 16455 [04:43:44.295] prorettype = 25 [04:43:44.295] returnsSet = false [04:43:44.295] trftypes = 0x0 [04:43:44.295] prosqlbody = 0x0 [04:43:44.295] probin_str = 0x0 [04:43:44.295] prosrc_str = 0x83655c258 ".syntaxerror" [04:43:44.295] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8364ca500, pstmt=pstmt@entry=0x8364bdc40, queryString=queryString@entry=0x8364bc100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;", context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1655 [04:43:44.295] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34915739960, 34915740336, 34915739968, 12139864, 0, 35270731008, 35271279487, 10, 0, 549755813888}}} [04:43:44.295] _save_exception_stack = 0x82123ec10 [04:43:44.295] _save_context_stack = 0x0 [04:43:44.295] _do_rethrow = false [04:43:44.295] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:44.295] parsetree = 0x83655c028 [04:43:44.295] commandCollected = false [04:43:44.295] needCleanup = false [04:43:44.295] address = [04:43:44.295] isTopLevel = [04:43:44.295] isCompleteQuery = [04:43:44.295] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x8364bdc40, queryString=0x8364bc100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x83655c488, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1030 [04:43:44.295] isAtomicContext = false [04:43:44.295] parsetree = 0x83655c028 [04:43:44.295] readonly_flags = [04:43:44.295] pstate = 0x8364ca500 [04:43:44.295] isTopLevel = [04:43:44.295] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18d0b, queryString=0x6 , readOnlyTree=, context=746361850, params=0x0, queryEnv=0x0, dest=0x83655c488, qc=0x82123ed10) at ../src/backend/tcop/utility.c:523 [04:43:44.295] No locals. [04:43:44.295] #30 0x00000000009040e3 in PortalRunUtility (portal=0x836593100, pstmt=0x8364bdc40, isTopLevel=, setHoldSnapshot=, dest=0x83655c488, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1158 [04:43:44.295] No locals. [04:43:44.295] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x836593100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x83655c488, altdest=altdest@entry=0x83655c488, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1323 [04:43:44.295] pstmt = 0x8364bdc40 [04:43:44.295] stmtlist_item__state = {l = 0x83655c438, i = 0} [04:43:44.295] active_snapshot_set = false [04:43:44.295] stmtlist_item = 0x83655c450 [04:43:44.295] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x836593100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x83655c488, altdest=altdest@entry=0x83655c488, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:791 [04:43:44.295] _local_sigjmp_buf = {{_sjb = {9449405, 35271553280, 34915740680, 34915740912, 34915740688, 35272028160, 12106552, 12139864, 35271541631, 35270680496, 4294967984, 0}}} [04:43:44.295] _save_exception_stack = 0x82123ede0 [04:43:44.295] _save_context_stack = 0x0 [04:43:44.295] _do_rethrow = false [04:43:44.295] saveTopTransactionResourceOwner = 0x8365a5048 [04:43:44.295] saveTopTransactionContext = 0x836607000 [04:43:44.295] saveActivePortal = 0x0 [04:43:44.295] saveResourceOwner = 0x8365a5048 [04:43:44.295] savePortalContext = 0x0 [04:43:44.295] saveMemoryContext = 0x836607000 [04:43:44.295] result = [04:43:44.295] nprocessed = [04:43:44.295] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8364bc100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;") at ../src/backend/tcop/postgres.c:1284 [04:43:44.295] cmdtaglen = 15 [04:43:44.295] snapshot_set = [04:43:44.295] per_parsetree_context = 0x0 [04:43:44.295] plantree_list = [04:43:44.295] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:44.295] format = 0 [04:43:44.295] parsetree = 0x8364bd800 [04:43:44.295] commandTag = [04:43:44.295] cmdtagname = [04:43:44.295] querytree_list = [04:43:44.295] portal = 0x836593100 [04:43:44.295] receiver = 0x83655c488 [04:43:44.295] parsetree_item__state = {l = 0x8364bdbf0, i = 0} [04:43:44.295] msec_str = "\000\000\000\000\b", '\000' , "$\360\323f\000\000\000\000\037Ǎ\325\030\0260\212" [04:43:44.295] dest = DestRemote [04:43:44.295] was_logged = [04:43:44.295] oldcontext = 0x836607000 [04:43:44.295] parsetree_list = 0x8364bdbf0 [04:43:44.295] use_implicit_block = false [04:43:44.295] parsetree_item = 0x8364bdc08 [04:43:44.295] save_log_statement_stats = [04:43:44.295] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:44.295] query_string = 0x8364bc100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;" [04:43:44.295] input_message = {data = 0x8364bc100 "/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;", len = 142, maxlen = 1024, cursor = 142} [04:43:44.295] firstchar = [04:43:44.295] local_sigjmp_buf = {{_sjb = {9433318, 34915741152, 34915741112, 34915741696, 12148600, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [04:43:44.295] send_ready_for_query = false [04:43:44.295] idle_in_transaction_timeout_enabled = false [04:43:44.295] idle_session_timeout_enabled = false [04:43:44.295] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:44.295] bsdata = [04:43:44.295] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123fb24 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123fa60) at ../src/backend/postmaster/launch_backend.c:274 [04:43:44.295] pid = [04:43:44.295] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82123fa60) at ../src/backend/postmaster/postmaster.c:3414 [04:43:44.295] startup_data = {canAcceptConnections = CAC_OK} [04:43:44.295] bn = 0x8364bdf00 [04:43:44.295] pid = [04:43:44.295] __error = [04:43:44.295] save_errno = [04:43:44.295] __error = [04:43:44.295] __error = [04:43:44.295] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:44.295] 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\337K6\b", '\000' , "\300\372#!\b\000\000\000h\205E,\b\000\000\000\v\000\000\000\000\000\000\000^\017F,\b", '\000' , "\373#!\b\000\000\000\264C\205\000\000\000\000\000\020\373#!\b", '\000' }, salen = 16}} [04:43:44.295] i = 0 [04:43:44.295] now = [04:43:44.295] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745987202, events = 8, fd = 0, user_data = 0x82123fa10}, {pos = 911304152, events = 8, fd = 556005536, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0xacbe4de430a}, {pos = 745154464, events = 8, fd = 745225592, user_data = 0x82123f528}, {pos = 556004768, events = 8, fd = 556004648, user_data = 0xacbe4de430a}, {pos = 745132936, events = 8, fd = 745225592, user_data = 0x82123f558}, {pos = 556004816, events = 8, fd = 556004696, user_data = 0x82c6ac194}, {pos = 567915528, events = 8, fd = 745193876, user_data = 0x82123f5c0}, {pos = -455216070, events = 2763, fd = 747016240, user_data = 0x1}, {pos = 556004848, events = 8, fd = -455195894, user_data = 0x82c695858}, {pos = 745225592, events = 8, fd = 556004808, user_data = 0x82123f640}, {pos = 556004808, events = 8, fd = 745188620, user_data = 0x821d9b408}, {pos = 745188620, events = 8, fd = 556004912, user_data = 0xacbe4ddf43a}, {pos = 556004952, events = 8, fd = 556005400, user_data = 0x82123f640}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1357106633, fd = 567939128, user_data = 0x800000001}, {pos = 567915528, events = 8, fd = 745132936, user_data = 0x821da0288}, {pos = 745101400, events = 8, fd = 567915528, user_data = 0x82123f6c8}, {pos = 556005512, events = 8, fd = 556005040, user_data = 0xacbe4de3ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 567939128, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556005768, user_data = 0x21d9b408}, {pos = 556005584, events = 8, fd = 556005184, user_data = 0x1}, {pos = 556005512, events = 8, fd = 32, user_data = 0x82123f730}, {pos = -455198093, events = 2763, fd = 556005456, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821da1038}, {pos = 1, events = 8, fd = 567915528, user_data = 0x82c695858}, {pos = 556005768, events = 8, fd = 556005584, user_data = 0x82123f740}, {pos = 0, events = 0, fd = 567885832, user_data = 0x20}, {pos = 556005568, events = 8, fd = -455222553, user_data = 0x821d94008}, {pos = 567886856, events = 8, fd = 567887880, user_data = 0x821d94c08}, {pos = 567902216, events = 8, fd = 567903240, user_data = 0x821d98808}, {pos = 567905288, events = 8, fd = 567906312, user_data = 0x821d99408}, {pos = 567908360, events = 8, fd = 567909384, user_data = 0x821d9a008}, {pos = 567911432, events = 8, fd = 567912456, user_data = 0x821d9ac08}, {pos = 567914504, events = 8, fd = 567915528, user_data = 0x821d9b808}, {pos = 567917576, events = 8, fd = 567918600, user_data = 0x821d9c408}, {pos = 567920648, events = 8, fd = 567921672, user_data = 0x821d9d008}, {pos = 567923720, events = 8, fd = 567924744, user_data = 0x821d9dc08}, {pos = 567930888, events = 8, fd = 567931912, user_data = 0x821d9f808}, {pos = 567933960, events = 8, fd = 567885832, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821da1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556005768, events = 8, fd = 556005184, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567885832, events = 8, fd = 314, user_data = 0x82123f970}, {pos = -455223825, events = 2763, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567915528, events = 8, fd = 910868480, user_data = 0x1}, {pos = 910868884, events = 8, fd = 0, user_data = 0x82123f940}, {pos = 742786412, events = 8, fd = 1, user_data = 0x8364ac000}, {pos = 556005744, events = 8, fd = 742782722, user_data = 0x82c7c7170 }, {pos = 12073640, events = 0, fd = 746353008, user_data = 0x821d9b408}, {pos = 556005968, events = 8, fd = -455224354, user_data = 0x8364ca800}, {pos = 1, events = 0, fd = -455224738, user_data = 0x821d94008}, {pos = 556005752, events = 8, fd = 556005968, user_data = 0x1c38}, {pos = 910941952, events = 8, fd = -455145072, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123fa00}, {pos = 742745104, events = 8, fd = 747016240, user_data = 0x82c86b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123fa30}, {pos = 742787997, events = 8, fd = 910868480, user_data = 0x48c4}, {pos = 556006032, events = 8, fd = 742754554, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0x0}} [04:43:44.296] last_touch_time = 1725165589 [04:43:44.296] last_lockfile_recheck_time = 1725165589 [04:43:44.296] nevents = 1 [04:43:44.296] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821240078) at ../src/backend/postmaster/postmaster.c:1346 [04:43:44.296] userDoption = [04:43:44.296] listen_addr_saved = [04:43:44.296] output_config_variable = [04:43:44.296] opt = [04:43:44.296] status = [04:43:44.296] #40 0x000000000079240c in main (argc=8, argv=0x821240078) at ../src/backend/main/main.c:197 [04:43:44.296] do_check_root = [04:43:44.309] [04:43:44.309] [04:43:44.309] [04:43:44.375] dumping /tmp/cores/postgres.20309.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:44.501] [New LWP 100100] [04:43:44.577] Core was generated by `postgres: postgres regression_ltree_plpython [local] CREATE FUNCTION'. [04:43:44.577] Program terminated with signal SIGABRT, Aborted. [04:43:44.577] Sent by thr_kill() from pid 20309 and user 1003. [04:43:44.577] #0 0x000000082c5c941a in thr_kill () from /lib/libc.so.7 [04:43:45.108] To enable execution of this file add [04:43:45.108] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:45.108] line to your configuration file "/.config/gdb/gdbinit". [04:43:45.108] To completely disable this security protection add [04:43:45.108] set auto-load safe-path / [04:43:45.108] line to your configuration file "/.config/gdb/gdbinit". [04:43:45.108] For more information about this security protection see the [04:43:45.108] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:45.108] info "(gdb)Auto-loading safe path" [04:43:45.108] [04:43:45.108] Thread 1 (LWP 100100): [04:43:45.108] #0 0x000000082c5c941a in thr_kill () from /lib/libc.so.7 [04:43:45.108] No symbol table info available. [04:43:45.108] #1 0x000000082c542e64 in raise () from /lib/libc.so.7 [04:43:45.108] No symbol table info available. [04:43:45.108] #2 0x000000082c5f36f9 in abort () from /lib/libc.so.7 [04:43:45.108] No symbol table info available. [04:43:45.108] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x841fabe44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:45.108] No locals. [04:43:45.108] #4 0x0000000841fb5063 in PLy_generate_spi_exceptions (mod=0x8473dda80, base=0x840ed9010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:45.108] dict = [04:43:45.108] found = true [04:43:45.108] sqlstate = [04:43:45.108] exc = 0x840f31c10 [04:43:45.108] entry = 0x0 [04:43:45.108] i = 66 [04:43:45.108] #5 PLy_add_exceptions (plpy=0x8466b2c00) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:45.108] hash_ctl = {num_partitions = 35540454768, ssize = 7, dsize = 2, max_dsize = 34916623888, keysize = 4, entrysize = 16, hash = 0x84664cd40, match = 0x84664cd40, keycopy = 0x8473c4f40, alloc = 0x8466aa030, hcxt = 0x8451b7ac0 <_PyRuntime+166184>, hctl = 0x821316660} [04:43:45.108] excmod = 0x8473dda80 [04:43:45.108] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:45.108] m = 0x8466b2c00 [04:43:45.108] #7 0x0000000844fc3f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #8 0x0000000844fc22e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #9 0x0000000844ee2c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #10 0x0000000844f8cd9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #11 0x0000000844f8f795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #12 0x0000000844e9090f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #13 0x0000000844e90705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #14 0x0000000844fbe284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #15 0x0000000844f76996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #16 0x0000000844ee2e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #17 0x0000000844e8f538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #18 0x0000000844e8f467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #19 0x0000000844fbdb30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #20 0x0000000844fbeef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.108] No symbol table info available. [04:43:45.108] #21 0x0000000841fb4476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:45.108] inited = false [04:43:45.108] #22 0x0000000841fb43a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:45.108] funcoid = 16585 [04:43:45.108] tuple = [04:43:45.108] is_trigger = [04:43:45.108] procStruct = [04:43:45.108] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x821316de8, collation=0, arg1=16585) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:45.108] fcinfodata = {fcinfo = {flinfo = 0x821316de8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x821316e38}, fcinfo_data = "\350m1!\b", '\000' , "\001\000\311@", '\000' } [04:43:45.108] fcinfo = 0x821316e18 [04:43:45.108] result = [04:43:45.108] __error = [04:43:45.108] #24 OidFunctionCall1Coll (functionId=functionId@entry=16580, collation=collation@entry=0, arg1=arg1@entry=16585) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:45.108] flinfo = {fn_addr = 0x841fb4370 , fn_oid = 16580, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x834fd2400, fn_expr = 0x0} [04:43:45.108] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x835115e20 "test1", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=23, proowner=10, languageObjectId=16581, languageValidator=16580, prosrc=0x840df2800 "\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=0x83500fc18, allParameterTypes=0, parameterModes=0, parameterNames=35248995400, parameterDefaults=0x0, trftypes=35248995584, proconfig=0, prosupport=0, procost=procost@entry=100, prorows=prorows@entry=0) at ../src/backend/catalog/pg_proc.c:703 [04:43:45.108] set_items = [04:43:45.108] save_nestlevel = 0 [04:43:45.108] myself = {classId = 1255, objectId = 16585, objectSubId = 0} [04:43:45.108] nulls = {false , true, true, false, true, false, false, true, true, true, true} [04:43:45.108] values = {16585, 34916626032, 2200, 10, 16581, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 1, 0, 23, 35248995352, 0, 0, 35248995400, 0, 35248995584, 35248995448, 0, 0, 0, 0} [04:43:45.108] replaces = {true } [04:43:45.108] procname = {data = "test1", '\000' } [04:43:45.108] referenced = {classId = 3576, objectId = 16584, objectSubId = 0} [04:43:45.108] paramModes = [04:43:45.108] variadicType = [04:43:45.108] proacl = 0x0 [04:43:45.108] parameterCount = [04:43:45.108] allParamCount = 1 [04:43:45.108] allParams = 0x83500fc30 [04:43:45.108] detailmsg = [04:43:45.108] i = [04:43:45.108] rel = 0x8350efec8 [04:43:45.108] tupDesc = 0x8350f00d8 [04:43:45.108] oldtup = 0x0 [04:43:45.108] tup = 0x83515a838 [04:43:45.108] is_update = [04:43:45.108] retval = 16585 [04:43:45.108] addrs = [04:43:45.108] trfid = [04:43:45.108] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x834fd2500, stmt=, stmt@entry=0x835115dd0) at ../src/backend/commands/functioncmds.c:1257 [04:43:45.108] funcname = 0x835115e20 "test1" [04:43:45.108] parameterTypes = 0x83500fc18 [04:43:45.108] parameterTypes_list = 0x83515aba8 [04:43:45.108] allParameterTypes = 0x0 [04:43:45.108] parameterModes = 0x0 [04:43:45.108] parameterNames = 0x83500fc48 [04:43:45.108] inParameterNames_list = 0x83500fbc8 [04:43:45.108] parameterDefaults = 0x0 [04:43:45.108] variadicArgType = 0 [04:43:45.108] requiredResultType = 0 [04:43:45.108] transformDefElem = [04:43:45.108] trftypes_list = [04:43:45.108] namespaceId = 2200 [04:43:45.108] aclresult = [04:43:45.108] as_clause = [04:43:45.108] language = [04:43:45.108] isWindowFunc = false [04:43:45.108] isStrict = false [04:43:45.108] security = false [04:43:45.108] isLeakProof = [04:43:45.108] volatility = 118 'v' [04:43:45.108] proconfig = 0x0 [04:43:45.108] procost = 100 [04:43:45.108] prorows = 0 [04:43:45.108] prosupport = 0 [04:43:45.108] parallel = 117 'u' [04:43:45.108] languageTuple = [04:43:45.108] languageStruct = [04:43:45.108] languageOid = 16581 [04:43:45.108] languageValidator = 16580 [04:43:45.108] prorettype = 23 [04:43:45.108] returnsSet = false [04:43:45.108] trftypes = 0x83500fd00 [04:43:45.108] prosqlbody = 0x0 [04:43:45.108] probin_str = 0x0 [04:43:45.108] prosrc_str = 0x840df2800 "\nplpy.info(repr(val))\nreturn len(val)\n" [04:43:45.108] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x834fd2500, pstmt=pstmt@entry=0x8351146a0, queryString=queryString@entry=0x834fc4100 "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=0x821317630) at ../src/backend/tcop/utility.c:1655 [04:43:45.108] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34916627032, 34916627408, 34916627040, 12139864, 0, 35248743680, 35250045823, 10, 0, 549755813888}}} [04:43:45.108] _save_exception_stack = 0x821317530 [04:43:45.108] _save_context_stack = 0x0 [04:43:45.108] _do_rethrow = false [04:43:45.108] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:45.108] parsetree = 0x835115dd0 [04:43:45.108] commandCollected = false [04:43:45.108] needCleanup = false [04:43:45.108] address = [04:43:45.108] isTopLevel = [04:43:45.108] isCompleteQuery = [04:43:45.108] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x8351146a0, queryString=0x834fc4100 "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=0x840df2960, qc=0x821317630) at ../src/backend/tcop/utility.c:1030 [04:43:45.108] isAtomicContext = false [04:43:45.108] parsetree = 0x835115dd0 [04:43:45.108] readonly_flags = [04:43:45.108] pstate = 0x834fd2500 [04:43:45.108] isTopLevel = [04:43:45.108] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18704, queryString=0x6 , readOnlyTree=, context=744264698, params=0x0, queryEnv=0x0, dest=0x840df2960, qc=0x821317630) at ../src/backend/tcop/utility.c:523 [04:43:45.108] No locals. [04:43:45.108] #30 0x00000000009040e3 in PortalRunUtility (portal=0x835099100, pstmt=0x8351146a0, isTopLevel=, setHoldSnapshot=, dest=0x840df2960, qc=0x821317630) at ../src/backend/tcop/pquery.c:1158 [04:43:45.108] No locals. [04:43:45.108] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x835099100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x840df2960, altdest=altdest@entry=0x840df2960, qc=0x821317630) at ../src/backend/tcop/pquery.c:1323 [04:43:45.108] pstmt = 0x8351146a0 [04:43:45.108] stmtlist_item__state = {l = 0x840df2910, i = 0} [04:43:45.108] active_snapshot_set = false [04:43:45.108] stmtlist_item = 0x840df2928 [04:43:45.108] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x835099100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x840df2960, altdest=altdest@entry=0x840df2960, qc=0x821317630) at ../src/backend/tcop/pquery.c:791 [04:43:45.108] _local_sigjmp_buf = {{_sjb = {9449405, 35249557760, 34916627752, 34916627984, 34916627760, 35249573888, 12106552, 12139864, 35249521535, 35250063888, 4294967984, 0}}} [04:43:45.108] _save_exception_stack = 0x821317700 [04:43:45.108] _save_context_stack = 0x0 [04:43:45.108] _do_rethrow = false [04:43:45.108] saveTopTransactionResourceOwner = 0x8350a5e58 [04:43:45.108] saveTopTransactionContext = 0x83509d000 [04:43:45.108] saveActivePortal = 0x0 [04:43:45.108] saveResourceOwner = 0x8350a5e58 [04:43:45.108] savePortalContext = 0x0 [04:43:45.108] saveMemoryContext = 0x83509d000 [04:43:45.108] result = [04:43:45.108] nprocessed = [04:43:45.108] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x834fc4100 "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 [04:43:45.108] cmdtaglen = 15 [04:43:45.108] snapshot_set = [04:43:45.108] per_parsetree_context = 0x0 [04:43:45.108] plantree_list = [04:43:45.108] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:45.108] format = 0 [04:43:45.108] parsetree = 0x834fc5ea8 [04:43:45.108] commandTag = [04:43:45.108] cmdtagname = [04:43:45.108] querytree_list = [04:43:45.108] portal = 0x835099100 [04:43:45.108] receiver = 0x840df2960 [04:43:45.108] parsetree_item__state = {l = 0x835114650, i = 0} [04:43:45.108] msec_str = "\000\000\000\000\b", '\000' , "%\360\323f\000\000\000\000\037\300\323\363{\271\316", [04:43:45.108] dest = DestRemote [04:43:45.108] was_logged = [04:43:45.108] oldcontext = 0x83509d000 [04:43:45.108] parsetree_list = 0x835114650 [04:43:45.108] use_implicit_block = false [04:43:45.108] parsetree_item = 0x835114668 [04:43:45.108] save_log_statement_stats = [04:43:45.108] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:45.108] query_string = 0x834fc4100 "CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;" [04:43:45.108] input_message = {data = 0x834fc4100 "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} [04:43:45.108] firstchar = [04:43:45.108] local_sigjmp_buf = {{_sjb = {9433318, 34916628224, 34916628184, 34916628768, 12148600, 1, 8192, 8388608, 34916598655, 0, 0, 1}}} [04:43:45.108] send_ready_for_query = false [04:43:45.108] idle_in_transaction_timeout_enabled = false [04:43:45.108] idle_session_timeout_enabled = false [04:43:45.108] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:45.108] bsdata = [04:43:45.108] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x821318444 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x821318380) at ../src/backend/postmaster/launch_backend.c:274 [04:43:45.108] pid = [04:43:45.108] #37 0x00000000008589c8 in BackendStartup (client_sock=0x821318380) at ../src/backend/postmaster/postmaster.c:3414 [04:43:45.108] startup_data = {canAcceptConnections = CAC_OK} [04:43:45.108] bn = 0x834fd0088 [04:43:45.108] pid = [04:43:45.108] __error = [04:43:45.108] save_errno = [04:43:45.108] __error = [04:43:45.108] __error = [04:43:45.108] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:45.108] 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_\3744\b", '\000' , "\340\2031!\b\000\000\000hEq)\b\000\000\000\v\000\000\000\000\000\000\000^\317q)\b", '\000' , " \2041!\b\000\000\000\264C\205\000\000\000\000\0000\2041!\b", '\000' }, salen = 16}} [04:43:45.108] i = 0 [04:43:45.108] now = [04:43:45.108] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 743890050, events = 8, fd = 0, user_data = 0x821318330}, {pos = 889316824, events = 8, fd = 556892608, user_data = 0x0}, {pos = 0, events = 0, fd = -1516189846, user_data = 0xb1425bc630a}, {pos = 743057312, events = 8, fd = 743128440, user_data = 0x821317e48}, {pos = 556891840, events = 8, fd = 556891720, user_data = 0xb1425bc630a}, {pos = 743035784, events = 8, fd = 743128440, user_data = 0x821317e78}, {pos = 556891888, events = 8, fd = 556891768, user_data = 0x82c4ac194}, {pos = 566109192, events = 8, fd = 743096724, user_data = 0x821317ee0}, {pos = 633082938, events = 2836, fd = 744919088, user_data = 0x1}, {pos = 556891920, events = 8, fd = 633103114, user_data = 0x82c495858}, {pos = 743128440, events = 8, fd = 556891880, user_data = 0x821317f60}, {pos = 556891880, events = 8, fd = 743091468, user_data = 0x821be2408}, {pos = 743091468, events = 8, fd = 556891984, user_data = 0xb1425bc143a}, {pos = 556892024, events = 8, fd = 556892472, user_data = 0x821317f60}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 4043322222, fd = 566132792, user_data = 0x800000001}, {pos = 566109192, events = 8, fd = 743035784, user_data = 0x821be7288}, {pos = 743004248, events = 8, fd = 566109192, user_data = 0x821317fe8}, {pos = 556892584, events = 8, fd = 556892112, user_data = 0xb1425bc5ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 566132792, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556892840, user_data = 0x21be2408}, {pos = 556892656, events = 8, fd = 556892256, user_data = 0x1}, {pos = 556892584, events = 8, fd = 32, user_data = 0x821318050}, {pos = 633100915, events = 2836, fd = 556892528, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821be8038}, {pos = 1, events = 8, fd = 566109192, user_data = 0x82c495858}, {pos = 556892840, events = 8, fd = 556892656, user_data = 0x821318060}, {pos = 0, events = 0, fd = 566079496, user_data = 0x20}, {pos = 556892640, events = 8, fd = 633076455, user_data = 0x821bdb008}, {pos = 566080520, events = 8, fd = 566081544, user_data = 0x821bdbc08}, {pos = 566095880, events = 8, fd = 566096904, user_data = 0x821bdf808}, {pos = 566098952, events = 8, fd = 566099976, user_data = 0x821be0408}, {pos = 566102024, events = 8, fd = 566103048, user_data = 0x821be1008}, {pos = 566105096, events = 8, fd = 566106120, user_data = 0x821be1c08}, {pos = 566108168, events = 8, fd = 566109192, user_data = 0x821be2808}, {pos = 566111240, events = 8, fd = 566112264, user_data = 0x821be3408}, {pos = 566114312, events = 8, fd = 566115336, user_data = 0x821be4008}, {pos = 566117384, events = 8, fd = 566118408, user_data = 0x821be4c08}, {pos = 566124552, events = 8, fd = 566125576, user_data = 0x821be6808}, {pos = 566127624, events = 8, fd = 566079496, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821be8038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556892840, events = 8, fd = 556892256, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 566132792, user_data = 0x1}, {pos = 566079496, events = 8, fd = 314, user_data = 0x821318290}, {pos = 633075183, events = 2836, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 566132792, user_data = 0x1}, {pos = 566109192, events = 8, fd = 888881152, user_data = 0x1}, {pos = 888881556, events = 8, fd = 0, user_data = 0x821318260}, {pos = 695321964, events = 8, fd = 1, user_data = 0x834fb4000}, {pos = 556892816, events = 8, fd = 695318274, user_data = 0x82c5c7170 }, {pos = 12073640, events = 0, fd = 744255856, user_data = 0x821be2408}, {pos = 556893040, events = 8, fd = 633074654, user_data = 0x834fd2800}, {pos = 1, events = 0, fd = 633074270, user_data = 0x821bdb008}, {pos = 556892824, events = 8, fd = 556893040, user_data = 0x1c38}, {pos = 888954624, events = 8, fd = 633153936, user_data = 0x0}, {pos = 556860287, events = 8, fd = 7886599, user_data = 0x821318320}, {pos = 695280656, events = 8, fd = 744919088, user_data = 0x82c66b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x821318350}, {pos = 695323549, events = 8, fd = 888881152, user_data = 0x4f45}, {pos = 556893104, events = 8, fd = 695290106, user_data = 0x0}, {pos = 0, events = 0, fd = -1516189846, user_data = 0x0}} [04:43:45.108] last_touch_time = 1725165605 [04:43:45.108] last_lockfile_recheck_time = 1725165605 [04:43:45.108] nevents = 1 [04:43:45.108] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821318998) at ../src/backend/postmaster/postmaster.c:1346 [04:43:45.108] userDoption = [04:43:45.108] listen_addr_saved = [04:43:45.108] output_config_variable = [04:43:45.108] opt = [04:43:45.108] status = [04:43:45.108] #40 0x000000000079240c in main (argc=8, argv=0x821318998) at ../src/backend/main/main.c:197 [04:43:45.108] do_check_root = [04:43:45.120] [04:43:45.120] [04:43:45.120] [04:43:45.186] dumping /tmp/cores/postgres.20319.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:43:45.304] [New LWP 100129] [04:43:45.379] Core was generated by `postgres: postgres regression_plpython [local] CREATE FUNCTION'. [04:43:45.379] Program terminated with signal SIGABRT, Aborted. [04:43:45.379] Sent by thr_kill() from pid 20319 and user 1003. [04:43:45.379] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:45.935] To enable execution of this file add [04:43:45.935] add-auto-load-safe-path /usr/local/lib/libpython3.11.so.1.0-gdb.py [04:43:45.935] line to your configuration file "/.config/gdb/gdbinit". [04:43:45.935] To completely disable this security protection add [04:43:45.935] set auto-load safe-path / [04:43:45.935] line to your configuration file "/.config/gdb/gdbinit". [04:43:45.935] For more information about this security protection see the [04:43:45.935] "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: [04:43:45.935] info "(gdb)Auto-loading safe path" [04:43:45.935] [04:43:45.935] Thread 1 (LWP 100129): [04:43:45.935] #0 0x000000082c7c941a in thr_kill () from /lib/libc.so.7 [04:43:45.935] No symbol table info available. [04:43:45.935] #1 0x000000082c742e64 in raise () from /lib/libc.so.7 [04:43:45.935] No symbol table info available. [04:43:45.935] #2 0x000000082c7f36f9 in abort () from /lib/libc.so.7 [04:43:45.935] No symbol table info available. [04:43:45.935] #3 0x0000000000a592c5 in ExceptionalCondition (conditionName=0x842cf8e44 "!found", fileName=, lineNumber=lineNumber@entry=267) at ../src/backend/utils/error/assert.c:66 [04:43:45.935] No locals. [04:43:45.935] #4 0x0000000842d02063 in PLy_generate_spi_exceptions (mod=0x848c51ad0, base=0x84255e010) at ../src/pl/plpython/plpy_plpymodule.c:267 [04:43:45.935] dict = [04:43:45.935] found = true [04:43:45.935] sqlstate = [04:43:45.935] exc = 0x84261bc10 [04:43:45.935] entry = 0x0 [04:43:45.935] i = 66 [04:43:45.935] #5 PLy_add_exceptions (plpy=0x84821ec50) at ../src/pl/plpython/plpy_plpymodule.c:204 [04:43:45.935] hash_ctl = {num_partitions = 35569208688, ssize = 7, dsize = 2, max_dsize = 34915736816, keysize = 4, entrysize = 16, hash = 0x8481b8d40, match = 0x8481b8d40, keycopy = 0x848220f80, alloc = 0x848216070, hcxt = 0x846cfcac0 <_PyRuntime+166184>, hctl = 0x82123dd40} [04:43:45.935] excmod = 0x848c51ad0 [04:43:45.935] #6 PyInit_plpy () at ../src/pl/plpython/plpy_plpymodule.c:137 [04:43:45.935] m = 0x84821ec50 [04:43:45.935] #7 0x0000000846b08f70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #8 0x0000000846b072e0 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #9 0x0000000846a27c29 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #10 0x0000000846ad1d9c in _PyEval_EvalFrameDefault () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #11 0x0000000846ad4795 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #12 0x00000008469d590f in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #13 0x00000008469d5705 in PyObject_CallMethodObjArgs () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #14 0x0000000846b03284 in PyImport_ImportModuleLevelObject () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #15 0x0000000846abb996 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #16 0x0000000846a27e70 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #17 0x00000008469d4538 in ?? () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #18 0x00000008469d4467 in PyObject_CallFunction () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #19 0x0000000846b02b30 in PyImport_Import () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #20 0x0000000846b03ef8 in PyImport_ImportModule () from /usr/local/lib/libpython3.11.so.1.0 [04:43:45.935] No symbol table info available. [04:43:45.935] #21 0x0000000842d01476 in PLy_initialize () at ../src/pl/plpython/plpy_main.c:118 [04:43:45.935] inited = false [04:43:45.935] #22 0x0000000842d013a0 in plpython3_validator (fcinfo=) at ../src/pl/plpython/plpy_main.c:172 [04:43:45.935] funcoid = 73728 [04:43:45.935] tuple = [04:43:45.935] is_trigger = [04:43:45.935] procStruct = [04:43:45.935] #23 0x0000000000a631f3 in FunctionCall1Coll (flinfo=0x82123e4c8, collation=0, arg1=73728) at ../src/backend/utils/fmgr/fmgr.c:1139 [04:43:45.935] fcinfodata = {fcinfo = {flinfo = 0x82123e4c8, context = 0x0, resultinfo = 0x0, fncollation = 0, isnull = false, nargs = 1, args = 0x82123e518}, fcinfo_data = "\310\344#!\b", '\000' , "\001\000\000 \001", '\000' } [04:43:45.935] fcinfo = 0x82123e4f8 [04:43:45.935] result = [04:43:45.935] __error = [04:43:45.935] #24 OidFunctionCall1Coll (functionId=functionId@entry=16455, collation=collation@entry=0, arg1=arg1@entry=73728) at ../src/backend/utils/fmgr/fmgr.c:1417 [04:43:45.935] flinfo = {fn_addr = 0x842d01370 , fn_oid = 16455, fn_nargs = 1, fn_strict = true, fn_retset = false, fn_stats = 1 '\001', fn_extra = 0x0, fn_mcxt = 0x8364ca400, fn_expr = 0x0} [04:43:45.935] #25 0x000000000067e5cd in ProcedureCreate (procedureName=procedureName@entry=0x83655cfe8 "elog_test", procNamespace=procNamespace@entry=2200, replace=false, returnsSet=, returnType=2278, proowner=10, languageObjectId=16456, languageValidator=16455, prosrc=0x842490738 "\nplpy.debug('debug', detail='some detail')\nplpy.log('log', detail='some detail')\nplpy.info('info', detail='some detail')\nplpy.info()\nplpy.info('the question', detail=42);\nplpy.info('This is message te"..., probin=0x0, prosqlbody=0x0, prokind=102 'f', security_definer=, isLeakProof=, isStrict=, volatility=118 'v', parallel=117 'u', parameterTypes=0x8365073b0, 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 [04:43:45.935] set_items = [04:43:45.935] save_nestlevel = 0 [04:43:45.935] myself = {classId = 1255, objectId = 73728, objectSubId = 0} [04:43:45.935] nulls = {false , true, true, true, true, true, false, true, true, true, true} [04:43:45.935] values = {73728, 34915738960, 2200, 10, 16456, 1120403456, 0, 0, 0, 102, 0, 0, 0, 0, 118, 117, 0, 0, 2278, 35270980528, 0, 0, 0, 0, 0, 35270980600, 0, 0, 0, 0} [04:43:45.935] replaces = {true } [04:43:45.935] procname = {data = "elog_test", '\000' } [04:43:45.935] referenced = {classId = 1247, objectId = 2278, objectSubId = 0} [04:43:45.935] paramModes = [04:43:45.935] variadicType = [04:43:45.935] proacl = 0x0 [04:43:45.935] parameterCount = [04:43:45.935] allParamCount = 0 [04:43:45.935] allParams = 0x8365073c8 [04:43:45.935] detailmsg = [04:43:45.935] i = [04:43:45.935] rel = 0x8365ec8d8 [04:43:45.935] tupDesc = 0x8365ecbf8 [04:43:45.935] oldtup = 0x0 [04:43:45.935] tup = 0x836516068 [04:43:45.935] is_update = [04:43:45.935] retval = 73728 [04:43:45.935] addrs = [04:43:45.935] trfid = [04:43:45.935] #26 0x00000000006bc859 in CreateFunction (pstate=pstate@entry=0x8364ca500, stmt=, stmt@entry=0x83655cf98) at ../src/backend/commands/functioncmds.c:1257 [04:43:45.935] funcname = 0x83655cfe8 "elog_test" [04:43:45.935] parameterTypes = 0x8365073b0 [04:43:45.935] parameterTypes_list = 0x0 [04:43:45.935] allParameterTypes = 0x0 [04:43:45.935] parameterModes = 0x0 [04:43:45.935] parameterNames = 0x0 [04:43:45.935] inParameterNames_list = 0x0 [04:43:45.935] parameterDefaults = 0x0 [04:43:45.935] variadicArgType = 0 [04:43:45.935] requiredResultType = 0 [04:43:45.935] transformDefElem = [04:43:45.935] trftypes_list = [04:43:45.935] namespaceId = 2200 [04:43:45.935] aclresult = [04:43:45.935] as_clause = [04:43:45.935] language = [04:43:45.935] isWindowFunc = false [04:43:45.935] isStrict = false [04:43:45.935] security = false [04:43:45.935] isLeakProof = [04:43:45.935] volatility = 118 'v' [04:43:45.935] proconfig = 0x0 [04:43:45.935] procost = 100 [04:43:45.935] prorows = 0 [04:43:45.935] prosupport = 0 [04:43:45.935] parallel = 117 'u' [04:43:45.935] languageTuple = [04:43:45.935] languageStruct = [04:43:45.935] languageOid = 16456 [04:43:45.935] languageValidator = 16455 [04:43:45.935] prorettype = 2278 [04:43:45.935] returnsSet = false [04:43:45.935] trftypes = 0x0 [04:43:45.935] prosqlbody = 0x0 [04:43:45.935] probin_str = 0x0 [04:43:45.935] prosrc_str = 0x842490738 "\nplpy.debug('debug', detail='some detail')\nplpy.log('log', detail='some detail')\nplpy.info('info', detail='some detail')\nplpy.info()\nplpy.info('the question', detail=42);\nplpy.info('This is message te"... [04:43:45.935] #27 0x00000000009060f8 in ProcessUtilitySlow (pstate=pstate@entry=0x8364ca500, pstmt=pstmt@entry=0x83655ce88, queryString=queryString@entry=0x8364bc100 "CREATE FUNCTION elog_test() RETURNS void\nAS $$\nplpy.debug('debug', detail='some detail')\nplpy.log('log', detail='some detail')\nplpy.info('info', detail='some detail')\nplpy.info()\nplpy.info('the questi"..., context=context@entry=PROCESS_UTILITY_TOPLEVEL, params=params@entry=0x0, queryEnv=queryEnv@entry=0x0, dest=, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1655 [04:43:45.935] _local_sigjmp_buf = {{_sjb = {9460169, 0, 34915739960, 34915740336, 34915739968, 12139864, 0, 35270731008, 35271279487, 10, 0, 549755813888}}} [04:43:45.935] _save_exception_stack = 0x82123ec10 [04:43:45.935] _save_context_stack = 0x0 [04:43:45.935] _do_rethrow = false [04:43:45.935] secondaryObject = {classId = 0, objectId = 0, objectSubId = 0} [04:43:45.935] parsetree = 0x83655cf98 [04:43:45.935] commandCollected = false [04:43:45.935] needCleanup = false [04:43:45.935] address = [04:43:45.935] isTopLevel = [04:43:45.935] isCompleteQuery = [04:43:45.935] #28 0x0000000000904b18 in standard_ProcessUtility (pstmt=0x83655ce88, queryString=0x8364bc100 "CREATE FUNCTION elog_test() RETURNS void\nAS $$\nplpy.debug('debug', detail='some detail')\nplpy.log('log', detail='some detail')\nplpy.info('info', detail='some detail')\nplpy.info()\nplpy.info('the questi"..., readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x842490f08, qc=0x82123ed10) at ../src/backend/tcop/utility.c:1030 [04:43:45.935] isAtomicContext = false [04:43:45.935] parsetree = 0x83655cf98 [04:43:45.935] readonly_flags = [04:43:45.935] pstate = 0x8364ca500 [04:43:45.935] isTopLevel = [04:43:45.935] #29 0x00000000009045a8 in ProcessUtility (pstmt=0x18721, queryString=0x6 , readOnlyTree=, context=746361850, params=0x0, queryEnv=0x0, dest=0x842490f08, qc=0x82123ed10) at ../src/backend/tcop/utility.c:523 [04:43:45.935] No locals. [04:43:45.935] #30 0x00000000009040e3 in PortalRunUtility (portal=0x836593100, pstmt=0x83655ce88, isTopLevel=, setHoldSnapshot=, dest=0x842490f08, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1158 [04:43:45.935] No locals. [04:43:45.935] #31 0x0000000000903774 in PortalRunMulti (portal=portal@entry=0x836593100, isTopLevel=true, setHoldSnapshot=false, dest=dest@entry=0x842490f08, altdest=altdest@entry=0x842490f08, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:1323 [04:43:45.935] pstmt = 0x83655ce88 [04:43:45.935] stmtlist_item__state = {l = 0x842490eb8, i = 0} [04:43:45.935] active_snapshot_set = false [04:43:45.935] stmtlist_item = 0x842490ed0 [04:43:45.935] #32 0x0000000000903043 in PortalRun (portal=portal@entry=0x836593100, count=count@entry=9223372036854775807, isTopLevel=true, run_once=true, dest=dest@entry=0x842490f08, altdest=altdest@entry=0x842490f08, qc=0x82123ed10) at ../src/backend/tcop/pquery.c:791 [04:43:45.935] _local_sigjmp_buf = {{_sjb = {9449405, 35271553280, 34915740680, 34915740912, 34915740688, 35272028160, 12106552, 12139864, 35271541631, 35271328376, 4294967984, 0}}} [04:43:45.935] _save_exception_stack = 0x82123ede0 [04:43:45.935] _save_context_stack = 0x0 [04:43:45.935] _do_rethrow = false [04:43:45.935] saveTopTransactionResourceOwner = 0x8365a5718 [04:43:45.935] saveTopTransactionContext = 0x836607000 [04:43:45.935] saveActivePortal = 0x0 [04:43:45.935] saveResourceOwner = 0x8365a5718 [04:43:45.935] savePortalContext = 0x0 [04:43:45.935] saveMemoryContext = 0x836607000 [04:43:45.935] result = [04:43:45.935] nprocessed = [04:43:45.935] #33 0x0000000000901ee2 in exec_simple_query (query_string=query_string@entry=0x8364bc100 "CREATE FUNCTION elog_test() RETURNS void\nAS $$\nplpy.debug('debug', detail='some detail')\nplpy.log('log', detail='some detail')\nplpy.info('info', detail='some detail')\nplpy.info()\nplpy.info('the questi"...) at ../src/backend/tcop/postgres.c:1284 [04:43:45.935] cmdtaglen = 15 [04:43:45.935] snapshot_set = [04:43:45.935] per_parsetree_context = 0x0 [04:43:45.935] plantree_list = [04:43:45.935] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:43:45.935] format = 0 [04:43:45.935] parsetree = 0x83655bc58 [04:43:45.935] commandTag = [04:43:45.935] cmdtagname = [04:43:45.935] querytree_list = [04:43:45.935] portal = 0x836593100 [04:43:45.935] receiver = 0x842490f08 [04:43:45.935] parsetree_item__state = {l = 0x83655bfc8, i = 0} [04:43:45.935] msec_str = "\000\000\000\000\b", '\000' , "%\360\323f\000\000\000\000\033\243\3274\267\377\324\370" [04:43:45.935] dest = DestRemote [04:43:45.935] was_logged = [04:43:45.935] oldcontext = 0x836607000 [04:43:45.935] parsetree_list = 0x83655bfc8 [04:43:45.935] use_implicit_block = false [04:43:45.935] parsetree_item = 0x83655bfe0 [04:43:45.935] save_log_statement_stats = [04:43:45.935] #34 0x00000000008ffc50 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4762 [04:43:45.935] query_string = 0x8364bc100 "CREATE FUNCTION elog_test() RETURNS void\nAS $$\nplpy.debug('debug', detail='some detail')\nplpy.log('log', detail='some detail')\nplpy.info('info', detail='some detail')\nplpy.info()\nplpy.info('the questi"... [04:43:45.935] input_message = {data = 0x8364bc100 "CREATE FUNCTION elog_test() RETURNS void\nAS $$\nplpy.debug('debug', detail='some detail')\nplpy.log('log', detail='some detail')\nplpy.info('info', detail='some detail')\nplpy.info()\nplpy.info('the questi"..., len = 784, maxlen = 1024, cursor = 784} [04:43:45.935] firstchar = [04:43:45.935] local_sigjmp_buf = {{_sjb = {9433318, 34915741152, 34915741112, 34915741696, 12148600, 1, 8192, 8388608, 34915681151, 0, 0, 1}}} [04:43:45.935] send_ready_for_query = false [04:43:45.935] idle_in_transaction_timeout_enabled = false [04:43:45.935] idle_session_timeout_enabled = false [04:43:45.935] #35 0x00000000008fa429 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [04:43:45.935] bsdata = [04:43:45.935] #36 0x0000000000854607 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x82123fb24 "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x82123fa60) at ../src/backend/postmaster/launch_backend.c:274 [04:43:45.935] pid = [04:43:45.935] #37 0x00000000008589c8 in BackendStartup (client_sock=0x82123fa60) at ../src/backend/postmaster/postmaster.c:3414 [04:43:45.935] startup_data = {canAcceptConnections = CAC_OK} [04:43:45.935] bn = 0x8364bdf00 [04:43:45.935] pid = [04:43:45.935] __error = [04:43:45.935] save_errno = [04:43:45.935] __error = [04:43:45.935] __error = [04:43:45.935] #38 ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [04:43:45.935] 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\337K6\b", '\000' , "\300\372#!\b\000\000\000h\205E,\b\000\000\000\v\000\000\000\000\000\000\000^\017F,\b", '\000' , "\373#!\b\000\000\000\264C\205\000\000\000\000\000\020\373#!\b", '\000' }, salen = 16}} [04:43:45.935] i = 0 [04:43:45.935] now = [04:43:45.935] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 745987202, events = 8, fd = 0, user_data = 0x82123fa10}, {pos = 911304152, events = 8, fd = 556005536, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0xacbe4de430a}, {pos = 745154464, events = 8, fd = 745225592, user_data = 0x82123f528}, {pos = 556004768, events = 8, fd = 556004648, user_data = 0xacbe4de430a}, {pos = 745132936, events = 8, fd = 745225592, user_data = 0x82123f558}, {pos = 556004816, events = 8, fd = 556004696, user_data = 0x82c6ac194}, {pos = 567915528, events = 8, fd = 745193876, user_data = 0x82123f5c0}, {pos = -455216070, events = 2763, fd = 747016240, user_data = 0x1}, {pos = 556004848, events = 8, fd = -455195894, user_data = 0x82c695858}, {pos = 745225592, events = 8, fd = 556004808, user_data = 0x82123f640}, {pos = 556004808, events = 8, fd = 745188620, user_data = 0x821d9b408}, {pos = 745188620, events = 8, fd = 556004912, user_data = 0xacbe4ddf43a}, {pos = 556004952, events = 8, fd = 556005400, user_data = 0x82123f640}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1382427086, events = 1357106633, fd = 567939128, user_data = 0x800000001}, {pos = 567915528, events = 8, fd = 745132936, user_data = 0x821da0288}, {pos = 745101400, events = 8, fd = 567915528, user_data = 0x82123f6c8}, {pos = 556005512, events = 8, fd = 556005040, user_data = 0xacbe4de3ca2}, {pos = 2699824, events = 0, fd = 448139, user_data = 0x7c96e577}, {pos = 567939128, events = 8, fd = 1, user_data = 0x0}, {pos = 0, events = 0, fd = 556005768, user_data = 0x21d9b408}, {pos = 556005584, events = 8, fd = 556005184, user_data = 0x1}, {pos = 556005512, events = 8, fd = 32, user_data = 0x82123f730}, {pos = -455198093, events = 2763, fd = 556005456, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x821da1038}, {pos = 1, events = 8, fd = 567915528, user_data = 0x82c695858}, {pos = 556005768, events = 8, fd = 556005584, user_data = 0x82123f740}, {pos = 0, events = 0, fd = 567885832, user_data = 0x20}, {pos = 556005568, events = 8, fd = -455222553, user_data = 0x821d94008}, {pos = 567886856, events = 8, fd = 567887880, user_data = 0x821d94c08}, {pos = 567902216, events = 8, fd = 567903240, user_data = 0x821d98808}, {pos = 567905288, events = 8, fd = 567906312, user_data = 0x821d99408}, {pos = 567908360, events = 8, fd = 567909384, user_data = 0x821d9a008}, {pos = 567911432, events = 8, fd = 567912456, user_data = 0x821d9ac08}, {pos = 567914504, events = 8, fd = 567915528, user_data = 0x821d9b808}, {pos = 567917576, events = 8, fd = 567918600, user_data = 0x821d9c408}, {pos = 567920648, events = 8, fd = 567921672, user_data = 0x821d9d008}, {pos = 567923720, events = 8, fd = 567924744, user_data = 0x821d9dc08}, {pos = 567930888, events = 8, fd = 567931912, user_data = 0x821d9f808}, {pos = 567933960, events = 8, fd = 567885832, user_data = 0x293230}, {pos = 448139, events = 0, fd = 2090263927, user_data = 0x821da1038}, {pos = 1, events = 0, fd = 0, user_data = 0x0}, {pos = 556005768, events = 8, fd = 556005184, user_data = 0x2000000020}, {pos = 0, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567885832, events = 8, fd = 314, user_data = 0x82123f970}, {pos = -455223825, events = 2763, fd = 2699824, user_data = 0x6d68b}, {pos = 2090263927, events = 0, fd = 567939128, user_data = 0x1}, {pos = 567915528, events = 8, fd = 910868480, user_data = 0x1}, {pos = 910868884, events = 8, fd = 0, user_data = 0x82123f940}, {pos = 742786412, events = 8, fd = 1, user_data = 0x8364ac000}, {pos = 556005744, events = 8, fd = 742782722, user_data = 0x82c7c7170 }, {pos = 12073640, events = 0, fd = 746353008, user_data = 0x821d9b408}, {pos = 556005968, events = 8, fd = -455224354, user_data = 0x8364ca800}, {pos = 1, events = 0, fd = -455224738, user_data = 0x821d94008}, {pos = 556005752, events = 8, fd = 556005968, user_data = 0x1c38}, {pos = 910941952, events = 8, fd = -455145072, user_data = 0x0}, {pos = 555942783, events = 8, fd = 7886599, user_data = 0x82123fa00}, {pos = 742745104, events = 8, fd = 747016240, user_data = 0x82c86b310}, {pos = 0, events = 0, fd = 8128, user_data = 0x82123fa30}, {pos = 742787997, events = 8, fd = 910868480, user_data = 0x48c4}, {pos = 556006032, events = 8, fd = 742754554, user_data = 0x0}, {pos = 0, events = 0, fd = 1488350670, user_data = 0x0}} [04:43:45.935] last_touch_time = 1725165589 [04:43:45.935] last_lockfile_recheck_time = 1725165589 [04:43:45.935] nevents = 1 [04:43:45.935] #39 0x00000000008567e5 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x821240078) at ../src/backend/postmaster/postmaster.c:1346 [04:43:45.935] userDoption = [04:43:45.935] listen_addr_saved = [04:43:45.935] output_config_variable = [04:43:45.935] opt = [04:43:45.935] status = [04:43:45.935] #40 0x000000000079240c in main (argc=8, argv=0x821240078) at ../src/backend/main/main.c:197 [04:43:45.935] do_check_root =