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
Bugs, which is subscribed to 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
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs