dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #39351
[Bug 1609793] Re: Unity tests crashes when compiling google-mocks with gcc-6
** Patch added: "google-mock-gcc6-action-result-holder-crash-fix.patch"
https://bugs.launchpad.net/ubuntu/+source/google-mock/+bug/1609793/+attachment/4714014/+files/google-mock-gcc6-action-result-holder-crash-fix.patch
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to google-mock in Ubuntu.
https://bugs.launchpad.net/bugs/1609793
Title:
Unity tests crashes when compiling google-mocks with gcc-6
Status in google-mock package in Ubuntu:
In Progress
Bug description:
Ubuntu Unity tests fails when using gcc-6, because test-gtest causes a
crash.
Starting program: /tmp/unity-7.5.0+16.10.20160804/obj-x86_64-linux-gnu/tests/test-gtest
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe0f1d700 (LWP 22778)]
[New Thread 0x7fffdbfff700 (LWP 22779)]
[New Thread 0x7fffdb7fe700 (LWP 22780)]
[==========] Running 1637 tests from 105 test cases.
[----------] Global test environment set-up.
[----------] 14 tests from TestActionLink
[ RUN ] TestActionLink.AligmentCorrectlySetDifferent
Thread 1 "test-gtest" received signal SIGSEGV, Segmentation fault.
testing::internal::FunctionMockerBase<void ()>::InvokeWith(std::tuple<> const&) (args=empty std::tuple, this=0x7fffffffdb08)
at /usr/include/gmock/gmock-spec-builders.h:1530
1530 this->UntypedInvokeWith(&args))->GetValueAndDelete();
#0 testing::internal::FunctionMockerBase<void ()>::InvokeWith(std::tuple<> const&) (args=empty std::tuple, this=0x7fffffffdb08)
at /usr/include/gmock/gmock-spec-builders.h:1530
No locals.
#1 testing::internal::FunctionMocker<void ()>::Invoke() (this=0x7fffffffdb08) at /usr/include/gmock/gmock-generated-function-mockers.h:76
No locals.
#2 unity::dash::ActionLinkMock::QueueDraw (this=0x7fffffffd3c0) at /tmp/unity-7.5.0+16.10.20160804/tests/test_action_link.cpp:43
No locals.
#3 0x00005555559ce574 in unity::dash::ActionLink::set_underline (this=0x7fffffffd3c0, underline=unity::StaticCairoText::NUX_UNDERLINE_NONE)
at /tmp/unity-7.5.0+16.10.20160804/tests/../dash/previews/ActionLink.cpp:218
No locals.
#4 0x00005555559d53bf in std::function<bool (unity::StaticCairoText::UnderlineState const&)>::operator()(unity::StaticCairoText::UnderlineState const&) const (__args#0=<optimized out>, this=0x7fffffffda00) at /usr/include/c++/6/functional:2136
No locals.
#5 nux::RWProperty<unity::StaticCairoText::UnderlineState>::Set (this=0x7fffffffd9c8, value=<optimized out>)
at /usr/include/Nux-4.0/NuxCore/Property-inl.h:218
No locals.
#6 0x00005555559d0c31 in unity::dash::TestActionLink_UnderlineCorrectlySetDifferent_Test::TestBody (this=<optimized out>)
at /tmp/unity-7.5.0+16.10.20160804/tests/test_action_link.cpp:116
A fix is available at https://github.com/google/googletest/issues/705#issuecomment-235067917
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/google-mock/+bug/1609793/+subscriptions
References