Seg fault with point in Sketcher

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
drmacro
Veteran
Posts: 8872
Joined: Sun Mar 02, 2014 4:35 pm

Seg fault with point in Sketcher

Post by drmacro »

Peek 2022-06-30 08-48.gif
Peek 2022-06-30 08-48.gif (477.9 KiB) Viewed 406 times

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60) [0x7f5ea9921d60]
#1  0x7f5e18ba07c1 in SketcherGui::ElementView::contextMenuEvent(QContextMenuEvent*) from /home/mac/fc-daily-build-occt77/Mod/Sketcher/SketcherGui.so+0x1571
#2  0x7f5eaaa58fae in QWidget::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1ce
#3  0x7f5eaab0142e in QFrame::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1e
#4  0x7f5ea9f4bd33 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x93
#5  0x7f5eaaa1914e in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x6e
#6  0x7f5eaaa20cc3 in QApplication::notify(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1113
#7  0x7f5eac21bdc0 in Gui::GUIApplication::notify(QObject*, QEvent*) from /home/mac/fc-daily-build-occt77/lib/libFreeCADGui.so+0x60
#8  0x7f5ea9f4bfca in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12a
#9  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1bbb36) [0x7f5eaaa71b36]
#10  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1be33e) [0x7f5eaaa7433e]
#11  0x7f5eaaa1915f in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7f
#12  0x7f5eac21bdc0 in Gui::GUIApplication::notify(QObject*, QEvent*) from /home/mac/fc-daily-build-occt77/lib/libFreeCADGui.so+0x60
#13  0x7f5ea9f4bfca in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12a
#14  0x7f5eaa32b583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0x653
#15  0x7f5eaa30164c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xac
#16  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x697da) [0x7f5ea419f7da]
#17  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x25b) [0x7f5ea7ccfe6b]
#18  /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52118) [0x7f5ea7cd0118]
#19  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2f) [0x7f5ea7cd01cf]
#20  0x7f5ea9fa351f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x5f
#21  0x7f5ea9f4a98b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12b
#22  0x7f5ea9f52c00 in QCoreApplication::exec() from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x90
#23  0x7f5eac189a82 in Gui::Application::runApplication() from /home/mac/fc-daily-build-occt77/lib/libFreeCADGui.so+0x19f2
#24  /home/mac/fc-daily-build-occt77/bin/FreeCAD(+0x6d08) [0x557330641d08]
#25  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f5ea990cd0a]
#26  /home/mac/fc-daily-build-occt77/bin/FreeCAD(+0x702a) [0x55733064202a]

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.29368 (Git)
Build type: Release
Branch: master
Hash: 317c6afd4505de50cfd9a05252be82346c6a1a8f
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.0.dev
Locale: English/United States (en_US)
Installed mods: 
  * kicadStepUpMod 10.13.2
  * Manipulator 1.4.5
  * DynamicData 2.46.0
  * fasteners 0.3.46
  * CubeMenu
  * fcgear 1.0.0
  * plugins
  * Pyramids-and-Polyhedrons
  * Defeaturing
  * Assembly4 0.12.0
  * OpticsWorkbench 1.0.8
  * workfeature-macro
  * sheetmetal 0.2.49
  * A2plus 0.4.56a
  * CurvedShapes 1.0.3
  * Curves 0.5.0
  * workfeature
  * lattice2 1.0.0
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
drmacro
Veteran
Posts: 8872
Joined: Sun Mar 02, 2014 4:35 pm

Re: Seg fault with point in Sketcher

Post by drmacro »

Just tested with a line. Right click in the any element in the panel and it crashes.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Seg fault with point in Sketcher

Post by openBrain »

Will look at it in coming days if @abdullah doesn't do before. ;)
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: Seg fault with point in Sketcher

Post by abdullah »

openBrain wrote: Thu Jun 30, 2022 2:55 pm Will look at it in coming days if @abdullah doesn't do before. ;)
My apologies, this one was on me.

git commit 19a69df0fcee6d3ce9be1c879ea7636d6c4e81cc
Post Reply