makeFilledFace crashing FreeCAD

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
chrisb
Veteran
Posts: 53951
Joined: Tue Mar 17, 2015 9:14 am

Re: makeFilledFace crashing FreeCAD

Post by chrisb »

IIRC the developer versions are compiled with debug symbols. However, if I try to generate a backtrace I get the error (whole message in one line):

Code: Select all

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcrun is installed, but it is in the directory /usr/bin/
Any ideas how to create a backtrace on the mac?

BTW: the crash does not occur if I run FreeCAD in the virtual Ubuntu running on the Mac.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
wmayer
Founder
Posts: 20246
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: makeFilledFace crashing FreeCAD

Post by wmayer »

nmt wrote:Sorry, I am not set up to compile FreeCAD on my Mac. If someone can point me to an executable that has already been compiled with the debug flag, I can give it a try.
You don't necessarily need debug symbols. Usually it suffices to just run it in the debugger which then shows the cascaded function call upon the crash. This also works with a non-debug build but only if the tool strip hasn't been applied on the binaries after the compilation.
User avatar
nmt
Posts: 29
Joined: Sun Feb 19, 2017 2:45 pm

Re: makeFilledFace crashing FreeCAD

Post by nmt »

They have confirmed it on MantisBT and they have the traceback there: https://freecadweb.org/tracker/view.php?id=2985#c8716
Confirmed using 10653 from GitHub on both Qt4 and Qt5. Did not crash when compiled locally (i.e. Debug build on 10.12) so traceback is from the GitHub/Travis build on 10.10.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: makeFilledFace crashing FreeCAD

Post by Kunda1 »

As @nmt mentioned bug has been confirmed. Backtrace provided by @bblacey is in https://freecadweb.org/tracker/view.php?id=2985#c8716
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
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: makeFilledFace crashing FreeCAD

Post by Kunda1 »

wmayer wrote:IMO, this must be a bug in occ7.1.0 under macOS because with only this configuration this issue appeared so far.
(from https://freecadweb.org/tracker/view.php?id=2985#c9666 )
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
Post Reply