[Bug 18632] New: libgklayout.dll compiled from mingw fails to load (.dll from Firefox)
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue May 26 10:42:07 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=18632
Summary: libgklayout.dll compiled from mingw fails to load
(.dll from Firefox)
Product: Wine
Version: 1.1.22
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: loader
AssignedTo: wine-bugs at winehq.org
ReportedBy: sylvain.pasche at gmail.com
This is with wine from git (version wine-1.1.22-51-g85b6189) on Ubuntu 9.04,
32bit.
Steps to reproduce:
- Download Mozilla source from http://hg.mozilla.org/mozilla-central/
- Follow the instructions at
https://developer.mozilla.org/index.php?title=En%2FCross_Compile_Mozilla_for_Mingw32
for cross compiling it (I had to do some adjustments to the source in order to
compile).
- copy libgcc_s_sjlj-1.dll in the $objdir/dist/bin directory (required by
mingw).
- Try to load Firefox.
It fails to load, because a required .dll fails to load. The Firefox output is:
*** Registering components in: Apprunner
nsNativeModuleLoader::LoadModule("Z:\home\sypasche\moz\cross\objdir-i686-mingw32\dist\bin_deref\components\gklayout.dll")
- load FAILED, rv: 80004003, error:
Exec format error
The relevant logs:
0009:trace:module:load_native_dll Trying native dll
L"Z:\\home\\sypasche\\moz\\cross\\objdir-i686-mingw32\\dist\\bin_deref\\components\\gklayout.dll"
0009: create_mapping( access=000f0005, attributes=00000000, protect=00000141,
size=00000000, file_handle=00bc, objattr={rootdir=0000,sd={},name=L""} )
0009: create_mapping() = 0 { handle=00c4 }
0009:trace:virtual:NtMapViewOfSection handle=0xc4 process=0xffffffff addr=(nil)
off=000000000 size=0 access=2
0009: get_mapping_info( handle=00c4, access=00000004 )
0009: get_mapping_info() = 0 { size=0a857000, protect=256, header_size=1536,
base=6c140000, mapping=00c8, shared_file=0000 }
0009: get_handle_fd( handle=00c4 )
0009: *fd* 00c4 -> 79
0009: get_handle_fd() = 0 { type=1, removable=0, access=000f0005,
options=00000000 }
0009: close_handle( handle=00c8 )
0009: close_handle() = 0
0009: close_handle( handle=00c4 )
0009: close_handle() = 0
0009:warn:module:load_dll Failed to load module
L"Z:\\home\\sypasche\\moz\\cross\\objdir-i686-mingw32\\dist\\bin_deref\\components\\gklayout.dll";
status=c0000017
status=c0000017 should be STATUS_NO_MEMORY
The resulting binaries load fine on Windows, so there may be some issue on
Wine's side.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list