R
R
Rasse2020-10-25 04:16:16
C++ / C#
Rasse, 2020-10-25 04:16:16

C# .net 3.1 randomly closes the program, where to dig?

Actually, not so long ago I finished one project.
The program randomly switches off after a nth amount of time.
Where to look?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
cicatrix, 2020-10-25
@cicatrix

Into the program... what a question, what an answer.
Look in the Windows logs, there are error messages in applications. Well, I would like to know in more detail what kind of program it is, what it does, what resources it accesses.

V
Vladimir Korotenko, 2020-10-25
@firedragon

https://github.com/charlesw/tesseract/issues/209
https://switch-case.ru/73330408
​​More details can be said after you provide the full stacktrace.

R
Rasse, 2020-10-25
@Rasse

In general, the situation was as follows.
The problem arose when new TesseractEngine(Tessdata, "eng", EngineMode.TesseractOnly)) moved from functions to threads to save time on creating the engine.
decision to set publicity parameters for functions.
I apologize for wasting time.

D
Developer, 2020-10-26
@samodum

It is necessary to move new TesseractEngine(Tessdata, "eng", EngineMode.TesseractOnly)) from functions to threads to save time on creating an engine

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question