http://bugs.winehq.org/show_bug.cgi?id=28795
Bug #: 28795
Summary: ExeInfoPE: PE protection schemes that abuse %gs won't
run (breaks glibc TLS selector)
Product: Wine
Version: 1.3.30
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
newer versions of "ExeInfoPE" (>0.0.2.3) which coin their own PE protection
scheme don't run anymore.
There is still bug 26701 though the app crashes now earlier.
With tracing enabled:
--- snip ---
...
0024:Call KERNEL32.VirtualProtect(00400000,00001000,00000004,0032fe40)
ret=05bd0336
0024:Ret KERNEL32.VirtualProtect() retval=00000001 ret=05bd0336
0024:Call KERNEL32.VirtualProtect(00400000,00001000,00000002,0032fe40)
ret=05bd034b
0024:Ret KERNEL32.VirtualProtect() retval=00000001 ret=05bd034b
0024:trace:seh:raise_exception code=c0000005 flags=0 addr=0xb74a916a
ip=b74a916a tid=0024
0024:trace:seh:raise_exception info[0]=00000000
0024:trace:seh:raise_exception info[1]=ffffffff
0024:trace:seh:raise_exception eax=7bc9d7a7 ebx=b75e0ff4 ecx=0032fdcc
edx=7bc9d7a7 esi=0032fc74 edi=ffffffc8
0024:trace:seh:raise_exception ebp=0032fc48 esp=0032f6bc cs=0073 ds=007b
es=007b fs=0033 gs=0002 flags=00010246
0024:trace:seh:call_vectored_handlers calling handler at 0x7e16e0bd
code=c0000005 flags=0
0024:trace:seh:call_vectored_handlers handler at 0x7e16e0bd returned 0
0024:trace:seh:call_stack_handlers calling handler at 0x7bc90f61 code=c0000005
flags=0
0024:Call KERNEL32.UnhandledExceptionFilter(0032f194) ret=7bc90f9b
wine: Unhandled page fault on read access to 0xffffffff at address 0xb74a916a
(thread 0024), starting debugger...
0024:trace:seh:start_debugger Starting debugger "winedbg --auto 35 52"
0024:Ret KERNEL32.UnhandledExceptionFilter() retval=00000000 ret=7bc90f9b
0024:trace:seh:call_stack_handlers handler at 0x7bc90f61 returned 1
Unhandled exception: page fault on read access to 0xffffffff in 32-bit code
(0xb74a916a).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:0002
EIP:b74a916a ESP:0032f6bc EBP:0032fc48 EFLAGS:00010246( R- -- I Z- -P- )
EAX:7bc9d7a7 EBX:b75e0ff4 ECX:0032fdcc EDX:7bc9d7a7
ESI:0032fc74 EDI:ffffffc8
Stack dump:
0x0032f6bc: 0032fc7c 7bc9d82e 0032fc58 b74a992c
0x0032f6cc: 0032fc7c 7bc9d82d 00000001 00000000
0x0032f6dc: 0032fc8c 7bc9d82d 00000001 00000001
0x0032f6ec: 7bc9d82d 00000000 00000000 00000001
0x0032f6fc: 7bc9d82d 00000000 00000000 00000000
0x0032f70c: 00000000 00000000 00000000 00000000
Backtrace:
=>0 0xb74a916a _IO_vfprintf+0x3a() in libc.so.6 (0x0032fc48)
1 0xb74cbdbb vsnprintf+0xca() in libc.so.6 (0x0032fc74)
2 0x7bc350f9 NTDLL_dbg_vprintf+0x56() in ntdll (0x0032fd90)
3 0xb761ab63 wine_dbg_printf+0x2e() in libwine.so.1 (0x0032fdc0)
4 0x7bc640e5 relay_call+0x113() in ntdll (0x0032fe10)
5 0x7b8224ad in kernel32 (+0x124ac) (0x0032fe60)
6 0x004075cd in exeinfope (+0x75cc) (0x0032fe60)
7 0x7b85de44 call_process_entry+0xb() in kernel32 (0x0032fe78)
8 0x7b85df8a start_process+0x143() in kernel32 (0x0032fec8)
9 0x7bc7a244 call_thread_func+0xb() in ntdll (0x0032fed8)
10 0x7bc7a282 call_thread_entry_point+0x33() in ntdll (0x0032ffb8)
11 0x7bc51ebc start_process+0x25() in ntdll (0x0032ffe8)
12 0xb761edb5 wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
0xb74a916a _IO_vfprintf+0x3a in libc.so.6: movl %gs:0x00000000,%ecx
--- snip ---
The protection scheme fiddles with %gs selector value which breaks TLS pointer
access through %gs:0 (Wine uses %fs) or the stack protector scheme that
Userland libs and Wine are built with (glibc provided __stack_chk_guard at
%gs:0x14).
My gcc 4.6.1 x86 host toolchain has -fstack-protector enabled by default hence
Wine gets the stack canary code in the binaries.
The Glibc here (Xubuntu 11.10) has stack smashing protection enabled by
default.
Even if Wine is built with "-fno-stack-protector" the app would still break
glibc %gs TLS code.
This is just a "collector" bug for apps that run into this issue.
WONTFIX obviously, there is no reliable way to know when to repair/restore %gs
value (and restarting faulting instruction).
Regards
--
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=28326
Summary: CDBurnerXP's audio player is missing some visual
elements
Product: Wine
Version: 1.3.27
Platform: x86-64
URL: http://cdburnerxp.se/download?more-options
OS/Version: Linux
Status: UNCONFIRMED
Severity: trivial
Priority: P2
Component: gdiplus
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: RandomAccountName(a)mail.com
Created an attachment (id=36293)
--> (http://bugs.winehq.org/attachment.cgi?id=36293)
Builtin/native gdiplus comparison screenshots
In CDBurnerXP, the audio player dialog does not display the elapsed playback
time, and the outer edges of the pseudo-LED showing the current track are also
missing. Both can be seen with native gdiplus. To reproduce the problem:
1. Use winetricks dotnet20 before installing
2. From the main menu, choose "audio disc"
3. Observe the appearance of the audio player above the upper-right corner of
the program window
--
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=39377
Bug ID: 39377
Summary: Add support for 'msidbControlAttributesFormatSize' in
static text controls to format and label properties
such as 'PrimaryVolumeSpaceRequired' (SkySaga
installer)
Product: Wine
Version: 1.7.52
Hardware: x86-64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: msi
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
continuation of bug 39307
Prerequisites:
* 'winetricks -q dotnet40' (if Wine-Mono not present)
* Windows version set to 'Windows Vista+'
--- snip ---
...
0035:trace:msi:msi_set_property 0x15bbf8 L"PrimaryVolumeSpaceRequired" L"19380"
-1
...
0035:trace:msi:msi_dialog_add_control L"Static", L"Description", 00090003,
L"Setup requires [PrimaryVolumeSpaceRequired] in:", 00020000
...
0035:trace:msi:MSI_FormatRecordW L"Setup requires [PrimaryVolumeSpaceRequired]
in:"
...
0035:trace:msi:msi_get_property returning L"19380" for property
L"PrimaryVolumeSpaceRequired"
...
0035:Call user32.CreateWindowExW(00000000,7ce97ae0 L"Static",00198d58 L"Setup
requires 19380
in:",50020000,000000d9,000000a4,00000183,00000017,00030080,00000000,00000000,00000000)
ret=7ce272f3
...
--- snip ---
This number displayed is 512 byte units.
I found this in the remark section of 'PrimaryVolumeSpaceRequired' property in
MSDN:
https://msdn.microsoft.com/en-us/library/aa370849%28v=vs.85%29.aspx
--- quote ---
PrimaryVolumeSpaceRequired property
The installer sets the value of the PrimaryVolumeSpaceRequired property to a
string representing the total number of bytes required by all selected features
on the volume referenced by the PrimaryVolumePath property. As with the
PrimaryVolumeSpaceAvailable property, this number is expressed in units of 512
bytes.
Remarks
Note if this value is to be displayed within a static Text control, the
FormatSize bit can be used to automatically format and label this number in
units of kilobytes or megabytes as appropriate.
--- quote ---
https://msdn.microsoft.com/en-us/library/aa368608%28v=vs.85%29.aspx
'FormatSize' is indeed applicable here (attributes of control = 0x00090003).
The value should be formatted with proper units to be meaningful.
$ sha1sum SkySagaEUInstaller.exe
ee55d51213031fdf8d71475434c18ecd7caef9eb SkySagaEUInstaller.exe
$ du -sh SkySagaEUInstaller.exe
11M SkySagaEUInstaller.exe
$ wine --version
wine-1.7.52
Regards
--
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=15381
Summary: CoFreeUnusedLibraries will crash COM server or cause
0x800703E6/I_RpcReceive error 0x3e6
Product: Wine
Version: 1.0.0
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ole32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dmda(a)yandex.ru
Created an attachment (id=16230)
--> (http://bugs.winehq.org/attachment.cgi?id=16230)
demo illustrating the problem
if CoFreeUnusedLibraries is called by COM server, it will break RPC channcel
and lead to the errors
Attached is client/server code that demonstrates the problem.
If you comment out CoFreeUnusedLibraries call, it will start to work.
Steps:
-comple all 3 projects in the Workspace (Debug target is the only appropriate
for the sake of demo)
-make sure server and proxy are registered by running testserver.exe
-RegServer, regsvr32 testserverPS.dll
-run testproject.exe (the client)
Expected behaviour:
1. it will show server's message "CServer is created", click ok
2. it will show client's message "press OK when ready", click ok
3. it will show server's message passed by the client "Hello world!", click ok
4. it will show client's message "call succeeded" and client will exit
5. after roughly 6sec it will show that the server is unloaded/
Actual behaviour:
1. it will show server's message "CServer is created", click ok
2. it will show client's message "press OK when ready", click ok
3. it will show server's message passed by the client "Hello world!", click ok
4. it will dump out trouble in the console and show client's message "call
failed"
You may call CoFreeUnusedLibraries anywhere in the appartment and it will break
RPC on the server side. In some cases it will crash whole the server, like in
the demo.
Tested environment:
Fedora Core 8, 32bit, x86, wine 1.0 installed through the updates
--
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=34966
Bug #: 34966
Summary: Academagia (WPF game) dialog windows are invisible
until alt-tabed out
Product: Wine
Version: 1.7.6
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: i30817(a)gmail.com
Classification: Unclassified
installed dotnet51sp1 from the latest winetricks on a 32 bits prefix
installed windowscodecs from the latest winetricks the same 32 bits prefix
installed the game on the same 32 bits prefix
then;
started notpad:
WINEPREFIX='/home/i30817/wine32bits' WINEARCH='win32' notepad
started the game with these options:
WINEPREFIX='/home/i30817/wine32bits' WINEARCH='win32'
WINEDEBUG=+tid,+seh,+relay wine ./Academagia.exe >>log.txt 2>&1
And waited until the first dialog window i was able to activate, alt-tabed out
(that was when i noticed it became visible) and killed the corresponding
wineserver with:
WINEPREFIX='/home/i30817/wine32bits' WINEARCH='win32' wineserver -k
The log is quite large uncompressed (1.5 GB), but actually 30mb compressed.
Still too large to upload here; but it can go to my google drive:
https://drive.google.com/file/d/0BzxkBmaf1EiWTmhiQjJ1YkllZWc/edit?usp=shari…
--
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=12968
Summary: MS Visual Studio V6 setup error 258 since 0.9.58
Product: Wine
Version: 0.9.61.
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: k.king177(a)ntlworld.com
trying to install Visual Studio v6 get MS Msgbox headed
"Setup Error 258"
with text
Your setup files may be damaged. Try restarting the setup program from where
you originally ran it.
this is probably related or from same issue causing bug# 12967 for Office 97
see that bug for environment details.
--
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=15948
Summary: Error generated when trying to install visual studio 6.0
into centos5 via wine
Product: Wine
Version: 1.1.7
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P4
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: boniemx(a)gmail.com
Created an attachment (id=17135)
--> (http://bugs.winehq.org/attachment.cgi?id=17135)
error-log for installation of visual studio 6.0 via wine into centos5
Hi, am trying to install Visual studio 6.0, but it produces the error that I
have attached. Please I need to do this urgently. Please help
--
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.