problem with WPF in wine-1.6 over ssh

Questions about Wine on Linux
Locked
dimaver
Level 2
Level 2
Posts: 13
Joined: Sun Aug 12, 2012 1:17 pm

problem with WPF in wine-1.6 over ssh

Post by dimaver »

Hello all.
I have a problem running wpf applications in wine 1.6 over SSH.
The setup I have is as follows.
I have installed wine 1.6 on server running Redhat 5.9 (let's call it ServerA). In addition, I have an application which requires Microsoft WPF support.
When I connect to ServerA directly and run the application in wine, everything works just fine.
But when I connect to ServerA from another computer (let's call it ServerB) using ssh command and try to run my wpf app once again, the application crashes (see the attached log):
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (1): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:module:GetModuleHandleExW should pin refcount for 0x79000000
fixme:thread:SetThreadStackGuarantee (0x32fc34): stub
err:ole:CoGetContextToken apartment not initialised
fixme:shell:URL_ParseUrl failed to parse L"PresentationFramework"
fixme:shell:URL_ParseUrl failed to parse L"WindowsBase"
fixme:shell:URL_ParseUrl failed to parse L"System.Xaml"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"PresentationCore"
fixme:advapi:RegisterTraceGuidsW (0x550b9c5c, 0x5516e048, {e13b77a8-14b6-11de-8069-001b212b5009}, 1, 0x32b7c4, (null), (null), 0x5516e048,): stub
fixme:advapi:RegisterTraceGuidsW (0x958702, (nil), {e13b77a8-14b6-11de-8069-001b212b5009}, 1, 0x32e5e0, (null), (null), 0x32e5e8,): stub
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:advapi:RegisterTraceGuidsW (0x9588c2, (nil), {8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 1, 0x32d9ec, (null), (null), 0xca1964,): stub
fixme:shell:URL_ParseUrl failed to parse L"WpfApp.resources"
fixme:shell:URL_ParseUrl failed to parse L"WpfApp.resources"
fixme:shell:URL_ParseUrl failed to parse L"UIAutomationTypes"

fixme:shell:URL_ParseUrl failed to parse L"UIAutomationProvider"
fixme:msg:ChangeWindowMessageFilter c047 00000001
fixme:advapi:RegisterTraceGuidsW (0x56216bfc, 0x56263028, {0635afbf-f587-4fe5-a020-edca759acbd9}, 1, 0x32d828, (null), (null), 0x56263028,): stub
err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (1): stub
fixme:advapi:RegisterTraceGuidsW (0x433ba7, 0x490008, {42d57191-f5a1-4dbe-9d61-2e14e45adb65}, 1, 0x7ce898, (null), (null), 0x490008,): stub
fixme:driver:GdiEntry13 stub
fixme:wer:WerRegisterMemoryBlock (0x551759b0 6144) stub
fixme:wer:WerRegisterMemoryBlock (0x551759ac 4) stub
fixme:win:EnumDisplayDevicesW ((null),0,0x4eee5d0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x4eee5d0,0x00000000), stub!
fixme:shell:URL_ParseUrl failed to parse L"PresentationFramework.classic"
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10064 0x00000000
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:wincodecs:FormatConverter_Initialize Unsupported conversion {6fddc324-4e03-4bfe-b185-3d77768dc90e} -> {6fddc324-4e03-4bfe-b185-3d77768dc909}
err:ntdll:vDbgPrintExWithPrefix 63: MIL FAILURE: Unexpected HRESULT 0x88982f81 in caller: intermediate rendering error
err:ntdll:vDbgPrintExWithPrefix 63: MIL FAILURE: Unexpected HRESULT 0x88982f81 in caller: The render thread failed unexpectedly.
fixme:shell:URL_ParseUrl failed to parse L"System.Core"

Unhandled Exception: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x88980406
at System.Windows.Media.Composition.DUCE.Channel.SyncFlush()
at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet)
at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at WpfApp.App.Main()
An interesting thing is that it happens only with Wpf app. When I tried to run a simple WinForms app, it worked just fine.
So my question is, why ssh prevents running wpf apps in wine? Did anybody encounter a similar problem and succeeded to solve it?

Thanks in advance.

Dima.
Locked