View Issue Details

IDProjectCategoryView StatusLast Update
0004161FreeCADBugpublic2020-09-10 15:11
Reporterpavel.niedoba Assigned To 
PrioritynormalSeveritycrashReproducibilityrandom
Status closedResolutionno change required 
Product Version0.18 
Summary0004161: on linux mint getting "The error message is: Not enough memory available"
DescriptionI have 16GB ram, no other apps, trivial geometry loaded. Did not post to forum, thought there no point to confirm it's bug. Dump file is almost one gig, so will not attach.

system
4.15.0-58-generic 0000064-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

gpu intel, lenovo notebook




Steps To ReproduceWas using freecad for about an hour, happened 3 times already.
Additional InformationInvalid solution from DogLeg solver.
Updating geometry: Error build geometry(1): Both points are equal
Invalid solution from DogLeg solver.

Point options : S:Snap On/Off, [:Increase snap radius, ]:Decrease snap radius, X:Restrict X, Y:Restrict Y, Z:Restrict Z, Q:Add custom snap point, `:Cycle snap object


Point options : S:Snap On/Off, [:Increase snap radius, ]:Decrease snap radius, X:Restrict X, Y:Restrict Y, Z:Restrict Z, Q:Add custom snap point, `:Cycle snap object

Unhandled Base::Exception caught in GUIApplication::notify.
The error message is: Not enough memory available
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f20f545ff20]
#1 0x7f20743468cd in SketcherGui::ViewProviderSketch::updateColor() from /usr/lib/freecad-python3/lib/SketcherGui.so+0x26d
0000002 0x7f20743553a4 in SketcherGui::ViewProviderSketch::onSelectionChanged(Gui::SelectionChanges const&) from /usr/lib/freecad-python3/lib/SketcherGui.so+0x574
0000003 0x7f20f8372106 in Gui::SelectionObserver::_onSelectionChanged(Gui::SelectionChanges const&) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x56
0000004 0x7f20f837fc6f in boost::signals2::detail::signal_impl<void (Gui::SelectionChanges const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (Gui::SelectionChanges const&)>, boost::function<void (boost::signals2::connection const&, Gui::SelectionChanges const&)>, boost::signals2::mutex>::operator()(Gui::SelectionChanges const&) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x20f
0000005 0x7f20f83768ed in Gui::SelectionSingleton::setPreselect(char const*, char const*, char const*, float, float, float) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x3ad
0000006 0x7f20f81f1a6a in Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x70a
0000007 0x7f20f4c6d504 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x64
0000008 0x7f20f4e0d008 in SoChildList::traverse(SoAction*, int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0xd8
0000009 0x7f20f4e5c4e6 in SoGroup::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x56
0000010 0x7f20f4e76967 in SoSeparator::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x27
0000011 0x7f20f4c6d504 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x64
0000012 0x7f20f4c76e48 in SoHandleEventAction::beginTraversal(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x68
0000013 0x7f20f4c6da82 in SoAction::apply(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x372
0000014 0x7f20f4e298a0 in SoEventManager::actuallyProcessEvent(SoEvent const*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x60
0000015 0x7f20f82625ce in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x1e
0000016 0x7f20f826aa26 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x56
0000017 0x7f20f82957b9 in Gui::View3DInventorViewer::processSoEventBase(SoEvent const*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x9
0000018 0x7f20f82776db in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x30b
0000019 0x7f20f8274393 in Gui::NavigationStyle::processEvent(SoEvent const*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x73
0000020 0x7f20f8295733 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x63
0000021 0x7f20f8259a35 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x155
0000022 0x7f20f603d6ac in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x7c
0000023 0x7f20f6652815 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x75
0000024 0x7f20f665a65f in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7ff
0000025 0x7f20f80509d8 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
0000026 0x7f20f603d9c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
0000027 0x7f20f6659632 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d2
0000028 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1ae16b) [0x7f20f66ac16b]
0000029 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1b07da) [0x7f20f66ae7da]
0000030 0x7f20f665283c in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x9c
0000031 0x7f20f665a104 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x2a4
0000032 0x7f20f80509d8 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
0000033 0x7f20f603d9c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
0000034 0x7f20f1f67583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x6f3
0000035 0x7f20f1f69055 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x135
0000036 0x7f20f1f402eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0xab
0000037 /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x9f260) [0x7f20e5cf5260]
0000038 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7) [0x7f20f02bd417]
#39 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c650) [0x7f20f02bd650]
#40 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f20f02bd6dc]
0000041 0x7f20f609697f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x5f
0000042 0x7f20f603b9fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x13a
0000043 0x7f20f6044aa4 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x94
0000044 0x7f20f7fdff0f in Gui::Application::runApplication() from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x148f
0000045 freecad(main+0x6a2) [0x55ad1b8e95e2]
0000046 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f20f5442b97]
0000047 freecad(_start+0x2a) [0x55ad1b8ea2aa]
Segmentation fault (core dumped)
Tagsupstream
FreeCAD Information

Activities

Kunda1

2019-10-12 22:37

administrator   ~0013749

@pavel.niedoba No idea what version of FC you're using. Per the yellow banner at the top of this page you're missing a few things, one of the most important: Help > About FreeCAD > Copy to clipboard info.

Please open a forum thread nonetheless. This most likely is a packaging issue as Mint doesnt have the most up to date dependencies. Can you in the meantime test on the 0.19 AppImage to see if you can reproduce.

openBrain

2019-10-13 12:26

developer   ~0013751

@pavel.niedoba : looks like at least one of your sketch is lamous. Please post to forum & attach your file. ;)

pavel.niedoba

2019-10-14 19:03

reporter   ~0013760

Freecad version

OS: Linux Mint 19.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.3.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

the sketch is my first FC project

I'll try the appimage
drevnik.FCStd (5,877 bytes)

Kunda1

2019-10-20 14:59

administrator   ~0013767

@pavel.niedoba bump

pavel.niedoba

2019-10-21 08:44

reporter   ~0013779

Well, I went on with snap image, which worked stable. This means you were right about packaging issue. Still it's bug.

Even in case of lamous sketch, cad software should not segfault.

Link to appimage 19 on https://www.freecadweb.org/wiki/Appimage
pointing to https://github.com/FreeCAD/FreeCAD/releases/download/0.19_pre/FreeCAD_0.19-18403-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage

is broken, anyway could not find any image 19 for linux

openBrain

2019-10-21 14:53

developer   ~0013781

Last edited: 2019-10-21 14:57

@pavel.niedoba : build 18403 is outdated so link is dead. Latest 0.19 image is always listed on the assets on this GH page.

EDIT : could you give us a detailed process on how to reproduce the segfault based on the sketch you posted ?

Kunda1

2019-10-27 10:34

administrator   ~0013792

@pavel.niedoba https://www.freecadweb.org/wiki/Appimage link now works but as openBrain said, the appimages are always listed in the assets section of https://github.com/FreeCAD/FreeCAD/releases/tag/0.19_pre

Please also reply to openBrain's request to give us a detailed process on how to reproduce the segfault based on the sketch you posted ?

Kunda1

2020-01-16 13:23

administrator   ~0014083

@pavel.niedoba ping

Kunda1

2020-06-07 14:35

administrator   ~0014505

@pavel.niedoba ping

Kunda1

2020-09-10 15:11

administrator   ~0014739

No response from @pavel.niedoba
Closing ticket. This should be reported to the upstream Mint packagers

Issue History

Date Modified Username Field Change
2019-10-12 12:20 pavel.niedoba New Issue
2019-10-12 22:37 Kunda1 Status new => feedback
2019-10-12 22:37 Kunda1 Note Added: 0013749
2019-10-12 22:38 Kunda1 Tag Attached: #post-to-forum
2019-10-13 12:26 openBrain Note Added: 0013751
2019-10-14 19:03 pavel.niedoba File Added: drevnik.FCStd
2019-10-14 19:03 pavel.niedoba Note Added: 0013760
2019-10-14 19:03 pavel.niedoba Status feedback => new
2019-10-16 12:57 Kunda1 Status new => feedback
2019-10-20 14:59 Kunda1 Note Added: 0013767
2019-10-21 08:44 pavel.niedoba Note Added: 0013779
2019-10-21 08:44 pavel.niedoba Status feedback => new
2019-10-21 14:53 openBrain Note Added: 0013781
2019-10-21 14:57 openBrain Note Edited: 0013781
2019-10-27 10:34 Kunda1 Status new => feedback
2019-10-27 10:34 Kunda1 Note Added: 0013792
2020-01-16 13:23 Kunda1 Note Added: 0014083
2020-06-07 14:35 Kunda1 Note Added: 0014505
2020-09-10 15:11 Kunda1 Status feedback => closed
2020-09-10 15:11 Kunda1 Resolution open => no change required
2020-09-10 15:11 Kunda1 Note Added: 0014739
2020-09-10 15:11 Kunda1 Tag Detached: #post-to-forum
2020-09-10 15:11 Kunda1 Tag Attached: upstream