View Issue Details

IDProjectCategoryView StatusLast Update
0004026FreeCADBugpublic2019-08-22 20:34
ReportermariojoseAssigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status feedbackResolutionopen 
PlatformIntel i5-2430MOSDebianOS Version9 Stretch Stable
Product Version0.18 
Target VersionFixed in Version 
Summary0004026: Crash when union object
DescriptionWhen union a specific dimension of cubes, freecad crash and close. If I create 2 cubes with default size (10x10x10mm) and make a union, it works. But if I change size, like steps following, and make a union, freecad crash.

When I start FreeCad in bash:


mario@7zero:~/Programs/AppImage$ ./freecad 
/tmp/.mount_freecau9nVKu
FreeCAD 0.18, Libs: 0.18R16117 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"


When I make a union of specific dimension of objects (steps following):


Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x33060) [0x7f7f78315060]                                                                                         

#1  0x7f7f7e7bf540 in Gui::PropertyEditor::PropertyItem::row() const from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libFreeCADGui.so+0                   

0000002  0x7f7f7e7d7ed8 in Gui::PropertyEditor::PropertyModel::parent(QModelIndex const&) const from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libFreeCADGui.so+0x38                                                                                                                                                 

0000003  0x7f7f7a1ebee8 in QTreeView::isIndexHidden(QModelIndex const&) const from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Widgets.so.5+0x48          

0000004  0x7f7f7a1ee769 in QTreeView::visualRect(QModelIndex const&) const from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Widgets.so.5+0x59             

0000005  /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Widgets.so.5(+0x39beda) [0x7f7f7a197eda]                                                             

0000006  /tmp/.mount_freecau9nVKu/usr/lib/libQt5XcbQpa.so.5(+0xb913c) [0x7f7f703cd13c]
0000007  /tmp/.mount_freecau9nVKu/usr/lib/libQt5XcbQpa.so.5(+0xc01a5) [0x7f7f703d41a5]
0000008  /tmp/.mount_freecau9nVKu/usr/lib/libQt5XcbQpa.so.5(+0xc46cc) [0x7f7f703d86cc]
0000009  /tmp/.mount_freecau9nVKu/usr/lib/libQt5DBus.so.5(+0x243b8) [0x7f7f6f2e13b8]
0000010  /tmp/.mount_freecau9nVKu/usr/lib/libQt5DBus.so.5(+0x26c2e) [0x7f7f6f2e3c2e]
0000011  0x7f7f795d6f76 in QObject::event(QEvent*) from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Core.so.5+0x2a6

0000012  0x7f7f79f59c6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Widgets.so.5+0x9c

0000013  0x7f7f79f5e2ea in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Widgets.so.5+0x3fa

0000014  0x7f7f7e618351 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libFreeCADGui.so+0x41

0000015  0x7f7f795ab425 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Core.so.5+0x75

0000016  0x7f7f795ad26a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Core.so.5+0x1ca

0000017  /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Core.so.5(+0x2c5343) [0x7f7f795fd343]
0000018  /tmp/.mount_freecau9nVKu/usr/lib/libglib-2.0.so.0(+0x569be) [0x7f7f732a59be]
0000019  /tmp/.mount_freecau9nVKu/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x33) [0x7f7f732a6826]

0000020  /tmp/.mount_freecau9nVKu/usr/lib/libglib-2.0.so.0(+0x57a0b) [0x7f7f732a6a0b]
0000021  /tmp/.mount_freecau9nVKu/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x4a) [0x7f7f732a6acf]

0000022  0x7f7f795fc98c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Core.so.5+0x5c
0000023  0x7f7f795a953b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Core.so.5+0xfb

0000024  0x7f7f795b1466 in QCoreApplication::exec() from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libQt5Core.so.5+0x86

0000025  0x7f7f7e5b521c in Gui::Application::runApplication() from /tmp/.mount_freecau9nVKu/usr/bin/../lib/libFreeCADGui.so+0x16bc

