OCR conversion fails for email items with embedded attachments of type PNG.

book

Article ID: 100073108

calendar_today

Updated On:

Description

Error Message

A DTrace of the StorageArchive and EVConverterSandbox processes while attempting to convert such items may show the following: 

(StorageArchive)    <9880>    EV:M    {CConverter::ConvertStream} Invoking conversion. Mode [cmHTMLorText] File Type: [png] Source [cstMMSTREAM:C$1$SRC], Destination [cstMMSTREAM:C$1$DST], Timeout(secs) [600]
(StorageArchive)    <9880>    EV:L    {CCvtSandboxProxy::PerformConversion} (Entry)
(StorageArchive)    <9880>    EV:L    {CCvtSandboxPSIPC::MakeConversionRequest} (Entry)
(StorageArchive)    <9880>    EV:L    {CCvtSandboxPSIPC::MakeConversionRequest} (Exit) Status: [Success]
(StorageArchive)    <9880>    EV:L    {CCvtSandboxProxy::WaitForConversion} (Entry)
(StorageArchive)    <9880>    EV:M    {CCvtSandboxProxy::WaitForConversion} Wait timeout [65 secs], Conversion timeout Left [600 secs]..........
(EVConverterSandbox)    <6756>    EV:L    {INSOHelper::GetFileType} Known type. FileId [1574], Type [png]
(EVConverterSandbox)    <6756>    EV:M    {CINSOConverter::TryExternalConverter} File Id [1574 (GRAPHIC)] Sniffed file type [png]. Source file type [png]
(EVConverterSandbox)    <6756>    EV:M    {CExternalConverterThread::DetermineBestAvailableConversion} [OCR] Conversion mode [cmHTMLorText], Target output type [coUnicodeHTML], Best match output type [coUnicodeHTML]
(EVConverterSandbox)    <6756>    EV:M    {CExternalConverterThread::SynchronousConversion} Invoking OCR converter.
(EVConverterSandbox)    <6756>    EV:L    {CConversionThread::Convert} (Entry)
(EVConverterSandbox)    <6756>    EV:L    {CConversionThread::Convert:#165} Started Conversion thread
(EVConverterSandbox)    <6756>    EV:L    {CConversionThread::Convert} (Exit) Status: [Success]
(EVConverterSandbox)    <6756>    EV:H    {CExternalConverterThread::SynchronousConversion} Status: [<0x80040500>]
(EVConverterSandbox)    <6756>    EV:H    {CINSOConverter::PerformExternalConversion} Status: [<0x80040500>]
(EVConverterSandbox)    <6756>    EV:H    {CINSOConverter::MapExternalConverterResultToInsoStatus} Conversion failed. Reason [Conversion aborted] Result [0x80040500] ==> Status [operation cancelled (20)]

(StorageArchive)    <9880>    EV:L    STAWaitForMultipleObjectsEx: Leaving wait state with result: 0
(StorageArchive)    <9880>    EV:L    {CCvtSandboxPSIPC::GetConversionResult} (Entry)
(StorageArchive)    <9880>    EV:L    {CCvtSandboxPSIPC::GetConversionResult} (Exit) Status: [Success]
(StorageArchive)    <9880>    EV:H    {CCvtSandboxProxy::WaitForConversion} Conversion failed [Conversion cancelled      (0xc00419e4)]. Reason [operation cancelled (20) [External Converter [Conversion aborted]]]
(StorageArchive)    <9880>    EV:H    {CCvtSandboxProxy::WaitForConversion} (Exit) Status: [Conversion cancelled      (0xc00419e4)]
(StorageArchive)    <9880>    EV:H    {CCvtSandboxProxy::PerformConversion} (Exit) Status: [Conversion cancelled      (0xc00419e4)]
(StorageArchive)    <9880>    EV:L    {CConverter::ReleaseConverterSandbox} (Entry)
(StorageArchive)    <9880>    EV:L    {CCvtSandboxProxy::ReleaseSandbox} (Entry)
(StorageArchive)    <9880>    EV:M    {CCvtSandboxProxy::ReleaseSandbox} Requesting snadbox process shutdwon
(StorageArchive)    <9880>    EV:L    STAWaitForMultipleObjectsEx: Leaving wait state with result: 0
(StorageArchive)    <9880>    EV:L    {CCvtSandboxProxy::ReleaseSandbox} (Exit) Status: [Success]
(StorageArchive)    <9880>    EV:L    {CConverter::ReleaseConverterSandbox} (Exit)
(StorageArchive)    <9880>    EV:M    {CMMStream::SetSize} Size [0] Result [Success  (0)]
(StorageArchive)    <9880>    EV:M    {CConverter::TidyStream} Stream [cstMMSTREAM:C$1$SRC], Result [Success  (0)]
(StorageArchive)    <9880>    EV:M    {CMMStream::SetSize} Size [0] Result [Success  (0)]
(StorageArchive)    <9880>    EV:M    {CConverter::TidyStream} Stream [cstMMSTREAM:C$1$DST], Result [Success  (0)]
(StorageArchive)    <9880>    EV:M    {CMMStream::Close} Name [C$1$SRC] Result [Success  (0)]
(StorageArchive)    <9880>    EV:M    {CMMStream::~CMMStream} Deleted mapping file: C:\Users\vsa\AppData\Local\Temp\EV$MMS$FM$C$1$SRC.tmp
(StorageArchive)    <9880>    EV:M    {CMMStream::Close} Name [C$1$DST] Result [Success  (0)]
(StorageArchive)    <9880>    EV:M    {CMMStream::~CMMStream} Deleted mapping file: C:\Users\vsa\AppData\Local\Temp\EV$MMS$FM$C$1$DST.tmp
(StorageArchive)    <9880>    EV:H    {CConverter::ConvertStream} (Exit) Status: [Conversion cancelled      (0xc00419e4)]
(StorageArchive)    <9880>    EV:H    {CConverter::Convert} (Exit) Status: [Conversion cancelled      (0xc00419e4)]
(StorageArchive)    <9880>    EV:H    {CContentConverter::InvokeConversion} (Exit) Status: [Conversion cancelled      (0xc00419e4)]
(StorageArchive)    <9880>    EV:H    {CContentConverter::ConvertAndAddToItem} (Exit) Status: [Conversion cancelled      (0xc00419e4)]
(StorageArchive)    <9880>    EV:L    {CContentConverter::AddConvertedContentToItem:#607}  Conversion result [Conversion cancelled      (0xc00419e4)]
(StorageArchive)    <9880>    EV:L    {CContentConverter::MapConverterStatus} (Entry)
(StorageArchive)    <9880>    EV:H    {CContentConverter::MapConverterStatus} (Exit) Status: [Document conversion aborted-Service shutdown request detected:Vault ID: %1     (0xc004196d)]
(StorageArchive)    <9880>    EV:H    {CContentConverter::AddConvertedContentToItem} (Exit) Status: [Document conversion aborted - Service shutdown request detected:  Vault ID: %1      (0xc004196d)]

 

The event below may be logged.

Event 29057, Enterprise Vault 
General Details 
A problem was encountered while trying to process a saveset in the storage queue but it appears that the problem may be recoverable. The saveset will be requeued and 
Details: Document conversion aborted - Service shutdown request detected: Vault ID: _ 1 (Oxc0041%d) 
Storage Queue Location: 
Storage Queue Batch File: 
Transaction Id: 11406A2C4786BIBF22FOFFFF7044BIC1
Vault Store Entry Id: 1335857308973741A11049CC8E40E20D1210COOEVARCHlVE1 

 

Cause

The OCR conversion for the sample PNG file does not complete within the given timeout, leading to the conversion being aborted due to the thread being killed. This behavior is by design.

Resolution

There are currently no plans to address this issue through a patch or hotfix in the current or previous versions of the software. However, it is scheduled to be resolved in the next major product revision. Please note that the product engineering team reserves the right to remove any fix from the targeted release if it does not pass quality assurance tests. Our plans are subject to change, and any actions you take based on this information, or your reliance on it, are at your own risk.

Issue/Introduction

OCR conversion fails for email items with embedded attachments of type PNG. As a result, these items remain stuck in the Storage Queue. This could further impact the indexing of the subsequent items.

Additional Information

JIRA: CFT-6884