Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80321 - [freecad] patch for vtk 9.3 might be incomplete

Attached to Project: Arch Linux
Opened by Adrian Insaurralde (adrianinsaval) - Wednesday, 22 November 2023, 04:44 GMT
Last edited by Toolybird (Toolybird) - Thursday, 23 November 2023, 07:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 23 November 2023, 07:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  freecad-0.21.2-2
Comment by Toolybird (Toolybird) - Wednesday, 22 November 2023, 04:58 GMT
What problem is the so-called incomplete patch causing?
Comment by M. Greyson Christoforo (greyltc) - Wednesday, 22 November 2023, 17:04 GMT
I've recently started to get the following sigsev when I try to create a mesh in the FEM workbench. I assume this is a symptom. It crashes out the whole program.

$ freecad
FreeCAD 0.21.1, Libs: 0.21.1R33694 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

** (freecad:410897): WARNING **: 22:17:37.315: Error loading Implements key from /usr/share/applications/dbtool.desktop: Key file does not have group “Desktop Entry”
Program received signal SIGSEGV, Segmentation fault.
#0 /usr/lib/libc.so.6(+0x3e710) [0x7f921945c710]
#1 0x7f916459ddce in vtkCellLinks::BuildLinks() from /usr/lib/libvtkCommonDataModel.so.1+0x2e
#2 0x7f91c7bcace8 in SMDS_UnstructuredGrid::BuildLinks() from /usr/lib/freecad/lib/libSMDS.so+0xf8
#3 0x7f91c7badb87 in SMDS_Mesh::SMDS_Mesh() from /usr/lib/freecad/lib/libSMDS.so+0x4a7
#4 0x7f91fb38fd80 in SMESHDS_Mesh::SMESHDS_Mesh(int, bool) from /usr/lib/freecad/lib/libSMESHDS.so+0x20
#5 0x7f91fb387e4a in SMESHDS_Document::NewMesh(bool, int) from /usr/lib/freecad/lib/libSMESHDS.so+0x9a
#6 0x7f91655b88f2 in SMESH_Mesh::SMESH_Mesh(int, int, SMESH_Gen*, bool, SMESHDS_Document*) from /usr/lib/freecad/lib/libSMESH.so+0x152
#7 0x7f91655a6f4f in SMESH_Gen::CreateMesh(int, bool) from /usr/lib/freecad/lib/libSMESH.so+0x4f
#8 0x7f91664e573d in Fem::FemMesh::FemMesh() from /usr/lib/freecad/lib/Fem.so+0x8d
#9 0x7f9166518457 in Fem::PropertyFemMesh::PropertyFemMesh() from /usr/lib/freecad/lib/Fem.so+0x37
#10 0x7f91664d5c5b in Fem::FemMeshObject::FemMeshObject() from /usr/lib/freecad/lib/Fem.so+0x3b
#11 0x7f91664d5e39 in App::FeaturePythonT<Fem::FemMeshObject>::create() from /usr/lib/freecad/lib/Fem.so+0x39
#12 0x7f921bc69d09 in App::Document::addObject(char const*, char const*, bool, char const*, bool) from /usr/lib/freecad/lib/libFreeCADApp.so+0xd9
#13 0x7f921bd53a41 in App::DocumentPy::addObject(_object*, _object*) from /usr/lib/freecad/lib/libFreeCADApp.so+0x101
#14 0x7f921bd54b48 in App::DocumentPy::staticCallback_addObject(_object*, _object*, _object*) from /usr/lib/freecad/lib/libFreeCADApp.so+0x28
#15 /usr/lib/libpython3.11.so.1.0(+0x1fb2e1) [0x7f921b1fb2e1]
#16 /usr/lib/libpython3.11.so.1.0(_PyObject_MakeTpCall+0x2bc) [0x7f921b1da8ec]
#17 /usr/lib/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x6d3) [0x7f921b1e4c23]
#18 /usr/lib/libpython3.11.so.1.0(+0x29c484) [0x7f921b29c484]
#19 /usr/lib/libpython3.11.so.1.0(PyEval_EvalCode+0xac) [0x7f921b29be6c]
#20 /usr/lib/libpython3.11.so.1.0(+0x2b9fc3) [0x7f921b2b9fc3]
#21 /usr/lib/libpython3.11.so.1.0(+0x2b63ea) [0x7f921b2b63ea]
#22 /usr/lib/libpython3.11.so.1.0(PyRun_StringFlags+0x6d) [0x7f921b2aaa3d]
#23 0x7f921c73e94d in Gui::Application::sDoCommand(_object*, _object*) from /usr/lib/freecad/lib/libFreeCADGui.so+0xbd
#24 /usr/lib/libpython3.11.so.1.0(+0x1fb308) [0x7f921b1fb308]
#25 /usr/lib/libpython3.11.so.1.0(_PyObject_MakeTpCall+0x2bc) [0x7f921b1da8ec]
#26 /usr/lib/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x6d3) [0x7f921b1e4c23]
#27 /usr/lib/libpython3.11.so.1.0(+0x22e223) [0x7f921b22e223]
#28 /usr/lib/libpython3.11.so.1.0(+0x22d540) [0x7f921b22d540]
#29 /usr/lib/freecad/lib/libFreeCADBase.so(PP_Run_Method+0xe7) [0x7f921b81e707]
#30 0x7f921b7527ff in Base::InterpreterSingleton::runMethodVoid(_object*, char const*) from /usr/lib/freecad/lib/libFreeCADBase.so+0x2f
#31 0x7f921c857477 in Gui::PythonCommand::activated(int) from /usr/lib/freecad/lib/libFreeCADGui.so+0x57
#32 0x7f921c857c97 in Gui::Command::_invoke(int, bool) from /usr/lib/freecad/lib/libFreeCADGui.so+0x247
#33 0x7f921c8580c7 in Gui::Command::invoke(int, Gui::Command::TriggerSource) from /usr/lib/freecad/lib/libFreeCADGui.so+0x137
#34 /usr/lib/libQt5Core.so.5(+0x2d1097) [0x7f9219cd1097]
#35 0x7f921a96bbb7 in QAction::triggered(bool) from /usr/lib/libQt5Widgets.so.5+0x47
#36 0x7f921a97160b in QAction::activate(QAction::ActionEvent) from /usr/lib/libQt5Widgets.so.5+0xbb
#37 /usr/lib/libQt5Widgets.so.5(+0x2f42db) [0x7f921aaf42db]
#38 /usr/lib/libQt5Widgets.so.5(+0x2f43fd) [0x7f921aaf43fd]
#39 0x7f921a9af1a1 in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x8d1
#40 0x7f921a9788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x8f
#41 0x7f921a97ddaf in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x10ff
#42 0x7f921c7fc429 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x99
#43 0x7f9219c9c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x128
#44 0x7f921a97c0ea in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /usr/lib/libQt5Widgets.so.5+0x1ca
#45 /usr/lib/libQt5Widgets.so.5(+0x1cd9b4) [0x7f921a9cd9b4]
#46 /usr/lib/libQt5Widgets.so.5(+0x1cec07) [0x7f921a9cec07]
#47 0x7f921a9788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x8f
#48 0x7f921c7fc429 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x99
#49 0x7f9219c9c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x128
#50 0x7f921a14196c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /usr/lib/libQt5Gui.so.5+0x6ec
#51 0x7f921a12a6f5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Gui.so.5+0xb5
#52 /usr/lib/libQt5XcbQpa.so.5(+0x654b0) [0x7f9213fed4b0]
#53 /usr/lib/libglib-2.0.so.0(+0x59f69) [0x7f9217f0df69]
#54 /usr/lib/libglib-2.0.so.0(+0xb8327) [0x7f9217f6c327]
#55 /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x32) [0x7f9217f0c162]
#56 0x7f9219ceaf7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x6c
#57 0x7f9219c9ae74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x134
#58 0x7f9219c9c313 in QCoreApplication::exec() from /usr/lib/libQt5Core.so.5+0x93
#59 0x7f921c71d0ad in Gui::Application::runApplication() from /usr/lib/freecad/lib/libFreeCADGui.so+0x1ecd
#60 freecad(+0x7a1d) [0x562aa1667a1d]
#61 /usr/lib/libc.so.6(+0x27cd0) [0x7f9219445cd0]
#62 /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f9219445d8a]
#63 freecad(+0x7e15) [0x562aa1667e15]
Comment by M. Greyson Christoforo (greyltc) - Wednesday, 22 November 2023, 17:44 GMT
If the vtk9.3 patch is changed like the following, the crash is gone for me: https://github.com/FreeCAD/FreeCAD/issues/11449#issuecomment-1823194395
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 23 November 2023, 02:41 GMT
Should be fixed now, please check.

Loading...