[GHC] #2277: GHCi silently aborts on 'take' computation

View: New views
11 Messages — Rating Filter:   Alert me  

[GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
-------------------------------+--------------------------------------------
    Reporter:  cdsmith         |       Owner:        
        Type:  bug             |      Status:  new  
    Priority:  normal          |   Component:  GHCi  
     Version:  6.9             |    Severity:  normal
    Keywords:                  |    Testcase:        
Architecture:  x86_64 (amd64)  |          Os:  Linux
-------------------------------+--------------------------------------------
 With latest GHC from darcs repository, on an AMD64 system, performing a
 'take' computation with an infinite or very long list causes GHCi to exit
 without warning.  This happens regardless of whether the list is the
 result of {{{let x = 2:x}}} or {{{let x = [2,2..]}}} or {{{let x =
 replicate 10000 2}}}.

 There is no problem in GHC 6.8.2.

 {{{
 cdsmith@godel:~$ ghci -v
 GHCi, version 6.9.20080507: http://www.haskell.org/ghc/  :? for help
 Glasgow Haskell Compiler, Version 6.9.20080507, for Haskell 98, stage 2
 booted by GHC version 6.8.2
 Using package config file: /usr/local/lib/ghc-6.9.20080507/package.conf
 hiding package bytestring-0.9 to avoid conflict with later version
 bytestring-0.9.1.0
 wired-in package ghc-prim mapped to ghc-prim-0.1
 wired-in package integer mapped to integer-0.1
 wired-in package base mapped to base-3.0
 wired-in package rts mapped to rts-1.0
 wired-in package haskell98 mapped to haskell98-1.0.1
 wired-in package template-haskell mapped to template-haskell-2.2
 wired-in package ndp not found.
 Hsc static flags: -static
 *** Parser:
 *** Desugar:
 *** Simplify:
 *** CorePrep:
 *** ByteCodeGen:
 Loading package ghc-prim ... linking ... done.
 Loading package integer ... linking ... done.
 Loading package base ... linking ... done.
 *** Parser:
 *** Desugar:
 *** Simplify:
 *** CorePrep:
 *** ByteCodeGen:
 *** Parser:
 *** Desugar:
 *** Simplify:
 *** CorePrep:
 *** ByteCodeGen:
 hiding package bytestring-0.9 to avoid conflict with later version
 bytestring-0.9.1.0
 wired-in package ghc-prim mapped to ghc-prim-0.1
 wired-in package integer mapped to integer-0.1
 wired-in package base mapped to base-3.0
 wired-in package rts mapped to rts-1.0
 wired-in package haskell98 mapped to haskell98-1.0.1
 wired-in package template-haskell mapped to template-haskell-2.2
 wired-in package ndp not found.
 hiding package bytestring-0.9 to avoid conflict with later version
 bytestring-0.9.1.0
 wired-in package ghc-prim mapped to ghc-prim-0.1
 wired-in package integer mapped to integer-0.1
 wired-in package base mapped to base-3.0
 wired-in package rts mapped to rts-1.0
 wired-in package haskell98 mapped to haskell98-1.0.1
 wired-in package template-haskell mapped to template-haskell-2.2
 wired-in package ndp not found.
 hiding package bytestring-0.9 to avoid conflict with later version
 bytestring-0.9.1.0
 wired-in package ghc-prim mapped to ghc-prim-0.1
 wired-in package integer mapped to integer-0.1
 wired-in package base mapped to base-3.0
 wired-in package rts mapped to rts-1.0
 wired-in package haskell98 mapped to haskell98-1.0.1
 wired-in package template-haskell mapped to template-haskell-2.2
 wired-in package ndp not found.
 *** Parser:
 *** Desugar:
 *** Simplify:
 *** CorePrep:
 *** ByteCodeGen:
 Prelude> let x = 2:x
 *** Parser:
 *** Desugar:
 *** Simplify:
 *** CorePrep:
 *** ByteCodeGen:
 Prelude> take 1000 x
 *** Parser:
 *** Desugar:
 *** Simplify:
 *** CorePrep:
 *** ByteCodeGen:
 [2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2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,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ]
 Leaving GHCi.
 *** Deleting temp files:
 Deleting:
 *** Deleting temp dirs:
 Deleting:
 }}}

 But with a GHC 6.8.2, everything works fine:

 {{{
 cdsmith@godel:~$ /usr/bin/ghci
 GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
 Loading package base ... linking ... done.
 Prelude> let x = 2:x
 Prelude> take 1000 x
 [2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
 ,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,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________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  new          
 Priority:  normal   |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  normal   |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => 6.10 branch

Comment:

 Thanks for the report.

 It works in my amd64/Linux 6.9.20080506 validate build, though.
 Can you describe how you are building GHC please?

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  new          
 Priority:  normal   |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  normal   |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Comment (by cdsmith):

 That's odd.  I'm not doing anything unusual.  Just

 {{{
 darcs get http://darcs.haskell.org/ghc
 cd ghc
 ./darcs-all get
 sh boot
 make
 make install
 }}}

 I don't see anything unusual during the build.  I guess one thing I did
 recently was install the editline library, and I noticed that GHC didn't
 build the readline package, so I assume it's using editline instead.  I'll
 try undoing that change, and update the ticket with results.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  new          
 Priority:  normal   |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  normal   |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Comment (by cdsmith):

 Oops, obviously, I left out a line in copying the commands from the
 command window.  I also did:

 {{{
     ./configure --with-ghc=/usr/bin/ghc
 }}}

 where /usr/bin/ghc is GHC 6.8.2 as packaged by Ubuntu.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  closed        
 Priority:  normal   |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  normal   |     Resolution:  invalid      
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Changes (by cdsmith):

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

Comment:

 Found the problem.  Ubuntu has two different packages that install a
 libeditline.  If I add the wrong one, then GHCi aborts after any command
 that has a lot of output.  If I remove that and use only the libeditline
 package marked as "supported", then it works.  So this is probably not a
 GHC bug.

 I'm resolving as invalid.  If that's not the right thing to do, someone
 let me know.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  reopened      
 Priority:  normal   |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  normal   |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Changes (by cdsmith):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 Oops, not true.  No, the problem still happens.  But it appears to be
 intermittent.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  reopened      
 Priority:  normal   |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  normal   |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Comment (by igloo):

 Aha, I can reproduce it intermittently.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  reopened      
 Priority:  normal   |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  normal   |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Comment (by igloo):

 OK, so this comes down to {{{
 if (tcsetattr(el->el_infd, TCSADRAIN, &el->el_tty.t_ed) == -1) {
 }}}
 getting an Interrupted system call, presumably due to our timer.

 I'm not sure what the solution to this is.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  reopened      
 Priority:  normal   |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  normal   |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Comment (by simonmar):

 That tcsetattr call is from editline, I presume?  If so, we should report
 it upstream.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  reopened      
 Priority:  high     |      Milestone:  6.10 branch  
Component:  GHCi     |        Version:  6.9          
 Severity:  blocker  |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Changes (by simonmar):

  * priority:  normal => high
  * severity:  normal => blocker

Comment:

 I see this too:

 {{{
 18303 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon
 -echo ...}) = -1 EINT
 R (Interrupted system call)
 18303 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
 18303 rt_sigreturn(0x1a)                = -1 EINTR (Interrupted system
 call)
 }}}

 followed quickly by GHCi exiting.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Re: [GHC] #2277: GHCi silently aborts on 'take' computation

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#2277: GHCi silently aborts on 'take' computation
---------------------+------------------------------------------------------
 Reporter:  cdsmith  |          Owner:                
     Type:  bug      |         Status:  reopened      
 Priority:  high     |      Milestone:  6.10.1        
Component:  GHCi     |        Version:  6.9          
 Severity:  blocker  |     Resolution:                
 Keywords:           |     Difficulty:  Unknown      
 Testcase:           |   Architecture:  x86_64 (amd64)
       Os:  Linux    |  
---------------------+------------------------------------------------------
Changes (by simonmar):

  * milestone:  6.10 branch => 6.10.1

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2277#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs