http://bugs.winehq.org/show_bug.cgi?id=23509
Summary: SetThreadAffinityMask() regression in Wine 1.2-rc6 Product: Wine Version: 1.2-rc6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: bstriker@ya.ru
SetThreadAffinityMask() regression spotted in Wine 1.2-rc6. The bug 19982 was fixed one day, but it returned back in RC6. Test utility can be downloaded here: http://rh-software.com/downloads/siv.zip Normally the command: $ wine siv -save=[processors]=stdout -nodriver 2> /dev/null | egrep "(CPU-|IC G)" returns output: MPS MCP HTT APIC G N Affinity Speed Processors |P| CPU-0 0 0 0 0000 0 0 0x00000001 3.17GHz |C| CPU-1 0 1 0 0001 0 1 0x00000002 3.17GHz but sometimes it returns: MPS MCP HTT APIC G N Affinity Speed Processors |P| CPU-0 0 0 0 0000 0 0 0x00000001 3.17GHz |P| CPU-1 0 0 0 0000 0 1 0x00000002 3.17GHz which is incorrect.
http://bugs.winehq.org/show_bug.cgi?id=23509
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2010-07-04 15:20:30 --- Please perform a regression test:
http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=23509
ray@pobox.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ray@pobox.co.uk
--- Comment #2 from ray@pobox.co.uk 2010-07-04 16:16:52 --- (In reply to comment #0) I have done the same test and confirm it worked in 1.2-rc5 regressed in 1.2-rc6
I suspect http://bugs.winehq.org/show_bug.cgi?id=20602 is also now broken
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #3 from Boris bstriker@ya.ru 2010-07-04 17:00:04 --- Bisecting: 77 revisions left to test after this (roughly 6 steps) wine-1.2-rc5-77-g4d9a311 - BAD wine-1.2-rc5-38-g88d1a9b - BAD wine-1.2-rc5-19-gf71c411 - BAD wine-1.2-rc5-9-ga42a091 - BAD wine-1.2-rc5-4-gd97e6a4 - BAD wine-1.2-rc5-2-gfcba272 - BAD wine-1.2-rc5-1-g61a9eef - BAD
61a9eef9a1c0a72e6571742dbb830f7b22c05230 is the first bad commit commit 61a9eef9a1c0a72e6571742dbb830f7b22c05230 Author: Paul Chitescu paulc@voip.null.ro Date: Sat Jun 26 13:24:38 2010 +0300 dbghelp: Provide a non-NULL number of bytes read to ReadProcessMemoryProc64 callback. :040000 040000 b1a4eda8e3442754ad74da959aefa5b11b4473c2 6f83178f5d7ac0ee0c6ae334b2b006f8034383cb M dlls
It's strange, for sure, I did: git reset --hard d474d3f142b6e5f50ca3253cd170695ac3cc8930 wine-1.2-rc5 - BAD!
Obviously, I did something wrong... Should I use the command: CC="ccache gcc" ./configure --verbose && make depend && make after each 'git bisect bad'? Or should I use just 'make'?
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #4 from Boris bstriker@ya.ru 2010-07-04 23:00:53 --- Although I remember it worker fine under RC5, I checked RC4 also: $ git reset --hard ffdbc65a1c0c7f38b1613255c0a38bd11d8f4711 wine-1.2-rc4 - BAD!
Might it be an incompatibility with a recently updated system component?
http://bugs.winehq.org/show_bug.cgi?id=23509
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernel32 |dbghelp Summary|SetThreadAffinityMask() |SetThreadAffinityMask() |regression in Wine 1.2-rc6 |doesn't work correctly | |anymore
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-05 00:45:43 --- Does reverting that patch help?
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #6 from Boris bstriker@ya.ru 2010-07-05 02:26:40 --- Which patch do you mean? There is no bug when I used Wine 1.2-rc5. Now, I upgraded to Wine 1.2-rc6 and got the bug. I tried to find a regression between RC5 and RC6, but got the bug every time I built Wine. Even in RC5 and RC4. Seems, there should be an external reason for the bug... Probably not a regression.
http://bugs.winehq.org/show_bug.cgi?id=23509
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | Component|dbghelp |-unknown
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-05 02:41:52 --- Did you use a precompiled package at the rc5 time?
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #8 from Boris bstriker@ya.ru 2010-07-05 04:08:24 --- No, I got RC5 this way: git pull ./tools/wineinstall
After upgrade to RC6, I tried to return back to a worked RC5, but I cannot: git reset --hard d474d3f142b6e5f50ca3253cd170695ac3cc8930 ./tools/wineinstall RC5 has the bug now.
And I always used 'sudo make uninstall' before any sources modifications.
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #9 from Austin English austinenglish@gmail.com 2010-07-05 04:19:16 --- (In reply to comment #0)
SetThreadAffinityMask() regression spotted in Wine 1.2-rc6. The bug 19982 was fixed one day, but it returned back in RC6. Test utility can be downloaded here: http://rh-software.com/downloads/siv.zip Normally the command: $ wine siv -save=[processors]=stdout -nodriver 2> /dev/null | egrep "(CPU-|IC G)" returns output: MPS MCP HTT APIC G N Affinity Speed Processors |P| CPU-0 0 0 0 0000 0 0 0x00000001 3.17GHz |C| CPU-1 0 1 0 0001 0 1 0x00000002 3.17GHz but sometimes it returns: MPS MCP HTT APIC G N Affinity Speed Processors |P| CPU-0 0 0 0 0000 0 0 0x00000001 3.17GHz |P| CPU-1 0 0 0 0000 0 1 0x00000002 3.17GHz which is incorrect.
It would be helpful to konw which part of it is wrong...When I run it under rc5 or rc5, I get different results each time.
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #10 from Boris bstriker@ya.ru 2010-07-05 04:24:03 --- The result must always be like: MPS MCP HTT APIC G N Affinity Speed Processors |P| CPU-0 0 0 0 0000 0 0 0x00000001 3.17GHz |C| CPU-1 0 1 0 0001 0 1 0x00000002 3.17GHz Each CPU must have predetermined APIC value, different from others.
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-05 04:43:14 --- (In reply to comment #8)
No, I got RC5 this way: git pull ./tools/wineinstall
After upgrade to RC6, I tried to return back to a worked RC5, but I cannot: git reset --hard d474d3f142b6e5f50ca3253cd170695ac3cc8930 ./tools/wineinstall RC5 has the bug now.
And I always used 'sudo make uninstall' before any sources modifications.
There is no need to install/uninstall Wine, you can always run it from the source tree.
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #12 from ray@pobox.co.uk 2010-07-05 08:21:12 --- (In reply to comment #11) This looks to me like it may be dependant on the Linux version being used.
I have just installed Wine via http://www.winehq.org/download/deb which gave me 1.1.42 (why not 1.2-rc6 ?) and 1.1.42 is failing with the host being Linux 2.6.32-23-generic.
I also tried http://wine.budgetdedicated.com/archive/ubuntu/jaunty/wine_1.1.38~winehq0~ub... which fails.
I don't know if this is Wine or Linux at fault, but one of them is.
http://bugs.winehq.org/show_bug.cgi?id=23509
--- Comment #13 from ray@pobox.co.uk 2011-04-12 09:48:14 CDT --- I have retested with Wine 1.3.17-214 using Linux 2.6.32-30 and things are now working correctly. How can I matk this as cleared?
http://bugs.winehq.org/show_bug.cgi?id=23509
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #14 from Austin English austinenglish@gmail.com 2011-04-12 12:02:45 CDT --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=23509
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2011-04-15 12:51:02 CDT --- Closing bugs fixed in 1.3.18.