validate fails on MacOS
Ian Lynagh
igloo at earth.li
Fri Jan 16 21:42:28 EST 2009
On Fri, Jan 16, 2009 at 09:35:53PM +0100, Matthias Kilian wrote:
> On Fri, Jan 16, 2009 at 03:20:59PM +0000, Simon Marlow wrote:
> > >Configuring installPackage-1.0...
> > >ghc: internal error: RELEASE_LOCK: I do not own this lock:
> > >posix/FileLock.c 90
> > > (GHC version 6.11.20090115 for i386_apple_darwin)
> > > Please report this as a GHC bug:
> > > http://www.haskell.org/ghc/reportabug
> [...]
> > I've reverted the OSThreads.h patch that is probably the cause of this,
> > and I'll push the Scav.c patch shortly.
>
> I didn't write the OSThreads.h patch because i was bored ;-)
>
> http://www.haskell.org/pipermail/glasgow-haskell-users/2009-January/016414.html
>
> I still don't understand why this failure does happen at all.
> Running a build with -DLOCK_DEBUG may help to discover what's going
> on, but you'll need a lot of disk space for the build log. I can't
> help here much, because I'm running OpenBSD, so MacOS X and NetBSD
> users have to step in.
I think I've found the problem: file_lock_mutex wasn't initialised. I'll
validate etc tomorrow.
Thanks
Ian
More information about the Cvs-ghc
mailing list