Open hmartinez82 opened 6 days ago
The clang64 build stack trace has more symbols:
(lldb) Process 21056 launched: 'C:\msys64\clang64\bin\FreeCAD_d.exe' (x86_64)
Process 21056 stopped
* thread #1, stop reason = Exception 0xc0000005 encountered at address 0x7ffbf8f55a01: Access violation reading location 0xffffffffffffffff
frame #0: 0x00007ffbf8f55a01 libFreeCADGui_d.dll`Gui::PythonWrapper::getWrapperName(this=<unavailable>, obj=0x000001f3ffd46d00) const at PythonWrapper.cpp:848:36
845 const char* PythonWrapper::getWrapperName(QObject* obj) const
846 {
847 #if defined (HAVE_SHIBOKEN) && defined(HAVE_PYSIDE)
-> 848 const QMetaObject* meta = obj->metaObject();
849 while (meta) {
850 const char* typeName = meta->className();
851 PyTypeObject* exactType = Shiboken::Conversions::getPythonTypeObject(typeName);
(lldb) bt
* thread #1, stop reason = Exception 0xc0000005 encountered at address 0x7ffbf8f55a01: Access violation reading location 0xffffffffffffffff
* frame #0: 0x00007ffbf8f55a01 libFreeCADGui_d.dll`Gui::PythonWrapper::getWrapperName(this=<unavailable>, obj=0x000001f3ffd46d00) const at PythonWrapper.cpp:848:36
frame #1: 0x00007ffbf8f5e08d libFreeCADGui_d.dll`Gui::UiLoaderPy::load(this=<unavailable>, args=<unavailable>) at UiLoader.cpp:607:45
frame #2: 0x00007ffbf8f61a27 libFreeCADGui_d.dll`Py::PythonExtension<Gui::UiLoaderPy>::method_varargs_call_handler(_self_and_name_tuple=<unavailable>, _args=0x000001f3c3686e30) at ExtensionOldType.hxx:309:26
frame #3: 0x00007ffc98caed1b libpython3.12.dll`PyCMethod_GetClass + 619
frame #4: 0x00007ffc98c5763b libpython3.12.dll`PyObject_Vectorcall + 235
frame #5: 0x00007ffc98d79a87 libpython3.12.dll`_PyEval_EvalFrameDefault + 44039
frame #6: 0x00007ffc98d6e4ee libpython3.12.dll`PyEval_EvalCode + 190
frame #7: 0x00007ffc98ddb932 libpython3.12.dll`PyErr_DisplayException + 194
frame #8: 0x00007ffc98ddb0f1 libpython3.12.dll`PyRun_StringFlags + 113
frame #9: 0x00007ffbf8f57c6d libFreeCADGui_d.dll`Gui::PySideUicModule::loadUi(this=<unavailable>, args=0x0000001510799be8) at UiLoader.cpp:185:24
frame #10: 0x00007ffbf8f614f4 libFreeCADGui_d.dll`Py::ExtensionModule<Gui::PySideUicModule>::invoke_method_varargs(this=<unavailable>, method_def=<unavailable>, args=<unavailable>) at ExtensionModule.hxx:182:20
frame #11: 0x00007ffc76b08f40 libFreeCADBase_d.dll`method_varargs_call_handler(_self_and_name_tuple=<unavailable>, _args=0x000001f3b4b72f50) at cxx_extensions.cxx:1657:23
frame #12: 0x00007ffc98caed1b libpython3.12.dll`PyCMethod_GetClass + 619
frame #13: 0x00007ffc98c5763b libpython3.12.dll`PyObject_Vectorcall + 235
frame #14: 0x00007ffc98d79a87 libpython3.12.dll`_PyEval_EvalFrameDefault + 44039
frame #15: 0x00007ffc98c57c94 libpython3.12.dll`_PyFunction_Vectorcall + 84
frame #16: 0x00007ffc98c57e69 libpython3.12.dll`_PyObject_Call_Prepend + 169
frame #17: 0x00007ffc98cd61ec libpython3.12.dll`_PySuper_Lookup + 15276
frame #18: 0x00007ffc98ccc701 libpython3.12.dll`_PyStaticType_Dealloc + 2289
frame #19: 0x00007ffc98c57868 libpython3.12.dll`_PyObject_Call + 120
frame #20: 0x00007ffbf8f62f89 libFreeCADGui_d.dll`Gui::PrefPagePyProducer::Produce() const [inlined] Py::Callable::apply(this=0x000000151079a1e0, args=0x000000151079a1d0) const at Objects.hxx:3261:32
frame #21: 0x00007ffbf8f62f7a libFreeCADGui_d.dll`Gui::PrefPagePyProducer::Produce(this=0x000001f3c0fe8300) const at WidgetFactory.cpp:248:34
frame #22: 0x00007ffc76b4dfb5 libFreeCADBase_d.dll`Base::Factory::Produce(this=<unavailable>, sClassName=<unavailable>) const at Factory.cpp:51:31
frame #23: 0x00007ffbf8f621fb libFreeCADGui_d.dll`Gui::WidgetFactoryInst::createPreferencePage(this=<unavailable>, sName="AddonManagerOptions", parent=<unavailable>) const at WidgetFactory.cpp:117:44
frame #24: 0x00007ffbf8bfee98 libFreeCADGui_d.dll`Gui::Dialog::DlgPreferencesImp::createPreferencePage(pageName="AddonManagerOptions", groupName="Addon Manager") at DlgPreferencesImp.cpp:284:44
frame #25: 0x00007ffbf8bfe22b libFreeCADGui_d.dll`Gui::Dialog::DlgPreferencesImp::createPageInGroup(this=0x000000151079a538, groupItem=0x000001f3ffd267a0, pageName="AddonManagerOptions") at DlgPreferencesImp.cpp:315:32
frame #26: 0x00007ffbf8bfc43f libFreeCADGui_d.dll`Gui::Dialog::DlgPreferencesImp::DlgPreferencesImp(QWidget*, QFlags<Qt::WindowType>) [inlined] Gui::Dialog::DlgPreferencesImp::setupPages(this=0x000000151079a538) at DlgPreferencesImp.cpp:199:13
frame #27: 0x00007ffbf8bfc3e8 libFreeCADGui_d.dll`Gui::Dialog::DlgPreferencesImp::DlgPreferencesImp(this=0x000000151079a538, parent=<unavailable>, fl=<unavailable>) at DlgPreferencesImp.cpp:140:5
frame #28: 0x00007ffbf8ab7bfe libFreeCADGui_d.dll`StdCmdDlgPreferences::activated(this=<unavailable>, iMsg=<unavailable>) at CommandStd.cpp:429:36
frame #29: 0x00007ffbf8a8afdb libFreeCADGui_d.dll`Gui::Command::_invoke(this=0x000001f3b6c0dee0, id=0, disablelog=<unavailable>) at Command.cpp:444:17
frame #30: 0x00007ffbf8a8ad6d libFreeCADGui_d.dll`Gui::Command::invoke(this=0x000001f3b6c0dee0, i=0, trigger=<unavailable>) at Command.cpp:408:5
frame #31: 0x00007ffc7b3d7d08 Qt6Core.dll`void doActivate<false>(QObject*, int, void**) + 1528
frame #32: 0x00007ffc988a8c9a Qt6Gui.dll`QAction::activate(QAction::ActionEvent) + 314
frame #33: 0x00007ffc7ba54275 Qt6Widgets.dll`QMenuPrivate::activateCausedStack(QList<QPointer<QWidget>> const&, QAction*, QAction::ActionEvent, bool) + 117
frame #34: 0x00007ffc7ba518d4 Qt6Widgets.dll`QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) + 740
frame #35: 0x00007ffc7ba58fb9 Qt6Widgets.dll`QMenu::mouseReleaseEvent(QMouseEvent*) + 425
frame #36: 0x00007ffc7b8c2cc2 Qt6Widgets.dll`QWidget::event(QEvent*) + 2258
frame #37: 0x00007ffc7ba596e4 Qt6Widgets.dll`QMenu::event(QEvent*) + 1300
frame #38: 0x00007ffc7b869c1b Qt6Widgets.dll`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 315
frame #39: 0x00007ffc7b86c4f5 Qt6Widgets.dll`QApplication::notify(QObject*, QEvent*) + 6917
frame #40: 0x00007ffbf8a41218 libFreeCADGui_d.dll`Gui::GUIApplication::notify(this=0x000000151079f2c0, receiver=0x000001f3c1b479f0, event=0x000000151079b430) at GuiApplication.cpp:93:34
frame #41: 0x00007ffc7b37ed18 Qt6Core.dll`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 200
frame #42: 0x00007ffc7b86a235 Qt6Widgets.dll`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 837
frame #43: 0x00007ffc7b8de374 Qt6Widgets.dll`QWidgetWindow::handleMouseEvent(QMouseEvent*) + 3092
frame #44: 0x00007ffc7b8dcf55 Qt6Widgets.dll`QWidgetWindow::event(QEvent*) + 117
frame #45: 0x00007ffc7b869c1b Qt6Widgets.dll`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 315
frame #46: 0x00007ffc7b86ac49 Qt6Widgets.dll`QApplication::notify(QObject*, QEvent*) + 601
frame #47: 0x00007ffbf8a41218 libFreeCADGui_d.dll`Gui::GUIApplication::notify(this=0x000000151079f2c0, receiver=0x000001f3d606c080, event=0x000000151079bb30) at GuiApplication.cpp:93:34
frame #48: 0x00007ffc7b37ed18 Qt6Core.dll`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 200
frame #49: 0x00007ffc9844052d Qt6Gui.dll`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2461
frame #50: 0x00007ffc984b010a Qt6Gui.dll`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 458
frame #51: 0x00007ffc7b52e240 Qt6Core.dll`QEventDispatcherWin32::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 96
frame #52: 0x00007ffc9880f4d9 Qt6Gui.dll`QWindowsGuiEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 25
frame #53: 0x00007ffc7b38a5da Qt6Core.dll`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 1194
frame #54: 0x00007ffc7b37f503 Qt6Core.dll`QCoreApplication::exec() + 147
frame #55: 0x00007ffbf89709c6 libFreeCADGui_d.dll`Gui::Application::runApplication() [inlined] (anonymous namespace)::tryRunEventLoop(mainApp=0x000000151079f2c0) at Application.cpp:2196:13
frame #56: 0x00007ffbf89707d2 libFreeCADGui_d.dll`Gui::Application::runApplication() [inlined] (anonymous namespace)::runEventLoop(mainApp=0x000000151079f2c0) at Application.cpp:2225:9
frame #57: 0x00007ffbf89707d2 libFreeCADGui_d.dll`Gui::Application::runApplication() at Application.cpp:2302:5
frame #58: 0x00007ff743ec2eef FreeCAD_d.exe`qMain(argc=1, argv=<unavailable>) at MainGui.cpp:295:13
frame #59: 0x00007ff743ed5878 FreeCAD_d.exe`main(argc=<unavailable>, argv=<unavailable>, envp=<unavailable>) at crtexewin.c:67:10
frame #60: 0x00007ff743ec1303 FreeCAD_d.exe`__tmainCRTStartup at crtexe.c:259:15
frame #61: 0x00007ff743ec1156 FreeCAD_d.exe`WinMainCRTStartup at crtexe.c:149:9
frame #62: 0x00007ffd1debdbe7 kernel32.dll`BaseThreadInitThunk + 23
frame #63: 0x00007ffd1f85fbec ntdll.dll`RtlUserThreadStart + 44
Description / Steps to reproduce the issue
This is also happening with 1.0.0
Expected behavior
Preferences dialog shows up
Actual behavior
Verification
Windows Version
MINGW64_NT-10.0-26100
MINGW environments affected
Are you willing to submit a PR?
No response