{"action":"created","issue":{"url":"https://api.github.com/repos/Corvusoft/restbed/issues/286","repository_url":"https://api.github.com/repos/Corvusoft/restbed","labels_url":"https://api.github.com/repos/Corvusoft/restbed/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/Corvusoft/restbed/issues/286/comments","events_url":"https://api.github.com/repos/Corvusoft/restbed/issues/286/events","html_url":"https://github.com/Corvusoft/restbed/issues/286","id":298607153,"node_id":"MDU6SXNzdWUyOTg2MDcxNTM=","number":286,"title":"Http::fetch() causes Segmentation fault","user":{"login":"arteniioleg","id":28860670,"node_id":"MDQ6VXNlcjI4ODYwNjcw","avatar_url":"https://avatars2.githubusercontent.com/u/28860670?v=4","gravatar_id":"","url":"https://api.github.com/users/arteniioleg","html_url":"https://github.com/arteniioleg","followers_url":"https://api.github.com/users/arteniioleg/followers","following_url":"https://api.github.com/users/arteniioleg/following{/other_user}","gists_url":"https://api.github.com/users/arteniioleg/gists{/gist_id}","starred_url":"https://api.github.com/users/arteniioleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arteniioleg/subscriptions","organizations_url":"https://api.github.com/users/arteniioleg/orgs","repos_url":"https://api.github.com/users/arteniioleg/repos","events_url":"https://api.github.com/users/arteniioleg/events{/privacy}","received_events_url":"https://api.github.com/users/arteniioleg/received_events","type":"User","site_admin":false},"labels":[{"id":226550874,"node_id":"MDU6TGFiZWwyMjY1NTA4NzQ=","url":"https://api.github.com/repos/Corvusoft/restbed/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"callum-kirby","id":17439359,"node_id":"MDQ6VXNlcjE3NDM5MzU5","avatar_url":"https://avatars3.githubusercontent.com/u/17439359?v=4","gravatar_id":"","url":"https://api.github.com/users/callum-kirby","html_url":"https://github.com/callum-kirby","followers_url":"https://api.github.com/users/callum-kirby/followers","following_url":"https://api.github.com/users/callum-kirby/following{/other_user}","gists_url":"https://api.github.com/users/callum-kirby/gists{/gist_id}","starred_url":"https://api.github.com/users/callum-kirby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callum-kirby/subscriptions","organizations_url":"https://api.github.com/users/callum-kirby/orgs","repos_url":"https://api.github.com/users/callum-kirby/repos","events_url":"https://api.github.com/users/callum-kirby/events{/privacy}","received_events_url":"https://api.github.com/users/callum-kirby/received_events","type":"User","site_admin":false},"assignees":[{"login":"callum-kirby","id":17439359,"node_id":"MDQ6VXNlcjE3NDM5MzU5","avatar_url":"https://avatars3.githubusercontent.com/u/17439359?v=4","gravatar_id":"","url":"https://api.github.com/users/callum-kirby","html_url":"https://github.com/callum-kirby","followers_url":"https://api.github.com/users/callum-kirby/followers","following_url":"https://api.github.com/users/callum-kirby/following{/other_user}","gists_url":"https://api.github.com/users/callum-kirby/gists{/gist_id}","starred_url":"https://api.github.com/users/callum-kirby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callum-kirby/subscriptions","organizations_url":"https://api.github.com/users/callum-kirby/orgs","repos_url":"https://api.github.com/users/callum-kirby/repos","events_url":"https://api.github.com/users/callum-kirby/events{/privacy}","received_events_url":"https://api.github.com/users/callum-kirby/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Corvusoft/restbed/milestones/6","html_url":"https://github.com/Corvusoft/restbed/milestone/6","labels_url":"https://api.github.com/repos/Corvusoft/restbed/milestones/6/labels","id":2662356,"node_id":"MDk6TWlsZXN0b25lMjY2MjM1Ng==","number":6,"title":"4.7","description":"This release will contain small alterations for build environments and minor bug fixes.","creator":{"login":"ben-crowhurst","id":3715287,"node_id":"MDQ6VXNlcjM3MTUyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/3715287?v=4","gravatar_id":"","url":"https://api.github.com/users/ben-crowhurst","html_url":"https://github.com/ben-crowhurst","followers_url":"https://api.github.com/users/ben-crowhurst/followers","following_url":"https://api.github.com/users/ben-crowhurst/following{/other_user}","gists_url":"https://api.github.com/users/ben-crowhurst/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-crowhurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-crowhurst/subscriptions","organizations_url":"https://api.github.com/users/ben-crowhurst/orgs","repos_url":"https://api.github.com/users/ben-crowhurst/repos","events_url":"https://api.github.com/users/ben-crowhurst/events{/privacy}","received_events_url":"https://api.github.com/users/ben-crowhurst/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":47,"state":"open","created_at":"2017-07-26T07:07:12Z","updated_at":"2018-07-08T06:47:33Z","due_on":"2018-04-30T07:00:00Z","closed_at":null},"comments":4,"created_at":"2018-02-20T14:10:12Z","updated_at":"2018-08-18T11:11:29Z","closed_at":"2018-03-29T23:23:52Z","author_association":"CONTRIBUTOR","body":"This version works fine for us df867a858dddc4cf6ca8642da02720bd65ba239a\r\n\r\nLatest version has this bug d7c56a60481447579c6c45313ac4ee786ba3d450\r\n\r\nThe diff https://github.com/Corvusoft/restbed/compare/df867a858dddc4cf6ca8642da02720bd65ba239a...d7c56a60481447579c6c45313ac4ee786ba3d450\r\n\r\n----\r\n\r\nIn our project we have a test that makes file download, and it fails because of this bug.\r\n\r\nUnfortunately I don't have a demo project to reproduce the problem (maybe later)."},"comment":{"url":"https://api.github.com/repos/Corvusoft/restbed/issues/comments/414050517","html_url":"https://github.com/Corvusoft/restbed/issues/286#issuecomment-414050517","issue_url":"https://api.github.com/repos/Corvusoft/restbed/issues/286","id":414050517,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDA1MDUxNw==","user":{"login":"arteniioleg","id":28860670,"node_id":"MDQ6VXNlcjI4ODYwNjcw","avatar_url":"https://avatars2.githubusercontent.com/u/28860670?v=4","gravatar_id":"","url":"https://api.github.com/users/arteniioleg","html_url":"https://github.com/arteniioleg","followers_url":"https://api.github.com/users/arteniioleg/followers","following_url":"https://api.github.com/users/arteniioleg/following{/other_user}","gists_url":"https://api.github.com/users/arteniioleg/gists{/gist_id}","starred_url":"https://api.github.com/users/arteniioleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arteniioleg/subscriptions","organizations_url":"https://api.github.com/users/arteniioleg/orgs","repos_url":"https://api.github.com/users/arteniioleg/repos","events_url":"https://api.github.com/users/arteniioleg/events{/privacy}","received_events_url":"https://api.github.com/users/arteniioleg/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T11:11:29Z","updated_at":"2018-08-18T11:11:29Z","author_association":"CONTRIBUTOR","body":"This still happens with [master](https://github.com/Corvusoft/restbed/tree/0f8af8d8ed183a88e208adeb22da0080d5d74d1e).\r\n\r\nI decided to update from the version that worked fine for me https://github.com/Corvusoft/restbed/commit/df867a858dddc4cf6ca8642da02720bd65ba239a to latest master. In tests I have `restbed::Http::fetch()` and it fails with segfault.\r\n\r\nAlso after `df867a8` `CMakeLists.txt` was refactored a lot. The biggest disadvantage is the removal of cmake options to prevent building tests and shared library. In order to link with static library I need to do `target_link_libraries(... restbed${CMAKE_STATIC_LIBRARY_SUFFIX})`. So I will stick with `df867a8`. Maybe create a fork and cheery-pick critical updates."}}
{"actor":{"display_login":"arteniioleg"}}