FreeCAD crashes on Redo

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!
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD crashes on Redo

Post by chrisb »

Off topic: make yourself familiar with Draft->PolarPattern and Part->Mirror. No need to model all these elements of the star repeatedly.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
aflorz
Posts: 53
Joined: Fri Oct 28, 2022 1:55 am

Re: FreeCAD crashes on Redo

Post by aflorz »

chrisb wrote: Sun Nov 20, 2022 5:40 pm Off topic: make yourself familiar with Draft->PolarPattern and Part->Mirror. No need to model all these elements of the star repeatedly.
Oh, this was designed in Inkscape and imported to FreeCAD then extruded.
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: FreeCAD crashes on Redo

Post by Shalmeneser »

:idea:
Attachments
clockhand_SHALM.FCStd
(848.77 KiB) Downloaded 9 times
Capture du 2022-11-20 19-54-16.png
Capture du 2022-11-20 19-54-16.png (26.29 KiB) Viewed 669 times
aflorz
Posts: 53
Joined: Fri Oct 28, 2022 1:55 am

Re: FreeCAD crashes on Redo

Post by aflorz »

Shalmeneser wrote: Sun Nov 20, 2022 6:54 pm:idea:
Oh, very cool that you can do all that directly in FreeCAD. You did that fast too.
User avatar
papyblaise
Veteran
Posts: 7875
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: FreeCAD crashes on Redo

Post by papyblaise »

You forgot the little pointed ball in the center of the snowflake :lol: pouf-pouf
aflorz
Posts: 53
Joined: Fri Oct 28, 2022 1:55 am

Re: FreeCAD crashes on Redo

Post by aflorz »

Code: Select all

OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.31200 (Git) Snap 469
Build type: Release
Branch: master
Hash: d46e2b3569006961293e16c0855cd027fdf96a41
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * fasteners 0.4.24
It happened again. I'll add the file, but basically what I had done was I projected some faces onto a sphere, then I did a few other things, but I can't remember exactly what. I did undo a few times, but I went one too far and undid the projection. When I went to redo the projection, the program crashed. I tried to reproduce it on my own, but couldn't, so I don't know how helpful this is, but here's the log in case it helps (at least I think it's the appropriate log. it's what showed up in the terminal. I don't know if there's a file somewhere with a different log.)

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7fac0bf09090]
#1  0x7fac0e999e23 in Gui::Document::handleChildren3D(Gui::ViewProvider*, bool) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x43
#2  0x7fac0e99c5ae in Gui::Document::redo(int) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x9e
#3  0x7fac0ed60354 in Gui::View3DInventor::onMsg(char const*, char const**) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x6a4
#4  0x7fac0e94718f in Gui::Application::sendMsgToActiveView(char const*, char const**) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x3f
#5  0x7fac0ea3239e in Gui::Command::_invoke(int, bool) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x24e
#6  0x7fac0ea327ff in Gui::Command::invoke(int, Gui::Command::TriggerSource) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x11f
#7  /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2ebd1e) [0x7fac0c5b4d1e]
#8  0x7fac0d0ff9a6 in QAction::triggered(bool) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x46
#9  0x7fac0d102078 in QAction::activate(QAction::ActionEvent) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xa8
#10  0x7fac0ea9584f in Gui::ShortcutManager::onTimer() from /snap/freecad/469/usr/lib/libFreeCADGui.so+0xdf
#11  0x7fac0ea96489 in Gui::ShortcutManager::checkShortcut(QObject*, QKeySequence const&) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x599
#12  0x7fac0ea97246 in Gui::ShortcutManager::eventFilter(QObject*, QEvent*) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x246
#13  0x7fac0c57d89e in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x8e
#14  0x7fac0d105ec0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xc0
#15  0x7fac0d10ec98 in QApplication::notify(QObject*, QEvent*) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1a8
#16  0x7fac0e9eb538 in Gui::GUIApplication::notify(QObject*, QEvent*) from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x88
#17  0x7fac0c57dc6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x12a
#18  0x7fac0c9d0323 in QShortcutMap::dispatchEvent(QKeyEvent*) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x463
#19  0x7fac0c9d0cc3 in QShortcutMap::tryShortcut(QKeyEvent*) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x63
#20  0x7fac0c97cb32 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x192
#21  0x7fac0c99dad1 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x91
#22  0x7fac0c9a2d8b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x24b
#23  0x7fac0c97966c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0xac
#24  /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5(+0x783ee) [0x7fac05cc03ee]
#25  /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fac09f3317d]
#26  /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52400) [0x7fac09f33400]
#27  /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7fac09f334a3]
#28  0x7fac0c5d85a2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x62
#29  0x7fac0c57c76b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x12b
#30  0x7fac0c584914 in QCoreApplication::exec() from /snap/freecad/469/kf5/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x94
#31  0x7fac0e952505 in Gui::Application::runApplication() from /snap/freecad/469/usr/lib/libFreeCADGui.so+0x1775
#32  /snap/freecad/469/usr/bin/FreeCAD(+0x7048) [0x55e97a3f0048]
#33  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fac0beea083]
#34  /snap/freecad/469/usr/bin/FreeCAD(+0x73ee) [0x55e97a3f03ee]
treefootcover.FCStd
(204.29 KiB) Downloaded 8 times
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD crashes on Redo

Post by chrisb »

It would be interesting to know if this happens with the AppImage too.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
aflorz
Posts: 53
Joined: Fri Oct 28, 2022 1:55 am

Re: FreeCAD crashes on Redo

Post by aflorz »

chrisb wrote: Mon Dec 05, 2022 11:26 pm It would be interesting to know if this happens with the AppImage too.
Sure, I can use the AppImage version and report back if it happens with that.
Riccds
Posts: 65
Joined: Fri Dec 30, 2022 6:34 pm

Re: FreeCAD crashes on Redo

Post by Riccds »

Same problem here, on all versions I have tried from 0.20 to 0.22 appimages. Happens very often, almost always in real scenario, probably when the list of actions becomes complicated or so, as I cannot reproduce it with a freshly opened file. That's why it's hard to bring a reproducible scenario.

Code: Select all

OS: Ubuntu 22.04.4 LTS (ubuntu:GNOME/ubuntu-xorg)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36487 (Git) AppImage
Build type: Release
Branch: main
Hash: f5baef888c25937026ee50001a4fe4293a9f11ee
Python 3.11.8, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * sheetmetal 0.4.4
  * Render 2024.1.23
  * Assembly4 0.50.12
  * fasteners 0.5.14
  * workfeature-macro
  * CurvedShapes 1.0.8
  * FeedsAndSpeeds 0.5.0
  * freecad.gears 1.0.0
  * Curves 0.6.29
  * OSE3dPrinter 0.1.0
  * Design456 0.0.1
  * kicadStepUpMod 11.1.0
  * QuickMeasure 2022.10.28
  * pcb 6.2023.1
  * Launcher
  * ExplodedAssembly
  * toSketch 1.0.1
  * A2plus 0.4.64
  * Manipulator 1.5.7
  * MakerWorkbench 1.0.1
  * Estimate 0.1.2
  * workfeature
  * FEMbyGEN 2.1.0
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD crashes on Redo

Post by chrisb »

Riccds wrote: Mon Mar 25, 2024 7:03 pm Same problem here, on all versions I have tried from 0.20 to 0.22 appimages. Happens very often, almost always in real scenario, probably when the list of actions becomes complicated or so, as I cannot reproduce it with a freshly opened file. That's why it's hard to bring a reproducible scenario.
Please create a Github issue anyway.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply