#6041: Program hangs when run under Ubuntu Precise
---------------------------------+------------------------------------------
    Reporter:  dsf               |       Owner:               
        Type:  bug               |      Status:  infoneeded   
    Priority:  high              |   Milestone:  7.4.2        
   Component:  Compiler          |     Version:  7.4.1        
    Keywords:                    |          Os:  Linux        
Architecture:  Unknown/Multiple  |     Failure:  Runtime crash
  Difficulty:  Unknown           |    Testcase:               
   Blockedby:                    |    Blocking:               
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * status:  new => infoneeded


Comment:

 I can't seem to reproduce the bug.  Here's my session with the things I've
 tried:

 {{{
 simonmar@x220:~$ ghc Main.hs
 [1 of 1] Compiling Main             ( Main.hs, Main.o )
 Linking Main ...
 simonmar@x220:~$ ./Main
 hello
 simonmar@x220:~$ uname -a
 Linux x220 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012
 x86_64 x86_64 x86_64 GNU/Linux
 simonmar@x220:~$ ghci Main.hs
 GHCi, version 7.4.1: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Ok, modules loaded: Main.
 Prelude Main> main
 Loading package transformers-0.3.0.0 ... linking ... done.
 Loading package mtl-2.1.1 ... linking ... done.
 Loading package array-0.4.0.0 ... linking ... done.
 Loading package stm-2.3 ... linking ... done.
 hello
 Prelude Main>
 Leaving GHCi.
 simonmar@x220:~$ ghc -O Main.hs
 simonmar@x220:~$ ghc -O Main.hs -fforce-recomp
 [1 of 1] Compiling Main             ( Main.hs, Main.o )
 Linking Main ...
 simonmar@x220:~$ ./Main
 hello
 simonmar@x220:~$ ghc -O2 Main.hs -fforce-recomp
 [1 of 1] Compiling Main             ( Main.hs, Main.o )
 Linking Main ...
 simonmar@x220:~$ ./Main
 hello
 simonmar@x220:~$ ghc -O2 -threaded Main.hs -fforce-recomp
 [1 of 1] Compiling Main             ( Main.hs, Main.o )
 Linking Main ...
 simonmar@x220:~$ ./Main
 hello
 }}}

 Could you try with the `simonmar` account on that machine and see if you
 can reproduce it?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6041#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to