
I've been trying the 7.10.2 testing release for the last few days, and
so far no lock-ups.
Maybe that was it!
On Tue, Jun 2, 2015 at 11:29 PM, Austin Seipp
Perhaps #10317 is related?
https://ghc.haskell.org/trac/ghc/ticket/10317
You might try building with the latest ghc-7.10 branch.
On Wed, Jun 3, 2015 at 12:27 AM, Evan Laforge
wrote: On Tue, Jun 2, 2015 at 7:20 PM, Carter Schonwald
wrote: could you share a minimal program that reproduces the problem?
That's the thing, it's a thousand line shakefile that builds a 100k line program, and it's happening only rarely now. Since it happens so rarely it seems really difficult to prune away bits to see if it still happens. I suppose since the building is all just running commands, the source it's building doesn't matter, but since it's a build, it runs a different sequence of commands every time. I suppose I could "stub out" the program by replacing ghc with a shell script that sleeps and touches the output files, but it feels like I could spend days on it because there are tons of little details.
I'm pretty sure it's related to the threaded runtime, because it doesn't happen without -threaded. I could try with -debug, but that probably turns off -threaded too, so no more problem. Shake is heavily threaded and nondeterministic. I haven't seen other shake users report it though. _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
-- Regards,
Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/