[Bug 31105] New: .NET 3.x/4.x WPF based apps require windowscodecs.dll ComponentFactory_CreateBitmapFromSource

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 2 14:40:07 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=31105

             Bug #: 31105
           Summary: .NET 3.x/4.x WPF based apps require windowscodecs.dll
                    ComponentFactory_CreateBitmapFromSource
           Product: Wine
           Version: 1.5.7
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: windowscodecs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello,

"SongSmith 1.0.2" is also affected by that insufficiency.

Trace log:

--- snip ---
...
002c:Call
windowscodecs.IWICImagingFactory_CreateBitmapFromSource_Proxy(03163588,03145f14,00000002,0032c450)
ret=02d45580
002c:fixme:wincodecs:ComponentFactory_CreateBitmapFromSource
(0x3163588,0x3145f14,2,0x32c450): stub
002c:Ret  windowscodecs.IWICImagingFactory_CreateBitmapFromSource_Proxy()
retval=80004001 ret=02d45580 
...
002c:Call KERNEL32.RaiseException(e0434f4d,00000001,00000001,0032c3b0)
ret=79f97065
002c:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83953f
ip=7b83953f tid=002c
002c:trace:seh:raise_exception  info[0]=80004001
002c:trace:seh:raise_exception  eax=7b8264d9 ebx=7b8b17d0 ecx=80004001
edx=0032c2b4 esi=0032c390 edi=0032c310
002c:trace:seh:raise_exception  ebp=0032c2f8 esp=0032c294 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
002c:trace:seh:call_stack_handlers calling handler at 0x79f9a3c8 code=e0434f4d
flags=1
002c:trace:seh:call_stack_handlers handler at 0x79f9a3c8 returned 1
002c:trace:seh:call_stack_handlers calling handler at 0x7a3197d4 code=e0434f4d
flags=1 
--- snip ---

Exception info:

--- snip ---
Exception object: 00ea0ff4
Exception type: System.NotImplementedException
Message: The method or operation is not implemented.
InnerException: <none>
StackTrace (generated):
<none>
StackTraceString: <none>
HResult: 80004001
--- snip ---

CLR stack:

--- snip ---
OS Thread Id: 0x2b (0)
ESP       EIP     
0033c6a8 7b83953f [HelperMethodFrame: 0033c6a8] 
0033c74c 53c57cdc MS.Internal.HRESULT.Check(Int32)
0033c750 53afdfce
System.Windows.Media.Imaging.RenderTargetBitmap.CopyCommon(System.Windows.Media.Imaging.RenderTargetBitmap)
0033c7a0 53afe13b
System.Windows.Media.Imaging.RenderTargetBitmap.CloneCore(System.Windows.Freezable)
0033c7b0 568a68a4 System.Windows.Freezable.Clone()
0033c7bc 53a02d06 System.Windows.Media.Animation.Animatable.Clone()
0033c7c4 53ab5666 System.Windows.Media.ImageSource.Clone()
0033c7cc 53aeea62 System.Windows.Media.Imaging.BitmapSource.Clone()
0033c7d4 53ab76c7
System.Windows.Media.Effects.BitmapEffect.GetOutput(System.Windows.Media.Effects.BitmapEffectInput)
0033c818 53abcaab
System.Windows.Media.Effects.BitmapEffectState.GetEffectOutput(System.Windows.Media.Visual,
System.Windows.Media.Imaging.RenderTargetBitmap ByRef,
System.Windows.Media.Matrix, System.Windows.Rect, System.Windows.Media.Matrix
ByRef)
0033ca28 53abdb1a
System.Windows.Media.Effects.BitmapEffectVisualState.RenderBitmapEffect(System.Windows.Media.Visual,
System.Collections.Generic.List`1<ChannelSet>)
0033cb64 53abd7ca
System.Windows.Media.Effects.BitmapEffectContent.ExecuteRealizationsUpdate()
0033cb6c 53918ad9
System.Windows.Media.RealizationContext+RealizationUpdateSchedule.Execute()
0033cba8 53911e40
System.Windows.Media.MediaContext.Render(System.Windows.Media.ICompositionTarget)
0033cc6c 53910fe7
System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object)
0033ccb4 53910f00
System.Windows.Media.MediaContext.RenderMessageHandler(System.Object)
0033cccc 53910ecc
System.Windows.Media.MediaContext.Resize(System.Windows.Media.ICompositionTarget)
--- snip ---

Code:

http://source.winehq.org/git/wine.git/blob/39f80e56fb15858e1d057facae56fa7f8527bd80:/dlls/windowscodecs/imgfactory.c#l465

--- snip ---
 465 static HRESULT WINAPI
ComponentFactory_CreateBitmapFromSource(IWICComponentFactory *iface,
 466     IWICBitmapSource *piBitmapSource, WICBitmapCreateCacheOption option,
 467     IWICBitmap **ppIBitmap)
 468 {
 469     FIXME("(%p,%p,%u,%p): stub\n", iface, piBitmapSource, option,
ppIBitmap);
 470     return E_NOTIMPL;
 471 }
--- snip ---

$ du -sh SongsmithSetup.1.02.msi 
99M    SongsmithSetup.1.02.msi

$ sha1sum SongsmithSetup.1.02.msi 
fa6d5d889f37d369d61ec5c49dfb7f8d9932eb09  SongsmithSetup.1.02.msi

$ wine --version
wine-1.5.7-309-gb4da889

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.



More information about the wine-bugs mailing list