Bug 382849 - .kra thumbnail previews in windows 7 crashes COM Surrogate (DllHost.exe).
Summary: .kra thumbnail previews in windows 7 crashes COM Surrogate (DllHost.exe).
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Layers/Vector (other bugs)
Version First Reported In: 3.2.0-beta.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Alvin Wong
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-28 10:09 UTC by bertine
Modified: 2017-07-28 17:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: https://github.com/alvinhochun/KritaShellExtension/releases/tag/v1.2.4
Sentry Crash Report:


Attachments
This is a file that causes a COM Surrogate crash on my system (552.18 KB, application/x-krita)
2017-07-28 12:05 UTC, bertine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bertine 2017-07-28 10:09:55 UTC
Whenever Windows Explorer tries to preview .kra files in thumbnail, I get a COM Surrogate crash. 

Oddly enough, windows does display a preview thumbnail after I click away the crash message.

However, it does this with every single .kra file in the explorer window.

Seeing as I'm currently working on a project with a ton of .kra files, it's getting seriously annoying.

This has occurred at least in all 3.x.x versions.

Crash window information:
Problem Event Name:	APPCRASH
  Application Name:	DllHost.exe
  Application Version:	6.1.7600.16385
  Application Timestamp:	4a5bca54
  Fault Module Name:	kritashellex64.dll
  Fault Module Version:	1.2.3.0
  Fault Module Timestamp:	5905a2dc
  Exception Code:	c0000005
  Exception Offset:	0000000000002935
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	2057
  Additional Information 1:	1f2a
  Additional Information 2:	1f2ad10fe329b7268b4c337ac18448b9
  Additional Information 3:	ee22
  Additional Information 4:	ee22a2127388b7b73574fb22fedbb220
Comment 1 Halla Rempt 2017-07-28 11:00:54 UTC
Hi Bertine,

I'm afraid I cannot reproduce this on my surface pro, so there must be something else going on as well... Could you try to install the shell extension with its own installer (https://download.kde.org/stable/krita/kritashellex-1.2.3.0-setup.exe) and check whether that makes a difference?
Comment 2 bertine 2017-07-28 12:05:03 UTC
Created attachment 106915 [details]
This is a file that causes a COM Surrogate crash on my system

It was an autosave, but other autosaves don't cause the crash.
Comment 3 bertine 2017-07-28 12:06:48 UTC
Hi Boud,

Unfortunately, installing the shell extension didn't help.

It seems it's not all .kra files that cause the COM Surrogate crash. In an earlier post I attached a file that caused it to crash.
Comment 4 Alvin Wong 2017-07-28 16:08:04 UTC
Please try to install this new version, the bug should be fixed:

https://github.com/alvinhochun/KritaShellExtension/releases/download/v1.2.4/KritaShellExtension-v1.2.4-setup.exe

(This will be included in the final Krita 3.2.0 release.)
Comment 5 bertine 2017-07-28 17:14:59 UTC
Hi Alvin,

Brilliant, that seems to have fixed the issue!