#1959 MapViewOfFileEx: Attempt to access invalid address

WSL
assigned
None
Support
none
Waiting_User_Response
False
2015-02-24
2013-04-25
No

Problem:
While compiling Qt 4.8.4 on a VirtualBox (hosted on Kubuntu) I get the following error: internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:171: MapViewOfFileEx: Attempt to access invalid address.

Please find below relevant information. The attached bug.png shows virtualbox settings for Windows 7 32Bit.

=========
Linux Version
--------------------
Linux SATURN 3.2.0-40-generic-pae #64-Ubuntu SMP Mon Mar 25 21:44:41 UTC 2013 i686 i686 i386 GNU/Linux

=========
VirtualBox Version (see attachment for hardware configuration)
--------------------
VirtualBox 4.1.12_Ubuntu r77245 linux.x86 (Nov  9 2012 17:47:08) release log
00:00:00.384 Log opened 2013-04-25T02:39:59.289169000Z
00:00:00.384 OS Product: Linux
00:00:00.384 OS Release: 3.2.0-40-generic-pae
00:00:00.384 OS Version: #64-Ubuntu SMP Mon Mar 25 21:44:41 UTC 2013
00:00:00.384 DMI Product Name: X48T-DQ6
00:00:00.384 DMI Product Version:  
00:00:00.385 Host RAM: 8074MB RAM, available: 7064MB
00:00:00.385 Executable: /usr/lib/virtualbox/VirtualBox
00:00:00.385 Process ID: 9589
00:00:00.385 Package type: LINUX_32BITS_GENERIC (OSE)

=========
GCC VERSION
--------------------
C:\qt4.8.4>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.7.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.7.2 (GCC)
=========
BinUtils Version
-------------------
GNU ld (GNU Binutils) 2.23.1
=========
MinGW Version (_mingw.h)
-------------------
#define __MINGW32_VERSION           3.20
#define __MINGW32_MAJOR_VERSION     3
#define __MINGW32_MINOR_VERSION     20
#define __MINGW32_PATCHLEVEL        0
==========
Windows Version (VirtualBox)
--------------------
Microsoft Windows 7 32-bit [Version 6.1.7601]

Installed Programs: MySQL Community Server 5.6.11 (GPL)
openssl 1.0.1e 11-feb-2013 GPL
python27
Ruby200
PortableGit
==========

ERROR from compiling Qt 4.8.4 from http://download.qt-project.org/official_releases/qt/4.8/4.8.4/qt-win-opensource-4.8.4-mingw.exe
-------------

cd src\xmlpatterns\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'C:/qt4.8.4/src/xmlpatterns'
mingw32-make -f Makefile.Debug all
mingw32-make[2]: Entering directory 'C:/qt4.8.4/src/xmlpatterns'
g++ -c -include tmp\obj\debug_shared\qt_pch.h -pipe -g -Wall -Wextra -frtti -fexceptions -mthreads -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPP
ORT -DQT_BUILD_XMLPATTERNS_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -D_US
E_MATH_DEFINES -DQT_DLL -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\..\include\QtCore" -I".
.\..\include\QtNetwork" -I"..\..\include" -I"c:\Progra~1\MySQL\MYSQLS~1.6\include" -I"c:\openssl\include" -I"..\..\include\QtXmlPatterns" -I"tmp\rcc\debug_share
d" -I"tmp" -I"acceltree" -I"data" -I"api" -I"environment" -I"expr" -I"functions" -I"iterators" -I"janitors" -I"parser" -I"schema" -I"type" -I"utils" -I"..\..\in
clude\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\qcardinalityverifier.o janitors\qcardinalityverifier.cpp
internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:171: MapViewOfFileEx: Attempt to access invalid address.

Makefile.Debug:48696: recipe for target 'tmp/obj/debug_shared/qcardinalityverifier.o' failed
mingw32-make[2]: *** [tmp/obj/debug_shared/qcardinalityverifier.o] Error 1
mingw32-make[2]: Leaving directory 'C:/qt4.8.4/src/xmlpatterns'
Makefile:40: recipe for target 'debug-all' failed
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory 'C:/qt4.8.4/src/xmlpatterns'
Makefile:491: recipe for target 'sub-xmlpatterns-make_default-ordered' failed
mingw32-make: *** [sub-xmlpatterns-make_default-ordered] Error 2

C:\qt4.8.4>
1 Attachments

Discussion

  • Earnie Boyd

    Earnie Boyd - 2013-04-25

    None of those shows an error with WSL. Please provide a SSCCE that demonstrates a problem.

     
    • Kenneth Blok

      Kenneth Blok - 2013-04-25

      Unfortunately this is not code I wrote. As I said I was trying to compile Digia's Source Qt4.8.4 on a windows box when this particular error surfaced. I assumed this was the proper place to report it. I provided as much info as I could on Hardware and Software installed. I couldn't find any hints as to why this would happen (http://support.microsoft.com/kb/125713) so I assumed it is related to my virtual environment. Unfortunately I cannot install WIN7 on a stand-alone box to verify if it is a consistent error or if it is ONLY occurring in my specific environment. I choose WSL as category since the error is winapi related???

       
      • Earnie Boyd

        Earnie Boyd - 2013-05-15

        Unless you can provide a simple test case that shows the issue I cannot proceed to fix this. There is no method by which I can duplicate your environment nor will I even try to build the source package due to lack of time.

         
  • Earnie Boyd

    Earnie Boyd - 2013-04-25
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,6 +3,7 @@
    
     Please find below relevant information. The attached bug.png shows virtualbox settings for Windows 7 32Bit.
    
    +~~~~~~
     =========
     Linux Version
     --------------------
    @@ -83,3 +84,4 @@
     mingw32-make: *** [sub-xmlpatterns-make_default-ordered] Error 2
    
     C:\qt4.8.4>
    +~~~~~~
    
    • status: unread --> assigned
    • assigned_to: Earnie Boyd
    • Type: Bug --> Support
    • Category: Unknown --> Waiting_User_Response
     

Log in to post a comment.