logo       

RE: eval_thunk_selector: strange selectee 29: msg#00015

lang.haskell.glasgow.bugs

Subject: RE: eval_thunk_selector: strange selectee 29


> I can confirm that this happens on my solaris machine as
> well. Moreover it
> crashes my computer! I have seen the same crash when working
> with the ffi
> on solaris but haven't been able to reproduce it. What
> happens is this:
> In the window I'm running ghci/my ffi application gets filled with
> prompts. I'm guessing something has started forking like crazy. Anyway
> this eats up all the computer resources and all I can do is
> restart the
> computer.
>
> It would be Very Nice if you could fix the crashing bug as
> this sometimes
> crashes programs running for example wxHaskell. I get very
> uneasy as soon
> as I start to program with the ffi.

We've fixed the "strange selectee 29" bug, but I doubt that could be the
cause of your infinite forking behaviour. If you manage to get a
repeatable example, we can look into it.

To prevent it crashing your machine, you should set a limit on the
number of processes creatable by each user. To do it locally for
yourself, use the 'ulimit' shell command. Most OSs have a way to set
this globally or on a user-by-user basis too (can't remember exactly how
Solaris does it, sorry).

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise