http://bugs.winehq.org/show_bug.cgi?id=22978
Summary: SimCity2000: race condition causes crash in MCI during
startup
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winmm&mci
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: hoehle(a)users.sourceforge.net
Created an attachment (id=28457)
--> (http://bugs.winehq.org/attachment.cgi?id=28457)
mci+winmm trace & crash backtrace
The attached log shows a crash that is triggered because the asynchronous
mciseq/mcimidi player is still attempting to open the device while the main
thread already successfully called MCI_CLOSE.
The mcimidi player does not implement proper locking. Unlike mciwave, its state
variable is not yet set to MCI_MODE_PLAY when opening the MIDI device, which
lets MCI_CLOSE not see something is busy playing.
Actually, even looking at mciwave, one can construct unfortunate sequences of
scheduling that would cause mciwave to hang in such a situation. So there's no
trivial patch simply moving
wmm->dwStatus = MCI_MODE_PLAY;
a couple of lines up.
The crash generally occurs when starting SimCity 2000 using
"wine 'C:\Program...\Game\simcity.exe'"
Curiously, "wine start simcity.exe" always works. As I said, it's a race
condition.
It seems like sometimes, the initialisation of WINMM and MIDI takes a long
time.
The bug is then triggered when MCI_CLOSE is called by the application.
MCI_CLOSE is called, among others, when clicking "exit" in the initial menu.
Often enough, the app crashes before showing this menu. IMHO, the fact that the
app calls MCI_CLOSE that early is triggered by another bug in Wine that AppDB
testers have mentioned every now and often, but never put to Bugzilla: SimCity
2000 starts fine (showing its logo) when using full screen mode, but needs a
resize or uniconify when using a virtual desktop: then presumably, the app
sends MCI_CLOSE to stop the music, causing or not a crash via the present race
condition.
BTW, since the crash occurs in the asynchronous MCI MIDI player, the app
nevertheless works...
This issue has nothing to do with the bug, presumably in the app, that "wine
simcity.exe" crashes whereas "wine 'c:\full\path\simcity.exe'" (should) work.
--
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=29017
Bug #: 29017
Summary: 4th Dimension 6.5.4 crashes
Product: Wine
Version: 1.3.32
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: sebastien.ramage(a)gmail.com
Classification: Unclassified
The app. crashes when trying to start "tools => Explorer" or in french "Outils
=> Explorateur'
wine reports : err:seh:raise_exception Exception frame is not in stack limits
=> unable to dispatch exception.
the app and a sample database can be download here :
http://www.janin-tools.com/download/wine/4th_Dimension_6.5.4.tar.gz
to reproduce the bug :
- download the archive and uncompress it
- launch 4D.exe
- choose "Démo" on the welcome dialog
- choose "Ouvrir une base existante" and select the test database (click on
"Autre..." if necessary)
- When database opened, choose "Outils" then "Explorateur" in the menu bar.
--
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=9848
Summary: flipviewer fails to load
Product: Wine
Version: 0.9.46.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: wine-advapi32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: eyecreate(a)gmail.com
Created an attachment (id=8321)
--> (http://bugs.winehq.org/attachment.cgi?id=8321)
Error log for flipviewer
The flipviewer(www.flipviewer.com) app installs and the library program works,
but the actual program fails. Backtrace log attached.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28186
Summary: uninstaller has no proper usage message
Product: Wine
Version: 1.3.26
Platform: x86
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: fgouget(a)codeweavers.com
First uninstaller uses WINE_ERR() to tell the user he got the usage wrong (like
when he forgets a parameter). That's wrong as this is not a Wine error.
Second it never prints a usage message thus leaving the user guessing.
Finally if run in the wineconsole the user will see no output at all but that's
a somewhat independent issue (see bug 28185).
--
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=14915
Summary: FlushFileBuffers() fails on disk volume, sets
ERROR_INVALID_HANDLE when handle supposedly valid
Product: Wine
Version: 1.1.2
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: vesselinpeev(a)hotmail.com
Ran under Wine, the following program receives ERROR_INVALID_HANDLE as a
Windows last error when the flushing call fails.
Note that if you are testing under Windows Vista, you need to run the program
with administrative privileges to be able to get the handle to the volume.
For brevity, I've omitted GetLastError() printing for failure cases except the
flushing one, but, needless to say, you may want to add them for full
correctness / error handling / safety, or do let me know and I'll happily add
these and re-post the code.
# include <windows.h>
# include <stdio.h>
# include <tchar.h>
int _tmain()
{
LPCTSTR volName = _T("\\\\.\\C:");
HANDLE hFile = CreateFile(volName, GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE, 0,
OPEN_EXISTING, 0, 0);
if (hFile != INVALID_HANDLE_VALUE) {
_tprintf(_T("Opened volume %s\n"), volName);
SetLastError(0xdeadbeef); /* to make sure that it's really the next call
that sets the last error -- advice taken from Dmitry Timoshkov's comment at
http://bugs.winehq.org/show_bug.cgi?id=14855 */
if (FlushFileBuffers(hFile)) {
_tprintf(_T("File buffers flushed\n"));
}
else {
DWORD dwRet = GetLastError();
_ftprintf(stderr, _T("File buffers not flushed, GetLastError() returned
%lu"), dwRet);
if(dwRet == ERROR_INVALID_HANDLE) {
_ftprintf(stderr, _T(" (\"The handle is invalid\")"));
}
_ftprintf(stderr, ".\n");
}
}
else {
_ftprintf(stderr, _T("Could not open volume %s\n"), volName);
return -2;
}
if(! CloseHandle(hFile)) {
_ftprintf(stderr, _T("Could not close handle to volume %s\n"), volName);
return -3;
}
return 0;
}
--
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=19425
Summary: notepad: running notepad with a non-existent file and
choosing yes to create a new file should do so
immediately (appinstall)
Product: Wine
Version: 1.1.26
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: download, source
Severity: trivial
Priority: P2
Component: programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
'notepad foobar.txt'
pops up a dialog telling you that the file does not exist, and asking if you'd
like to create it.
Yes - Opens notepad with foobar.txt, but doesn't create a new file.
No - Opens notepad with a blank new document.
Cancel - Closes notepad.
On windows, choosing yes immediately creates the new (empty) file.
--
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=28770
Bug #: 28770
Summary: Diablo 2 - sound works in menu, stops after starting
game (kind of regression)
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winmm&mci
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: zajec5(a)gmail.com
Classification: Unclassified
I've noticed that with recent Wine I don't hear any sound in Diablo 2 when
playing my character. When I start Game.exe - sound is here during watching
into and as long as I'm in the menu. When I start playing (the map and my
character show up) it stops. After that I don't hear anything anymore.
Bisection has resulted in the following:
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
901af51ea32f2d192a598808abab2d1b6a940773
be158e48ad8ee556941bd3f1ff94ca7116680d00
We cannot bisect more!
commit be158e48ad8ee556941bd3f1ff94ca7116680d00
Author: Andrew Eikum <aeikum(a)codeweavers.com>
Date: Mon Jul 11 08:28:30 2011 -0500
winmm: Implement waveOut* on top of MMDevAPI.
commit 901af51ea32f2d192a598808abab2d1b6a940773
Author: Andrew Eikum <aeikum(a)codeweavers.com>
Date: Mon Jul 11 08:28:24 2011 -0500
winmm: Remove driver implementation of waveOut*.
I'm using ALSA in Wine and Pulseaudio in my system.
I'm almost sure it's duplicate of #27908, but I was asked by Austin to create
new bugzilla report.
Right after starting Game.exe with affected Wine I get following fixmes:
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels,
pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels,
pretending there's only 2 channels
When starting real game (map and character, sounds goes away) nothing appears
in the console.
--
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=26688
Summary: Risen requires vcrun2005
Product: Wine
Version: 1.3.17
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: xvachon(a)gmail.com
The game outputs no missing functions and mscodescan reveals nothing either,
yet the game complains about vcrun2005. winetricks vcrun2005 works around it
xavier@xavier /wine/risen/drive_c/jeu/bin $ wine Risen.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"Microsoft.VC80.OpenMP" (8.0.50727.762)
fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"Microsoft.VC80.CRT" (8.0.50727.762)
err:module:import_dll Library vcomp.dll (which is needed by
L"C:\\jeu\\bin\\Engine.dll") not found
err:module:import_dll Library Engine.dll (which is needed by
L"C:\\jeu\\bin\\Risen.exe") not found
err:module:import_dll Loading library Engine.dll (which is needed by
L"C:\\jeu\\bin\\Game.dll") failed (error c0000018).
fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"Microsoft.VC80.CRT" (8.0.50727.762)
err:module:import_dll Library Game.dll (which is needed by
L"C:\\jeu\\bin\\Risen.exe") not found
err:module:import_dll Loading library Engine.dll (which is needed by
L"C:\\jeu\\bin\\Importer.dll") failed (error c0000018).
err:module:import_dll Loading library Game.dll (which is needed by
L"C:\\jeu\\bin\\Importer.dll") failed (error c0000018).
err:module:import_dll Library vcomp.dll (which is needed by
L"C:\\jeu\\bin\\Importer.dll") not found
err:module:import_dll Library Importer.dll (which is needed by
L"C:\\jeu\\bin\\Risen.exe") not found
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\jeu\\bin\\Risen.exe" failed, status c0000135
--
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=17055
Summary: wine does not put wine executable path into desktop icon
Product: Wine
Version: 1.1.13
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: beagle7(a)shaw.ca
when installing an app, when wine installs a desktop icon (under KDE), it does
include the proper env WINEPREFIX, but it does not include the path to to wine
(e.g., /usr/local/1113/bin/wine) under which the app was installed. I.e., if I
do exactly this:
env WINEPREFIX=~/.wine-some-app /usr/local/wine-install-dir/wine
~/path/windows-app-installer.exe
the resulting desktop icon, in properties, would have under command, the
following:
env WINEPREFIX="~/.wine-app" wine "C:\Program Files\Path\app.exe"
or similar.
What I'd like it to have is:
env WINEPREFIX="~/.wine-app" /usr/local/wine-install-dir/wine "C:\Program
Files\Path\app.exe" (as appropriate)
--
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=27482
Summary: Tomb Raider III demo crashes in the launcher
Product: Wine
Version: 1.3.22
Platform: x86
URL: http://www.tombraiderchronicles.com/cgi-bin/dl03/dl.pl
?dm_tombraider3complete
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-ddraw
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: gyebro69(a)gmail.com
Created an attachment (id=35145)
--> (http://bugs.winehq.org/attachment.cgi?id=35145)
terminal output
To reproduce the problem:
1) Install the demo as usual.
2) The launcher requires ie6 (winetricks ie6). Start the demo by tomb3.exe.
Click on <Start Free Trial button> ...a crash happens here.
The launcher started correctly in 1.3.21:
f3ae1b99f637c7a22546a7528edb0f9df2d57678 is the first bad commit
commit f3ae1b99f637c7a22546a7528edb0f9df2d57678
Author: Ričardas Barkauskas <rbarkauskas(a)codeweavers.com>
Date: Thu Jun 9 18:29:36 2011 +0300
ddraw: Separate IDirectDrawSurface vtable.
:040000 040000 375fc8c1597978349b5e1f9f8b418c6d5fa0a539
839c77ec396a4be43237f36c110c257a0db09131 M dlls
The patch can be reverted cleanly on wine-1.3.22-78-g4b2bfb4 and that fixed the
crash.
I couldn't add the author to the CC list.
Fedora 15
Nvidia GeForce 250 / driver 270.41.19
--
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.