View Issue Details

IDProjectCategoryView StatusLast Update
0004254PartDesignBugpublic2020-03-24 15:51
ReporterGenues Assigned Towmayer  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0004254: Crash when canceling duplicate sketch in PartDesign
DescriptionFreeCAD crash when canceling duplicate skecth in PartDesign.
Steps To Reproduce1. Create new document.
2. Create new body and sketch in PartDesign.
3. Draw rectangle in sketch.
4. Close sketch.
5. Select sketch and press "Duplicate selection" in menu "Edit".
6. Press "Cancel".
Additional InformationForum Thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=42676
Tags0.19, crash, duplicate, Part Design, Sketch
FreeCAD InformationOS: Arch Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19323 (Git) AppImage
Build type: Release
Branch: master
Hash: 1b198453b8eb6aa2eaca4e4be4b49fee74e9de6e
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Russian/Russia (ru_RU)

Activities

Genues

2020-01-23 20:41

reporter  

crash.log (5,105 bytes)   
/tmp/.mount_freecaA4HX8r
FreeCAD 0.19, Libs: 0.19R19323 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2020
  #####                 ####  ###   ####
  #                    #      # #   #   #
  #     ##  #### ####  #     #   #  #   #
  ####  # # #  # #  #  #     #####  #   #
  #     #   #### ####  #    #     # #   #
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Loading Assembly 4 WorkBench. © Zoltan Hubert
connect failed: Нет такого файла или каталога
Program received signal SIGSEGV, Segmentation fault.
#0  /usr/lib/libc.so.6(+0x3bfb0) [0x7f57c9af5fb0]
#1  0x7f5796b1c7b8 in CmdPartDesignDuplicateSelection::activated(int) from /tmp/.mount_freecaA4HX8r/usr/lib/PartDesignGui.so+0x468
#2  0x7f57cc343851 in Gui::Command::invoke(int, Gui::Command::TriggerSource) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libFreeCADGui.so+0x321
#3  0x7f57ca0357b8 in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Core.so.5+0x780
#4  0x7f57ca84396e in QAction::triggered(bool) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0x32
#5  0x7f57ca845239 in QAction::activate(QAction::ActionEvent) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0xcb
#6  /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5(+0x264252) [0x7f57ca938252]
#7  /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5(+0x268e09) [0x7f57ca93ce09]
#8  0x7f57ca93d59a in QMenu::mouseReleaseEvent(QMouseEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0xc6
#9  0x7f57ca873c3e in QWidget::event(QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0xce
#10  0x7f57ca93ece1 in QMenu::event(QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0x2d1
#11  0x7f57ca84882a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0xde
#12  0x7f57ca84d095 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0x79d
#13  0x7f57cc309ce9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libFreeCADGui.so+0x89
#14  0x7f57ca01f186 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Core.so.5+0x88
#15  0x7f57ca84c53f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0x283
#16  /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5(+0x1aefe4) [0x7f57ca882fe4]
#17  /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5(+0x1b03a6) [0x7f57ca8843a6]
#18  0x7f57ca84882a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0xde
#19  0x7f57ca84e3f1 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Widgets.so.5+0x1af9
#20  0x7f57cc309ce9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libFreeCADGui.so+0x89
#21  0x7f57ca01f186 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Core.so.5+0x88
#22  0x7f57ca3c540b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Gui.so.5+0x6d3
#23  0x7f57ca3c5ff7 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Gui.so.5+0x175
#24  0x7f57ca3b2dd4 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Gui.so.5+0x64
#25  /tmp/.mount_freecaA4HX8r/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5af0e) [0x7f57c5acdf0e]
#26  /tmp/.mount_freecaA4HX8r/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x2e8) [0x7f57c70ab9d8]
#27  /tmp/.mount_freecaA4HX8r/usr/bin/../lib/./libglib-2.0.so.0(+0x51c21) [0x7f57c70abc21]
#28  /tmp/.mount_freecaA4HX8r/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7f57c70abcae]
#29  0x7f57ca04e42b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Core.so.5+0x63
#30  0x7f57ca01bbc1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Core.so.5+0x187
#31  0x7f57ca01fa39 in QCoreApplication::exec() from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libQt5Core.so.5+0x105
#32  0x7f57cc2898d0 in Gui::Application::runApplication() from /tmp/.mount_freecaA4HX8r/usr/bin/../lib/libFreeCADGui.so+0x15b0
#33  /tmp/.mount_freecaA4HX8r/usr/bin/freecad(main+0x74d) [0x555fe13c87cd]
#34  /usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7f57c9ae1153]
#35  /tmp/.mount_freecaA4HX8r/usr/bin/freecad(+0x451f) [0x555fe13c951f]
crash.log (5,105 bytes)   

