Ticket #220 (closed defect: invalid)
Segmentation fault: 11
| Reported by: | moadismoa | Owned by: | dons |
|---|---|---|---|
| Priority: | major | Milestone: | 2012.4.0.0 |
| Component: | GHC | Keywords: | Segmentation Fault, Yesod, ghci, Warp, Debug |
| Cc: |
Description
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!!
