{"action":"created","issue":{"url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/235","labels_url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/235/comments","events_url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/235/events","html_url":"https://github.com/Metaswitch/cpp-common/pull/235","id":57036479,"number":235,"title":"Fixes for port to Ubuntu 14.04's tools chain (gcc 4.8.2)","user":{"login":"dtheobald","id":6430927,"avatar_url":"https://avatars.githubusercontent.com/u/6430927?v=3","gravatar_id":"","url":"https://api.github.com/users/dtheobald","html_url":"https://github.com/dtheobald","followers_url":"https://api.github.com/users/dtheobald/followers","following_url":"https://api.github.com/users/dtheobald/following{/other_user}","gists_url":"https://api.github.com/users/dtheobald/gists{/gist_id}","starred_url":"https://api.github.com/users/dtheobald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtheobald/subscriptions","organizations_url":"https://api.github.com/users/dtheobald/orgs","repos_url":"https://api.github.com/users/dtheobald/repos","events_url":"https://api.github.com/users/dtheobald/events{/privacy}","received_events_url":"https://api.github.com/users/dtheobald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-09T14:23:00Z","updated_at":"2015-02-17T14:21:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Metaswitch/cpp-common/pulls/235","html_url":"https://github.com/Metaswitch/cpp-common/pull/235","diff_url":"https://github.com/Metaswitch/cpp-common/pull/235.diff","patch_url":"https://github.com/Metaswitch/cpp-common/pull/235.patch"},"body":"I'm guessing that it was just luck that the code generated by Ubuntu 12.04's tools chain (gcc 4.6.3) got away without having a copy constructor for DnsResult, since the shallow copy performed by the default copy constructor for DnsResult causes a double delete of the pointers stored in the _records vector. Regardless, the double delete causes a crash (sig 11) on loads built with Ubuntu 14.0.4's gcc tool chain. This error prevents an Ubuntu 14.04 built sprout from ever completing its initialization causing an endless crash loop.\r\n\r\nAlso, I had to add support in the test_iterposer for glibc 2.4.0."},"comment":{"url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/comments/74674207","html_url":"https://github.com/Metaswitch/cpp-common/pull/235#issuecomment-74674207","issue_url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/235","id":74674207,"user":{"login":"dtheobald","id":6430927,"avatar_url":"https://avatars.githubusercontent.com/u/6430927?v=3","gravatar_id":"","url":"https://api.github.com/users/dtheobald","html_url":"https://github.com/dtheobald","followers_url":"https://api.github.com/users/dtheobald/followers","following_url":"https://api.github.com/users/dtheobald/following{/other_user}","gists_url":"https://api.github.com/users/dtheobald/gists{/gist_id}","starred_url":"https://api.github.com/users/dtheobald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtheobald/subscriptions","organizations_url":"https://api.github.com/users/dtheobald/orgs","repos_url":"https://api.github.com/users/dtheobald/repos","events_url":"https://api.github.com/users/dtheobald/events{/privacy}","received_events_url":"https://api.github.com/users/dtheobald/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T14:21:14Z","updated_at":"2015-02-17T14:21:14Z","body":"Yes, I too was concerned about all the copying, but I was in \"get it to work\" mode and figured I'd leave it up to PC to decide how to fix it with an eye toward better performance."}}