Ticket #3436 - Fillet crash FC daily

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: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Fillet crash FC daily

Post by chrisb »

I remodeled your design so it gets more robust and uses far less operations. The clue was to model only a quarter of the top sliders and then use only one multipattern.
For external references it is sensible to use sketches instead of edges, to be seen e.g. in Sketch008. It makes the model more robust. For that it might have been better to place the XZ-plane on the top and not in the middle of the object, although I am not absolutely sure about the consequences.
Another possibility to increase robustness is the use of Expressions as seen in Sketch011. I left that with the BSpline, although I would myself have modeled this with two tangent circles of different diameters.

I replaced the other BSplines with the last two fillets. If you want something more fancy you can modify Sketch007.

One further remark: In Sketch007 you have a redundant constraint, the symmetry implies the vertical constraint. This breaks a model in later steps.
Attachments
Bildschirmfoto 2018-05-04 um 09.48.43.png
Bildschirmfoto 2018-05-04 um 09.48.43.png (25.58 KiB) Viewed 735 times
GoPro_cb.FCStd
(577.97 KiB) Downloaded 26 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Fillet crash FC daily

Post by Kunda1 »

Can anyone reproduce this crash on 0.18 as well ?
issue #3436
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Fillet crash FC daily

Post by chrisb »

It still crashes in

OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14957 (Git)
Build type: Release
Branch: (HEAD detached at 22513600d)
Hash: 22513600ddc11a8d0d392f67225d443b7dc2e5bb
Python version: 2.7.15
Qt version: 5.11.2
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Fillet crash FC daily

Post by NormandC »

It doesn't for me, it throws an error. And a Refine on the last feature fixes that.

OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14979 (Git)
Build type: Release
Branch: master
Hash: 47536dcd3729d3db106af628d62f2bf449e68c49
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: Ticket #3436 - Fillet crash FC daily

Post by abdullah »

I cannot reproduce this crash:

OS: Ubuntu 18.04.4 LTS (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 8ed90c858645e7562d9534265b6025d39ab4ffd6
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0

Can anybody still reproduce?
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Ticket #3436 - Fillet crash FC daily

Post by kisolre »

Yes.
I first tried with the file from the OP as it is. Opened it, selected that edge, PartDesigh fillet - object disappears, no error is shown. So I tried with a smaller fillet - selected radius field, typed "0", ",", "1". After some thinking without nothing shown FreeCAD crashed. So I opened the file again and this time first made full recompute in case some old wrongly generated geometry was the culprit. Because of tooponaming Datumplane moved and now the model was wrong. I fixed the mapping and again tried to fillet that edge - same result at setting it to 0,1mm. Attached is my modified file before the fillet.

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21575 (Git)
Build type: Release
Branch: master
Hash: 85109240b5a1862d51402dfa98dd126dd6c30ca0
Python version: 3.6.6
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Bulgarian/Bulgaria (bg_BG)
Attachments
PhoneStand_repro_kiss.FCStd
(72.81 KiB) Downloaded 23 times
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Ticket #3436 - Fillet crash FC daily

Post by chrisb »

Oops! I had just retested with success and have closed the ticket. Can you reopen it?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Ticket #3436 - Fillet crash FC daily

Post by chrisb »

kisolre wrote: Sat Jun 13, 2020 4:56 pm Attached is my modified file before the fillet.
Cannot reproduce here. I get an error in report view on each keypress.

OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git)
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Ticket #3436 - Fillet crash FC daily

Post by kisolre »

chrisb wrote: Sat Jun 13, 2020 6:01 pm I get an error in report view on each keypress.
Same under the VM with
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21611 (Git)
Build type: Release
Branch: master
Hash: 1ae69d2ac81bb7d2cf53af86831e0b1f8baf6a96
Python version: 3.6.8
Qt version: 5.12.6
Coin version: 4.0.0a
OCC version: 7.4.0.beta
Locale: Bulgarian/Bulgaria (bg_BG)

I was looking at python console instead of report view :oops: In report view I get this trying to fillet my file:

Code: Select all

File was not written with this version of the topology
Illegal storage access...
<Exception> Illegal storage access! Please save your work under a new file name and restart the application!
0 <App> Document.cpp(3710): Failed to recompute PhoneStand_repro_kiss#Fillet: Illegal storage access! Please save your work under a new file name and restart the application!
Recompute failed! Please check report view.
Same trying to fillet the file from op.

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21611 (Git)
Build type: Release
Branch: master
Hash: 1ae69d2ac81bb7d2cf53af86831e0b1f8baf6a96
Python version: 3.6.6
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Bulgarian/Bulgaria (bg_BG)
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Ticket #3436 - Fillet crash FC daily

Post by chrisb »

Finally this is perhaps a different error which was fixed quite some time ago. Can you try to enter just zero and wait if FreeCAD crashes?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply