[07:49:46.692] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [07:49:49.070] (lldb) target create --core "/Users/admin/cores/core.43957" [07:50:27.910] Core file '/Users/admin/cores/core.43957' (arm64) was loaded. [07:50:27.910] (lldb) thread backtrace all [07:50:29.513] * thread #1 [07:50:29.513] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:50:29.513] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:50:29.513] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:50:29.513] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:50:29.513] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:50:29.513] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:50:29.513] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:50:29.513] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:50:29.513] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:50:29.513] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:50:29.513] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:50:29.513] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:50:29.513] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:50:29.513] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:50:29.513] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:50:29.513] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:50:29.513] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:50:29.513] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:50:29.513] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:50:29.513] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:50:29.513] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:50:29.513] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:50:29.513] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=122880) at fmgr.c:1139:11 [07:50:29.513] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=122880) at fmgr.c:1417:9 [07:50:29.513] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=2249, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\nreturn (1, 2)\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000015a013298, allParameterTypes=5804995272, parameterModes=5804995320, parameterNames=5804995368, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:50:29.513] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b4e0) at functioncmds.c:1257:9 [07:50:29.513] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b580, queryString="CREATE FUNCTION multiout_simple(OUT i integer, OUT j integer) AS $$\nreturn (1, 2)\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:50:29.513] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b580, queryString="CREATE FUNCTION multiout_simple(OUT i integer, OUT j integer) AS $$\nreturn (1, 2)\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b940, qc=) at utility.c:0 [07:50:29.513] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:50:29.513] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a03d500, pstmt=0x000000015a80b580, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b940, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:50:29.513] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a03d500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b940, altdest=0x000000015a80b940, qc=0x000000016d5cc6a8) at pquery.c:0 [07:50:29.513] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a03d500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b940, altdest=0x000000015a80b940, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:50:29.513] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION multiout_simple(OUT i integer, OUT j integer) AS $$\nreturn (1, 2)\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [07:50:29.513] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:50:29.513] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:50:29.513] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:50:29.513] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:50:29.513] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:50:29.513] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:50:29.513] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:50:29.513] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:50:29.513] (lldb) quit [07:50:29.537] -e [07:50:29.537] [07:50:29.537] [07:50:29.859] (lldb) target create --core "/Users/admin/cores/core.38326" [07:51:19.781] Core file '/Users/admin/cores/core.38326' (arm64) was loaded. [07:51:19.781] (lldb) thread backtrace all [07:51:21.845] * thread #1 [07:51:21.845] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:51:21.845] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:51:21.845] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:51:21.845] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:51:21.845] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:51:21.845] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:51:21.845] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:51:21.845] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:51:21.845] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:51:21.845] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:51:21.845] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:51:21.845] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:51:21.845] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:51:21.845] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:51:21.845] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:51:21.845] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:51:21.845] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:51:21.845] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:51:21.845] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:51:21.845] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:51:21.845] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:51:21.845] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:51:21.845] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=65544) at fmgr.c:1139:11 [07:51:21.845] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=65544) at fmgr.c:1417:9 [07:51:21.845] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=65538, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\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':\n\treturn [ first, second ]\nelif typ == 'obj':\n\tclass type_record: pass\n\ttype_record.first = first\n\ttype_record.second = second\n\treturn type_record\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000015a02e238, allParameterTypes=0, parameterModes=0, parameterNames=5268393840, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:51:21.845] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000013a054d00, stmt=0x000000015a80bb90) at functioncmds.c:1257:9 [07:51:21.845] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000013a054d00, pstmt=0x000000015a80bc60, queryString="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': second, 'additionalfield': 'must not cause trouble' }\nelif typ == 'tuple':\n\treturn ( first, second )\nelif typ == 'list':\n\treturn [ first, second ]\nelif typ == 'obj':\n\tclass type_record: pass\n\ttype_record.first = first\n\ttype_record.second = second\n\treturn type_record\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:51:21.845] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80bc60, queryString="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': second, 'additionalfield': 'must not cause trouble' }\nelif typ == 'tuple':\n\treturn ( first, second )\nelif typ == 'list':\n\treturn [ first, second ]\nelif typ == 'obj':\n\tclass type_record: pass\n\ttype_record.first = first\n\ttype_record.second = second\n\treturn type_record\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80c020, qc=) at utility.c:0 [07:51:21.845] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:51:21.845] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000013a031100, pstmt=0x000000015a80bc60, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80c020, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:51:21.845] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000013a031100, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80c020, altdest=0x000000015a80c020, qc=0x000000016d5cc6a8) at pquery.c:0 [07:51:21.845] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000013a031100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80c020, altdest=0x000000015a80c020, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:51:21.845] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="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': second, 'additionalfield': 'must not cause trouble' }\nelif typ == 'tuple':\n\treturn ( first, second )\nelif typ == 'list':\n\treturn [ first, second ]\nelif typ == 'obj':\n\tclass type_record: pass\n\ttype_record.first = first\n\ttype_record.second = second\n\treturn type_record\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [07:51:21.845] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:51:21.845] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:51:21.845] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:51:21.845] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:51:21.845] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:51:21.845] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:51:21.845] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:51:21.845] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:51:21.845] (lldb) quit [07:51:21.879] -e [07:51:21.879] [07:51:21.879] [07:51:22.253] (lldb) target create --core "/Users/admin/cores/core.43883" [07:52:13.969] Core file '/Users/admin/cores/core.43883' (arm64) was loaded. [07:52:13.969] (lldb) thread backtrace all [07:52:15.959] * thread #1 [07:52:15.959] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:52:15.959] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:52:15.959] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:52:15.959] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:52:15.959] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:52:15.959] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:52:15.959] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:52:15.959] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:52:15.959] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:52:15.959] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:52:15.959] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:52:15.959] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:52:15.959] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:52:15.959] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:52:15.959] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:52:15.959] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:52:15.959] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:52:15.959] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:52:15.959] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:52:15.959] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:52:15.959] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:52:15.959] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:52:15.959] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=98304) at fmgr.c:1139:11 [07:52:15.959] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=98304) at fmgr.c:1417:9 [07:52:15.959] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=2278, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\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 text.',\n detail='This is detail text',\n hint='This is hint text.',\n sqlstate='XX000',\n schema_name='any info about schema',\n table_name='any info about table',\n column_name='any info about column',\n datatype_name='any info about datatype',\n constraint_name='any info about constraint')\nplpy.notice('notice', detail='some detail')\nplpy.warning('warning', detail='some detail')\nplpy.error('stop on error', detail='some detail', hint='some hint')\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000015a0114e8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:52:15.959] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80ba48) at functioncmds.c:1257:9 [07:52:15.959] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80bae8, queryString="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 question', detail=42);\nplpy.info('This is message text.',\n detail='This is detail text',\n hint='This is hint text.',\n sqlstate='XX000',\n schema_name='any info about schema',\n table_name='any info about table',\n column_name='any info about column',\n datatype_name='any info about datatype',\n constraint_name='any info about constraint')\nplpy.notice('notice', detail='some detail')\nplpy.warning('warning', detail='some detail')\nplpy.error('stop on error', detail='some detail', hint='some hint')\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:52:15.959] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80bae8, queryString="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 question', detail=42);\nplpy.info('This is message text.',\n detail='This is detail text',\n hint='This is hint text.',\n sqlstate='XX000',\n schema_name='any info about schema',\n table_name='any info about table',\n column_name='any info about column',\n datatype_name='any info about datatype',\n constraint_name='any info about constraint')\nplpy.notice('notice', detail='some detail')\nplpy.warning('warning', detail='some detail')\nplpy.error('stop on error', detail='some detail', hint='some hint')\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80bea8, qc=) at utility.c:0 [07:52:15.959] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:52:15.959] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a03d500, pstmt=0x000000015a80bae8, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80bea8, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:52:15.959] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a03d500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80bea8, altdest=0x000000015a80bea8, qc=0x000000016d5cc6a8) at pquery.c:0 [07:52:15.959] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a03d500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80bea8, altdest=0x000000015a80bea8, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:52:15.959] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="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 question', detail=42);\nplpy.info('This is message text.',\n detail='This is detail text',\n hint='This is hint text.',\n sqlstate='XX000',\n schema_name='any info about schema',\n table_name='any info about table',\n column_name='any info about column',\n datatype_name='any info about datatype',\n constraint_name='any info about constraint')\nplpy.notice('notice', detail='some detail')\nplpy.warning('warning', detail='some detail')\nplpy.error('stop on error', detail='some detail', hint='some hint')\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [07:52:15.959] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:52:15.959] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:52:15.959] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:52:15.959] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:52:15.959] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:52:15.959] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:52:15.959] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:52:15.959] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:52:15.959] (lldb) quit [07:52:15.989] -e [07:52:15.989] [07:52:15.989] [07:52:16.320] (lldb) target create --core "/Users/admin/cores/core.35485" [07:53:00.525] Core file '/Users/admin/cores/core.35485' (arm64) was loaded. [07:53:00.525] (lldb) thread backtrace all [07:53:01.685] * thread #1 [07:53:01.685] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:53:01.685] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:53:01.685] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:53:01.685] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:53:01.685] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:53:01.685] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:53:01.685] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:53:01.685] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:53:01.685] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:53:01.685] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:53:01.685] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:53:01.685] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:53:01.685] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:53:01.685] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:53:01.685] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:53:01.685] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:53:01.685] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:53:01.685] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:53:01.685] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:53:01.685] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:53:01.685] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:53:01.685] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:53:01.685] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=57344) at fmgr.c:1139:11 [07:53:01.685] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=57344) at fmgr.c:1417:9 [07:53:01.685] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=true, returnType=25, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\nreturn 37\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000013a02c0e8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:53:01.685] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b2b8) at functioncmds.c:1257:9 [07:53:01.685] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b388, queryString="CREATE FUNCTION test_setof_error() RETURNS SETOF text AS $$\nreturn 37\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:53:01.685] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b388, queryString="CREATE FUNCTION test_setof_error() RETURNS SETOF text AS $$\nreturn 37\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b748, qc=) at utility.c:0 [07:53:01.685] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:53:01.685] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000015a03f900, pstmt=0x000000015a80b388, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b748, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:53:01.685] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000015a03f900, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b748, altdest=0x000000015a80b748, qc=0x000000016d5cc6a8) at pquery.c:0 [07:53:01.685] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000015a03f900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b748, altdest=0x000000015a80b748, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:53:01.685] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION test_setof_error() RETURNS SETOF text AS $$\nreturn 37\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [07:53:01.685] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:53:01.685] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:53:01.685] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:53:01.685] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:53:01.685] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:53:01.685] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:53:01.685] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:53:01.685] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:53:01.685] (lldb) quit [07:53:01.710] -e [07:53:01.710] [07:53:01.710] [07:53:01.986] (lldb) target create --core "/Users/admin/cores/core.21218" [07:53:42.561] Core file '/Users/admin/cores/core.21218' (arm64) was loaded. [07:53:42.561] (lldb) thread backtrace all [07:53:43.987] * thread #1 [07:53:43.987] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:53:43.987] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:53:43.987] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:53:43.987] frame #3: 0x000000010246e854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:53:43.987] frame #4: 0x0000000102ccde38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:53:43.987] frame #5: 0x0000000102ccde14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:53:43.987] frame #6: 0x0000000102ccde14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:53:43.987] frame #7: 0x00000001049cdf4c Python`create_builtin + 176 [07:53:43.987] frame #8: 0x00000001049cea94 Python`_imp_create_builtin + 96 [07:53:43.987] frame #9: 0x00000001048f6c78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:53:43.987] frame #10: 0x000000010480170c Python`_PyEval_EvalFrameDefault + 50452 [07:53:43.987] frame #11: 0x000000010483f4f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:53:43.987] frame #12: 0x00000001048b493c Python`PyObject_CallMethodObjArgs + 108 [07:53:43.987] frame #13: 0x00000001049cc620 Python`PyImport_ImportModuleLevelObject + 992 [07:53:43.987] frame #14: 0x00000001048ce350 Python`builtin___import__ + 172 [07:53:43.987] frame #15: 0x00000001048f6b2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:53:43.987] frame #16: 0x0000000104863bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:53:43.987] frame #17: 0x00000001047d056c Python`PyObject_CallFunction + 60 [07:53:43.987] frame #18: 0x00000001049cc064 Python`PyImport_Import + 192 [07:53:43.987] frame #19: 0x00000001049cbf34 Python`PyImport_ImportModule + 60 [07:53:43.987] frame #20: 0x0000000102ccd338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:53:43.987] frame #21: 0x0000000102ccd290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:53:43.987] frame #22: 0x0000000102476dc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016dddfc18, collation=0, arg1=16522) at fmgr.c:1139:11 [07:53:43.987] frame #23: 0x0000000102476d98 postgres`OidFunctionCall1Coll(functionId=16516, collation=0, arg1=16522) at fmgr.c:1417:9 [07:53:43.987] frame #24: 0x00000001021147d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=23, proowner=10, languageObjectId=, languageValidator=16516, prosrc="\nassert isinstance(val, dict)\nplpy.info(sorted(val.items()))\nreturn len(val)\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x0000000132818210, allParameterTypes=0, parameterModes=0, parameterNames=5142315584, parameterDefaults=0x0000000000000000, trftypes=5142316296, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:53:43.987] frame #25: 0x0000000102147b8c postgres`CreateFunction(pstate=0x0000000132009d00, stmt=0x00000001320178a0) at functioncmds.c:1257:9 [07:53:43.987] frame #26: 0x0000000102342574 postgres`ProcessUtilitySlow(pstate=0x0000000132009d00, pstmt=0x0000000132017970, queryString="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=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016dde0668) at utility.c:1655:15 [07:53:43.987] frame #27: 0x0000000102341200 postgres`standard_ProcessUtility(pstmt=0x0000000132017970, queryString="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=, queryEnv=0x0000000000000000, dest=0x0000000132017d30, qc=) at utility.c:0 [07:53:43.987] frame #28: 0x0000000102340dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:53:43.987] frame #29: 0x0000000102340a1c postgres`PortalRunUtility(portal=0x000000013204a700, pstmt=0x0000000132017970, isTopLevel=true, setHoldSnapshot=false, dest=0x0000000132017d30, qc=0x000000016dde0668) at pquery.c:1158:2 [07:53:43.987] frame #30: 0x000000010234014c postgres`PortalRunMulti(portal=0x000000013204a700, isTopLevel=true, setHoldSnapshot=false, dest=0x0000000132017d30, altdest=0x0000000132017d30, qc=0x000000016dde0668) at pquery.c:0 [07:53:43.987] frame #31: 0x000000010233fb30 postgres`PortalRun(portal=0x000000013204a700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000132017d30, altdest=0x0000000132017d30, qc=0x000000016dde0668) at pquery.c:791:5 [07:53:43.987] frame #32: 0x000000010233eac0 postgres`exec_simple_query(query_string="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 postgres.c:1284:10 [07:53:43.987] frame #33: 0x000000010233c83c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:53:43.987] frame #34: 0x0000000102337b24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:53:43.987] frame #35: 0x000000010229f388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016dde0a70) at launch_backend.c:274:3 [07:53:43.987] frame #36: 0x00000001022a34dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016dde0a70) at postmaster.c:3414:8 [07:53:43.987] frame #37: 0x00000001022a3354 postgres`ServerLoop at postmaster.c:1648:6 [07:53:43.987] frame #38: 0x00000001022a14b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:53:43.987] frame #39: 0x00000001021f68d4 postgres`main(argc=8, argv=0x0000600001398500) at main.c:197:3 [07:53:43.987] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:53:43.987] (lldb) quit [07:53:44.034] -e [07:53:44.034] [07:53:44.034] [07:53:44.343] (lldb) target create --core "/Users/admin/cores/core.43726" [07:54:23.513] Core file '/Users/admin/cores/core.43726' (arm64) was loaded. [07:54:23.513] (lldb) thread backtrace all [07:54:24.805] * thread #1 [07:54:24.805] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:54:24.805] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:54:24.805] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:54:24.805] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:54:24.805] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:54:24.805] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:54:24.805] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:54:24.805] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:54:24.805] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:54:24.805] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:54:24.805] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:54:24.805] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:54:24.805] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:54:24.805] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:54:24.805] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:54:24.805] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:54:24.805] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:54:24.805] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:54:24.805] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:54:24.805] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:54:24.805] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:54:24.805] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:54:24.805] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=73728) at fmgr.c:1139:11 [07:54:24.805] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=73728) at fmgr.c:1417:9 [07:54:24.805] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=2279, proowner=10, languageObjectId=, languageValidator=16455, prosrc="if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fname\"][:1] + \"_\" + TD[\"new\"][\"lname\"]\n\trv = \"MODIFY\"\nelse:\n\trv = None\nif TD[\"new\"][\"fname\"] == \"william\":\n\tTD[\"new\"][\"fname\"] = TD[\"args\"][0]\n\trv = \"MODIFY\"\nreturn rv", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000013a0094e8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:54:24.805] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b630) at functioncmds.c:1257:9 [07:54:24.805] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b6d0, queryString="CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fname\"][:1] + \"_\" + TD[\"new\"][\"lname\"]\n\trv = \"MODIFY\"\nelse:\n\trv = None\nif TD[\"new\"][\"fname\"] == \"william\":\n\tTD[\"new\"][\"fname\"] = TD[\"args\"][0]\n\trv = \"MODIFY\"\nreturn rv'\n\tLANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:54:24.805] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b6d0, queryString="CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fname\"][:1] + \"_\" + TD[\"new\"][\"lname\"]\n\trv = \"MODIFY\"\nelse:\n\trv = None\nif TD[\"new\"][\"fname\"] == \"william\":\n\tTD[\"new\"][\"fname\"] = TD[\"args\"][0]\n\trv = \"MODIFY\"\nreturn rv'\n\tLANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80ba90, qc=) at utility.c:0 [07:54:24.805] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:54:24.805] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a03d500, pstmt=0x000000015a80b6d0, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80ba90, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:54:24.805] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a03d500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80ba90, altdest=0x000000015a80ba90, qc=0x000000016d5cc6a8) at pquery.c:0 [07:54:24.805] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a03d500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80ba90, altdest=0x000000015a80ba90, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:54:24.805] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION users_insert() returns trigger\n\tAS\n'if TD[\"new\"][\"fname\"] == None or TD[\"new\"][\"lname\"] == None:\n\treturn \"SKIP\"\nif TD[\"new\"][\"username\"] == None:\n\tTD[\"new\"][\"username\"] = TD[\"new\"][\"fname\"][:1] + \"_\" + TD[\"new\"][\"lname\"]\n\trv = \"MODIFY\"\nelse:\n\trv = None\nif TD[\"new\"][\"fname\"] == \"william\":\n\tTD[\"new\"][\"fname\"] = TD[\"args\"][0]\n\trv = \"MODIFY\"\nreturn rv'\n\tLANGUAGE plpython3u;") at postgres.c:1284:10 [07:54:24.805] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:54:24.805] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:54:24.805] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:54:24.805] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:54:24.805] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:54:24.805] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:54:24.805] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:54:24.805] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:54:24.805] (lldb) quit [07:54:24.860] -e [07:54:24.860] [07:54:24.860] [07:54:25.151] (lldb) target create --core "/Users/admin/cores/core.31560" [07:55:03.219] Core file '/Users/admin/cores/core.31560' (arm64) was loaded. [07:55:03.219] (lldb) thread backtrace all [07:55:04.528] * thread #1 [07:55:04.528] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:55:04.528] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:55:04.528] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:55:04.528] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:55:04.528] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:55:04.528] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:55:04.528] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:55:04.528] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:55:04.528] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:55:04.528] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:55:04.528] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:55:04.528] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:55:04.528] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:55:04.528] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:55:04.528] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:55:04.528] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:55:04.528] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:55:04.528] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:55:04.528] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:55:04.528] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:55:04.528] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:55:04.528] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:55:04.528] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=49152) at fmgr.c:1139:11 [07:55:04.528] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=49152) at fmgr.c:1417:9 [07:55:04.528] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=23, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\nreturn args[0] + args[1]\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000015a8186e8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:55:04.528] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b580) at functioncmds.c:1257:9 [07:55:04.528] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b650, queryString="CREATE FUNCTION test_param_names0(integer, integer) RETURNS int AS $$\nreturn args[0] + args[1]\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:55:04.528] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b650, queryString="CREATE FUNCTION test_param_names0(integer, integer) RETURNS int AS $$\nreturn args[0] + args[1]\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80ba10, qc=) at utility.c:0 [07:55:04.528] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:55:04.528] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000013a02b100, pstmt=0x000000015a80b650, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80ba10, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:55:04.528] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000013a02b100, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80ba10, altdest=0x000000015a80ba10, qc=0x000000016d5cc6a8) at pquery.c:0 [07:55:04.528] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000013a02b100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80ba10, altdest=0x000000015a80ba10, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:55:04.528] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION test_param_names0(integer, integer) RETURNS int AS $$\nreturn args[0] + args[1]\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [07:55:04.528] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:55:04.528] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:55:04.528] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:55:04.528] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:55:04.528] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:55:04.528] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:55:04.528] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:55:04.528] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:55:04.528] (lldb) quit [07:55:04.545] -e [07:55:04.545] [07:55:04.545] [07:55:04.782] (lldb) target create --core "/Users/admin/cores/core.22701" [07:55:46.900] Core file '/Users/admin/cores/core.22701' (arm64) was loaded. [07:55:46.900] (lldb) thread backtrace all [07:55:48.095] * thread #1 [07:55:48.095] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:55:48.095] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:55:48.095] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:55:48.095] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:55:48.095] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:55:48.095] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:55:48.095] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:55:48.095] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:55:48.095] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:55:48.095] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:55:48.095] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:55:48.095] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:55:48.095] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:55:48.095] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:55:48.095] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:55:48.095] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:55:48.095] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:55:48.095] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:55:48.095] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:55:48.095] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:55:48.095] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:55:48.095] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:55:48.095] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=24576) at fmgr.c:1139:11 [07:55:48.095] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=24576) at fmgr.c:1417:9 [07:55:48.095] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=23, proowner=10, languageObjectId=, languageValidator=16455, prosrc="x = 100\ny = 23\nreturn x + y\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000015a818a58, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:55:48.095] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b2a8) at functioncmds.c:1257:9 [07:55:48.095] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b378, queryString="CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:55:48.095] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b378, queryString="CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b738, qc=) at utility.c:0 [07:55:48.095] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:55:48.095] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a039500, pstmt=0x000000015a80b378, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b738, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:55:48.095] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a039500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b738, altdest=0x000000015a80b738, qc=0x000000016d5cc6a8) at pquery.c:0 [07:55:48.095] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a039500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b738, altdest=0x000000015a80b738, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:55:48.095] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE OR REPLACE FUNCTION newline_lf() RETURNS integer AS\nE'x = 100\\ny = 23\\nreturn x + y\\n'\nLANGUAGE plpython3u;") at postgres.c:1284:10 [07:55:48.095] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:55:48.095] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:55:48.095] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:55:48.095] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:55:48.095] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:55:48.095] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:55:48.095] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:55:48.095] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:55:48.095] (lldb) quit [07:55:48.115] -e [07:55:48.115] [07:55:48.115] [07:55:48.391] (lldb) target create --core "/Users/admin/cores/core.21571" [07:56:19.444] Core file '/Users/admin/cores/core.21571' (arm64) was loaded. [07:56:19.444] (lldb) thread backtrace all [07:56:20.244] * thread #1 [07:56:20.244] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:56:20.244] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:56:20.244] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:56:20.244] frame #3: 0x00000001007ba854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:56:20.244] frame #4: 0x0000000101019e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:56:20.244] frame #5: 0x0000000101019e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:56:20.244] frame #6: 0x0000000101019e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:56:20.244] frame #7: 0x0000000102d19f4c Python`create_builtin + 176 [07:56:20.244] frame #8: 0x0000000102d1aa94 Python`_imp_create_builtin + 96 [07:56:20.244] frame #9: 0x0000000102c42c78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:56:20.244] frame #10: 0x0000000102b4d70c Python`_PyEval_EvalFrameDefault + 50452 [07:56:20.244] frame #11: 0x0000000102b8b4f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:56:20.244] frame #12: 0x0000000102c0093c Python`PyObject_CallMethodObjArgs + 108 [07:56:20.244] frame #13: 0x0000000102d18620 Python`PyImport_ImportModuleLevelObject + 992 [07:56:20.244] frame #14: 0x0000000102c1a350 Python`builtin___import__ + 172 [07:56:20.244] frame #15: 0x0000000102c42b2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:56:20.244] frame #16: 0x0000000102bafbac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:56:20.244] frame #17: 0x0000000102b1c56c Python`PyObject_CallFunction + 60 [07:56:20.244] frame #18: 0x0000000102d18064 Python`PyImport_Import + 192 [07:56:20.244] frame #19: 0x0000000102d17f34 Python`PyImport_ImportModule + 60 [07:56:20.244] frame #20: 0x0000000101019338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:56:20.244] frame #21: 0x0000000101019290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:56:20.244] frame #22: 0x00000001007c2dc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016fa93c28, collation=0, arg1=16394) at fmgr.c:1139:11 [07:56:20.244] frame #23: 0x00000001007c2d98 postgres`OidFunctionCall1Coll(functionId=16388, collation=0, arg1=16394) at fmgr.c:1417:9 [07:56:20.244] frame #24: 0x00000001004607d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=23, proowner=10, languageObjectId=, languageValidator=16388, prosrc="\nassert isinstance(val, dict)\nassert(val == {'a': 1, 'c': 'NULL'})\nreturn len(val)\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000012380ea10, allParameterTypes=0, parameterModes=0, parameterNames=4890618432, parameterDefaults=0x0000000000000000, trftypes=4890619144, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:56:20.244] frame #25: 0x0000000100493b8c postgres`CreateFunction(pstate=0x0000000122808b00, stmt=0x000000012400b6a0) at functioncmds.c:1257:9 [07:56:20.244] frame #26: 0x000000010068e574 postgres`ProcessUtilitySlow(pstate=0x0000000122808b00, pstmt=0x000000012400b770, queryString="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=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016fa94678) at utility.c:1655:15 [07:56:20.244] frame #27: 0x000000010068d200 postgres`standard_ProcessUtility(pstmt=0x000000012400b770, queryString="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=, queryEnv=0x0000000000000000, dest=0x000000012400bb30, qc=) at utility.c:0 [07:56:20.244] frame #28: 0x000000010068cdd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:56:20.244] frame #29: 0x000000010068ca1c postgres`PortalRunUtility(portal=0x0000000122834d00, pstmt=0x000000012400b770, isTopLevel=true, setHoldSnapshot=false, dest=0x000000012400bb30, qc=0x000000016fa94678) at pquery.c:1158:2 [07:56:20.244] frame #30: 0x000000010068c14c postgres`PortalRunMulti(portal=0x0000000122834d00, isTopLevel=true, setHoldSnapshot=false, dest=0x000000012400bb30, altdest=0x000000012400bb30, qc=0x000000016fa94678) at pquery.c:0 [07:56:20.245] frame #31: 0x000000010068bb30 postgres`PortalRun(portal=0x0000000122834d00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000012400bb30, altdest=0x000000012400bb30, qc=0x000000016fa94678) at pquery.c:791:5 [07:56:20.245] frame #32: 0x000000010068aac0 postgres`exec_simple_query(query_string="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 postgres.c:1284:10 [07:56:20.245] frame #33: 0x000000010068883c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:56:20.245] frame #34: 0x0000000100683b24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:56:20.245] frame #35: 0x00000001005eb388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fa94a80) at launch_backend.c:274:3 [07:56:20.245] frame #36: 0x00000001005ef4dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fa94a80) at postmaster.c:3414:8 [07:56:20.245] frame #37: 0x00000001005ef354 postgres`ServerLoop at postmaster.c:1648:6 [07:56:20.245] frame #38: 0x00000001005ed4b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:56:20.245] frame #39: 0x00000001005428d4 postgres`main(argc=8, argv=0x00006000035e03c0) at main.c:197:3 [07:56:20.245] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:56:20.245] (lldb) quit [07:56:20.261] -e [07:56:20.261] [07:56:20.261] [07:56:20.451] (lldb) target create --core "/Users/admin/cores/core.43842" [07:56:45.104] Core file '/Users/admin/cores/core.43842' (arm64) was loaded. [07:56:45.104] (lldb) thread backtrace all [07:56:46.005] * thread #1 [07:56:46.005] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:56:46.005] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:56:46.005] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:56:46.005] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:56:46.005] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:56:46.005] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:56:46.005] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:56:46.005] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:56:46.005] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:56:46.005] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:56:46.005] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:56:46.005] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:56:46.005] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:56:46.005] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:56:46.005] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:56:46.005] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:56:46.005] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:56:46.005] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:56:46.005] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:56:46.005] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:56:46.005] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:56:46.005] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:56:46.005] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=81920) at fmgr.c:1139:11 [07:56:46.005] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=81920) at fmgr.c:1417:9 [07:56:46.005] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=16, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\nplpy.info(x, type(x))\nreturn x\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000014a08eab8, allParameterTypes=0, parameterModes=0, parameterNames=5537065704, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:56:46.005] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b478) at functioncmds.c:1257:9 [07:56:46.005] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b548, queryString="CREATE FUNCTION test_type_conversion_bool(x bool) RETURNS bool AS $$\nplpy.info(x, type(x))\nreturn x\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:56:46.005] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b548, queryString="CREATE FUNCTION test_type_conversion_bool(x bool) RETURNS bool AS $$\nplpy.info(x, type(x))\nreturn x\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b908, qc=) at utility.c:0 [07:56:46.005] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:56:46.005] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a03d500, pstmt=0x000000015a80b548, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b908, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:56:46.005] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a03d500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b908, altdest=0x000000015a80b908, qc=0x000000016d5cc6a8) at pquery.c:0 [07:56:46.005] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a03d500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b908, altdest=0x000000015a80b908, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:56:46.005] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION test_type_conversion_bool(x bool) RETURNS bool AS $$\nplpy.info(x, type(x))\nreturn x\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [07:56:46.005] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:56:46.005] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:56:46.005] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:56:46.005] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:56:46.005] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:56:46.005] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:56:46.005] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:56:46.005] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:56:46.005] (lldb) quit [07:56:46.016] -e [07:56:46.016] [07:56:46.016] [07:56:46.187] (lldb) target create --core "/Users/admin/cores/core.21662" [07:57:10.498] Core file '/Users/admin/cores/core.21662' (arm64) was loaded. [07:57:10.498] (lldb) thread backtrace all [07:57:11.219] * thread #1 [07:57:11.219] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:57:11.219] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:57:11.219] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:57:11.219] frame #3: 0x0000000100746854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:57:11.219] frame #4: 0x0000000100fa5e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:57:11.219] frame #5: 0x0000000100fa5e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:57:11.219] frame #6: 0x0000000100fa5e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:57:11.219] frame #7: 0x0000000102ca5f4c Python`create_builtin + 176 [07:57:11.219] frame #8: 0x0000000102ca6a94 Python`_imp_create_builtin + 96 [07:57:11.219] frame #9: 0x0000000102bcec78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:57:11.219] frame #10: 0x0000000102ad970c Python`_PyEval_EvalFrameDefault + 50452 [07:57:11.219] frame #11: 0x0000000102b174f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:57:11.219] frame #12: 0x0000000102b8c93c Python`PyObject_CallMethodObjArgs + 108 [07:57:11.219] frame #13: 0x0000000102ca4620 Python`PyImport_ImportModuleLevelObject + 992 [07:57:11.219] frame #14: 0x0000000102ba6350 Python`builtin___import__ + 172 [07:57:11.219] frame #15: 0x0000000102bceb2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:57:11.219] frame #16: 0x0000000102b3bbac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:57:11.219] frame #17: 0x0000000102aa856c Python`PyObject_CallFunction + 60 [07:57:11.219] frame #18: 0x0000000102ca4064 Python`PyImport_Import + 192 [07:57:11.219] frame #19: 0x0000000102ca3f34 Python`PyImport_ImportModule + 60 [07:57:11.219] frame #20: 0x0000000100fa5338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:57:11.219] frame #21: 0x0000000100fa5290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:57:11.219] frame #22: 0x000000010074edc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016fb07c28, collation=0, arg1=16585) at fmgr.c:1139:11 [07:57:11.219] frame #23: 0x000000010074ed98 postgres`OidFunctionCall1Coll(functionId=16580, collation=0, arg1=16585) at fmgr.c:1417:9 [07:57:11.219] frame #24: 0x00000001003ec7d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=23, proowner=10, languageObjectId=, languageValidator=16580, prosrc="\nplpy.info(repr(val))\nreturn len(val)\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000013380b410, allParameterTypes=0, parameterModes=0, parameterNames=5159040064, parameterDefaults=0x0000000000000000, trftypes=5159040776, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:57:11.219] frame #25: 0x000000010041fb8c postgres`CreateFunction(pstate=0x000000013380af00, stmt=0x0000000131810260) at functioncmds.c:1257:9 [07:57:11.219] frame #26: 0x000000010061a574 postgres`ProcessUtilitySlow(pstate=0x000000013380af00, pstmt=0x0000000131810330, queryString="CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016fb08678) at utility.c:1655:15 [07:57:11.219] frame #27: 0x0000000100619200 postgres`standard_ProcessUtility(pstmt=0x0000000131810330, queryString="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=, queryEnv=0x0000000000000000, dest=0x00000001318106f0, qc=) at utility.c:0 [07:57:11.219] frame #28: 0x0000000100618dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:57:11.219] frame #29: 0x0000000100618a1c postgres`PortalRunUtility(portal=0x000000013302f700, pstmt=0x0000000131810330, isTopLevel=true, setHoldSnapshot=false, dest=0x00000001318106f0, qc=0x000000016fb08678) at pquery.c:1158:2 [07:57:11.219] frame #30: 0x000000010061814c postgres`PortalRunMulti(portal=0x000000013302f700, isTopLevel=true, setHoldSnapshot=false, dest=0x00000001318106f0, altdest=0x00000001318106f0, qc=0x000000016fb08678) at pquery.c:0 [07:57:11.219] frame #31: 0x0000000100617b30 postgres`PortalRun(portal=0x000000013302f700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001318106f0, altdest=0x00000001318106f0, qc=0x000000016fb08678) at pquery.c:791:5 [07:57:11.219] frame #32: 0x0000000100616ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION test1(val ltree) RETURNS int\nLANGUAGE plpython3u\nTRANSFORM FOR TYPE ltree\nAS $$\nplpy.info(repr(val))\nreturn len(val)\n$$;") at postgres.c:1284:10 [07:57:11.219] frame #33: 0x000000010061483c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:57:11.219] frame #34: 0x000000010060fb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:57:11.219] frame #35: 0x0000000100577388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fb08a80) at launch_backend.c:274:3 [07:57:11.219] frame #36: 0x000000010057b4dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fb08a80) at postmaster.c:3414:8 [07:57:11.219] frame #37: 0x000000010057b354 postgres`ServerLoop at postmaster.c:1648:6 [07:57:11.219] frame #38: 0x00000001005794b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:57:11.219] frame #39: 0x00000001004ce8d4 postgres`main(argc=8, argv=0x0000600000a443c0) at main.c:197:3 [07:57:11.219] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:57:11.219] (lldb) quit [07:57:11.231] -e [07:57:11.231] [07:57:11.231] [07:57:11.382] (lldb) target create --core "/Users/admin/cores/core.43859" [07:57:34.461] Core file '/Users/admin/cores/core.43859' (arm64) was loaded. [07:57:34.461] (lldb) thread backtrace all [07:57:35.229] * thread #1 [07:57:35.229] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:57:35.229] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:57:35.229] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:57:35.229] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:57:35.229] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:57:35.229] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:57:35.229] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:57:35.229] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:57:35.229] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:57:35.229] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:57:35.229] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:57:35.229] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:57:35.229] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:57:35.229] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:57:35.229] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:57:35.229] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:57:35.229] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:57:35.229] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:57:35.229] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:57:35.229] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:57:35.229] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:57:35.229] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:57:35.229] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=90112) at fmgr.c:1139:11 [07:57:35.229] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=90112) at fmgr.c:1417:9 [07:57:35.229] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=25, proowner=10, languageObjectId=, languageValidator=16455, prosrc=".syntaxerror", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000014a091ae8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:57:35.229] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b320) at functioncmds.c:1257:9 [07:57:35.229] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b3f0, queryString="/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:57:35.229] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b3f0, queryString="/* 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=, queryEnv=0x0000000000000000, dest=0x000000015a80b7b0, qc=) at utility.c:0 [07:57:35.229] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:57:35.229] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a039500, pstmt=0x000000015a80b3f0, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b7b0, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:57:35.229] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a039500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b7b0, altdest=0x000000015a80b7b0, qc=0x000000016d5cc6a8) at pquery.c:0 [07:57:35.229] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a039500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b7b0, altdest=0x000000015a80b7b0, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:57:35.229] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="/* Flat out Python syntax error\n */\nCREATE FUNCTION python_syntax_error() RETURNS text\n AS\n'.syntaxerror'\n LANGUAGE plpython3u;") at postgres.c:1284:10 [07:57:35.229] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:57:35.229] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:57:35.229] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:57:35.229] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:57:35.229] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:57:35.229] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:57:35.229] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:57:35.229] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:57:35.229] (lldb) quit [07:57:35.240] -e [07:57:35.240] [07:57:35.240] [07:57:35.399] (lldb) target create --core "/Users/admin/cores/core.29071" [07:57:59.281] Core file '/Users/admin/cores/core.29071' (arm64) was loaded. [07:57:59.281] (lldb) thread backtrace all [07:57:59.976] * thread #1 [07:57:59.976] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:57:59.976] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:57:59.976] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:57:59.976] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:57:59.976] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:57:59.976] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:57:59.976] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:57:59.976] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:57:59.976] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:57:59.976] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:57:59.976] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:57:59.976] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:57:59.976] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:57:59.976] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:57:59.976] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:57:59.976] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:57:59.976] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:57:59.976] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:57:59.976] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:57:59.976] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:57:59.976] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:57:59.976] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:57:59.976] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=40960) at fmgr.c:1139:11 [07:57:59.976] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=40960) at fmgr.c:1417:9 [07:57:59.976] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=2278, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\npass\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000014a00ace8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:57:59.976] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b1e0) at functioncmds.c:1257:9 [07:57:59.976] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b280, queryString="CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:57:59.976] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b280, queryString="CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b640, qc=) at utility.c:0 [07:57:59.976] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:57:59.976] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a039500, pstmt=0x000000015a80b280, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b640, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:57:59.976] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a039500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b640, altdest=0x000000015a80b640, qc=0x000000016d5cc6a8) at pquery.c:0 [07:57:59.976] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a039500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b640, altdest=0x000000015a80b640, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:57:59.976] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE PROCEDURE test_proc1()\nLANGUAGE plpython3u\nAS $$\npass\n$$;") at postgres.c:1284:10 [07:57:59.976] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:57:59.976] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:57:59.976] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:57:59.976] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:57:59.976] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:57:59.976] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:57:59.976] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:57:59.976] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:57:59.976] (lldb) quit [07:57:59.987] -e [07:57:59.987] [07:57:59.987] [07:58:00.134] (lldb) target create --core "/Users/admin/cores/core.26438" [07:58:24.486] Core file '/Users/admin/cores/core.26438' (arm64) was loaded. [07:58:24.486] (lldb) thread backtrace all [07:58:25.201] * thread #1 [07:58:25.201] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:58:25.201] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:58:25.201] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:58:25.201] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:58:25.201] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:58:25.201] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:58:25.201] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:58:25.201] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:58:25.201] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:58:25.201] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:58:25.201] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:58:25.201] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:58:25.201] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:58:25.201] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:58:25.201] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:58:25.201] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:58:25.201] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:58:25.201] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:58:25.201] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:58:25.201] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:58:25.201] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:58:25.201] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:58:25.201] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=32768) at fmgr.c:1139:11 [07:58:25.201] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=32768) at fmgr.c:1417:9 [07:58:25.201] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=2278, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\nx = 10\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000015a8186e8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:58:25.201] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b2d8) at functioncmds.c:1257:9 [07:58:25.201] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b378, queryString="CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:58:25.201] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b378, queryString="CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b738, qc=) at utility.c:0 [07:58:25.201] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:58:25.201] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a035500, pstmt=0x000000015a80b378, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b738, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:58:25.201] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a035500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b738, altdest=0x000000015a80b738, qc=0x000000016d5cc6a8) at pquery.c:0 [07:58:25.201] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a035500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b738, altdest=0x000000015a80b738, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:58:25.201] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION test_void_func1() RETURNS void AS $$\nx = 10\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [07:58:25.201] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:58:25.201] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:58:25.201] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:58:25.201] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:58:25.201] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:58:25.201] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:58:25.201] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:58:25.201] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:58:25.201] (lldb) quit [07:58:25.212] -e [07:58:25.212] [07:58:25.212] [07:58:25.376] (lldb) target create --core "/Users/admin/cores/core.19827" [07:58:48.885] Core file '/Users/admin/cores/core.19827' (arm64) was loaded. [07:58:48.885] (lldb) thread backtrace all [07:58:49.583] * thread #1 [07:58:49.583] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:58:49.583] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:58:49.583] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:58:49.583] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:58:49.583] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:58:49.583] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:58:49.583] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:58:49.583] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:58:49.583] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:58:49.583] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:58:49.583] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:58:49.583] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:58:49.583] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:58:49.583] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:58:49.583] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:58:49.583] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:58:49.583] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:58:49.583] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:58:49.583] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:58:49.583] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:58:49.583] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:58:49.583] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:58:49.583] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=16457) at fmgr.c:1139:11 [07:58:49.583] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=16457) at fmgr.c:1417:9 [07:58:49.583] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=25, proowner=10, languageObjectId=, languageValidator=16455, prosrc="return \"zarkon\"", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000015a096058, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:58:49.583] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b288) at functioncmds.c:1257:9 [07:58:49.583] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b358, queryString="CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:58:49.583] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b358, queryString="CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b718, qc=) at utility.c:0 [07:58:49.583] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:58:49.583] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000015a039900, pstmt=0x000000015a80b358, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b718, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:58:49.583] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000015a039900, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b718, altdest=0x000000015a80b718, qc=0x000000016d5cc6a8) at pquery.c:0 [07:58:49.583] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000015a039900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b718, altdest=0x000000015a80b718, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:58:49.583] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION stupid() RETURNS text AS 'return \"zarkon\"' LANGUAGE plpython3u;") at postgres.c:1284:10 [07:58:49.583] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:58:49.583] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:58:49.583] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:58:49.583] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:58:49.583] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:58:49.583] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:58:49.583] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:58:49.583] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:58:49.583] (lldb) quit [07:58:49.594] -e [07:58:49.594] [07:58:49.594] [07:58:49.742] (lldb) target create --core "/Users/admin/cores/core.43970" [07:59:14.485] Core file '/Users/admin/cores/core.43970' (arm64) was loaded. [07:59:14.485] (lldb) thread backtrace all [07:59:15.196] * thread #1 [07:59:15.196] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:59:15.196] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:59:15.196] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:59:15.196] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:59:15.196] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:59:15.196] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:59:15.196] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:59:15.196] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:59:15.196] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:59:15.196] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:59:15.196] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:59:15.196] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:59:15.196] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:59:15.196] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:59:15.196] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:59:15.196] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:59:15.196] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:59:15.196] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:59:15.196] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:59:15.196] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:59:15.196] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:59:15.196] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:59:15.196] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=131075) at fmgr.c:1139:11 [07:59:15.196] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=131075) at fmgr.c:1417:9 [07:59:15.196] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=25, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (2)\")\n if what_error == \"SPI\":\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES ('oops')\")\n elif what_error == \"Python\":\n raise Exception(\"Python exception\")\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000015a02c7a8, allParameterTypes=0, parameterModes=0, parameterNames=5805098968, parameterDefaults=0x000000015a02c758, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:59:15.196] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b7f0) at functioncmds.c:1257:9 [07:59:15.196] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b8c0, queryString="CREATE FUNCTION subtransaction_ctx_test(what_error text = NULL) RETURNS text\nAS $$\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (2)\")\n if what_error == \"SPI\":\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES ('oops')\")\n elif what_error == \"Python\":\n raise Exception(\"Python exception\")\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:59:15.196] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b8c0, queryString="CREATE FUNCTION subtransaction_ctx_test(what_error text = NULL) RETURNS text\nAS $$\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (2)\")\n if what_error == \"SPI\":\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES ('oops')\")\n elif what_error == \"Python\":\n raise Exception(\"Python exception\")\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80bc80, qc=) at utility.c:0 [07:59:15.196] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:59:15.196] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000013a02d100, pstmt=0x000000015a80b8c0, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80bc80, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:59:15.196] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000013a02d100, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80bc80, altdest=0x000000015a80bc80, qc=0x000000016d5cc6a8) at pquery.c:0 [07:59:15.196] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000013a02d100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80bc80, altdest=0x000000015a80bc80, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:59:15.196] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION subtransaction_ctx_test(what_error text = NULL) RETURNS text\nAS $$\nwith plpy.subtransaction():\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (1)\")\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES (2)\")\n if what_error == \"SPI\":\n plpy.execute(\"INSERT INTO subtransaction_tbl VALUES ('oops')\")\n elif what_error == \"Python\":\n raise Exception(\"Python exception\")\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [07:59:15.196] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:59:15.196] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:59:15.196] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:59:15.196] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:59:15.196] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:59:15.196] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:59:15.196] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:59:15.196] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:59:15.196] (lldb) quit [07:59:15.208] -e [07:59:15.208] [07:59:15.208] [07:59:15.372] (lldb) target create --core "/Users/admin/cores/core.43983" [07:59:39.328] Core file '/Users/admin/cores/core.43983' (arm64) was loaded. [07:59:39.328] (lldb) thread backtrace all [07:59:40.039] * thread #1 [07:59:40.039] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [07:59:40.039] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [07:59:40.039] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [07:59:40.039] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [07:59:40.039] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [07:59:40.039] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [07:59:40.039] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [07:59:40.039] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [07:59:40.039] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [07:59:40.039] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [07:59:40.039] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [07:59:40.039] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [07:59:40.039] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [07:59:40.039] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [07:59:40.039] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [07:59:40.039] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [07:59:40.039] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [07:59:40.039] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [07:59:40.039] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [07:59:40.039] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [07:59:40.039] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [07:59:40.039] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [07:59:40.039] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=139269) at fmgr.c:1139:11 [07:59:40.039] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=139269) at fmgr.c:1417:9 [07:59:40.039] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=2278, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n plpy.rollback()\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000014a0212e8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [07:59:40.039] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a020d00, stmt=0x000000015a80b350) at functioncmds.c:1257:9 [07:59:40.039] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a020d00, pstmt=0x000000015a80b420, queryString="CREATE PROCEDURE transaction_test1()\nLANGUAGE plpython3u\nAS $$\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n plpy.rollback()\n$$;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [07:59:40.039] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b420, queryString="CREATE PROCEDURE transaction_test1()\nLANGUAGE plpython3u\nAS $$\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n plpy.rollback()\n$$;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b7e0, qc=) at utility.c:0 [07:59:40.039] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [07:59:40.039] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000015a03b900, pstmt=0x000000015a80b420, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b7e0, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [07:59:40.039] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000015a03b900, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b7e0, altdest=0x000000015a80b7e0, qc=0x000000016d5cc6a8) at pquery.c:0 [07:59:40.039] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000015a03b900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b7e0, altdest=0x000000015a80b7e0, qc=0x000000016d5cc6a8) at pquery.c:791:5 [07:59:40.039] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE PROCEDURE transaction_test1()\nLANGUAGE plpython3u\nAS $$\nfor i in range(0, 10):\n plpy.execute(\"INSERT INTO test1 (a) VALUES (%d)\" % i)\n if i % 2 == 0:\n plpy.commit()\n else:\n plpy.rollback()\n$$;") at postgres.c:1284:10 [07:59:40.039] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [07:59:40.039] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [07:59:40.039] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [07:59:40.039] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [07:59:40.039] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [07:59:40.039] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [07:59:40.039] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [07:59:40.039] frame #40: 0x0000000187dab154 dyld`start + 2476 [07:59:40.039] (lldb) quit [07:59:40.051] -e [07:59:40.051] [07:59:40.051] [07:59:40.199] (lldb) target create --core "/Users/admin/cores/core.43922" [08:00:03.002] Core file '/Users/admin/cores/core.43922' (arm64) was loaded. [08:00:03.002] (lldb) thread backtrace all [08:00:03.696] * thread #1 [08:00:03.696] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [08:00:03.696] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [08:00:03.696] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [08:00:03.696] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [08:00:03.696] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [08:00:03.696] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [08:00:03.696] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [08:00:03.696] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [08:00:03.696] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [08:00:03.696] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [08:00:03.696] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [08:00:03.696] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [08:00:03.696] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [08:00:03.696] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [08:00:03.696] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [08:00:03.696] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [08:00:03.696] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [08:00:03.696] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [08:00:03.696] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [08:00:03.696] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [08:00:03.696] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [08:00:03.696] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [08:00:03.696] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=106501) at fmgr.c:1139:11 [08:00:03.696] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=106501) at fmgr.c:1417:9 [08:00:03.696] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=25, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\nreturn \"\\xA0\"\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000014a00f6e8, allParameterTypes=0, parameterModes=0, parameterNames=0, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [08:00:03.696] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00f100, stmt=0x000000015a80b290) at functioncmds.c:1257:9 [08:00:03.696] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00f100, pstmt=0x000000015a80b360, queryString="CREATE FUNCTION unicode_return() RETURNS text AS E'\nreturn \"\\\\xA0\"\n' LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [08:00:03.696] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b360, queryString="CREATE FUNCTION unicode_return() RETURNS text AS E'\nreturn \"\\\\xA0\"\n' LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80b720, qc=) at utility.c:0 [08:00:03.696] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [08:00:03.696] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a03d500, pstmt=0x000000015a80b360, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b720, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [08:00:03.696] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a03d500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80b720, altdest=0x000000015a80b720, qc=0x000000016d5cc6a8) at pquery.c:0 [08:00:03.696] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a03d500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80b720, altdest=0x000000015a80b720, qc=0x000000016d5cc6a8) at pquery.c:791:5 [08:00:03.696] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION unicode_return() RETURNS text AS E'\nreturn \"\\\\xA0\"\n' LANGUAGE plpython3u;") at postgres.c:1284:10 [08:00:03.696] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:00:03.696] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [08:00:03.696] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [08:00:03.696] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [08:00:03.696] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [08:00:03.696] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [08:00:03.696] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [08:00:03.696] frame #40: 0x0000000187dab154 dyld`start + 2476 [08:00:03.696] (lldb) quit [08:00:03.707] -e [08:00:03.707] [08:00:03.707] [08:00:03.867] (lldb) target create --core "/Users/admin/cores/core.43940" [08:00:28.412] Core file '/Users/admin/cores/core.43940' (arm64) was loaded. [08:00:28.412] (lldb) thread backtrace all [08:00:29.087] * thread #1 [08:00:29.087] * frame #0: 0x00000001880fd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [08:00:29.087] frame #1: 0x0000000188135c20 libsystem_pthread.dylib`pthread_kill + 288 [08:00:29.087] frame #2: 0x0000000188042a30 libsystem_c.dylib`abort + 180 [08:00:29.087] frame #3: 0x0000000102c82854 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=267) at assert.c:66:2 [08:00:29.087] frame #4: 0x00000001034e1e38 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:267:3 [08:00:29.087] frame #5: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy [inlined] PLy_add_exceptions(plpy=) at plpy_plpymodule.c:204:2 [08:00:29.087] frame #6: 0x00000001034e1e14 plpython3.dylib`PyInit_plpy at plpy_plpymodule.c:137:2 [08:00:29.087] frame #7: 0x00000001051e1f4c Python`create_builtin + 176 [08:00:29.087] frame #8: 0x00000001051e2a94 Python`_imp_create_builtin + 96 [08:00:29.087] frame #9: 0x000000010510ac78 Python`cfunction_vectorcall_O.llvm.13788063151930890959 + 108 [08:00:29.087] frame #10: 0x000000010501570c Python`_PyEval_EvalFrameDefault + 50452 [08:00:29.087] frame #11: 0x00000001050534f8 Python`object_vacall.llvm.13311849376359951776 + 212 [08:00:29.087] frame #12: 0x00000001050c893c Python`PyObject_CallMethodObjArgs + 108 [08:00:29.087] frame #13: 0x00000001051e0620 Python`PyImport_ImportModuleLevelObject + 992 [08:00:29.087] frame #14: 0x00000001050e2350 Python`builtin___import__ + 172 [08:00:29.087] frame #15: 0x000000010510ab2c Python`cfunction_vectorcall_FASTCALL_KEYWORDS.llvm.13788063151930890959 + 92 [08:00:29.087] frame #16: 0x0000000105077bac Python`_PyObject_CallFunctionVa.llvm.13311849376359951776 + 152 [08:00:29.087] frame #17: 0x0000000104fe456c Python`PyObject_CallFunction + 60 [08:00:29.087] frame #18: 0x00000001051e0064 Python`PyImport_Import + 192 [08:00:29.087] frame #19: 0x00000001051dff34 Python`PyImport_ImportModule + 60 [08:00:29.087] frame #20: 0x00000001034e1338 plpython3.dylib`PLy_initialize at plpy_main.c:118:2 [08:00:29.087] frame #21: 0x00000001034e1290 plpython3.dylib`plpython3_validator(fcinfo=) at plpy_main.c:172:2 [08:00:29.087] frame #22: 0x0000000102c8adc4 postgres`OidFunctionCall1Coll [inlined] FunctionCall1Coll(flinfo=0x000000016d5cbc58, collation=0, arg1=114688) at fmgr.c:1139:11 [08:00:29.087] frame #23: 0x0000000102c8ad98 postgres`OidFunctionCall1Coll(functionId=16455, collation=0, arg1=114688) at fmgr.c:1417:9 [08:00:29.087] frame #24: 0x00000001029287d4 postgres`ProcedureCreate(procedureName="", procNamespace=2200, replace=, returnsSet=false, returnType=25, proowner=10, languageObjectId=, languageValidator=16455, prosrc="\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how == \"ident\":\n return plpy.quote_ident(t)\n else:\n raise plpy.Error(\"unrecognized quote type %s\" % how)\n", probin=0x0000000000000000, prosqlbody=0x0000000000000000, prokind=, security_definer=, isLeakProof=, isStrict=, volatility=, parallel=, parameterTypes=0x000000013a0224e8, allParameterTypes=0, parameterModes=0, parameterNames=5268186392, parameterDefaults=0x0000000000000000, trftypes=0, proconfig=0, prosupport=0, procost=, prorows=) at pg_proc.c:703:3 [08:00:29.087] frame #25: 0x000000010295bb8c postgres`CreateFunction(pstate=0x000000014a00a700, stmt=0x000000015a80b910) at functioncmds.c:1257:9 [08:00:29.087] frame #26: 0x0000000102b56574 postgres`ProcessUtilitySlow(pstate=0x000000014a00a700, pstmt=0x000000015a80b9b0, queryString="CREATE FUNCTION quote(t text, how text) RETURNS text AS $$\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how == \"ident\":\n return plpy.quote_ident(t)\n else:\n raise plpy.Error(\"unrecognized quote type %s\" % how)\n$$ LANGUAGE plpython3u;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0000000000000000, queryEnv=0x0000000000000000, dest=, qc=0x000000016d5cc6a8) at utility.c:1655:15 [08:00:29.087] frame #27: 0x0000000102b55200 postgres`standard_ProcessUtility(pstmt=0x000000015a80b9b0, queryString="CREATE FUNCTION quote(t text, how text) RETURNS text AS $$\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how == \"ident\":\n return plpy.quote_ident(t)\n else:\n raise plpy.Error(\"unrecognized quote type %s\" % how)\n$$ LANGUAGE plpython3u;", readOnlyTree=, context=PROCESS_UTILITY_TOPLEVEL, params=, queryEnv=0x0000000000000000, dest=0x000000015a80bd70, qc=) at utility.c:0 [08:00:29.087] frame #28: 0x0000000102b54dd0 postgres`ProcessUtility(pstmt=, queryString=, readOnlyTree=, context=, params=, queryEnv=, dest=, qc=) at utility.c:523:3 [artificial] [08:00:29.087] frame #29: 0x0000000102b54a1c postgres`PortalRunUtility(portal=0x000000014a03d500, pstmt=0x000000015a80b9b0, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80bd70, qc=0x000000016d5cc6a8) at pquery.c:1158:2 [08:00:29.087] frame #30: 0x0000000102b5414c postgres`PortalRunMulti(portal=0x000000014a03d500, isTopLevel=true, setHoldSnapshot=false, dest=0x000000015a80bd70, altdest=0x000000015a80bd70, qc=0x000000016d5cc6a8) at pquery.c:0 [08:00:29.087] frame #31: 0x0000000102b53b30 postgres`PortalRun(portal=0x000000014a03d500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015a80bd70, altdest=0x000000015a80bd70, qc=0x000000016d5cc6a8) at pquery.c:791:5 [08:00:29.087] frame #32: 0x0000000102b52ac0 postgres`exec_simple_query(query_string="CREATE FUNCTION quote(t text, how text) RETURNS text AS $$\n if how == \"literal\":\n return plpy.quote_literal(t)\n elif how == \"nullable\":\n return plpy.quote_nullable(t)\n elif how == \"ident\":\n return plpy.quote_ident(t)\n else:\n raise plpy.Error(\"unrecognized quote type %s\" % how)\n$$ LANGUAGE plpython3u;") at postgres.c:1284:10 [08:00:29.087] frame #33: 0x0000000102b5083c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:00:29.087] frame #34: 0x0000000102b4bb24 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [08:00:29.087] frame #35: 0x0000000102ab3388 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d5ccab0) at launch_backend.c:274:3 [08:00:29.087] frame #36: 0x0000000102ab74dc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d5ccab0) at postmaster.c:3414:8 [08:00:29.087] frame #37: 0x0000000102ab7354 postgres`ServerLoop at postmaster.c:1648:6 [08:00:29.087] frame #38: 0x0000000102ab54b8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [08:00:29.087] frame #39: 0x0000000102a0a8d4 postgres`main(argc=8, argv=0x0000600000298500) at main.c:197:3 [08:00:29.088] frame #40: 0x0000000187dab154 dyld`start + 2476 [08:00:29.088] (lldb) quit