[Bug 39492] Sebastian Lawe Song Illustrator 0.0.1.7 (.NET 4.0 app) crashes on startup (needs support for windowless Windows Media Player ActiveX control)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 21 19:16:00 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=39492

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|-unknown                    |wmp&wmvcore
            Summary|Sebastian Lawe Song         |Sebastian Lawe Song
                   |Illustrator crashes while   |Illustrator 0.0.1.7 (.NET
                   |opening                     |4.0 app) crashes on startup
                   |                            |(needs support for
                   |                            |windowless Windows Media
                   |                            |Player ActiveX control)
     Ever confirmed|0                           |1

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

looks like a .NET 4.0 app, ILSpy reports:

--- snip ---
// Z:\home\focht\Downloads\si\SongIllustrator.exe
// SongIllustrator, Version=0.0.1.7, Culture=neutral, PublicKeyToken=null

// Global type: <Module>
// Entry point: SongIllustrator.Program.Main
// Architecture: x86
// Runtime: .NET 4.0

using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;

[assembly: AssemblyVersion("0.0.1.7")]
[assembly:
Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyCompany("Sebastian Lawe")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCopyright("Sebastian Lawe 2014")]
[assembly: AssemblyDescription("Simplify Launchpad Visuals")]
[assembly: AssemblyFileVersion("0.0.1.7")]
[assembly: AssemblyProduct("Song Illustrator")]
[assembly: AssemblyTitle("Song Illustrator")]
[assembly: AssemblyTrademark("")]
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: ComVisible(false)]
[assembly: Guid("43a30839-5961-4def-9f16-5e9e4035786b")]
[assembly: TargetFramework(".NETFramework,Version=v4.0", FrameworkDisplayName =
".NET Framework 4")]
--- snip ---

-> 'winetricks -q dotnet40'

Running it will download additional components once, put here:

--- snip ---
$ ls -1sh .wine/drive_c/users/focht/Application\ Data/Sebastian\ Lawe/Song\
Illustrator/
total 872K
 56K AxInterop.WMPLib.dll
 36K bevel.png
 36K Factory.dll
324K Interop.WMPLib.dll
 16K MediaPlayerModuleBase.dll
8.0K MIDIDriverInterface.dll
 84K SongIllustratorCore.dll
224K SongIllustrator.exe
 12K Tobias.Driver.dll
8.0K Tokenizer.dll
 52K Win32.Factory.dll
 16K WindowsMediaPlayer.Player.dll
--- snip ---

An exception dialog is shown on start and with managed debugger a bit more
context:

--- snip ---
System.NotSupportedException: Unable to get the window handle for the
'WindowsMediaPlayer' control. Windowless ActiveX controls are not supported.
...
0033ead0 1bfb775d System.Windows.Forms.AxHost.EnsureWindowPresent()
0033eb04 1bfb73e4 System.Windows.Forms.AxHost.InPlaceActivate()
0033eb3c 1bfb3e29 System.Windows.Forms.AxHost.TransitionUpTo(Int32)
0033eb8c 1bfb3c97 System.Windows.Forms.AxHost.CreateHandle()
0033eb98 04675f2f System.Windows.Forms.Control.CreateControl(Boolean)
0033ebd0 04675fca System.Windows.Forms.Control.CreateControl(Boolean)
0033ec08 04675e57 System.Windows.Forms.Control.CreateControl()
0033ec1c 05d574ef
System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
0033ec58 0467ae23
System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
0033ec5c 05d5699b [InlinedCallFrame: 0033ec5c] 
0033eca8 05d5699b
System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message
ByRef)
0033ecb4 05d56928
System.Windows.Forms.ContainerControl.WndProc(System.Windows.Forms.Message
ByRef)
0033ecbc 1bfb0dec
System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef)
0033eccc 05d4e399
System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
0033ece0 0467a6f3
System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message
ByRef)
0033ece8 0467a6c0
System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message
ByRef)
0033ecfc 0467a505 System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32,
IntPtr, IntPtr)
0033eff4 00990620 [InlinedCallFrame: 0033eff4] 
0033eff0 1bfb0d6b
DomainBoundILStubClass.IL_STUB_PInvoke(System.Runtime.InteropServices.HandleRef,
Int32)
0033eff4 04674993 [InlinedCallFrame: 0033eff4]
System.Windows.Forms.SafeNativeMethods.ShowWindow(System.Runtime.InteropServices.HandleRef,
Int32)
0033f03c 04674993 System.Windows.Forms.Control.SetVisibleCore(Boolean)
0033f0d4 1bfb0a6e System.Windows.Forms.Form.SetVisibleCore(Boolean)
0033f104 0467cd74 System.Windows.Forms.Control.set_Visible(Boolean)
0033f10c 05d4cbd2
System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32,
System.Windows.Forms.ApplicationContext)
0033f154 05d4c963
System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32,
System.Windows.Forms.ApplicationContext)
0033f184 05d4c834
System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form)
0033f198 05d4c132
System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
0033f19c 05d4bd77 [InlinedCallFrame: 0033f19c] 
0033f234 05d4bd77 System.Windows.Forms.Form.ShowDialog()
0033f238 05d48d1a Win32Factory.Wrappers.FormWrapper.ShowDialog()
0033f260 0456db39 SongIllustrator.MainForm..ctor(ControlFactory.IFactory)
0033f278 03739c04 SongIllustrator.Program.Main(System.String[])
...
--- snip ---

Terminal output:

--- snip ---
...
fixme:shell:URL_ParseUrl failed to parse L"MIDIDriverInterface"
fixme:shell:URL_ParseUrl failed to parse L"Tobias.Driver"
fixme:shell:URL_ParseUrl failed to parse L"MediaPlayerModuleBase"
fixme:shell:URL_ParseUrl failed to parse L"WindowsMediaPlayer.Player"
fixme:shell:URL_ParseUrl failed to parse L"AxInterop.WMPLib"
fixme:shell:URL_ParseUrl failed to parse L"Interop.WMPLib"
fixme:process:FlushProcessWriteBuffers : stub
fixme:wmp:OleObject_QueryInterface
(0x1cd420)->({c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} 0x33e454)
fixme:wmp:ProvideClassInfo2_GetClassInfo (0x1cd420)->(0x33e338)
fixme:wmp:OleObject_QueryInterface
(0x1cd420)->({00000003-0000-0000-c000-000000000046} 0x33e278)
fixme:wmp:OleObject_QueryInterface
(0x1cd420)->({00000144-0000-0000-c000-000000000046} 0x33e33c)
fixme:wmp:ConnectionPointContainer_FindConnectionPoint
(0x1cd420)->({9bfbbc02-eff1-101a-84ed-00aa00341d07} 0x33ea60)
fixme:wmp:OleObject_QueryInterface
(0x1cd420)->({cf51ed10-62fe-11cf-bf86-00a0c9034836} 0x33e804)
fixme:wmp:OleObject_SetClientSite Use extended control
fixme:wmp:OleControl_FreezeEvents (0x1cd420)->(ffffffff)
fixme:wmp:ConnectionPointContainer_FindConnectionPoint
(0x1cd420)->({6bf52a51-394a-11d3-b153-00c04f79faa6} 0x33ea40)
fixme:wmp:ConnectionPointContainer_FindConnectionPoint
(0x1cd420)->({9bfbbc02-eff1-101a-84ed-00aa00341d07} 0x33ea40)
fixme:wmp:activate_inplace No IOleInPlaceSite instance
--- snip ---

Another managed backtrace earlier, although not that serious (continues with
managed exception caught internally):

--- snip ---
...
System.Windows.Forms.AxHost+ConnectionPointCookie..ctor(System.Object,
System.Object, System.Type, Boolean)
0033eb04 1bfb485e System.Windows.Forms.AxHost+OleInterfaces.StartEvents()
0033eb30 1bfb40f4 System.Windows.Forms.AxHost.GetOcxCreate()
0033eb3c 1bfb3d94 System.Windows.Forms.AxHost.TransitionUpTo(Int32)
0033eb8c 1bfb3c45 System.Windows.Forms.AxHost.CreateHandle()
0033eb98 04675f2f System.Windows.Forms.Control.CreateControl(Boolean)
0033ebd0 04675fca System.Windows.Forms.Control.CreateControl(Boolean)
0033ec08 04675e57 System.Windows.Forms.Control.CreateControl()
0033ec1c 05d574ef
System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
0033ec58 0467ae23
System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
0033ec5c 05d5699b [InlinedCallFrame: 0033ec5c] 
0033eca8 05d5699b
System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message
ByRef)
0033ecb4 05d56928
System.Windows.Forms.ContainerControl.WndProc(System.Windows.Forms.Message
ByRef)
0033ecbc 1bfb0dec
System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef)
0033eccc 05d4e399
System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
0033ece0 0467a6f3
System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message
ByRef)
0033ece8 0467a6c0
System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message
ByRef)
0033ecfc 0467a505 System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32,
IntPtr, IntPtr)
0033eff4 00990620 [InlinedCallFrame: 0033eff4] 
0033eff0 1bfb0d6b
DomainBoundILStubClass.IL_STUB_PInvoke(System.Runtime.InteropServices.HandleRef,
Int32)
0033eff4 04674993 [InlinedCallFrame: 0033eff4]
System.Windows.Forms.SafeNativeMethods.ShowWindow(System.Runtime.InteropServices.HandleRef,
Int32)
0033f03c 04674993 System.Windows.Forms.Control.SetVisibleCore(Boolean)
0033f0d4 1bfb0a6e System.Windows.Forms.Form.SetVisibleCore(Boolean)
0033f104 0467cd74 System.Windows.Forms.Control.set_Visible(Boolean)
0033f10c 05d4cbd2
System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32,
System.Windows.Forms.ApplicationContext)
0033f154 05d4c963
System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32,
System.Windows.Forms.ApplicationContext)
0033f184 05d4c834
System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form)
0033f198 05d4c132
System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
0033f19c 05d4bd77 [InlinedCallFrame: 0033f19c] 
0033f234 05d4bd77 System.Windows.Forms.Form.ShowDialog()
0033f238 05d48d1a Win32Factory.Wrappers.FormWrapper.ShowDialog()
0033f260 0456db39 SongIllustrator.MainForm..ctor(ControlFactory.IFactory)
0033f278 03739c04 SongIllustrator.Program.Main(System.String[])
...
--- snip ---

Looks like multiple interfaces need to be provided to support windowless WMP
ActiveX control.

'winetricks -q wmp9' works around.

The app also suffers from bug 35041 after applying the workaround ('taskset -c
0 wine ./foo.exe').

$ sha1sum Song\ Illustrator.zip 
ce5249ec3df790f751f7569beec9a35ce55c4861  Song Illustrator.zip

$ du -sh Song\ Illustrator.zip 
164K    Song Illustrator.zip

$ wine --version
wine-1.8-rc1

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.



More information about the wine-bugs mailing list