tesseract icon indicating copy to clipboard operation
tesseract copied to clipboard

Random System.AccessVoilationException

Open RamanSggs opened this issue 3 years ago • 2 comments

We are facing random access violation issue while doing ocr. We have developed web application and using ocr in it. our application is crashing intermittently. Below is sample code.

using(var engine = new TesseractEngine("training data path", "eng) { engine.DefaultPageSegMode = PageSegMode.SingleColumn; using(var img = Pix.LoadFromMemory()) { using (var page = engine.Process(img)) { using (var itr = page.GetIterator()) { } } } }

We are not getting anything in crash dump. So please help to troubleshoot the issue.

RamanSggs avatar Jun 03 '22 10:06 RamanSggs

Does it look like issue #231

On Fri, 3 June 2022, 8:59 pm RamanSggs, @.***> wrote:

We are facing random access violation issue while doing ocr. We have developed web application and using ocr in it. our application is crashing intermittently. Below is sample code.

using(var engine = new TesseractEngine("training data path", "eng) { engine.DefaultPageSegMode = PageSegMode.SingleColumn; using(var img = Pix.LoadFromMemory()) { using (var page = engine.Process(img)) { using (var itr = page.GetIterator()) { } } } }

We are not getting anything in crash dump. So please help to troubleshoot the issue.

— Reply to this email directly, view it on GitHub https://github.com/charlesw/tesseract/issues/610, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB7HSHCGQXRQQ6HJDEAQ5TVNHQQVANCNFSM5XYETYUQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

charlesw avatar Jun 03 '22 22:06 charlesw

We are not getting any callstack. Last many calls are in ntdll.dll. We are using tesseract 4.1.1

RamanSggs avatar Jun 06 '22 11:06 RamanSggs