-
Notifications
You must be signed in to change notification settings - Fork 9
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
Boost 1.68 serialization breaks some Bayeux tests #39
Comments
Testing Boost 1.69, the problem vanishes. |
Also note that PR #37 does not fix the serialization issue because the multiarchive mode gets broken for XML archive with the seekg technique. |
So the best thing to do is to make a try with various archs and compilers to make sure Boost 1.69 is ok. |
I can also reproduce the bug with Boost 1.65.1 and gcc 7.3 on ubuntu 18.04. |
It seems the cause has been identified in boostorg/serialization#104 After many tests with several versions of Boost: 1.63,1.65.1 (default on Ubuntu 18.04), 1.68 and finally 1.69, Passing "-Bsymbolic -Bsymbolic-functions" to the linker should fix the Boost/Serialization crash but I did not test it. So I consider that we should not use Boost 1.65 to 1.68 for Bayeux and bump directly to 1.69 which seems to solve the problem as mentioned in the discussions in boostorg/serialization#104 and boostorg/serialization#131. Of course, the scope of this issue has no effect on the consistency of the data serialized through the Bayeux I/O tools. |
While exploring #36, one face a serious problem with some of Bayeux test programs which involve Boost based serialization (Ubuntu 18.04, GCC 7.3).
The (de)serialization itself processes correctly after a few fixes due to some change in
the management of XML archives. However, when the programs end, a segfault occurs at post-main scope. This is the list of failed tests:
Investigating the crash, we have the following stack trace:
Other tests give similar output.
This looks a problem with the order of destruction of static objects provided by the library.
The text was updated successfully, but these errors were encountered: