This is looking like a case of the code being miscompiled under
optimisation.  To reproduce, build mediascanner2 using the
"RelWithDebInfo" build type and then run:

    ./test/test_dbus --gtest_filter=*filter_codec

The test program segfaults when calling Variant::as<std::string>() on a
variant that should have been initialised by reading out of a
Message::Reader.

When compiling with the "Debug" build type, the test program completes
without error.

I can probably solve the immediate problem in mediascanner2 by disabling
optimisation for the affected file.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to dbus-cpp in Ubuntu.
https://bugs.launchpad.net/bugs/1621002

Title:
  Mediascanner2 test failure on yakkety/{armhf,arm64,ppc64el} with
  latest dbus-cpp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-cpp/+bug/1621002/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to