{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7674","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7674/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7674/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7674/events","html_url":"https://github.com/bitcoin/bitcoin/issues/7674","id":140476084,"number":7674,"title":"Bitcoin Core 0.12.0 randomly crashes at launch on WinXP SP3","user":{"login":"RachelPriss","id":17809851,"avatar_url":"https://avatars.githubusercontent.com/u/17809851?v=3","gravatar_id":"","url":"https://api.github.com/users/RachelPriss","html_url":"https://github.com/RachelPriss","followers_url":"https://api.github.com/users/RachelPriss/followers","following_url":"https://api.github.com/users/RachelPriss/following{/other_user}","gists_url":"https://api.github.com/users/RachelPriss/gists{/gist_id}","starred_url":"https://api.github.com/users/RachelPriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RachelPriss/subscriptions","organizations_url":"https://api.github.com/users/RachelPriss/orgs","repos_url":"https://api.github.com/users/RachelPriss/repos","events_url":"https://api.github.com/users/RachelPriss/events{/privacy}","received_events_url":"https://api.github.com/users/RachelPriss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Windows","name":"Windows","color":"880000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-03-13T11:08:51Z","updated_at":"2016-03-24T14:12:21Z","closed_at":null,"body":"Here's a debug.log fragment:\r\n\r\n[http://pastebin.com/u14vGP5z](url)\r\n\r\nSometimes the app _don't_ crash and running normally. But mostly not.\r\n\r\nPrevious version (0.11.2) works fine."},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/200854315","html_url":"https://github.com/bitcoin/bitcoin/issues/7674#issuecomment-200854315","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7674","id":200854315,"user":{"login":"laanwj","id":126646,"avatar_url":"https://avatars.githubusercontent.com/u/126646?v=3","gravatar_id":"","url":"https://api.github.com/users/laanwj","html_url":"https://github.com/laanwj","followers_url":"https://api.github.com/users/laanwj/followers","following_url":"https://api.github.com/users/laanwj/following{/other_user}","gists_url":"https://api.github.com/users/laanwj/gists{/gist_id}","starred_url":"https://api.github.com/users/laanwj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laanwj/subscriptions","organizations_url":"https://api.github.com/users/laanwj/orgs","repos_url":"https://api.github.com/users/laanwj/repos","events_url":"https://api.github.com/users/laanwj/events{/privacy}","received_events_url":"https://api.github.com/users/laanwj/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T14:12:21Z","updated_at":"2016-03-24T14:12:21Z","body":"That's unfortunate. Without knowing where the call comes from there is very little to do.\r\n\r\nThese are some pointers when googling for crashes in that function, maybe useful to someone:\r\n\r\n- https://sourceforge.net/p/mingw-w64/bugs/307/\r\n- https://stackoverflow.com/questions/17189306/how-to-trigger-mingw-to-link-msvcr100-dll-instead-of-the-msvcr-dll-within-th\r\n- https://trac.torproject.org/projects/tor/ticket/9084 (\"TBB 3.0a1 crashes on startup on WinXP \")\r\n\r\nNote that the last item, Tor Browser Bundle's gitian has a workaround to link against `msvcrt100.dll` instead of `msvcrt.dll`\r\n```\r\n  # We don't want to link against msvcrt.dll due to bug 9084.\r\n  i686-w64-mingw32-g++ -dumpspecs > msvcr100.spec\r\n  sed 's/msvcrt/msvcr100/' -i msvcr100.spec\r\n```\r\nAnd it seems we link against msvcrt.dll as well:\r\n```\r\nobjdump -x bitcoin-qt.exe|grep DLL\r\n...\r\n        DLL Name: msvcrt.dll\r\n...\r\n```\r\nI don't have time to investigate this further, but maybe this helps someone.\r\n"}}