0000026  /tmp/.mount_freecau9nVKu/usr/bin/FreeCAD(main+0x6c9) [0x403829]
0000027  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f7f783022e1]
0000028  /tmp/.mount_freecau9nVKu/usr/bin/FreeCAD() [0x404699]

Steps To ReproduceOpen FreeCAD
Create a new project
Select "Parts"
Create a Cube and make it: length= 3mm; width: 3mm, height: 10mm
Create another Cube and make it: length= 3mm; width: 3mm, height: 3mm
Move the second cube bottom beside of the first cube as annexed image
Select first cube and second cube and make a union
Crash

Additional InformationOS: Debian GNU/Linux 9 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.18.2)
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Tags#post-to-forum, 0.18, appimage, boolean, Part

Activities

mariojose

2019-06-17 19:31

reporter  

freecad_bug.png (86,060 bytes)
freecad_bug.png (86,060 bytes)

openBrain

2019-06-17 20:22

developer   ~0013241

Can't reproduce neither with 0.18.1 (from stable PPA) nor with latest 0.19 (from daily PPA)
@mariojose : thanks a lot for reporting.
However as requested in the bug reporting policy (in the giant yellow banner on top of this page, and in the "Read this before reporting" on the left), may you please open a dedicated topic on the Help subforum ? This will allow other forumers to confirm the issue and help finding the root cause. Once issue is eventually confirmed, forum thread & ticket can be crosslinked to ease bug fixing.
Could you please also provide a FCStd file containing the 2 cubes just before trying to make the union ("moving beside as in picture" isn't very precise ;) ) ?
Thanks

mariojose

2019-06-17 20:54

reporter   ~0013242

Last edited: 2019-06-17 20:58

View 2 revisions

Excuse-me. Yes, I read the post of banner recommendation. I did several tests and in all I have problem (in appimage 0.18.16117 and in debian package 0.16). I think, apparently, that maybe a bug.
I attached a file you requested.
If I start new project, without saving it, and make a union, it crash. When open the file and make a union it works.
Sorry for that.
Best



union_crash.FCStd (4,973 bytes)

Kunda1

2019-06-18 07:53

administrator   ~0013249

@mariojose thanks for this ticket. As @openBrain mentioned the guidelines, it's actually faster if you first post bugs to the forum for the community to verify and then recommend to open a ticket.
Nevertheless, you provided a good report with a backtrace and we thank you for that.

Also in addition to the above task, you could try testing this issue on the 0.19dev appimage (which is fine to work in parallel with 0.18 (just make a backup of your 0.18 project before opening it in 0.19_pre).

Kunda1

2019-07-23 23:40

administrator   ~0013376

@mariojose please respond

Kunda1

2019-08-22 20:34

administrator   ~0013452

@mariojose please test https://github.com/FreeCAD/FreeCAD/releases/tag/0.19_pre

Issue History

Date Modified Username Field Change
2019-06-17 19:31 mariojose New Issue
2019-06-17 19:31 mariojose Tag Attached: 0.18
2019-06-17 19:31 mariojose Tag Attached: appimage
2019-06-17 19:31 mariojose Tag Attached: boolean
2019-06-17 19:31 mariojose Tag Attached: Part
2019-06-17 19:31 mariojose File Added: freecad_bug.png
2019-06-17 20:22 openBrain Note Added: 0013241
2019-06-17 20:23 openBrain Status new => feedback
2019-06-17 20:54 mariojose File Added: union_crash.FCStd
2019-06-17 20:54 mariojose Note Added: 0013242
2019-06-17 20:54 mariojose Status feedback => new
2019-06-17 20:58 mariojose Note Edited: 0013242 View Revisions
2019-06-18 07:53 Kunda1 Status new => feedback
2019-06-18 07:53 Kunda1 Note Added: 0013249
2019-07-22 11:04 Kunda1 Tag Attached: #post-to-forum
2019-07-23 23:40 Kunda1 Note Added: 0013376
2019-08-22 20:34 Kunda1 Note Added: 0013452