{"action":"created","issue":{"url":"https://api.github.com/repos/bagder/curl/issues/416","labels_url":"https://api.github.com/repos/bagder/curl/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/bagder/curl/issues/416/comments","events_url":"https://api.github.com/repos/bagder/curl/issues/416/events","html_url":"https://github.com/bagder/curl/issues/416","id":105343538,"number":416,"title":"libcurl crash in android cause Curl_cookie_add {free(clist->name);}","user":{"login":"KingsleyYau","id":4715428,"avatar_url":"https://avatars.githubusercontent.com/u/4715428?v=3","gravatar_id":"","url":"https://api.github.com/users/KingsleyYau","html_url":"https://github.com/KingsleyYau","followers_url":"https://api.github.com/users/KingsleyYau/followers","following_url":"https://api.github.com/users/KingsleyYau/following{/other_user}","gists_url":"https://api.github.com/users/KingsleyYau/gists{/gist_id}","starred_url":"https://api.github.com/users/KingsleyYau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingsleyYau/subscriptions","organizations_url":"https://api.github.com/users/KingsleyYau/orgs","repos_url":"https://api.github.com/users/KingsleyYau/repos","events_url":"https://api.github.com/users/KingsleyYau/events{/privacy}","received_events_url":"https://api.github.com/users/KingsleyYau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bagder/curl/labels/HTTP","name":"HTTP","color":"207de5"},{"url":"https://api.github.com/repos/bagder/curl/labels/needs-info-or-update","name":"needs-info-or-update","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"bagder","id":177011,"avatar_url":"https://avatars.githubusercontent.com/u/177011?v=3","gravatar_id":"","url":"https://api.github.com/users/bagder","html_url":"https://github.com/bagder","followers_url":"https://api.github.com/users/bagder/followers","following_url":"https://api.github.com/users/bagder/following{/other_user}","gists_url":"https://api.github.com/users/bagder/gists{/gist_id}","starred_url":"https://api.github.com/users/bagder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagder/subscriptions","organizations_url":"https://api.github.com/users/bagder/orgs","repos_url":"https://api.github.com/users/bagder/repos","events_url":"https://api.github.com/users/bagder/events{/privacy}","received_events_url":"https://api.github.com/users/bagder/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-09-08T09:55:47Z","updated_at":"2015-09-25T11:36:30Z","closed_at":null,"body":"Using libcurl in Android\r\ncrash in \r\n~~~\r\n/* then free all the old pointers */\r\nfree(clist->name);\r\n~~~\r\nversion:curl-7.42.0\r\n\r\ncore stack:\r\n~~~\r\n 4  libhttprequest.so!Curl_cookie_add [cookie.c : 826 + 0xb]\r\n     sp = 0x62deb678    pc = 0x60a050d5\r\n    Found by: stack scanning\r\n 5  libhttprequest.so!Curl_cookie_init [cookie.c : 941 + 0xb]\r\n     r4 = 0x60e59308    r5 = 0x00000000    r6 = 0x5d52ae00    r7 = 0x40211e34\r\n     r8 = 0x60e73eb8    r9 = 0x60b3cd6c   r10 = 0x60b85cd0    fp = 0x00000001\r\n     sp = 0x62debb00    pc = 0x60a05b3f\r\n    Found by: call frame info\r\n 6  libhttprequest.so!Curl_cookie_loadfiles [cookie.c : 265 + 0xf]\r\n     r4 = 0x60e73eb8    r5 = 0x63767330    r6 = 0x60b3cd78    r7 = 0x60e7c3b8\r\n     r8 = 0x60e73eb8    r9 = 0x62debb88   r10 = 0x60b3b9b4    fp = 0x60e7c505\r\n     sp = 0x62debb30    pc = 0x60a05c37\r\n    Found by: call frame info\r\n 7  libhttprequest.so!Curl_pretransfer [transfer.c : 1322 + 0x5]\r\n     r4 = 0x60e73eb8    r5 = 0x00000000    r6 = 0x60e7c4b8    r7 = 0x60e7c3b8\r\n     r8 = 0x60e73eb8    r9 = 0x62debb88   r10 = 0x60b3b9b4    fp = 0x60e7c505\r\n     sp = 0x62debb40    pc = 0x60a11021\r\n    Found by: call frame info\r\n 8  libhttprequest.so!multi_runsingle [multi.c : 1044 + 0x5]\r\n     r3 = 0xfffffffd    r4 = 0x63767720    r5 = 0x00000000    r6 = 0x60b3ba04\r\n     r7 = 0x00000000    r8 = 0x60e73eb8    r9 = 0x62debb88   r10 = 0x60b3b9b4\r\n     fp = 0x60e7c505    sp = 0x62debb58    pc = 0x60a00a4d\r\n    Found by: call frame info\r\n 9  libhttprequest.so!curl_multi_perform [multi.c : 1791 + 0xb]\r\n     r4 = 0x60e73eb8    r5 = 0x60e7c540    r6 = 0x62debbcc    r7 = 0x63767720\r\n     r8 = 0x00000000    r9 = 0x62debbd4   r10 = 0x62debc24    fp = 0x62debc24\r\n     sp = 0x62debbc8    pc = 0x60a01333\r\n    Found by: call frame info\r\n10  libhttprequest.so!curl_easy_perform [easy.c : 715 + 0x7]\r\n     r4 = 0x63767720    r5 = 0x60e73eb8    r6 = 0x62debc2c    r7 = 0x62debc28\r\n     r8 = 0x00000000    r9 = 0x00000001   r10 = 0x62debc34    fp = 0x62debc24\r\n     sp = 0x62debc10    pc = 0x609fe25f\r\n    Found by: call frame info\r\n11  libhttprequest.so!HttpClient::Request [HttpClient.cpp : 411 + 0x3]\r\n     r4 = 0x62debd0c    r5 = 0x62debcf4    r6 = 0x62debcb4    r7 = 0x62debcb0\r\n     r8 = 0x00000000    r9 = 0x638c6358   r10 = 0x638c6358    fp = 0x638c6240\r\n     sp = 0x62debc78    pc = 0x609f6003\r\n    Found by: call frame info\r\n12  libhttprequest.so!HttpRequestRunnable::onRun [HttpRequest.cpp : 22 + 0x3]\r\n     r4 = 0x40208384    r5 = 0x60e37a20    r6 = 0x638c63a8    r7 = 0x638c62c0\r\n     r8 = 0x609f8a61    r9 = 0x62cee000   r10 = 0x638c62cc    fp = 0x402062ec\r\n     sp = 0x62debd50    pc = 0x60999c87\r\n~~~"},"comment":{"url":"https://api.github.com/repos/bagder/curl/issues/comments/143192279","html_url":"https://github.com/bagder/curl/issues/416#issuecomment-143192279","issue_url":"https://api.github.com/repos/bagder/curl/issues/416","id":143192279,"user":{"login":"bagder","id":177011,"avatar_url":"https://avatars.githubusercontent.com/u/177011?v=3","gravatar_id":"","url":"https://api.github.com/users/bagder","html_url":"https://github.com/bagder","followers_url":"https://api.github.com/users/bagder/followers","following_url":"https://api.github.com/users/bagder/following{/other_user}","gists_url":"https://api.github.com/users/bagder/gists{/gist_id}","starred_url":"https://api.github.com/users/bagder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagder/subscriptions","organizations_url":"https://api.github.com/users/bagder/orgs","repos_url":"https://api.github.com/users/bagder/repos","events_url":"https://api.github.com/users/bagder/events{/privacy}","received_events_url":"https://api.github.com/users/bagder/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T11:36:30Z","updated_at":"2015-09-25T11:36:30Z","body":"I'm sorry but without more specific details I will close this issue soon."}}