Dean Herington | 1 Sep 2005 01:06
Picon

(^) causes crash

With GHC 6.4, interpreted or compiled, on Windows and Mac OS X, 
evaluating the expression (4^(4^44))::Integer causes a crash.

On Mac, the message is:
    ___         ___ _
   / _ \ /\  /\/ __(_)
  / /_\// /_/ / /  | |      GHC Interactive, version 6.4, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base-1.0 ... linking ... done.
Prelude> 4^(4^44)::Integer
bash: [539: 1] tcsetattr: Operation not supported
Segmentation fault
SourceForge.net | 1 Sep 2005 01:39
Picon
Favicon

[ ghc-Bugs-1277810 ] ghc is confused about instances of Ord

Bugs item #1277810, was opened at 2005-08-31 23:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1277810&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: Compiler (Type checker)
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Robin Green (greenrd)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc is confused about instances of Ord

Initial Comment:
When I compile the attached file _without_ -fallow-incoherent-instances 
on ghc 6.4 on Fedora Core Linux, I receive the following errors: 

PartialOrder.hs:19:0: 
    Overlapping instances for PartialOrder a 
      arising from the superclasses of an instance declaration at 
PartialOrder.hs:19:0 
    Matching instances: 
      PartialOrder.hs:11:0: instance (Ord a) => PartialOrder a 
      PartialOrder.hs:19:0: instance PartialOrder (LineList a) 
    (The choice depends on the instantiation of `a' 
     Use -fallow-incoherent-instances to use the first choice above) 
(Continue reading)

SourceForge.net | 1 Sep 2005 02:23
Picon
Favicon

[ ghc-Bugs-1277810 ] ghc is confused about instances of Ord

Bugs item #1277810, was opened at 2005-08-31 23:39
Message generated for change (Comment added) made by greenrd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1277810&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: Compiler (Type checker)
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Robin Green (greenrd)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc is confused about instances of Ord

Initial Comment:
When I compile the attached file _without_ -fallow-incoherent-instances 
on ghc 6.4 on Fedora Core Linux, I receive the following errors: 

PartialOrder.hs:19:0: 
    Overlapping instances for PartialOrder a 
      arising from the superclasses of an instance declaration at 
PartialOrder.hs:19:0 
    Matching instances: 
      PartialOrder.hs:11:0: instance (Ord a) => PartialOrder a 
      PartialOrder.hs:19:0: instance PartialOrder (LineList a) 
    (The choice depends on the instantiation of `a' 
     Use -fallow-incoherent-instances to use the first choice above) 
(Continue reading)

SourceForge.net | 1 Sep 2005 02:31
Picon
Favicon

[ ghc-Bugs-1277825 ] segmentation fault when profiling large case

Bugs item #1277825, was opened at 2005-08-31 17:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1277825&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: Profiling
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: segmentation fault when profiling large case

Initial Comment:
If the attached file is compiled with -prof -auto-all,
the binary produced will segfault (even if RTS
profiling options are not present).  This seems to be
caused by a combination of a case statement with a
large number of branches and a relatively complex value
at the end of each branch - reducing the number of
branches by one or changing any of the data
declarations to newtypes eliminates the segfault.

----------------------------------------------------------------------

You can respond by visiting: 
(Continue reading)

SourceForge.net | 1 Sep 2005 07:52
Picon
Favicon

[ ghc-Bugs-1278003 ] compiler panic

Bugs item #1278003, was opened at 2005-08-31 22:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1278003&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: GHCi
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler panic

Initial Comment:
I played with cyclic lists in GHCI.
My session looked like:

% ghci                                                

   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version
6.4, for Haskell 98.
/ /_\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

(Continue reading)

SourceForge.net | 1 Sep 2005 09:30
Picon
Favicon

[ ghc-Bugs-1278003 ] compiler panic

Bugs item #1278003, was opened at 2005-09-01 05:52
Message generated for change (Comment added) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1278003&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: GHCi
Group: 6.4
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler panic

Initial Comment:
I played with cyclic lists in GHCI.
My session looked like:

% ghci                                                

   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version
6.4, for Haskell 98.
/ /_\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

(Continue reading)

SourceForge.net | 1 Sep 2005 10:04
Picon
Favicon

[ ghc-Bugs-1277810 ] ghc is confused about instances of Ord

Bugs item #1277810, was opened at 2005-08-31 23:39
Message generated for change (Comment added) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1277810&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: Compiler (Type checker)
Group: 6.4
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Robin Green (greenrd)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc is confused about instances of Ord

Initial Comment:
When I compile the attached file _without_ -fallow-incoherent-instances 
on ghc 6.4 on Fedora Core Linux, I receive the following errors: 

PartialOrder.hs:19:0: 
    Overlapping instances for PartialOrder a 
      arising from the superclasses of an instance declaration at 
PartialOrder.hs:19:0 
    Matching instances: 
      PartialOrder.hs:11:0: instance (Ord a) => PartialOrder a 
      PartialOrder.hs:19:0: instance PartialOrder (LineList a) 
    (The choice depends on the instantiation of `a' 
     Use -fallow-incoherent-instances to use the first choice above) 
(Continue reading)

SourceForge.net | 1 Sep 2005 10:07
Picon
Favicon

[ ghc-Bugs-1277023 ] panic! mkWWcpr: not a product

Bugs item #1277023, was opened at 2005-08-31 00:19
Message generated for change (Comment added) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1277023&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: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: panic! mkWWcpr: not a product

Initial Comment:
I encountered the following bug:

ghc-6.4: panic! (the `impossible' happened, GHC version
6.4):
        mkWWcpr: not a product SPIRziSPIR.SPIR{tc r3jI}

Please report it as a compiler bug to
glasgow-haskell-bugs <at> haskell.org,
or http://sourceforge.net/projects/ghc/.

This was in conjunction with the use of .hs-boot files
for recursive modules, though I don't know for sure if that
(Continue reading)

SourceForge.net | 1 Sep 2005 10:10
Picon
Favicon

[ ghc-Bugs-1277023 ] panic! mkWWcpr: not a product

Bugs item #1277023, was opened at 2005-08-31 00:19
Message generated for change (Comment added) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1277023&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: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: panic! mkWWcpr: not a product

Initial Comment:
I encountered the following bug:

ghc-6.4: panic! (the `impossible' happened, GHC version
6.4):
        mkWWcpr: not a product SPIRziSPIR.SPIR{tc r3jI}

Please report it as a compiler bug to
glasgow-haskell-bugs <at> haskell.org,
or http://sourceforge.net/projects/ghc/.

This was in conjunction with the use of .hs-boot files
for recursive modules, though I don't know for sure if that
(Continue reading)

SourceForge.net | 1 Sep 2005 10:12
Picon
Favicon

[ ghc-Bugs-1278350 ] Very big integer arithmetic crashes GHCi on Windows and Mac

Bugs item #1278350, was opened at 2005-09-01 08:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1278350&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: Runtime System
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Peyton Jones (simonpj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Very big integer arithmetic crashes GHCi on Windows and Mac

Initial Comment:
With GHC 6.4, interpreted or compiled, on Windows and 
Mac OS X, 
evaluating the expression (4^(4^44))::Integer causes a 
crash.

On Unix, it just goes out to lunch and eats memory, 
which seems more plausible.

On Mac, the message is:
    ___         ___ _
   / _ \ /\  /\/ __(_)
  / /_\// /_/ / /  | |      GHC Interactive, version 6.4, for 
(Continue reading)


Gmane