Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCE 0.16.1 Tests segfaulting with GCC 6.0.0 #605

Closed
hobbes1069 opened this issue Feb 3, 2016 · 8 comments
Closed

OCE 0.16.1 Tests segfaulting with GCC 6.0.0 #605

hobbes1069 opened this issue Feb 3, 2016 · 8 comments

Comments

@hobbes1069
Copy link

I'm assuming this is a GCC 6.0 issue since this wasn't happening before.

Here's the list of failed tests:

19:IGESImportTestSuite.testImportIGES_1
22:STEPImportTestSuite.testImportAP203_1
23:STEPImportTestSuite.testImportAP203_2
24:STEPImportTestSuite.testImportAP214_1
25:STEPImportTestSuite.testImportAP214_2
26:STEPImportTestSuite.testImportAP214_3
29:BRepOffsetAPITestSuite.testEvolvedShape
30:BRepOffsetAPITestSuite.testOffsetBox
31:BRepImportTestSuite.testImportBRep1
32:BRepImportTestSuite.testImportBRep2
33:BRepImportTestSuite.testImportBRep3
34:BRepImportTestSuite.testImportBRep4
37:BRepMeshTestSuite.testMeshTorus

The full testlog is here:
https://dl.dropboxusercontent.com/u/34775202/LastTest.log

And the stack trace of one of the tests:
https://dl.dropboxusercontent.com/u/34775202/BRepImport_test_gdb.txt

@ghost
Copy link

ghost commented Feb 3, 2016

Is GCC 6 even considered stable yet?

@hobbes1069
Copy link
Author

I'd have to ask but Fedora Rawhide (future 24 version) is rebuilding all packages against it.

@hobbes1069
Copy link
Author

I tried adding "-fno-delete-null-pointer-checks" to the test binaries per google/googletest#705 but no luck, but I only added it to the binaries, not the test library.

@hobbes1069
Copy link
Author

Adding "-fno-delete-null-pointer-checks" as a global CXXFLAG worked but it's still just a work around.

@tpaviot
Copy link
Owner

tpaviot commented Feb 17, 2016

@hobbes1069 it might be related to issue #604 and #576 . clang used to perform optimizations that makes oce segfault, maybe it's the same with recent gcc versions. Don't know if it's possible to cherry-pick commit 61cb965 that fixes this issue over oce-0.17 but i's worth trying.

@hobbes1069
Copy link
Author

It applied cleanly to 0.17 so I'm doing a test build however Fedora is still stuck on 0.16.1 until smesh is updated. Hopefully it applies cleanly to it as well. Thanks for the pointer.

@hobbes1069
Copy link
Author

On a side note, does this fix create an ABI change? If so I'll need to rebuild all dependencies.

@hobbes1069
Copy link
Author

I went ahead and did a new build. Everything seems OK but the ARM build is still going, but that's to be expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants