Re: [GHC] #3167: Segmentation fault with compacting GC, and multiple threads

2009-04-20 Thread GHC
#3167: Segmentation fault with compacting GC, and multiple threads
-+--
Reporter:  guest |Owner:  
Type:  bug   |   Status:  closed  
Priority:  normal|Milestone:  
   Component:  Runtime System|  Version:  6.8.2   
Severity:  major |   Resolution:  fixed   
Keywords:|   Difficulty:  Unknown 
Testcase:|   Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
-+--
Changes (by simonmar):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => fixed

Comment:

 We fixed some serious parallel execution bugs since 6.8.2.  Please re-open
 if you can reproduce it with 6.10.x.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3167: Segmentation fault with compacting GC, and multiple threads

2009-04-12 Thread GHC
#3167: Segmentation fault with compacting GC, and multiple threads
--+-
 Reporter:  guest |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Milestone:  
Component:  Runtime System|Version:  6.8.2   
 Severity:  major | Resolution:  
 Keywords:|   Testcase:  
   Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
--+-
Changes (by dons):

  * summary:  segmentation fault => Segmentation fault with compacting GC,
  and multiple threads

Comment:

 Can't reproduce this with ghc 6.10.1.

 It allocates about 2G and starts churning away happily:

 {{{
 $ ghc --make -O2 main.hs -threaded -fforce-recomp
 [1 of 1] Compiling Main ( main.hs, main.o )
 Linking main ...

 $ ./main +RTS -A128M -s -c -N4 -RTS 500 500
 ./main 500 500 +RTS -A128M -s -c -N4
 500
 processing 1
 processing 126
 processing 251
 processing 2
 processing 3
 processing 4
 ...
 processing 486
 processing 487
 processing 488
 processing 489
 processing 490
 processing 491
 processing 492
 processing 493
 processing 494
 processing 495
 processing 496
 processing 497
 processing 498
 processing 499
 processing 500
 256

   15,191,954,480 bytes allocated in the heap
1,847,859,512 bytes copied during GC
  738,284,008 bytes maximum residency (12 sample(s))
   15,017,912 bytes maximum slop
 3019 MB total memory in use (47 MB lost due to fragmentation)
   INIT  time0.00s  (  0.03s elapsed)
   MUT   time   42.61s  ( 44.45s elapsed)
   GCtime   32.33s  ( 33.54s elapsed)
   EXIT  time0.00s  (  0.10s elapsed)
   Total time   74.88s  ( 78.03s elapsed)

   %GC time  43.2%  (43.0% elapsed)

   Alloc rate357,005,002 bytes per MUT second

   Productivity  56.8% of total user, 54.5% of total elapsed
 }}}


 Looks like it was fixed in GHC 6.10.x

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs