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

macOS tests seg-fault during teardown #7

Closed
1 task done
osrf-migration opened this issue Dec 7, 2018 · 2 comments
Closed
1 task done

macOS tests seg-fault during teardown #7

osrf-migration opened this issue Dec 7, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@osrf-migration
Copy link

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:

Description

Many tests fail on homebrew.

Build Status https://build.osrfoundation.org/view/main/view/ignition/job/ignition_gazebo-ci-default-homebrew-amd64/3/testReport/

Steps to Reproduce

  1. Build ignition-gazebo on homebrew.
  2. Run make test

Expected behavior:

Tests pass on Ubuntu, so they should pass on homebrew too.

Actual behavior:

Tests fail. The console output includes Illegal instruction: 4.

$ bin/INTEGRATION_physics_system 
Running main() from gtest_main.cc
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from PhysicsSystemFixture
[ RUN      ] PhysicsSystemFixture.CreatePhysicsWorld
Error setting socket option (IP_ADD_MEMBERSHIP).
Error setting socket option (IP_ADD_MEMBERSHIP).
Illegal instruction: 4 (core dumped)

I've collected a backtrace and posted it:

It's very long and implicates the destructors of various objects.

Reproduces how often:

100%

Versions

macOS mojave

Additional Information

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


The PhysicsSystemFixture tests are passing on homebrew, has this issue been solved?

https://build.osrfoundation.org/job/ignition_gazebo-ci-default-homebrew-amd64/41/consoleFull

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


  • changed state from "new" to "resolved"

pull request #133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant