[closed] Program received signal SIGSEGV, Segmentation fault.

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Petert
Posts: 124
Joined: Tue Dec 01, 2015 9:27 pm

[closed] Program received signal SIGSEGV, Segmentation fault.

Post by Petert »

Everything I try to edit in sketcher makes FC crash.

Code: Select all

Downloads/FreeCAD_weekly-builds-27078-Linux-Conda_glibc2.12-x86_64.AppImage 
FreeCAD 0.20, Libs: 0.20R27078 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Assembly4 workbench (v0.11.5) loaded
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60) [0x7f2adf799d60]
#1  0x7f2adf14b130 in SoRayPickAction::setRadius(float) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/./libCoin.so.80+0
#2  0x7f2a6eb8174c in SketcherGui::EditModeConstraintCoinManager::seekConstraintPosition(Base::Vector3<double> const&, Base::Vector3<double> const&, Base::Vector3<double> const&, float, SoNode const*) from /tmp/.mount_FreeCAzXaOYf/usr/lib/SketcherGui.so+0x19c
#3  0x7f2a6eb8772a in SketcherGui::EditModeConstraintCoinManager::processConstraints(Sketcher::GeoListModel<std::unique_ptr<Sketcher::GeometryFacade const, std::default_delete<Sketcher::GeometryFacade const> > > const&) from /tmp/.mount_FreeCAzXaOYf/usr/lib/SketcherGui.so+0x54a
#4  0x7f2a6eb99caf in SketcherGui::ViewProviderSketch::draw(bool, bool) from /tmp/.mount_FreeCAzXaOYf/usr/lib/SketcherGui.so+0x6f
#5  0x7f2a6ebaed65 in SketcherGui::ViewProviderSketch::updateData(App::Property const*) from /tmp/.mount_FreeCAzXaOYf/usr/lib/SketcherGui.so+0x1e5
#6  0x7f2ae1bf59b6 in Gui::ViewProviderDocumentObject::update(App::Property const*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0x56
#7  0x7f2ae183223e in Gui::Document::slotChangedObject(App::DocumentObject const&, App::Property const&) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0x4e
#8  /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADApp.so(+0x2002de) [0x7f2ae0cc32de]
#9  0x7f2ae0cf0813 in App::DocumentObject::onChanged(App::Property const*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADApp.so+0xd3
#10  0x7f2abd6027b2 in Part::Feature::onChanged(App::Property const*) from /tmp/.mount_FreeCAzXaOYf/usr/lib/Part.so+0x52
#11  0x7f2a6f6e88b7 in Sketcher::SketchObject::onChanged(App::Property const*) from /tmp/.mount_FreeCAzXaOYf/usr/lib/Sketcher.so+0x67
#12  0x7f2ae0de9d65 in App::Property::hasSetValue() from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADApp.so+0xa5
#13  0x7f2a6f796004 in Sketcher::PropertyConstraintList::acceptGeometry(std::vector<Part::Geometry*, std::allocator<Part::Geometry*> > const&) from /tmp/.mount_FreeCAzXaOYf/usr/lib/Sketcher.so+0x1e4
#14  0x7f2a6f6def19 in Sketcher::SketchObject::acceptGeometry() from /tmp/.mount_FreeCAzXaOYf/usr/lib/Sketcher.so+0x39
#15  0x7f2a6f6e8b0d in Sketcher::SketchObject::onChanged(App::Property const*) from /tmp/.mount_FreeCAzXaOYf/usr/lib/Sketcher.so+0x2bd
#16  0x7f2ae0de9d65 in App::Property::hasSetValue() from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADApp.so+0xa5
#17  0x7f2abd620e0c in Part::PropertyGeometryList::setValues(std::vector<Part::Geometry*, std::allocator<Part::Geometry*> >&&) from /tmp/.mount_FreeCAzXaOYf/usr/lib/Part.so+0x1fc
#18  0x7f2abd621061 in Part::PropertyGeometryList::setValues(std::vector<Part::Geometry*, std::allocator<Part::Geometry*> > const&) from /tmp/.mount_FreeCAzXaOYf/usr/lib/Part.so+0xd1
#19  0x7f2a6f6c58e3 in Sketcher::SketchObject::solve(bool) from /tmp/.mount_FreeCAzXaOYf/usr/lib/Sketcher.so+0x203
#20  0x7f2a6ebaf4af in SketcherGui::ViewProviderSketch::setEdit(int) from /tmp/.mount_FreeCAzXaOYf/usr/lib/SketcherGui.so+0x6ff
#21  0x7f2ae1bdea74 in Gui::ViewProvider::startEditing(int) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0x14
#22  0x7f2ae1bfb675 in Gui::ViewProviderDragger::startEditing(int) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0x15
#23  0x7f2ae1835335 in Gui::Document::setEdit(Gui::ViewProvider*, int, char const*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0xb35
#24  0x7f2a6eb92d04 in SketcherGui::ViewProviderSketch::doubleClicked() from /tmp/.mount_FreeCAzXaOYf/usr/lib/SketcherGui.so+0x24
#25  0x7f2ae1a5f5d5 in Gui::TreeWidget::mouseDoubleClickEvent(QMouseEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0x375
#26  0x7f2ae052b501 in QWidget::event(QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0x147
#27  0x7f2ae0594db7 in QFrame::event(QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0x27
#28  0x7f2ae0685ca7 in QAbstractItemView::viewportEvent(QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0x2e9
#29  0x7f2ae06c7f80 in QTreeView::viewportEvent(QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0xfe
#30  0x7f2adfcd6019 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Core.so.5+0xcd
#31  0x7f2ae05007e1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0xcb
#32  0x7f2ae0504f5e in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0x70a
#33  0x7f2ae1862749 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0x89
#34  0x7f2adfcd8606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Core.so.5+0x86
#35  0x7f2ae05044c4 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0x286
#36  /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5(+0x1aefd4) [0x7f2ae053afd4]
#37  /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5(+0x1aff7c) [0x7f2ae053bf7c]
#38  0x7f2ae05007f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0xdc
#39  0x7f2ae050631d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Widgets.so.5+0x1ac9
#40  0x7f2ae1862749 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0x89
#41  0x7f2adfcd8606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Core.so.5+0x86
#42  0x7f2ae007f1d1 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Gui.so.5+0x983
#43  0x7f2ae007f91f in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Gui.so.5+0x5f
#44  0x7f2ae006cc65 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Gui.so.5+0x63
#45  /tmp/.mount_FreeCAzXaOYf/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5b010) [0x7f2adb1ff010]
#46  /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7f2adc32676d]
#47  /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/./libglib-2.0.so.0(+0x56a01) [0x7f2adc326a01]
#48  /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x31) [0x7f2adc326aa1]
#49  0x7f2adfd070e8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Core.so.5+0x5e
#50  0x7f2adfcd5019 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Core.so.5+0x187
#51  0x7f2adfcd8e8f in QCoreApplication::exec() from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libQt5Core.so.5+0xfd
#52  0x7f2ae17eaa2d in Gui::Application::runApplication() from /tmp/.mount_FreeCAzXaOYf/usr/bin/../lib/libFreeCADGui.so+0x186d
#53  /tmp/.mount_FreeCAzXaOYf/usr/bin/freecad(+0x451f) [0x56210f9d051f]
#54  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f2adf784d0a]
#55  /tmp/.mount_FreeCAzXaOYf/usr/bin/freecad(+0x4841) [0x56210f9d0841]

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.27078 (Git) AppImage
Build type: Release
Branch: (HEAD detached at bcdd926)
Hash: bcdd926686f2245fe60baface1cce1ab3dff7a5b
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United States (en_US)
Attachments
grotepotextra.FCStd
(29.09 KiB) Downloaded 24 times
Last edited by Petert on Tue Jan 18, 2022 6:30 pm, edited 1 time in total.
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: Program received signal SIGSEGV, Segmentation fault.

Post by TheMarkster »

I believe this has been fixed in master. We just need to wait for a new build containing the fix.
User avatar
Petert
Posts: 124
Joined: Tue Dec 01, 2015 9:27 pm

[closed] Re: Program received signal SIGSEGV, Segmentation fault.

Post by Petert »

TheMarkster wrote: Tue Jan 18, 2022 6:24 pm I believe this has been fixed in master. We just need to wait for a new build containing the fix.
Good that it is fixed, kinda crucial to be able to edit a sketch ;)
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: [closed] Re: Program received signal SIGSEGV, Segmentation fault.

Post by TheMarkster »

Petert wrote: Tue Jan 18, 2022 6:29 pm
TheMarkster wrote: Tue Jan 18, 2022 6:24 pm I believe this has been fixed in master. We just need to wait for a new build containing the fix.
Good that it is fixed, kinda crucial to be able to edit a sketch ;)
It's a good idea to keep a few known good configurations when using the devlopment builds. With each new commit there comes potential for new bugs. They are often quickly fixed, but then there is still the lag between the fix to master and the new builds becoming available.
User avatar
Petert
Posts: 124
Joined: Tue Dec 01, 2015 9:27 pm

Re: [closed] Re: Program received signal SIGSEGV, Segmentation fault.

Post by Petert »

TheMarkster wrote: Tue Jan 18, 2022 6:41 pm
Petert wrote: Tue Jan 18, 2022 6:29 pm
TheMarkster wrote: Tue Jan 18, 2022 6:24 pm I believe this has been fixed in master. We just need to wait for a new build containing the fix.
Good that it is fixed, kinda crucial to be able to edit a sketch ;)
It's a good idea to keep a few known good configurations when using the devlopment builds. With each new commit there comes potential for new bugs. They are often quickly fixed, but then there is still the lag between the fix to master and the new builds becoming available.
The problem showed itself in the previous weekly version, 'upgrade' today to the newest version and the problem persisted.
Even Linkstage3 version can not handle the corrupt files now.
Will wait for a new version now.
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: [closed] Program received signal SIGSEGV, Segmentation fault.

Post by TheMarkster »

Yes, there has been some refactoring work the Sketcher workbench. There were multiple calls for testers to build and test before the changes were committed, but obviously there aren't very many who can build and test a PR and who are willing to do it and have the time to do it. So, the only really good way to get something tested is to merge it and see what happens.

The refactoring is a preparatory step for adding a new layering functionality to sketches.
Post Reply