https://bugs.winehq.org/show_bug.cgi?id=48942
Bug ID: 48942
Summary: stack overflow on startup
Product: Wine
Version: 5.6
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: triffid.hunter(a)gmail.com
Distribution: ---
Created attachment 66917
--> https://bugs.winehq.org/attachment.cgi?id=66917
strace -s 1024 -f wine -- notepad
$ wine notepad
000b:err:seh:setup_exception stack overflow 464 bytes in thread 000b eip
000000007bcbdb9a esp 0000000000131440 stack 0x130000-0x131000-0x230000
0009:err:module:LdrInitializeThunk "kernelbase.dll" failed to initialize,
aborting
0009:err:module:LdrInitializeThunk Initializing dlls for
L"C:\\windows\\system32\\notepad.exe" failed, status c0000005
$ wine --version
wine-5.6
Wine-5.4 worked fine.
I've also attached an strace in case it's helpful.
I'm installing wine-5.5 to test for regression.
There's another report at
https://www.reddit.com/r/openSUSE/comments/g14xvn/wine_issues_after_fresh_i…
which seems related although the exact numbers are different.
--
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=48542
Bug ID: 48542
Summary: Mono (and probably .NET) needs CreateThreadpoolIo
Product: Wine
Version: 5.0
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: kernelbase
Assignee: wine-bugs(a)winehq.org
Reporter: madewokherd(a)gmail.com
Distribution: ---
Found testing LiveSplit 1.7.7 on Wine Mono from the master branch.
Mono's implementation of System.Threading.ThreadPoolBoundHandle depends on
CreateThreadpoolIo. Wine's stub of this function returns 0 and doesn't set last
error, resulting in the confusing message "System.IO.IOException: Success".
This can be more easily reproduced by running 'make test' in Wine Mono and
running tests/run-tests.exe
MonoTests.System.IO.Pipes.PipeSecurityTest:NamedPipePermissionsActuallyWorkAsync
--
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=48471
Bug ID: 48471
Summary: Mismatching behavior of GetEnvironmentVariableW for
empty / long values
Product: Wine
Version: 5.0-rc4
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernelbase
Assignee: wine-bugs(a)winehq.org
Reporter: wine(a)thecybershadow.net
Distribution: ---
Attempting to build the Windows version of DMD, the reference compiler for the
D programming language, fails under Wine. This seems to be caused by the
following chain of events:
1. The makefile invokes a build program with a "VERBOSE=" on the command-line:
https://github.com/dlang/dmd/blob/49dfbe54f4a0f62a0694aec9fb4184739903a0c2/…
(Here "$(VERBOSE)" is not set and expands to the empty string.)
2. The build program registers the command-line arguments into the process
environment:
https://github.com/dlang/dmd/blob/49dfbe54f4a0f62a0694aec9fb4184739903a0c2/…
This sets the environment variable VERBOSE to the empty string.
3. Later, it attempts to check if the "VERBOSE" variable is in the environment:
https://github.com/dlang/dmd/blob/49dfbe54f4a0f62a0694aec9fb4184739903a0c2/…
4. This calls the following Windows code in the standard library to read the
environment:
https://github.com/dlang/phobos/blob/e373b4e77448bc11c6e4ea6c85bcdb8f7ab86f…
5. For empty variables, the code behaves differently in Windows and Wine -
Wine's implementation returns 0, while Windows returns 1. As a result, the
standard library code throws an exception under Wine.
Writing a test program reveals further differences. The program:
#include <stdio.h>
#include <windows.h>
void main()
{
WCHAR buf[4];
DWORD size;
int len, i;
for (len = 0; len <= 2; len++)
{
for (i = 0; i < len; i++)
buf[i] = 'a';
buf[len] = 0;
SetEnvironmentVariableW(L"TESTVAR", buf);
for (i = 0; i <= len + 1; i++)
{
DWORD err;
SetLastError(1);
buf[0] = 1;
size = GetEnvironmentVariableW(L"TESTVAR", buf, i);
err = GetLastError();
printf("%d->%d: size=%d error=%d buf[0]=%d\n",
len, i, size, err, buf[0]);
}
printf("\n");
}
}
Output on Windows [Version 10.0.17134.648]:
0->0: size=1 error=1 buf[0]=1
0->1: size=0 error=1 buf[0]=0
1->0: size=2 error=1 buf[0]=1
1->1: size=2 error=1 buf[0]=0
1->2: size=1 error=1 buf[0]=97
2->0: size=3 error=1 buf[0]=1
2->1: size=3 error=1 buf[0]=0
2->2: size=3 error=1 buf[0]=0
2->3: size=2 error=1 buf[0]=97
Output on Wine:
0->0: size=0 error=1 buf[0]=1
0->1: size=0 error=1 buf[0]=0
1->0: size=2 error=122 buf[0]=1
1->1: size=2 error=122 buf[0]=1
1->2: size=1 error=1 buf[0]=97
2->0: size=3 error=122 buf[0]=1
2->1: size=3 error=122 buf[0]=1
2->2: size=3 error=122 buf[0]=1
2->3: size=2 error=1 buf[0]=97
We can observe these differences:
1. Wine returns 0 and not 1 when the variable is empty and the function is
given a zero-length buffer.
2. Wine sets the last error to ERROR_INSUFFICIENT_BUFFER, while Windows
doesn't.
3. Windows zeroes the buffer if the size is non-zero but still insufficient to
hold the value. (This is not a bug as the behavior is specified in the
documentation to be undefined.)
--
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=49271
Bug ID: 49271
Summary: Unable to execute python3.exe in wine
Product: Wine
Version: 3.6
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: api-ms-win-*
Assignee: wine-bugs(a)winehq.org
Reporter: robin(a)clanmills.com
Distribution: ---
https://bugs.python.org/issue40803
Download: https://www.python.org/ftp/python/3.8.3/python-3.8.3-amd64.exe from
https://www.python.org/downloads/windows/
$ cd ~/temp/python-3
$ wine cmd
Z:\home\rmills\temp\python-3>
Z:\home\rmills\temp\python-3>wine: Call from 0x7b43cfbc to unimplemented
function api-ms-win-core-path-l1-1-0.dll.PathCchCanonicalizeEx, aborting
wine: Unimplemented function
api-ms-win-core-path-l1-1-0.dll.PathCchCanonicalizeEx called at address
0x7bc50023:0x7b43cfbc (thread 0034), starting debugger...
Unhandled exception: unimplemented function
api-ms-win-core-path-l1-1-0.dll.PathCchCanonicalizeEx called in 32-bit code
(0x7b43cfbc).
--
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=48966
Bug ID: 48966
Summary: Previously created Wine prefix: "kernelbase.dll"
failed to initialize, aborting
Product: Wine
Version: 5.5
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernelbase
Assignee: wine-bugs(a)winehq.org
Reporter: escomk3(a)hotmail.com
Distribution: ---
Created attachment 66943
--> https://bugs.winehq.org/attachment.cgi?id=66943
Good/Bad Relay Snippet
After c567af73 [1], several older Wine prefixes started to fail running
anything (things such as 'winecfg' even). Creating a new prefix and
re-installing any affected application allows for them to run again.
Example with 'winecfg' on an affected prefix with wine-5.6-193-g59987bc9ecdd0:
000d:err:module:__wine_process_init
L"C:\\windows\\system32\\winemenubuilder.exe" not found
000b:err:wineboot:process_run_key Error running cmd
L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
0009:err:module:LdrInitializeThunk "kernelbase.dll" failed to initialize,
aborting
0009:err:module:LdrInitializeThunk Initializing dlls for
L"C:\\windows\\system32\\winecfg.exe" failed, status c0000005
At commit b408b07e [2] the old prefixes work again.
At the commit 4b1676af [3] that falls in between, a different error is produced
(perhaps to be expected?).
I could /not/ reproduce the issue simply by first creating a new prefix at [2],
and moving on to current git master for example.
1.
https://source.winehq.org/git/wine.git/commit/c567af732b01231a0e4a653b994a8…
2.
https://source.winehq.org/git/wine.git/commit/b408b07eae99ad94e3f12ee77d960…
3.
https://source.winehq.org/git/wine.git/commit/4b1676af06a0b8db13db1fe692531…
--
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=33317
Bug #: 33317
Summary: Python error Fatal Python error: buffer overflow in
getpathp.c's joinpath() when executing.
Product: Wine
Version: unspecified
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: andrew.thomas(a)hpcwales.co.uk
Classification: Unclassified
Created attachment 44067
--> http://bugs.winehq.org/attachment.cgi?id=44067
Lwsn output from running under wine
Wine Version : wine64 --version
wine-1.5.25
(64 Bit version)
GCC Version : gcc --version
gcc (GCC) 4.6.2
Python Version : python --version
Python 2.7.3
Operating Systems Used:
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
I have also tried on :
cat /etc/redhat-release
CentOS release 5.5 (Final)
Program trying to run lwsn.exe (network render module part of Lightwave :
https://www.lightwave3d.com/ ). 30 Day trial available.
Command used:
wine lwsn.exe -3 -cLWEXT11-64.CFG -d"z:\home\andy.thomas\Atticus"
Scenes\black.lws 1 1
Problem,
I compiled wine and setup lwsn.exe in accordance with this article:
http://lordtangent.blogspot.co.uk/2007/01/running-lightwave-screamernet-lws…
Initially it worked fine when running from the command line. I then wrapped it
up in a batch script to be sent to our Linux cluster but got a Python error
message :
Fatal Python error: buffer overflow in getpathp.c's joinpath()
I tried to execute interactively on the cluster and this worked fine but when
executed from a script it gives the above error.
I launched a forum post (as I a haven't done much troubleshooting with wine) :
http://forum.winehq.org/viewtopic.php?f=8&t=18632
I have tried the recommendations but had no success.
I re-compiled wine with the above gcc compiler and a more up to date version of
Python but I can no longer execute on the command line. I now get the Python
error regardless of how I execute the command.
Any help would be greatly appreciated. If you need any further debugging please
let me know.
--
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=17124
Summary: MSYS installer doesn't pop up cmd window?
Product: Wine
Version: 1.1.13
Platform: Other
URL: http://www.mingw.org/wiki/msys
OS/Version: other
Status: NEW
Keywords: download, Installer, source
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
When install msys, it floods the terminal with:
This is a post install process that will try to normalize betweenyour MinGW
install if any as well as your previous MSYS installs if any. I don't have any
traps as aborts will not hurt anything.Do you wish to continue with the post
install? [yn ] pi.sh: [: ==: unary operator expectedDo you have MinGW
installed? [yn ] pi.sh: [: ==: unary operator expectedWhen you install MinGW I
suggest you install it to C:/mingw(replace C: with the drive of your choice).
Then create an/etc/fstab file with a line that has a value similar to:C:/mingw
/mingwPress ENTER to continue Normalizing your MSYS environment.You
have script /bin/awkYou have script /bin/cmdYou have script /bin/echoYou have
script /bin/egrepYou have script /bin/exYou have script /bin/fgrepYou have
script /bin/printfYou have script /bin/pwdYou have script /bin/rviYou have
script /bin/rviewYou have script /bin/rvimYou have script /bin/viYou have
script /bin/viewMinGW-1.1 has a version of make.exe within it's bin/
directory.Please be sure to rename this file to mingw32-make.exe once youve
echo installed MinGW-1.1 because it\s very deficient in function.Press ENTER to
continue.C:\msys\1.0\postinstall>pause
Press Return key to continue:
Towards the end. It looks like something that should be in a cmd prompt
(haven't tested on windows yet). The line endings are also wrong, but that's
another 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.