{"action":"created","issue":{"url":"https://api.github.com/repos/ALPSCore/ALPSCore/issues/446","repository_url":"https://api.github.com/repos/ALPSCore/ALPSCore","labels_url":"https://api.github.com/repos/ALPSCore/ALPSCore/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/ALPSCore/ALPSCore/issues/446/comments","events_url":"https://api.github.com/repos/ALPSCore/ALPSCore/issues/446/events","html_url":"https://github.com/ALPSCore/ALPSCore/pull/446","id":293325049,"number":446,"title":"ALEA: stream_serializer, a result serialization plugin","user":{"login":"krivenko","id":1328321,"avatar_url":"https://avatars1.githubusercontent.com/u/1328321?v=4","gravatar_id":"","url":"https://api.github.com/users/krivenko","html_url":"https://github.com/krivenko","followers_url":"https://api.github.com/users/krivenko/followers","following_url":"https://api.github.com/users/krivenko/following{/other_user}","gists_url":"https://api.github.com/users/krivenko/gists{/gist_id}","starred_url":"https://api.github.com/users/krivenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krivenko/subscriptions","organizations_url":"https://api.github.com/users/krivenko/orgs","repos_url":"https://api.github.com/users/krivenko/repos","events_url":"https://api.github.com/users/krivenko/events{/privacy}","received_events_url":"https://api.github.com/users/krivenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-01-31T21:52:38Z","updated_at":"2018-02-15T20:34:37Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/ALPSCore/ALPSCore/pulls/446","html_url":"https://github.com/ALPSCore/ALPSCore/pull/446","diff_url":"https://github.com/ALPSCore/ALPSCore/pull/446.diff","patch_url":"https://github.com/ALPSCore/ALPSCore/pull/446.patch"},"body":"This plugin should allow for Boost/HPX serialization of `*_result<T>` types.\r\nTo enable the plugin for all supported ALEA result types in an HPX application one must include `alps/alea/plugin/stream_serializer.hpp` as follows,\r\n\r\n```c++\r\n#include <hpx/runtime/serialization/serialize.hpp>\r\n#include <hpx/runtime/serialization/complex.hpp>\r\n\r\n#include <alps/alea/plugin/stream_serializer.hpp>\r\n\r\nnamespace alps { namespace alea {\r\nHPX_SERIALIZATION_SPLIT_FREE_TEMPLATE((template <typename T>), (mean_result<T>));\r\nHPX_SERIALIZATION_SPLIT_FREE_TEMPLATE((template <typename T>), (var_result<T>));\r\nHPX_SERIALIZATION_SPLIT_FREE_TEMPLATE((template <typename T>), (cov_result<T>));\r\nHPX_SERIALIZATION_SPLIT_FREE_TEMPLATE((template <typename T>), (autocorr_result<T>));\r\nHPX_SERIALIZATION_SPLIT_FREE_TEMPLATE((template <typename T>), (batch_result<T>));\r\n}}\r\n```"},"comment":{"url":"https://api.github.com/repos/ALPSCore/ALPSCore/issues/comments/366053195","html_url":"https://github.com/ALPSCore/ALPSCore/pull/446#issuecomment-366053195","issue_url":"https://api.github.com/repos/ALPSCore/ALPSCore/issues/446","id":366053195,"user":{"login":"kleinhenz","id":3384785,"avatar_url":"https://avatars0.githubusercontent.com/u/3384785?v=4","gravatar_id":"","url":"https://api.github.com/users/kleinhenz","html_url":"https://github.com/kleinhenz","followers_url":"https://api.github.com/users/kleinhenz/followers","following_url":"https://api.github.com/users/kleinhenz/following{/other_user}","gists_url":"https://api.github.com/users/kleinhenz/gists{/gist_id}","starred_url":"https://api.github.com/users/kleinhenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleinhenz/subscriptions","organizations_url":"https://api.github.com/users/kleinhenz/orgs","repos_url":"https://api.github.com/users/kleinhenz/repos","events_url":"https://api.github.com/users/kleinhenz/events{/privacy}","received_events_url":"https://api.github.com/users/kleinhenz/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T20:34:37Z","updated_at":"2018-02-15T20:34:37Z","author_association":"COLLABORATOR","body":"On mac with clang 5.0.1 `stream_serializer` test immediately aborts with `libc++abi.dylib: terminating with uncaught foreign exception`.\r\n\r\nstack trace:\r\n\r\n```\r\nframe #6: 0x00007fff6c9b7850 libc++abi.dylib`std::terminate() + 64\r\n    frame #7: 0x000000010000531b stream_serializer`__clang_call_terminate + 11\r\n    frame #8: 0x0000000100004a21 stream_serializer`twogauss_serialize_case_MockArchive_Test::TestBody() + 1025\r\n    frame #9: 0x00000001006b7e98 libgtest.dylib`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 72\r\n    frame #10: 0x00000001006b7d6e libgtest.dylib`testing::Test::Run() + 334\r\n    frame #11: 0x00000001006b8fe0 libgtest.dylib`testing::TestInfo::Run() + 304\r\n    frame #12: 0x00000001006b99c7 libgtest.dylib`testing::TestCase::Run() + 311\r\n    frame #13: 0x00000001006c2617 libgtest.dylib`testing::internal::UnitTestImpl::RunAllTests() + 1207\r\n    frame #14: 0x00000001006c1fc8 libgtest.dylib`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 72\r\n    frame #15: 0x00000001006c1f37 libgtest.dylib`testing::UnitTest::Run() + 167\r\n    frame #16: 0x000000010039df31 libgtest_main.dylib`main + 49\r\n    frame #17: 0x00007fff6e914115 libdyld.dylib`start + 1\r\n    frame #18: 0x00007fff6e914115 libdyld.dylib`start + 1\r\n```"}}
{"actor":{"display_login":"kleinhenz"}}