http://bugs.winehq.org/show_bug.cgi?id=21216
Summary: Unimplemented function KERNEL32.dll.InitializeSRWLock , causes Shattered Horizon - Steam, to crash. Product: Wine Version: 1.1.35 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: aciid91@gmail.com
Shattered Horizon - Steam version crashes on startup, on most recent version of Wine that would be 1.1.35 and also on latest GIT version wine-1.1.35-364-g9dc584d.
I suppose this, unimplemented function KERNEL32.dll.InitializeSRWLock is somekind of 3rd party DRM solution.
But Google search results point me to new, but rarely used Vista function.
http://msdn.microsoft.com/en-us/library/ms683483(VS.85).aspx [InitializeSRWLock Function]
wine: Call from 0x7bc4a7e0 to unimplemented function KERNEL32.dll.InitializeSRWLock, aborting fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
http://bugs.winehq.org/show_bug.cgi?id=21216
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2010-01-01 11:50:04 --- Confirming, slim locks are not implemented at all.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-01 14:06:37 --- Possible workaround - use default win version (Windows XP).
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #3 from aciid91@gmail.com 2010-01-01 14:28:32 --- (In reply to comment #2)
Possible workaround - use default win version (Windows XP).
Doesn't work :\ And I trye'd to stub it on my own. But it led nothing, but tears.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-03 04:14:53 --- Are you using any native dlls? Please attach a backtrace.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #5 from Ilari aciid91@gmail.com 2010-01-03 10:33:39 --- Created an attachment (id=25522) --> (http://bugs.winehq.org/attachment.cgi?id=25522) shatteredhorizon.exe backtrace bt all
Here is the backtrace.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-03 11:55:09 --- That's not what I asked for, please attach a backtrace of the crash.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #7 from Ilari aciid91@gmail.com 2010-01-03 13:52:15 --- Created an attachment (id=25528) --> (http://bugs.winehq.org/attachment.cgi?id=25528) Minidump crash_LD50_2010-01-03 21_03_25_6.dmp
(In reply to comment #6) I think this should satisfy it was actually created by the game itself, I loaded it up with "winedbg crash_LD50_2010-01-03 21_03_25_6.dmp"
And if I didn't get it right this time, I can paste few guestpasses to the game in here to get into the bug. (if you have time)
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-04 00:13:45 --- You need to attach full terminal output including a backtrace after the crash. Where do you see a reference to KERNEL32.InitializeSRWLock?
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #9 from Ilari aciid91@gmail.com 2010-01-04 03:25:43 --- (In reply to comment #8)
You need to attach full terminal output including a backtrace after the crash. Where do you see a reference to KERNEL32.InitializeSRWLock?
It's in the console output, but theres only oneline. Wine itself doesn't crash so I can't get full backtrace from wineitself.
And the game itself crashes to display a popup window, but no output what so ever only this.
wine: Call from 0x7bc4a7e0 to unimplemented function KERNEL32.dll.InitializeSRWLock, aborting
And because it's a steam game I cannot launch it from it's own executable.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-05 08:12:44 ---
wine: Call from 0x7bc4a7e0 to unimplemented function KERNEL32.dll.InitializeSRWLock, aborting
It would be helpful to at least figure out the caller DLL.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #11 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-05 09:25:25 --- (In reply to comment #7)
Created an attachment (id=25528)
--> (http://bugs.winehq.org/attachment.cgi?id=25528) [details]
Minidump crash_LD50_2010-01-03 21_03_25_6.dmp
Please run winedbg on that file and attach complete output.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #12 from Ilari aciid91@gmail.com 2010-01-09 12:26:11 --- Created an attachment (id=25628) --> (http://bugs.winehq.org/attachment.cgi?id=25628) winedbg crash_LD50_2010-01-03\ 21_03_25_6.dmp
(In reply to comment #11)
(In reply to comment #7)
Created an attachment (id=25528)
--> (http://bugs.winehq.org/attachment.cgi?id=25528) [details] [details]
Minidump crash_LD50_2010-01-03 21_03_25_6.dmp
Please run winedbg on that file and attach complete output.
Hope it helps, help me out a bit here on how to do thread based debugging. I ran bt all, I can go deeper if needed.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #13 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-11 12:39:42 --- You seem to not have Wine debugging symbols installed, so install them, or compile Wine from source. 'info share' in winedbg will show loaded modules and their addresses.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #14 from Austin English austinenglish@gmail.com 2010-09-22 04:00:33 CDT --- Created an attachment (id=30910) --> (http://bugs.winehq.org/attachment.cgi?id=30910) stub
Does this help?
http://bugs.winehq.org/show_bug.cgi?id=21216
Zhenya Zenitur@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Zenitur@yandex.ru
--- Comment #15 from Zhenya Zenitur@yandex.ru 2010-11-06 03:06:12 CDT --- Still present in 1.3.4 I done some work... I saw this error in UT3 before 1.3.4 release (and I update Wine from 1.2 to fix this). R6034 may be if manifest files wasn't installed. In Windows appear many manifest files, in linux - low. I install vcredist 2008. See this error:
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8) fixme:process:GetLogicalProcessorInformation ((nil),0x32e3e0): stub fixme:process:GetLogicalProcessorInformation (0x1829c00,0x32e3e0): stub fixme:msvcr90:__clean_type_info_names_internal (0x10077908) stub
After copying ~/.wine/drive_c/windows/winsxs/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375.manifest to ~/.wine/drive_c/Program Files/Steam/steamapps/common/shattered_horizon/client_exe/Microsoft.VC90.CRT (and msvcm90.dll, msvcp90.dll, msvcr90.dll from this directory) I see other error:
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8) err:module:find_forwarded_export module not found for forward 'msvcr90.__clean_type_info_names_internal' used by L"C:\windows\system32\msvcr80.dll" err:module:find_forwarded_export module not found for forward 'msvcr90._initterm_e' used by L"C:\windows\system32\msvcr80.dll" err:module:find_forwarded_export module not found for forward 'msvcr90._decode_pointer' used by L"C:\windows\system32\msvcr80.dll" err:module:find_forwarded_export module not found for forward 'msvcr90._encoded_null' used by L"C:\windows\system32\msvcr80.dll" err:module:find_forwarded_export module not found for forward 'msvcr90._encode_pointer' used by L"C:\windows\system32\msvcr80.dll" wine: Call from 0x7ef93970 to unimplemented function MSVCR80.dll._initterm_e, aborting err:module:attach_process_dlls "APEX_release.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\Steam\steamapps\common\shattered_horizon\client_exe\shattered_horizon.exe" failed, status 80000100
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #16 from Zhenya Zenitur@yandex.ru 2010-11-06 03:11:15 CDT --- http://connect.microsoft.com/VisualStudio/feedback/details/361682/vc9-sp1-ge... - VC9 generates manifests with the wrong version number.
After install SP1, the version number in the generated manifest is '9.0.21022.8' for the CRT and MFC. However the version in the redist directory is '9.0.30729.1'.
Executables distributed with side-by-side dlls using the redist now fail to run. (This used to work in VS2008 with the Feature Pack)
http://bugs.winehq.org/show_bug.cgi?id=21216
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #17 from Dan Kegel dank@kegel.com 2010-11-06 12:30:19 CDT --- http://code.google.com/p/openpgm/ happens to use InitializeSRWLock, too, fwiw.
http://bugs.winehq.org/show_bug.cgi?id=21216
the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the.ideals@gmail.com
--- Comment #18 from the.ideals@gmail.com 2011-03-15 03:04:59 CDT --- wine-1.3.15 - Win 7
After extracting the Win 7 IE9 RTM installer to bypass another problem I encounter a call for this function.
wine: Call from 0x7bc4c820 to unimplemented function KERNEL32.dll.InitializeSRWLock, aborting
http://bugs.winehq.org/show_bug.cgi?id=21216
Daniel daniel.marynicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.marynicz@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21216
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #19 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2011-10-13 16:11:01 CDT --- Could you retry in current git? Stubs for SRW Lock functions are now in current git.
http://bugs.winehq.org/show_bug.cgi?id=21216
--- Comment #20 from John the.ideals@gmail.com 2011-10-22 01:56:57 CDT --- Created attachment 37050 --> http://bugs.winehq.org/attachment.cgi?id=37050 Error log
After retrying IE9 with the new stub I now encounter a new error.
http://bugs.winehq.org/show_bug.cgi?id=21216
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #21 from Dan Kegel dank@kegel.com 2011-10-22 07:50:22 CDT --- That log says err:ntdll:NtQueryInformationToken Unhandled Token Information class 25! fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevationType, ...) semi-stub which seems like a different problem; please file a new bug for that. It sounds like we can mark this bug fixed. If it turns out stubs aren't enough, that should probably also be filed as a new bug.
http://bugs.winehq.org/show_bug.cgi?id=21216
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org 2011-11-04 14:15:01 CDT --- Closing bugs fixed in 1.3.32.
http://bugs.winehq.org/show_bug.cgi?id=21216
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3f1b41ebb20ccde589e16ef72f2 | |f31283eced2d5 CC| |adys.wh@gmail.com