The tests were using a c_str() result from a std::string that had gone out of scope. GCC 5.1 seems to be more agressive in freeing the string data before the tests checked against it.
Created attachment 117327 [details] [review] Fix tests crashing with GCC 5.1
commit f9d2b4a70b8fd11a5c1d399ce8f4d50ea60e7fbc Author: Robert Ancell <robert.ancell@canonical.com> Date: Fri Jul 24 16:14:11 2015 +1200 Fix tests crashing with GCC 5.1 The tests were using a c_str() result from a std::string that had gone out of scope. GCC 5.1 seems to be more agressive in freeing the string data before the tests checked against it. https://bugs.freedesktop.org/show_bug.cgi?id=91443
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.