Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem] crash when updating configuration table #996

Open
2 tasks done
GinTonic99 opened this issue Apr 22, 2024 · 0 comments
Open
2 tasks done

[Problem] crash when updating configuration table #996

GinTonic99 opened this issue Apr 22, 2024 · 0 comments

Comments

@GinTonic99
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Version

0.20 (Release)

Full version info

[code]
OS: Debian GNU/Linux 12 (bookworm) (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 2024.409.0.14555 (Git shallow) AppImage
Build type: Release
Branch: (HEAD detached at 20240407stable)
Hash: 973e4821bcd19a5a1af9ae3e1d2ed961aad0a8ab
Python 3.11.6, Qt 5.15.8, Coin 4.0.1, Vtk 9.2.5, OCC 7.7.1
Locale: German/Austria (de_AT)
Installed mods: 
  * Curves 0.6.34
  * fasteners 0.5.17
  * lattice2 1.0.0
  * TabBar
  * Assembly4 0.50.12
  * Assembly3 0.12.2
  * CurvedShapes 1.0.9
  * Render 2024.1.23
[/code]

Subproject(s) affected?

None

Problem description

recently I am observing crashes with asm3 and configuration tables. The file enclosed is a minmal ecxample where I can reproduce the crashes as follows:

  • change the "width" of some variants in the configuration table at the Spreadsheet

  • Alt-click on the concerned link in the Assembly to update causes an immediate crash with the following output on the terminal:

Program received signal SIGSEGV, Segmentation fault. #0 /lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x7f6a38a5b050] #1 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(+0x13b154) [0x7f6a3ab3b154] #2 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADBase.so(PP_Fetch_Error_Text+0x150) [0x7f6a38dfccd0] #3 0x7f6a38d3b538 in Base::PyException::PyException() from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADBase.so+0x78 #4 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADApp.so(+0x1d2fb0) [0x7f6a3a3d2fb0] #5 0x7f6a33afdb76 in App::FeaturePythonT<Part::Feature>::execute() from /tmp/.mount_freecaaKSssA/usr/lib/Part.so+0x16 #6 0x7f6a3a4e4af2 in App::DocumentObject::recompute() from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADApp.so+0xc2 #7 0x7f6a33af400c in Part::Feature::recompute() from /tmp/.mount_freecaaKSssA/usr/lib/Part.so+0xc #8 0x7f6a3a45aa1c in App::Document::_recomputeFeature(App::DocumentObject*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADApp.so+0x24c #9 0x7f6a3a4b833b in App::Document::recompute(std::vector<App::DocumentObject*, std::allocator<App::DocumentObject*> > const&, bool, bool*, int) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADApp.so+0x66b #10 0x7f6a3a55cb80 in App::DocumentPy::recompute(_object*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADApp.so+0x2f0 #11 0x7f6a3a55ccd6 in App::DocumentPy::staticCallback_recompute(_object*, _object*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADApp.so+0x56 #12 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(+0x2020d8) [0x7f6a3ac020d8] #13 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(_PyObject_MakeTpCall+0x25c) [0x7f6a3abe2cec] #14 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x6f2) [0x7f6a3abed3d2] #15 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(+0x2a6e3d) [0x7f6a3aca6e3d] #16 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(PyEval_EvalCode+0xa4) [0x7f6a3aca68b4] #17 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(+0x2c5ae3) [0x7f6a3acc5ae3] #18 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(+0x2c1c0a) [0x7f6a3acc1c0a] #19 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libpython3.11.so.1.0(PyRun_StringFlags+0x69) [0x7f6a3acb5b09] #20 0x7f6a38d3c00c in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADBase.so+0x6c #21 0x7f6a3b691714 in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADGui.so+0x94 #22 0x7f6a3b6918a3 in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADGui.so+0xe3 #23 0x7f6a3b6919c4 in Gui::Command::updateActive() from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADGui.so+0x44 #24 0x7f6a3bc0df7b in Gui::ViewProviderLink::iconMouseEvent(QMouseEvent*, QByteArray const&) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADGui.so+0x28b #25 0x7f6a3b9377d2 in Gui::TreeWidget::mousePressEvent(QMouseEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADGui.so+0x212 #26 0x7f6a39d941ee in QWidget::event(QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Widgets.so.5+0x120 #27 0x7f6a39dfe7d7 in QFrame::event(QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Widgets.so.5+0x27 #28 0x7f6a391c2880 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Core.so.5+0xe6 #29 0x7f6a39d6a076 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Widgets.so.5+0xc8 #30 0x7f6a39d6e36d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Widgets.so.5+0x663 #31 0x7f6a3b6115c9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADGui.so+0x99 #32 0x7f6a391c2a18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Core.so.5+0x8e #33 0x7f6a39d6d981 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Widgets.so.5+0x283 #34 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Widgets.so.5(+0x1a338d) [0x7f6a39da338d] #35 /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Widgets.so.5(+0x1a4505) [0x7f6a39da4505] #36 0x7f6a39d6a087 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Widgets.so.5+0xd9 #37 0x7f6a3b6115c9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADGui.so+0x99 #38 0x7f6a391c2a18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Core.so.5+0x8e #39 0x7f6a3970956e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Gui.so.5+0x6b6 #40 0x7f6a396f6091 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Gui.so.5+0x57 #41 /tmp/.mount_freecaaKSssA/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5672c) [0x7f6a2e55e72c] #42 /tmp/.mount_freecaaKSssA/usr/bin/../lib/./libglib-2.0.so.0(+0x5a417) [0x7f6a37711417] #43 /tmp/.mount_freecaaKSssA/usr/bin/../lib/./libglib-2.0.so.0(+0x5d3c7) [0x7f6a377143c7] #44 /tmp/.mount_freecaaKSssA/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7f6a377149be] #45 0x7f6a391f3d50 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Core.so.5+0x5c #46 0x7f6a391c05d8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Core.so.5+0x180 #47 0x7f6a391c47af in QCoreApplication::exec() from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libQt5Core.so.5+0x107 #48 0x7f6a3b5739a6 in Gui::Application::runApplication() from /tmp/.mount_freecaaKSssA/usr/bin/../lib/libFreeCADGui.so+0x4b6 #49 ./FreeCADLink(+0x87e6) [0x55f9c02f97e6] #50 /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f6a38a4624a] #51 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f6a38a46305] #52 ./FreeCADLink(+0x8bad) [0x55f9c02f9bad]

Anything else?

asm3-crach.zip

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant