4lex4 / scantailor-advanced

ScanTailor Advanced is the version that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
GNU General Public License v3.0
1.15k stars 128 forks source link

crash on auto-dewarp #184

Open graytape opened 2 years ago

graytape commented 2 years ago

Hi, one time out of two I try to batch auto-dewarp on output the program crashes, and if I try to reopen without deactivating the auto dewarp output it crashes again. Is there a log file somewhere?

It happens also reducing the load of work on the CPU

Thanks

bui89 commented 2 years ago

Yes, it's very annoying issue. it crashes randomly and no log to find out what is the problem.

mara004 commented 2 years ago

You could try invoking STA from the command-line and take a look at the output, or launch the program in gdb debugger and create a backtrace when the crash occurs.

kugland commented 11 months ago

With me it crashes especially in pages where, after deskewing, part of the content box is outside of the image.

what(): fillMarginsInPlace: the content area exceeds image rect.

image

Changing the content rect or disabling auto-dewarp makes the crash go away.