Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #222 (new defect)

Opened 20 months ago

Last modified 18 months ago

Windows installer for Haskell Platform is very slow on adding things to PATH

Reported by: JasonGross Owned by: refold
Priority: major Milestone:
Component: Windows installer Keywords: PATH
Cc: jasongross9@…, headcrabextra@…, arvid.nr@…

Description

HaskellPlatform?-2012.4.0.0-setup.exe is very slow at adding things to PATH. It seemed to take it about 10-15 minutes to add about 5 things to PATH.* What is it doing? It did not seem to be using an unusually high amount of CPU or RAM during this time, though I wasn't watching carefully. If this behavior is expected, it would be nice if "Show Details" gave a more detailed explanation of what it's doing when adding things to path, so I don't worry that it's frozen or having problems.

*My PATH, after installation, is C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;D:\Program Files (x86)\Agda\2.3.0\emacs-23.4-20120219\bin;C:\Program Files (x86)\Haskell\bin;D:\Program Files (x86)\Haskell Platform\2011.4.0.0\lib\extralibs\bin;D:\Program Files (x86)\Haskell Platform\2011.4.0.0\bin;D:\Documents\AppData\Roaming\cabal\bin;D:\Program Files (x86)\Haskell\bin;D:\Program Files (x86)\Haskell Platform\2012.2.0.0\lib\extralibs\bin;D:\Program Files (x86)\Haskell Platform\2012.2.0.0\bin;D:\Program Files (x86)\OCaml\bin;D:\Tcl\bin;D:\OCaml\bin;D:\Program Files (x86)\Vim\vim73\;D:\Python27\;D:\opt\gtk\bin;D:\opt\bin;D:\opt\bin\scan-view;D:\opt\bin\scan-build;D:\Program Files (x86)\MiKTeX 2.9\miktex\bin;D:\cygwin\bin;D:\cygwin\usr\bin;D:\cygwin\sbin;D:\cygwin\usr\sbin;D:\cygwin\usr\local\bin;D:\cygwin\usr\local\sbin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\WinSCP\;D:\Program Files (x86)\Asymptote;C:\Program Files (x86)\PharosSystems\Core;C:\Program Files\Broadcom\Broadcom 802.11\Driver;D:\Program Files\MATLAB\R2011b\bin;D:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\CommonFiles\Microsoft Shared\Windows Live;D:\Program Files (x86)\HaskellPlatform\2009.2.0.2\extralibs\bin;D:\Tools;D:\Program Files (x86)\Dr. Memory\bin;D:\Program Files (x86)\Coq\bin;D:\Program Files\TortoiseHg\;D:\Program Files (x86)\Mercurial\;D:\Program Files (x86)\Calibre2\;C:\Program Files (x86)\Windows Live\Shared;C:\Users\Jason Gross\AppData\Roaming\cabal\bin;D:\Program Files (x86)\Haskell Platform\2012.4.0.0\bin

Attachments

bug.png (34.7 kB) - added by Vorpal 18 months ago.
Screenshot of thread stacks (from Process Explorer) when the bugs happen

Change History

Changed 20 months ago by JasonGross

  • cc jasongross9@… added
  • summary changed from Windows installation of Haskell Platform is very slow on adding things to PATH to Windows installer for Haskell Platform is very slow on adding things to PATH

Changed 19 months ago by refold

Weird. Will try to reproduce.

Changed 18 months ago by 0426ba9aba

  • cc headcrabextra@… added
  • keywords PATH added

I have the same problem with Haskell Platform 2013.2.0.0 setup. It installed all components and then got stuck with the last line "Target was prepended to PATH" for like 5 minutes, then another same line appeared. It's still installing now and I am not sure if it will finish. My OS is Windows 8 x64.

Changed 18 months ago by PeterisP

Reproducable for me as well - at first, it happened when uninstalling a previous version of HP - very long delay (10 minutes?) between each 'target removed from PATH' message; and right now it's happening on HP 2013.2 install.

Win 7 system. Has a lot of stuff installed; but previous mentions of Haskell Platform were uninstalled before this bug occuring.

Changed 18 months ago by Vorpal

I had this happen to me today. Haskell has never before been installed on this system. The system is running 64-bit Windows 7 Professional. It isn't the computer being slow, it is a fairly powerful gaming PC.

Changed 18 months ago by Vorpal

Screenshot of thread stacks (from Process Explorer) when the bugs happen

Changed 18 months ago by Vorpal

  • cc arvid.nr@… added

I decided to take a look at the installer in process explorer when this was happening and it appears both threads are doing pretty much nothing. I have attached a screenshot, should the addresses inside the installer be of any use to you.

Note: See TracTickets for help on using tickets.