http://bugs.winehq.org/show_bug.cgi?id=29905
Bug #: 29905
Summary: Microsoft Visual Studio 2008: attaching to process
fails with "unknown error: 0x80070003" (support of
"Session" namespace for named objects needed)
Product: Wine
Version: 1.4-rc3
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: wineserver
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
prerequisite: 'winetricks -q dotnet30'
Unfortunately for installation of Visual Studio 2008 Professional/Enterprise
editions you have to resort to hacks.
NOTE: Remote debugging capability is not available in Visual Studio 2005/2008
express editions (free for download).
Bug 29354 (installer fails due to ProductID being set during client side
"ValidateProductID" standard action -> don't set property)
Bug 10601 (GAC API for managed assembly installation needs reparse
point/junction API support -> force
msi_install_assembly()/IAssemblyCache_InstallAssembly to succeed on failure)
The installer still fails in the end but it's enough to have a "half" usable
IDE/build environment (.NET Framework 3.5 and some .NET service packs get
skipped due to Mono registry/fake mess while other components fail to install).
Unlike Visual Studio 2005 which uses wtsapi (bug 29903), Visual Studio 2008
retrieves the process list by different means and displays the process in
"standard" transport mode.
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Microsoft Visual Studio 9.0/Common7/IDE
$ wine ./devenv.exe
--- snip ---
1) Menu "extras" -> "attach to process"
2) select one process, click "attach"
It starts the debugging environment but fails half-through with "unknown error:
0x80070003"
--- snip ---
...
0082:Call KERNEL32.ProcessIdToSessionId(00000085,0032e5f0) ret=3f083224
0082:Ret KERNEL32.ProcessIdToSessionId() retval=00000001 ret=3f083224
...
0082:Call
KERNEL32.CreateFileMappingW(ffffffff,0032e604,00000004,00000000,0000003c,0032e610
L"Session\\0\\Microsoft_VS90_causality_sharedmemory-133") ret=3f089149
0082:Ret KERNEL32.CreateFileMappingW() retval=00000000 ret=3f089149
0082:Call KERNEL32.GetLastError() ret=3f08897a
0082:Ret KERNEL32.GetLastError() retval=00000003 ret=3f08897a
...
0082:Call
KERNEL32.FormatMessageW(00001300,00000000,80070003,00000400,0032e638,00000000,00000000)
ret=3f2b9072
0082:Ret KERNEL32.FormatMessageW() retval=00000000 ret=3f2b9072
...
0082:Call oleaut32.SysAllocString(03d19b60 L"Der Vorgang wird nicht
unterst\00fctzt. Unbekannter Fehler: 0x80070003.") ret=3f247a9f
...
--- snip ---
For communication between target and debugger a shared memory location is
created.
The shared memory (file mapping) is created using a special namespace syntax:
"Session\\0\\Microsoft_VS90_causality_sharedmemory-133"
Wineserver doesn't support "Session\<id>" yet, hence CreateFileMappingW()
fails.
(another run with +server):
--- snip ---
0009: create_mapping( access=000f000f, attributes=00000080, protect=00000043,
size=0000003c, file_handle=0000,
objattr={rootdir=0010,sd={control=00000004,owner=<not present>,group=<not
present>,sacl={},dacl={{AceType=ACCESS_ALLOWED_ACE_TYPE,Mask=10000000,AceFlags=0,Sid={S-1-5-21-0-0-0-1000}}}},name=L"Session\\0\\Microsoft_VS90_causality_sharedmemory-18"}
)
0009: create_mapping() = OBJECT_PATH_NOT_FOUND { handle=0000 }
--- snip ---
Source:
http://source.winehq.org/git/wine.git/blob/ba715798094896e8b98fc5803e16b00f…
"Kernel Object Namespaces":
http://msdn.microsoft.com/en-us/library/aa382954.aspx
--- quote ---
...
In addition to the "Global\" prefix, client processes can use the "Local\"
prefix to explicitly create an object in their session namespace. These
keywords are case sensitive.
The "Session\" prefix is reserved for system use and you should not use it in
names of kernel objects.
...
<user comments>
This documentation effectively states that 'Global', 'Local' and 'Session' are
all valid as name prefixes (but not as names).
There appears to be no documentation that says 'Session' cannot be used as a
prefix or that it is reserved for use as a prefix.
By referring to 'Session' as it does, it strongly implies that this a fully
legal and valid way to enable applications in one session to interact with
applications in another session.
I think Microsoft should consider adding more detail about whether 'Session' is
or is not valid for use by developers, and if so exactly what it can and cannot
be used for.
[user reponse] Global\ refers to the Global Namespace, Local\ refers to the
current session's namespace, Session\x\ refers to x's namespace where x is the
session id (not LUID or anything special, just a counter)
--- quote ---
"Memory mapped files from XP to Vista"
http://blogs.msdn.com/b/maartenb/archive/2008/05/07/memory-mapped-files-fro…
--- quote ---
... Online search for "sessions\1\basenamedobject" gives hits that point to
Terminal Services. There appear to be Local Global and Session namespaces. So
prior to Vista and Server 2008 all services shared the same namespace as the
first user logging in to the machine. This was session 0. With Vista this is no
longer the case. Just like all compatibility issues it is explained in the
cookbook.
--- quote ---
There is a workaround for this problem.
You can force a "normal" shared memory mapping name by setting to WinVer to
"Windows 2000" prior running the IDE.
Some components don't really support running WinVer < "Windows XP" anymore
hence this might break some stuff (VS2008 refuses to install with W2K mode).
At least this prevents the error message when attaching.
It doesn't really break/pause the remote process (might be bug 25462).
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=24583
Summary: Wine 1.3.3 can't run Visual Studio 2008 (VC9)
installer
Product: Wine
Version: 1.3.3
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: simons(a)cryp.to
Created an attachment (id=31046)
--> (http://bugs.winehq.org/attachment.cgi?id=31046)
Output printed by wine while attempting to run the installer
I ran the installer of the full version (not VC express) using the latest
release of wine. The installer starts up and works for a while, but ultimately
it aborts with an unhandled exception.
--
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=20227
Summary: msi: Table Join on two tables that have same
(non-join) column name causes only first column data
to be returned.
Product: Wine
Version: 1.1.30
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ngallaher+winehq(a)deepthought.org
Created an attachment (id=23863)
--> (http://bugs.winehq.org/attachment.cgi?id=23863)
Patch for TableJoin bug
Imagine the following tables
Table foo:
string color
string flavor
Table bar:
string color
string flavor
with query
"Select foo.color, bar.flavor from foo, bar where foo.color=bar.color"
The current version returns the data from columns foo.color and foo.flavor.
This is because when the tables are joined, the original tablename identifiers
are dropped on the floor, resulting in a table with two 'color' and two
'flavor' columns. The VIEW_find_column() function then returns the first
column found that matches the requested name.
This can be traced to a deficiency in VIEW_find_column() which only uses the
column names in its comparison. Further, the sql parser does not preserve the
table identifier, but this is easily fixed.
A patch, including test case is attached.
This behaviour was observed when trying to install Visual Studio 2008 Standard
Edition.
--
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=15671
Summary: Visual Studio 2008 Express web install fails with
"Sharing violation" on $shtdwn$.req
Product: Wine
Version: 1.1.6
Platform: Other
URL: http://www.microsoft.com/express/download/#webInstall
OS/Version: other
Status: NEW
Keywords: download, Installer
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
To get the installer to even try, you have to do "winetricks volnum".
The next problem is while copying file 41 of 41, $shtdwn$.req,
it gets a sharing violation. The file it's trying to copy
is there, but can't be opened, possibly because it has
never been closed.
002f:Call KERNEL32.CreateFileA(0100afa0
"c:\\21309f2f7662773b82c3\\$shtdwn$.req",c0000000,00000003,00000000,00000001,04000002,00000000)
ret=0100355e
trace:file:CreateFileW returning 0x68
002f:Ret KERNEL32.CreateFileA() retval=00000068 ret=0100355e
002f:Call KERNEL32.WriteFile(00000068,0100a5a0,00000314,0032fe70,00000000)
ret=010035b5
trace:file:WriteFile 0x68 0x100a5a0 788 0x32fe70 (nil)
002f:Ret KERNEL32.WriteFile() retval=00000001 ret=010035b5
002f:Call KERNEL32.SetEnvironmentVariableA(01002388
"_SFX_CAB_SHUTDOWN_REQUEST",0100afa0 "c:\\21309f2f7662773b82c3\\$shtdwn$.req")
ret=010035cb
...
...
trace:text:DrawTextExW L"Setup is copying required resources to your temp
directory.\r\nCopying file 41 of 41.\r\n\r\nCopying setup file: $shtdwn$.req",
-1,
[(0,0)-(360,70)] 00000050
...
0032:Call KERNEL32.CopyFileExW(0033e80c
L"C:\\21309f2f7662773b82c3\\$shtdwn$.req",0033e5fc
L"C:\\windows\\temp\\SIT42147.tmp\\$shtdwn$.req",3aaed850,0000000
0,0033ddbc,00000002) ret=3aaed716
warn:file:CreateFileW Unable to create file
L"C:\\21309f2f7662773b82c3\\$shtdwn$.req" (status c0000043)
warn:file:CopyFileW Unable to open source
L"C:\\21309f2f7662773b82c3\\$shtdwn$.req"
0032:Call oleaut32.SysAllocString(00787cf0 L"Setup has encountered a problem
while trying to copy:\r\nC:\\21309f2f7662773b82c3\\$shtdwn$.req\r\nPress Retry
to attempt the copy again. Press Cancel to cancel setup.") ret=3aae49ab
Interestingly, even on Windows this file can't be opened sometimes
early in an installer; see
http://www.digitalformula.net/infrastructure/how-to-perform-an-unattended-i…
It's an interesting mystery. What triggers that file to be closed on Windows?
--
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=14875
Summary: VS 2008 Express Editions (SP1) installer fails with
directory resolution error (bug in msi appsearch action)
Product: Wine
Version: CVS/GIT
Platform: PC
URL: http://www.microsoft.com/express/download/
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
downloaded full DVD image of Visual Studio 2008 Express Edition with SP1.
Minimal set of prerequisites needed to reproduce this bug:
1. sh winetricks volnum (bug 5351)
2. MsiSetExternalUIRecord patch (bug 10547)
The installer stops with error "directory resolution failed".
--- snip ---
002c:Call msi.MsiGetPropertyW(00000001,00cee4c8
L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8",39e262f8,0032ab10) ret=39e55231
002c:trace:msi:MSI_GetProperty 1 L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8"
0x39e262f8 0x32ab10
..
002c:trace:msi:MSI_DatabaseOpenViewW L"SELECT `Value` FROM `_Property` WHERE
`_Property`='VS7.3643236F_FC70_11D3_A536_0090278A1BB8'" 0x32a9c4
..
002c:Ret msi.MsiGetPropertyW() retval=000000ea ret=39e55231
..
002c:Call
KERNEL32.FormatMessageW(00000b00,3aa70000,0000108e,00000400,0032a7bc,00000000,00000000)
ret=39ea74fb
002c:Ret KERNEL32.FormatMessageW() retval=00000024 ret=39ea74fb
..
002c:Call oleaut32.SysAllocString(00cdcd08 L"Microsoft Visual C++ 2008 Express
Edition with SP1 - DEU") ret=39e4bc58
..
002c:Call oleaut32.SysAllocString(00cee978
L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8: Fehler bei
Verzeichnisaufl\00f6sung.") ret=39e4bc58
..
002c:Call oleaut32.SysFreeString(010ab66c L"ERROR processed; exception was
thrown for retail build\n\tDeveloper Comment: \n\tBuild Time: Thu Dec 11
15:04:18 2003\n\tDWORD: 234") ret=39e40e56
..
002c:Call oleaut32.SysFreeString(010ab5ec L"Microsoft Visual C++ 2008 Express
Edition with SP1 - DEU") ret=39e40e5f
..
002c:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032a9d8)
ret=39e80d28
002c:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b8433b0
--- snip ---
Property "VS7.3643236F_FC70_11D3_A536_0090278A1BB8" (= Visual Studio install
directory) does not exist (anymore) at this install stage.
Besides from a bug in dlls/msi/install.c:msi_strcpy_to_awstring(), which
results in wrong ERROR_MORE_DATA for empty unicode strings (see previous
snippet, str=L"" + len=0), the following sequences lead to this bug...
The installation directory property is created/set first here:
--- snip ---
..
002c:trace:msi:MsiDoActionW
L"CA_SetVcvars32batProp_x86_deu.3643236F_FC70_11D3_A536_0090278A1BB8"
002c:trace:msi:ACTION_PerformUIAction Performing action
(L"CA_SetVcvars32batProp_x86_deu.3643236F_FC70_11D3_A536_0090278A1BB8")
..
002c:trace:msi:ACTION_CustomAction Handling custom action
L"CA_SetVcvars32batProp_x86_deu.3643236F_FC70_11D3_A536_0090278A1BB8" (33
L"CA_SetVcvars32bat_x86_deu.3643236F_FC70_11D3_A536_0090278A1BB8"
L"[#FL_vsvars_bat_10582_x86_ln.3643236F_FC70_11D3_A536_0090278A1BB8];[#FL_vcvars32_bat_5369_x86_ln.3643236F_FC70_11D3_A536_0090278A1BB8];@SET
VSINSTALLDIR=[VS7.3643236F_FC70_11D3_A536_0090278A1BB8]|@SET
VCINSTALLDIR=[VC7.3643236F_FC70_11D3_A536_0090278A1BB8]|@SET
FrameworkDir=[Framework_x86.3643236F_FC"...)
..
002c:trace:msi:MSI_GetPropertyW returning L"C:\\Program Files\\Microsoft Visual
Studio 9.0\\" for property L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8"
..
--- snip ---
("@SET VSINSTALLDIR=[VS7.3643236F_FC70_11D3_A536_0090278A1BB8]")
But is removed/reset at later install stage, when this custom action is run:
--- snip ---
002c:trace:msi:ACTION_CustomAction Handling custom action
L"CA_VIntegration_Exec_VS7_x86_deu.3643236F_FC70_11D3_A536_0090278A1BB8" (33
L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8"
L"[VS7.3643236F_FC70_11D3_A536_0090278A1BB8_RO.3643236F_FC70_11D3_A536_0090278A1BB8]")
002c:trace:msidb:MSI_CreateRecord 1
..
002c:trace:msi:MSI_GetPropertyW property
L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8_RO.3643236F_FC70_11D3_A536_0090278A1BB8"
not found
..
002c:trace:msi:MSI_SetPropertyW 0xbcbec8
L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8" L""
..
002c:trace:msi:MSI_GetPropertyW property
L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8" not found
002c:trace:msi:MSI_DatabaseOpenViewW L"DELETE FROM `_Property` WHERE
`_Property` = 'VS7.3643236F_FC70_11D3_A536_0090278A1BB8'" 0x32b298
..
--- snip ---
The removal/reset was due to property
L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8_RO.3643236F_FC70_11D3_A536_0090278A1BB8"
not existing.
Using ORCA tool on msi setup database, one can find this property referenced in
"AppSearch" table:
--- snip ---
Property ; Signature
VS7.3643236F_FC70_11D3_A536_0090278A1BB8_RO.3643236F_FC70_11D3_A536_0090278A1BB8
VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
--- snip ---
Signature is "VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
"CompLocator" table:
--- snip ---
Signature ; ComponentId ; Type
VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
{2883180F-8F0F-4B82-B0BA-D48CE920DFAF} 0
--- snip ---
"Component" table:
--- snip ---
Component ; ComponentId ; Directory ; Attribute ; Condition ; KeyPath
VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8
{2883180F-8F0F-4B82-B0BA-D48CE920DFAF}
VS7.3643236F_FC70_11D3_A536_0090278A1BB8 0
--- snip ---
Armed with this information, one can find the following in trace log:
--- snip ---
002c:trace:msi:iterate_appsearch
L"VS7.3643236F_FC70_11D3_A536_0090278A1BB8_RO.3643236F_FC70_11D3_A536_0090278A1BB8"
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
002c:trace:msi:ACTION_AppSearchGetSignature package 0xbcbec8, sig 0x32b304
..
002c:trace:msi:ACTION_AppSearchGetSignature failed to query signature for
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
002c:trace:msi:ACTION_AppSearchComponents
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
..
..
002c:trace:msi:MsiLocateComponentW L"{2883180F-8F0F-4B82-B0BA-D48CE920DFAF}"
0x32b040 0x32b248
002c:trace:msi:MsiGetProductCodeW L"{2883180F-8F0F-4B82-B0BA-D48CE920DFAF}"
0x32afae
..
002c:trace:msi:MSIREG_OpenUserDataComponentKey
L"{2883180F-8F0F-4B82-B0BA-D48CE920DFAF}"
..
002c:trace:msi:MSIREG_OpenUserDataComponentKey squished
(L"F0813882F0F828B40BAB4DC89E02FDFA")
..
002c:trace:msi:ACTION_AppSearchReg
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
..
002c:trace:msi:ACTION_AppSearchReg failed to query RegLocator for
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
002c:trace:msi:ACTION_AppSearchIni
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
..
002c:trace:msi:ACTION_AppSearchIni failed to query IniLocator for
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
002c:trace:msi:ACTION_AppSearchDr
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
..
002c:trace:msi:ACTION_AppSearchDr failed to query DrLocator for
L"VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"
..
--- snip ---
This results in property
"VS7.3643236F_FC70_11D3_A536_0090278A1BB8_RO.3643236F_FC70_11D3_A536_0090278A1BB8"
and depending property "VS7.3643236F_FC70_11D3_A536_0090278A1BB8" reset.
MSDN info for AppSearch table here:
http://msdn.microsoft.com/en-us/library/aa367579.aspx
and AppSearch action: http://msdn.microsoft.com/en-us/library/aa367578.aspx
Specifically:
--- quote ---
The AppSearch action requires that the Signature table be present in the
installation package. [..] A signature that is not in the Signature table
denotes a directory and the action sets the property to the directory path for
that signature.
--- quote ---
This "VInt_VS7_X86_____X86.3643236F_FC70_11D3_A536_0090278A1BB8" key is not
present in "Signature" table, it's actually a directory.
If we look in the previously posted "Component" table we see the directory is
actually "VS7.3643236F_FC70_11D3_A536_0090278A1BB8"
By looking into "Directory" table we find the following:
--- snip ---
Directory ; Directory Parent ; DefaultDir
VS7.3643236F_FC70_11D3_A536_0090278A1BB8
ProgramFilesFolder_x86.3643236F_FC70_11D3_A536_0090278A1BB8
VS90.NET|Microsoft Visual Studio 9.0
--- snip ---
So
"VS7.3643236F_FC70_11D3_A536_0090278A1BB8_RO.3643236F_FC70_11D3_A536_0090278A1BB8"
should resolve to "VS7.3643236F_FC70_11D3_A536_0090278A1BB8" -> L"C:\\Program
Files\\Microsoft Visual Studio 9.0\\" (install dir)
This looks like bug in wine msi appsearch action impl.
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=29921
Bug #: 29921
Summary: Microsoft Visual Studio 2008 Express installer shows
highlighted items incorrectly
Product: Wine
Version: 1.4-rc4
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: trivial
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ehoover(a)mines.edu
Classification: Unclassified
Created attachment 38933
--> http://bugs.winehq.org/attachment.cgi?id=38933
Screenshot depicting the problem
Any checkbox or button selected in the installer window will "disappear". The
installer still functions, but the issue is very visually disturbing.
--
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=20623
Summary: Swiftkit crashed
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: frt975(a)gmail.com
SwiftKit Crashed. I gave vb6run gecko and Java installed.
--
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=38714
Bug ID: 38714
Summary: 64-bit ARM Windows applications from Windows SDK crash
in entry (loader needs to set/randomize cookie for PE
modules)
Product: Wine
Version: 1.7.44
Hardware: aarch64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
this is more an educated guess since I only have remote access to some 64-bit
ARM Linux VM without proper debugging tools.
Winedbg/gdb proxy is unusable as of now and my shiny JTAG Debugger for
Cortex-A5x (ICD) can't work "remotely".
Anyway, I think I gathered enough information without the need for debugging.
Don't complain about 'root' - it's not my machine :)
--- snip ---
# wine64 winedbg arm64/mt.exe
Wine-dbg>info process
pid threads executable (all id:s are in hex)
>00000024 1 'mt.exe'
00000026 2 \_ 'wineconsole.exe'
00000014 4 'explorer.exe'
0000000e 5 'services.exe'
0000001b 3 \_ 'plugplay.exe'
00000012 3 \_ 'winedevice.exe'
Wine-dbg>info thread
process tid prio (all id:s are in hex)
0000000e services.exe
0000001e 0
0000001d 0
00000016 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001a 0
00000019 0
00000013 0
00000014 explorer.exe
00000023 0
00000022 0
00000021 0
00000015 0
0000001b plugplay.exe
00000020 0
0000001f 0
0000001c 0
00000024 (D) Z:\root\wine\64\arm64\mt.exe
00000025 0 <==
00000026 wineconsole.exe
00000028 0
00000027 0
--- snip ---
--- snip ---
Wine-dbg>si
be_arm64_single_step: not done
Unhandled exception: illegal instruction in 64-bit code (0x000000014010ce78).
Register dump:
ARM64 EL0t Mode
Pc:000000014010ce78 Sp:0000007f8aa6fe20 Lr:000000014010ca7c
Pstate:0000000060000000(-ZC-)
x0: 0000007f8bd0c000 x1: 0000000000000005 x2: 0000007f8bd0e000 x3:
0000000000000001 x4: 0000000000000001
x5: f5183970d346f95f x6: 0000000000000001 x7: 0000000000000002 x8:
00002b992ddfa232 x9: 00002b992ddfa232
x10:00000000031bb537 x11:0000007f8bd0f078 x12:0000007ffb057a54
x13:0000007ffb057a58 x14:0000007ffb057b20
x15:0000007f8bb35908 ip0:0000007f8b966120 ip1:0000007f8b9c9e10
x18:0000007f8bb359d0 x19:0000007f8bd0c000
x20:000000014010ca70 x21:0000000000000000 x22:0000007f8b949000
x23:0000007f8acd3584 x24:0000007f8acfd000
x25:0000007f8aee07f0 x26:0000007ffb057e90 x27:0000007ffb057e08
x28:0000007f8ad15000 Fp:0000007f8aa6fe20
Stack dump:
0x0000007f8aa6fe20: 0000007f8aa6fe30 0000007f8acd35e0
0x0000007f8aa6fe30: 0000007f8aa6fe60 0000007f8b9310ac
0x0000007f8aa6fe40: 0000007f8acd3584 0000007f8bd0c000
0x0000007f8aa6fe50: 0000000000000000 0000000000000000
0x0000007f8aa6fe60: 0000007f8aa6ffe0 0000007f8b90ca20
0x0000007f8aa6fe70: 0000007f8bd0c000 0000007f8acd3584
0x0000007f8aa6fe80: ffffffffffffffff 0000007f8b941ab4
0x0000007f8aa6fe90: 0000007f8acb67cc 0000007f8acd3584
0x0000007f8aa6fea0: 0000007f8bd0c000 0000000000000000
0x0000007f8aa6feb0: 0000007f8b949000 0000007f8acd3584
0x0000007f8aa6fec0: 0000007f8acfd000 0000007f8aee07f0
0x0000007f8aa6fed0: 0000007ffb057e90 0000007ffb057e08
Backtrace:
=>0 0x000000014010ce78 in mt (+0x10ce78) (0x0000007f8aa6fe20)
1 0x000000014010ca7c in mt (+0x10ca7b) (0x0000007f8aa6fe20)
...
--- snip ---
The entry point code of the app:
--- snip ---
entry:
0000000140020300 STP X29, X30, [SP,#-0x10]!
0000000140020304 MOV X29, SP
0000000140020308 BL 140020E40
000000014002030C BL 140020318
0000000140020310 LDP X29, X30, [SP],#0x10
0000000140020314 RET
...
0000000140020E40 ADRP X8, #0x140030000 ; .data
0000000140020E44 LDR X8, [X8,#0x800] ; offset to cookie
000000014010CE68 CBZ X8, 14010CE78
000000014010CE6C LDR X9, =0x2B992DDFA232 ; default cookie
arm64?
000000014010CE70 CMP X8, X9
000000014010CE74 B.NE 14010CE7C
000000014010CE78 BRK #0xF003 ; whoops, bail here
000000014010CE7C MVN X8, X8
0000000140020E60 ADRP X9, #0x140030000
0000000140020E64 STR X8, [X9,#0x808]
000000014010CE88 RET
.data:
...
0000000140030800 DCQ 0x2B992DDFA232 ; module security cookie (default val)
--- snip ---
Looks like the entry code checks for the default value of the security cookie
and bails if it's still unmodified.
MSDN:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680328%28v=vs.85…
IMAGE_LOAD_CONFIG_DIRECTORY64 -> SecurityCookie (64-bit VA)
The loader needs to randomize the cookie for each module if present (= non-zero
VA) before calling the entry.
---
Another tidbit:
For decoding the immediate field in the emitted 'brk' instruction I only found
information for the Linux counterpart which says range 0x2000-0xffff is
app/user-defined.
https://gcc.gnu.org/ml/gcc-patches/2013-11/msg02228.html
--- quote ---
POSIX siginfo
BRK #imm16 si_signo si_code Purpose
---------- -------- ------- -------
0000-0fff S/w breakpoint, reserved for debuggers
0000-3ff SIGTRAP TRAP_BRKPT- EL0 breakpoint (e.g. gdb)
0400-7ff SIGILL ILL_ILLTRP* EL1 breakpoint (e.g. kgdb)
0800-bff SIGILL ILL_ILLTRP* EL2 breakpoint
0c00-fff SIGILL ILL_ILLTRP* EL3 breakpoint
1000-1fff C/C++ runtime errors
1000 SIGABRT n/a libc abort()
1001 SIGFPE FPE_INTDIV integer divide by zero
1002 SIGFPE FPE_INTOVF integer overflow
1003 SIGFPE FPE_FLTDIV floating-point divide by zero
1004 SIGFPE FPE_FLTOVF floating-point overflow
1005 SIGFPE FPE_FLTUND floating-point underflow
1006 SIGFPE FPE_FLTRES floating-point inexact result
1007 SIGFPE FPE_FLTINV floating-point invalid op
1008 SIGFPE FPE_FLTSUB subscript out of range
1009-1fff SIGILL ILL_ILLTRP unused but reserved
2000-ffff SIGILL ILL_ILLOPC+ Guaranteed unused, resvd for apps
- This is the signal generated now for all values of BRK
immediate. GDB currently uses "BRK #0"
* The EL1/EL2/EL3 breakpoints would deliver a SIGILL if they are
executed by EL0 code, and caught by the EL1 kernel. A s/w debugger
operating at a higher EL which placed such breakpoints would
presumably catch them and handle them, without the EL1 kernel ever
seeing them.
+ Immediate values 0x2000-ffff generate the same signal as any other
UNDEFINED instruction encoding, but with guaranteed behaviour for
JITs etc. The original imm16 value could be made available in the
si_trapno field of the signal context.
--- quote ---
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.
https://bugs.winehq.org/show_bug.cgi?id=49025
Bug ID: 49025
Summary: League of Legends crashes at game start (wine 5.7
regression)
Product: Wine
Version: 5.7
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: aguertin+wine(a)aguertin.net
Distribution: ---
League of Legends crashes at game start using wine-staging 5.7. It works fine
using wine-staging 5.6 (plus some league-specific patches).
I will bisect.
Gentoo, x86_64.
--
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=25558
Summary: Can't install Flight Simulator X
Product: Wine
Version: 1.3.9
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: el.il(a)doom.co.il
Created an attachment (id=32543)
--> (http://bugs.winehq.org/attachment.cgi?id=32543)
Terminal Output
Microsoft Flight Simulator X Installation doesn't work.
I'm tested with a clean wineprefix.
I'm using wine-1.3.9-1.fc14, on 64bit
I can see the installer loading dialog, but when the progress line gets to the
end, an error shows up, saying "1628: Failed to complete installation".
Attached is the terminal output.
Notice the line "wine: Invalid address"
I think this might need extra debugging.
Please note that the bug also occurs in the installer of the demo version.
Download: https://www.microsoft.com/games/flightsimulatorx/downloads.html
--
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=12628
Summary: wine: Call from 0x7b840fc8 to unimplemented function
hal.dll.ExAcquireFastMutex
Product: Wine
Version: 0.9.59.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: jaimeff(a)gmail.com
I get the following error:
wine: Call from 0x7b840fc8 to unimplemented function
hal.dll.ExAcquireFastMutex, aborting
It would be great if that function were implemented :)
(I'm running epoc.exe, an emulator for Symbian development)
--
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=25162
Summary: E-Card Blue Societe general doesn't work
Product: Wine
Version: 1.3.6
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: lightdragonfire(a)msn.com
Created an attachment (id=31917)
--> (http://bugs.winehq.org/attachment.cgi?id=31917)
backtrace
The application crash from the launch.
I installed ntlm_auth but it didn't resolve my problem.
Where download the application ?
http://groupe.socgen.com/html/e-carte/V4/ecartebleueSG.exe
--
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=34677
Bug #: 34677
Summary: e-carte bleue la banque postale doesn't work at all
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: adri1jld(a)hotmail.fr
Classification: Unclassified
I install the e-carte bleue (by la banque postale) app on my PC but a window
say that there is a serious problem and have to be closed
--
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=28937
Bug #: 28937
Summary: YouSendIt crashes
Product: Wine
Version: 1.3.31
Platform: x86
URL: http://www.yousendit.com/cms/standalone-app
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msxml3
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ocean04(a)suomi24.fi
Classification: Unclassified
YouSendItExpressSetup2_10_2.exe
fixme:msxml:domdoc_get_parseError (0x1a944c)->(0x33c3b8): creating a dummy
parseError
fixme:msxml:parseError_QueryInterface interface
{a6ef9860-c720-11d0-9337-00a0c90dcaa9} not implemented
fixme:msxml:parseError_QueryInterface interface
{719c3050-f9d3-11cf-a493-00400523a8a6} not implemented
fixme:msxml:parseError_QueryInterface interface
{a6ef9860-c720-11d0-9337-00a0c90dcaa9} not implemented
wine: Unhandled page fault on read access to 0x00000010 at address 0x202666e2
(thread 0040), starting debugger...
Workaround: winetricks msxml3
--
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=21915
Summary: Port Royale 2 hangs on splash screen
(d3d8:vertexshader_init)
Product: Wine
Version: 1.1.39
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: adrian(a)hoehne.tk
Created an attachment (id=26585)
--> (http://bugs.winehq.org/attachment.cgi?id=26585)
Wine Output starting Port Royale with Steam
Port Royale 2 over Steam hangs on splash screen.
You can only see the background and the mousecursor looks like a sword (so the
cursor is changed properly by the game). Soundtrack plays too.
And thats all. There are no buttons or menu entries only the background.
Blind click has no effect.
--
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=28975
Bug #: 28975
Summary: Nokia S60 5th Edition SDK 1.0 installer needs
apphelp.dll.ApphelpCheckInstallShieldPackage
Product: Wine
Version: 1.3.31
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,
now that apphelp.dll is present another one from InstallShield based installer:
--- snip ---
~/Downloads/S60_5th_Edition_SDK_v1_0_en$ wine ./setup.exe
fixme:storage:create_storagefile Storage share mode not implemented.
wine: Call from 0x7b83a43f to unimplemented function
apphelp.dll.ApphelpCheckInstallShieldPackage, aborting
wine: Unimplemented function apphelp.dll.ApphelpCheckInstallShieldPackage
called at address 0x7b83a43f (thread 0009), starting debugger...
--- snip ---
Workaround:
$ WINEDLLOVERRIDES="apphelp=d" wine ./setup.exe
$ wine --version
wine-1.3.31-293-gb4987d0
710260 -rw-rw-r-- 1 focht focht 727290277 2011-11-01 22:02
Nokia_S60_5th_Edition_SDK_v1.0.rar
$ sha1sum Nokia_S60_5th_Edition_SDK_v1.0.rar
b1b1c6367598fbc0b8ca81e40d68c6b7bc60573e Nokia_S60_5th_Edition_SDK_v1.0.rar
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=29015
Bug #: 29015
Summary: Oblivion setup calls unimplemented function
apphelp.dll.ApphelpCheckInstallShieldPackage
Product: Wine
Version: 1.3.32
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: oneofone(a)gmail.com
Classification: Unclassified
Oblivion setup fails to start because it calls unimplemented function
apphelp.dll.ApphelpCheckInstallShieldPackage.
Workaround: download apphelp.dll from elsewhere and set it to native.
--
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=29007
Bug #: 29007
Summary: Regression installing sims 3
Product: Wine
Version: 1.3.32
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: bass_dr(a)hotmail.com
Classification: Unclassified
Created attachment 37339
--> http://bugs.winehq.org/attachment.cgi?id=37339
Terminal Output & Backtrace
Installation of The Sims 3 on wine-1.3.31 worked well (still the game did not
work for me). I upgraded to wine-1.3.32 from Ubuntu's wine PPA, and now wine
crash at installation. See attachment for console output. I am not very
familiar with wine debugging but ask me if you want any other information.
--
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=37818
Bug ID: 37818
Summary: Monopolie 0.9.7 crashes on the first buy
Product: Wine
Version: 1.7.33
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: grendal74.geo(a)yahoo.com
Distribution: ---
Created attachment 50367
--> https://bugs.winehq.org/attachment.cgi?id=50367
Monopolie starts, but on the first buy, it crashes.
Hello,
I would like to open this bug.
I have comctl32.ocx installed. Monopolie starts, but after selecting the
players, on the first buy, it crashes. I attach the terminal log.
wine-1.7.32 on (k)ubuntu 14.04.
--
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.