UE 5.4.3 got crashed when running python script

I’m trying to create a extremely simple ui. So I tried to use qt, and my simple code is following.

import sys
from PySide6 import QtGui, QtUiTools
from PySide6.QtWidgets import QApplication
from PySide6 import QtUiTools


app = None
if not QtGui.QGuiApplication.instance():
    app = QApplication(sys.argv)

main_window = QtUiTools.QUiLoader.load("./ui.ui")
main_window.show()

However, ue5.4.3 crashed all the time, even I use tkinter instead. My os is MacOS.

Any hint on how to debug it will be helpful! Thank you!

Caught signal

Unknown() Address = 0x18bf7ce9c (filename not found) [in HIToolbox]
Unknown() Address = 0x18bf88814 (filename not found) [in HIToolbox]
Unknown() Address = 0x3c5ee8fb0 (filename not found) [in libqcocoa.dylib]
Unknown() Address = 0x3c5ee8f08 (filename not found) [in libqcocoa.dylib]
Unknown() Address = 0x3c5ee9ed8 (filename not found) [in libqcocoa.dylib]
Unknown() Address = 0x3c5ed5758 (filename not found) [in libqcocoa.dylib]
QPlatformIntegrationFactory::create(QString const&, QList const&, int&, char**, QString const&) Address = 0x44355c1e8 (filename not found) [in QtGui]
Unknown() Address = 0x44352b86c (filename not found) [in QtGui]
QGuiApplicationPrivate::createPlatformIntegration() Address = 0x44352b070 (filename not found) [in QtGui]
QGuiApplicationPrivate::createEventDispatcher() Address = 0x44352d33c (filename not found) [in QtGui]
QCoreApplicationPrivate::init() Address = 0x4420033bc (filename not found) [in QtCore]
QGuiApplicationPrivate::init() Address = 0x4435279e8 (filename not found) [in QtGui]
QApplicationPrivate::init() Address = 0x3d3bdf940 (filename not found) [in QtWidgets]
QApplication::QApplication(int&, char**, int) Address = 0x3d3bdf900 (filename not found) [in QtWidgets]
QApplicationConstructor(_object*, _object*, QApplicationWrapper**) Address = 0x442ad5228 (filename not found) [in QtWidgets.abi3.so]
Sbk_QApplication_Init(_object*, _object*, _object*) Address = 0x442ad1078 (filename not found) [in QtWidgets.abi3.so]
type_call Address = 0x37dd3c3bc (filename not found) [in libpython3.11.dylib]
PyObject_Vectorcall Address = 0x37dce14d0 (filename not found) [in libpython3.11.dylib]
_PyEval_EvalFrameDefault Address = 0x37dd956f8 (filename not found) [in libpython3.11.dylib]
_PyEval_Vector Address = 0x37dd8b870 (filename not found) [in libpython3.11.dylib]
PyEval_EvalCode Address = 0x37dd8b664 (filename not found) [in libpython3.11.dylib]
builtin_exec Address = 0x37dd88cb8 (filename not found) [in libpython3.11.dylib]
_PyEval_EvalFrameDefault Address = 0x37dd9715c (filename not found) [in libpython3.11.dylib]
_PyEval_Vector Address = 0x37dd8b870 (filename not found) [in libpython3.11.dylib]
PyEval_EvalCode Address = 0x37dd8b664 (filename not found) [in libpython3.11.dylib]
run_mod Address = 0x37ddc7ff0 (filename not found) [in libpython3.11.dylib]
PyRun_StringFlags Address = 0x37ddc7f20 (filename not found) [in libpython3.11.dylib]
builtin_exec Address = 0x37dd88d6c (filename not found) [in libpython3.11.dylib]
cfunction_vectorcall_FASTCALL_KEYWORDS Address = 0x37dd25a3c (filename not found) [in libpython3.11.dylib]
PyObject_Vectorcall Address = 0x37dce1454 (filename not found) [in libpython3.11.dylib]
_PyEval_EvalFrameDefault Address = 0x37dd956f8 (filename not found) [in libpython3.11.dylib]
_PyEval_Vector Address = 0x37dd8b870 (filename not found) [in libpython3.11.dylib]
PyEval_EvalCode Address = 0x37dd8b664 (filename not found) [in libpython3.11.dylib]
FPythonScriptPlugin::EvalString(char16_t const*, char16_t const*, int, _object*, _object*) Address = 0x37e3d1c14 (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FPythonScriptPlugin::RunString(FPythonCommandEx&) Address = 0x37e3c90ec (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FPythonScriptPlugin::ExecPythonCommandEx(FPythonCommandEx&) Address = 0x37e3c80fc (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FPythonScriptRemoteExecutionCommandConnection::HandleCommandMessage(FPythonScriptRemoteExecutionMessage const&) Address = 0x37e416270 (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FPythonScriptRemoteExecutionCommandConnection::Tick(float) Address = 0x37e3d433c (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
decltype(auto) UE::Core::Private::Tuple::TTupleBase<TIntegerSequence>::ApplyAfter<FPythonScriptPlugin::InitializePython()::$_7&, float>(FPythonScriptPlugin::InitializePython()::$_7&, float&&) const & Address = 0x37e429d18 (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
TBaseFunctorDelegateInstance<bool (float), FDefaultDelegateUserPolicy, FPythonScriptPlugin::InitializePython()::$_7>::Execute(float) const Address = 0x37e429a34 (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FTSTicker::FElement::Fire(float) Address = 0x108c629c8 (filename not found) [in UnrealEditor-Core.dylib]
FTSTicker::Tick(float) Address = 0x108c61e30 (filename not found) [in UnrealEditor-Core.dylib]
FEngineLoop::Tick() Address = 0x104e49f18 (filename not found) [in UnrealEditor]
GuardedMain(char16_t const*) Address = 0x104e533c4 (filename not found) [in UnrealEditor]
-[UEAppDelegate runGameThread:] Address = 0x104e6d364 (filename not found) [in UnrealEditor]
-[FCocoaGameThread main] Address = 0x108ec09c4 (filename not found) [in UnrealEditor-Core.dylib]
Unknown() Address = 0x182901f80 (filename not found) [in Foundation]
Unknown() Address = 0x1816f6f94 (filename not found) [in libsystem_pthread.dylib]
Unknown() Address = 0x1816f1d34 (filename not found) [in libsystem_pthread.dylib]