[Pkg-haskell-maintainers] Bug#671925: Bug#671925: cabal update fails due to stack space overflow. Stack size can't be increased.

Shérab Sebastien.Hinderer at ens-lyon.org
Wed May 23 14:28:33 UTC 2012


Joey Hess (2012/05/23 10:07 -0400):
> Weird.. 100% used in MAIN but 0% in Main and everything else? 
> Does not make sense to me. I'd go for the type profiling (+RTS -hy -p)

Ah, this time I could reproduce the bug: I was on the wrong network,
that's why it didn't work before...

Here is the profiling info you have asked.

Sherab.

	Wed May 23 16:26 2012 Time and Allocation Profiling Report  (Final)

	   cabal +RTS -hy -p -RTS update

	total time  =        8.27 secs   (8273 ticks @ 1000 us, 1 processor)
	total alloc = 5,692,761,696 bytes  (excludes profiling overheads)

COST CENTRE MODULE  %time %alloc

MAIN        MAIN    100.0  100.0


                                                                       individual     inherited
COST CENTRE MODULE                                   no.     entries  %time %alloc   %time %alloc

MAIN        MAIN                                     250           0  100.0  100.0   100.0  100.0
 CAF        Main                                     499           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Client.Setup                498           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Client.Config               496           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Client.FetchUtils           475           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Client.HttpUtils            470           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Client.BuildReports.Types   442           0    0.0    0.0     0.0    0.0
 CAF        Network.HTTP.Headers                     434           0    0.0    0.0     0.0    0.0
 CAF        Network.HTTP.Base                        433           0    0.0    0.0     0.0    0.0
 CAF        Network.HTTP.Utils                       427           0    0.0    0.0     0.0    0.0
 CAF        Network.BufferType                       425           0    0.0    0.0     0.0    0.0
 CAF        Network.BSD                              421           0    0.0    0.0     0.0    0.0
 CAF        Network.URI                              418           0    0.0    0.0     0.0    0.0
 CAF        Distribution.ParseUtils                  382           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Simple.Setup                372           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Simple.Utils                371           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Simple.Command              359           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Compat.TempFile             336           0    0.0    0.0     0.0    0.0
 CAF        Distribution.Text                        332           0    0.0    0.0     0.0    0.0
 CAF        System.Directory                         324           0    0.0    0.0     0.0    0.0
 CAF        GHC.Conc.Signal                          309           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Encoding                          307           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Exception                         306           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Handle.FD                         304           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.FD                                285           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Encoding.Iconv                    269           0    0.0    0.0     0.0    0.0





More information about the Pkg-haskell-maintainers mailing list