http://bugs.winehq.org/show_bug.cgi?id=10913
Summary: start.exe doesn't support optional process title
argument
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://jedit.org
OS/Version: other
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: wine-programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Running real Java apps under the latest Sun win32 JRE on Wine
seems like a fine stress test, even though in many
cases users should run with the Linux JRE instead.
The Sun JRE and jEdit install ok, but jedit has many startup problems.
Here's the first one.
Invoking it with the batch file provided by jEdit fails.
Here's what's in the batch file:
start "jEdit startup" "c:\windows\system32\javaw.exe" -Xms64M -Xmx192M -jar
"C:\Program Files\jEdit\jedit.jar" -reuseview %*
And here's what happens when you run it:
$ cd ~/.wine/drive_c/Program Files/jEdit
$ ~/wine-git/wine cmd /c jedit.bat
fixme:exec:SHELL_execute flags ignored: 0x00000500
trace:process:CreateProcessW app (null) cmdline L"jEdit startup
c:\\windows\\system32\\javaw.exe -Xms64M -Xmx192M -jar \"C:\\Program
Files\\jEdit\\jedit.jar\" -reuseview"
trace:process:find_exe_file looking for L"jEdit"
trace:process:find_exe_file Trying native exe
L"c:\\windows\\system32\\jEdit.exe"
...
trace:process:find_exe_file Trying built-in exe L"c:\\windows\\system32\\jEdit
startup.exe"
...
trace:process:find_exe_file looking for L"jEdit startup
c:\\windows\\system32\\javaw.exe -Xms64M -Xmx192M -jar \"C:\\Program
Files\\jEdit\\jedit.jar\" -reuseview"
Application could not be started, or no application associated with the
specified file.
ShellExecuteEx failed: File not found
So it seems that start takes an optional process title argument.
Sure enough,
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en…
documents it.
Who knew?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42508
Bug ID: 42508
Summary: start.exe does not detect its title argument when it
should (breaking .e.g URL opening in League of
Legends)
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: programs
Assignee: wine-bugs(a)winehq.org
Reporter: hydratech(a)gmail.com
Distribution: ---
Created attachment 57397
--> https://bugs.winehq.org/attachment.cgi?id=57397
Trace showing League of Legends Client attempting to open a URL.
When start.exe is invoked, its first argument in quotes that is not an argument
of the application to be executed should be interpreted as the console title.
Wine's start.exe fails to do so.
-- How to reproduce --
Running the following line in Wine's cmd should open a URL in your browser:
Z:\>start "" https://winehq.org/
the actual result is an application not found error. On Windows the same line
opens the website as expected.
-- Why this is a bug --
I know this was marked as fixed in bug 10913 but the reasoning was incorrect.
The argument for stating the bug was fixed was, that when \"escaping your
quotes\" in cmd to the title was parsed. This is however not consistent with
with Windows behaviour.
As explained at the end of that bug report, if you escape your quotes in Wine's
cmd start.exe parses the argument as the console title, i.e.:
Z:\>start \"hello\" cmd
I will now clarify why this is incorrect by showing Windows' behaviour.
The following command lines are not equivalent on Windows:
C:\>start hello.exe
vs.
C:\>start "hello.exe"
The latter will open a new cmd window titled hello.exe whereas the former
attempts to execute an application named hello.exe. In other words cmd's start
built-in parses its own command-line checking wether quotes where used. In fact
escaping the quotes using back-slashes is invalid as it tries start a process
named \hello.exe\. I have tested this on both Windows 7 and Windows XP.
In other words, this is invalid:
C:>start \"hello.exe\"
To illustrate how unintuitive this Windows behaviour is:
C:>start "C:\Program Files\Application\hello.exe"
Few would guess this actually opens a console titled as such, instead of
running an application. That's why I can understand the maintainers would think
the bug was fixed.
Wine will however correctly emulate unescaped quote-senstive behaviour with the
echo built-in:
Z:\>echo hoi
hoi
Z:\>echo "hoi"
"hoi"
We can see echo being "aware" of the quotes and correctly displaying them;
behaviour identical to Windows' echo built-in.
Looking at the wine source, start.exe relies on its "argv" parameter instead of
using GetCommandLine() and thereby accessing the unmodified command-line. As a
consequence the difference between a quoted argument and a non-quoted argument
is lost as CreateProcess strips the quotes off the parameters when passing them
to execve().
To quote the source of Wine's cmd.exe (wcmdmain.c):
/* Can't use argc/argv as it will have stripped quotes from parameters
* meaning cmd.exe /C echo "quoted string" is impossible
*/
It should now be evident that start.exe should either become a wrapper around
cmd.exe's built-in start function, invoking cmd and let cmd itself implement
start.exe's actual behaviour, or implement GetCommandLine() based argument
parsing similar to cmd.exe's within start.exe, leading to duplicated
command-line parsing code. Both are not ideal solutions.
-- Why does this bug matter? --
There are actually Windows applications relying on this behaviour to open URLs
in the user's browser. As an example, League of Legends executes the following
shell command to open a URL:
cmd.exe /c start "" "<url here>"
In other words, League instructs start to launch an untitled shell window with
a URL as application, effectively causing the shell to pass it to the browser.
However, wine's start.exe interprets this as League trying to execute an empty
string as executable name, with a URL as argument. I have attached the relevant
output running League with WINEDEBUG=cmd,start,process,exec set.
I will speculate that more applications will run into this exact same issue.
League's client is based on CEF and it might very well be CEF which implements
this style of external URL opening, furthermore there is documentation
recommending the use of empty quotes as console title argument when invoking
start to prevent it from accidentally parsing follow up arguments in quotes as
the console title, think "C:\Program Files\etc...", establishing this as a
pattern that might well have been adopted by other applications. See:
https://ss64.com/nt/start.html
I will also say that, given some instruction, I will be glad to help fixing
this bug and write any necessary code.
There is actually another issue with current start.exe's console title parsing
which I will submit as a separate issue. That issue is however, significantly
easier to fix. Finally this also means wine's current handling of command-line
arguments might need fixing as:
$ wine start '""' "http://winehq.og"
will break in a fixed version of 'start.exe', while it should work. For this I
will file yet another issue, although the necessity of this fix is debatable.
--
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=31644
Bug #: 31644
Summary: glMapBufferRange is extremely slow while playing
Resident Evil 5 ( happens only on nvidia binary driver
)
Product: Wine
Version: 1.5.12
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: tizbac2(a)gmail.com
Classification: Unclassified
Calls to glMapBufferRange are extremely slow on nvidia drivers with resident
evil 5, if this should be reported to nvidia instead just close it
over 90% of frame time is taken by glMapBufferRange
--
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=38488
Bug ID: 38488
Summary: Wrong taces in functions *_invalidate_location
Product: Wine
Version: 1.7.41
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: isakov-sl(a)bk.ru
Distribution: ---
I got a plenty of messages like
fixme:d3d:wined3d_debug_location Unrecognized location flag(s) 0xfffffc00.
fixme:d3d:wined3d_debug_location Unrecognized location flag(s) 0xfffffc00.
fixme:d3d:wined3d_debug_location Unrecognized location flag(s) 0xfffffc00.
fixme:d3d:wined3d_debug_location Unrecognized location flag(s) 0xfffffc00.
It rises because the function wined3d_volume_invalidate_location() is used
with reversed parameter
For example dlls/wined3d/device.c:
wined3d_volume_invalidate_location(dst_volume, ~WINED3D_LOCATION_TEXTURE_RGB);
The function assumed location and not ~location.
-----
void wined3d_volume_invalidate_location(struct wined3d_volume *volume, DWORD
location)
{
TRACE("Volume %p, clearing %s.\n", volume,
wined3d_debug_location(location));
volume->locations &= ~location;
TRACE("new location flags are %s.\n",
wined3d_debug_location(volume->locations));
}
-----
Here wined3d_debug_location() will message like above.
Same about wined3d_resource_invalidate_location(struct wined3d_resource
*resource, DWORD location)
--
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=18496
Summary: BREW simulator always shows a black display
Product: Wine
Version: 1.1.21
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: jon.dufresne(a)gmail.com
Tested with wine-1.1.21
I am attempting to use the Qualcomm BREW simulator under wine. After
installing, I attempted to run the example applets. The application launches
and I am able to select an applet directory, but the simulated device's screen
always shows black and not the usual list of icons that represent available
applets.
The BREW simulator installer is found here:
https://brewx.qualcomm.com/bws/content/gi/products/sdk/3.1/en/3.1.5.179/ins…
Steps to reproduce:
1. Download and install BREW SDK simulator
2. Run simulator
3. Use menu to selec "File->Change Applet Dir..."
4. Navigate to c:/Program Files/BREW 3.1.5/sdk/examples/
5. Hit "OK"
6. Notice screen is black
Expected results:
Under windows, the BREW simulator will show a listing of the available BREW
applets (one for each *.mif file in the directory chosen). This list appears as
a series of icons inside the device's display area.
--
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=15703
Summary: LEGO Star Wars controller options
Product: Wine
Version: 1.1.6
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: infernux(a)web.de
Going to "Controller Options" freezes the game, pressing "Esc" does not make it
playable again.
I don't know what other information / logs would be helpful, if you need
anything specific just say so.
This only affects the _first_ of the two games - but the 2nd seems to have a
different input system anyway (requires xinpit1_2.dll for example).
--
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=43659
Bug ID: 43659
Summary: Jurassic Park: Operation Genesis does not launch
unless winegstreamer is set to disabled
Product: Wine
Version: 2.16
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winegstreamer
Assignee: wine-bugs(a)winehq.org
Reporter: arnfranke(a)yahoo.com
Distribution: ---
Created attachment 59097
--> https://bugs.winehq.org/attachment.cgi?id=59097
Win7 64-bit wineprefix crash
Low priority as this bug has a work-around which is to disable winegstreamer.
Reproducible on Xubuntu 16.04 64-bit, with AMD Radeon 6520G graphics, on both
32-bit and 64-bit wineprefixes, and set to WinXP and Win7 mode.
I have attached crash reports for Win7 mode on a 64-bit prefix and WinXP/32bit.
Interestingly enough, the game runs fine without any overrides when it is
launched from POL. Interesting that POL would work when ~/.wine does not.
https://www.reddit.com/r/wine_gaming/comments/6xwy7o/can_anyone_explain_why…https://appdb.winehq.org/objectManager.php?sClass=version&iId=6088
--
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=19777
Summary: Ad Astra game runs very slow glBlitFramebuffer
Product: Wine
Version: 1.1.26
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: chrisyate+wine(a)gmail.com
CC: chrisyate+wine(a)gmail.com
Ad Astra is a free space flight sim available at www.a-astra.com.
The game runs (as in starts) successfully, with a clean .wine prefix folder.
However once it enters 3D mode the disk starts to grind, wine spits out lots of
fixmes and the program runs slowly with fps around 3, max maybe 5. The
following is output, over and over until you stop the game.
<quote>
fixme:d3d:stretch_rect_fbo >>>>>>>>>>>>>>>>>
GL_INVALID_FRAMEBUFFER_OPERATION_EXT (0x506) from glBlitFramebuffer() @
device.c / 6532
fixme:d3d:state_ckeyblend Render state WINED3DRS_COLORKEYBLENDENABLE not
implemented yet (repeated 6 times)...
</quote>
My System is Athlon XP2400+, a NVidia 6200 clone (the Zotac with 256Mb), 1.5Gb
ram. Unfortunately I can't confirm whether it would work on my machine if I
was running Windows natively. Any other info, please ask.
--
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=21023
Summary: SetupDiOpenDevRegKey() returns wrong HKEY
Product: Wine
Version: 1.1.34
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: setupapi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mdealencar(a)gmail.com
Created an attachment (id=25222)
--> (http://bugs.winehq.org/attachment.cgi?id=25222)
bug example
In a Windows XP system SetupDiOpenDevRegKey() returns the "Device Parameters"
HKEY under the device instance corresponding to the supplied (DeviceInfoSet,
&DeviceInfoData) pair.
Wine's SetupDiOpenDevRegKey() returns the device instance HKEY instead.
The relevant registry keys are not created by Wine, so I had to import them
from a Windows XP system
Example:
Windows HKEY returned corresponds to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0451&Pid_6951\5&5a20206&0&1\Device
Parameters
Wine HKEY returned corresponds to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0451&Pid_6951\5&5a20206&0&1
The attached registry patches and source code enable the reproduction of the
bug.
--
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=39932
Bug ID: 39932
Summary: bat-script with quotes cann't be called using
CreateProcess
Product: Wine
Version: 1.9.0
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: andrej.skvortzov(a)gmail.com
Distribution: ---
Created attachment 53340
--> https://bugs.winehq.org/attachment.cgi?id=53340
executable with source code to reproduce the problem
This problem exists in software to configure HMI panels from OWEN and Xinje.
http://www.owen.ru/catalog/graficheskaya_panel_operatora_s_sensornim_upravl…
(Russian)
To reproduce this problem easily minimal test program is created. See attached
archive cmd_call_batch.tar.xz.
Here are technical details of the problem. To appear following conditions need
to be met:
- bat-script is called using CreateProcess
- name of bat-script is quoted
- some parameters of bat-scrits are quoted.
For example,
"test2.bat" "param1" param2
wine runs bat-script using cmd.
cmd /c "test2.bat" "param1" param2
On Windows cmd fails if name of bat-script and parameters both are quoted. To
avoid this problem attached patch always removes quotes from bat-script's name
before cmd is called.
--
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.