{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/2577","labels_url":"https://api.github.com/repos/haskell/cabal/issues/2577/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/2577/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/2577/events","html_url":"https://github.com/haskell/cabal/issues/2577","id":73246619,"number":2577,"title":"Cabal update crashes","user":{"login":"HJvT","id":3925749,"avatar_url":"https://avatars.githubusercontent.com/u/3925749?v=3","gravatar_id":"","url":"https://api.github.com/users/HJvT","html_url":"https://github.com/HJvT","followers_url":"https://api.github.com/users/HJvT/followers","following_url":"https://api.github.com/users/HJvT/following{/other_user}","gists_url":"https://api.github.com/users/HJvT/gists{/gist_id}","starred_url":"https://api.github.com/users/HJvT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HJvT/subscriptions","organizations_url":"https://api.github.com/users/HJvT/orgs","repos_url":"https://api.github.com/users/HJvT/repos","events_url":"https://api.github.com/users/HJvT/events{/privacy}","received_events_url":"https://api.github.com/users/HJvT/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/cabal/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/haskell/cabal/labels/windows","name":"windows","color":"38CF7E"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-05T08:28:20Z","updated_at":"2015-06-17T17:56:52Z","closed_at":null,"body":"On my Windows 8.1, 64 bit system, the cabal-install that comes with MinGHC-7.10.1 crashes when I give command\r\n~~~~\r\ncabal update\r\n~~~~\r\nWhen I run the same command with a cabal-install that I installed myself, the update is successful. Note, that the MinGHC cabal.exe is 32 bit, and the one I compiled myself is 64 bit. The version of both cabal.exes is 1.22.2.0\r\nI had these crashes before, with different versions of cabal-install.\r\nA cabal.exe, compiled with MinGHC-7.10.1 in a sandbox, version 1.22.3.0, 32 bit, runs properly.\r\n\r\nA gdb session:\r\n~~~~\r\n> gdb cabal\r\nGNU gdb (GDB) 7.6.1\r\nCopyright (C) 2013 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"mingw32\".\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>...\r\nReading symbols from C:\\x\\MinGHC-7.10.1\\bin\\cabal.exe...(no debugging symbols found)...done.\r\n(gdb) r update\r\nStarting program: C:\\x\\MinGHC-7.10.1\\bin/cabal.exe update\r\n[New Thread 8296.0x25dc]\r\n[New Thread 8296.0x21d4]\r\n[New Thread 8296.0x6e8]\r\n[New Thread 8296.0x1b44]\r\nDownloading the latest package list from hackage.haskell.org\r\nwarning: Invalid parameter passed to C runtime function.\r\n\r\nwarning: Invalid parameter passed to C runtime function.\r\n\r\nwarning: Invalid parameter passed to C runtime function.\r\n\r\nwarning: Invalid parameter passed to C runtime function.\r\n\r\nwarning: Invalid parameter passed to C runtime function.\r\n\r\nSkipping download: Local and remote files match.\r\n[Inferior 1 (process 8296) exited normally]\r\n(gdb)\r\n~~~~\r\n\r\nWhen I run the self-compiled cabal.exe in gdb, no warning is given.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/112892794","html_url":"https://github.com/haskell/cabal/issues/2577#issuecomment-112892794","issue_url":"https://api.github.com/repos/haskell/cabal/issues/2577","id":112892794,"user":{"login":"LukaHorvat","id":370627,"avatar_url":"https://avatars.githubusercontent.com/u/370627?v=3","gravatar_id":"","url":"https://api.github.com/users/LukaHorvat","html_url":"https://github.com/LukaHorvat","followers_url":"https://api.github.com/users/LukaHorvat/followers","following_url":"https://api.github.com/users/LukaHorvat/following{/other_user}","gists_url":"https://api.github.com/users/LukaHorvat/gists{/gist_id}","starred_url":"https://api.github.com/users/LukaHorvat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukaHorvat/subscriptions","organizations_url":"https://api.github.com/users/LukaHorvat/orgs","repos_url":"https://api.github.com/users/LukaHorvat/repos","events_url":"https://api.github.com/users/LukaHorvat/events{/privacy}","received_events_url":"https://api.github.com/users/LukaHorvat/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T17:56:52Z","updated_at":"2015-06-17T17:56:52Z","body":"I'm willing to do it but I wouldn't know how.\r\nIs this something I could do outside of cabal or would I have to modify cabal's source and recompile?"}}