Skip to content

FC Linkmerge crashes drawing a full circle with arc command #1081

@wsteffe

Description

@wsteffe

Is there an existing issue for this?

  • I have searched the existing issues

Version

0.21 (Development)

Full version info

OS: Ubuntu 24.04.2 LTS (GNOME-Classic:GNOME/gnome-classic)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.41310 (Git)
Build type: Release
Branch: LinkMerge
Hash: 9ed9bed1d4781cede15646dab06826ed2fadda2e
Python 3.12.3, Qt 5.15.13, Coin 4.0.2, Vtk 9.1.0, OCC 7.7.0
Locale: English/United States (en_US)
Installed mods: 
  * asm3 0.12.0
  * Assembly4 0.50.2

Subproject(s) affected?

None

Problem description

I wanted to make a full circle in a sketch but the command "create circle from center and radius" is not available in Linkmerge (it is in linkstable) so I tried to make it with command "create arc by center" with coincident first and last points.

I have made following steps:

  1. Start FreeCAD
  2. New Document
  3. Start Part Design
  4. New Part
  5. New Body in the Part
  6. Select XY plane and start new sketch
  7. Create arc by center
  8. Set center, first point,
    When I select last point=first point FC crash leaving following error messages in the bash console:

Beside fixing this bug I would like to have also the missing commands for circle creation.

Sketcher constraint number 1 is malformed!
Unhandled exception in ViewProvider::eventCallback: Geometry element does not have solver information (possibly when trying to apply widget constraints)!
(Event type: SoMouseButtonEvent, object type: SketcherGui::ViewProviderSketch)
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x45330) [0x7bb867a45330]
#1 0x7bb86727e7db in SoAction::traverse(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x2b
#2 0x7bb867438628 in SoChildList::traverse(SoAction*, int, int) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x188
#3 0x7bb86748a8a1 in SoGroup::doAction(SoAction*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x51
#4 0x7bb8674a9dbc in SoSeparator::doAction(SoAction*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x2c
#5 0x7bb86727e818 in SoAction::traverse(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x68
#6 0x7bb867438628 in SoChildList::traverse(SoAction*, int, int) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x188
#7 0x7bb86748a8a1 in SoGroup::doAction(SoAction*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x51
#8 0x7bb8674a9dbc in SoSeparator::doAction(SoAction*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x2c
#9 0x7bb86727e818 in SoAction::traverse(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x68
#10 0x7bb86728c15b in SoHandleEventAction::beginTraversal(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0xcb
#11 0x7bb86727ea0c in SoAction::apply(SoNode*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0xcc
#12 0x7bb867456028 in SoEventManager::actuallyProcessEvent(SoEvent const*) from /lib/x86_64-linux-gnu/libCoin.so.80c+0x78
#13 0x7bb86bd1eae2 in SIM::Coin3D::Quarter::QuarterWidget::processSoEvent(SoEvent const*) from /usr/local/lib/libFreeCADGui.so+0x22
#14 0x7bb86bd2d138 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::processSoEvent(SoEvent const*) from /usr/local/lib/libFreeCADGui.so+0x58
#15 0x7bb86bd376c9 in Gui::NavigationStyle::processSoEvent(SoEvent const*) from /usr/local/lib/libFreeCADGui.so+0x29
#16 0x7bb86bd3c6ae in Gui::CADNavigationStyle::processSoEvent(SoEvent const*) from /usr/local/lib/libFreeCADGui.so+0x20e
#17 0x7bb86bd39867 in Gui::NavigationStyle::processEvent(SoEvent const*) from /usr/local/lib/libFreeCADGui.so+0x77
#18 0x7bb86bd83303 in Gui::View3DInventorViewer::processSoEvent(SoEvent const*) from /usr/local/lib/libFreeCADGui.so+0x83
#19 0x7bb86bd15185 in SIM::Coin3D::Quarter::EventFilter::eventFilter(QObject*, QEvent*) from /usr/local/lib/libFreeCADGui.so+0x165
#20 0x7bb8692d7e82 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x92
#21 0x7bb869f6bd35 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x75
#22 0x7bb869f73ecb in QApplication::notify(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xaab
#23 0x7bb86b7ab308 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/local/lib/libFreeCADGui.so+0x98
#24 0x7bb8692d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x128
#25 0x7bb869f72874 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool, bool) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d4
#26 /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1caa39) [0x7bb869fcaa39]
#27 /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1cdfbf) [0x7bb869fcdfbf]
#28 0x7bb869f6bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x85
#29 0x7bb86b7ab308 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/local/lib/libFreeCADGui.so+0x98
#30 0x7bb8692d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x128
#31 0x7bb869745a3b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0x80b
#32 0x7bb869717bfc in QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xac
#33 /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x75d06) [0x7bb85d848d06]
#34 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5d5b5) [0x7bb8667145b5]
#35 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xbc717) [0x7bb866773717]
#36 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7bb866713a53]
#37 0x7bb869335279 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x69
#38 0x7bb8692d6a7b in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x13b
#39 0x7bb8692df3e8 in QCoreApplication::exec() from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x98
#40 0x7bb86b6d325d in Gui::Application::runApplication() from /usr/local/lib/libFreeCADGui.so+0x48d
#41 FreeCAD(+0x8251) [0x57ac6eb4e251]
#42 /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7bb867a2a1ca]
#43 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x7bb867a2a28b]
#44 FreeCAD(+0x8625) [0x57ac6eb4e625]

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions