more than one polygon crashes FreeCAD

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
schraubenmade
Posts: 1
Joined: Sat Jun 03, 2023 12:13 pm

more than one polygon crashes FreeCAD

Post by schraubenmade »

create new
part design
create body
create sketch
XY_Plane
create regular polygon, place it somewhere <- first one is fine
create regular polygon, place it somewhere -> FreeCAD crashes

can someone reproduce this?

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: more than one polygon crashes FreeCAD

Post by chrisb »

Hi and welcome to the forum!

Please retry with current 0.21 (which you should always do if you think you found a bug). It works flawless here. Do you create a hexagon or some other polygon?

Code: Select all

OS: macOS 13.0
Word size of FreeCAD: 64-bit
Version: 0.21.0.33263 (Git)
Build type: Release
Branch: master
Hash: 864f99bf984c237ef38d9451fd6f3a5ec34e6eb4
Python 3.11.3, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.2, OCC 7.7.1
Locale: C/Default (C)
Installed mods: 
  * FC_SU
  * DynamicData 2.46.0
  * freecad.gears 1.0.0
  * FeedsAndSpeeds 0.5.0
  * dxf-library
  * fcgear 1.0.0
  * fasteners 0.4.54
  * sheetmetal 0.2.62
  * ExplodedAssembly
  * Curves 0.6.8
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
jfc4120
Posts: 448
Joined: Sat Jul 02, 2022 11:16 pm

Re: more than one polygon crashes FreeCAD

Post by jfc4120 »

I just did the above using:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git)
Build type: Release
Branch: (HEAD detached from 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Curves 0.6.9
  * Help 1.0.3

No crash. But I always use a stable release: https://github.com/FreeCAD/FreeCAD/releases/tag/0.20.2
Attachments
poly.FCStd
(8.23 KiB) Downloaded 11 times
User avatar
thomas-neemann
Veteran
Posts: 11800
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: more than one polygon crashes FreeCAD

Post by thomas-neemann »

schraubenmade wrote: Sat Jun 03, 2023 12:32 pm
no problem here

Code: Select all

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
edwilliams16
Veteran
Posts: 3106
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: more than one polygon crashes FreeCAD

Post by edwilliams16 »

no problem with

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: C/Default (C)
Installed mods: 
  * MeshRemodel 1.8919.0
  * DynamicData 2.46.0
  * lattice2.backup1682566094.626239 1.0.0 (Disabled)
  * fcgear 1.0.0
  * workfeature
  * Pyramids-and-Polyhedrons
  * QuickMeasure-main
  * GDML 1.8.0
  * offline-documentation
  * Manipulator 1.5.0
  * fasteners 0.4.56
  * lattice2 1.0.0
  * CurvedShapes 1.0.4
  * Alternate_OpenSCAD 1.0.0
  * toSketch 1.0.1
  * Help 1.0.3
  * Curves 0.6.8
or

Code: Select all

OS: macOS 13.2
Word size of FreeCAD: 64-bit
Version: 0.21.0.31483 (Git)
Build type: Release
Branch: master
Hash: 588620fd9fd138892b1cd2466f5c87d441493174
Python 3.11.0, Qt 5.15.6, Coin 4.0.0, Vtk 9.2.2, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * MeshRemodel 1.8919.0
  * DynamicData 2.46.0
  * lattice2.backup1682566094.626239 1.0.0 (Disabled)
  * fcgear 1.0.0
  * workfeature
  * Pyramids-and-Polyhedrons
  * QuickMeasure-main
  * GDML 1.8.0
  * offline-documentation
  * Manipulator 1.5.0
  * fasteners 0.4.56
  * lattice2 1.0.0
  * CurvedShapes 1.0.4
  * Alternate_OpenSCAD 1.0.0
  * toSketch 1.0.1
  * Help 1.0.3
  * Curves 0.6.8
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: more than one polygon crashes FreeCAD

Post by GeneFC »

schraubenmade wrote: Sat Jun 03, 2023 12:32 pm can someone reproduce this?
The most important question is "Can you reproduce this?"

I get unexplained crashes once in a while, but they are rarely repeatable.

Who knows? User error? A rare neutrino interaction with my CPU?

If you can reproduce the error go ahead and explain exactly what steps you are taking. Then others can look in more depth.

Gene
User avatar
papyblaise
Veteran
Posts: 7864
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: more than one polygon crashes FreeCAD

Post by papyblaise »

there is no reason for Fc to crash when drawing several polygons in the same sketch, on the other hand if you close the sketcher and try to make a Pad, then you crash for sure
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: more than one polygon crashes FreeCAD

Post by Syres »

papyblaise wrote: Sun Jun 04, 2023 7:40 am there is no reason for Fc to crash when drawing several polygons in the same sketch
Really, a simple search would show that this is a recurring theme, graphics card viewtopic.php?style=10&p=675389#p675389
Post Reply