#84: Unnecessary "Control stack overflow"
-+--
Reporter: guest | Owner: nobody
Type: defect | Status: closed
Priority: major | Milestone:
#84: Unnecessary "Control stack overflow"
+---
Reporter: guest | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
#80: A curious stack overflow problem
--+-
Reporter: guest| Owner: nobody
Type: defect | Status: closed
Priority: major| Milestone:
Component: hugs | Version: 200609
#80: A curious stack overflow problem
+---
Reporter: guest | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: hugs| Version: 200609
Keywords
i should have mentioned that Prelude.span is less strict, so:
span p l = span' p l id
where
span' p [] = \c->c ([],[])
span' p xs@(x:xs')
| p x = span' p xs' . (\c (a,b)->c (x:a,b))
| otherwise = \c->c ([],xs)
-- Prelude.span fails, span succeeds
test1 span = span (/=' ')
With the expression: words (repeat 'a')
Using WinHugs Sep 06 I get a stack overflow.
Using Hugs Linux May 06 I get a GC fails to reclaim sufficient space error
Using GHC and Yhc both of these succeed.
I have a similar issue in one of my functions which is showing the
same
Hi
With the expression: words (repeat 'a')
Using WinHugs Sep 06 I get a stack overflow.
Using Hugs Linux May 06 I get a GC fails to reclaim sufficient space error
Using GHC and Yhc both of these succeed.
I have a similar issue in one of my functions which is showing the
same
Hi there,
thanks for the bug report. No, this wasn't a known one, WinHugs'
evaluator thread didn't have an exception filter set up to catch
the stack overflow. It does now, making the behaviour uniform
across both versions of Hugs.
--sigbjorn
- Original Message -
Fro
Hi,
I am new to Haskell and functional programming in general, but I think
that I have found a bug in Winhugs.
When I call "wurzel 5" in the "dos-mode"-hugs after loading the attached
file I get "ERROR - C stack overflow", which is ok. Winhugs crashes in
the same
Hi,
you don't say what version of Hugs you're using, nor on
what platform, but when I run your repro code with the
Dec 2001 release on a Win2k box, the garbage collector
runs out of heap space & complains.
There are programs (and heap sizes) for which the garbage
collector will blow the C stack,
Hi Gustav,
Gustav> Hello, I think I've found a bug in Hugs 98 (February 2001
Gustav> version). Hugs crashes (Stack Overflow) whenever I try to
Gustav> execute the following piece of code:
Gustav> f a b = f (f' a b) b
that's OK. Function f has two ba
Hello,
I think I've found a bug in Hugs 98 (February 2001
version). Hugs crashes (Stack Overflow) whenever I try to execute the following
piece of code (well I know, the code is not very useful, it came from a typo):
--
f :: Int -> Int ->
Intf a b = f (f&
(both november 1999 and pre 201 releases)
> module Main where
> import Random
> symbols i = take 1 $ drop 417 $ map show $ (randoms (mkStdGen i):: [Int])
> main = putStr $ show $ symbols 1
I was wondering why there's a control stack overflow, and whether I'm
doing
someth
Klemens Hemm wrote:
>
> the :++ infix definition causes the derived read parser to loop until control stack
>overflow in hugs may99.
>
> module Main where
>
> data T = T1 | T :++ T deriving (Eq,Show, Read)
>
> t :: T
> t = read "T1"
>
>
the :++ infix definition causes the derived read parser to loop until control stack
overflow in hugs may99.
module Main where
data T = T1 | T :++ T deriving (Eq,Show, Read)
t :: T
t = read "T1"
main = print t
Klemens
| Conal Elliott <[EMAIL PROTECTED]> asks:
| > Re: ERROR: Control stack overflow
| > Would it be reasonably easy for Hugs to give some more information in
| > these situations? - Conal
|
| I think this would be pretty hard to do.
| To make sense of the control stack, I think you
Conal Elliott <[EMAIL PROTECTED]> asks:
> Re: ERROR: Control stack overflow
> Would it be reasonably easy for Hugs to give some more information in
> these situations? - Conal
I think this would be pretty hard to do.
To make sense of the control stack, I think you need to look
Would it be reasonably easy for Hugs to give some more information in
these situations? - Conal
18 matches
Mail list logo