Re: PIC Video MJPEG codec crashes Windows Explorer with DEP exception




"Dave Martindale" <davem@xxxxxxxxx> wrote in message
news:fk43jg$ceq$1@xxxxxxxxxxxxxxxxxx
I've recently been capturing some DV video using Adobe Premiere Pro 1.5
on a new computer system running Windows XP Pro. I had an odd problem:
whenever I opened a folder containing the captured AVI files, and
clicked on one file to select it, Windows Explorer would get a Data
Execution Prevention exception within a few seconds and pop up a window
wanting to send a report to Microsoft. This was perfectly repeatable.
Windows XP kills and then restarts Explorer, so this doesn't take the
whole machine down, but it makes it really difficult to move any AVI
files around.

You can disable Data Execution Prevention for Explorer only, and then it
doesn't crash, but that just hides the problem instead of fixing it.

But a bit of Googling found the real problem: the PIC Video MJPEG codec.
I present the information here for the benefit of anyone else who might
have tripped over the same problem.

It seems that if you have the Windows Explorer "common tasks" sidebar on
the left of your window, and you click on a media file, Explorer opens
the media file to obtain a preview image for it to display in the
"Details" section of the sidebar - even if you currently have Details
collapsed. It tries to use the PIC Video MJPEG codec for this, even
though the files are DV-encoded, not MJPEG. And the PIC Video codec
apparently builds X86 machine code on the fly and tries to execute that
machine code out of its data space, which triggers the Data Execution
Prevention exception.

Essentially, the PIC Video MJPEG 2 codec should not be installed on a
Windows XP (and probably Vista too) system, since it performs an
operation that is now illegal. In my case, it was Pinnacle Studio 9
that installed the rogue codec. Later versions of Pinnacle Studio
might have a fixed version of the codec, or might have omitted it
entirely; I don't know. (I don't particularly like Studio 9, so I'm
not interested in spending money to upgrade to a more recent version,
but it does provide some control of a Pinnacle Moviebox DV device that
Premiere does not).

I disabled the codec using Device Manager, re-enabled DEP for Explorer,
and now everything works fine. I even get previews of AVI files in
Explorer.

This was a particularly insidious problem, because it involved a feature
of Explorer I wasn't aware of (previews in the sidebar) invisibly
calling code that was untrustworthy (the codec) to display a preview
that was disabled (Details collapsed). Thanks to the various people who
diagnosed the parts of the puzzle and posted their knowledge in a place
Google could find.

Dave

http://www.pegasusimaging.com/picvideomjpeg.htm


.



Relevant Pages

  • Re: Recording Endlessly w/o Memory Overflow?
    ... Under Windows MATLAB uses Windows's video compression capabilities to ... must have the codec correctly installed and configured on your PC. ... Windows actually has two ways to deal with avi files. ...
    (comp.soft-sys.matlab)
  • Re: PIC Video MJPEG codec crashes Windows Explorer with DEP exception
    ... clicked on one file to select it, Windows Explorer would get a Data ... Windows XP kills and then restarts Explorer, ... But a bit of Googling found the real problem: the PIC Video MJPEG codec. ... "Details" section of the sidebar - even if you currently have Details ...
    (rec.video.desktop)
  • PIC Video MJPEG codec crashes Windows Explorer with DEP exception
    ... clicked on one file to select it, Windows Explorer would get a Data ... Windows XP kills and then restarts Explorer, ... But a bit of Googling found the real problem: the PIC Video MJPEG codec. ...
    (rec.video.desktop)
  • Re: Large Avi file delete
    ... >>> It's in use be Explorer itself. ... >> The problem occurs when windows cannot find or access the file ... I gave up using avi files years ago. ... is but a dream within a dream. ...
    (alt.os.windows-xp)
  • Re: Windows explorer failure to delete files
    ... I have tried your advice several times but without ... To kill explorer and restart it. ... MS-MVP Windows Shell/User ... If not .avi files post back with more info about what you are trying to ...
    (microsoft.public.windowsxp.help_and_support)

Loading