RE: strange selectee 11
I don't suppose you guys have a freebsd port of ghc-4.06 up your sleeves do you? We tried using the existing 4.04 port with 4.06 sources but it complained about -lHSlang when linking hsc. It'll be ready shortly (but probably not in time to get on the FreeBSD 4.0 CD, sadly). I had a bit of trouble with the HC files not matching up properly, but I've now put up a fresh working set on haskell.org. The 4.04 port needs a few tweaks to work with 4.06, partly because the stock 4.06 sources weren't tested for HC-bootstrapping before the release and there's a few lurking bugs. Cheers, Simon
Re: strange selectee 11
I don't suppose you guys have a freebsd port of ghc-4.06 up your sleeves do you? We tried using the existing 4.04 port with 4.06 sources but it complained about -lHSlang when linking hsc. Alastair
RE: strange selectee 11
This is a Bad Situation. It looks like a bug in the garbage collector, which are very hard to reproduce. It will probably go away if you change *anything* (heap size etc). Do pls try it with 4.06. If it happens there then we'd better get the source and see if we can reproduce it. Simon | -Original Message- | From: Alastair Reid [mailto:[EMAIL PROTECTED]] | Sent: 13 February 2000 23:30 | To: [EMAIL PROTECTED] | Cc: [EMAIL PROTECTED] | Subject: strange selectee 11 | | | | I just converted a program from Hugs to GHC. After running for a | while (about 100 garbage collections with the default GC settings), it | printed: | | foo: fatal error: evacuate: THUNK_SELECTOR: strange selectee 11 | | Looking at the source for 4.02 (a little out of date, I'm using 4.04 | on a freebsd box), it looks like this is probably an attempt to apply | a selector to a function - clearly a bad idea. | | Does the change in error message from 4.02 to 4.04 indicate | some intense | debugging in this area? | | Would upgrading to 4.06 be likely to help here? | | What information do you need from me to figure this one out? | | -- | Alastair Reid[EMAIL PROTECTED] | http://www.cs.utah.edu/~reid/ |
RE: strange selectee 11
Would upgrading to 4.06 be likely to help here? Maybe. Try. If your program relies on concurrency or non-blocking IO, it might help. J
RE: strange selectee 11
Thinking about this more, the error msg has a familiar sound to it. Did you use 4.04 patchlevel 0 or 1 ? pl 0 has some rts-ish probs which were fixed in pl1 (and of course in 4.06). J Would upgrading to 4.06 be likely to help here?
Re: strange selectee 11
Hi guys! On Mon, 14 Feb 2000, Alastair Reid wrote: Thinking about this more, the error msg has a familiar sound to it. Did you use 4.04 patchlevel 0 or 1 ? pl 0 has some rts-ish probs which were fixed in pl1 (and of course in 4.06). The Glorious Glasgow Haskell Compilation System, version 4.04, patchlevel 1 My program is just a plain old compiler. No concurrency, all I/O is through readFile and writeFile. There is a little GreenCard stuff (the DFS library is just too slow when run under Hugs) - but it just marshalls Ints and the like (ie no foreigns or stables). It could take a few days to get 4.06 installed - I'll submit a request and get back to you. I also managed to get the 'strange selectee' error but with number 27 instead while compiling. The thing is that I'm running ghc 4.06 . The file I compiled was a Lex generated file. /Josef
Re: strange selectee 11
Thinking about this more, the error msg has a familiar sound to it. Did you use 4.04 patchlevel 0 or 1 ? pl 0 has some rts-ish probs which were fixed in pl1 (and of course in 4.06). The Glorious Glasgow Haskell Compilation System, version 4.04, patchlevel 1 My program is just a plain old compiler. No concurrency, all I/O is through readFile and writeFile. There is a little GreenCard stuff (the DFS library is just too slow when run under Hugs) - but it just marshalls Ints and the like (ie no foreigns or stables). It could take a few days to get 4.06 installed - I'll submit a request and get back to you. Alastair
Re: strange selectee 11
Sorry for replying on my own posting but... On Mon, 14 Feb 2000, Josef Sveningsson wrote: I also managed to get the 'strange selectee' error but with number 27 instead while compiling. The thing is that I'm running ghc 4.06 . The file I compiled was a Lex generated file. OK, now you all say "No wonder he gets an error message when he compiles files generated from Lex!". That should ofcourse be Alex. /Josef