|
[ ghc-Bugs-1285326 ] scavenge_one: strange object 47: msg#00054lang.haskell.glasgow.bugs
Bugs item #1285326, was opened at 2005-09-08 20:18 Message generated for change (Comment added) made by tuananhbirm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1285326&group_id=8032 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: tuananhbirm (tuananhbirm) Assigned to: Nobody/Anonymous (nobody) Summary: scavenge_one: strange object 47 Initial Comment: Hi, i am running GHC 6.4, in Redhat 9, running sometimes with flag -threaded on. Please look at the file Mult.hs and function: startM1 (17-20) run this function for different inputs (orignially, multiply (1%7) with (0%2)) try to run with : (1%3) and (0%1) (2%3) and (0%1) (1%2) and (0%1) (1%5) and (0%1) Best regards TuanAnh ---------------------------------------------------------------------- >Comment By: tuananhbirm (tuananhbirm) Date: 2005-09-13 09:46 Message: Logged In: YES user_id=1341750 The program is supposed to compute an infinite list, so it would never finish (however i never see the error after 100-150 digits). If you always get the result of [1,0,0,0,0..... , then try with inputs whose denominators are not power of 2 (like (1%3 and 1%3) or (1%3 and 3%5)) ... Best regards TuanAnh ---------------------------------------------------------------------- Comment By: Simon Marlow (simonmar) Date: 2005-09-13 08:47 Message: Logged In: YES user_id=48280 After fixing the bug, I ran the test program for about 30mins and it still hadn't finished. Is there a way to run it for, say, 5 seconds? The fix will be in version 6.4.1. ---------------------------------------------------------------------- Comment By: tuananhbirm (tuananhbirm) Date: 2005-09-12 18:23 Message: Logged In: YES user_id=1341750 what do you mean by "allow it to run for a shorter time" ? btw, how do i use the fixed version of ghc ? (is there a patch for this bug or something similar ? ) Thanks a lot TuanAnh ---------------------------------------------------------------------- Comment By: Simon Marlow (simonmar) Date: 2005-09-12 15:56 Message: Logged In: YES user_id=48280 Fixed now, thanks for a good report. I'd like to use this as a test case - how can I provide inputs that allow it to run for a shorter time? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1285326&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1289569 ] hPutBuf doesn't respect LineBuffering, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1289573 ] mkProtoBCO: stack use won't fit in 16 bits 79141, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-1285326 ] scavenge_one: strange object 47, SourceForge.net |
| Next by Thread: | ghc-pkg --global has strange semantics, Frederik Eaton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |