COM Surrogate crash (gdiplus.dll)


  1. Posts : 2
    Windows 7 Professional x64
       #1

    COM Surrogate crash (gdiplus.dll)


    This is not a BSOD, but a crash. When I double-click an image, it opens with Windows Photo Viewer. In task manager, I see DllHost.exe is the process that Windows Photo Viewer runs in (this is Windows 7 x64). If I close the window, it takes about 10-15 seconds for DllHost.exe to actually close; if I double-click another image while it is closing, I get a "COM Surrogate has stopped working" window; the application is DllHost.exe and the fault module is gdiplus.dll.

    Here are some crash dumps, all of this same procedure and crash:
    Download dllhost.exe.3732.dmp from Sendspace.com - send big files the easy way
    Download dllhost.exe.4964.dmp from Sendspace.com - send big files the easy way
    Download dllhost.exe.3712.dmp from Sendspace.com - send big files the easy way
    Download dllhost.exe.2636.dmp from Sendspace.com - send big files the easy way
    Download dllhost.exe.364.dmp from Sendspace.com - send big files the easy way

    I can workaround the problem by using a different image viewer, but if someone could please analyze one or more of the dump files and if I can find a fix, then maybe it will fix a printer problem I'm having too.

    Regarding existing solutions that can be found online: This is Win7, I don't have Kaspersky, Nero or any codecs, 64-bit doesn't allow me to add dllhost.exe to the DEP exclusions, I have Adobe CS5 not CS3, I have the latest graphics driver for my system.

    Thanks for your time :)
      My Computer


  2. Posts : 5,705
    Win7 x64 + x86
       #2

    I'm just gonna shoot a couple of guesses here:

    I wonder about explorer.exe shell extensions (due to the presence of shlwapi in the stack text).
    Try this free program to disable/remove 3rd party extensions: ShellExView - Shell Extension Manager For Windows

    Try running SFC.EXE according to these instructions:
    SFC.EXE /SCANNOW
    Go to Start and type in "cmd.exe" (without the quotes)
    At the top of the search box, right click on the cmd.exe and select "Run as adminstrator"
    In the black window that opens, type "SFC.EXE /SCANNOW" (without the quotes) and press Enter.
    Let the program run and post back what it says when it's done.
    Try uninstalling Adobe,
    then test to see if that fixes it
    then reinstall Adobe
    then test to see if that fixes it

    Code:
    Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    
    Loading Dump File [C:\Users\FUBAR\_jcgriff2_\dbug\__Kernel__\dllhost.exe.364.dmp]
    User Mini Dump File with Full Memory: Only application data is available
    
    Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    Windows 7 Version 7600 MP (4 procs) Free x64
    Product: WinNt, suite: SingleUserTS
    Machine Name:
    Debug session time: Fri Nov  5 13:23:23.000 2010 (UTC - 4:00)
    System Uptime: 0 days 0:08:28.008
    Process Uptime: 0 days 0:00:06.000
    ...................................................
    Loading unloaded module list
    .....
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (16c.b8c): Unknown exception - code c000041d (first/second chance not available)
    GdiPlus!GdipCreateFont+0xf7:
    000007fe`fb549237 41817e0831464661 cmp     dword ptr [r14+8],61464631h ds:00000000`02cb6598=????????
    0:008> !analyze -v
    *******************************************************************************
    *                                                                             *
    *                        Exception Analysis                                   *
    *                                                                             *
    *******************************************************************************
    
    GetPageUrlData failed, server returned HTTP status 404
    URL requested: http://watson.microsoft.com/StageOne/dllhost_exe/6_1_7600_16385/4a5bca54/GdiPlus_dll/6_1_7600_16385/4a5bde67/c000041d/00059237.htm?Retriage=1
    
    FAULTING_IP: 
    GdiPlus!GdipCreateFont+f7
    000007fe`fb549237 41817e0831464661 cmp     dword ptr [r14+8],61464631h
    
    EXCEPTION_RECORD:  ffffffffffffffff -- (.exr 0xffffffffffffffff)
    ExceptionAddress: 000007fefb549237 (GdiPlus!GdipCreateFont+0x00000000000000f7)
       ExceptionCode: c000041d
      ExceptionFlags: 00000001
    NumberParameters: 0
    
    DEFAULT_BUCKET_ID:  APPLICATION_FAULT
    
    PROCESS_NAME:  dllhost.exe
    
    ERROR_CODE: (NTSTATUS) 0xc000041d - An unhandled exception was encountered during a user callback.
    
    EXCEPTION_CODE: (NTSTATUS) 0xc000041d - An unhandled exception was encountered during a user callback.
    
    MOD_LIST: <ANALYSIS/>
    
    NTGLOBALFLAG:  0
    
    APPLICATION_VERIFIER_FLAGS:  0
    
    FAULTING_THREAD:  0000000000000b8c
    
    PRIMARY_PROBLEM_CLASS:  APPLICATION_FAULT
    
    BUGCHECK_STR:  APPLICATION_FAULT_APPLICATION_FAULT
    
    LAST_CONTROL_TRANSFER:  from 000007fef13633c6 to 000007fefb549237
    
    STACK_TEXT:  
    00000000`02eec780 000007fe`f13633c6 : 00000000`02f79670 00000000`41100000 00000000`00000000 000007fe`f13fad88 : GdiPlus!GdipCreateFont+0xf7
    00000000`02eec7f0 000007fe`f1386655 : 00000000`1b010fbe 00000000`00000000 000007fe`f13fad88 000007fe`f13fab44 : PhotoViewer!GdipUtilPrivate::FontCacheEntry::CreateFontFromFamily+0x7a
    00000000`02eec850 000007fe`f136d0e4 : 00000000`00000000 00000000`0019a500 00000000`00000001 000007fe`f13fad88 : PhotoViewer!GdipUtilPrivate::FontCacheEntry::CreateFontW+0x148
    00000000`02eec8d0 000007fe`f136d05d : 00000000`0019a500 00000000`00000000 00000000`00000001 00000000`00000001 : PhotoViewer!UIControls::StaticTextEx::GetFont+0x16f
    00000000`02eec960 000007fe`f136cf93 : 00000000`0019a410 00000000`02dca8d0 00000000`0019a410 00000000`00000000 : PhotoViewer!UIControls::StaticTextEx::EnsureSizeCalced+0xa2
    00000000`02eec9c0 000007fe`f136cd97 : 00000000`0019a410 00000000`00000000 00000000`001538e8 00000000`00000000 : PhotoViewer!PagePane::CreateControls+0x204
    00000000`02eeca60 000007fe`f1368126 : 00000000`0019a410 00000000`00000001 00000000`027e1398 000007fe`f135eccd : PhotoViewer!PagePane::OnCreate+0x17
    00000000`02eecab0 000007fe`f135108f : 00000000`00000000 00000000`0019a410 00000000`02eecdd0 00000000`00000000 : PhotoViewer!PagePane::ProcessWindowMessage+0x73
    00000000`02eecb10 00000000`7750b601 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000083 : PhotoViewer!ATL::CWindowImplBaseT<WTL::CTrackBarCtrlT<ATL::CWindow>,ATL::CWinTraits<1442840576,0> >::WindowProc+0x7f
    00000000`02eecbb0 00000000`7750a01b : 00000000`00000000 00000000`00320d20 00000000`00000000 00000000`00000000 : user32!UserCallWinProcCheckWow+0x163
    00000000`02eecc70 00000000`77502bb5 : 00000000`00000000 00000000`7750a01b 00000000`00000000 00000000`00320d20 : user32!DispatchClientMessage+0xc3
    00000000`02eeccd0 00000000`7763fc65 : 00000000`02eeced0 00000000`77502b23 00000000`00000200 00000000`005384a0 : user32!_fnINLPCREATESTRUCT+0xc0
    00000000`02eecd30 00000000`7750255a : 00000000`775029d7 00000000`00000000 00000000`00000000 00000000`0000c297 : ntdll!KiUserCallbackDispatcherContinue
    00000000`02eece38 00000000`775029d7 : 00000000`00000000 00000000`00000000 00000000`0000c297 00000000`0000c297 : user32!NtUserCreateWindowEx+0xa
    00000000`02eece40 00000000`77502718 : 00000000`00000006 00000000`00000001 00000000`00010000 00000000`42000000 : user32!VerNtUserCreateWindowEx+0x27c
    00000000`02eed1b0 00000000`77502ca0 : 00000000`80000000 00000000`00000001 00000000`00000000 00000000`00000000 : user32!CreateWindowEx+0x404
    00000000`02eed300 000007fe`f13582a7 : 00000000`00000003 00000000`00001f80 00000000`00000000 00000000`02eed8f0 : user32!CreateWindowExW+0x70
    00000000`02eed380 000007fe`f136bfad : 00000000`80000000 00000000`00050532 00000000`0019a420 00000000`00050532 : PhotoViewer!IsolationAwareCreateWindowExW+0xed
    00000000`02eed400 000007fe`f136c92d : 00000000`00000000 00000000`02eed6d0 000007fe`f13f93f0 00000000`0019a410 : PhotoViewer!ATL::CWindowImplBaseT<ATL::CWindow,ATL::CWinTraits<1107296256,65536> >::Create+0x154
    00000000`02eed480 000007fe`f136fb23 : 00000000`0019a410 00000000`00050532 00000000`00000000 000007fe`f86bc1b8 : PhotoViewer!ModularWindow::BaseChildImpl<PagePane,ATL::CWindowImpl<PagePane,ATL::CWindow,ATL::CWinTraits<1107296256,65536> > >::BaseCreate+0x116
    00000000`02eed500 000007fe`f136f9e5 : 00000000`0019a410 00000000`0019a4a8 00000000`00175758 00000000`0019a410 : PhotoViewer!LightweightFrameWindow::CreateAndInitSubWindows+0x14f
    00000000`02eed550 000007fe`f135ab03 : 00000000`00050532 00000000`02eed8f0 00000000`0093e6f0 00000000`00050532 : PhotoViewer!LightweightFrameWindow::OnCreate+0x5c
    00000000`02eed5b0 000007fe`f135108f : 00000000`00000000 00000000`00050532 00000000`000f9f68 00000000`00000000 : PhotoViewer!LightweightFrameWindow::ProcessWindowMessage+0x147
    00000000`02eed630 00000000`7750b601 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000083 : PhotoViewer!ATL::CWindowImplBaseT<WTL::CTrackBarCtrlT<ATL::CWindow>,ATL::CWinTraits<1442840576,0> >::WindowProc+0x7f
    00000000`02eed6d0 00000000`7750a01b : 00000000`00000000 00000000`00320ca0 00000000`00000000 00000000`00000000 : user32!UserCallWinProcCheckWow+0x163
    00000000`02eed790 00000000`77502bb5 : 00000000`00000000 00000000`7750a01b 00000000`00000000 00000000`00320ca0 : user32!DispatchClientMessage+0xc3
    00000000`02eed7f0 00000000`7763fc65 : 00000000`00000000 00000000`77502b23 00000000`7750255a 00000000`7750a078 : user32!_fnINLPCREATESTRUCT+0xc0
    00000000`02eed850 00000000`7750255a : 00000000`775029d7 00000000`00000000 00000000`00000000 00000000`0000c294 : ntdll!KiUserCallbackDispatcherContinue
    00000000`02eed958 00000000`775029d7 : 00000000`00000000 00000000`00000000 00000000`0000c294 00000000`0000c294 : user32!NtUserCreateWindowEx+0xa
    00000000`02eed960 00000000`77502718 : 00000020`00000006 00000000`00000001 00000000`00000100 00000000`02cf0000 : user32!VerNtUserCreateWindowEx+0x27c
    00000000`02eedcd0 00000000`77502ca0 : 00000000`00000344 00000000`00000001 00000000`000f9f68 00000000`00000000 : user32!CreateWindowEx+0x404
    00000000`02eede20 000007fe`f13582a7 : 00000000`000f9fe0 00000000`02eedee8 00000000`00000340 00000000`773f03a3 : user32!CreateWindowExW+0x70
    00000000`02eedea0 000007fe`f136ca9a : 00000000`02eedfe8 00000000`00000000 00000000`00000000 00000000`000f9f78 : PhotoViewer!IsolationAwareCreateWindowExW+0xed
    00000000`02eedf20 000007fe`f136dae3 : 00000000`00000000 00000000`00000000 00000000`02eedfe8 00000000`000f9f40 : PhotoViewer!ATL::CWindowImpl<LightweightFrameWindow,ATL::CWindow,ATL::CWinTraits<47120384,256> >::Create+0x142
    00000000`02eedfa0 000007fe`f135a1d7 : 00000000`00000001 00000000`00000000 00000000`00000001 00000000`00000000 : PhotoViewer!LightweightFrameWindow::Start+0x7b
    00000000`02eee010 000007fe`f13623a0 : 00000000`02eef930 00000000`0010c7d0 00000000`0010c7d0 00000000`0014b2d8 : PhotoViewer!ShellEasel::Run+0x12c
    00000000`02eef8c0 000007fe`f139095a : 00000000`0014b2d8 00000000`0010c7d0 00000000`08c24f10 00000000`0014b290 : PhotoViewer!ShellEaselRunHelper::RunShellEasel+0xc6
    00000000`02eef920 000007fe`f139087f : 00000000`00000000 00000000`00000048 ffffffff`fffffffe 00000000`00000000 : PhotoViewer!OpenThreadProc::VerbWithoutThreadRef+0x6a
    00000000`02eef950 000007fe`ff70c8ea : 00000000`00000000 00000000`000f9560 00000000`00000000 00000000`00000048 : PhotoViewer!VerbThreadProc::ThreadProcWithoutThreadRef+0x13
    00000000`02eef980 00000000`773ef56d : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : shlwapi!WrapperThreadProc+0x19b
    00000000`02eefa80 00000000`77623021 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd
    00000000`02eefab0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d
    
    
    STACK_COMMAND:  ~8s; .ecxr ; kb
    
    FOLLOWUP_IP: 
    GdiPlus!GdipCreateFont+f7
    000007fe`fb549237 41817e0831464661 cmp     dword ptr [r14+8],61464631h
    
    SYMBOL_STACK_INDEX:  0
    
    SYMBOL_NAME:  gdiplus!GdipCreateFont+f7
    
    FOLLOWUP_NAME:  MachineOwner
    
    MODULE_NAME: GdiPlus
    
    IMAGE_NAME:  GdiPlus.dll
    
    DEBUG_FLR_IMAGE_TIMESTAMP:  4a5bde67
    
    FAILURE_BUCKET_ID:  APPLICATION_FAULT_c000041d_GdiPlus.dll!GdipCreateFont
    
    BUCKET_ID:  X64_APPLICATION_FAULT_APPLICATION_FAULT_gdiplus!GdipCreateFont+f7
    
    WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/dllhost_exe/6_1_7600_16385/4a5bca54/GdiPlus_dll/6_1_7600_16385/4a5bde67/c000041d/00059237.htm?Retriage=1
    
    Followup: MachineOwner
    ---------
    
    0:008> .exr 0xffffffffffffffff
    ExceptionAddress: 000007fefb549237 (GdiPlus!GdipCreateFont+0x00000000000000f7)
       ExceptionCode: c000041d
      ExceptionFlags: 00000001
    NumberParameters: 0
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:17.
Find Us