More details about the crash... right before the abort the Report View shows:
Code: Select all
ASSERT failure in __cdecl QXmlName::QXmlName(class QXmlNamePool &,const class QString &,const class QString &,const clas QString &): "The local name is invalid, maybe the arguments were mixed up?", file api\qxmlname.cpp, line 188
and the backtrace is:
Code: Select all
> ucrtbased.dll!issue_debug_notification(const wchar_t * const message) Line 28 C++
ucrtbased.dll!__acrt_report_runtime_error(const wchar_t * message) Line 154 C++
ucrtbased.dll!abort() Line 61 C++
FreeCADGui_d.dll!messageHandler(QtMsgType type, const QMessageLogContext & context, const QString & msg) Line 1697 C++
[External Code]
TechDraw_d.pyd!QDomNodeModel::name(const QXmlNodeModelIndex & ni) Line 195 C++
[External Code]
TechDraw_d.pyd!TechDraw::DrawSVGTemplate::getEditableTextsFromTemplate() Line 315 C++
TechDraw_d.pyd!TechDraw::DrawSVGTemplate::onChanged(const App::Property * prop) Line 119 C++
FreeCADApp_d.dll!App::Property::hasSetValue() Line 217 C++
FreeCADApp_d.dll!App::PropertyString::setValue(const char * newLabel) Line 1462 C++
FreeCADApp_d.dll!App::PropertyString::setValue(const std::string & sString) Line 1472 C++
FreeCADApp_d.dll!App::PropertyString::setPyObject(_object * value) Line 1508 C++
TechDraw_d.pyd!TechDraw::DrawSVGTemplatePy::setCustomAttributes(const char * attr, _object * obj) Line 58 C++
TechDraw_d.pyd!TechDraw::DrawSVGTemplatePy::_setattr(const char * attr, _object * value) Line 350 C++
FreeCADBase_d.dll!Base::PyObjectBase::__setattro(_object * obj, _object * attro, _object * value) Line 260 C++
[External Code]
FreeCADBase_d.dll!Base::InterpreterSingleton::runString(const char * sCmd) Line 268 C++
FreeCADGui_d.dll!Gui::Command::_runCommand(const char * file, int line, Gui::Command::DoCmd_Type eType, const char * sCmd) Line 692 C++
FreeCADGui_d.dll!Gui::Command::_doCommand(const char * file, int line, Gui::Command::DoCmd_Type eType, const char * sCmd, ...) Line 647 C++
TechDrawGui_d.pyd!CmdTechDrawPageTemplate::activated(int iMsg) Line 211 C++
FreeCADGui_d.dll!Gui::Command::invoke(int i, Gui::Command::TriggerSource trigger) Line 415 C++
FreeCADGui_d.dll!Gui::Action::onActivated() Line 107 C++
FreeCADGui_d.dll!Gui::Action::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 75 C++
[External Code]
FreeCADGui_d.dll!Gui::GUIApplication::notify(QObject * receiver, QEvent * event) Line 92 C++
[External Code]
FreeCADGui_d.dll!Gui::GUIApplication::notify(QObject * receiver, QEvent * event) Line 92 C++
[External Code]
FreeCADGui_d.dll!Gui::Application::runApplication() Line 2287 C++
FreeCAD_d.exe!main(int argc, char * * argv) Line 302 C++
FreeCAD_d.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 97 C++
[External Code]
I am able to load other templates (e.g. the Arch4 template from the
original discussion here), so there is something with these specific new templates that is failing.
ETA: For completeness
OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23755 +1 (Git)
Build type: Debug
Branch: pr/4309
Hash: 1fb7242c953b6556b69e31306307306e17e8b8db
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)