Ticket #3932 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

haddock.exe: internal error: awaitRequests: odd thread state

Reported by: Artyom.Kazak Owned by: simonmar
Priority: highest Milestone: 7.0.1
Component: Build System Version: 6.13
Keywords: haddock Cc:
Operating System: Windows Architecture: x86
Type of failure: Building GHC failed Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by igloo) (diff)

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'''

Change History

Changed 3 years ago by igloo

  • priority changed from normal to highest
  • description modified (diff)
  • milestone set to 6.14.1

Thanks for the report. This is before the patches that caused #3987, so looks like a separate issue.

Changed 3 years ago by simonmar

  • owner set to simonmar
  • status changed from new to assigned

Changed 3 years ago by simonmar

  • status changed from assigned to closed
  • resolution set to worksforme

I didn't see this in a recent validate, so I'm assuming it is fixed. Re-open if it happens again.

Note: See TracTickets for help on using tickets.