https://bugs.winehq.org/show_bug.cgi?id=39319
Bug ID: 39319 Summary: Resource loading causes termination of an application Product: Wine Version: 1.7.51 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gerharddeclercq@outlook.com Distribution: ---
Created attachment 52400 --> https://bugs.winehq.org/attachment.cgi?id=52400 Terminal Log
I am trying to run the student version of Solid Edge ST8 on up-to-date OpenSUSE Tumbleweed using the latest wine build. It seems that there has not been activity in the DB entry for SE for years and so I am under no illusion that it is supposed to work but I can't see any major reason why it should not because I cannot see any reason for the program needing any hardcore Windows APIs. After all, it is mostly OpenGL and OpenCL and its big brother NX which it shares a lot of engines with has native Linux support. I am therefore determined to get it working.
It installed just fine after I changed Wine to at least Windows 7 (it didn't like XP...) and the tiny "Viewer" program works but the full program terminates upon startup with a dialog that says "Error loading LOCALE resource library SPLASH.drx". I can confirm that the file is present on the filesystem and in the same place that it is on my Windows PC where the program works.
I have attached the terminal output from wine. I do think though that maybe the "fixme:module:load_library unsupported flag(s) used (flags: 0x00000060)" line might be the cause of the problem.
https://bugs.winehq.org/show_bug.cgi?id=39319
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal
https://bugs.winehq.org/show_bug.cgi?id=39319
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Resource loading causes |Solid Edge ST8 does not |termination of an |start with a resource |application |loading error
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- I'm not sure how to help but I think it's useful to do a new installation and pay attention to its console output, specially not registered file failures due to other missing DLL like mfc42.
https://bugs.winehq.org/show_bug.cgi?id=39319
--- Comment #2 from Gerhard gerharddeclercq@outlook.com --- Created attachment 52412 --> https://bugs.winehq.org/attachment.cgi?id=52412 Install log
Here is the log generated whilst installing.
https://bugs.winehq.org/show_bug.cgi?id=39319
--- Comment #3 from Gerhard gerharddeclercq@outlook.com --- I have now uploaded the log for installing. Anyone who wants to have a look can also download the program for free from https://www.plm.automation.siemens.com/en_us/academic/resources/solid-edge/s... .
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
https://bugs.winehq.org/show_bug.cgi?id=39319
Gerhard gerharddeclercq@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.51 |1.7.53
https://bugs.winehq.org/show_bug.cgi?id=39319
--- Comment #5 from Gerhard gerharddeclercq@outlook.com --- I have just tested it with 1.7.53 and it appears as if though the exact same problem is still there.
https://bugs.winehq.org/show_bug.cgi?id=39319
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.53 |1.7.51
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello Gerhard,
don't change the reported version.
See "Do's and Don't's": http://wiki.winehq.org/Bugs
Also there is no point in retesting (almost) every Wine release. The issue is known and well understood. Just be patient and wait for notification. It might take weeks or even months though.
Regards
https://bugs.winehq.org/show_bug.cgi?id=39319
Gerhard gerharddeclercq@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gerharddeclercq@outlook.com
https://bugs.winehq.org/show_bug.cgi?id=39319
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #7 from super_man@post.com --- The download is huge and it failed to download.
I think I tracked the failure somewhere here based on the analyze.
http://source.winehq.org/git/wine.git/blob/af6f8ca4136ad937f8743494a8d3cea0b...
https://bugs.winehq.org/show_bug.cgi?id=39319
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isaac@isrv.pw
--- Comment #8 from Anastasius Focht focht@gmx.net --- *** Bug 44154 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39319
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|64-bit Solid Edge ST8 fails |Multiple 64-bit |to start, reporting 'Error |applications fail to start |loading the LOCALE |due to loader refusing to |resources library, |map 32-bit resource-only |splash.drx' (loader refuses |dll into 64-bit process |to map 32-bit resource-only |(Solid Edge ST8, ICU4C |dll into 64-bit process) |tools)
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
obviously still present (dupe 44154).
Refining summary.
Regards
https://bugs.winehq.org/show_bug.cgi?id=39319
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |f9bd73c4d653b4483b0ec39da94 | |8787cf00916b6 Status|NEW |RESOLVED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- It should be fixed by f9bd73c4d653b4483b0ec39da948787cf00916b6.
https://bugs.winehq.org/show_bug.cgi?id=39319
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.1.
https://bugs.winehq.org/show_bug.cgi?id=39319
Jason holzminister@t-online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |holzminister@t-online.de
--- Comment #12 from Jason holzminister@t-online.de --- When I try to start Star Citizen from its Launcher in a win64 prefix I still get:
[01:42:05.757] [info] Launching Star Citizen LIVE from (Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE) 008a:fixme:module:find_dll_file skipping L"Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\icudt59.dll" because of wrong architecture 008a:err:module:import_dll Library icudt59.dll (which is needed by L"Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\icuuc59.dll") not found 008a:err:module:import_dll Library icuuc59.dll (which is needed by L"Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\StarCitizen.exe") not found 008a:fixme:module:find_dll_file skipping L"Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\icudt59.dll" because of wrong architecture 008a:err:module:import_dll Library icudt59.dll (which is needed by L"Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\icuuc59.dll") not found 008a:err:module:import_dll Library icuuc59.dll (which is needed by L"Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\icuin59.dll") not found 008a:err:module:import_dll Library icuin59.dll (which is needed by L"Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\StarCitizen.exe") not found 008a:err:module:attach_dlls Importing dlls for L"Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\StarCitizen.exe" failed, status c0000135 [01:42:05.955] [error] Star Citizen process exited abnormally (code: 3221225781) : Command failed: Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE\Bin64\StarCitizen.exe -UseNewPak
tested with wine-staging 3.4, new prefix
https://bugs.winehq.org/show_bug.cgi?id=39319
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #13 from Zebediah Figura z.figura12@gmail.com --- (In reply to Jason from comment #12)
tested with wine-staging 3.4, new prefix
Is this bug present in plain (non-Staging) Wine? It's certainly possible there's a broken patch in Staging somewhere.
https://bugs.winehq.org/show_bug.cgi?id=39319
--- Comment #14 from Jason holzminister@t-online.de --- (In reply to Zebediah Figura from comment #13)
(In reply to Jason from comment #12)
tested with wine-staging 3.4, new prefix
Is this bug present in plain (non-Staging) Wine? It's certainly possible there's a broken patch in Staging somewhere.
I tried with normal 3.4 and indeed I don't see this error when launching the game in the terminal. There might be something off with staging then.(How to report this to staging?) Although with normal wine, the game is stuck immediately when the games splash screen appears. But that is probably another problem. The log output is only:
[09:49:02.644] [info] Launching Star Citizen LIVE from (Z:\mnt\1\Spiele\Starcitizen\StarCitizen\LIVE) 009f:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2 009f:fixme:shell:SHGetKnownFolderPath flags 0x0000a000 not supported 0041:fixme:system:SystemParametersInfoW Unknown action: 116
and nothing after this.
But I guess I'll create a new bug for this.