http://bugs.winehq.org/show_bug.cgi?id=24875
Summary: SongSmith doesn't install
Product: Wine
Version: 1.3.5
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: VincentBeers(a)gmail.com
Created an attachment (id=31485)
--> (http://bugs.winehq.org/attachment.cgi?id=31485)
Very short Wine log
I wanted to try out this Microsoft application for laughs, but it turns out it
won't install. Execution ends before even a single installer window is shown.
A very short log is attached to this post, but it basically ends with this:
err:msi:ITERATE_Actions Execution halted, action L"VSDCA_VsdLaunchConditions"
returned 1603
Free demo download is available here:
http://research.microsoft.com/en-us/um/redmond/projects/songsmith/download.…
Running 64-bit Ubuntu 10.10 with 32-bit Wine 1.3.5. If any more info is
required, I'll gladly 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.
http://bugs.winehq.org/show_bug.cgi?id=31087
Bug #: 31087
Summary: WMI class property retrieval: some CIM data type to
OLE variant (VT) mappings are incorrect (CIM_UINT32,
CIM_UINT16 ...)
Product: Wine
Version: 1.5.7
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: wmi&wbemprox
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
another problem from app in bug 24875 which deserves an extra bug.
The app still fails with wine-1.5.7-252-g1f01355
The problems seems to be a WMI -> .NET type conversion problem of "ProcessId"
property value.
"InvalidCastException" is thrown
--- snip ---
006ee1e8 7b83953f [HelperMethodFrame: 006ee1e8]
006ee258 040347f6
System.Management.PropertyData.MapWmiValueToValue(System.Object,
System.Management.CimType, Boolean)
006ee2d0 04034204 System.Management.PropertyData.get_Value()
006ee2dc 04033aa6
System.Management.ManagementBaseObject.GetPropertyValue(System.String)
006ee2e8 04033a35
System.Management.ManagementBaseObject.get_Item(System.String)
006ee2ec 04034f70
SSCustomInstaller.SSInstaller.GetSongsmithSetupPathAndCopyMSI()
006ee31c 04034c0f
SSCustomInstaller.SSInstaller.Install(System.Collections.IDictionary)
006ee350 649e3fc6
System.Configuration.Install.Installer.Install(System.Collections.IDictionary)
006ee398 649e5d38
System.Configuration.Install.AssemblyInstaller.Install(System.Collections.IDictionary)
006ee3d0 649e7f6e
System.Configuration.Install.ManagedInstallerClass.InstallHelper(System.String[])
006ee494 649e7734
System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(System.String,
Int32)
--- snip ---
MapWmiValueToValue converts WMI values (wrapped in object) to native .NET value
(wrapped in object) with type conversion if necessary.
MSDN claims "ProcessId" is CIM_UINT32/uint32.
The following link shows example "ProcessId" property dump with 'wbemdump'
tool:
http://nukz.net/reference/wmi/hh/wmisdk/wbemdump_8wft.htm
--- snip ---
wbemdump /Q /wy root\cimv2 WQL "SELECT ProcessId
FROM Win32_process WHERE Name = 'Winmgmt.exe'"
This command produces the following output:
(WQL) SELECT ProcessId FROM Win32_Process WHERE Name = 'Winmgmt.exe'
ProcessId (CIM_UINT32/uint32) = 644 (0x284)
--- snip ---
For CIM_UINT32 type there seems to be 'unboxing' taking place:
net_value = (uint)((int)(wmi_value))
I extracted a small C# snippet from the app .NET assembly which can be used for
easy reproduction of the problem.
Save the following snippet to a text file (ex: "test.cs"):
--- snip test.cs ---
using System;
using System.Collections;
using System.Management;
class TestProgram
{
[STAThread]
static void Main(string[] args)
{
using (ManagementObjectSearcher searcher = new
ManagementObjectSearcher("Select * from Win32_Process"))
{
new ManagementScope(@"root\CIMV2");
foreach (ManagementObject obj2 in searcher.Get())
{
string str = obj2["ProcessId"].ToString();
}
}
}
}
--- snip test.cs ---
Compile it with C# compiler which is present if you installed .NET 2.0
Framework (winetricks).
--- snip ---
$ wine "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\csc.exe" /debug+
test.cs
--- snip ---
Run and get the same backtrace as with installer.
The problem is CIMTYPE -> OLE Variant type conversion.
Source:
http://source.winehq.org/git/wine.git/blob/d2661b802556e073760af5d70869fb55…
--- snip ---
665 HRESULT get_propval( const struct view *view, UINT index, const WCHAR
*name, VARIANT *ret,
666 CIMTYPE *type, LONG *flavor )
667 {
...
681 switch (view->table->columns[column].type & COL_TYPE_MASK)
682 {
683 case CIM_STRING:
684 case CIM_DATETIME:
685 V_VT( ret ) = VT_BSTR;
686 V_BSTR( ret ) = SysAllocString( (const WCHAR *)(INT_PTR)val );
687 break;
688 case CIM_SINT16:
689 V_VT( ret ) = VT_I2;
690 V_I2( ret ) = val;
691 break;
692 case CIM_UINT16:
693 V_VT( ret ) = VT_UI2;
694 V_UI2( ret ) = val;
695 break;
696 case CIM_SINT32:
697 V_VT( ret ) = VT_I4;
698 V_I4( ret ) = val;
699 break;
700 case CIM_UINT32:
701 V_VT( ret ) = VT_UI4;
702 V_UI4( ret ) = val;
703 break;
704 case CIM_SINT64:
705 V_VT( ret ) = VT_BSTR;
706 V_BSTR( ret ) = get_value_bstr( view->table, row, column );
707 break;
708 case CIM_UINT64:
709 V_VT( ret ) = VT_BSTR;
710 V_BSTR( ret ) = get_value_bstr( view->table, row, column );
711 break;
...
--- snip ---
The unbox failure let me guess that CIM_UINT32 doesn't map to VT_UI4 but to
VT_I4.
Google "CIM_UINT32 VT_I4" and hit the first link -> book "Developing Wmi
Solutions: A Guide to Windows Management ..."
Bingo! There is a table which shows the type mapping (BTW good WMI resource to
read...)
uint32 - VT_I4 - CIM_UINT32
While you're at it you might want to fix other type conversions (CIM_UINT16
...) according to the table.
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=31088
Bug #: 31088
Summary: SongSmith 1.0.2 fails to install due to unimplemented
IWshShortcut::WindowStyle property (set/get)
Product: Wine
Version: 1.5.7
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,
when bug 31087 is fixed the app installer runs into unimplemented
IWshShortcut::WindowStyle property (set/get)
Managed backtrace:
--- snip ---
006ee2a8 7b83953f [ComPlusMethodFrameStandaloneCleanup: 006ee2a8]
Interop.IWshRuntimeLibrary.IWshShortcut.set_WindowStyle(Int32)
006ee2b8 04035355 SSCustomInstaller.SSInstaller.CreateDesktopShortcut()
006ee2ec 0403505c
SSCustomInstaller.SSInstaller.GetSongsmithSetupPathAndCopyMSI()
006ee31c 04034c0f
SSCustomInstaller.SSInstaller.Install(System.Collections.IDictionary)
006ee350 649e3fc6
System.Configuration.Install.Installer.Install(System.Collections.IDictionary)
006ee398 649e5d38
System.Configuration.Install.AssemblyInstaller.Install(System.Collections.IDictionary)
006ee3d0 649e7f6e
System.Configuration.Install.ManagedInstallerClass.InstallHelper(System.String[])
006ee494 649e7734
System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(System.String,
Int32)
--- snip ---
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.
https://bugs.winehq.org/show_bug.cgi?id=48430
Bug ID: 48430
Summary: Windows 2008 VM has broken Media Foundation libs
Product: Wine-Testbot
Version: unspecified
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jacek(a)codeweavers.com
Distribution: ---
I noticed in user32:winstation tests that there is weird window
"mfreadwrite_test.exe - Unable To Locate Component" messing with foreground
window tests:
http://test.winehq.org/data/37dec9f144501fb93e173214578b759122ac999a/2008_n…
I investigated a bit deeper and it seems that the installation contains
mfreadwrite.dll, but not mfplat.dll. When you attempt to load mfreadwrite.dll,
Windows shows an error dialog about incomplete installation like:
https://testbot.winehq.org/JobDetails.pl?Key=62943&s104=1#k104
It seems that there is a separated installer for MF for win2k8:
https://www.microsoft.com/en-US/download/details.aspx?id=20424
I can see a few solutions:
1. Try to install MF into VM and hope it helps (and ignore failures on
installations missing MF).
2. Load mfplat.dll and mfreadwrite.dll dynamically and skip tests if mfplat.dll
is missing (this would make code uglier for a questionable benefit).
3. Get rid of win2k8 VMs and consider them unsupported. This may seem radical
for the above problem, but I don't see any value in win2k8 test results in
general.
--
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=48062
Bug ID: 48062
Summary: Detect and report WineTest's "load errors"
Product: Wine-Testbot
Version: unspecified
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: unknown
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
Distribution: ---
Sometimes the WineTest report DLL version section contains lines like:
mfplat=load error 1359
shell32=load error 1359
user32=load error 1359
See bug 48061 for more details.
The TestBot should detect such errors as well as the "load error Configured as
native" message and report them.
--
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=39297
Bug ID: 39297
Summary: kernel32.IsValidCodePage and friends don't support
code page 708.
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: htl10(a)users.sourceforge.net
Distribution: ---
Microsoft's FontValidator
(https://www.microsoft.com/typography/FontValidator.mspx)
when processing certain fonts, try to access code page 708,
which is not available under wine.
FYI, mono has support for code page 708 - c.f. mcs/class/I18N/Rare/CP708.cs .
--
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=18531
Summary: FontValidator (.NET based app) needs
OleInPlaceObject_InPlaceDeactivate properly
implemented
Product: Wine
Version: 1.1.21
Platform: Other
URL: http://www.microsoft.com/typography/FontValidator.mspx
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: shdocvw
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
now that some urlmon MIME support patches are on the way which are essential
for this app ("text/xml" MIME is later needed to show XML content in embedded
browser window) I file an "intermediate" bug that needs to be fixed before we
can verify the new functionality with real apps ;-)
The story is basically about in-place activation and deactivation of embedded
browser control.
The current shdocvw OleInPlaceObject_InPlaceDeactivate stub is mostly harmless
for many embedded browser control hosting apps because they don't rely on the
fact that in-place deactivation doesn't really take place (control will be
destroyed shortly anyway).
This app use case is a bit special hence the current in-place deactivation stub
becomes the culprit.
Steps to reproduce:
1. clean WINEPREFIX
2. winetricks -q dotnet20
3. start app, "Font files" -> "Add..." -> select whatever true/opentype font
from your system
4. "Table tests" -> "Clear All" -> select only "BASE" (shortens test)
5. "Rasterization" -> deselect "Test rasterization of TrueType outlines"
(shortens test)
6. hit "Start validation"
The .NET 2.0 app creates an embedded browser control:
--- snip ---
...
0029:trace:ole:CoCreateInstance (rclsid={8856f961-340a-11d0-a96b-00c04fd705a2},
pUnkOuter=(nil), dwClsContext=00000001,
riid={00000000-0000-0000-c000-000000000046}, ppv=0x32e2a4)
...
0029:fixme:shell:URL_ParseUrl failed to parse L"Interop.SHDocVw"
...
0029:trace:win:WIN_CreateWindowEx L"Shell Embedding" L"Shell Embedding"
ex=00000100 style=46010000 0,0 0x0 parent=0x500b4 menu=(nil) inst=0x61020000
params=0x136d00
...
0029:trace:win:WIN_CreateWindowEx created window 0x100b6
...
0029:trace:shdocvw:create_shell_embedding_hwnd parent=0x500b4 hwnd=0x100b6
...
0029:trace:shdocvw:OleObject_DoVerb (0x136d00)->(-5 (nil) 0x3c80034 -1 0x500b4
0xadd434)
0029:trace:shdocvw:OleObject_DoVerb OLEIVERB_INPLACEACTIVATE
...
0029:trace:win:DestroyWindow (0x500b4)
...
--- snip ---
and a "parking window" to host the control in inactive/hidden state until the
real hosting window is about to be created and displayed to avoid runtime
penalties of destroying and recreating browser control each time.
This blog gives some insight in the world of "parking windows":
http://blogs.msdn.com/sburke/archive/2007/06/20/flashback-windows-forms-par…
--- snip ---
0029:trace:win:WIN_CreateWindowEx L"WindowsFormsParkingWindow"
L"WindowsForms10.Window.8.app.0.378734a" ex=00010000 style=02010000 0,0 0x0
parent=0xfffffffd menu=(nil) inst=0x400000 params=(nil)
...
0029:trace:win:WIN_CreateWindowEx created window 0x100b8
0029:trace:win:show_window hwnd=0x100b6, cmd=0, wasVisible 1
...
0029:fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (0x136d00)
0029:trace:shdocvw:WebBrowser_AddRef (0x136d00) ref=11
0029:trace:ole:GetErrorInfo (0, 0x32d9b0, 0x19a9c4)
0029:fixme:shdocvw:WebBrowser_QueryInterface
(0x136d00)->({df0b3d60-548f-101b-8e65-08002b2bd119} 0x32d9a8) interface not
supported
0029:trace:shdocvw:WebBrowser_Release (0x136d00) ref=10
0029:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b84385b
ip=7b84385b tid=0029
...
0029:trace:win:WIN_SetWindowLong 0x100b6 -4 61031784 W
0029:trace:win:alloc_winproc reusing 0xffff0057 for (nil)/0x61031784
0029:trace:win:WIN_DestroyWindow 0x500b4
--- snip ---
The CLR exceptions resulting from E_NOTIMPL of
OleInPlaceObject_InPlaceDeactivate are handled gracefully.
The window which is the real target for the browser control gets created later:
--- snip ---
0029:trace:win:WIN_CreateWindowEx L"C:\\windows\\temp\\tmp47b0.tmp.report.xml"
L"WindowsForms10.Window.8.app.0.378734a" ex=00050040 style=46cf0000
-2147483648,-2147483648 376x358 parent=0x10088 menu=(nil) inst=0x400000
params=(nil)
...
0029:trace:win:WIN_CreateWindowEx hwnd 0x600b4 cs 0,0 376x358
...
0029:trace:win:show_window hwnd=0x600b4, cmd=5, wasVisible 0
0029:trace:shdocvw:WebBrowser_AddRef (0x136d00) ref=11
0029:trace:shdocvw:OleObject_DoVerb (0x136d00)->(-5 (nil) 0x3c80034 -1 0x600b4
0xaece88)
0029:trace:shdocvw:OleObject_DoVerb OLEIVERB_INPLACEACTIVATE
0029:trace:shdocvw:WebBrowser_Release (0x136d00) ref=10
0029:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b84385b
ip=7b84385b tid=0029
0029:trace:seh:raise_exception info[0]=80131509
0029:trace:seh:raise_exception eax=7b82ca1d ebx=7b8c2918 ecx=00000000
edx=0032d958 esi=0032d958 edi=e0434f4d
0029:trace:seh:raise_exception ebp=0032d920 esp=0032d8bc cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000246
--- snip ---
The CLR exception leads to following backtrace dialog (and abort):
--- snip ---
************** Exception Text **************
System.InvalidOperationException: Unable to get the window handle for the
'AxWebBrowser' control. Windowless ActiveX controls are not supported.
at System.Windows.Forms.AxHost.EnsureWindowPresent()
at System.Windows.Forms.AxHost.InPlaceActivate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)
--- snip ---
The activate_inplace() OLE verb bails out early because Wine thinks the control
is in-place activated (This->inplace) -> real in-place deactivation never took
place.
.NET runtime tries to fetch hosted control's window handle which fails because
no parent switch was done.
Adding simple in-place deactivation (releasing IOleInPlaceSite, resetting
This->inplace) lets this app succeed, having windows properly
switched/re-parented.
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=31609
Bug #: 31609
Summary: TestLauncher says a required DLL is missing, but the
test runs fine without TestLauncher
Product: Testbot
Version: unspecified
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Classification: Unclassified
http://source.winehq.org/git/tools.git/blob/HEAD:/testbot/src/TestLauncher/…
has a function AllImportedDllsPresent() that tries to avoid running
tests that implicitly link against DLLs that aren't present.
Unfortunately, in the case of dlls with manifests, it reports it can't find
dlls that are in fact present.
What it needs is a good dose of the medicine that cured the same problem
in winetest:
http://www.winehq.org/pipermail/wine-cvs/2010-July/068410.html
A quick test shows that this works. I'll send a patch soon.
--
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=32370
Bug #: 32370
Summary: Failed to install SafeNet Sentinal HASP setup exe
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcp
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: prafulla.sarode(a)gmail.com
Classification: Unclassified
Created attachment 42713
--> http://bugs.winehq.org/attachment.cgi?id=42713
programm error detail
While installing SafeNet Sentinal HASP setup exe, installation error occured
with the error trace as attached.
--
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.