Kunda1

2020-01-24 11:39

administrator   ~0014106

Per the guidelines, please post this issue to the FreeCAD forums for the community to discuss. Many issues/bugs are addressed this way without needing to open tickets for them to track. Tracking bugs is decided by the community. Nevertheless, thanks for letting us know. In the futire please familiarize yourself with our tracker guidelines (yellow banner top of this page)

Genues

2020-01-24 13:21

reporter   ~0014107

@Kunda1
I don't know what I did wrong?
I first created a topic on the forum and when I was advised to make a bug report I will do it. The link to the forum thread was published immediately when creating the bug report, and the link to bug report is published in the forum thread.

openBrain

2020-01-24 18:03

developer   ~0014109

@Genues : Please forget ! :) @Kunda1 probably goes too fast (everybody's prone to making mistake). You perfectly followed the reporting workflow and that's great. ;)
BTW @Kunda1, you self-assigned the ticket. Is this correct ?

Genues

2020-01-25 19:25

reporter   ~0014111

@openBrain thank you )

Kunda1

2020-02-05 16:22

administrator   ~0014141

Apologies, too many tabs open probably. Thanks for the ticket. I've unassigned myself.

wmayer

2020-03-24 14:16

administrator   ~0014282

https://github.com/FreeCAD/FreeCAD/commit/107831e0a

Kunda1

2020-03-24 15:11

administrator   ~0014283

Last edited: 2020-03-24 15:12

FreeCAD master 107831e0

wmayer

2020-03-24 15:51

administrator   ~0014284

Fix committed to master branch.

Related Changesets

FreeCAD: master 107831e0

2020-03-24 09:15:25

wmayer

Details Diff
PartDesign: [skip ci] fixes 0004254: Crash when canceling duplicate sketch in PartDesign Affected Issues
0004254
mod - src/Mod/PartDesign/Gui/CommandBody.cpp Diff File

Issue History

Date Modified Username Field Change
2020-01-23 20:41 Genues New Issue
2020-01-23 20:41 Genues Tag Attached: 0.19
2020-01-23 20:41 Genues Tag Attached: crash
2020-01-23 20:41 Genues Tag Attached: duplicate
2020-01-23 20:41 Genues Tag Attached: Part Design
2020-01-23 20:41 Genues Tag Attached: Sketch
2020-01-23 20:41 Genues File Added: crash.log
2020-01-24 11:37 Kunda1 Tag Attached: #post-to-forum
2020-01-24 11:39 Kunda1 Assigned To => Kunda1
2020-01-24 11:39 Kunda1 Status new => feedback
2020-01-24 11:39 Kunda1 Note Added: 0014106
2020-01-24 13:21 Genues Note Added: 0014107
2020-01-24 13:21 Genues Status feedback => assigned
2020-01-24 18:01 openBrain Tag Detached: #post-to-forum
2020-01-24 18:03 openBrain Note Added: 0014109
2020-01-25 19:25 Genues Note Added: 0014111
2020-02-05 16:22 Kunda1 Status assigned => confirmed
2020-02-05 16:22 Kunda1 Note Added: 0014141
2020-02-05 16:24 Kunda1 Additional Information Updated
2020-02-05 16:26 Kunda1 Severity major => crash
2020-02-05 16:26 Kunda1 Target Version => 0.19
2020-03-24 14:16 wmayer Status confirmed => closed
2020-03-24 14:16 wmayer Resolution open => fixed
2020-03-24 14:16 wmayer Fixed in Version => 0.19
2020-03-24 14:16 wmayer Note Added: 0014282
2020-03-24 15:11 Kunda1 Note Added: 0014283
2020-03-24 15:12 Kunda1 Note Edited: 0014283
2020-03-24 15:12 Kunda1 Note Edited: 0014283
2020-03-24 15:51 wmayer Changeset attached => FreeCAD master 107831e0
2020-03-24 15:51 wmayer Note Added: 0014284
2020-03-24 15:51 wmayer Assigned To Kunda1 => wmayer