Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

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!
Dagobert2021
Posts: 9
Joined: Tue May 25, 2021 6:06 am

Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by Dagobert2021 »

I created my project using an older Freecad 0.20 version (I guess May 2022). Suddenly Freecad crashed when I was creating / using a DatumPlane and Sketch editor. It seems that even the FCStd file was lost and need to use an older saved file version. This was really annoying.

So I switched to newest version of Freecad 0.20.1 Revision number 29410. It still crashes when I work in my project file (maybe sporadically).
Thereon, when I try to reopen the FCStd file, freecall tells that "The file xxx" cannot be opened". Freecad does not tell why it cannot be opened. My work seems to be destroyed.

Is it an issue with the new MacOS Ventura version that I installed one week ago?

Should I try to use a new Freecad Weekly developer build?

Is the FCStd damaged by using the older FreeCAD version and this cannot be recovered by newer Freecad version?

Is it a known issue?
Attachments
2022-11-06_macos_crash-log.txt
(109.46 KiB) Downloaded 18 times
PVModul-Unterkonstruktion_T3-5_S355_80x80x6,3_1x_2022-11-03.FCStd
(225.84 KiB) Downloaded 17 times
chrisb
Veteran
Posts: 53934
Joined: Tue Mar 17, 2015 9:14 am

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by chrisb »

Hi and welcome to the forum!

Please attach always your full FreeCAD info as described in the IMPORTANT forum rules linked above.

I have no problem opening the file in 0.21, please try that. If the error persists, create a log file by starting FreeCAD with the additional parameter --log-file.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by Shalmeneser »

You sketches are too complex.
Attachments
PVModul_SHAL2M.FCStd
(180.32 KiB) Downloaded 17 times
Dagobert2021
Posts: 9
Joined: Tue May 25, 2021 6:06 am

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by Dagobert2021 »

Hi, I am now switched to newest weekly build. Revision 31109.
But I created a new project and try to save but the folder remains empty. No error message at all. Freecad shows it with the new file name in tree.

Then, when I try to open it from recent file list, there is an error message "path + cannot be opened". The folder is shown as empty in macos finder.

So I am unable to save the work.
Dagobert2021
Posts: 9
Joined: Tue May 25, 2021 6:06 am

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by Dagobert2021 »

Your request: "create a log file by starting FreeCAD with the additional parameter --log-file."

./MacOS/FreeCAD --log-file trace.txt

See attached file.

I loaded an older project version. Tried to sava as... with another name.
There is no error at all. The file cannot be found in filesystem (Not okay). Then I exit the program.

There is no error log in trace.txt that explains the problem.
Attachments
trace.txt
(14.22 KiB) Downloaded 14 times
Dagobert2021
Posts: 9
Joined: Tue May 25, 2021 6:06 am

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by Dagobert2021 »

Some errors logged in terminal on next startup and try to load the non-existing FCStd file

2022-11-27 16:24:54.694 freecad[3647:171719] Path given to -[NSWorkspace iconForFile:] is not a full path.
[3654:19203:1127/162455.159433:ERROR:command_buffer_proxy_impl.cc(141)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.[*]
Dagobert2021
Posts: 9
Joined: Tue May 25, 2021 6:06 am

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by Dagobert2021 »

My current issue is that I am not able to save the freecad project at all. I am using the newest Mac OS version 13.0.1 Ventura.
Dagobert2021
Posts: 9
Joined: Tue May 25, 2021 6:06 am

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by Dagobert2021 »

I ran the following commandline to execute the tests
./MacOS/FreeCAD --run-test 0

See txt file
Attachments
trace_tests.txt
(680.66 KiB) Downloaded 18 times
Dagobert2021
Posts: 9
Joined: Tue May 25, 2021 6:06 am

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by Dagobert2021 »

Strange.
At a specific parent folder, I am able to save the file.
I am sure I never changed file permissions and the whole path uses the same hard disk.
Maybe could it be a problem that the name of sub folder contains a problematic character "ä"?

Nevertheless, Freecad should check whether the saved file exists and give feedback if missing. I think this should be improved.
chrisb
Veteran
Posts: 53934
Joined: Tue Mar 17, 2015 9:14 am

Re: Bug Freecad 0.20.1, MacOS Ventura, Freecad crashes when using part design

Post by chrisb »

Dagobert2021 wrote: Sun Nov 27, 2022 3:29 pm My current issue is that I am not able to save the freecad project at all. I am using the newest Mac OS version 13.0.1 Ventura.
This version does some fancy things asking for permissions. Perhaps you inadvertently denied them?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply