[GHC] #631: deriving show fails in ghci/ppc

2005-12-13 Thread GHC
#631: deriving show fails in ghci/ppc
-+--
 Reporter:  [EMAIL PROTECTED]  |  Owner: 
 Type:  bug  | Status:  new
 Priority:  normal   |  Milestone: 
Component:  GHCi |Version:  6.4.1  
 Severity:  major|   Keywords: 
   Os:  Linux|   Architecture:  powerpc
-+--
To reproduce this bug, write the following text to bug.hs.

 {{{
 data D = D Char deriving Show
 main = print f
 f = D 'a'
 }}}

 Start ghci, and at the prompt enter
 `:load bug.hs`, then `f`.  Instead of printing `D 'a'`, GHCi will
 segfault.

  * This bug DOES manifest on PowerPC (running Debian/sid).
  * This bug DOES NOT manifest on i386 (running Debian/sid).
  * This bug DOES manifest when bug.hs is loaded in ghci.
  * This bug DOES NOT manifest when bug.hs is compiled with ghc.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #491: Nested 'atomically' should raise an exception

2005-12-13 Thread GHC
#491: Nested 'atomically' should raise an exception
---+
Reporter:  simonpj |Owner:  simonmar
Type:  bug |   Status:  closed  
Priority:  low |Milestone:  6.4.2   
   Component:  Runtime System  |  Version:  6.4.1   
Severity:  minor   |   Resolution:  fixed   
Keywords:  |   Os:  Unknown 
Architecture:  Unknown |  
---+
Changes (by anonymous):

  * architecture:  => Unknown
  * resolution:  None => fixed
  * status:  new => closed
  * os:  => Unknown

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #478: Problem with Threading under GHC

2005-12-13 Thread GHC
#478: Problem with Threading under GHC
-+--
Reporter:  schachblocki  |Owner:  nobody 
Type:  bug   |   Status:  closed 
Priority:  normal|Milestone: 
   Component:  GHCi  |  Version:  None   
Severity:  normal|   Resolution:  invalid
Keywords:|   Os:  Unknown
Architecture:  Unknown   |  
-+--
Changes (by anonymous):

  * architecture:  => Unknown
  * resolution:  None => invalid
  * status:  assigned => closed
  * os:  => Unknown

Comment:

 No feedback from submitter after 1 month; closing the bug due to lack of
 information.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: Bugs with GADTs in GHC6.4.1

2005-12-13 Thread Jeremy Gibbons


On 12 Dec 2005, at 12:48, Andres Loeh wrote:


The attached script induces panic in GHC6.4.1: "ghc-6.4.1: panic! (the
`impossible' happened, GHC version 6.4.1): applyTypeToArgs f{v a1Eg}
x{v a1Ei}".


I think this is related to a known bug, because the same workaround
helps -- annotate the "f" and "x" arguments in the last line of your
program with dummy type variables, and the program will be accepted:


zap :: Vector n (a -> b) -> Vector n a -> Vector n b
zap fs xs = unfoldv f (len fs) (VP (fs, xs)) where
  f :: VectorPair (a->b) a (S n) -> (b, VectorPair (a->b) a n)
  f (VP (VCons (f :: foo) fs, VCons (x :: bar) xs)) = (f x, VP (fs, 
xs))


Thanks, Andres. As you say, that solve the problem.
Jeremy

[EMAIL PROTECTED]
  Oxford University Computing Laboratory,TEL: +44 1865 283508
  Wolfson Building, Parks Road,  FAX: +44 1865 273839
  Oxford OX1 3QD, UK.
  URL: http://www.comlab.ox.ac.uk/oucl/people/jeremy.gibbons.html



transpose4+.lhs
Description: Binary data


___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #630: Found "ghc-6.4: panic!"

2005-12-13 Thread GHC
#630: Found "ghc-6.4: panic!"
--+-
Reporter:  [EMAIL PROTECTED]  |Owner: 
Type:  bug|   Status:  closed 
Priority:  normal |Milestone: 
   Component:  GHCi   |  Version:  6.4
Severity:  normal |   Resolution:  fixed  
Keywords: |   Os:  Unknown
Architecture:  x86|  
--+-
Changes (by anonymous):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 Fixed in 6.4.1; see [ticket:456]

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs