https://bugs.winehq.org/show_bug.cgi?id=48408
Bug ID: 48408
Summary: mixthread monopolizes buffer_list_lock if
WaitForSingleObject returns quickly, causing livelock
and game freeze
Product: Wine
Version: 5.0-rc3
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-dsound
Assignee: wine-bugs(a)winehq.org
Reporter: florian.will(a)gmail.com
Distribution: ---
Created attachment 66179
--> https://bugs.winehq.org/attachment.cgi?id=66179
C source for reproducing this issue, livelocks on my system
The default WaitForSingleObject implementation is not fast enough to trigger
this, but the bug manifests itself when starting wine-staging with WINEESYNC=1.
I originally reported this at
https://github.com/ValveSoftware/Proton/issues/3387 , but I am now able to
reproduce this on wine-staging. The problem is in dsound though.
The dsound mixthread locks the buffer_list_lock, then calls PerformMix(), then
releases the lock, then waits for something to happen using
WaitForSingleObject, then locks the buffer_list_lock again, in a loop.
This works fine when not using esync (I guess Valve's fsync also triggers the
same issue), since the default WaitForSingleObject implementation is slow
enough to allow other threads to acquire the buffer_list_lock while the
mixthread executes WaitForSingleObject. However, when esync is enabled AND the
mixthread has a lot of work to do (because there are many secondary sound
buffers), it apparently returns from WaitForSingleObject almost immediately,
and very quickly re-acquires the lock after releasing it. The lock
implementation does not guarantee fairness, and on my system, this results in
the mixthread monopolizing the buffer_list_lock.
If the main thread then wants to add a new secondary sound buffer to the list,
it attempts to acquire the buffer_list_lock exclusively, but it can take a very
long time to acquire the lock. This leads to a game freeze in Zusi 3 and maybe
other games / applications if there are lots of sound effects at the same time.
I have added a Sleep(1) in the mixthread before acquiring the lock, and it
fixed the freezes (but it will obviously cause audio stuttering to kick in
earlier than without the sleep). Disabling esync also fixes the freeze.
I came up with a simple reproducer, C source attached. Output is like this with
esync enabled:
[..]
Added buffer No. 283, took 0.056744 sec!
Added buffer No. 284, took 0.616793 sec!
Added buffer No. 285, took 16.775508 sec!
Added buffer No. 286, took 11.163868 sec!
Added buffer No. 287, took 26.308287 sec!
Obviously on more powerful systems with better single-thread CPU performance,
more buffers will be needed before it "almost-livelocks" like this. This output
is from my Phenom II X4 955. (If sound starts stuttering instead of the
freeze/lock, the bug did not manifest itself.)
With esync disabled (or when using my patched dsound.dll with "Sleep(1)"), it
never takes longer than 0.1 sec to add a buffer.
--
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=48489
Bug ID: 48489
Summary: .Net 4.7+ requires GpFontFamily to be referenced
counted instead of cloning.
Product: Wine
Version: 5.0-rc6
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: gdiplus
Assignee: wine-bugs(a)winehq.org
Reporter: leslie_alistair(a)hotmail.com
Distribution: ---
This is to track the staging patch in regards to .Net 4.7 and reference
counting of the GpFontFamily object.
--
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=36521
Bug ID: 36521
Summary: Star Wars rebellion update 1.01 crashes on start
Product: Wine
Version: 1.7.19
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jopac76(a)mail.com
Created attachment 48603
--> https://bugs.winehq.org/attachment.cgi?id=48603
Output of the crash
Just installed the game, ran it, tried running the patch and it crashes before
anything.
Link to patch:
http://swrebellion.com/downloads/modules.php?name=Downloads&d_op=viewdownlo…
7ae576e99c8b623032e5ab96f384ad354d0e4230 rsupd101.exe
--
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=18933
Summary: Free PDF to Word Doc converter doesn't work, window
empty/hangs on launch (appinstall)
Product: Wine
Version: 1.1.21
Platform: PC
URL: http://www.hellopdf.com/download.php
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Looking at a list of the most popular windows applications
(http://lifehacker.com/5110552/most-popular-free-windows-downloads-of-2008) for
applications to test with appinstall, I tried Free PDF to Word Doc converter.
Installs relatively fine (there's a couple other bugs, nothing major), but when
trying to launch, the borders of the window appear, but the app doesn't do
anything, and its window is blank.
No terminal output.
--
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=45462
Bug ID: 45462
Summary: PDF X-Change Viewer (all versions) cannot click dialog
box in menu
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: xyjota(a)amail.club
Distribution: ---
Edit->Preferences->Customize UI-> any of the 'color' buttons when clicked just
stay depressed and dont open their respective options. Tested on multiple
versions including latest (2.5).
--
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=43934
Bug ID: 43934
Summary: SumatraPDF 3.1.2 has very narrow buttons in its
installer
Product: Wine
Version: 2.19
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: t6zm3v62fkp7fe5(a)yandex.ru
Distribution: ---
Created attachment 59570
--> https://bugs.winehq.org/attachment.cgi?id=59570
Wine 2.19 terminal output
SumatraPDF 3.1.2 has very narrow buttons in its installer.
File link: https://www.sumatrapdfreader.org/dl/SumatraPDF-3.1.2-64-install.exe
OS: Lubuntu 16.04.3.
--
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=34848
Bug #: 34848
Summary: PDF-XChange Viewer crashes when switching between
document tabs
Product: Wine
Version: 1.6
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kalab.oto(a)gmail.com
Classification: Unclassified
I am using LinuxMint 15, wine 1.6, PDF-Xchange 2.5 (213.0). It works fine but
suddenly this bug appeared.
When I open more than one PDF file it's working fine till I click on tab for
another document, then PDF-XChange viewer crashes.
I tried open different documents, also install wine1.7.4, also older viewer
bulid (208), same crash everytime. Only PDFx portable version 2.5(210.0) didn't
cause the crash but switching between tabs is freezy and take a very very long
time.
Attaching the backtrace.
--
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=47018
Bug ID: 47018
Summary: Black transparent images
Product: Wine
Version: 4.6
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dwmapi
Assignee: wine-bugs(a)winehq.org
Reporter: sk9258user(a)mail.ru
Distribution: ---
Created attachment 64174
--> https://bugs.winehq.org/attachment.cgi?id=64174
wine
In some apps I see black images, but in Windows images is normal.
https://mega.nz/#!P35GwAZI!lhBkgqiKTHSbFgvgMr4zitLMc1OiQmB6z7YcSUWtS7A
--
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=48541
Bug ID: 48541
Summary: Affinity Photo trial (1.7.2) crashes:Call from
0x7b00fa3d to unimplemented function
mscms.dll.WcsGetDefaultColorProfileSize
Product: Wine
Version: 5.0
Hardware: x86
URL: https://store.serif.com/en-us/update/windows/photo/1/
OS: Linux
Status: NEW
Keywords: dotnet, download
Severity: normal
Priority: P2
Component: mscms
Assignee: wine-bugs(a)winehq.org
Reporter: xerox.xerox2000x(a)gmail.com
Distribution: Debian
>From the forum a user had a question about this program, he used native mscms.
(https://forum.winehq.org/viewtopic.php?f=8&t=33433)
When run with builtin mscms:
Crash as in the title, (also needs b.t.w. mscms.WcsGetDefaultRenderingIntent)
Stubs are enough to get the program going, but maybe someone (hint for Hans ;))
would like to add a more robust piece of code.
Regards
Note: winetricks dotnet35sp1 dotnet40 dotnet48 was used. The 1st one seems to
be necessary for the installer to finish, otherwise it hangs, don`t know why)
--
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=48122
Bug ID: 48122
Summary: Arturia MIDI Control Center crashes and won't connect
to MIDI
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: muranyia(a)gmail.com
Distribution: ---
Created attachment 65714
--> https://bugs.winehq.org/attachment.cgi?id=65714
Crash backtrace
Arturia MIDI Control Center version 1.9.1.1186 crashes on startup on one of my
computers, and crashes after a few seconds on another. On the first one, the
GUI doesn't show up, on the second one it does and it reacts until crashing,
but won't see MIDI devices.
--
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.