[solved] Crash on PartDesign while Revolution a Shape Binder

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

[solved] Crash on PartDesign while Revolution a Shape Binder

Post by user1234 »

Today i found a crash.

Open file

- Pad ShapeBinder_revolution_me --> works
- Revolution ShapeBinder_revolution_me --> crash

Oddly i get only

Code: Select all

Err: Recompute failed! Please check report view.
Err: Program received signal SIGSEGV, Segmentation fault.
Err: #0  /lib/x86_64-linux-gnu/libc.so.6(+0x38d60) [0x7f0cb6277d60]
, but i think the reason is, that an axis for revolution is missing in the GUI, since a Sketch based revolution have per default one of the major axis preselected on starting the taskview.

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31439 (Git)
Build type: Release
Branch: master
Hash: 7ce5c2dcf483fb7afcc85bc9d963756f7d343c1b
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 9.0.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * QuickMeasure 2022.10.28
crash.FCStd
(7.14 KiB) Downloaded 47 times

Greetings
user1234
Last edited by user1234 on Mon Jan 02, 2023 12:16 pm, edited 1 time in total.
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Crash on PartDesign while Revolution a Shape Binder

Post by wmayer »

It's actually a regression caused by this git commit 2aa232bef.
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: Crash on PartDesign while Revolution a Shape Binder

Post by user1234 »

wmayer wrote: Mon Jan 02, 2023 8:49 am git commit f8827198ee
Thanks for the fast fix, works now as expected!

Greetings
user1234
Lonfor
Posts: 133
Joined: Wed Mar 23, 2022 2:32 am

Re: [solved] Crash on PartDesign while Revolution a Shape Binder

Post by Lonfor »

user1234 wrote: Mon Jan 02, 2023 1:25 am Today i found a crash.
Open file
- Pad ShapeBinder_revolution_me --> works
- Revolution ShapeBinder_revolution_me --> crash
I just happened to me with v0.20.2 and v0.21.0
I found a workaround by doing the revolution with the sketch and then in the Property Panel I switched the Profile from Sketch to the ShapeBinder. This time no crash happened. :)
Attachments
Screenshot_20230103_041359.png
Screenshot_20230103_041359.png (201.36 KiB) Viewed 847 times
Post Reply