Help test FreeCAD for Mac

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
User avatar
brusk
Posts: 52
Joined: Wed Feb 18, 2015 4:33 pm

Help test FreeCAD for Mac

Postby brusk » Sun Dec 06, 2015 3:07 am

I've build the latest revision as of yesterday: https://github.com/tiktuk/FreeCAD/relea ... _pre_r6010 . If you own a Mac please help testing it :) .

Personally I'm bitten by 0002218: Segmentation violation when generating orthographic projection for specific file so I can't make drawings :( .

Also, does the Test Framework > selftest successfully run on Windows? On my machine it crashes at some point.
User avatar
sgrogan
Posts: 5469
Joined: Wed Oct 22, 2014 5:02 pm

Re: Help test FreeCAD for Mac

Postby sgrogan » Tue Dec 08, 2015 12:04 am

brusk wrote: Also, does the Test Framework > selftest successfully run on Windows? On my machine it crashes at some point.
This passes on ubuntu and widows. Do you get an error from the Gui?
brusk wrote:Personally I'm bitten by 0002218: Segmentation violation when generating orthographic projection for specific file so I can't make drawings :( .
This is disappointing, so maybe mac testing will help. What oce do you have? A sample procedure or file that produces this would help. Do you have the same behaviour with the last OSX snapshot?
Thanks for your interest brusk :)
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: Help test FreeCAD for Mac

Postby ian.rees » Tue Dec 08, 2015 2:01 am

Thanks for the work on this! I've only had a little spare time for FreeCAD lately (been using it a lot though - we got a 3D printer at work ;) ), and might've dropped the ball on the compile on mac wiki page...

Can confirm your build handles some basic Part & Part Design on a fresh El Capitan virtual machine without any issues. -Ian-
User avatar
brusk
Posts: 52
Joined: Wed Feb 18, 2015 4:33 pm

Re: Help test FreeCAD for Mac

Postby brusk » Wed Dec 09, 2015 5:30 pm

sgrogan wrote:
brusk wrote: Also, does the Test Framework > selftest successfully run on Windows? On my machine it crashes at some point.
This passes on ubuntu and widows. Do you get an error from the Gui?
Yes, it crashes with this:

Code: Select all

…
… (lots of tests running)
…
Write mesh to /var/folders/cd/3271bhd55nn3jr3_6wrb6l7w0000gn/T/mesh.stl
Create mesh instance
Mesh loaded successfully.
Create mesh instance
Mesh loaded successfully.
Create sphere (10.0,140)...
Create sphere (10.0,160)...
... destroy sphere
... destroy sphere
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the context has been set up incorrectly.
*** Abort *** an exception was raised, but no catch was found.
	... The exception is:SIGSEGV 'segmentation violation' detected. Address 0
Is there any way to get more details about which exception it is?
sgrogan wrote:
brusk wrote:Personally I'm bitten by 0002218: Segmentation violation when generating orthographic projection for specific file so I can't make drawings :( .
This is disappointing, so maybe mac testing will help. What oce do you have?
I use oce 6.8.0 from Homebrew. I saw some work on adapting the newest version to FreeCAD. It looks a bit involved though (https://github.com/tpaviot/oce/issues/561) :( . Apparently Open Cascade is at version 6.9.1 now.
sgrogan wrote: A sample procedure or file that produces this would help.
To reproduce:

1) Open the attached file:
test_ortho.FCStd
(67.77 KiB) Downloaded 40 times
.
2) Select Cutouts or Port Vents in the outline.
3) Press Insert an Orthographic Projection of a Part in the Active Drawing.

I instantly get a crash with the following:

Code: Select all

--(end of buffer or a NUL)
--EOF (start condition 0)
--accepting rule at line 275 ("Sheet")
--accepting rule at line 149 (".")
--(end of buffer or a NUL)
--accepting rule at line 275 ("binding_post_cutout_radius")
--(end of buffer or a NUL)
--EOF (start condition 0)
*** Abort *** an exception was raised, but no catch was found.
	... The exception is:SIGSEGV 'segmentation violation' detected. Address 0
sgrogan wrote:Do you have the same behaviour with the last OSX snapshot?
It actually works on the 0.16.4945_x64_osx from the website… I wonder if it is a regression or if it is my build of it.

Impressive that the model is working even though it includes expressions and those are not included in that version, btw. Most commercial software wouldn't be so backwards compatible :) .
sgrogan wrote:Thanks for your interest brusk :)
Sure, would love to get this to work on the Mac :) .
User avatar
brusk
Posts: 52
Joined: Wed Feb 18, 2015 4:33 pm

Re: Help test FreeCAD for Mac

Postby brusk » Wed Dec 09, 2015 5:49 pm

I just found out about the --wrie-log option.

Here is what is leading up to the crash in the self-test:

Code: Select all

Log: Sketcher::setUpSketch()-T:0.001
Log: Sketcher::Solve()-DogLeg-T:0
Log: Sketcher::setUpSketch()-T:0.001
Log: Sketcher::Solve()-DogLeg-T:0.002
Log: Sketcher::setUpSketch()-T:0.001
Log: Sketcher::Solve()-DogLeg-T:0
Log: Sel : Clear selection
Log: No active document
Log: Active view is Unnamed : 1[*] (at 0x7fad29690740)
Log: Active document is DraftTest (at 0x7fad26562a00)
Log: Checking Draft Arc...
Log: Sel : Clear selection
Log: Sel : Add Selection "DraftTest.Arc.(null)(0.000000,0.000000,0.000000)"
In the other case, with the Drawing Workbench, there is no additional information in the log.

My system info, btw:

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6010 (Git)
Build type: Unknown
Branch: master
Hash: fd191b802ecd5cef3439683b015189dac9ffce88
Python version: 2.7.10
Qt version: 4.8.7
Coin version: 3.1.3
User avatar
sgrogan
Posts: 5469
Joined: Wed Oct 22, 2014 5:02 pm

Re: Help test FreeCAD for Mac

Postby sgrogan » Wed Dec 09, 2015 6:01 pm

brusk wrote: Is there any way to get more details about which exception it is?
You could try installing gdb and getting the back trace
see here:viewtopic.php?t=7052#p56918 I think it should work on mac like linux
This is over my head but the info may help one of the developers.
User avatar
brusk
Posts: 52
Joined: Wed Feb 18, 2015 4:33 pm

Re: Help test FreeCAD for Mac

Postby brusk » Wed Dec 09, 2015 6:51 pm

sgrogan wrote:
brusk wrote: Is there any way to get more details about which exception it is?
You could try installing gdb and getting the back trace
see here:viewtopic.php?t=7052#p56918 I think it should work on mac like linux
This is over my head but the info may help one of the developers.
Great, yes, I got gdb to work.

On inserting the drawing I get the error:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x000000011b447154 in BSplCLib::FirstUKnotIndex(int, TColStd_Array1OfInteger const&) () from /usr/local/opt/oce/lib/libTKMath.10.dylib
(gdb) bt
#0  0x000000011b447154 in BSplCLib::FirstUKnotIndex(int, TColStd_Array1OfInteger const&) () from /usr/local/opt/oce/lib/libTKMath.10.dylib
#1  0x000000011b447635 in BSplCLib::LocateParameter(int, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, double, bool, int&, double&) ()
   from /usr/local/opt/oce/lib/libTKMath.10.dylib
#2  0x000000011b3b7e12 in Geom2d_BSplineCurve::ValidateCache(double) () from /usr/local/opt/oce/lib/libTKG2d.10.dylib
#3  0x000000011b3b82a0 in Geom2d_BSplineCurve::D0(double, gp_Pnt2d&) const () from /usr/local/opt/oce/lib/libTKG2d.10.dylib
#4  0x000000011b3bacf2 in Geom2d_Curve::Value(double) const () from /usr/local/opt/oce/lib/libTKG2d.10.dylib
#5  0x000000011a73bdde in BRepLib_MakeEdge2d::Init(Handle_Geom2d_Curve const&, TopoDS_Vertex const&, TopoDS_Vertex const&, double, double) () from /usr/local/opt/oce/lib/libTKTopAlgo.10.dylib
#6  0x000000011a73cece in BRepLib_MakeEdge2d::Init(Handle_Geom2d_Curve const&, double, double) () from /usr/local/opt/oce/lib/libTKTopAlgo.10.dylib
#7  0x000000011a73f1bb in BRepLib_MakeEdge2d::BRepLib_MakeEdge2d(Handle_Geom2d_Curve const&, double, double) () from /usr/local/opt/oce/lib/libTKTopAlgo.10.dylib
#8  0x0000000119cb83e1 in HLRBRep::MakeEdge(HLRBRep_Curve const&, double, double) () from /usr/local/opt/oce/lib/libTKHLR.10.dylib
#9  0x0000000119ccb4d4 in HLRBRep_HLRToShape::DrawEdge(bool, bool, int, HLRBRep_EdgeData&, TopoDS_Shape&, bool&, bool) const () from /usr/local/opt/oce/lib/libTKHLR.10.dylib
#10 0x0000000119ccb2dc in HLRBRep_HLRToShape::DrawFace(bool, int, int, Handle_HLRBRep_Data&, TopoDS_Shape&, bool&, bool) const () from /usr/local/opt/oce/lib/libTKHLR.10.dylib
#11 0x0000000119ccac5e in HLRBRep_HLRToShape::InternalCompound(int, bool, TopoDS_Shape const&, bool) () from /usr/local/opt/oce/lib/libTKHLR.10.dylib
#12 0x000000011c56daf9 in HLRBRep_HLRToShape::VCompound() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/Drawing.so
#13 0x000000011c56a230 in Drawing::ProjectionAlgos::execute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/Drawing.so
#14 0x000000011c569ef0 in Drawing::ProjectionAlgos::ProjectionAlgos(TopoDS_Shape const&, Base::Vector3<double> const&) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/Drawing.so
#15 0x000000011c56a885 in Drawing::ProjectionAlgos::ProjectionAlgos(TopoDS_Shape const&, Base::Vector3<double> const&) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/Drawing.so
#16 0x000000011c553905 in Drawing::FeatureViewPart::execute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/Drawing.so
#17 0x0000000100fa1953 in App::DocumentObject::recompute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#18 0x000000011c551224 in Drawing::FeatureView::recompute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/Drawing.so
#19 0x0000000100ed9a72 in App::Document::_recomputeFeature(App::DocumentObject*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#20 0x0000000100ed873d in App::Document::recompute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#21 0x000000011c5f227c in DrawingGui::OrthoViews::process_views() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/DrawingGui.so
#22 0x000000011c5f2ded in DrawingGui::OrthoViews::add_view(int, int) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/DrawingGui.so
#23 0x000000011c5f2779 in DrawingGui::OrthoViews::set_primary(gp_Dir, gp_Dir) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/DrawingGui.so
#24 0x000000011c5f58db in DrawingGui::TaskOrthoViews::TaskOrthoViews(QWidget*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/DrawingGui.so
#25 0x000000011c5f59dd in DrawingGui::TaskOrthoViews::TaskOrthoViews(QWidget*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/DrawingGui.so
#26 0x000000011c5f87cc in DrawingGui::TaskDlgOrthoViews::TaskDlgOrthoViews() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/DrawingGui.so
#27 0x000000011c5f8b35 in DrawingGui::TaskDlgOrthoViews::TaskDlgOrthoViews() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/DrawingGui.so
#28 0x000000011c5e11a3 in CmdDrawingOrthoViews::activated(int) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Drawing/DrawingGui.so
#29 0x000000010013dcc4 in Gui::Command::invoke(int) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADGui.dylib
#30 0x000000010012e54b in Gui::Action::onActivated() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADGui.dylib
#31 0x0000000100135ae6 in Gui::Action::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADGui.dylib
#32 0x0000000104d9dd93 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/opt/qt/lib/QtCore.framework/Versions/4/QtCore
#33 0x0000000103fb9f46 in QAction::activate(QAction::ActionEvent) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#34 0x00000001042d0d08 in QAbstractButtonPrivate::click() () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#35 0x00000001042d172e in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#36 0x000000010437c525 in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#37 0x0000000104003ca9 in QWidget::event(QEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
---Type <return> to continue, or q <return> to quit---
#38 0x00000001042d163b in QAbstractButton::event(QEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#39 0x0000000103fc155e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#40 0x0000000103fc2ed4 in QApplication::notify(QObject*, QEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#41 0x00000001000f44a7 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADGui.dylib
#42 0x0000000104d894f6 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/opt/qt/lib/QtCore.framework/Versions/4/QtCore
#43 0x0000000103fc1e0b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#44 0x0000000103f7a143 in qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#45 0x00007fff94b11777 in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#46 0x0000000000000001 in ?? ()
#47 0x0000000000000000 in ?? ()
On the self-test I get the following:

Code: Select all

(gdb) bt
#0  0x000000011a85c154 in BSplCLib::FirstUKnotIndex(int, TColStd_Array1OfInteger const&) () from /usr/local/opt/oce/lib/libTKMath.10.dylib
#1  0x000000011a85c635 in BSplCLib::LocateParameter(int, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, double, bool, int&, double&) ()
   from /usr/local/opt/oce/lib/libTKMath.10.dylib
#2  0x000000011a6e3072 in Geom_BSplineCurve::ValidateCache(double) () from /usr/local/opt/oce/lib/libTKG3d.10.dylib
#3  0x000000011a6e3518 in Geom_BSplineCurve::D0(double, gp_Pnt&) const () from /usr/local/opt/oce/lib/libTKG3d.10.dylib
#4  0x000000011a6f4578 in Geom_Curve::Value(double) const () from /usr/local/opt/oce/lib/libTKG3d.10.dylib
#5  0x0000000119b4a134 in BRepLib_MakeEdge::Init(Handle_Geom_Curve const&, TopoDS_Vertex const&, TopoDS_Vertex const&, double, double) () from /usr/local/opt/oce/lib/libTKTopAlgo.10.dylib
#6  0x0000000119b4b512 in BRepLib_MakeEdge::Init(Handle_Geom_Curve const&, double, double) () from /usr/local/opt/oce/lib/libTKTopAlgo.10.dylib
#7  0x0000000119b4d7d1 in BRepLib_MakeEdge::BRepLib_MakeEdge(Handle_Geom_Curve const&, double, double) () from /usr/local/opt/oce/lib/libTKTopAlgo.10.dylib
#8  0x0000000119b849f9 in BRepBuilderAPI_MakeEdge::BRepBuilderAPI_MakeEdge(Handle_Geom_Curve const&, double, double) () from /usr/local/opt/oce/lib/libTKTopAlgo.10.dylib
#9  0x0000000116d2698f in Part::GeometryCurvePy::toShape(_object*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Part/Part.so
#10 0x0000000116d1bc43 in Part::GeometryCurvePy::staticCallback_toShape(_object*, _object*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Part/Part.so
#11 0x00000001017a12ba in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#12 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#13 0x00000001017428fc in function_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#14 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#15 0x000000010172f6ad in instancemethod_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#16 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#17 0x00000001017a3777 in PyEval_CallObjectWithKeywords () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#18 0x0000000100fc0cc3 in Py::Callable::apply(Py::Tuple const&) const () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#19 0x000000010105095c in App::FeaturePythonImp::execute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#20 0x0000000116cb44bf in App::FeaturePythonT<Part::Part2DObject>::execute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Part/Part.so
#21 0x0000000100fa1953 in App::DocumentObject::recompute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#22 0x0000000116c949f4 in Part::Feature::recompute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Part/Part.so
#23 0x0000000100ed9a72 in App::Document::_recomputeFeature(App::DocumentObject*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#24 0x0000000100ed873d in App::Document::recompute() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#25 0x0000000100ff8f99 in App::DocumentPy::recompute(_object*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#26 0x0000000100fecc48 in App::DocumentPy::staticCallback_recompute(_object*, _object*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADApp.dylib
#27 0x00000001017a12ba in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#28 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#29 0x00000001017a3da2 in fast_function () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#30 0x00000001017a0c2e in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#31 0x00000001017a3e35 in fast_function () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#32 0x00000001017a0c2e in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#33 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#34 0x00000001017428fc in function_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#35 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#36 0x00000001017a0dca in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#37 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
---Type <return> to continue, or q <return> to quit---
#38 0x00000001017428fc in function_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#39 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#40 0x000000010172f6ad in instancemethod_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#41 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#42 0x000000010176b0fb in slot_tp_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#43 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#44 0x00000001017a05d3 in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#45 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#46 0x00000001017428fc in function_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#47 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#48 0x00000001017a0dca in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#49 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#50 0x00000001017428fc in function_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#51 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#52 0x000000010172f6ad in instancemethod_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#53 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#54 0x000000010176b0fb in slot_tp_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#55 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#56 0x00000001017a05d3 in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#57 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#58 0x00000001017428fc in function_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#59 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#60 0x00000001017a0dca in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#61 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#62 0x00000001017428fc in function_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#63 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#64 0x000000010172f6ad in instancemethod_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#65 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#66 0x000000010176b0fb in slot_tp_call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#67 0x00000001017248f9 in PyObject_Call () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#68 0x00000001017a05d3 in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#69 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#70 0x00000001017a3da2 in fast_function () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#71 0x00000001017a0c2e in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#72 0x00000001017a3e35 in fast_function () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#73 0x00000001017a0c2e in PyEval_EvalFrameEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#74 0x000000010179da5d in PyEval_EvalCodeEx () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#75 0x000000010179d428 in PyEval_EvalCode () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#76 0x00000001017bd1ee in run_mod () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#77 0x00000001017bd3ab in PyRun_StringFlags () from /usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Python
#78 0x00000001014e4f72 in Base::InterpreterSingleton::runString(char const*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADBase.dylib
#79 0x000000011673e9d6 in TestGui::UnitTestDialog::on_startButton_clicked() () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Test/QtUnitGui.so
#80 0x000000011673fcc6 in TestGui::UnitTestDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Test/QtUnitGui.so
#81 0x000000011673feae in TestGui::UnitTestDialog::qt_metacall(QMetaObject::Call, int, void**) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/Mod/Test/QtUnitGui.so
#82 0x0000000104d9dcda in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/opt/qt/lib/QtCore.framework/Versions/4/QtCore
#83 0x000000010451d4ca in QAbstractButton::clicked(bool) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#84 0x00000001042d0e84 in QAbstractButtonPrivate::emitClicked() () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#85 0x00000001042d0d85 in QAbstractButtonPrivate::click() () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#86 0x00000001042d172e in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#87 0x0000000104003ca9 in QWidget::event(QEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#88 0x00000001042d163b in QAbstractButton::event(QEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#89 0x0000000103fc155e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#90 0x0000000103fc2ed4 in QApplication::notify(QObject*, QEvent*) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#91 0x00000001000f44a7 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /Users/tuk/Input/Kode/GitHub/FreeCAD/build/lib/libFreeCADGui.dylib
#92 0x0000000104d894f6 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/opt/qt/lib/QtCore.framework/Versions/4/QtCore
#93 0x0000000103fc1e0b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#94 0x0000000103f7a143 in qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) () from /usr/local/opt/qt/lib/QtGui.framework/Versions/4/QtGui
#95 0x00007fff94b11777 in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#96 0x0000000000000001 in ?? ()
#97 0x0000000000000000 in ?? ()
Note to others trying to get a backtrace on Mac OS X:

