-
Notifications
You must be signed in to change notification settings - Fork 102
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
bad_any_cast after Element::GetAny with gz11 on homebrew #202
Comments
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). disabling failed tests in pull request #511 |
it looks like this is fixed in macOS catalina? |
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Nov 7, 2020
Signed-off-by: Steve Peters <[email protected]>
This has been fixed in Xcode 12+ available on macOS 10.15 Catalina |
scpeters
added a commit
that referenced
this issue
Nov 8, 2020
…414) Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Nov 8, 2020
…workflow (gazebosim#414) Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Nov 8, 2020
…workflow (gazebosim#414) Signed-off-by: Steve Peters <[email protected]>
tests enabled for Xcode 12+ in #414 |
scpeters
added a commit
that referenced
this issue
Nov 10, 2020
…414) Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Dec 14, 2020
…workflow (gazebosim#414) Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Dec 15, 2020
…atalina workflow (gazebosim#414)" This reverts commit 0e77816.
this was passing CI and now it's failing; I don't know why, but I'm disabling the tests again |
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Dec 15, 2020
This reverts part of commit 0e77816. Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Dec 15, 2020
This reverts part of commit 0e77816. Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
that referenced
this issue
Dec 15, 2020
This reverts part of commit 0e77816. Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Dec 15, 2020
) This reverts part of commit 0e77816. Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Dec 15, 2020
…workflow (gazebosim#414) Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
to scpeters/sdformat
that referenced
this issue
Dec 15, 2020
) This reverts part of commit 0e77816. Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
that referenced
this issue
Dec 15, 2020
…414) Signed-off-by: Steve Peters <[email protected]>
scpeters
added a commit
that referenced
this issue
Dec 15, 2020
This reverts part of commit 0e77816. Signed-off-by: Steve Peters <[email protected]>
chapulina
pushed a commit
that referenced
this issue
Dec 24, 2020
This reverts part of commit 0e77816. Signed-off-by: Steve Peters <[email protected]>
azeey
pushed a commit
that referenced
this issue
Dec 24, 2020
This reverts part of commit 0e77816. Signed-off-by: Steve Peters <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
There are two failing tests for the
gz11
branch on macOS mojave.I started by investigating the
GetAny
test failure fromUNIT_SDF_TEST
, which failed at line 418, which occurs when astd::bad_any_cast
is thrown after callingstd::any_cast<ignition::math::Pose3d>(anyValue)
. I added some print statements to confirm thatanyValue
should have the right type:which gives the following output, showing that the types have matching names, but different
hash_code
s.After some googling, I found an issue with clang with a reproducible test case (that was originally reported on stackoverflow). I think it's an issue with
std::any
in clang, because the reproducible test case works with gcc or if you switch fromstd::any
toboost::any
.I think we see the issue because
ignition::math::Pose3d
is a template type, and it may be seeing different versions of of that type from different shared libraries and not recognizing that they are the same. I have requested a llvm.org account so that I can comment on that issue.The text was updated successfully, but these errors were encountered: