http://bugs.winehq.org/show_bug.cgi?id=25086
Summary: CPU-Z freezes at startup Product: Wine Version: 1.3.6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: testing.tigerwolf@mail.com
Created an attachment (id=31808) --> (http://bugs.winehq.org/attachment.cgi?id=31808) CPU-Z freezes at startup
Using "win 98" or "win ME" configuration for starting cpuz.exe (recommanded in order to prevent from bug #11908), cpuz.exe freezes at startup.
The launching cpuz progress bar is displayed but remains to avoid. The cpuz main window is never launched.
See back trace for more information.
Software configuration : - Ubuntu 10.10 amd64 - Wine 1.3.6 - cpuz v1.56
http://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #1 from butraxz@gmail.com 2013-06-21 15:03:18 CDT --- This ticket has not been updated for over 900 days.
Is this still an issue in wine version 1.6-rc3 or higher or is this to be closed as abandoned ?
http://bugs.winehq.org/show_bug.cgi?id=25086
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
--- Comment #2 from lizhenbo litimetal@gmail.com 2013-06-24 05:03:19 CDT --- I can confirm it in 1.6-rc3 This is the last line in terminal output
fixme:process:GetLogicalProcessorInformationEx (65535,0x74fa18,0x32f480): stub
http://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #3 from testing.tigerwolf@mail.com 2013-06-24 15:28:30 CDT --- Created attachment 44950 --> http://bugs.winehq.org/attachment.cgi?id=44950 CPUZ log using Wine 1.6-R3
Same problem remains in 1.6-rc3 Same behavior as described by lizhenbo (see associated log)
http://bugs.winehq.org/show_bug.cgi?id=25086
testing.tigerwolf@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44950|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=25086
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #4 from hanska2@luukku.com --- Still the same
Last line still
fixme:process:GetLogicalProcessorInformationEx (65535,0x36c3c0,0x23ece8): stub
wine 1.7.22
https://bugs.winehq.org/show_bug.cgi?id=25086
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #5 from Sebastian Lackner sebastian@fds-team.de --- This bug is actually very similar (or even a duplicate of) bug 34332. CPU-Z starts fine with my stub patch (which was not sufficient for Splinter Cell):
https://bugs.winehq.org/attachment.cgi?id=48835&action=diff
https://bugs.winehq.org/show_bug.cgi?id=25086
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://www.cpuid.com/cpuz.p | |hp CC| |focht@gmx.net Component|-unknown |kernel32 Summary|CPU-Z freezes at startup |Multiple games and | |applications need | |kernel32.GetLogicalProcesso | |rInformationEx | |implementation (CPU-Z 1.72, | | Splinter Cell: Blacklist) Ever confirmed|0 |1
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary and using this bug as collector for 'kernel32.GetLogicalProcessorInformationEx' implementation.
$ sha1sum cpu-z_1.72.1-en.zip 87e041255c2acf405419fabf851056ea9b2fea5b cpu-z_1.72.1-en.zip
$ du -sh cpu-z_1.72.1-en.zip 2.2M cpu-z_1.72.1-en.zip
$ wine --version wine-1.7.47-196-g4e6e9a1
Regards
https://bugs.winehq.org/show_bug.cgi?id=25086
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |berillions@gmail.com
--- Comment #7 from Anastasius Focht focht@gmx.net --- *** Bug 34332 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=25086
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games and |Multiple games and |applications need |applications need |kernel32.GetLogicalProcesso |kernel32.GetLogicalProcesso |rInformationEx |rInformationEx |implementation (CPU-Z 1.72, |implementation (CPU-Z 1.72, | Splinter Cell: Blacklist) |Splinter Cell: Blacklist, | |Adobe CC 2015)
https://bugs.winehq.org/show_bug.cgi?id=25086
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=25086
msdobrescu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msdobrescu@gmail.com
--- Comment #8 from msdobrescu@gmail.com --- Please look for a fix for this, as it affects Adobe CC 2015 installation. That's major... I have tried to install Photoshop and Illustrator, they crash the same. I have license for them and I can confirm that the crash occurs when I chose "Install/I have purchased" too.
https://bugs.winehq.org/show_bug.cgi?id=25086
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games and |Multiple games and |applications need |applications need |kernel32.GetLogicalProcesso |kernel32.GetLogicalProcesso |rInformationEx |rInformationEx |implementation (CPU-Z 1.72, |implementation (CPU-Z 1.72, |Splinter Cell: Blacklist, |Splinter Cell: Blacklist, |Adobe CC 2015) |Adobe CC 2015, Kontakt 5)
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
'Kontakt 5' also needs this (after working around bug 37694 and bug 39376).
http://www.native-instruments.com/en/products/komplete/samplers/kontakt-5-pl...
--- snip --- ... 0046:Call KERNEL32.GetModuleHandleW(0273fb64 L"kernel32.dll") ret=02746b2f 0046:Ret KERNEL32.GetModuleHandleW() retval=7b820000 ret=02746b2f 0046:Call KERNEL32.GetProcAddress(7b820000,02746ba8 "SetThreadGroupAffinity") ret=02746b3f 0046:Ret KERNEL32.GetProcAddress() retval=7b831498 ret=02746b3f 0046:Call KERNEL32.GetProcAddress(7b820000,02746bc0 "GetThreadGroupAffinity") ret=02746b4a 0046:Ret KERNEL32.GetProcAddress() retval=7b82f458 ret=02746b4a 0046:Call KERNEL32.GetModuleHandleW(0273fb64 L"kernel32.dll") ret=02746b7d 0046:Ret KERNEL32.GetModuleHandleW() retval=7b820000 ret=02746b7d 0046:Call KERNEL32.GetProcAddress(7b820000,02746bd8 "GetCurrentProcessorNumberEx") ret=02746b80 0046:Ret KERNEL32.GetProcAddress() retval=7b82bd84 ret=02746b80 0046:Call KERNEL32.LoadLibraryExW(027448e8 L"combase.dll",00000000,00000800) ret=02746c9a 0046:fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) 0046:Call PE DLL (proc=0xf7576f04,module=0xf7570000 L"combase.dll",reason=PROCESS_ATTACH,res=(nil)) 0046:Call KERNEL32.DisableThreadLibraryCalls(f7570000) ret=f7576fb7 0046:Ret KERNEL32.DisableThreadLibraryCalls() retval=00000001 ret=f7576fb7 0046:Ret PE DLL (proc=0xf7576f04,module=0xf7570000 L"combase.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 0046:Ret KERNEL32.LoadLibraryExW() retval=f7570000 ret=02746c9a 0046:Call KERNEL32.GetModuleHandleW(027448e8 L"combase.dll") ret=02746cb3 0046:Ret KERNEL32.GetModuleHandleW() retval=f7570000 ret=02746cb3 0046:Call KERNEL32.GetProcAddress(f7570000,02744900 "RoInitialize") ret=02746cba 0046:Ret KERNEL32.GetProcAddress() retval=f7576754 ret=02746cba 0046:Call KERNEL32.GetModuleHandleW(027448e8 L"combase.dll") ret=02746cdc 0046:Ret KERNEL32.GetModuleHandleW() retval=f7570000 ret=02746cdc 0046:Call KERNEL32.GetProcAddress(f7570000,02746d08 "RoUninitialize") ret=02746ce3 0046:Ret KERNEL32.GetProcAddress() retval=f757676c ret=02746ce3 0046:Call KERNEL32.GetProcessAffinityMask(ffffffff,02800a9c,02800ab8) ret=02745bfb 0046:Ret KERNEL32.GetProcessAffinityMask() retval=00000001 ret=02745bfb 0046:Call KERNEL32.GetModuleHandleW(0273fb64 L"kernel32.dll") ret=02747b4d 0046:Ret KERNEL32.GetModuleHandleW() retval=7b820000 ret=02747b4d 0046:Call KERNEL32.GetProcAddress(7b820000,02747bac "GetLogicalProcessorInformationEx") ret=02747b54 0046:Ret KERNEL32.GetProcAddress() retval=7b82eb40 ret=02747b54 0046:Call KERNEL32.GetLogicalProcessorInformationEx(0000ffff,00000000,02800aa4) ret=02747b68 0046:fixme:process:GetLogicalProcessorInformationEx (65535,(nil),0x2800aa4): stub 0046:Ret KERNEL32.GetLogicalProcessorInformationEx() retval=00000001 ret=02747b68 0046:Call KERNEL32.GetLastError() ret=02747b70 0046:Ret KERNEL32.GetLastError() retval=00000002 ret=02747b70 0046:Call KERNEL32.GetLastError() ret=0277207d 0046:Ret KERNEL32.GetLastError() retval=00000002 ret=0277207d 0046:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033f7ec) ret=02739339 0046:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b845e29 ip=7b845e29 tid=0046 0046:trace:seh:raise_exception info[0]=19930520 0046:trace:seh:raise_exception info[1]=0033f814 0046:trace:seh:raise_exception info[2]=027fcf40 0046:trace:seh:raise_exception eax=7b832bc5 ebx=0000ffff ecx=0000000c edx=0033f724 esi=0033f7d0 edi=0033f790 0046:trace:seh:raise_exception ebp=0033f768 esp=0033f704 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000202 0046:trace:seh:call_stack_handlers calling handler at 0x27fb404 code=e06d7363 flags=1 ---- snip ---
Sebastian's semi-stub can't work here. The app passes NULL for buffer in order to determine the actual size to be allocated. It checks the lasterror value for ERROR_INSUFFICIENT_BUFFER (0x7a).
$ sha1sum Kontakt\ 5.exe 766d67cce235078f3431c1c8ec6464d4bbab16ab Kontakt 5.exe
$ du -sh Kontakt\ 5.exe 35M Kontakt 5.exe
$ wine --version wine-1.7.52
Regards
https://bugs.winehq.org/show_bug.cgi?id=25086
jypma winehq@jan.ypmania.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@jan.ypmania.nl
https://bugs.winehq.org/show_bug.cgi?id=25086
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #10 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53137 --> https://bugs.winehq.org/attachment.cgi?id=53137 Semistub implementation for GetLogicalProcessorInformationEx
The explanation is follow: 1. Application call the procedure with zero buffer to know size needed. 2. The procedure return FALSE, size and ERROR_INSUFFICIENT_BUFFER. 3. The application allocate buffer of needed size. 4. Then the application call the procedure again with the buffer and correct size. 5. The procedure must return at least one structure of type SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX in the buffer and return TRUE. I filled the structure with some fake data and think they are enough for wine. Tested on CPU-Z and I want someone test on another applications.
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #11 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53138 --> https://bugs.winehq.org/attachment.cgi?id=53138 CPU-Z in works
https://bugs.winehq.org/show_bug.cgi?id=25086
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |39376
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #12 from Sergey Isakov isakov-sl@bk.ru --- Kontakt 5.exe is still not working. May be it requires more information to be filled ~~~~ fixme:process:GetLogicalProcessorInformationEx (65535,0x0,0): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x2c6fb30,76): semistub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:advapi:RegisterTraceGuidsW (0x2a8a19d, 0x0, {f7b697a3-4db5-4d3b-be71-c4d284e6592f}, 7, 0x2af069c, (null), (null), 0x2af0ad0): stub fixme:advapi:RegisterTraceGuidsW register trace class {72b14a7d-704c-423e-92f8-7e6d64bcb92a} fixme:advapi:RegisterTraceGuidsW register trace class {e2091f8a-1e0a-4731-84a2-0dd57c8a5261} fixme:advapi:RegisterTraceGuidsW register trace class {e8a3bf1f-a86b-4390-9c60-5390b969d22c} fixme:advapi:RegisterTraceGuidsW register trace class {5727a00f-50be-4519-8256-f7699871fecb} fixme:advapi:RegisterTraceGuidsW register trace class {7e854ec7-cdc4-405a-b5b2-aaf7c9e7d40c} fixme:advapi:RegisterTraceGuidsW register trace class {79a60dc6-5fc8-4952-a41c-1163aeec5eb8} fixme:advapi:RegisterTraceGuidsW register trace class {2718d25b-5bf5-4479-8e88-babc64bdbfca} fixme:process:GetLogicalProcessorInformationEx (65535,0x0,0): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x2c6fb30,76): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x0,0): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x2c6e510,76): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x0,0): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x2c7a420,76): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x0,0): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x2c7ab00,76): semistub fixme:process:GetNumaHighestNodeNumber (0x33f970): semi-stub fixme:process:GetLogicalProcessorInformationEx (65535,0x0,0): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x2c7ab90,76): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x0,0): semistub fixme:process:GetLogicalProcessorInformationEx (65535,0x2c7acd8,76): semistub wine: Unhandled division by zero at address 0x2a34de0 (thread 003d), starting debugger... ~~~~
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #13 from Sergey Isakov isakov-sl@bk.ru --- Continue research... If I change GetNumaHighestNodeNumber to return 1 then crash changed ~~~~ wine: Unhandled page fault on read access to 0x00000028 at address 0x2a35172 (thread 003d), starting debugger... ~~~~
MSDN said ~~~ BOOL WINAPI GetNumaHighestNodeNumber( _Out_ PULONG HighestNodeNumber );
Return value
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #14 from Sergey Isakov isakov-sl@bk.ru --- I made Kontakt 5 working in Windows 7 mode overcoming the problem of GetLogicalProcessorInformationEx. Also affected applications CPU-Z, 3DMark03 working too. See screenshot and proposed patch Currently I set msvcp120 and msvcr120 native. As well as d3dx9_36 if it is related. Mouse is not working in main window, it looks like a next bug.
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #15 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53189 --> https://bugs.winehq.org/attachment.cgi?id=53189 Kontakt 5 started in Windows 7 mode
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #16 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53190 --> https://bugs.winehq.org/attachment.cgi?id=53190 The patch for GetLogicalProcessorInfoEx and GetNuma...
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #17 from Sergey Isakov isakov-sl@bk.ru --- Next I want to show the difference if I started 3DMark03 as usual (-nosysteminfo) and after applying my patch (with systeminfo).
Please, confirm my patch working!
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #18 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53206 --> https://bugs.winehq.org/attachment.cgi?id=53206 Main screen without systeminfo
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #19 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53207 --> https://bugs.winehq.org/attachment.cgi?id=53207 Main screen with systeminfo
https://bugs.winehq.org/show_bug.cgi?id=25086
--- Comment #20 from Sergey Isakov isakov-sl@bk.ru --- Hey guys, This bug resolved some time ago by commit a124064ce5e1c83fa453da5610712b303e65de30
https://bugs.winehq.org/show_bug.cgi?id=25086
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a124064ce5e1c83fa453da56107 | |12b303e65de30 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #21 from Nikolay Sivov bunglehead@gmail.com --- Fixed with http://source.winehq.org/git/wine.git/commit/a124064ce5e1c83fa453da5610712b3....
https://bugs.winehq.org/show_bug.cgi?id=25086
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=25086
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.6.
https://bugs.winehq.org/show_bug.cgi?id=25086
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #23 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.2.
https://bugs.winehq.org/show_bug.cgi?id=25086
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |agatha.ukio@gmail.com
--- Comment #24 from Anastasius Focht focht@gmx.net --- *** Bug 45867 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=25086
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games and |Multiple games and |applications need |applications need |kernel32.GetLogicalProcesso |kernel32.GetLogicalProcesso |rInformationEx |rInformationEx |implementation (CPU-Z 1.72, |implementation (CPU-Z 1.72, |Splinter Cell: Blacklist, |Splinter Cell: Blacklist, |Adobe CC 2015, Kontakt 5) |Adobe CC 2015, Adobe ADE | |4.5, Kontakt 5) URL|http://www.cpuid.com/cpuz.p |https://web.archive.org/web |hp |/20181104163913/https://ade | |download.adobe.com/pub/adob | |e/digitaleditions/ADE_4.5_I | |nstaller.exe