The minimal reproducible example is gtk2hs-demo-progressThreadedRTS.exe 
(gtk2hs-demo-progress.exe doesn't have this bug)

How to reproducible the bug: run the demo program and then try to move it or resize it.

The error message:
Glib:ERROR:gthread-win32.c:640:g_thread_xp_AcquireSRWLockExclusive: assertion failed:
This application has requested the Runtime to terminate it in an unusual way.  

build system info:
gtk+3.10.6 build with mingw bundled in ghc, following the BUILD_ALL.BAT script
libraries and build scripts are here:

OS info:
WinXP and Win7 all have this bug. The same program under arch linux behaved normally