[haskell-platform] #220: Segmentation fault: 11

haskell-platform haskell-platform at projects.haskell.org
Wed Mar 6 20:16:01 GMT 2013


#220: Segmentation fault: 11
-----------------------+----------------------------------------------------
 Reporter:  moadismoa  |       Owner:  dons                                        
     Type:  defect     |      Status:  new                                         
 Priority:  major      |   Milestone:  2012.4.0.0                                  
Component:  GHC        |    Keywords:  Segmentation Fault, Yesod, ghci, Warp, Debug
-----------------------+----------------------------------------------------
 Hello!!

 I have been playing around with Yesod web development and I found troubles
 when running the server. When I run this code:

 http://www.yesodweb.com/book/basics

 The terminal waits for incomming messages until a browser ask for the
 localhost:3000, then the execution stops and does not display any errors
 using runhaskell command. However when I use ghci, load the module and
 execute the last line, it does the same, however this times shows:
 Segmentation fault: 11

 I have searched before doing this in these pages:

   https://groups.google.com/forum/#!msg/yesodweb/kphlxnYs-Ow/xHKFBYOIlpoJ
   http://comments.gmane.org/gmane.comp.lang.haskell.yesod/2692

 Also I am not able to run smoothly the "yesod --dev devel" without the
 message: "App not ready, please refresh"

 One solution that I found to run the code, is to fully compile it with ghc
 and run it from terminal.

 I hope this is not a repeated ticket

 Thanks!!

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/220>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list