https://bugs.winehq.org/show_bug.cgi?id=53017
Bug ID: 53017
Summary: user32:monitor killed by X Error on Debian 11 + Intel
GPU
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: user32
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
Distribution: ---
user32:monitor gets killed by an X Error while running
test_ChangeDisplaySettingsEx() on my Debian 11 + Intel GPU machine (see
fg-deb64-*). This results in this type of failure:
monitor.c:61: GetProcAddress(user32, DisplayConfigSetDeviceInfo) failed.
user32:monitor:0834 done (0) in 0s
The main process has no test summary line
The lack of a summary line is what indicates that the process was summarily
killed, typically by a Unix library call.
Looking into some more details it is this call which causes the X Error:
res = ChangeDisplaySettingsExA(devices[device].name, &dm3, NULL, CDS_RESET,
NULL);
And adding traces in winex11.drv shows more precisely that the crash happens
because bad physical size values are passed to XRRSetScreenSize():
dmFields=BITSPERPEL,PELSWIDTH,PELSHEIGHT,DISPLAYFLAGS,DISPLAYFREQUENCY,DISPLAYORIENTATION
dmBitsPerPel=8 dmPelsWidth=720 dmPelsHeight=400 dmDisplayFrequency=70
dmDisplayFlags=0 dmDisplayOrientation=0
0024:trace:x11settings:apply_display_settings handler:XRandR 1.4 changing
L"\\\\.\\DISPLAY1" to position:(0,0) resolution:720x400 frequency:70Hz
depth:8bits orientation:0.
0024:warn:xrandr:xrandr14_set_current_mode Cannot change screen color depth
from 32bits to 8bits!
0024:trace:xrandr:set_screen_size mm_width=0 = 720 * 1 / 3840
0024:trace:xrandr:set_screen_size mm_height=0 = 400 * 2 / 2160
0024:trace:xrandr:xrandr14_set_current_mode 1638
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Value in failed request: 0x0
Serial number of failed request: 209
Current serial number in output stream: 210
So there are two questions:
* Should set_screen_size() have defensive code that prevents using 0 as the
physical sizes?
Using 1 instead seems to avoid the crashes.
* Why do DisplayWidthMM() and DisplayHeightMM() return bad values?
Weirder, I just got a bunch of runs with correct Display*MM() values and now
that I removed traces it's bad again.
Memory corruption?
Note that xrandr knows the right physical dimensions for my screen:
$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis)
698mm x 393mm
3840x2160 60.00*+ 30.00 25.00 24.00 29.97 23.98 29.98
2560x1600 59.94
2560x1440 59.95
1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00
29.97 23.98
1920x1080i 60.00 50.00 59.94
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
832x624 74.55
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39231
Bug ID: 39231
Summary: setupapi:devinst fails if privileges not high enough
Product: Wine
Version: unspecified
Hardware: x86
OS: Windows
Status: NEW
Severity: normal
Priority: P2
Component: setupapi
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
The following failures only happen if the test is run in a restricted or
limited user account.
devinst.c:408: Test failed: SetupDiInstallClassA failed: 0000000d
devinst.c:410: Test failed: Couldn't delete classkey
devinst.c:462: Test failed: Expected ERROR_INVALID_PARAMETER, got 00000005
devinst.c:479: Test failed: Expected ERROR_CLASS_MISMATCH, got 00000005
devinst.c:491: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:496: Test failed: Expected ERROR_DEVINST_ALREADY_EXISTS, got 00000005
devinst.c:502: Test failed: Expected ERROR_INVALID_USER_BUFFER, got 00000005
devinst.c:508: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:516: Test failed: Expected 3 devices, got 0
devinst.c:601: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:604: Test failed: Expected ERROR_INSUFFICIENT_BUFFER, got 00000057
devinst.c:608: Test failed: SetupDiGetDeviceInstanceIdA failed: 00000057
devinst.c:609: Test failed: Unexpected instance ID aö|4
devinst.c:613: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:616: Test failed: SetupDiGetDeviceInstanceIdA failed: 00000057
devinst.c:618: Test failed: Unexpected instance ID aö|4
devinst.c:654: Test failed: SetupDiCreateDeviceInfoA failed: 5
devinst.c:721: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:725: Test failed: Expected ERROR_INVALID_USER_BUFFER, got 00000057
devinst.c:729: Test failed: SetupDiCreateDeviceInterfaceA failed: 00000057
devinst.c:733: Test failed: SetupDiCreateDeviceInterfaceA failed: 00000057
devinst.c:736: Test failed: SetupDiCreateDeviceInterfaceA failed: 00000057
devinst.c:739: Test failed: SetupDiEnumDeviceInterfaces failed: 259
devinst.c:744: Test failed: expected 2 interfaces, got 0
devinst.c:247: We are most likely on Windows 2000
devinst.c:810: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:814: Test failed: SetupDiCreateDeviceInterfaceA failed: 00000057
devinst.c:818: Test failed: Expected ERROR_INSUFFICIENT_BUFFER, got 87
devinst.c:828: Test failed: Expected ERROR_INSUFFICIENT_BUFFER, got 87
devinst.c:252: Test failed: Couldn't delete deviceclass key
devinst.c:932: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:934: Test failed: Expected registry key to exist
devinst.c:950: Test failed: Expected ERROR_INVALID_FLAGS, got 87
devinst.c:955: Test failed: Expected ERROR_INVALID_FLAGS, got 87
devinst.c:961: Test failed: Expected ERROR_INVALID_FLAGS, got 87
devinst.c:967: Test failed: Expected ERROR_DEVINFO_NOT_REGISTERED, got 00000057
devinst.c:972: Test failed: SetupDiRegisterDeviceInfo failed: 00000057
devinst.c:977: Test failed: Expected ERROR_KEY_DOES_NOT_EXIST, got 00000057
devinst.c:984: Test failed: Expected ERROR_KEY_DOES_NOT_EXIST, got 00000057
devinst.c:997: Test failed: SetupDiCreateDevRegKey failed: 00000057
devinst.c:144: Test failed: SetupDiEnumDeviceInfo failed: 00000103
devinst.c:152: Test failed: SetupDiCallClassInstaller(DIF_REMOVE...) failed:
00000057
devinst.c:1027: Test failed: Expected the device to be removed: 00000000
devinst.c:1033: We are most likely on Wine
devinst.c:1084: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:1087: Test failed: SetupDiCreateDeviceInterfaceA failed: 00000057
devinst.c:1090: Test failed: SetupDiRegisterDeviceInfo failed: 00000057
devinst.c:1101: Test failed: SetupDiEnumDeviceInterfaces failed: 00000103
devinst.c:1104: Test failed: Expected ERROR_INSUFFICIENT_BUFFER, got 00000057
devinst.c:144: Test failed: SetupDiEnumDeviceInfo failed: 00000103
devinst.c:152: Test failed: SetupDiCallClassInstaller(DIF_REMOVE...) failed:
00000057
devinst.c:1143: Test failed: Expected the device to be removed: 00000000
devinst.c:1149: We are most likely on Wine
devinst.c:1182: Test failed: SetupDiCreateDeviceInfoA failed: 00000005
devinst.c:1194: Test failed: Expected ERROR_INVALID_REG_PROPERTY, got 00000057
devinst.c:1204: Test failed: SetupDiSetDeviceRegistryPropertyA failed: 00000057
devinst.c:1216: Test failed: Expected ERROR_INVALID_REG_PROPERTY, got 00000057
devinst.c:1225: Test failed: Expected ERROR_INSUFFICIENT_BUFFER, got 00000057
devinst.c:1227: Test failed: Unexpected size: 0
devinst.c:1231: Test failed: SetupDiGetDeviceRegistryPropertyA failed: 00000057
devinst.c:1232: Test failed: Unexpected property
devinst.c:1236: Test failed: SetupDiGetDeviceRegistryPropertyA failed: 00000057
devinst.c:1237: Test failed: Unexpected value of property
devinst.c:1238: Test failed: Unexpected type of property: 0
devinst.c:1242: Test failed: SetupDiSetDeviceRegistryPropertyA failed: 00000057
devinst.c:1247: Test failed: Expected ERROR_INVALID_DATA, got 00000057
devinst.c:1288: Test failed: SetupDiCreateDeviceInfoW failed: 00000005
devinst.c:1300: Test failed: Expected ERROR_INVALID_REG_PROPERTY, got 00000057
devinst.c:1310: Test failed: SetupDiSetDeviceRegistryPropertyW failed: 00000057
devinst.c:1322: Test failed: Expected ERROR_INVALID_REG_PROPERTY, got 00000057
devinst.c:1331: Test failed: Expected ERROR_INSUFFICIENT_BUFFER, got 00000057
devinst.c:1333: Test failed: Unexpected size: 0
devinst.c:1337: Test failed: SetupDiGetDeviceRegistryPropertyW failed: 00000057
devinst.c:1338: Test failed: Unexpected property
devinst.c:1342: Test failed: SetupDiGetDeviceRegistryPropertyW failed: 00000057
devinst.c:1343: Test failed: Unexpected value of property
devinst.c:1344: Test failed: Unexpected type of property: 0
devinst.c:1348: Test failed: SetupDiSetDeviceRegistryPropertyW failed: 00000057
devinst.c:1353: Test failed: Expected ERROR_INVALID_DATA, got 00000057
In particular one can notice this bug on the following WineTest boxes:
fg-win2000-rusr: Windows 2000 with a Restricted user account
fg-win2000-susr: Windows 2000 with a Standard (Power) user account.
fg-winxp-lusr: Windows XP with a Limited user account.
Note however that it succeeds in regular user accounts on the following boxes
for instance:
fg-win7u64-1spie9usr: Windows 7 with a regular user account.
See:
https://test.winehq.org/data/tests/setupapi:devinst.html
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39232
Bug ID: 39232
Summary: setupapi:install fails if privileges not high enough
Product: Wine
Version: unspecified
Hardware: x86
OS: Windows
Status: NEW
Severity: normal
Priority: P2
Component: setupapi
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
This test systematically times out when run in a restricted or limited user
account while it only times out in under 1% of the other runs. Coupled with the
pair of messages saying it's skipping tests because it cannot install a
service, this clearly indicates a permissions problem.
install.c:303: Tests skipped: Not enough rights to install the service
install.c:380: Tests skipped: Not enough rights to install the service
test failed: timed out
In particular one can notice this bug on the following WineTest boxes:
fg-win2000-rusr: Windows 2000 with a Restricted user account
fg-win2000-susr: Windows 2000 with a Standard (Power) user account.
fg-winxp-lusr: Windows XP with a Limited user account.
Note however that it succeeds in non-Restricted/Limited user accounts on the
following boxes for instance:
fg-win7u64-1spie9usr: Windows 7 with a regular user account.
See:
https://test.winehq.org/data/tests/setupapi:install.html
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20604
Summary: dsound tests fail under pulseaudio
Product: Wine
Version: 1.1.32
Platform: PC
URL: http://test.winehq.org/data/tests/dsound:ds3d.html
OS/Version: Linux
Status: NEW
Keywords: download, source
Severity: normal
Priority: P2
Component: directx-dsound
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Created an attachment (id=24580)
--> (http://bugs.winehq.org/attachment.cgi?id=24580)
+dsound trace
Ignoring the usual statements about pulesaudio for a bit, there's been a lot of
work (thanks Maarten et al) to make Wine work a bit better with it. When I was
on jaunty, I removed it, but under Karmic, you can't remove pulseaudio without
foobaring gnome. So, I'm stuck with it...and since few people run winetest
daily on wine aside from me, test.winehq.org shows a bunch of failures on
dsound now.
So, let's make it play better:
http://test.winehq.org/data/f222a1654ea8f84bc678c9043ad3265b97207dde/wine_a…
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51315
Bug ID: 51315
Summary: The 64-bit webservices:writer test fails in Wine
Product: Wine
Version: 6.10
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
Distribution: ---
The 64-bit webservices:writer test fails in Wine:
writer.c:371: Test failed: 2272: got 11 expected 10
writer.c:373: Test failed: 2272: got <t>:E-3</t> expected <t>1E-2</t>
writer.c:371: Test failed: 2272: got 12 expected 11
writer.c:373: Test failed: 2272: got <t>-:E-3</t> expected <t>-1E-2</t>
writer.c:373: Test failed: 2272: got <t>1.7976931348623156E+308</t> expected
<t>1.7976931348623157E+308</t>
writer.c:373: Test failed: 2272: got <t>-1.7976931348623156E+308</t> expected
<t>-1.7976931348623157E+308</t>
Note that these failures are systematic and only happen when running the 64-bit
test in Wine. Also most of these failures also happen on armv7l (but armv7l
has/had two more, see bug 49197).
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38060
Bug ID: 38060
Summary: Apps can't load custom fonts during runtime
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdi32
Assignee: wine-bugs(a)winehq.org
Reporter: masterofquebec(a)rocksplash.com
Distribution: Debian
Created attachment 50700
--> https://bugs.winehq.org/attachment.cgi?id=50700
WINEDEBUG=warn+all,fixme+all MTASA
Calls to AddFontResourceEx seems to fails in various games.
San Andreas Multiplayer:
warn:font:new_ft_face Unable to load font
"/home/samuel/.wine/dosdevices/c:/Program Files/Rockstar Games/GTA San
Andreas/gtaweap3.ttf"/(nil) err = 2
Multi Theft Auto:
warn:font:new_ft_face Unable to load font
"/home/samuel/.wine/dosdevices/c:/Program Files/MTA San Andreas
1.4/MTA/cgui/pricedown.ttf"/(nil) err = 2
In both cases the fonts exist and seems to be valid.
What is error 2?
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=14867
Summary: TrackMouseEvent thinko / valgrind warning?
Product: Wine
Version: CVS/GIT
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: user32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
An app I'm looking at is doing
TRACKMOUSEEVENT tme;
tme.cbSize = sizeof(TRACKMOUSEEVENT);
tme.dwFlags = TME_LEAVE;
tme.hwndTrack = my_hWnd;
TrackMouseEvent(&tme);
which causes the following valgrind complaint:
Conditional jump or move depends on uninitialised value(s)
at TrackMouseEvent (input.c:1043)
by MyTrackMouseLeave (in app)
...
Uninitialised value was created by a stack allocation
at MyTrackMouseLeave (in app)
Looking at git blame user32/input.c, I see line 1043 is the if:
hover_time = ptme->dwHoverTime;
if (hover_time == HOVER_DEFAULT || hover_time == 0 ||
!(ptme->dwHoverTime&TME_HOVER))
Squinting at that a bit, it get the feeling the bitmask check is a typo;
shouldn't that be dwFlags, not dwHoverTime?
Also, if TME_HOVER is not set, we probably shouldn't
be looking at dwHoverTime, right?
FWIW, that bitmask check was added by
http://www.winehq.org/pipermail/wine-patches/2006-October/031794.html
Incidentally, while playing around, I noticed that the test
crashes if you get too many events. I'll attach a little patch to
fail more gracefully.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34342
Bug #: 34342
Summary: Chronic crash of Guild Wars 2(out of memory)
Product: Wine
Version: 1.7.0
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: nob.dir.info(a)gmail.com
Classification: Unclassified
Created attachment 45715
--> http://bugs.winehq.org/attachment.cgi?id=45715
ArenaNet log when crashing
Hello,
Since I'm playing Guild Wars 2 quite often, I have chronic crashes with an Out
of Memory report, although there are still 4+Gb of free RAM(total 8Gb) and 1Gb
of free VRAM(total 2Gb).
As I'm using Wine in 64-bit mode on a 64-bit system, I thought that there
shouldn't be any memory problem, but it doesn't seem to be true. I also tried
out the 4Gb patcher, still no effect.
I think it comes from Wine/the system, because I played sometimes on
Windows(with also 8 Gb of total RAM), and I never crashed.
Cordially.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=47382
Bug ID: 47382
Summary: Nero CoverDesigner doesn't install - hangs at
"checking for the latest version"
Product: Wine
Version: 4.9
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: dark.shadow4(a)web.de
Distribution: ---
Follow up to bug 47371.
The installer just stalls and doesn't seem to continue, even after I waited
~15min.
"winetricks -q ie8 win7" helps.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52718
Bug ID: 52718
Summary: The 32-bit windows.media.speech:speech crashes on
Windows 10 1709
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Windows
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
The 32-bit windows.media.speech:speech crashes on Windows 10 1709:
speech.c:614: SpeechRecognizer default language L"en-US".
speech.c:277: iface 0062FDE4, value 0062FD00.
windows.media.speech:speech:05b8 done (-1073740791) in 1s
Test failed: crash (c0000409)
https://test.winehq.org/data/patterns.html#windows.media.speech:speech
Where 0xc0000409 is STATUS_STACK_BUFFER_OVERRUN.
Traces show the crash happens in test_SpeechRecognitionListConstraint() which
was added in the commit below:
commit 954b14348d08c8f9470cf92fccd0b2a3f7db9fff
Author: Bernhard Kölbl <besentv(a)gmail.com>
AuthorDate: Mon Mar 14 11:06:35 2022 +0100
windows.media.speech/tests: Add tests for SpeechRecognitionListConstraint.
Signed-off-by: Bernhard Kölbl <besentv(a)gmail.com>
Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
More precisely, traces indicate that it happens on this line:
936 hr =
ISpeechRecognitionListConstraintFactory_CreateWithTag(listconstraint_factory,
&iterable_hstring.IIterable_HSTRING_iface, tag, &listconstraint);
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.