RE: 6.4.1 Bug? getServiceEntry: does not exist (no such service entry)

Binary snapshots allordy here: http://www.haskell.org/ghc/dist/stable/dist/ Cheers, Simon On 23 March 2006 16:54, S. Alexander Jacobson wrote:
Is there a 6.4.2 binary for winXP? I assuming doing a build from source is non-trivial.
-Alex-
On Thu, 23 Mar 2006, Simon Marlow wrote:
S. Alexander Jacobson wrote:
I just upgraded to 6.4.1 from 6.4.0 and am now getting this error when I run socket code via ghci, but not when I compile the code using ghc. Any idea what this is or how to fix?
getServiceEntry: does not exist (no such service entry)
This was reported a while back, and I still have it on my queue to investigate:
http://www.haskell.org//pipermail/haskell-cafe/2005-October/011777.html
However, I just checked and it doesn't happen with a recent 6.4.2 snapshot, so I'm going to consider it fixed (probably another weird mingw version interaction, or something).
Grab a 6.4.2 snapshot and you should be happy.
Cheers, Simon
______________________________________________________________ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

Snapshot downloads but locks up on a program that works fine w/ 6.4. -Alex- On Thu, 23 Mar 2006, Simon Marlow wrote:
Binary snapshots allordy here:
http://www.haskell.org/ghc/dist/stable/dist/
Cheers, Simon
On 23 March 2006 16:54, S. Alexander Jacobson wrote:
Is there a 6.4.2 binary for winXP? I assuming doing a build from source is non-trivial.
-Alex-
On Thu, 23 Mar 2006, Simon Marlow wrote:
S. Alexander Jacobson wrote:
I just upgraded to 6.4.1 from 6.4.0 and am now getting this error when I run socket code via ghci, but not when I compile the code using ghc. Any idea what this is or how to fix?
getServiceEntry: does not exist (no such service entry)
This was reported a while back, and I still have it on my queue to investigate:
http://www.haskell.org//pipermail/haskell-cafe/2005-October/011777.html
However, I just checked and it doesn't happen with a recent 6.4.2 snapshot, so I'm going to consider it fixed (probably another weird mingw version interaction, or something).
Grab a 6.4.2 snapshot and you should be happy.
Cheers, Simon
______________________________________________________________ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
** CRM114 Whitelisted by: simonmar@microsoft.com **
______________________________________________________________ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

On Thu, 2006-03-23 at 13:22 -0500, S. Alexander Jacobson wrote:
Snapshot downloads but locks up on a program that works fine w/ 6.4.
I'm afraid we'll need a little more information than that if you intend this as a bug report. Thanks. Duncan

On Thu, 23 Mar 2006, Duncan Coutts wrote:
On Thu, 2006-03-23 at 13:22 -0500, S. Alexander Jacobson wrote:
Snapshot downloads but locks up on a program that works fine w/ 6.4.
I'm afraid we'll need a little more information than that if you intend this as a bug report.
Ok, I guess the easiest way to reproduce is: 0. curl http://searchpath.org/searchpath/SearchPath.hs > SearchPath.hs 1. ghc --make -main-is SearchPath SearchPath.hs -o sp 2. darcs get http://pass.net/s/repo pass.net 3. cd pass.net 4. ..\sp ghci -DINTERACTIVE -isrc --internet http://searchpath.org/default.map src/Main.hs 5. main 6. open firefox or IE to http://localhost:8000 Searchpath will take care of downloading all the required libraries into the .haskell_cache directory. Normally hitting 'e' at this point should exit main and return you to the ghci shell, but that doesn't appear to be working in 6.4.2 either or responds so slowly as to effectiveyl be the same. Note: What appears to be happenning is that the whole thing is just sloowwww under 6.4.2. It appears to be doing the right thing, but at such a slow pace as to be unusable. -Alex- ______________________________________________________________ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

S. Alexander Jacobson wrote:
Ok, I guess the easiest way to reproduce is:
0. curl http://searchpath.org/searchpath/SearchPath.hs > SearchPath.hs 1. ghc --make -main-is SearchPath SearchPath.hs -o sp 2. darcs get http://pass.net/s/repo pass.net 3. cd pass.net 4. ..\sp ghci -DINTERACTIVE -isrc --internet http://searchpath.org/default.map src/Main.hs
I think you mean "src/PassNet.hs" here.
5. main 6. open firefox or IE to http://localhost:8000
Searchpath will take care of downloading all the required libraries into the .haskell_cache directory. Normally hitting 'e' at this point should exit main and return you to the ghci shell, but that doesn't appear to be working in 6.4.2 either or responds so slowly as to effectiveyl be the same.
Ok, I don't really know what I'm looking for, but here's what I'm seeing. On Linux, with 6.4.2, I can browse to localhost:8000, then I hit 'e' and get ---------- e<interactive>: FAILEDthread killed ---------- but sometimes it does nothing at all. If I compile the program with -threaded, then 'e' doesn't exit. It seems one of the threads is blocked in a read() call, I don't know why this should be the case. Can you possibly reduce the test case at all? The problem seems to occur with -threaded (GHCi is compiled with -threaded in 6.4.2, which is why you would see a difference there). On Windows I can't seem to get it to serve anything over localhost:8000, I don't know why. Cheers, Simon
Note: What appears to be happenning is that the whole thing is just sloowwww under 6.4.2. It appears to be doing the right thing, but at such a slow pace as to be unusable.
participants (4)
-
Duncan Coutts
-
S. Alexander Jacobson
-
Simon Marlow
-
Simon Marlow