Segmentation fault (core dumped) with subtractive sphere

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
HoWil
Posts: 442
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Segmentation fault (core dumped) with subtractive sphere

Postby HoWil » Wed Mar 15, 2017 7:46 pm

Hello,
I do not know if this is already known, thats why I ask here first before entering it into the bug-tracker.

I get a "Segmentation fault (core dumped)" when applying a subtractive-sphere in part-desing onto a specially placed additive-box.

Here the steps to reproduce:
Start FreeCAD-daily
change to Part-Design-wb
Create body
Create additive box
Select XY-Plane and Z-Axis for Attachment (does also work with XZ and Y)
Extra placement: X: -5mm, Y: -5mm, Z: -5mm
Leave dialogue with OK
Select Subractive-Sphere (Subtractive-Box is working)
voilà... it is gone :o

I did test this several times and sometimes I get only
"Segmentation fault (core dumped)"
sometimes I get something like:

Code: Select all

*** Error in `freecad-daily': double free or corruption (fasttop): 0x00007f69e00819f0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f6a11c647e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7f6a11c6ce0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f6a11c7098c]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d88f)[0x7f6a1225988f]
/usr/lib/x86_64-linux-gnu/libTKMesh.so.7(_ZN24BRepMesh_FastDiscretFace3addERK13TopoDS_Vertex+0x562)[0x7f69dbd90a62]
/usr/lib/x86_64-linux-gnu/libTKMesh.so.7(_ZN24BRepMesh_FastDiscretFace17initDataStructureEv+0x91a)[0x7f69dbd913ca]
/usr/lib/x86_64-linux-gnu/libTKMesh.so.7(_ZN24BRepMesh_FastDiscretFace3addERKN11opencascade6handleI22BRepMesh_FaceAttributeEE+0xae)[0x7f69dbd91fce]
/usr/lib/x86_64-linux-gnu/libTKMesh.so.7(_ZN24BRepMesh_FastDiscretFace7PerformERKN11opencascade6handleI22BRepMesh_FaceAttributeEE+0x9)[0x7f69dbd92b19]
/usr/lib/x86_64-linux-gnu/libTKMesh.so.7(_ZNK20BRepMesh_FastDiscret7ProcessERK11TopoDS_Face+0x125)[0x7f69dbd839b5]
/usr/lib/x86_64-linux-gnu/libTKMesh.so.7(_ZN3tbb10interface98internal24balancing_partition_typeINS1_13adaptive_modeINS1_19auto_partition_typeEEEE12work_balanceINS1_9start_forINS_13blocked_rangeI23NCollection_StlIteratorISt26random_access_iterator_tagN18NCollection_VectorI11TopoDS_FaceE8IteratorESD_Lb0EEEENS_8internal26parallel_for_each_body_forI20BRepMesh_FastDiscretSG_EEKNS_16auto_partitionerEEESH_EEvRT_RT0_+0x4ec)[0x7f69dbd9a65c]
/usr/lib/x86_64-linux-gnu/libTKMesh.so.7(_ZN3tbb10interface98internal9start_forINS_13blocked_rangeI23NCollection_StlIteratorISt26random_access_iterator_tagN18NCollection_VectorI11TopoDS_FaceE8IteratorES7_Lb0EEEENS_8internal26parallel_for_each_body_forI20BRepMesh_FastDiscretSA_EEKNS_16auto_partitionerEE7executeEv+0x1ef)[0x7f69dbd9ab7f]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x26fdd)[0x7f69d71b8fdd]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x200dc)[0x7f69d71b20dc]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x1efd3)[0x7f69d71b0fd3]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x1aa91)[0x7f69d71aca91]
/usr/lib/x86_64-linux-gnu/libtbb.so.2(+0x1acf9)[0x7f69d71accf9]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f6a107806ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f6a11cf382d]
======= Memory map: ========
00400000-00407000 r-xp 00000000 08:02 2667921                            /usr/lib/freecad-daily/bin/FreeCAD
00606000-00607000 r--p 00006000 08:02 2667921                            /usr/lib/freecad-daily/bin/FreeCAD
00607000-00608000 rw-p 00007000 08:02 2667921                            /usr/lib/freecad-daily/bin/FreeCAD
01dd5000-09d9d000 rw-p 00000000 00:00 0                                  [heap]
7f6970000000-7f6970021000 rw-p 00000000 00:00 0
7f6970021000-7f6974000000 ---p 00000000 00:00 0
7f6974000000-7f6974297000 rw-p 00000000 00:00 0
7f6974297000-7f6978000000 ---p 00000000 00:00 0
7f697aedd000-7f697aeed000 rw-s 00000000 00:05 293379                     /drm mm object (deleted)
7f697aeed000-7f697aefd000 rw-s 102d45000 00:06 357                       /dev/dri/card0
7f697b0ed000-7f697b0fd000 rw-s 10739e000 00:06 357                       /dev/dri/card0
7f697b1cd000-7f697b1d5000 rw-s 102a5c000 00:06 357                       /dev/dri/card0
7f697b1d5000-7f697b1dd000 rw-s 00000000 00:05 294464                     /drm mm object (deleted)
7f697b1e5000-7f697b1ed000 rw-s 00000000 00:05 292797                     /drm mm object (deleted)
7f697b1ed000-7f697b1f5000 rw-s 102a54000 00:06 357                       /dev/dri/card0
7f697b1fd000-7f697b205000 rw-s 102a44000 00:06 357                       /dev/dri/card0
7f697b215000-7f697b515000 rw-s 1074cd000 00:06 357                       /dev/dri/card0
7f697b515000-7f697b7ef000 r-xp 00000000 08:02 2624350                    /usr/lib/freecad-daily/lib/SketcherGui.so
7f697b7ef000-7f697b9ee000 ---p 002da000 08:02 2624350                    /usr/lib/freecad-daily/lib/SketcherGui.so
7f697b9ee000-7f697b9f9000 r--p 002d9000 08:02 2624350                    /usr/lib/freecad-daily/lib/SketcherGui.so
7f697b9f9000-7f697b9ff000 rw-p 002e4000 08:02 2624350                    /usr/lib/freecad-daily/lib/SketcherGui.so
7f697b9ff000-7f697bb23000 r-xp 00000000 08:02 2627268                    /usr/lib/x86_64-linux-gnu/libTKFeat.so.7.1.0
7f697bb23000-7f697bd22000 ---p 00124000 08:02 2627268                    /usr/lib/x86_64-linux-gnu/libTKFeat.so.7.1.0
7f697bd22000-7f697bd25000 r--p 00123000 08:02 2627268                    /usr/lib/x86_64-linux-gnu/libTKFeat.so.7.1.0
7f697bd25000-7f697bd27000 rw-p 00126000 08:02 2627268                    /usr/lib/x86_64-linux-gnu/libTKFeat.so.7.1.0
7f697bd27000-7f697bdf2000 r-xp 00000000 08:02 2625617                    /usr/lib/freecad-daily/lib/_PartDesign.so
7f697bdf2000-7f697bff1000 ---p 000cb000 08:02 2625617                    /usr/lib/freecad-daily/lib/_PartDesign.so
7f697bff1000-7f697bffc000 r--p 000ca000 08:02 2625617                    /usr/lib/freecad-daily/lib/_PartDesign.so
7f697bffc000-7f697bfff000 rw-p 000d5000 08:02 2625617                    /usr/lib/freecad-daily/lib/_PartDesign.so
7f697bfff000-7f697c000000 rw-p 00000000 00:00 0
7f697c000000-7f697c082000 rw-p 00000000 00:00 0
7f697c082000-7f6980000000 ---p 00000000 00:00 0
7f6980000000-7f698029a000 rw-p 00000000 00:00 0
7f698029a000-7f6984000000 ---p 00000000 00:00 0
7f6984000000-7f6984036000 rw-p 00000000 00:00 0
7f6984036000-7f6988000000 ---p 00000000 00:00 0
7f6988004000-7f698800c000 rw-s 00000000 00:05 292553                     /drm mm object (deleted)
7f698801c000-7f6988024000 rw-s 00000000 00:05 292546                     /drm mm object (deleted)
7f6988034000-7f698803c000 rw-s 00000000 00:05 293266                     /drm mm object (deleted)
7f698803c000-7f6988044000 rw-s 102a3c000 00:06 357                       /dev/dri/card0
7f6988044000-7f698804c000 rw-s 00000000 00:05 294433                     /drm mm object (deleted)
7f6988064000-7f698806c000 rw-s 102a34000 00:06 357                       /dev/dri/card0
7f698806c000-7f6988074000 rw-s 105bf5000 00:06 357                       /dev/dri/card0
7f6988074000-7f698807c000 rw-s 00000000 00:05 293157                     /drm mm object (deleted)
7f698807c000-7f6988084000 rw-s 105bed000 00:06 357                       /dev/dri/card0
7f6988084000-7f6988094000 rw-s 105bd5000 00:06 357                       /dev/dri/card0
7f6988094000-7f698809c000 rw-s 102a04000 00:06 357                       /dev/dri/card0
7f698809c000-7f69880a4000 rw-s 00000000 00:05 292589                     /drm mm object (deleted)
7f69880b4000-7f69880c4000 rw-s 00000000 00:05 293283                     /drm mm object (deleted)
7f69880c4000-7f69882e3000 r-xp 00000000 08:02 2622933                    /usr/lib/freecad-daily/lib/PartDesignGui.so
7f69882e3000-7f69884e3000 ---p 0021f000 08:02 2622933                    /usr/lib/freecad-daily/lib/PartDesignGui.so
7f69884e3000-7f69884f2000 r--p 0021f000 08:02 2622933                    /usr/lib/freecad-daily/lib/PartDesignGui.so
7f69884f2000-7f69884f6000 rw-p 0022e000 08:02 2622933                    /usr/lib/freecad-daily/lib/PartDesignGui.so
7f69884f6000-7f698863b000 r-xp 00000000 08:02 2624529                    /usr/lib/freecad-daily/lib/Sketcher.so
7f698863b000-7f698883a000 ---p 00145000 08:02 2624529                    /usr/lib/freecad-daily/lib/Sketcher.so
7f698883a000-7f698883f000 r--p 00144000 08:02 2624529                    /usr/lib/freecad-daily/lib/Sketcher.so
7f698883f000-7f6988843000 rw-p 00149000 08:02 2624529                    /usr/lib/freecad-daily/lib/Sketcher.so
7f6988843000-7f6988844000 rw-p 00000000 00:00 0
7f6988844000-7f6988886000 rw-s 00000000 00:05 28049439                   /SYSV00000000 (deleted)
7f6988887000-7f698888f000 rw-s 00000000 00:05 294432                     /drm mm object (deleted)
7f698888f000-7f6988897000 rw-s 00000000 00:05 294273                     /drm mm object (deleted)
7f69888a7000-7f69888af000 rw-s 102a2c000 00:06 357                       /dev/dri/card0
7f69888af000-7f69888b7000 rw-s 00000000 00:05 292541                     /drm mm object (deleted)
7f69888b7000-7f69888bf000 rw-s 1029dc000 00:06 357                       /dev/dri/card0
7f69888bf000-7f69888c7000 rw-s 1029d4000 00:06 357                       /dev/dri/card0
7f69888c7000-7f69888cf000 rw-s 00000000 00:05 293190                     /drm mm object (deleted)
7f69888cf000-7f69888d7000 rw-s 102a0c000 00:06 357                       /dev/dri/card0
7f69888d7000-7f69888df000 rw-s 1029c4000 00:06 357                       /dev/dri/card0
7f69888df000-7f69888e7000 rw-s 1029f4000 00:06 357                       /dev/dri/card0
7f69888e7000-7f69888ef000 rw-s 105be5000 00:06 357                       /dev/dri/card0
7f69888ef000-7f69888f7000 rw-s 00000000 00:05 292588                     /drm mm object (deleted)
7f69888f7000-7f698891d000 rw-s 00000000 00:05 28606498                   /SYSV00000000 (deleted)
7f698891d000-7f6988925000 rw-s 1029a4000 00:06 357                       /dev/dri/card0
7f6988925000-7f698892d000 rw-s 106d3b000 00:06 357                       /dev/dri/card0
7f6988935000-7f698893d000 rw-s 00000000 00:05 293408                     /drm mm object (deleted)
7f698893d000-7f6988945000 rw-s 105c3f000 00:06 357                       /dev/dri/card0
7f6988945000-7f698894d000 rw-s 105c37000 00:06 357                       /dev/dri/card0
7f698894d000-7f6988955000 rw-s 00000000 00:05 296201                     /drm mm object (deleted)
7f6988955000-7f698895d000 rw-s 00000000 00:05 296048                     /drm mm object (deleted)
7f698895d000-7f6988986000 r--p 00000000 08:02 4195320                    /usr/share/fonts/truetype/liberation/LiberationSans-Italic.ttf
7f6988986000-7f6988c86000 rw-p 00000000 00:00 0
7f6988c86000-7f6988c8b000 r-xp 00000000 08:02 1062796                    /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7f6988c8b000-7f6988e8b000 ---p 00005000 08:02 1062796                    /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7f6988e8b000-7f6988e8c000 r--p 00005000 08:02 1062796                    /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7f6988e8c000-7f6988e8d000 rw-p 00006000 08:02 1062796                    /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7f6988e8d000-7f6988e95000 rw-s 105c2f000 00:06 357                       /dev/dri/card0
7f6988e95000-7f6988e9d000 rw-s 1029cc000 00:06 357                       /dev/dri/card0
7f6988e9d000-7f6988ea5000 rw-s 105c1f000 00:06 357                       /dev/dri/card0
7f6988ea5000-7f6988ec5000 rw-p 00000000 00:00 0
7f6988ec5000-7f6988ecd000 rw-s 00000000 00:05 294431                     /drm mm object (deleted)
7f6988ecd000-7f6988ed5000 rw-s 00000000 00:05 291590                     /drm mm object (deleted)
7f6988ed5000-7f6988ed6000 ---p 00000000 00:00 0
7f6988ed6000-7f69896d6000 rw-p 00000000 00:00 0
7f69896d6000-7f69896d7000 ---p 00000000 00:00 0
7f69896d7000-7f6989ed7000 rw-p 00000000 00:00 0
7f6989ed7000-7f6989ed8000 ---p 00000000 00:00 0
7f6989ed8000-7f698a6d8000 rw-p 00000000 00:00 0
7f698a6d8000-7f698a6f7000 rw-p 00000000 00:00 0
7f698a6f7000-7f698a777000 rw-s 00000000 00:05 28016670                   /SYSV00000000 (deleted)
7f698a777000-7f698a7d7000 rw-s 00000000 00:05 27983901                   /SYSV00000000 (deleted)
7f698a7d7000-7f698af8e000 rw-s 00000000 00:05 27951132                   /SYSV00000000 (deleted)
7f698af8e000-7f698afbf000 r-xp 00000000 08:02 2762622                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqnmbearer.so
7f698afbf000-7f698b1be000 ---p 00031000 08:02 2762622                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqnmbearer.so
7f698b1be000-7f698b1bf000 r--p 00030000 08:02 2762622                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqnmbearer.so
7f698b1bf000-7f698b1c0000 rw-p 00031000 08:02 2762622                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqnmbearer.so
7f698b1c0000-7f698b1cf000 r-xp 00000000 08:02 2762623                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqgenericbearer.so
7f698b1cf000-7f698b3cf000 ---p 0000f000 08:02 2762623                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqgenericbearer.so
7f698b3cf000-7f698b3d0000 r--p 0000f000 08:02 2762623                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqgenericbearer.so
7f698b3d0000-7f698b3d1000 rw-p 00010000 08:02 2762623                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqgenericbearer.so
7f698b3d1000-7f698b413000 r-xp 00000000 08:02 2762624                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqconnmanbearer.so
7f698b413000-7f698b613000 ---p 00042000 08:02 2762624                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqconnmanbearer.so
7f698b613000-7f698b615000 r--p 00042000 08:02 2762624                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqconnmanbearer.so
7f698b615000-7f698b616000 rw-p 00044000 08:02 2762624                    /usr/lib/x86_64-linux-gnu/qt4/plugins/bearer/libqconnmanbearer.so
7f698b616000-7f698b617000 ---p 00000000 00:00 0
7f698b617000-7f698be17000 rw-p 00000000 00:00 0
7f698be17000-7f698bed0000 r--p 00000000 08:02 4195278                    /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
7f698bed0000-7f698bf7c000 r--p 00000000 08:02 4195277                    /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf
7f698bf7c000-7f698c07c000 rw-p 00000000 00:00 0
7f698c07c000-7f698c5b2000 rw-p 00000000 00:00 0
7f698c5b2000-7f698c5b3000 ---p 00000000 00:00 0
7f698c5b3000-7f698cdb3000 rw-p 00000000 00:00 0
7f698cdb3000-7f698cdb4000 ---p 00000000 00:00 0
7f698cdb4000-7f69ccdb4000 rwxp 00000000 00:00 0
7f69ccdb4000-7f69ccdb5000 ---p 00000000 00:00 0
7f69ccdb5000-7f69cceb5000 rw-p 00000000 00:00 0
7f69cceb5000-7f69ccebb000 r-xp 00000000 08:02 2623740                    /usr/lib/freecad-daily/lib/Start.so
7f69ccebb000-7f69cd0bb000 ---p 00006000 08:02 2623740                    /usr/lib/freecad-daily/lib/Start.so
7f69cd0bb000-7f69cd0bc000 r--p 00006000 08:02 2623740                    /usr/lib/freecad-daily/lib/Start.soAborted (core dumped)

BR,
HoWil

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10476 (Git)
Build type: None
Branch: master
Hash: b6150097e9cf4d7b0f5ad71f2f8750f2e7aac0d9
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
HoWil
Posts: 442
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Segmentation fault (core dumped) with subtractive sphere

Postby HoWil » Wed Mar 15, 2017 7:54 pm

ps.: I am pretty sure this worked some days ago... i use this as a std-model for my FEM tests
wmayer
Site Admin
Posts: 11337
Joined: Thu Feb 19, 2009 10:32 am

Re: Segmentation fault (core dumped) with subtractive sphere

Postby wmayer » Wed Mar 15, 2017 8:14 pm

Works with:

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10490 (Git)
Build type: Release
Branch: master
Hash: 378f99f1b318202db3bc89b45d691a0376d07512
Python version: 2.7.8
Qt version: 5.6.0
Coin version: 4.0.0a
OCC version: 7.0.0


According to the stack trace it might be an OCC issue.
HoWil
Posts: 442
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Segmentation fault (core dumped) with subtractive sphere

Postby HoWil » Wed Mar 15, 2017 8:25 pm

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10412 (Git)
Build type: Unknown
Branch: femdev
Hash: a45fa4c294ac86e47c2748478dcd147fe639369d
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0

on the same machine with the above version it works too.
User avatar
NormandC
Posts: 12264
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Segmentation fault (core dumped) with subtractive sphere

Postby NormandC » Wed Mar 15, 2017 11:01 pm

Can somebody using a self-compiled OCCT 7.1.0 check? This would allow us to know if it's a packaging issue or an OCCT 7.1.0 issue.
user1234
Posts: 33
Joined: Mon Jul 11, 2016 5:08 pm

Re: Segmentation fault (core dumped) with subtractive sphere

Postby user1234 » Thu Mar 16, 2017 12:21 am

works with:

Code: Select all

OS: Debian GNU/Linux 8.7 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10490 (Git)
Build type: Unknown
Branch: master
Hash: 378f99f1b318202db3bc89b45d691a0376d07512
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0 (self compiled)

test.png
test.png (17.58 KiB) Viewed 232 times

greetings user1234
User avatar
NormandC
Posts: 12264
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Segmentation fault (core dumped) with subtractive sphere

Postby NormandC » Thu Mar 16, 2017 1:46 am

Out of 8 tries (each time quitting and restarting FreeCAD), FreeCAD hanged only once, the other tries succeeded without trouble (although I find the subtractive sphere parameters rather slow to open, about 3-4 seconds). :?

FC017_PD_AddBox_SubSphere_01.png
FC017_PD_AddBox_SubSphere_01.png (52.96 KiB) Viewed 222 times

(freecad-daily PPA)
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10490 (Git)
Build type: None
Branch: master
Hash: 378f99f1b318202db3bc89b45d691a0376d07512
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0


user1234 wrote:works with:

Would you please do exactly what HoWil reported:

HoWil wrote:Extra placement: X: -5mm, Y: -5mm, Z: -5mm

The issue is with the additive box centred on the BodyOrigin.
HoWil
Posts: 442
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Segmentation fault (core dumped) with subtractive sphere

Postby HoWil » Thu Mar 16, 2017 5:33 am

user1234 wrote:works with:

Code: Select all

OS: Debian GNU/Linux 8.7 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10490 (Git)
Build type: Unknown
Branch: master
Hash: 378f99f1b318202db3bc89b45d691a0376d07512
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0 (self compiled)

test.png
greetings user1234

:!: you really have to do the step by step procedure which I listed.
Otherwise it is always fine!
Br
Howil
wmayer
Site Admin
Posts: 11337
Joined: Thu Feb 19, 2009 10:32 am

Re: Segmentation fault (core dumped) with subtractive sphere

Postby wmayer » Thu Mar 16, 2017 8:22 am

@HoWil some questions:
  1. Can you be sure that the version using OCC 7.1 doesn't mix up 7.0 and 7.1 binaries?
  2. Are you sure that the build using OCC 7.1 once worked?
  3. For the build using 7.1 did you have to make any changes in the FreeCAD source code or did it work out of the box? See issue #0001931
User avatar
sgrogan
Posts: 3047
Joined: Wed Oct 22, 2014 5:02 pm

Re: Segmentation fault (core dumped) with subtractive sphere

Postby sgrogan » Thu Mar 16, 2017 12:59 pm

wmayer wrote:For the build using 7.1 did you have to make any changes in the FreeCAD source code or did it work out of the box? See issue #0001931

HoWil is using the PPA for the 7.1 version. We don't make any changes to FreeCAD. I do get SMESH error on Windows when trying to build FreeCAD with 7.1 on windows https://forum.freecadweb.org/viewtopic.php?f=4&t=18748#p158014 vejmarie said he would take a look. The OSX builds have also been using 7.1 for a while.