1) Install gdb with homebrew.
2) Follow the instructions to code-sign gdb at http://sourceware.org/gdb/wiki/BuildingOnDarwin.
3) cd to the directory with the FreeCAD executable and

$ gdb FreeCAD
(gdb) run
(reproduce the bug so you get the segfault)
(gdb) bt

And you should get the back trace. More instructions.
Last edited by brusk on Wed Dec 09, 2015 7:04 pm, edited 1 time in total.
User avatar
sgrogan
Posts: 5469
Joined: Wed Oct 22, 2014 5:02 pm

Re: Help test FreeCAD for Mac

Postby sgrogan » Wed Dec 09, 2015 6:57 pm

Both related to BSpline!
See also here:viewtopic.php?f=10&t=13468
User avatar
brusk
Posts: 52
Joined: Wed Feb 18, 2015 4:33 pm

Re: Help test FreeCAD for Mac

Postby brusk » Wed Dec 09, 2015 7:08 pm

sgrogan wrote:Both related to BSpline!
See also here:viewtopic.php?f=10&t=13468
Hmm. Interesting. Could be convenient if there is one source to all three issues :)
User avatar
sgrogan
Posts: 5469
Joined: Wed Oct 22, 2014 5:02 pm

Re: Help test FreeCAD for Mac

Postby sgrogan » Wed Dec 09, 2015 7:21 pm

brusk wrote:Hmm. Interesting. Could be convenient if there is one source to all three issues :)
Yeah, except Bspline is from oce
It seems Peterl94 was having problems with oce on his Travis-ci build.
See here:https://travis-ci.org/peterl94/FreeCAD_sf_master
He changed the package with his last commit:https://github.com/peterl94/FreeCAD_sf_ ... 2406fc1d3e