https://bugs.winehq.org/show_bug.cgi?id=46003
Bug ID: 46003
Summary: glibc (libpthread.so.0) crashes 64-bit FPUs and
freezes screen in 32-bit applications
Product: Wine
Version: 3.15
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: wine.fixes(a)gmail.com
Distribution: ---
The 64-bit glibc libraries (specifically, libpthread.so.0 - version 2.27)
apparently use the sysenter / syscall assembly commands in order to initiate
the __libc_write() system calls, rather than the "int 0x80" command that the
32-bit libraries use.
This is fine for 64-bit Windows applications in Wine, but seems to cause a CPU
exception when running certain 32-bit applications on a 64-bit Intel CPU (such
as the Core i5), which - in turn - seems to cause stack underflow and NaN
errors on the FPU unit under certain circumstances, thus preventing the screen
from updating whenever floating point calculations are required in order to
calculate the final screen position. It can also cause unhandled exceptions and
cause the application to terminate entirely in some applications.
I am yet to identify any commercial applications which suffer from this
problem, but I have written several simple SDL and Win32 graphical programs
(compiled with version 0.9.25 of the TCC Tiny C Compiler) which demonstrate the
effects. I have provided sample code of one such application below.
This problem also appears to manifest on 64-bit Intel CPUs even when using
32-bit operating systems (such as Ubuntu 18.04-i386), but I can confirm from
testing that the 32-bit QEMU virtual machine appears to be unaffected (and,
presumably, so are 'real' 32-bit CPUs too). I have been told that 64-bit AMD
CPUs (unlike 64-bit Intel CPUs) will not trigger an error when using sysenter /
syscall in 32-bit mode, but I am yet to confirm this as I currently only have
access to Intel CPUs. Incidentally, I believe that Intel themselves advise
against sysenter / syscall in 32-bit mode.
I have been able to temporarily fix the problem from within Wine by calling the
assembly command "fninit" (which resets the FPU) at the start of the
DC_UpdateXforms() function in dlls/gdi32/dc.c, or by calling the "fninit"
command from within the application (or, in some circumstances, simply moving
the window across the screen), but obviously it would be preferable to fix the
error at source from within the glibc libraries...
I realise that this is not an error with the Wine source code itself per se,
but I have registered it here in case anybody else encounters the same problem
in future.
SAMPLE CODE
(Note: This code requires the 32-bit v.0.9.25 or v.0.9.24 version of the TCC
Tiny C Compiler, as the error does not appear to manifest on newer versions)
This simple program should display a window which changes colour between red,
green, and blue every 0.5 seconds on Windows; however, when run from within
Wine on 64-bit Intel CPUs, it appears to freeze on the first colour due to the
FPU encountering an error during the __libc_write() routine
#include <windows.h>
#include <string.h>
MSG msg;
WNDCLASS wc;
HWND hwnd;
BITMAPINFO bmp = { { sizeof(BITMAPINFOHEADER), 400, 400, 1, 32 } };
unsigned char *pBits = NULL;
HDC hdc, compatibleDC;
HBITMAP dib_section;
float f = 1.0f;
unsigned char color[3][4] = { {255, 0, 0, 255}, {0, 255, 0, 255}, {0, 0, 255,
255} };
unsigned char current_color = 0;
unsigned int i;
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR
lpCmdLine, int nCmdShow)
{
ZeroMemory(&wc, sizeof wc);
wc.hInstance = hInstance;
wc.lpfnWndProc = (WNDPROC)DefWindowProc;
wc.lpszClassName = "Test App";
if (RegisterClass(&wc) == FALSE) return 0;
hwnd = CreateWindow("Test App", "Test App", WS_OVERLAPPEDWINDOW|WS_VISIBLE,
CW_USEDEFAULT, CW_USEDEFAULT, 400, 400, 0, 0, hInstance, 0);
hdc = GetWindowDC(hwnd);
compatibleDC = CreateCompatibleDC(hdc);
dib_section = CreateDIBSection(NULL, &bmp, DIB_RGB_COLORS, (VOID**)&pBits,
NULL, (DWORD)NULL);
SelectObject(compatibleDC, dib_section);
while(TRUE)
{
while(PeekMessage(&msg,NULL,0,0,PM_REMOVE))
{
if (msg.message == WM_QUIT) break;
TranslateMessage(&msg);
DispatchMessage(&msg);
}
/* The two float operations below will trigger the error */
f += 1.0f;
f -= 1.0f;
for(i=0; i < (400 * 400 * 4); i+=4) memcpy(&pBits[i], &color[current_color][0],
4);
/* If called here, the "fninit()" assembly routine will reset the FPU and
enable the screen to update */
// __asm__ volatile ("fninit");
BitBlt(hdc, 0, 0, 400, 400, compatibleDC, 0, 0, SRCCOPY);
current_color++;
if (current_color >= 3) current_color = 0;
Sleep(500);
}
return msg.wParam;
}
--
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=45999
Bug ID: 45999
Summary: Opening File dialog in Micrographx Windows Draw 4.0
causes Unhandled exception
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jklaas(a)appalachian.dyndns.org
Distribution: ---
Created attachment 62564
--> https://bugs.winehq.org/attachment.cgi?id=62564
Backtrace saved after application crash
Installation of Micrographx Windows Draw 4.0 works without issue.
Micrographx Windows Draw 4.0 starts without any difficulty.
I can drag a file from a file manager onto the open application to open a file.
However, if I attempt to open or save a file from any of the file management
dialogs, the application crashes with an Unhandled exception.
--
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=45903
Bug ID: 45903
Summary: internet Downlaod Manager Problem in Deepin Desktop
Product: Wine
Version: 3.17
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: mahmoud.elswerky(a)gmail.com
Distribution: ---
again again ,, no one listen to me
i face this problem it is a major problem for me
this problem wasn't presnt untill wine 3.5 devel then it appeared in coming
updates till latest version now 3.17
please read this problem and reply to me to feel that am not talking to my self
the problem is : in deepin desktop when i install internet downlaod manager ,,
the system tray icon of internet download manager and active running schedule
updates icon on system tray are not working
both the idm icon on system tray ( or topbar if i installed unofficial deepin
topbar )
and the active running schedule downalod icon on system tray also not working
the most important for me is the icon of running schedule downloads in system
tray where i can't restore windows of runnig schedule downloads
this problem occures with me on deepin desktop from version 3.6 to version 3.17
the most recent version now
please i reported this problem before and no one reply me and you even didn't
see it
currently i am stuck with version 3.5 due to this bug as idm is one of reasons
for using wine
please fix this problem and reply to me to know that you saw this bug report
i am using manjaro deepin
also same bug occur in deepin os
my email is
mahmoud.elswerky(a)gmail.com
and Telegram id is :
@elswerky
https://t.me/elswerky
--
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=40267
Bug ID: 40267
Summary: ChoosePixelFormat and SetPixelFormat always fail on
X11 with invalid format error
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: opengl
Assignee: wine-bugs(a)winehq.org
Reporter: alexchandel(a)gmail.com
Distribution: ---
Created attachment 53892
--> https://bugs.winehq.org/attachment.cgi?id=53892
Anomalous ChoosePixelFormat and SetPixelFormat error
Attempting to run a T3 emulator with wine 1.9.5-1 on Arch always produces two
error popup boxes saying "ChoosePixelFormat failed" and "SetPixelFormat
failed".
After the ChoosePixelFormat error, the following is logged:
fixme:event:wait_for_withdrawn_state window 0x10072/e00004 wait timed out
err:wgl:set_pixel_format Invalid format 0
Then after the SetPixelFormat error, the following is logged:
fixme:event:wait_for_withdrawn_state window 0x20072/e00006 wait timed out
I've attached a complete log with WINEDEBUG=trace+wgl that yields ore
information. From the log, the PIXELFORMATDESCRIPTOR clearly has a valid
format, despite Wine's "Invalid format 0" error.
Despite these popup errors, the program paints a mostly correct window. But it
detects the errors through error code checking, and they are sufficient to
prevent the program from functioning at all.
--
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=40578
Bug ID: 40578
Summary: "msiexec /uninstall ..." shows "Install" button.
Product: Wine
Version: 1.9.5
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
Assignee: wine-bugs(a)winehq.org
Reporter: htl10(a)users.sourceforge.net
Distribution: ---
trying to ungrade to the latest mono by uninstalling the old one first:
http://download.mono-project.com/archive/4.0.2/windows-installer/mono-4.0.2…
was a little alarmed that "msiexec /uninstall ..." shows a "Install" button,
but it does the right thing anyway, so this is mainly a cosmetic thing.
--
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=45886
Bug ID: 45886
Summary: Civilization IV crashes while loading saved game
Product: Wine
Version: 3.16
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: bgracer2010(a)gmail.com
Distribution: ---
Created attachment 62393
--> https://bugs.winehq.org/attachment.cgi?id=62393
Backtrace from the crash
Civilization IV Complete (GOG version) crashes while loading a saved game,
during the loading screen.
The test machine is a ThinkPad T400, C2Duo P8400; 2x2GB DDR3; with the 01:00.0
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82
[Mobility Radeon HD 3450/3470]
Ubuntu MATE 18.04; kernel 4.15.0-34-generic
The same crash happens on OpenSUSE Leap 15 with kernel 4.12
--
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=39588
Bug ID: 39588
Summary: teamviewer-11 crashes on remote connect
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: saif.raza93(a)gmail.com
Distribution: ---
Created attachment 52754
--> https://bugs.winehq.org/attachment.cgi?id=52754
bug not letting teamviewer on remote connection
when i connect teamviewer on remote access , it crashes and displays an error.
i have attached the type of error as well... i'm using Zorin OS Core 32-Bit...
--
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=38229
Bug ID: 38229
Summary: TeamViewer crashes on remote connect
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: atnaguzin(a)gmail.com
Distribution: ---
Created attachment 51031
--> https://bugs.winehq.org/attachment.cgi?id=51031
teamviewer10 windows on remote connect crashing backtrace
I used TeamViewer 10 for Windows in Wine.
Programm crashed, when I try connect to remote computer.
--
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=34031
Bug #: 34031
Summary: Altium Designer 2013 installer aborts without native
gdiplus
Product: Wine
Version: 1.6-rc4
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: gdiplus
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Classification: Unclassified
Tested with
55188066ae77e8766c4c007a0776ae91229fd5c3 AltiumDesigner2013Installer.exe
This doesn't happen with Altium Designer 10's installer, which seems otherwise
similar.
The installer aborts before even putting up a UI.
+relay showed a string with an error message about a gdiplus failure,
and sure enough, 'winetricks gdiplus' lets the app continue starting.
Next problem is bug 34012.
trace:gdiplus:DllMain (0x7de70000, 1, 0x1)
trace:gdiplus:GdiplusStartup 0x95d1ec 0x8d087c (nil)
trace:gdiplus:GdiplusStartup GdiplusStartupInput 1 (nil) 0 0
trace:gdiplus:GdipGetImageEncodersSize 0x33fdb4 0x33fdb0
trace:gdiplus:GdipGetImageEncoders 4 304 0xcb35a0
trace:gdiplus:GdipGetImageEncodersSize 0x33fdb4 0x33fdb0
trace:gdiplus:GdipGetImageEncoders 4 304 0xcb35a0
trace:gdiplus:GdipGetImageEncodersSize 0x33fdb4 0x33fdb0
trace:gdiplus:GdipGetImageEncoders 4 304 0xcb35a0
trace:gdiplus:GdipGetImageEncodersSize 0x33fdb4 0x33fdb0
trace:gdiplus:GdipGetImageEncoders 4 304 0xcb35a0
trace:gdiplus:GdipGetImageEncodersSize 0x33fdb4 0x33fdb0
trace:gdiplus:GdipGetImageEncoders 4 304 0xcb35a0
trace:seh:raise_exception code=eedfade flags=1 addr=0x7b83b412 ip=7b83b412
tid=0028
--
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=45944
Bug ID: 45944
Summary: Tiny Bubbles shows blank screen
Product: Wine-staging
Version: 3.0.3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: alexterranova81(a)gmail.com
CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com
Distribution: ---
Game: Tiny Bubbles
OS: Kubuntu 18.04 x64
CPU: AMD 4Ghz 2Core
RAM: 8GB
The game starts but the screen is blank. You can hear the sound though.
I also tried "-force-d3d9" and it's the same issue
Please help.
--
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.