#3932: haddock.exe: internal error: awaitRequests: odd thread state
-----------------------------+----------------------------------------------
Reporter: Artyom.Kazak | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 6.14.1
Component: Build System | Version: 6.13
Keywords: haddock | Difficulty:
Os: Windows | Testcase:
Architecture: x86 | Failure: Building GHC failed
-----------------------------+----------------------------------------------
Changes (by igloo):
* priority: normal => highest
* milestone: => 6.14.1
Old description:
> I was building GHC 6.13 under Windows XP SP3 (MinGW) and got this:
>
> Preprocessing library ghc-prim-0.2.0.0...
> Running hscolour for ghc-prim-0.2.0.0...
> "e:/ghcwork/inplace/bin/haddock" --odir="libraries/ghc-prim/dist-
> install/doc/html/ghc-prim" --dump-interface=libraries/ghc-prim/dist-
> install/doc/html/ghc-prim/ghc-prim.haddock --html --title="ghc-
> prim-0.2.0.0: GHC primitives" --prologue="libraries/ghc-prim/dist-install
> /haddock-prologue.txt" --optghc=-H32m --optghc=-O --optghc=-Wall
> --optghc=-Werror --optghc=-H64m --optghc=-O0 --optghc=-package-name
> --optghc=ghc-prim-0.2.0.0 --optghc=-hide-all-packages --optghc=-i
> --optghc=-ilibraries/ghc-prim/. --optghc=-ilibraries/ghc-prim/dist-
> install/build --optghc=-ilibraries/ghc-prim/dist-install/build/autogen
> --optghc=-Ilibraries/ghc-prim/di
> st-install/build --optghc=-Ilibraries/ghc-prim/dist-install/build/autogen
> --optghc=-Ilibraries/ghc-prim/. --optghc=-optP-include
> --optghc=-optPlibraries/ghc-prim/dist-
> install/build/autogen/cabal_macros.h --optghc=-package --optghc=rts-1.0
> --optghc=-package-name --optghc=ghc-prim --optghc=-XCPP
> --optghc=-XMagicHash --op
> tghc=-XForeignFunctionInterface --optghc=-XUnliftedFFITypes
> --optghc=-XUnboxedTuples --optghc=-XEmptyDataDecls
> --optghc=-XNoImplicitPrelude --optghc=-O2 --optgh
> c=-XGenerics --optghc=-O --optghc=-dcore-lint --optghc=-fno-warn-
> deprecated-flags --optghc=-odir --optghc=libraries/ghc-prim/dist-
> install/build --optghc=-hidir--optghc=libraries/ghc-prim/dist-
> install/build --optghc=-stubdir --optghc=librar
> ies/ghc-prim/dist-install/build --optghc=-hisuf --optghc=hi
> --optghc=-osuf --optghc=o --optghc=-hcsuf --optghc=hc --source-
> module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html
> libraries/ghc-prim/./GHC/Bool.hs libraries/gh
> c-prim/./GHC/Debug.hs libraries/ghc-prim/./GHC/Generics.hs libraries
> /ghc-prim/./GHC/Magic.hs libraries/ghc-prim/./GHC/Ordering.hs libraries
> /ghc-prim/dist-install/build/GHC/PrimopWrappers.hs libraries/ghc-
> prim/./GHC/IntWord32.hs libraries/ghc-prim/./GHC/IntWord64.hs libraries
> /ghc-prim/./GHC/Tuple.hs libraries/ghc-prim/./GHC/Types.hs libraries
> /ghc-prim/./GHC/Unit.hs libraries/ghc-prim/dist-
> install/build/autogen/GHC/Prim.hs
>
> '''haddock.exe: internal error: awaitRequests: odd thread state
> (GHC version 6.13.20100320 for i386_unknown_mingw32)
> Please report this as a GHC bug:
> http://www.haskell.org/ghc/reportabug'''
>
> '''This application has requested the Runtime to terminate it in an
> unusual way. Please contact the application's support team for more
> information.
> make[1]: *** [libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-
> prim.haddock
> ] Error 3
> make: *** [all] Error 2'''
New description:
I was building GHC 6.13 under Windows XP SP3 (MinGW) and got this:
{{{
Preprocessing library ghc-prim-0.2.0.0...
Running hscolour for ghc-prim-0.2.0.0...
"e:/ghcwork/inplace/bin/haddock" --odir="libraries/ghc-prim/dist-
install/doc/html/ghc-prim" --dump-interface=libraries/ghc-prim/dist-
install/doc/html/ghc-prim/ghc-prim.haddock --html --title="ghc-
prim-0.2.0.0: GHC primitives" --prologue="libraries/ghc-prim/dist-install
/haddock-prologue.txt" --optghc=-H32m --optghc=-O --optghc=-Wall
--optghc=-Werror --optghc=-H64m --optghc=-O0 --optghc=-package-name
--optghc=ghc-prim-0.2.0.0 --optghc=-hide-all-packages --optghc=-i
--optghc=-ilibraries/ghc-prim/. --optghc=-ilibraries/ghc-prim/dist-
install/build --optghc=-ilibraries/ghc-prim/dist-install/build/autogen
--optghc=-Ilibraries/ghc-prim/di
st-install/build --optghc=-Ilibraries/ghc-prim/dist-install/build/autogen
--optghc=-Ilibraries/ghc-prim/. --optghc=-optP-include
--optghc=-optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h
--optghc=-package --optghc=rts-1.0 --optghc=-package-name --optghc=ghc-
prim --optghc=-XCPP --optghc=-XMagicHash --op
tghc=-XForeignFunctionInterface --optghc=-XUnliftedFFITypes
--optghc=-XUnboxedTuples --optghc=-XEmptyDataDecls
--optghc=-XNoImplicitPrelude --optghc=-O2 --optgh
c=-XGenerics --optghc=-O --optghc=-dcore-lint --optghc=-fno-warn-
deprecated-flags --optghc=-odir --optghc=libraries/ghc-prim/dist-
install/build --optghc=-hidir--optghc=libraries/ghc-prim/dist-
install/build --optghc=-stubdir --optghc=librar
ies/ghc-prim/dist-install/build --optghc=-hisuf --optghc=hi --optghc=-osuf
--optghc=o --optghc=-hcsuf --optghc=hc --source-
module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html
libraries/ghc-prim/./GHC/Bool.hs libraries/gh
c-prim/./GHC/Debug.hs libraries/ghc-prim/./GHC/Generics.hs libraries
/ghc-prim/./GHC/Magic.hs libraries/ghc-prim/./GHC/Ordering.hs libraries
/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs libraries/ghc-
prim/./GHC/IntWord32.hs libraries/ghc-prim/./GHC/IntWord64.hs libraries
/ghc-prim/./GHC/Tuple.hs libraries/ghc-prim/./GHC/Types.hs libraries
/ghc-prim/./GHC/Unit.hs libraries/ghc-prim/dist-
install/build/autogen/GHC/Prim.hs
'''haddock.exe: internal error: awaitRequests: odd thread state
(GHC version 6.13.20100320 for i386_unknown_mingw32)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug'''
'''This application has requested the Runtime to terminate it in an
unusual way. Please contact the application's support team for more
information.
make[1]: *** [libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-
prim.haddock
] Error 3
make: *** [all] Error 2'''
}}}
--
Comment:
Thanks for the report. This is before the patches that caused #3987, so
looks like a separate issue.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3932#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs