https://bugs.winehq.org/show_bug.cgi?id=39319
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, win64 Status|UNCONFIRMED |NEW URL| |http://dl2.plm.automation.s | |iemens.com/solidedge/Solid_ | |Edge_ENGLISH_ST8.exe CC| |focht@gmx.net Component|-unknown |ntdll Summary|Solid Edge ST8 does not |64-bit Solid Edge ST8 fails |start with a resource |to start, reporting 'Error |loading error |loading the LOCALE | |resources library, | |splash.drx' (loader refuses | |to map 32-bit resource-only | |dll into 64-bit process) Ever confirmed|0 |1
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Solid Edge ST8 is 64-bit only and Windows 7+
http://www.plm.automation.siemens.com/de_de/products/solid-edge/design/syste...
The app requires MS .NET Frameworks 3.5 SP1 and 4.0 - not a problem with default Wine (Wine-Mono 4.5). The installer ships those prerequisites and tries to install them if not present (Wine without Wine-Mono support).
Relevant part of trace log:
--- snip --- $ pwd /home/focht/Downloads/wine64/drive_c/Program Files/Solid Edge ST8/Program
$ WINEDEBUG=+tid,+seh,+relay,+module,+loaddll wine ./edge.exe >>log.txt 2>&1 ... 0036:Ret PE DLL (proc=0xc45354,module=0xc40000 L"splash.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 0036:trace:module:process_attach (L"splash.dll",(nil)) - END 0036:Ret KERNEL32.LoadLibraryW() retval=00c40000 ret=14000112f 0036:Call KERNEL32.GetProcAddress(00c40000,140002708 "DisplaySplashScreen") ret=140001260 0036:Ret KERNEL32.GetProcAddress() retval=00c44830 ret=140001260 ... 0036:Call KERNEL32.LoadLibraryW(00b310d0 L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx") ret=1800c805e 0036:trace:module:load_dll looking for L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" in L"C:\Program Files\Solid Edge ST8\Program;.;C:\windows\system32;C:\windows\system;C:\windows;C:\windows\system32;C:\windows;C:\windows\system32\wbem" 0036:trace:module:get_load_order looking for L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" 0036:trace:module:get_load_order got hardcoded default for L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" 0036:trace:module:load_builtin_dll Trying built-in L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" 0036:warn:module:load_builtin_dll failed to load .so lib for builtin L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx": /home/focht/Downloads/wine64/dosdevices/c:/Program Files/Solid Edge ST8/Program/ResDLLs/0009/SPLASH.drx: invalid ELF header 0036:trace:module:load_builtin_dll Trying built-in L"splash.drx" 0036:warn:module:load_builtin_dll cannot open .so lib for builtin L"splash.drx": /home/focht/projects/wine/wine.repo/install/bin/../lib64/wine/splash.drx.so: cannot open shared object file: No such file or directory 0036:trace:module:load_native_dll Trying native dll L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" 0036:warn:module:load_dll Failed to load module L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx"; status=c000007b 0036:Ret KERNEL32.LoadLibraryW() retval=00000000 ret=1800c805e 0036:Call KERNEL32.GetLastError() ret=1800c8079 0036:Ret KERNEL32.GetLastError() retval=000000c1 ret=1800c8079 0036:Call KERNEL32.DeactivateActCtx(00000000,0007fbe0) ret=1800c808c 0036:Ret KERNEL32.DeactivateActCtx() retval=00000001 ret=1800c808c 0036:Call KERNEL32.LoadLibraryExW(00b310d0 L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx",00000000,00000008) ret=00db984f 0036:trace:module:load_dll looking for L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" in L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009;.;C:\windows\system32;C:\windows\system;C:\windows;C:\windows\system32;C:\windows;C:\windows\system32\wbem" 0036:trace:module:get_load_order looking for L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" 0036:trace:module:get_load_order got hardcoded default for L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" 0036:trace:module:load_builtin_dll Trying built-in L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" 0036:warn:module:load_builtin_dll failed to load .so lib for builtin L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx": /home/focht/Downloads/wine64/dosdevices/c:/Program Files/Solid Edge ST8/Program/ResDLLs/0009/SPLASH.drx: invalid ELF header 0036:trace:module:load_builtin_dll Trying built-in L"splash.drx" 0036:warn:module:load_builtin_dll cannot open .so lib for builtin L"splash.drx": /home/focht/projects/wine/wine.repo/install/bin/../lib64/wine/splash.drx.so: cannot open shared object file: No such file or directory 0036:trace:module:load_native_dll Trying native dll L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx" 0036:warn:module:load_dll Failed to load module L"C:\Program Files\Solid Edge ST8\Program\ResDLLs\0009\splash.drx"; status=c000007b 0036:Ret KERNEL32.LoadLibraryExW() retval=00000000 ret=00db984f ... 0036:Call user32.MessageBoxW(00000000,00b310d0 L"Error loading the LOCALE resources library, splash.drx.",00b31150 L"Attach Locale Resources Error",00000000) ret=00db696f --- snip ---
The process is 64-bit and the dll in question is 32-bit - only containing resources. Since no executable code is present, Wine loader should allow this (as if 'LOAD_LIBRARY_AS_DATAFILE' and potentially 'LOAD_LIBRARY_AS_IMAGE_RESOURCE' have been specified).
ProtectionID scan:
--- snip --- -=[ ProtectionID v0.6.6.7 DECEMBER]=- (c) 2003-2015 CDKiLLER & TippeX Build 24/12/14-22:48:13 Ready... Scanning -> Z:\home\focht\Downloads\SPLASH.drx [!] File does not have any imports [!] File does not have an entrypoint File Type : 32-Bit Dll (Subsystem : Win GUI / 2), Size : 18560512 (011B3600h) Byte(s) [!] Warning -> File needs higher OS (Current OS : 05.01, Requires OS: 06.00) Compilation TimeStamp : 0x556EBB0C -> Wed 03rd Jun 2015 08:30:04 (GMT) [TimeStamp] 0x556EBB0C -> Wed 03rd Jun 2015 08:30:04 (GMT) | PE Header | - | Offset: 0x000000C0 | VA: 0x100000C0 | - [File Heuristics] -> Flag #1 : 00010000000001001001010001000000 (0x10049440) [DllCharacteristics] -> Flag : (0x0140) -> ASLR | DEP [SectionCount] 1 (0x1) | ImageSize 0x11B5000 (18567168) byte(s) [VersionInfo] Company Name : Siemens PLM Software Inc. [VersionInfo] Product Name : Solid Edge [VersionInfo] Product Version : 108.00.00.091 [VersionInfo] File Description : Splash [VersionInfo] File Version : 108.00.00.091 [VersionInfo] Original FileName : Splash.dll [VersionInfo] Internal Name : Splash [VersionInfo] Legal Trademarks : Solid Edge® is a registered trademark of Siemens PLM Software Inc. [VersionInfo] Legal Copyrights : Copyright © 2014 Siemens PLM Software Inc. All Rights Reserved. [!] File appears to have no protection or is using an unknown protection - Scan Took : 4.171 Second(s) [0000012DDh (4829) tick(s)] [244 of 573 scan(s) done] --- snip ---
Dump of dll headers:
--- snip --- ->DOS Header e_magic: 0x5A4D e_cblp: 0x0090 e_cp: 0x0003 e_crlc: 0x0000 e_cparhdr: 0x0004 e_minalloc: 0x0000 e_maxalloc: 0xFFFF e_ss: 0x0000 e_sp: 0x00B8 e_csum: 0x0000 e_ip: 0x0000 e_cs: 0x0000 e_lfarlc: 0x0040 e_ovno: 0x0000 e_res: 0x0000000000000000 e_oemid: 0x0000 e_oeminfo: 0x0000 e_res2: 0x0000000000000000000000000000000000000000 e_lfanew: 0x000000B8
->File Header Machine: 0x014C (I386) NumberOfSections: 0x0001 TimeDateStamp: 0x556EBB0C (GMT: Wed Jun 03 08:30:04 2015) PointerToSymbolTable: 0x00000000 NumberOfSymbols: 0x00000000 SizeOfOptionalHeader: 0x00E0 Characteristics: 0x2102 (EXECUTABLE_IMAGE) (32BIT_MACHINE) (DLL)
->Optional Header Magic: 0x010B (HDR32_MAGIC) MajorLinkerVersion: 0x0B MinorLinkerVersion: 0x00 -> 11.00 SizeOfCode: 0x00000000 SizeOfInitializedData: 0x011B3400 SizeOfUninitializedData: 0x00000000 AddressOfEntryPoint: 0x00000000 BaseOfCode: 0x00001000 BaseOfData: 0x00001000 ImageBase: 0x10000000 SectionAlignment: 0x00001000 FileAlignment: 0x00000200 MajorOperatingSystemVersion: 0x0006 MinorOperatingSystemVersion: 0x0000 -> 6.00 MajorImageVersion: 0x0000 MinorImageVersion: 0x0000 -> 0.00 MajorSubsystemVersion: 0x0006 MinorSubsystemVersion: 0x0000 -> 6.00 Win32VersionValue: 0x00000000 SizeOfImage: 0x011B4388 SizeOfHeaders: 0x00000200 CheckSum: 0x00000000 Subsystem: 0x0002 (WINDOWS_GUI) DllCharacteristics: 0x0140 SizeOfStackReserve: 0x00100000 SizeOfStackCommit: 0x00001000 SizeOfHeapReserve: 0x00100000 SizeOfHeapCommit: 0x00001000 LoaderFlags: 0x00000000 NumberOfRvaAndSizes: 0x00000010
DataDirectory (16) RVA Size ------------- ---------- ---------- ExportTable 0x00000000 0x00000000 ImportTable 0x00000000 0x00000000 Resource 0x00001000 0x011B3388 (".rsrc") Exception 0x00000000 0x00000000 Security 0x00000000 0x00000000 Relocation 0x00000000 0x00000000 Debug 0x00000000 0x00000000 Copyright 0x00000000 0x00000000 GlobalPtr 0x00000000 0x00000000 TLSTable 0x00000000 0x00000000 LoadConfig 0x00000000 0x00000000 BoundImport 0x00000000 0x00000000 IAT 0x00000000 0x00000000 DelayImport 0x00000000 0x00000000 COM 0x00000000 0x00000000 Reserved 0x00000000 0x00000000 --- snip ---
$ sha1sum Solid_Edge_ENGLISH_ST8.exe db846febf8ffda50c832df98d40bc24ceba3e49b Solid_Edge_ENGLISH_ST8.exe
$ du -sh Solid_Edge_ENGLISH_ST8.exe 2.5G Solid_Edge_ENGLISH_ST8.exe
$ wine --version wine-1.7.51-201-g60d1d6f
Regards