|
Re: [GHC] #770: Huge array leads to various crashes: msg#00060lang.haskell.glasgow.bugs
Hello GHC, Friday, May 12, 2006, 2:48:41 PM, you wrote: > Component: Runtime System | Version: 6.5 > 20:32 dons:: > array (minBound,maxBound) (zip [0..] (repeat ())) :: > Array Int () i'm pretty sure that it's a bug in array library, because it first constructs array of 2^31*4 = 0 bytes (modulo 2^32), and then tries to use unsafe indexing operations on it. moreover, 6.4 should suffice form the same problem ... well, i wrote about problem for unboxed arrays (i should test it), while you reported bug in boxed arrays what is a really problem in GHC's newArray# implementation -- Best regards, Bulat mailto:Bulat.Ziganshin@xxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GHC] #770: Huge array leads to various crashes, GHC |
|---|---|
| Next by Date: | [GHC] #771: GHC typing too constrained, GHC |
| Previous by Thread: | [GHC] #770: Huge array leads to various crashes, GHC |
| Next by Thread: | Re: [GHC] #770: Huge array leads to various crashes, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |