Your message dated Sun, 19 Nov 2006 17:18:12 +0100
with message-id <[EMAIL PROTECTED]>
and subject line hugs segfault fixed in experimental
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: hugs
Version: 98.200503.08-3
Severity: normal

Hello Isaac,

It looks like hugs segfault if you instancy Show but not define a
show method and then implicitly use it:

Let foo.hs =
--->8-----
module Fibo where
type Quad = (Integer,Integer)
newtype Gauss = Karl Quad
instance Eq Gauss where
   Karl (a,b) == Karl (c,d) = a == c && b == d
instance Show Gauss where
---8<-----
in 
$ hugs fibo3.hs
Type :? for help
Fibo> Karl (1,2)
zsh: segmentation fault  hugs fibo3.hs

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages hugs depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  libreadline5                  5.0-11     GNU readline and history libraries


--- End Message ---
--- Begin Message ---
Version: 98.200609.21-1

Hi,

I am preparing the new upstream release of Hugs (September 2006) in
experimental and I am going through old bug reports to see if they are
fixed in this new version. 

Hugs no longer segfault on some infinite computations so this bug is
fixed, so I am closing this bug with the appropriate version.

 [EMAIL PROTECTED]:~$ hugs fibo3.hs
 __   __ __  __  ____   ___      _________________________________________
 ||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
 ||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
 ||---||         ___||           World Wide Web: http://haskell.org/hugs
 ||   ||                         Bugs: http://hackage.haskell.org/trac/hugs
 ||   || Version: September 2006 _________________________________________

 Haskell 98 mode: Restart with command line option -98 to enable extensions

 Type :? for help 
 Fibo> :l fibo3.hs
 Fibo> Karl (1,2)

 ERROR - Control stack overflow
 Fibo>

Greetings Arjan

Attachment: signature.asc
Description: Dit berichtdeel is digitaal ondertekend


--- End Message ---

Reply via email to