xplorer crash after image conversion with ShellEx - Win7, 64

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
jimspoon
Posts: 3
Joined: Tue Jun 07, 2011 5:45 am

xplorer crash after image conversion with ShellEx - Win7, 64

Post by jimspoon »

Windows Explorer crashes every time I have tried to convert a folder full of PNGs to JPGs, using 64-bit Xnview Shell Extension 3.0.0.0. I'm running Windows 7 Home Premium SP1. Explorer starts up again, and the files do get converted - the crash happens after the conversion is completed.

I notice the Shell Extension gets installed in the "Program Files (x86)" tree.

I tried deleting xnview.ini in my Xnview folder, didn't make a difference.

However, there was NOT a crash when I converted the files from an Xplorer2 window rather than a Windows Explorer window. Hooray for that!
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: xplorer crash after image conversion with ShellEx - Win7

Post by xnview »

With only 1 or 2 files, no problem?
Pierre.
jimspoon
Posts: 3
Joined: Tue Jun 07, 2011 5:45 am

Re: xplorer crash after image conversion with ShellEx - Win7

Post by jimspoon »

xnview wrote:With only 1 or 2 files, no problem?
I just tested it. Yes, I was able to convert small numbers of files from Windows Explorer with causing Explorer to crash. In fact I was able to convert 15 files at once. But then I tried to convert 24 at once. CRASH !!!
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: xplorer crash after image conversion with ShellEx - Win7

Post by xnview »

Could you contact me by PM
Pierre.
Enmoku
Posts: 26
Joined: Thu Aug 09, 2007 5:25 am
Location: Northern Europe

Re: xplorer crash after image conversion with ShellEx - Win7

Post by Enmoku »

I've had the same issue since moving to Windows 7 though I might've as well had it in XP too. Win7 just detects the long period that Explorer has been unresponsive and treats it as crashed and restarts it automatically no matter if responsiveness is restored after, in XP it just hung for the duration of processing and in some very rare cases actually crashed and forced manual restart. Normally I encounter this when processing large numbers of files, but sometimes it happens with just one too, and this is directly related to using ShellEx, never happens otherwise. The "problem" with Win7 is that it automatically restarts Explorer because of the unresponsiveness.

I think this could be solved best by making ShellEx start a new process that runs independent of Explorer for all processing (preferably showing progress dialog or such too), so Explorer itself won't become unresponsive while ShellEx processes. The fact this hasn't been done yet has prevented me and extremely likely others as well from doing two or more conversion batches in parallel.
Post Reply